[Bug libgcc/63681] New: bfin-rtems ICE in cfg_layout_initialize, at cfgrtl.c:4233
joel at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 29 17:13:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63681
Bug ID: 63681
Summary: bfin-rtems ICE in cfg_layout_initialize, at
cfgrtl.c:4233
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: joel at gcc dot gnu.org
git 4.9 branch with last commit 1d2b7cdfcb9376a6ee98964b11cf73fe14154e13
newlib head
Configure command (lots of newlib options)
../${GCC}/configure \
--prefix=${PREFIX} \
--bindir=${PREFIX}/bin \
--exec_prefix=${PREFIX} \
--includedir=${PREFIX}/include \
--libdir=${PREFIX}/lib \
--libexecdir=${PREFIX}/libexec \
--mandir=${PREFIX}/share/man \
--infodir=${PREFIX}/share/info \
--datadir=${PREFIX}/share \
--target=${TARGET} \
${sjlj} \
--disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--with-system-zlib \
--disable-nls --without-included-gettext \
--disable-win32-registry \
--enable-version-specific-runtime-libs \
--disable-lto \
--enable-newlib-io-c99-formats \
--enable-newlib-iconv \
--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 \
--enable-threads \
--disable-plugin \
--enable-languages="c,c++"
The build fails in libgcc with this. Should be easy to reproduce:
/users/joel/test-gcc/b-bfin-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-bfin-rtems4.11-gcc/./gcc/ -nostdinc
-B/users/joel/test-gcc/b-bfin-rtems4.11-gcc/bfin-rtems4.11/newlib/ -isystem
/users/joel/test-gcc/b-bfin-rtems4.11-gcc/bfin-rtems4.11/newlib/targ-include
-isystem /users/joel/test-gcc/gcc/newlib/libc/include
-B/users/joel/test-gcc/install-head/bfin-rtems4.11/bin/
-B/users/joel/test-gcc/install-head/bfin-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-head/bfin-rtems4.11/include -isystem
/users/joel/test-gcc/install-head/bfin-rtems4.11/sys-include -g -O2 -O2
-I../../../gcc/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
-Dinhibit_libc -I. -I. -I../.././gcc -I../../../gcc/libgcc
-I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o _div_sf.o -MT
_div_sf.o -MD -MP -MF _div_sf.dep -DFINE_GRAINED_LIBRARIES -DL_div_sf -DFLOAT
-c ../../../gcc/libgcc/fp-bit.c -fvisibility=hidden -DHIDE_EXPORTS
../../../gcc/libgcc/fp-bit.c: In function '__divsf3':
../../../gcc/libgcc/fp-bit.c:1082:1: internal compiler error: in
cfg_layout_initialize, at cfgrtl.c:4233
}
^
0x4f030a cfg_layout_initialize(unsigned int)
../../gcc/gcc/cfgrtl.c:4233
0x9b9be1 reorder_loops
../../gcc/gcc/hw-doloop.c:500
0x9b9be1 reorg_loops(bool, hw_doloop_hooks*)
../../gcc/gcc/hw-doloop.c:641
0x938e85 bfin_reorg_loops
../../gcc/gcc/config/bfin/bfin.c:3888
0x938e85 bfin_reorg
../../gcc/gcc/config/bfin/bfin.c:4630
0x710bc9 rest_of_handle_machine_reorg
../../gcc/gcc/reorg.c:3936
0x710bc9 execute
../../gcc/gcc/reorg.c:3966
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_div_sf.o] Error 1
make[2]: Leaving directory
`/users/joel/test-gcc/b-bfin-rtems4.11-gcc/bfin-rtems4.11/libgcc'
ma
More information about the Gcc-bugs
mailing list