https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100784
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:e0ae287e2c199a22d3f0c2de40a4869a44c8b795 commit r10-10499-ge0ae287e2c199a22d3f0c2de40a4869a44c8b795 Author: Richard Biener <rguent...@suse.de> Date: Thu Jan 20 14:34:33 2022 +0100 target/100784 - avoid ICE with folding __builtin_ia32_shufpd This avoids ICEing when there is no LHS on the call by following what foldings of other builtins do in , namely not folding. 2022-01-20 Richard Biener <rguent...@suse.de> PR target/100784 * config/i386/i386.c (ix86_gimple_fold_builtin): Check for LHS before folding __builtin_ia32_shufpd and friends. (cherry picked from commit d63d9c3dd160dce24f0209f193b8e7388b19f712)