https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101206
Bug ID: 101206 Summary: [12 Regression] gcc.target/aarch64/vect-vmaxv.c and gcc.target/aarch64/vect-vaddv.c fail Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: aarch64 These testcases fail: FAIL: gcc.target/aarch64/vect-vmaxv.c scan-assembler umaxv\\tb[0-9]+, v[0-9]+.16b FAIL: gcc.target/aarch64/vect-vmaxv.c scan-assembler uminv\\tb[0-9]+, v[0-9]+.16b FAIL: gcc.target/aarch64/vect-vaddv.c scan-assembler addv\\tb[0-9]+, v[0-9]+.16b But they are failing because the above instructions that were in the scan-assembler are now optimized away. They are optimized in *r.dse1 I have not looked into what revision caused them to be optimized away though. But the generated code is correct.