Bug 55229 - [4.8 Regression] FAIL: gcc.dg/tree-ssa/cunroll-1.c scan-tree-dump cunroll "Unrolled loop 1 completely"
Summary: [4.8 Regression] FAIL: gcc.dg/tree-ssa/cunroll-1.c scan-tree-dump cunroll "Un...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.8.0
: P3 trivial
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 12:01 UTC by Kyrill Tkachov
Modified: 2012-11-11 18:27 UTC (History)
3 users (show)

See Also:
Host:
Target: arm-none-eabi
Build:
Known to work:
Known to fail:
Last reconfirmed: 2012-11-09 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyrill Tkachov 2012-11-07 12:01:08 UTC
Caused by:
http://gcc.gnu.org/viewcvs?view=revision&revision=193246

--- testsuite/gcc.dg/tree-ssa/cunroll-1.c	(revision 193240)
+++ testsuite/gcc.dg/tree-ssa/cunroll-1.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -fdump-tree-cunroll-details" } */
+/* { dg-options "-O3 -fdump-tree-cunrolli-details" } */
 int a[2];
 test(int c)
 { 
@@ -10,4 +10,4 @@ test(int c)
 /* Array bounds says the loop will not roll much.  */
 /* { dg-final { scan-tree-dump "Unrolled loop 1 completely .duplicated 1 times.." "cunroll"} } */
 /* { dg-final { scan-tree-dump "Last iteration exit edge was proved true." "cunroll"} } */
-/* { dg-final { cleanup-tree-dump "cunroll" } } */
+/* { dg-final { cleanup-tree-dump "cunrolli" } } */

the scan-tree-dump checks look for cunroll, but the name of the dump has been changed to cunrolli, causing the UNRESOLVED. Should update dump names consistently.

Thanks,
Kyrill
Comment 1 Kyrill Tkachov 2012-11-09 11:21:52 UTC
FAIL: gcc.dg/tree-ssa/cunroll-1.c scan-tree-dump cunrolli "Unrolled loop 1 completely .duplicated 1 times.."

Now it just fails.
Comment 2 Kyrill Tkachov 2012-11-09 12:12:56 UTC
(In reply to comment #1)
> FAIL: gcc.dg/tree-ssa/cunroll-1.c scan-tree-dump cunrolli "Unrolled loop 1
> completely .duplicated 1 times.."
> 
> Now it just fails.

The target on which it fails is arm-none-eabi.

The commit that fixed the UNRESOLVED was:
http://gcc.gnu.org/viewcvs?view=revision&revision=193316

But the commit that introduced the test originally is still:
http://gcc.gnu.org/viewcvs?view=revision&revision=193246

Thanks,
Kyrill
Comment 3 Steven Bosscher 2012-11-09 22:03:51 UTC
Fails on powerpc64 too.
Comment 4 Hans-Peter Nilsson 2012-11-09 23:09:58 UTC
Universal; at least i686-, x86_64-linux and cris-elf too.  I wonder where this passes...
Comment 5 Jan Hubicka 2012-11-11 18:27:46 UTC
Fixed, sorry for that: cunroll count differs from cunrolli because of loop header copying in between.