https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99312
Bug ID: 99312 Summary: __ARM_ARCH is not implemented correctly when compiled with -march=armv8.1-a Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- The latest ACLE dated Q3 2020 has the following for how __ARM_ARCH should be defined for ARMv8.1-a and above: For an Arm architecture ArmvX.Y, __ARM_ARCH = X * 100 + Y. E.g. for Armv8.1 __ARM_ARCH = 801. ----- CUT ---- Currently GCC just does 8.