This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/43371] Add -fresolution to the list of switches that take arguments
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2010 15:54:41 -0000
- Subject: [Bug driver/43371] Add -fresolution to the list of switches that take arguments
- References: <bug-43371-16926@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-07 15:54 -------
Subject: Bug 43371
Author: rguenth
Date: Fri May 7 15:53:40 2010
New Revision: 159159
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159159
Log:
2010-05-07 Richard Guenther <rguenther@suse.de>
* gcc.c (LINK_COMMAND_SPEC): Provide a resolution file to
the linker plugin.
(store_arg): Queue temp_filename for deletion instead of
the whole argument.
lto/
PR lto/43857
PR lto/43371
* lang.opt (fresolution): Change to ...
(fresolution=): ... this.
* lto-lang.c (lto_handle_option): Adjust.
lto-plugin/
* lto-plugin.c (free_2): Do not free resolution_file.
(write_resolution): Check that we were passed a resolution file.
(all_symbols_read_handler): Adjust.
(cleanup_handler): Do not remove the resolution file.
(process_option): Handle -fresolution=.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lang.opt
trunk/gcc/lto/lto-lang.c
trunk/lto-plugin/ChangeLog
trunk/lto-plugin/lto-plugin.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43371