When looking at fixing one bug and using compare_tests, I noticed that in some cases the test names can be the same even though it is testing two different dump files. gcc.dg/tree-ssa/pr17141-1.c is one example. It does: /* { dg-final { scan-tree-dump "locp.*->i =" "forwprop1" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump "locp.*->i =" "forwprop2" } } */
Though the .log file has: PASS: gcc.dg/tree-ssa/pr17141-1.c (test for excess errors) XFAIL: gcc.dg/tree-ssa/pr17141-1.c scan-tree-dump locp.*->i = PASS: gcc.dg/tree-ssa/pr17141-1.c scan-tree-dump locp.*->i = That is we don't record the dump file name in the testname which we should. The problem is in lib/scandump.exp. -- Summary: "gcc.dg/tree-ssa/pr17141-1.c scan-tree-dump locp.*->i =" is the same name twice Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32076