2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (melt_minor_copying_garbage_collector): Clear
	melt_touchedglobalchunk.

	* melt-predef.list (HOOK_FRESH_ENVIRONMENT_REFERENCE_MAKER)
	(HOOK_VALUE_IMPORTER, HOOK_VALUE_EXPORTER, HOOK_MACRO_EXPORTER)
	(HOOK_PATMACRO_EXPORTER). New, not used yet.

	* melt/warmelt-first.melt (class_initial_system_data)
	(initial_system_data): Remove fields sysdata_pre_genericize,
	sysdata_passexec_hook, sysdata_finishtype_hook,
	sysdata_finishdecl_hook, sysdata_all_passes_start_hook,
	sysdata_all_passes_end_hook.
	(initfresh_contenvmaker, initvalue_exporter, initvalue_importer)
	(initmacro_exporter, initpatmacro_exporter): Soon becoming
	obsolete.

	* melt/warmelt-macro.melt (return)
	(current_module_environment_reference, parent_module_environment):
	Mention limitations for hooks.

	* melt/warmelt-normal.melt
	(normexp_current_module_environment_reference)
	(normexp_parent_module_environment): Give error if used inside
	hooks.

	* melt/warmelt-genobj.melt
	(compilobj_quasidata_current_module_environment_reference)
	(compilobj_quasidata_parent_module_environment): More debug, add
	comment.

	* melt/warmelt-mode.melt (makedoc_genhook): Improve output.




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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>

	{{Regenerate}}
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/warmelt-base+01.c: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-debug+01.c: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-first+01.c: Regenerate.
	* melt/generated/warmelt-first+02.c: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj+01.c: Regenerate.
	* melt/generated/warmelt-genobj+04.c: Regenerate.
	* melt/generated/warmelt-genobj+06.c: Regenerate.
	* melt/generated/warmelt-genobj+07.c: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.c: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-macro+06.c: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-modes+01.c: Regenerate.
	* melt/generated/warmelt-modes+02.c: Regenerate.
	* melt/generated/warmelt-modes+03.c: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: 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+06.c: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch+05.c: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.



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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-hooks.melt (hook_fresh_environment_reference_maker): New hook.



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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-hooks.melt (hook_value_importer): New hook.



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


2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>

	* testsuite/melt/thook-4.melt: New test, failing in svn.rev. 199649



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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{test thook-4.melt passes}}
	* melt/warmelt-genobj.melt: Only assign the return when available.

	* melt-build-script.tpl: Also emit module-makefile in
	meltbuild-common.args.

	* melt-build-script.sh: Regenerate.



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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-hooks.melt (hook_value_exporter)
	(hook_macro_exporter, hook_patmacro_exporter): New hooks.



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


2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Regenerate}}
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: 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+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: 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+04.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+06.c: Regenerate.
	* melt/generated/warmelt-genobj+07.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-hooks+01.c: Regenerate.
	* melt/generated/warmelt-hooks+02.c: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.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+03.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+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.



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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-base.melt (melt_make_fresh_environment_reference):
	New primitive for guru bootstrapping.

	* melt/warmelt-hooks.melt
	(hook_fresh_environment_reference_maker): Improve comment and
	documentation.



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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{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+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.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+04.c: Regenerate.
	* melt/generated/warmelt-genobj+07.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-hooks+01.c: Regenerate.
	* melt/generated/warmelt-hooks+02.c: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.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+03.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+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+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@199664 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Unstable}}
	* melt/warmelt-first.melt (hook_fresh_environment_reference_maker)
	(hook_value_importer, hook_value_exporter)
	(hook_patmacro_exporter): Hook moved from warmelt-hooks.melt

	* melt/warmelt-normal.melt
	(normexp_update_current_module_environment_reference):invoke thru
	melt_make_fresh_environment_reference primitive the
	hook_fresh_environment_reference_maker.

	* melt/warmelt-hooks.melt (hook_fresh_environment_reference_maker)
	(hook_value_importer, hook_value_exporter)
	(hook_patmacro_exporter): Hook moved to warmelt-first.melt.



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

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Unstable & regenerated}}
	* melt/generated/warmelt-base+01.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+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+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+04.c: Regenerate.
	* melt/generated/warmelt-genobj+07.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-hooks+01.c: Regenerate.
	* melt/generated/warmelt-hooks+02.c: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.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+03.c: Regenerate.
	* melt/generated/warmelt-normal+06.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+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+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@199668 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Unstable}}
	* melt/warmelt-first.melt (initvalue_importer): Becoming obsolete.

	* melt/warmelt-genobj.melt (compile2obj_initproc): Emit call to
	melthookproc_HOOK_FRESH_ENVIRONMENT_REFERENCE_MAKER
	i.e. hook_fresh_environment_reference_maker... No more usage of
	sysdata_cont_fresh_env.



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


2013-06-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Unstable & regenerated}}

	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.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+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+06.c: Regenerate.
	* melt/generated/warmelt-genobj+07.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-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.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+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.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+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.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@199672 138bc75d-0d04-0410-961f-82ee72b054a4