https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71865
Bug ID: 71865 Summary: [7 regression] test case gcc.dg/diagnostic-token-ranges.c fails starting with r237714 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at linux dot vnet.ibm.com Target Milestone: --- FAIL: gcc.dg/diagnostic-token-ranges.c (test for excess errors) Excess errors: bool The text of some of the diagnostic messages changed and this test case needs to be updated to better match. One example (there are a couple) with r237713 a message was /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/diagnostic-token-ranges.c:20:3: error: unknown type name 'foo' foo bar; /* { dg-error "unknown type name 'foo'" } */ ^~~ And then after r237714 home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/diagnostic-token-ranges.c:21:3: error: unknown type name 'foo'; did you mean 'bool'? foo bar; /* { dg-error "unknown type name 'foo'" } */ ^~~ bool The "bool" on the last line seems to be causing the problem.