[Bug target/85733] New: ARM -mbe8 behaviour doesn't match documentation

rsandifo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 10 13:50:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85733

            Bug ID: 85733
           Summary: ARM -mbe8 behaviour doesn't match documentation
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rsandifo at gcc dot gnu.org
  Target Milestone: ---

The documentation for the ARM -mbe8 option says "For ARMv6 and later
architectures the default is BE8, for older architectures the default is
BE32.".  But in arm-cpus.in it looks like only the ARMv6 fgroup includes the
be8 feature, while ARMv7 and later are based on ARMv6m, which doesn't inherit
ARMv6 and doesn't specify be8 directly.  This means that -march=armv8-a (say)
selects BE32 by default.


More information about the Gcc-bugs mailing list