From: Jan Hubicka Date: Sat, 7 Jun 2003 16:32:58 +0000 (+0200) Subject: i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified. X-Git-Tag: releases/gcc-3.4.0~6077 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da2d4c012ebc05c4a7805b03613e50ed4e55dbd1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77c48b44c3f9..58bba210f51f 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 0efbcba1e3c0..79c81be5de40 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 a2f77bd44cf4..536e61bed218 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 */