https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574
Bug ID: 79574 Summary: ICE in want_to_gcse_p, at gcse.c:804 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Starting from moment when the problematic param was added. $ cat ice.c void a () { volatile int b; for (;; b) ; } gcc -Os --param gcse-cost-distance-ratio=2147483647 -c ice.c -c ice.c: In function ‘a’: ice.c:6:1: internal compiler error: in want_to_gcse_p, at gcse.c:804 } ^ I've got patch for that.