https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95295
Shubham Narlawar <gsocshubham at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gsocshubham at gmail dot com --- Comment #9 from Shubham Narlawar <gsocshubham at gmail dot com> --- I found the ICE - "internal compiler error: in hoist_memory_references, at tree-ssa-loop-im.c:2615" with below testcase when compiled with -Og on trunk. The testcase is obtained by fuzzing function attributes in Csmith - --------------------------Testcase--------------------------------------- a, b, c, d, f; **e; g() __attribute__((optimize("Ofast"))); g(h) { int *i = &a; for (; f;) { c = 5; for (; c; c--) { char *j = &b; **e = (h && d) == a; *i = 0; *j = 0; } } } ------------------------------------------------------------------------- I see above ICE has been fixed now.