diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-09 14:31:25 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-09 14:31:25 +0000 |
commit | 509bb9b647516bbf6af77778d2ffe7e756be26df (patch) | |
tree | 988f7d6b12c07b237320541649d1abc670a59c9e /gcc/fortran/expr.c | |
parent | 7ad429a4de1197b4b032da0981a2c91ac5d0dd06 (diff) | |
download | gcc-509bb9b647516bbf6af77778d2ffe7e756be26df.zip gcc-509bb9b647516bbf6af77778d2ffe7e756be26df.tar.gz gcc-509bb9b647516bbf6af77778d2ffe7e756be26df.tar.bz2 |
[AArch64] Reject (high (const (plus anchor offset)))
The aarch64_legitimate_constant_p tests for HIGH and CONST seem
to be the wrong way round: (high (const ...)) is valid rtl that
could be passed in, but (const (high ...)) isn't. As it stands,
we disallow anchor+offset but allow (high anchor+offset).
2018-01-09 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* config/aarch64/aarch64.c (aarch64_legitimate_constant_p): Fix
order of HIGH and CONST checks.
From-SVN: r256384
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions