]> git.ipfire.org Git - thirdparty/gcc.git/commit
gcc.dg/tree-ssa/reassoc-20.c: Adjust for mmix.
authorHans-Peter Nilsson <hp@bitrange.com>
Mon, 27 Jul 2020 00:07:20 +0000 (02:07 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Mon, 27 Jul 2020 00:09:58 +0000 (02:09 +0200)
commit5630c40fc726d3c7ba5a0703e1e2bbd05fe7adfa
tree03c8347b11e9eb18a419b1fce951d9c6f9e086a8
parent39ddfef9a5c24acf6412236f52f6716c8e0ebc9e
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.
gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c