ICE with gcc version 4.2.0 20060911 (experimental) when optimizing for code size. Preprocessed example code follows. Compile with: g++ -Os -c foo.cc -o foo.o 20060908 worked ok.
-- Summary: ICE when compiling with -Os Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: us15 at os dot inf dot tu-dresden dot de GCC build triplet: i486-slackware-linux GCC host triplet: i486-slackware-linux GCC target triplet: i486-slackware-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29016