This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/13032] New: CPP_CPU_ARCH_SPEC confusion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]