https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120951
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |tree-optimization --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the bug is in the cdce pass where it creates GIMPLE_COND. When the condition can throw, a temporary needs to be used.