https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117668
Bug ID: 117668
Summary: fold_marked_statements in tree-inline.cc does not
purge the abnormal edges after folding
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: internal-improvement, missed-optimization
Severity: enhancement
Priority: P3
Component: ipa
Assignee: pinskia at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
While deciding on how to fix PR 117665, I saw that fold_marked_statements does
not purge the abnormal edges after the folding.
See https://gcc.gnu.org/PR117665#c8 for a patch which I didn't think was the
best though.
I will handle this later on.