2014-04-01  Basile Starynkevitch  <basile@starynkevitch.net>
	{{merge using svnmerge.py with trunk GCC 4.9 svn
	rev.208985...}}




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

	{{Now have library and extra MELT files}}
	* melt-build-script.def: Have library and extra MELT files.
	* melt-build-script.tpl: Process library and extra MELT files.
	* melt-build-script.sh: Regenerate.

	* melt/xtramelt-ana-base.melt: Rename file as...
	* melt/libmelt-ana-base.melt: File was xtramelt-ana-base.melt

	* melt/xtramelt-ana-tree.melt: Rename file as...
	* melt/libmelt-ana-tree.melt: File was xtramelt-ana-tree.melt

	* melt/xtramelt-ana-gimple.melt: Rename file as...
	* melt/libmelt-ana-gimple.melt: File was xtramelt-ana-gimple.melt




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@208987 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-03  Basile Starynkevitch  <basile@starynkevitch.net>
	{{New feature: mode-conditional module component in module list, **UNSTABLE**}}

	* melt-build-script.tpl: typo for xtramelt-ana-simple!
	* melt-build-script.sh: Regenerate.

	* melt-runtime.cc (melt_asked_modes_vector): New static
	variable.
	(Melt_Module::~Melt_Module): Typo in error message.
	(meltgc_load_module_list): Remove trailing spaces.
	Handle mode-conditional module component: !modename modulename
	(meltgc_load_modules_and_do_mode): Use melt_asked_modes_vector.
	(melt_really_initialize): Set melt_asked_modes_vector.
	Random seed is always a number, not a string.

	* melt/warmelt-modes.melt (install_melt_mode): Check name of mode,
	should be a C identifier like name.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@209022 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-03  Basile Starynkevitch  <basile@starynkevitch.net>
	{{New feature: mode-conditional module component in module list, stabilizing}}

	* melt-build-script.tpl: Add call to meltbuild_do_extras.
	* melt-build-script.sh: Regenerate.
	* melt-runtime.cc (meltgc_load_module_list): mode-conditional
	module starts with ?modename instead of !modename



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@209049 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-03  Basile Starynkevitch  <basile@starynkevitch.net>
	{{generated melt-default-modules*modlis contains mode-conditioned extra modules}}
	* melt-build-script.tpl: Emit mode-conditioned extra modules using awk.
	* melt-build-script.sh: Regenerate.

	* melt/warmelt-modes.melt (install_melt_mode): Handle the second
	modename string.

	* melt/xtramelt-ana-simple.melt: Add name for each mode.
	* melt/xtramelt-probe.melt: Likewise.



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

	* melt/generated/*: Regenerate all.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@209051 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-03  Basile Starynkevitch  <basile@starynkevitch.net>
	{{merge using svnmerge.py with trunk GCC 4.9 svn
	rev.209052...}}



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

	* melt/xtramelt-ana-simple.melt (class_justcountipa_data): Add
	jcntipa_bucketbblist & jcntipa_edgemap fields.
	(justcountipa_exec): Use them, to count basic block size
	distributions and edges.



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

	* melt-runtime.h (struct melt_jsonobentry_st): New.

	* melt-predef.list (DISCR_JSONOBJECT): New.

	* melt/warmelt-first.melt (DISCR_JSONOBJECT): New, but not yet complete.

	* melt/warmelt-base.melt (valdesc_jsonobject): New.

	* melt-build-script.tpl: library is a new overall goal which could
	also be applications.
	* melt-build-script.sh: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@209078 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-05  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-base.melt (valdesc_jsonobject): Typo in forwarding.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@209081 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-05  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-base.melt (valdesc_jsonobject): Typo in struct.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@209083 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-05  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-base.melt (valdesc_jsonobject): Instance of
	class_varisized_value_descriptor...



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

	* melt/generated/*: Regenerate all.



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

	* melt/warmelt-first.melt (discr_jsonobject): Export it.

	* melt/warmelt-base.melt (melt_make_jsonobject, make_jsonobject): New stub.



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

	* melt/warmelt-first.melt (class_named): Mention that named_name
	field should be an immutable string.



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

	* melt/warmelt-first.melt (is_jsonobject): New primitive.

	* melt/warmelt-base.melt (valdesc_jsonobject): Add small C++
	function declarations.
	(melt_make_jsonobject): Incomplete.



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

	* melt/warmelt-base.melt (valdesc_jsonobject): Typo in small C++
	functions.



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

	* melt/warmelt-base.melt (valdesc_jsonobject): cast C++
	functions.

	* melt/generated/*: Regenerate all.



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

	* melt-runtime.cc (melt_really_initialize): Initialize modstr
	earlier.
	* melt/warmelt-base.melt (jsonobject_aux,
	(jsonobject_auxput, jsonobject_size, jsonobject_nth_name)
	(jsonobject_nth_value,	json_name_less, json_name_equal)
	(foreach_entry_in_jsonobject, jsonobject_get_named): New.



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

	* melt/generated/*: Regenerate all.



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