https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111443
Bug ID: 111443 Summary: ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: shaohua.li at inf dot ethz.ch CC: pinskia at gcc dot gnu.org Target Milestone: --- gcc crashes at -O2. Bisected to r14-4038-gb975c0dc3be Compiler explorer: https://godbolt.org/z/zd6WfK5xT $ cat a.c int a, c, d; char b; void e() { char f; int g[] = {3}; char *h; if (g[0]) for (; f; f--) ; c = 0; for (;;) { *h = 0; b = f - *h; d = f * a; } } int main() {} $ $ gcc -O2 a.c gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See <https://gcc.gnu.org/bugs/> for instructions. $