diff options
author | Jan Hubicka <jh@suse.cz> | 2003-06-07 18:32:58 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-06-07 16:32:58 +0000 |
commit | da2d4c012ebc05c4a7805b03613e50ed4e55dbd1 (patch) | |
tree | d26355389f998d46b60d650fb29581084cd86b7d /gcc | |
parent | ccfc7360c6a9d89e530cc1e920595602293f48d8 (diff) | |
download | gcc-da2d4c012ebc05c4a7805b03613e50ed4e55dbd1.zip gcc-da2d4c012ebc05c4a7805b03613e50ed4e55dbd1.tar.gz gcc-da2d4c012ebc05c4a7805b03613e50ed4e55dbd1.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 4 |
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 */ |