]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite] tolerate later success [PR108357]
authorAlexandre Oliva <oliva@adacore.com>
Fri, 7 Feb 2025 14:36:33 +0000 (11:36 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 7 Feb 2025 14:36:33 +0000 (11:36 -0300)
commitd790f0137c6f12950f1d93a66cf9bdb78757c28b
tree583423eca2aeb3a099b217c09581ef07f475226b
parentea4278b1ced4a4c982678094e98ef3efd844917a
[testsuite] tolerate later success [PR108357]

On leon3-elf and presumably on other targets, the test fails due to
differences in calling conventions and other reasons, that add extra
gimple stmts that prevent the expected optimization at the expected
point.  The optimization takes place anyway, just a little later, so
tolerate that.

for  gcc/testsuite/ChangeLog

PR tree-optimization/108357
* gcc.dg/tree-ssa/pr108357.c: Tolerate later optimization.
gcc/testsuite/gcc.dg/tree-ssa/pr108357.c