[Bug driver/42445] LTO performance: -march=native isn't saved in COLLECT_GCC_OPTIONS

hjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 7 20:53:00 GMT 2011


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



More information about the Gcc-bugs mailing list