This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/42445] LTO performance: -march=native isn't saved in COLLECT_GCC_OPTIONS
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 7 Jan 2011 20:35:26 +0000
- Subject: [Bug driver/42445] LTO performance: -march=native isn't saved in COLLECT_GCC_OPTIONS
- Auto-submitted: auto-generated
- References: <bug-42445-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42445
--- Comment #8 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-01-07 20:35:08 UTC ---
Author: hjl
Date: Fri Jan 7 20:35:05 2011
New Revision: 168583
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168583
Log:
Keep -m[arch|tune]=native in COLLECT_GCC_OPTIONS.
2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR driver/42445
* gcc.c (%>S): New.
(SWITCH_KEEP_FOR_GCC): Likewise.
(set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
(do_spec_1): Handle "%>".
* config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.h
trunk/gcc/gcc.c