gcc.sum contains pairs of identical lines such as: PASS: gcc.dg/pch/common-1.c -O0 -g (test for excess errors) PASS: gcc.dg/pch/common-1.c -O0 -g (test for excess errors)
The text after "PASS: " or "FAIL: " is a test name which is supposed to be unique, for the sake of regression testers matching up the same test in .sum files from different runs. One of these tests is with a .gch file and one without, so dg-pch.exp should give them names reflecting this, e.g. PASS: gcc.dg/pch/common-1.c -O0 -g with PCH (test for excess errors) PASS: gcc.dg/pch/common-1.c -O0 -g without PCH (test for excess errors) -- Summary: Duplicate PCH test names Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsm28 at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20771