slsr-1.c: Allow widening multiplications.
authorNaveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
Thu, 28 Feb 2013 06:44:06 +0000 (06:44 +0000)
committerNaveen H.S <naveenh@gcc.gnu.org>
Thu, 28 Feb 2013 06:44:06 +0000 (06:44 +0000)
2013-02-28  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

* gcc.dg/tree-ssa/slsr-1.c: Allow widening multiplications.
* gcc.dg/tree-ssa/slsr-2.c: Likewise.
* gcc.dg/tree-ssa/slsr-3.c: Likewise.

From-SVN: r196329

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/slsr-1.c
gcc/testsuite/gcc.dg/tree-ssa/slsr-2.c
gcc/testsuite/gcc.dg/tree-ssa/slsr-3.c

index 20e9673..cfc7156 100644 (file)
@@ -1,3 +1,9 @@
+2013-02-28  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
+
+       * gcc.dg/tree-ssa/slsr-1.c: Allow widening multiplications.
+       * gcc.dg/tree-ssa/slsr-2.c: Likewise.
+       * gcc.dg/tree-ssa/slsr-3.c: Likewise.
+
 2013-02-27  Andrey Belevantsev  <abel@ispras.ru>
 
        PR middle-end/45472
index f8c3319..38da179 100644 (file)
@@ -14,7 +14,7 @@ f (int *p, unsigned int n)
     foo (*(p + 48 + n * 4));
 }
 
-/* { dg-final { scan-tree-dump-times "\\+ 128" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "\\+ 64" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "\\+ 192" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 128|\\, 128>" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 64|\\, 64>" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 192|\\, 192>" 1 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
index 6709ee0..c6bb3e0 100644 (file)
@@ -11,6 +11,6 @@ f (int *p, int n)
   foo (*(p + 16 + n * 4));
 }
 
-/* { dg-final { scan-tree-dump-times "\\+ 144" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "\\+ 96" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 144|\\, 144>" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 96|\\, 96>" 1 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
index a21ee4d..32edf2b 100644 (file)
@@ -16,7 +16,7 @@ foo (int a[], int b[], int i)
 }
 
 /* { dg-final { scan-tree-dump-times "\\* 4" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "\\+ 4" 2 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "\\+ 8" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "\\+ 12" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 4|\\, 4>" 2 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 8|\\, 8>" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\+ 12|\\, 12>" 1 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */