This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]