[Bug middle-end/126579] [13/14/15/16/17 Regression] non-call must not throw (REG_EH_REGION) is lost in during cselim/phiopt and ifcvt and sink

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]> Sun, 02 Aug 2026 00:48:32 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126579

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[13/14/15/16/17 Regression] |[13/14/15/16/17 Regression]
                   |non-call must not throw     |non-call must not throw
                   |(REG_EH_REGION) is lost in  |(REG_EH_REGION) is lost in
                   |during cselim/phiopt and    |during cselim/phiopt and
                   |ifcvt                       |ifcvt and sink

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
sink also has the same issue which can been seen with ` -fno-ssa-phiopt
-fno-tree-cselim`.