https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117876
Bug ID: 117876 Summary: get_later_stmt used on stmts not in the same BB Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- The vectorizer uses get_later_stmt to order stmts only looking at UID but UIDs are only comparable when the stmts are in the same BB (or there is a total order with the particular RPO walk done when computing UIDs).