This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13032] New: CPP_CPU_ARCH_SPEC confusion
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2003 01:50:52 -0000
- Subject: [Bug target/13032] New: CPP_CPU_ARCH_SPEC confusion
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
CPP_CPU_ARCH_SPEC handles about 40 different -march= choices, but cc1 only
accepts about 9 of them. The other 31 or so are cores which are not valid for
-march. The fact that cc1 doesn't accept them makes it useless to have them in
cpp spec.
Also, I see that there is one arch armv6j which is in all_architectures, but not
CPP_CPU_ARCH_SPEC.
The specs for -march/-mcpu/-mtune should be checked for consistency against
all_architectures and all_cores.
--
Summary: CPP_CPU_ARCH_SPEC confusion
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wilson at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: arm-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13032