From: Richard Biener Date: Thu, 15 Sep 2016 09:24:10 +0000 (+0000) Subject: fold-reassoc-2.c: Fix dump scan. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5334f73312e13d4ddc5968276c9ca94a98f28647;p=gcc.git fold-reassoc-2.c: Fix dump scan. 2016-09-15 Richard Biener * gcc.dg/fold-reassoc-2.c: Fix dump scan. From-SVN: r240154 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 623a764e339..906cefbbee7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-09-15 Richard Biener + + * gcc.dg/fold-reassoc-2.c: Fix dump scan. + 2016-09-15 Richard Biener PR tree-optimization/77514 diff --git a/gcc/testsuite/gcc.dg/fold-reassoc-2.c b/gcc/testsuite/gcc.dg/fold-reassoc-2.c index 98890b10be3..a334ec6122a 100644 --- a/gcc/testsuite/gcc.dg/fold-reassoc-2.c +++ b/gcc/testsuite/gcc.dg/fold-reassoc-2.c @@ -1,13 +1,13 @@ -/* { dg-do compile } */ -/* { dg-options "-O -fdump-tree-original" } */ - -int foo (int i) -{ - return (i + 2) - (i + 1); -} -int bar (int i) -{ - return (i + 2) + ~i; -} - -/* { dg-final { scan-tree-dump "return 1;" "original" } } */ +/* { dg-do compile } */ +/* { dg-options "-O -fdump-tree-original" } */ + +int foo (int i) +{ + return (i + 2) - (i + 1); +} +int bar (int i) +{ + return (i + 2) + ~i; +} + +/* { dg-final { scan-tree-dump-times "return 1;" 2 "original" } } */