]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gcc.dg/tree-ssa/predcom-7.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / predcom-7.c
index 683fb9b5d351231e3d085d22512f2c89254f4cd5..99939767562221036b8ef0ce45a80e19d01da2cb 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O3 -fdump-tree-pcom-details" } */
+/* { dg-options "-O3 -fdump-tree-pcom-details-blocks" } */
 
 int b, f, d[5][2];
 unsigned int c;
@@ -15,3 +15,7 @@ main ()
 }
 
 /* { dg-final { scan-tree-dump "Executing predictive commoning" "pcom" } } */
+/* dom pass introduces one mismatch after simplfying mispredicted conditional
+   on c being non-zero on first iteration.  This happens since c is global variable
+   and needs alias analysis.  */
+/* { dg-final { scan-tree-dump-times "Invalid sum" 1 "pcom" } } */