diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2022-04-12 13:35:27 +0100 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2022-04-12 13:38:44 +0100 |
commit | 62082d278d1fc9773539244194061ab32556db4d (patch) | |
tree | d48feb501e518937555a57466cedb7f945832dbd /gcc/tree.h | |
parent | 31cccadcf2d3cc8acb7a5f36ed57ca847f7ea0ea (diff) | |
download | gcc-62082d278d1fc9773539244194061ab32556db4d.zip gcc-62082d278d1fc9773539244194061ab32556db4d.tar.gz gcc-62082d278d1fc9773539244194061ab32556db4d.tar.bz2 |
arm: fix testsuite failure of reg_equal_test.c [PR101755]
The test failure in PR101755 is due to the gimple optimizers getting
smarter. But really we are just testing that RTL expansion is doing
the right thing and annotating a constant accordingly. So rework the
test to use GIMPLE input and simplify the code entirely. Also, this
test only ever worked on architecture versions with the MOVW/MOVT
instructions, so check for this before running.
gcc/testsuite/ChangeLog:
PR target/101755
* gcc.target/arm/reg_equal_test.c: Convert to gimple test. Restrict
to architectures with MOVW/MOVT.
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions