re PR tree-optimization/78210 (slsr-8.c scan-tree-dump-times optimized fails)
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 4 Nov 2016 15:21:38 +0000 (15:21 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 4 Nov 2016 15:21:38 +0000 (15:21 +0000)
2016-11-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/78210
* gcc.dg/tree-ssa/slsr-8.c: Fix slsr scan to include the
possibility of widening multiplies.

From-SVN: r241845

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/slsr-8.c

index 9451ca9..f25bfd7 100644 (file)
@@ -1,3 +1,9 @@
+2016-11-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       PR tree-optimization/78210
+       * gcc.dg/tree-ssa/slsr-8.c: Fix slsr scan to include the
+       possibility of widening multiplies.
+
 2016-11-04  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/78185
index 97b8eab..585b660 100644 (file)
@@ -24,5 +24,6 @@ f (int s, int *c, int *d)
    initializer with a cast, so we'll keep it as is.  */
 
 /* There are 4 ' * ' instances in the decls (since "int * iftmp.0;" is
-   added), 2 parms, 3 in the code.  */
-/* { dg-final { scan-tree-dump-times " \\* " 9 "optimized" } } */
+   added), 2 parms, 3 in the code.  The second one in the code may
+   be a widening multiply (for example, on AArch64).  */
+/* { dg-final { scan-tree-dump-times " w?\\* " 9 "optimized" } } */