+++ This bug was initially created as a clone of Bug #33388 +++ There is a failure building libgcc with revision 128358 (with the first two parts of bug 33388 fixed):
Configure flags: --target fr30-unknown-elf --enable-checking=yes,rtl --with-newlib --enable-sim --disable-gdb --disable-nls /home/rask/build/gcc-fr30-unknown-elf/./gcc/xgcc -B/home/rask/build/gcc-fr30-unknown-elf/./gcc/ -nostdinc -B/home/rask/build/gcc-fr30-unknown-elf/fr30-unknown-elf/newlib/ -isystem /home/rask/build/gcc-fr30-unknown-elf/fr30-unknown-elf/newlib/targ-include -isystem /n/12/rask/src/all/newlib/libc/include -B/home/rask/build/gcc-fr30-unknown-elf/fr30-unknown-elf/libgloss/fr30 -L/home/rask/build/gcc-fr30-unknown-elf/fr30-unknown-elf/libgloss/libnosys -L/n/12/rask/src/all/libgloss/fr30 -B/usr/local/fr30-unknown-elf/bin/ -B/usr/local/fr30-unknown-elf/lib/ -isystem /usr/local/fr30-unknown-elf/include -isystem /usr/local/fr30-unknown-elf/sys-include -L/home/rask/build/gcc-fr30-unknown-elf/./ld -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../.././gcc -I/n/12/rask/src/all/libgcc -I/n/12/rask/src/all/libgcc/. -I/n/12/rask/src/all/libgcc/../gcc -I/n/12/rask/src/all/libgcc/../include -DHAVE_CC_TLS -o _popcountdi2.o -MT _popcountdi2.o -MD -MP -MF _popcountdi2.dep -DL_popcountdi2 -c /n/12/rask/src/all/libgcc/../gcc/libgcc2.c /n/12/rask/src/all/libgcc/../gcc/libgcc2.c: In function '__popcountdi2': /n/12/rask/src/all/libgcc/../gcc/libgcc2.c:813: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2out.c:1667 dwarf2out_frame_debug_expr() expects to see hard_frame_pointer_rtx (reg/f:SI 14) but gets another rtx (reg:SI 14) created by the "enter_func" pattern. There's likely a similar problem with stack_pointer_rtx. -- Summary: fr30: ICE: in dwarf2out_frame_debug_expr, at dwarf2out.c:1667 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, build, ice-checking Severity: normal Priority: P3 Component: target AssignedTo: rask at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC target triplet: fr30-unknown-elf OtherBugsDependingO 33388 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33397