https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71932
Bug ID: 71932 Summary: internal compiler error: in push_reload, at reload.c:1360 Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: RichardFalk at comcast dot net Target Milestone: --- Created attachment 38934 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38934&action=edit Pre-processed C file with the minimum amount of code to generate this bug. The push_reload error is very sensitive to any changes to the source code. The minimum subset to reproduce the error is attached. The error with the attached pre-processed C file is as follows: reload_bug.c: In function 'push_reload_error': reload_bug.c:96:1: internal compiler error: in push_reload, at reload.c:1360 and is generated with the following minimum call where the -Os optimization is required and is the only optimization setting that fails: avr-gcc -Os -S reload_bug_pre.c The details of the avr-gcc build are as follows: Using built-in specs. COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/usr/local/Cellar/avr-gcc/4.9.3/libexec/gcc/avr/4.9.3/lto-wrapper Target: avr Configured with: ../configure --target=avr --prefix=/usr/local/Cellar/avr-gcc/4.9.3 --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-ld=/usr/local/opt/avr-binutils/bin/avr-ld --with-as=/usr/local/opt/avr-binutils/bin/avr-as --disable-nls --disable-shared --disable-threads --disable-libssp --disable-libstdcxx-pch --disable-libgomp --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-system-zlib Thread model: single gcc version 4.9.3 (GCC) Note that the following construct seen (and required) in the file: (__extension__({static const char __c[] = (""); &__c[0];})) comes from the macro PSTR defined in the AVR header pgmspace.h