[Bug bootstrap/63573] [5 Regression] libgo: ICE building libgo on powerpc-linux-gnu

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 25 23:37:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63573

--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 34120
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34120&action=edit
preprocessed source reproducing the ICE

I'm still seeing this with the attached input.

/home/jwakely/build-abi/./gcc/xgcc -shared-libgcc
-B/home/jwakely/build-abi/./gcc -nostdinc++
-L/home/jwakely/build-abi/powerpc64-unknown-linux-gnu/32/libstdc++-v3/src
-L/home/jwakely/build-abi/powerpc64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-L/home/jwakely/build-abi/powerpc64-unknown-linux-gnu/32/libstdc++-v3/libsupc++/.libs
-B/home/jwakely/gcc/5/powerpc64-unknown-linux-gnu/bin/
-B/home/jwakely/gcc/5/powerpc64-unknown-linux-gnu/lib/ -isystem
/home/jwakely/gcc/5/powerpc64-unknown-linux-gnu/include -isystem
/home/jwakely/gcc/5/powerpc64-unknown-linux-gnu/sys-include -m32
-I/home/jwakely/src/gcc/libstdc++-v3/../libgcc
-I/home/jwakely/build-abi/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/jwakely/build-abi/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include
-I/home/jwakely/src/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -D_GLIBCXX_SHARED
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=cxx11-shim_facets.lo -g -O2 -D_GNU_SOURCE -m32 -c
cxx11-shim_facets.ii  -fPIC -DPIC -D_GLIBCXX_SHARED -o cxx11-shim_facets.o



/home/jwakely/src/gcc/libstdc++-v3/src/c++11/cxx11-shim_facets.cc: In member
function ‘std::__facet_shims::{anonymous}::money_put_shim<_CharT>::iter_type
std::__facet_shims::{anonymous}::money_put_shim<_CharT>::do_put(std::__facet_shims::{anonymous}::money_put_shim<_CharT>::iter_type,
bool, std::ios_base&,
std::__facet_shims::{anonymous}::money_put_shim<_CharT>::char_type, const
string_type&) const [with _CharT = wchar_t;
std::__facet_shims::{anonymous}::money_put_shim<_CharT>::iter_type =
std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >;
std::__facet_shims::{anonymous}::money_put_shim<_CharT>::char_type = wchar_t;
std::__facet_shims::{anonymous}::money_put_shim<_CharT>::string_type =
std::basic_string<wchar_t>]’:
/home/jwakely/src/gcc/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:427:2:
internal compiler error: in expand_expr_addr_expr_1, at expr.c:7716
  do_put(iter_type s, bool intl, ios_base& io,
  ^
0x109011df expand_expr_addr_expr_1
        /home/jwakely/src/gcc/gcc/expr.c:7716
0x10901bfb expand_expr_addr_expr
        /home/jwakely/src/gcc/gcc/expr.c:7830
0x10910897 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/jwakely/src/gcc/gcc/expr.c:10704
0x109021ef expand_expr_real(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/jwakely/src/gcc/gcc/expr.c:7998
0x106fff7f expand_normal
        /home/jwakely/src/gcc/gcc/expr.h:305
0x107020c7 precompute_register_parameters
        /home/jwakely/src/gcc/gcc/calls.c:869
0x1070a78f expand_call(tree_node*, rtx_def*, int)
        /home/jwakely/src/gcc/gcc/calls.c:3119
0x1090f537 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/jwakely/src/gcc/gcc/expr.c:10472
0x109021ef expand_expr_real(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/jwakely/src/gcc/gcc/expr.c:7998
0x10719cbf expand_expr
        /home/jwakely/src/gcc/gcc/expr.h:299
0x10727cc3 expand_call_stmt
        /home/jwakely/src/gcc/gcc/cfgexpand.c:2347
0x1072befb expand_gimple_stmt_1
        /home/jwakely/src/gcc/gcc/cfgexpand.c:3293
0x1072c743 expand_gimple_stmt
        /home/jwakely/src/gcc/gcc/cfgexpand.c:3447
0x10734d27 expand_gimple_basic_block
        /home/jwakely/src/gcc/gcc/cfgexpand.c:5280
0x10737197 execute
        /home/jwakely/src/gcc/gcc/cfgexpand.c:5889


More information about the Gcc-bugs mailing list