]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified.
authorJan Hubicka <jh@suse.cz>
Sat, 7 Jun 2003 16:32:58 +0000 (18:32 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 7 Jun 2003 16:32:58 +0000 (16:32 +0000)
* i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
specified.

From-SVN: r67590

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h

index 77c48b44c3f9bb24997daf7bb000d8cedfbaf4c3..58bba210f51f8d7c0a6816f6f33d7a0470c8731d 100644 (file)
@@ -1,3 +1,8 @@
+Sat Jun  7 18:32:13 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
+       specified.
+
 Sat Jun  7 15:20:01 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
        * Makefile.in (stageprofile_build): Kill redundant target.
index 0efbcba1e3c0611b3200c04a2450653e25d11e4c..79c81be5de40a283073bbb957e673f6c3af7613e 100644 (file)
@@ -15662,7 +15662,7 @@ k8_avoid_jump_misspredicts ()
 
       nbytes += min_insn_size (insn);
       if (rtl_dump_file)
-        fprintf(stderr,"Insn %i estimated to %i bytes\n",
+        fprintf(rtl_dump_file, "Insn %i estimated to %i bytes\n",
                INSN_UID (insn), min_insn_size (insn));
       if ((GET_CODE (insn) == JUMP_INSN
           && GET_CODE (PATTERN (insn)) != ADDR_VEC
index a2f77bd44cf445f100d1f975bc043ad42ec8fc2c..536e61bed218859ffc0c5f75c626f508cbd9ff94 100644 (file)
@@ -499,8 +499,8 @@ extern int x86_prefetch_sse;
 /* Support for configure-time defaults of some command line options.  */
 #define OPTION_DEFAULT_SPECS \
   {"arch", "%{!march=*:-march=%(VALUE)}"}, \
-  {"tune", "%{!mtune=*:%{!mcpu=*:-mtune=%(VALUE)}}" }, \
-  {"cpu", "%{!mtune=*:%{!mcpu=*:-mtune=%(VALUE)}}" }
+  {"tune", "%{!mtune=*:%{!mcpu=*:%{!march=*:-mtune=%(VALUE)}}}" }, \
+  {"cpu", "%{!mtune=*:%{!mcpu=*:%{!march=*:-mtune=%(VALUE)}}}" }
 
 /* Specs for the compiler proper */