diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-05-22 12:25:44 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-05-22 12:25:44 +0000 |
commit | 440ed9f839a068948c72441eda2ef3da515f4656 (patch) | |
tree | 54e8716f0c7fc3013557e980c5c8beb7ed532381 /gcc/ada | |
parent | 81d5198d0093ab144c8a13b85c56ef496192f930 (diff) | |
download | gcc-440ed9f839a068948c72441eda2ef3da515f4656.zip gcc-440ed9f839a068948c72441eda2ef3da515f4656.tar.gz gcc-440ed9f839a068948c72441eda2ef3da515f4656.tar.bz2 |
Handle a null lhs in expand_direct_optab_fn (PR85862)
This PR showed that the normal function for expanding directly-mapped
internal functions didn't handle the case in which the call was only
being kept for its side-effects.
2018-05-22 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
PR middle-end/85862
* internal-fn.c (expand_direct_optab_fn): Cope with a null lhs.
gcc/testsuite/
PR middle-end/85862
* gcc.dg/torture/pr85862.c: New test.
From-SVN: r260504
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions