2014-09-19  Basile Starynkevitch  <basile@starynkevitch.net>
	{{tletmacro-1 test is compiled completely but then crashes; unstable!!}}
	* melt/warmelt-normal.melt (normexp_defun_defmacro): Special case
	with isletmacro... Remove normexp-defun-hack program argument.
	(normexp_macro_installation): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215390 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/generated/*: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215391 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-22  Basile Starynkevitch  <basile@starynkevitch.net>

        * testsuite/melt/tletmacro-1.melt: Crashing, and added output to stdout.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215457 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-22  Basile Starynkevitch  <basile@starynkevitch.net>

        * testsuite/melt/tletmacro-0.melt: New file, simpler but still
	crashing, example.
	* testsuite/melt/tletmacro-1.melt: Slightly simplified, still
	crashing.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215460 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-22  Basile Starynkevitch  <basile@starynkevitch.net>

	{{tletmacro-0 & tletmacro-1 tests still crashing}}
	* melt/warmelt-normal.melt (class_nrep_macrolambdaroutproc): New
	class.
	(normexp_let): More debug.
	(normalize_lambda): Some special treatement for :macro lambdas,
	and more debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215464 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-23  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-normal.melt (wrap_normal_letseq, normalize_lambda):
	More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215500 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-23  Basile Starynkevitch  <basile@starynkevitch.net>
	{{when translating with -f[plugin-arg-]melt-out-descr-comment, the
	emitted C code contains descriptive comments giving class name and
	hash code of the C output AST.}}
	* melt/warmelt-outobj.melt (flagval_utput_descr_comment): New variable.
	(do_output_descriptive_comment): New function.
	(output_descriptive_comment): New macro using above function.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215504 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215505 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-outobj.melt (outpucod_objcompute)
	(outpucod_objapply): More use of output_descriptive_comment.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215507 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-23  Basile Starynkevitch  <basile@starynkevitch.net>
	{{tletmacro-0 does not crash in the generated code, but fails to run}}
	* melt/warmelt-base.melt (list_clone): New function.

	* melt/warmelt-normal.melt (normexp_symbol, normexp_apply): More
	debug.
	(normexp_let): Clone the :nctx_proclist list field to restore it
	later for :macro bindings.

	* melt/warmelt-genobj.melt (get_free_objlocptr)
	(compilobj_nrep_constocc): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215517 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215519 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-genobj.melt (compilobj_dataroutine): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215526 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-24  Basile Starynkevitch  <basile@starynkevitch.net>

	* testsuite/melt/tletmacro-0.melt: Improve comment.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215539 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-24  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-genobj.melt (compile2obj_hook)
	(compilobj_dataroutine): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215548 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-24  Basile Starynkevitch  <basile@starynkevitch.net>
	{{adding a meltmap_hash field in maps, to ease debugging; very
	unstable, would need an edit of meltmappointers_st just after
	upgrade-warmelt.....}}

	* melt-runtime.h (struct meltmappointers_st): Should add
	meltmap_hash...

	* melt/warmelt-base.melt (valdesc_mapobjects, valdesc_mapstrings):
	Add meltmap_hash field.

	* melt/warmelt-normal.melt (normexp_let): More debug.

	* melt/warmelt-genobj.melt (compile2obj_initproc)
	(compilobj_dataroutine): More debug.

	* melt/warmelt-modes.melt (generate_runtypesupport_gty): Emit
	meltmap_hash.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215555 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/generated/*: Regenerate.
	* melt-runtime.cc (struct meltmappointers_st): Add meltmap_hash
	field.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215558 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_hash_mapobjects, melt_hash_mapstrings): New
	functions.
	* melt-runtime.cc (meltgc_raw_new_mappointers): Fill meltmap_hash.
	* melt/warmelt-first.melt (class_ctype_gty): Add ctypg_maphashfun
	field.
	(ctype_tree, ctype_gimple, ctype_gimple_seq, ctype_edge)
	(ctype_loop, ctype_rtx, ctype_bitmap): Fill it.

	* melt/warmelt-base.melt (valdesc_mapobjects, valdesc_mapstrings):
	Fill the meltmap_hash field.

	* melt/warmelt-modes.melt (generate_runtypesupport_forwcopy_fun)
	(generate_runtypesupport_mapfun): Fill the hash and generate the
	hash function.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215561 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-first.melt (ctype_gimple_seq): Typo on its hashfun.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215565 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/generated/*: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@215566 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-25  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-first.melt (mapobject_hash, mapstring_hash): New
	primitives.

	* melt/warmelt-debug.melt (dbgout_mapobject_method)
	(dbgout_mapstring_method): Use them to display the hash.



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