[Bug rtl-optimization/115879] ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 6 with -O -fnon-call-exceptions -finstrument-functions and _BitInt()

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 13 01:11:37 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115879

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-07-13

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

Note this code is undefined for a different reasons, one is alignment and other
is reading before the address of a variable. That does not mean we should not
ICE.

Though not many folks will be using -fnon-call-exceptions in the first place
with undefined code like this.

Note I tried to get defined code but I could not reproduce it then.


More information about the Gcc-bugs mailing list