Turn of ipa-ra in builtins test (PR91059)
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 8 Jul 2019 17:02:35 +0000 (17:02 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 8 Jul 2019 17:02:35 +0000 (17:02 +0000)
commit8f783191775bc266a74175e92c7eb64098bd4283
tree3ea36db534ae914fc6d5474e78d08b1be7cd0924
parent5fad9d33e1dacbd754473e441f5e305ba7d3ef6c
Turn of ipa-ra in builtins test (PR91059)

The gcc.c-torture/execute/builtins/lib directory contains a reimplementation
of many C library string functions, which causes non-trivial register allocation
bugs with LTO and static linked libraries.  To fix this long-standing test
issue, turn off ipa-ra which avoids the register corruption across calls.  All
builtin torture tests now pass on aarch64-none-elf.  Committed as obvious.

    testsuite/
PR testsuite/91059
PR testsuite/78529
* gcc.c-torture/execute/builtins/builtins.exp: Add -fno-ipa-ra.

From-SVN: r273238
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp