From b210df469e439aa11519a167bd1f1f6390b07c59 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Fri, 4 Nov 2016 15:21:38 +0000 Subject: [PATCH] re PR tree-optimization/78210 (slsr-8.c scan-tree-dump-times optimized fails) 2016-11-04 Bill Schmidt 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 | 6 ++++++ gcc/testsuite/gcc.dg/tree-ssa/slsr-8.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9451ca975cf..f25bfd7d60c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-11-04 Bill Schmidt + + 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 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 97b8eab8005..585b660886b 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" } } */ -- 2.30.2