https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103493
Bug ID: 103493 Summary: gcc crash with Seg fault signal Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: k.even-mendoza at imperial dot ac.uk Target Milestone: --- Hi, When trying to compile this code with GCC-12: ===== gcc -O0 prog.c enum { a, b } main() { (short)(b ^ (long)-(double)0 | 2 | (0 ^ (long)(double)0) * (0 % 0)); } ===== GCC crash with: Please submit a full bug report, gcc: internal compiler error: Segmentation fault signal terminated program cc1 GCC version gcc (GCC) 12.0.0 20211118 (experimental) Unix/Ubuntu