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

            Bug ID: 108394
           Summary: aarch64/cpunative/native_cpu_18.c fails in GCC 11 and
                    12
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

The test works with trunk, but not 11 or 12:

$ make check-c RUNTESTFLAGS=aarch64-cpunative.exp=native_cpu_18.c
...
FAIL: gcc.target/aarch64/cpunative/native_cpu_18.c scan-assembler \\.arch
armv8.6-a\\+crc\\+fp16\\+aes\\+sha3\\+rng

                === gcc Summary ===

# of expected passes            1
# of unexpected failures        1
/home/polacek/x/trunk/gcc/xgcc  version 12.2.1 20230113 (GCC)

# GCC_CPUINFO=info_18 gcc -mcpu=native native_cpu_18.c -S; grep arch
native_cpu_18.s
        .arch armv8.6-a+crypto+crc+fp16+sha3+rng+nopredres+nopauth

which doesn't match .arch armv8.6-a+crc+....

I've tried b1cfbccc41de6aec950c0f662e7e85ab34bfff8a and that didn't fail.

Reply via email to