https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77770
Bug ID: 77770 Summary: Internal compiler error on source which compiles with earlier versions. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zoltan at bendor dot com.au Target Milestone: --- Created attachment 39708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39708&action=edit The compiler command line Source code which compiles with 4.7.2 (and I was told, but not tested, with 5.1.0 as well) fails with internal compiler error on 5.4.0 and 6.1.0. It is a cross-compiler, in all cases generated with the following configure: --target=arm-eabi --disable-libada --disable-libssp --disable-lto --enable-languages=c The host is GNU/Linux, cross binutils installed with --target=arm-eabi It should be noted that it succeeds to compile the code for both ARM and THUMB if optimising for speed and also for ARM optimising for size, but fails with the THUMB and optimising for size case (the target architecture is ARM7TDMI). Attached are the command line, the error message and the preprocessed source file. This particular set of files was generated by the 5.4.0 compiler.