------- Comment #9 from hjl at gcc dot gnu dot org 2006-12-29 06:09 ------- Subject: Bug 30040
Author: hjl Date: Fri Dec 29 06:09:06 2006 New Revision: 120256 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120256 Log: 2006-12-28 H.J. Lu <[EMAIL PROTECTED]> Backport from mainline: 2006-12-02 H.J. Lu <[EMAIL PROTECTED]> PR target/30040 * config/i386/driver-i386.c: Include "coretypes.h" and "tm.h". (host_detect_local_cpu): Check -mtune= vs. -march=. Rewrite processor detection. * config/i386/i386.h (CC1_CPU_SPEC): Add -mtune=native for -march=native if there is no -mtune=*. * config/i386/x-i386 (driver-i386.o): Also depend on $(TM_H) coretypes.h. Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/config/i386/driver-i386.c branches/gcc-4_2-branch/gcc/config/i386/i386.h branches/gcc-4_2-branch/gcc/config/i386/x-i386 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30040