https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104201
Bug ID: 104201 Summary: [12 Regression] gcc.target/aarch64/branch-protection-attr.c fails Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- FAIL: gcc.target/aarch64/branch-protection-attr.c at line 7 (test for errors, line 5) FAIL: gcc.target/aarch64/branch-protection-attr.c (test for excess errors) Expected: /* { dg-error {invalid protection type \("leaf"\) in 'target\("branch-protection="\)' pragma or attribute} "" { target *-*-* } 5 } */ But got: /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/testsuite/gcc.target/aarch64/branch-protection-attr.c:5:1: error: invalid protection type ('leaf') in 'target("branch-protection=")' pragma or attribute Looks like quotes differences. Which means it was caused by r12-6521.