From da2d4c012ebc05c4a7805b03613e50ed4e55dbd1 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 7 Jun 2003 18:32:58 +0200 Subject: [PATCH] i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified. * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified. From-SVN: r67590 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 2 +- gcc/config/i386/i386.h | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77c48b44c3f..58bba210f51 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 7 18:32:13 CEST 2003 Jan Hubicka + + * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is + specified. + Sat Jun 7 15:20:01 CEST 2003 Jan Hubicka * Makefile.in (stageprofile_build): Kill redundant target. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 0efbcba1e3c..79c81be5de4 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 a2f77bd44cf..536e61bed21 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 */ -- 2.30.2