aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
-rw-r--r--gcc/config/i386/i386.h4
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 77c48b4..58bba21 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 0efbcba..79c81be 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index a2f77bd..536e61b 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -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 */