2014-03-03  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-run.proto.h (MELT_GCC_VERSION): Include very early
	<cstdlib>, as suggested in
	http://gcc.gnu.org/ml/gcc/2012-08/msg00277.html message. Use
	GCCPLUGIN_VERSION by default.

	* Makefile.in (melt-run.h): Substitute GCCPLUGIN_VERSION by the
	actual number for MELT_GCC_VERSION.

	* melt/warmelt-first.melt (ctype_gimple_seq): Since gimple_seq is
	synonym of gimple, use the gimple marker routine.

	* melt/xtramelt-ana-gimple.melt (melt_walk_use_def_chains): Clear
	the local meltwalkhookdata_st structure after the walk.



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

	* melt/generated/*: Regenerated.



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

	* melt/warmelt-base.melt: Add module_is_gpl_compatible.

	* melt/warmelt-debug.melt: Likewise.

	* melt/warmelt-moremacro.melt (mexpand_gccif): More debug.

	* melt/warmelt-hooks.melt: Add module_is_gpl_compatible.

	* melt/xtramelt-ana-base.melt (each_cgraph_decl): Removed, since
	obsolete in GCC 4.8...

	* testsuite/melt/tgccif.melt: Improve.



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

	* melt/generated/*: Regenerated.



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

	* melt/warmelt-base.melt (multiple_sort): Don't call
	melt_low_debug...



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

	* melt/generated/*: Regenerated.



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

	{{adding a new test for use-def walking}}
	* testsuite/melt/tusedef-ana1.melt: New file.
	* testsuite/melt/tusedef-code1.c: New file.



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

	* melt-runtime.cc (plugin_init): gccversionstr don't mention
	gcc_version->devphase if it is empty. Typo corrected in plugin
	info help message.

	* melt/warmelt-moremacro.melt (filtergccversion): Ensure that the
	version string match the prefix followed by a space.
	(gccif): Improve documentation of the string.

	* melt/xtramelt-ana-base.melt: Correct gccif usage e.g. "4.8"
	instead of "4.8.".

	* melt/xtramelt-ana-gimple.melt: Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@208308 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-04  Basile Starynkevitch  <basile@starynkevitch.net>
	* MELT-Plugin-Makefile: Update copyright year.
	(melt-run.h): Emit good MELT_GCC_VERSION define.
	(melt-translator, melt-applications): Add dependencies to avoid
	too much parrallelism with make -j.



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

	* melt-runtime.cc (melt_inform_str): Remove useless mixmag
	local variable.

	* melt/xtramelt-ana-base.melt: Seems to work with both GCC 4.8 and
	4.9...



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

	* testsuite/melt/tusedef-ana1.melt: Improve. Add gate function.

	* testsuite/melt/tusedef-code1.c: Improve. Add main function.



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

	* testsuite/melt/tgccif.melt: Test that a defun can appear inside
	a gccif...

	* testsuite/melt/tusedef-ana1.melt: More code, using
	melt_walk_use_def_chains... Don't seem to work yet.



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

	{{tgccif.melt fails on MELT branch svn 208269}}
	* melt/warmelt-moremacro.melt (filtergccversion): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@208320 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-04  Basile Starynkevitch  <basile@starynkevitch.net>
	{{tgccif.melt works on MELT branch but fails for 4.8 plugin}}
	* melt/warmelt-moremacro.melt (filtergccversion): Improve the
	version test, but not yet working.



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