r218543 - in /trunk: gcc/ChangeLog gcc/lto-wrap...

iverbin@gcc.gnu.org iverbin@gcc.gnu.org
Tue Dec 9 22:44:00 GMT 2014


Author: iverbin
Date: Tue Dec  9 22:44:16 2014
New Revision: 218543

URL: https://gcc.gnu.org/viewcvs?rev=218543&root=gcc&view=rev
Log:
gcc/
	* lto-wrapper.c (compile_offload_image): Start processing in_argv
	from 0 instead of 1.
	(run_gcc): Put offload objects into offload_argv, put LTO objects and
	possible preceding arguments into lto_argv.
	Pass offload_argv to compile_images_for_offload_targets instead of argv.
	Use lto_argv for LTO recompilation instead of argv.
lto-plugin/
	* lto-plugin.c (offload_files, num_offload_files): New static variables.
	(free_1): Use arguments instead of global variables.
	(free_2): Free offload_files.
	(all_symbols_read_handler): Add names from offload_files to lto-wrapper
	arguments.
	(claim_file_handler): Do not add file to claimed_files if it contains
	offload sections without LTO sections.  Add it to offload_files instead.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-wrapper.c
    trunk/lto-plugin/ChangeLog
    trunk/lto-plugin/lto-plugin.c



More information about the Gcc-cvs mailing list