This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/32076] New: "gcc.dg/tree-ssa/pr17141-1.c scan-tree-dump locp.*->i =" is the same name twice
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 May 2007 05:51:26 -0000
- Subject: [Bug testsuite/32076] New: "gcc.dg/tree-ssa/pr17141-1.c scan-tree-dump locp.*->i =" is the same name twice
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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