From: Jakub Jelinek Date: Thu, 13 Jun 2019 11:29:13 +0000 (+0200) Subject: ssa-dse-1.C: Don't match exact number of chars of = {} store. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19d258377f543dee5cb1d256638e3e41ccf20282;p=gcc.git ssa-dse-1.C: Don't match exact number of chars of = {} store. * g++.dg/tree-ssa/ssa-dse-1.C: Don't match exact number of chars of = {} store. * g++.dg/tree-ssa/pr31146.C: Change -fdump-tree-forwprop to -fdump-tree-forwprop1 in dg-options. Expect in MEM. From-SVN: r272240 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac0290971eb..5dbfc35df03 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-06-13 Jakub Jelinek + + * g++.dg/tree-ssa/ssa-dse-1.C: Don't match exact number of chars of + = {} store. + * g++.dg/tree-ssa/pr31146.C: Change -fdump-tree-forwprop to + -fdump-tree-forwprop1 in dg-options. Expect in MEM. + 2019-06-13 Richard Biener * gcc.dg/vect/vect-version-1.c: New testcase. diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr31146.C b/gcc/testsuite/g++.dg/tree-ssa/pr31146.C index 1a77ea963d0..665370db660 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr31146.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr31146.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O -fdump-tree-forwprop" } */ +/* { dg-options "-O -fdump-tree-forwprop1" } */ /* We should be able to optimize this to i[j] = 1 during early optimizations. */ @@ -12,4 +12,4 @@ void foo (int j) *q = 1; } -/* { dg-final { scan-tree-dump "MEM\\\[.*&i\\\]\\\[j.*\\\] =.* 1;" "forwprop1" } } */ +/* { dg-final { scan-tree-dump "MEM \\\[.*&i\\\]\\\[j.*\\\] =.* 1;" "forwprop1" } } */ 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 7bcb65af13c..bed4886dc14 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C +++ b/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C @@ -98,4 +98,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" { target { store_merge } } } } */