This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] depend ix86_isa_flags on -march if there's a default
- From: Eric Christopher <echristo at apple dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Uros Bizjak <ubizjak at gmail dot com>
- Date: Tue, 12 Jun 2007 22:16:58 -0700
- Subject: [patch] depend ix86_isa_flags on -march if there's a default
So, after the changes to darwin to use
TARGET_SUBTARGET[32,64]_ISA_DEFAULTS we have a few additional failures
in the testsuite due to our defaults overriding the defaults of the
arch specified on the command line. I think that if you specify an
arch on the command line you should get what you ask for and therefore
this. One note is that it _also_ turns of the enabling of sse2 and
below on TARGET_64BIT if you use an arch option that doesn't have them
- but again, if you do that you probably have a reason.
Tested on x86 and x86_64-darwin. Fixes a few regressions.
OK?
-eric
2007-06-12 Eric Christopher <echristo@gmail.com>
* config/i386/i386.c (override_options): If we've specified
an arch then don't use TARGET_SUBTARGET_ISA_DEFAULTs.
Attachment:
i386.c.diff.txt
Description: Text document