https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66123
Bug ID: 66123 Summary: Array of labels as values + ternary operator + pointer arithmetic = internal compiler error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: SztfG at yandex dot ru Target Milestone: --- Created attachment 35529 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35529&action=edit Preprocessed source bug.c: In function ‘test’: bug.c:1:5: internal compiler error: Segmentation fault Target: x86_64-linux-gnu gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) Code in attachment It also produces internal compiler error for ARM and ARM64 target