https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100749
Bug ID: 100749 Summary: [12 regression] gcc.dg/pch/valid-1.c fails after r12-949 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:459d84e9b6e925922246b6aff76a5202b1d4d4ba, r12-949 make -k check-gcc RUNTESTFLAGS="pch.exp=gcc.dg/pch/valid-1.c" FAIL: gcc.dg/pch/valid-1.c -O0 -g -I. -Dwith_PCH (test for warnings, line 4) FAIL: gcc.dg/pch/valid-1.c -O0 -g -I. -Dwith_PCH (test for excess errors) FAIL: gcc.dg/pch/valid-1.c -O0 -I. -Dwith_PCH (test for warnings, line 4) FAIL: gcc.dg/pch/valid-1.c -O0 -I. -Dwith_PCH (test for excess errors) FAIL: gcc.dg/pch/valid-1.c -O1 -I. -Dwith_PCH (test for warnings, line 4) FAIL: gcc.dg/pch/valid-1.c -O1 -I. -Dwith_PCH (test for excess errors) FAIL: gcc.dg/pch/valid-1.c -O2 -I. -Dwith_PCH (test for warnings, line 4) FAIL: gcc.dg/pch/valid-1.c -O2 -I. -Dwith_PCH (test for excess errors) FAIL: gcc.dg/pch/valid-1.c -O3 -g -I. -Dwith_PCH (test for warnings, line 4) FAIL: gcc.dg/pch/valid-1.c -O3 -g -I. -Dwith_PCH (test for excess errors) FAIL: gcc.dg/pch/valid-1.c -Os -I. -Dwith_PCH (test for warnings, line 4) FAIL: gcc.dg/pch/valid-1.c -Os -I. -Dwith_PCH (test for excess errors) # of expected passes 24 # of unexpected failures 12 Looks like the adjusted error message doesn't match. commit 459d84e9b6e925922246b6aff76a5202b1d4d4ba Author: Indu Bhagat <indu.bha...@oracle.com> Date: Fri Apr 30 07:52:40 2021 -0700 opts: change write_symbols to support bitmasks * gcc.dg/pch/valid-1.c: Adjust diagnostic message in testcase.