From: Martin Sebor Date: Wed, 21 Aug 2019 02:18:41 +0000 (+0000) Subject: re PR testsuite/91458 (FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcb6ebe3d672317d3596d8facdf2625afad1cac2;p=gcc.git re PR testsuite/91458 (FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump-times optimized "&MEM\\\\[\\\\(void .\\\\)&a \\\\+ 8B\\\\]" 3) PR testsuite/91458 gcc/testsuite/ChangeLog: * g++.dg/tree-ssa/ssa-dse-1.C: Use the same search pattern unconditionally (correcting r272199, PR middle-end/90676). * gcc.dg/tree-prof/stringop-2.c: Same. From-SVN: r274764 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2e361d30350..3187e94186d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-08-20 Martin Sebor + + PR testsuite/91458 + * g++.dg/tree-ssa/ssa-dse-1.C: Use the same search pattern + unconditionally (correcting r272199, PR middle-end/90676). + * gcc.dg/tree-prof/stringop-2.c: Same. + 2019-08-20 Ian Lance Taylor * go.test/test/fixedbugs/bug073.go: Update for language changes. diff --git a/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C b/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C index bed4886dc14..65f7ddb8cf0 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C +++ b/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C @@ -97,5 +97,4 @@ int main() } -/* { dg-final { scan-tree-dump-times "MEM\\\[\\(struct FixBuf \\*\\)& \\+ \[0-9\]+B\\\] = {}" 1 "dse1" { target { ! store_merge } } } } - { dg-final { scan-tree-dump-times "MEM \\\[\\(struct FixBuf \\*\\)& \\+ \[0-9\]+B\\\] = {}" 1 "dse1" { target { store_merge } } } } */ +/* { dg-final { scan-tree-dump-times "MEM \\\[\\(struct FixBuf \\*\\)& \\+ \[0-9\]+B\\\] = {}" 1 "dse1" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c index 0264bb37c9c..b7471bffd91 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c +++ b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c @@ -22,5 +22,4 @@ main() /* autofdo doesn't support value profiling for now: */ /* { dg-final-use-not-autofdo { scan-ipa-dump "Transformation done: single value 4 stringop" "profile"} } */ /* The versioned memset of size 4 should be optimized to an assignment. - { dg-final-use-not-autofdo { scan-tree-dump "MEM\\\[\\(void .\\)&a\\\] = 168430090" "optimized" { target { ! store_merge } } } } - { dg-final-use-not-autofdo { scan-tree-dump "MEM <\[a-z \]+> \\\[\\(void .\\)&a\\\] = 168430090" "optimized" { target { store_merge } } } } */ + { dg-final-use-not-autofdo { scan-tree-dump "MEM <\[a-z \]+> \\\[\\(void .\\)&a\\\] = 168430090" "optimized" } } */