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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[13/14/15/16 Regression]    |[13/14/15/16 Regression]
                   |during GIMPLE pass:         |during GIMPLE pass:
                   |forwprop ICE: verify_gimple |forwprop ICE: verify_gimple
                   |failed: statement marked    |failed: statement marked
                   |for throw, but doesn't with |for throw, but doesn't with
                   |-O -ftrapv                  |-O -ftrapv
                   |-finstrument-functions      |-finstrument-functions
                   |-fnon-call-exceptions       |-fnon-call-exceptions since
                   |                            |r12-6577
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The simpliest way of fixing this is rejecting use stmt that throws internally.
I doubt anyone will miss this optimization in this case either.

Reply via email to