diff options
author | Richard Biener <rguenther@suse.de> | 2022-02-09 08:48:35 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-02-09 10:07:29 +0100 |
commit | 1c827873ed283df282f2df11dfe0ff607e07dab3 (patch) | |
tree | 49f90dce83b54ad9eeff896b4f5082439ff8c7c7 /gcc/gimple-range-path.cc | |
parent | 869fb813039e8933a85f5f2a3a53cde156030b0a (diff) | |
download | gcc-1c827873ed283df282f2df11dfe0ff607e07dab3.zip gcc-1c827873ed283df282f2df11dfe0ff607e07dab3.tar.gz gcc-1c827873ed283df282f2df11dfe0ff607e07dab3.tar.bz2 |
target/104453 - guard call folding with NULL LHS
This guards shift builtin folding to do nothing when there is
no LHS, similar to what other foldings do.
2022-02-09 Richard Biener <rguenther@suse.de>
PR target/104453
* config/i386/i386.cc (ix86_gimple_fold_builtin): Guard shift
folding for NULL LHS.
* gcc.target/i386/pr104453.c: New testcase.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions