https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111820
Bug ID: 111820 Summary: GCC: 14: hangs with a simple while loop Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: 141242068 at smail dot nju.edu.cn Target Milestone: --- Compiler Explorer: https://godbolt.org/z/ezdG5GGd8 When compile below program with option `-O3 -fno-tree-vrp`, GCC consumes upto 46 seconds to finish: ``` int r; int r_0; void f (void) { int n = 0; while (-- n) { r_0 += r ; r += r; r += r ; r += r ; r >= r ; r += r ; } } ```