https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302
Bug ID: 68302 Summary: [5/6 Regression] ICE with debugging enabled on mips Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: aurelien at aurel32 dot net Target Milestone: --- Host: mipsel-linux-gnu Target: mipsel-linux-gnu Build: mipsel-linux-gnu Created attachment 36691 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36691&action=edit Reduced testcase The attached testcase, when compiled on mips with debugging enabled and with -g -O2 -march=mips32r2 causes an internal compiler error: Segmentation fault (program cc1). Removing one of this three options causes the issue to disappear. The problem appears on both gcc-5-branch and trunk from today. It can be reproduced with a native compiler or a cross-compiler targeting mips or mipsel.