https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126578
Bug ID: 126578
Summary: [15/16/17 Regression] non-call must not throw
(REG_EH_REGION) is lost in ifcvt
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Keywords: EH, wrong-code
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Created attachment 65209
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65209&action=edit
testcase
Take the attached testcase this should work with `-fnon-call-exceptions` but
currently does not at `-fnon-call-exceptions -O2`.
This is like PR 126568 but for rtl ifcvt.