diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-27 02:07:20 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-27 02:09:58 +0200 |
commit | 5630c40fc726d3c7ba5a0703e1e2bbd05fe7adfa (patch) | |
tree | 03c8347b11e9eb18a419b1fce951d9c6f9e086a8 | |
parent | 39ddfef9a5c24acf6412236f52f6716c8e0ebc9e (diff) | |
download | gcc-5630c40fc726d3c7ba5a0703e1e2bbd05fe7adfa.zip gcc-5630c40fc726d3c7ba5a0703e1e2bbd05fe7adfa.tar.gz gcc-5630c40fc726d3c7ba5a0703e1e2bbd05fe7adfa.tar.bz2 |
gcc.dg/tree-ssa/reassoc-20.c: Adjust for mmix.
The expression of interest looks like "e_5 = a::0_1 + b::1_2;" for
mmix-knuth-mmixware, while other targets have a "." instead of the
"::". ISTM the most useful change here is not to disable the test,
but to add an optional character in the matched expression to match
the "extra" ":". Also checked cris-elf to assert that the expression
still passes for an "ordinary" ELF target.
gcc/testsuite:
* gcc.dg/tree-ssa/reassoc-20.c: Adjust for mmix.
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c index 3d2ea6b..a7d57f1 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c @@ -15,5 +15,5 @@ int main(void) printf ("%d %d\n", e, f); } -/* { dg-final { scan-tree-dump-times "\[ab\].._. \\\+ \[ab\].._." 1 "optimized" } } */ +/* { dg-final { scan-tree-dump-times "\[ab\].\?.._. \\\+ \[ab\].\?.._." 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times " \\\+ " 2 "optimized" } } */ |