From f6c7a248d5eb50e3cfcf15e552c2be698ebea34b Mon Sep 17 00:00:00 2001 From: Prathamesh Kulkarni Date: Fri, 29 Jul 2016 15:37:23 +0000 Subject: [PATCH] 2016-07-29 Prathamesh Kulkarni testsuite/ gcc.dg/pr70920-4.c: Restrict to lp64 targets and make scan-tree-dump to scan forwprop1 dump pass. From-SVN: r238874 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr70920-4.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b0d25939528..16d59d3c4ce 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-29 Prathamesh Kulkarni + + gcc.dg/pr70920-4.c: Restrict to lp64 targets and make scan-tree-dump + to scan forwprop1 dump pass. + 2016-07-29 Paolo Carlini PR c++/51488 diff --git a/gcc/testsuite/gcc.dg/pr70920-4.c b/gcc/testsuite/gcc.dg/pr70920-4.c index dedb8959b28..ab2748b820c 100644 --- a/gcc/testsuite/gcc.dg/pr70920-4.c +++ b/gcc/testsuite/gcc.dg/pr70920-4.c @@ -1,5 +1,6 @@ +/* { dg-require-effective-target lp64 } */ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-ccp-details -Wno-int-to-pointer-cast" } */ +/* { dg-options "-O2 -fdump-tree-forwprop-details -Wno-int-to-pointer-cast" } */ #include @@ -18,4 +19,4 @@ foo (int a) } } -/* { dg-final { scan-tree-dump "gimple_simplified to if \\(_\[0-9\]* == 0\\)" "ccp1" } } */ +/* { dg-final { scan-tree-dump "if \\(_\[0-9\]* == 0\\)" "forwprop1" } } */ -- 2.30.2