[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

linkw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 28 11:40:51 GMT 2022


Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
                 CC|                            |linkw at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-06-28

--- Comment #2 from Kewen Lin <linkw at gcc dot gnu.org> ---
Confirmed, thanks for reporting.

It needs explicit option -mcpu=power8 if the default cpu type is some else.

It looks pass swaps doesn't copy REG_NOTES when replacing insns.

More information about the Gcc-bugs mailing list