2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>
	{{merge using svnmerge.py with trunk GCC 4.9 svn rev.206958. All is
	well compiled.}}


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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-first.melt (class_any_module_context): Add
	mocx_isgplcompatible field.

	* melt/warmelt-macro.melt (class_source_module_is_gpl_compatible):
	New class.
	(module_is_gpl_compatible): New macro.
	(mexpand_module_is_gpl_compatible): New macro-expanding function.

	* melt/warmelt-normal.melt (normexp_module_is_gpl_compatible): New
	method for normal_exp on normexp_module_is_gpl_compatible...

	* melt/warmelt-outobj.melt (compile_list_sexpr)
	(compile_first_bootstrap_list_sexpr)
	(melt_translate_run_macroexpansions_list): Initialize field
	:mocx_isgplcompatible to nil.

	* melt/warmelt-modes.melt (makedoc_docmd): Likewise.



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-first.melt: Add module_is_gpl_compatible.
	* melt/warmelt-genobj.melt: Add module_is_gpl_compatible.
	* melt/warmelt-macro.melt: Add module_is_gpl_compatible.
	* melt/warmelt-modes.melt: Add module_is_gpl_compatible.
	* melt/warmelt-moremacro.melt: Add module_is_gpl_compatible.
	* melt/warmelt-normal.melt: Add module_is_gpl_compatible.
	* melt/warmelt-normatch.melt: Add module_is_gpl_compatible.
	* melt/warmelt-outobj.melt: Add module_is_gpl_compatible.
	* melt/xtramelt-ana-base.melt: Add module_is_gpl_compatible.
	* melt/xtramelt-ana-gimple.melt: Add module_is_gpl_compatible.
	* melt/xtramelt-ana-simple.melt: Add module_is_gpl_compatible.
	* melt/xtramelt-ana-tree.melt: Add module_is_gpl_compatible.
	* melt/xtramelt-playground.melt: Add module_is_gpl_compatible.
	* melt/xtramelt-probe.melt: Add module_is_gpl_compatible.



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


2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-genobj.melt (class_initialroutineobj): Add
	oirout_modctx field.

	* melt/warmelt-outobj.melt (outpucod_initialmoduleroutine): Get
	it. Should emit the melt_module_is_gpl_compatible variable.



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


2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-outobj.melt (initial_classy_frame_name)
	(outpucod_initialmoduleroutine, outpucod_initialextensionroutine):
	Use :oirout_modctx and no more :oirout_modulename...



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-genobj.melt (class_initialroutineobj): Remove
	oirout_modulename field.
	(compile2obj_initproc, compile2obj_initextendproc): Likewise.



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


2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-outobj.melt (outpucod_initialmoduleroutine): Emit
	definition of melt_module_is_gpl_compatible when
	MODULE_IS_GPL_COMPATIBLE macro is used, otherwise give a warning.



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



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

2014-01-23  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.cc (melt_load_module_index): Emit a warning if
	melt_module_is_gpl_compatible does not exist... See the
	MODULE_IS_GPL_COMPATIBLE macro.



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

2014-01-24  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.cc (melt_load_module_index): For non GPL compatible
	modules notice about GCC extension URL.



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

2014-01-25  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.cc (melt_handle_melt_pragma, melt_pragma_callback):
	Remove old 4.6 pragma handling.



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


2014-01-25  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.cc (meltgc_send): Add comment near each
	melt_apply...
	(handle_melt_pragma): Call melt_fatal_error, not just fatal_error,
	e.g. when used from lto1...
	(melt_handle_melt_pragma, meltgc_do_initial_mode)
	(meltgc_debugmsgval, meltgc_usedef_internalfun)
	(meltgc_walkstmt_cb, meltgc_walktree_cb): Comment near melt_apply.



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

2014-01-28  Basile Starynkevitch  <basile@starynkevitch.net>
	{{merge using svnmerge.py with trunk GCC 4.9 svn rev.207172. All is
	well compiled.}}




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

2014-01-29  Basile Starynkevitch  <basile@starynkevitch.net>

	{{Redesigning pragma support thru hooks; first removing old
	support...}}
	* melt-runtime.h (MELT_WEAK_ON_HOST): Add macro for weak function
	attribute on host machine, i.e. inside cc1plus or lto1...

	* melt-runtime.cc (pragma_lex)
	(c_register_pragma_with_expansion_and_data)
	(c_register_pragma_with_data): Redeclare external functions using
	MELT_WEAK_ON_HOST.

	* melt/warmelt-base.melt (register_pragma_handler): Temporarily
	remove it.



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

2014-01-29  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



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

2014-01-29  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-predef.list: Sorted hooks in alphabetical order.
	(HOOK_REGISTER_PRAGMAS): New predefined.

	* melt-runtime.cc (melt_handle_melt_pragma, melt_pragma_callback)
	(handle_melt_pragma): Remove functions.
	(melt_really_initialize): Remove registration of
	melt_pragma_callback for PLUGIN_PRAGMAS.

	* melt/warmelt-first.melt (class_initial_system_data): Remove
	sysdata_meltpragmas field.

	* melt/warmelt-hooks.melt: Update copyright year.
	(hook_register_pragmas): New stub.



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