This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[commited] Fix loop-25.c testcase
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Cc: jh at suse dot cz
- Date: Sat, 10 Feb 2007 12:00:42 +0100
- Subject: [commited] Fix loop-25.c testcase
Hello,
this commit:
2007-02-09 Jan Hubicka <jh@suse.cz>
broke the loop-25 testcase (as it moves profiling pass earlier, and the
shared loop headers are split there, never reaching the vrp1 pass
where the test used to verify this). I have commited the obvious
fix to the testcase.
Zdenek
Index: ChangeLog
===================================================================
*** ChangeLog (revision 121792)
--- ChangeLog (working copy)
***************
*** 1,3 ****
--- 1,7 ----
+ 2007-02-10 Zdenek Dvorak <dvorakz@suse.cz>
+
+ * gcc.dg/tree-ssa/loop-25.c: Verify the result in the profile pass.
+
2006-02-09 Brooks Moses <brooks.moses@codesourcery.com>
* gfortran.dg/secnds.f: Replace time tolerance with a
Index: gcc.dg/tree-ssa/loop-25.c
===================================================================
*** gcc.dg/tree-ssa/loop-25.c (revision 121792)
--- gcc.dg/tree-ssa/loop-25.c (working copy)
***************
*** 1,5 ****
/* { dg-do compile } */
! /* { dg-options "-O2 -fdump-tree-vrp1" } */
int foo(void);
void bla(void);
--- 1,5 ----
/* { dg-do compile } */
! /* { dg-options "-O2 -fdump-tree-profile" } */
int foo(void);
void bla(void);
*************** void test5 (void)
*** 118,128 ****
}
}
! /* { dg-final { scan-tree-dump-times "Disambiguating loop" 5 "vrp1" } } */
! /* { dg-final { scan-tree-dump-times "Found latch edge" 5 "vrp1" } } */
! /* { dg-final { scan-tree-dump-times "Merged latch edges" 2 "vrp1" } } */
! /* { dg-final { scan-tree-dump-times "4 loops found" 2 "vrp1" } } */
! /* { dg-final { scan-tree-dump-times "3 loops found" 2 "vrp1" } } */
! /* { dg-final { scan-tree-dump-times "2 loops found" 1 "vrp1" } } */
! /* { dg-final { cleanup-tree-dump "vrp1" } } */
--- 118,128 ----
}
}
! /* { dg-final { scan-tree-dump-times "Disambiguating loop" 5 "profile" } } */
! /* { dg-final { scan-tree-dump-times "Found latch edge" 5 "profile" } } */
! /* { dg-final { scan-tree-dump-times "Merged latch edges" 2 "profile" } } */
! /* { dg-final { scan-tree-dump-times "4 loops found" 2 "profile" } } */
! /* { dg-final { scan-tree-dump-times "3 loops found" 2 "profile" } } */
! /* { dg-final { scan-tree-dump-times "2 loops found" 1 "profile" } } */
! /* { dg-final { cleanup-tree-dump "profile" } } */