2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_wait_for_probe): Declare.
	* melt-runtime.c (melt_wait_for_probe): No more static.
	* melt/warmelt-base.melt (block_interrupts): Remove, since renamed
	as ...
	(block_signals): Add.
	* melt/warmelt-modes.melt (unregister_alarm_timer): Done.
	(childproc_bucket_container): New.
	(child_process_sigchld_handler): New.
	(register_child_process_handler): Implement.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187451 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Use "signal" not "interrupt" in names}}
	* melt-runtime.h (melt_interrupted): Rename as
	(melt_signaled).
	(melt_blocklevel_interrupts): Rename as
	(melt_blocklevel_signals).
	(MELT_CHECK_INTERRUPT): Rename as
	(MELT_CHECK_SIGNAL).
	(melt_interrupted, melt_blocklevel_interrupts)
	(MELT_CHECK_INTERRUPT): Temporary macros for old compatibility.

	* melt-runtime.c:
	Use MELT_CHECK_SIGNAL everywhere instead of MELT_CHECK_INTERRUPT.
	(melt_interrupted): Rename as ...
	(melt_signaled): New.
	(melt_handle_interrupt): Rename as ...
	(melt_handle_signal): New.

	* melt/warmelt-first.melt: Mention MELT_CHECK_SIGNAL in comments

	* melt/warmelt-base.melt (block_signals): Use MELT_CHECK_SIGNAL.

	* melt/warmelt-normal.melt (class_nrep_checkinterrupt): Rename as
	(class_nrep_checksignal): New.

	* melt/warmelt-normatch.melt (normexp_match, normexp_altmatch):
	Use class_nrep_checksignal.

	* melt/warmelt-genobj.melt (compilobj_nrep_checkinterrupt): Rename as
	(compilobj_nrep_checksignal): New, and use class_objchecksignal.

	* melt/warmelt-outobj.melt (outpucod_procroutine): Emit
	current_blocklevel_signals_*_melt and melt_blocklevel_signals.
	(outpucod_objcheckinterrupt): Rename as ...
	(outpucod_objchecksignal): ... emit MELT_CHECK_SIGNAL



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187452 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>

	{{Regenerate}}
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+01.c: Regenerate.
	* melt/generated/warmelt-base+02.c: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-debug+01.c: Regenerate.
	* melt/generated/warmelt-debug+02.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-first+01.c: Regenerate.
	* melt/generated/warmelt-first+02.c: Regenerate.
	* melt/generated/warmelt-first+03.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-genobj+01.c: Regenerate.
	* melt/generated/warmelt-genobj+02.c: Regenerate.
	* melt/generated/warmelt-genobj+03.c: Regenerate.
	* melt/generated/warmelt-genobj+04.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-macro+01.c: Regenerate.
	* melt/generated/warmelt-macro+02.c: Regenerate.
	* melt/generated/warmelt-macro+03.c: Regenerate.
	* melt/generated/warmelt-macro+04.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-modes+01.c: Regenerate.
	* melt/generated/warmelt-modes+02.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+01.c: Regenerate.
	* melt/generated/warmelt-normal+02.c: Regenerate.
	* melt/generated/warmelt-normal+03.c: Regenerate.
	* melt/generated/warmelt-normal+04.c: Regenerate.
	* melt/generated/warmelt-normal+05.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normatch+01.c: Regenerate.
	* melt/generated/warmelt-normatch+02.c: Regenerate.
	* melt/generated/warmelt-normatch+03.c: Regenerate.
	* melt/generated/warmelt-normatch+04.c: Regenerate.
	* melt/generated/warmelt-normatch+05.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-outobj+01.c: Regenerate.
	* melt/generated/warmelt-outobj+02.c: Regenerate.
	* melt/generated/warmelt-outobj+03.c: Regenerate.
	* melt/generated/warmelt-outobj+04.c: Regenerate.
	* melt/generated/warmelt-outobj+05.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187454 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h (melt_interrupted, melt_blocklevel_interrupts)
	(MELT_CHECK_INTERRUPT): Remove compatibility macros.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187455 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-modes.melt: Always register
	child_process_sigchld_handler because it also handles probe
	ending.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187456 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-build.tpl: Always include the warmelt*.c for md5sum.
	* melt-build.mk: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187458 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-first.melt (foreach_pair, foreach_in_list): Move up.
	(init_exitfinalizer): Add code chunks for debugeprintf.
	Use foreach_in_list instead of list_every.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187460 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (meltgc_poll_inputs): Always calls poll, even when
	nbfd is 0. More debugprintf.

	* melt/xtramelt-probe.melt (probe_at_exit): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187461 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (meltgc_poll_inputs): More debugprintf.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187463 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (meltgc_poll_inputs): Even more debugprintf.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187464 138bc75d-0d04-0410-961f-82ee72b054a4

2012-05-14  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (meltgc_poll_inputs): Even more debugprintf.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187465 138bc75d-0d04-0410-961f-82ee72b054a4