2012-04-23  Basile Starynkevitch  <basile@starynkevitch.net>
	MELT branch merged with trunk rev 186692 using svnmerge

[gcc/]

2012-04-23  Basile Starynkevitch  <basile@starynkevitch.net>

	{{improvements for merging with GCC 4.8 trunk svn rev 186692}}
	* melt-run.proto.h (MELT_GCC_VERSION): Define, if unknown, in the
	generated melt-run.h

	* melt-runtime.c (melt_val2passflag): TODO_dump_func &
	TODO_dump_cgraph don't exist in GCC 4.8.

	* melt-build.tpl: Say flavor, not variant!  Build first the
	quicklybuilt application modules, to catch error in macro C
	strings...

	* melt-build.mk: Regenerate.

	* melt/warmelt-base.melt (valdesc_strbuf): Check for MELT_GCC_VERSION also.

	* melt/warmelt-genobj.melt (compilobj_nrep_citeration): Use
	meltcit prefix in generated citerator names..

	* melt/warmelt-outobj.melt (syntestgen_citerator): Use
	meltcitstate prefix.

	* melt/xtramelt-ana-base.melt (each_cgraph_fun_body)
	(each_cgraph_fun_entryblock, each_cgraph_fun_call_flow_graph)
	(each_bb_cfun, with_cfun_decl): Adapt to GCC 4.8, add
	documentation.
	(each_cgraph_decl): Only for GCC 4.6 & 4.7




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

2012-04-23  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+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+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-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+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: 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+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.



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

2012-04-23  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (READ_WARNING): Macro renamed as
	(MELT_READ_WARNING): New macro ...
	(enum melt_macrostring_en): New.
	(meltgc_makesexpr): Use it.
	(melt_compile_source, meltgc_readmacrostringsequence)
	(meltgc_readval): Ditto.



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

2012-04-23  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (meltgc_new_int, meltgc_new_mixint)
	(meltgc_new_mixloc): Give default discr if passed null.

	* melt/warmelt-first.melt (class_primitive): Better doc.

	* melt/warmelt-macro.melt (class_source_defprimitive): Add
	sprim_exploc field.
	(mexpand_defprimitive): Fill it.
	(class_source_defciterator): Add sciterdef_beforeloc &
	sciterdef_afterloc fields.
	(mexpand_defciterator): Fill them.

	* melt/warmelt-outobj.melt (syntestgen_primitive): Emit precise
	location of chunk.
	(syntestgen_citerator): Likewise.



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

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

2012-04-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-macro.melt (class_source_defcmatcher): Add
	scmatdef_testloc, scmatdef_fillloc, scmatdef_operloc fields.
	(mexpand_defcmatcher): Fill them.



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

2012-04-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-outobj.melt (syntestgen_cmatcher): Emit
	locations...



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

2012-04-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-base.melt (void, variadic_type_code): Less warnings
	in macrostrings.

	{{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+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+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+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+04.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+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@186755 138bc75d-0d04-0410-961f-82ee72b054a4
[contrib/]
2012-04-24  Basile Starynkevitch  <basile@starynkevitch.net>

	* MELT-Plugin-Makefile (melt-run.h): Set the MELT_GCC_VERSION



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

2012-04-24  Basile Starynkevitch  <basile@starynkevitch.net>

	* simplemelt-gtkmm-probe.cc: Ensure that GTK is at least 3.4



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

2012-04-24  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-build.def: Add xtramelt-ana-tree.melt & xtramelt-ana-gimple.melt
	* melt-build.mk: Regenerate.

	* melt/warmelt-normal.melt (normexp_export_values): Replace
	multiple_every with foreach_in_multiple.

	* melt/xtramelt-ana-base.melt: Split into several files, that is
	xtramelt-ana-base.melt & xtramelt-ana-tree.melt &
	xtramelt-ana-gimple.melt.

	* melt/xtramalt-ana-tree.melt: New file.

	* melt/xtramelt-ana-gimple.melt: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@186762 138bc75d-0d04-0410-961f-82ee72b054a4
[contrib/]
2012-04-25  Basile Starynkevitch  <basile@starynkevitch.net>
	* make-melt-source-tar.sh: Remove file, since rename to...
	* make-melt-plugin-source-tar.sh: New file. Also copy
	simplemelt-gtkmm-probe.cc

[gcc/]
2012-04-25  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-build.def: Add xtramelt-probe.melt
	* melt-build.mk: Regenerate.

	* melt-runtime.c: Add comments about signal handling.

	* melt/warmelt-first.melt (class_initial_system_data): Add
	comments and sysdata_alarm_hook field.

	* melt/xtramelt-probe.melt: New file.



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

2012-04-25  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-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+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+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+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+04.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@186812 138bc75d-0d04-0410-961f-82ee72b054a4

2012-04-25  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (melt_raw_sigio_signal, melt_raw_sigalrm_signal)
	(meltgc_poll_inputs): More comments about signal handling.
	(melt_install_signal_handlers): Handle SIGVTALRM.
	(meltgc_handle_sigalrm): Implement it.



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

2012-04-25  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_probe_stop, melt_probe_start): New
	declarations.

	* melt-runtime.c (melt_probe_pid, melt_probe_reqfrom_fd)
	(melt_probe_cmdto_fd, melt_wait_for_probe): New static variables &
	function.
	(melt_probe_stop, melt_probe_start): New function.
	(melt_install_signal_handlers): Handle SIGPIPE like SIGIO.



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

2012-04-26  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.c (melt_wait_for_probe): Add waitopt formal.
	(melt_probe_stop): Use it. The last wait is blocking, but should
	never happen...



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@186862 138bc75d-0d04-0410-961f-82ee72b054a4
[contrib/]
2012-04-26  Basile Starynkevitch  <basile@starynkevitch.net>
	* simplemelt-gtkmm-probe.cc: More commands for status.
	(SmeltMainWindow): Add _mainstatusbar field.
	(SmeltMainWindow::push_status, SmeltMainWindow::pop_status)
	(SmeltMainWindow::remove_status)
	(SmeltMainWindow::remove_all_status): New.
	(SmeltAppl::clearstatus_cmd, SmeltAppl::pushstatus_cmd)
	(SmeltAppl::popstatus_cmd, SmeltAppl::setstatus_cmd): New.

	* MELT-Plugin-Makefile (melt_default_probe): New.


[gcc/]
2012-04-26  Basile Starynkevitch  <basile@starynkevitch.net>
	* common.opt (-fmelt-probe=): New, using melt_probe_string
	variable.

	* melt-runtime.h (melt_probe_start): Improve comment.

	* melt-runtime.c (melt_argument): Handle "probe".
	(melt_probe_start): Guess the probecmd if none given.
	(melt_really_initialize): When print-settings, output the
	MELTGCCBUILTIN_PROBE.

	* Makefile.in (melt_default_probe): New.
	(melt-runtime-params-inc.c): Use it.



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

2012-04-26  Basile Starynkevitch  <basile@starynkevitch.net>
	MELT branch merged with trunk rev 186872 using svnmerge



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

2012-04-26  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_send_command_strbuf_to_probe): New
	declaration.
	* melt-runtime.c (melt_send_command_strbuf_to_probe): New
	function.
	* melt/warmelt-base.melt (add2out_cenconst): New primitive.
	* melt/xtramelt-probe.melt (send_object_to_probe): New selector.
	* melt/xtramelt-probe.melt (send_command_to_probe): New function.



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