http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58375
Bug ID: 58375
Summary: internal compiler error: in push_reload, at
reload.c:1360
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: peter at stegemann dot net
Created attachment 30778
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30778&action=edit
The culprit
-------- begin --------
avr-gcc-4.8.1 (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling C++: Source/Channel.cpp
avr-gcc-4.8.1 -c -mmcu=atmega2561 -I. -x c++ -include Setup.h -g
-DF_CPU=14745600UL -DSYSTEM_VERSION= -DSYSTEM_MODE=
-DSYSTEM_STATUS_DISPLAY_MODE= -Os -funsigned-char -funsigned-bitfields
-fpack-struct -fcheck-new -fshort-enums -fno-exceptions -fno-rtti -Wall
-ISource -MMD -MP -MF .dep/Channel.o.d Source/Channel.cpp -o
obj/Source/Channel.o
Source/Channel.cpp: In member function 'virtual void
Screen_Setup_Channel::display()':
Source/Channel.cpp:44:1: internal compiler error: in push_reload, at
reload.c:1360
}
^
libbacktrace could not find executable to open
See the attached condensed project - slight changes in the source remove the
problem.
$ avr-gcc-4.8.1 -v
Using built-in specs.
COLLECT_GCC=avr-gcc-4.8.1
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/avr/4.8.1/lto-wrapper
Target: avr
Configured with: ../configure --target=avr --with-gmp=/opt/local/ --disable-nls
--enable-languages=c,c++ : (reconfigured) ../configure --program-suffix=-4.8.1
--target=avr --with-gmp=/opt/local/ --disable-nls --disable-libssp
--enable-languages=c,c++
Thread model: single
gcc version 4.8.1 (GCC)