aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2016-11-04 15:21:38 +0000
committerWilliam Schmidt <wschmidt@gcc.gnu.org>2016-11-04 15:21:38 +0000
commitb210df469e439aa11519a167bd1f1f6390b07c59 (patch)
tree3fc329a68a298693f07cade964e98c2e1c7cf751
parent866115cd8ac778b21557a13835f7942de6fca355 (diff)
downloadgcc-b210df469e439aa11519a167bd1f1f6390b07c59.zip
gcc-b210df469e439aa11519a167bd1f1f6390b07c59.tar.gz
gcc-b210df469e439aa11519a167bd1f1f6390b07c59.tar.bz2
re PR tree-optimization/78210 (slsr-8.c scan-tree-dump-times optimized fails)
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
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/slsr-8.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9451ca9..f25bfd7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/slsr-8.c b/gcc/testsuite/gcc.dg/tree-ssa/slsr-8.c
index 97b8eab..585b660 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/slsr-8.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/slsr-8.c
@@ -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" } } */