[Bug target/104453] [9/10 Regression] ICE: SIGSEGV in handled_component_p with truncated input
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 16 09:22:50 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104453
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:807bfd4357609655c81d0a3282b699b10e7aeb5a
commit r10-10501-g807bfd4357609655c81d0a3282b699b10e7aeb5a
Author: Richard Biener <rguenther@suse.de>
Date: Wed Feb 9 08:48:35 2022 +0100
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.c (ix86_gimple_fold_builtin): Guard shift
folding for NULL LHS.
* gcc.target/i386/pr104453.c: New testcase.
(cherry picked from commit 1c827873ed283df282f2df11dfe0ff607e07dab3)
More information about the Gcc-bugs
mailing list