This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82154] New: ICE in fold_binary_loc, at fold-const.c:9088 in 32-bit mingw32
- From: "mateuszb at poczta dot onet.pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 Sep 2017 21:09:38 +0000
- Subject: [Bug c++/82154] New: ICE in fold_binary_loc, at fold-const.c:9088 in 32-bit mingw32
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82154
Bug ID: 82154
Summary: ICE in fold_binary_loc, at fold-const.c:9088 in 32-bit
mingw32
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mateuszb at poczta dot onet.pl
Target Milestone: ---
When I compile 32-bit cross compiler GCC 8.0 [r251909] in 64-bit Ubuntu 16.04
for mingw32 there is an error (64-bit GCC 8.0 works OK, problem only with
32-bit):
libtool: compile: /home/ma/m/build/bc_gcc/./gcc/xgcc -shared-libgcc
-B/home/ma/m/build/bc_gcc/./gcc -nostdinc++
-L/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/src
-L/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/src/.libs
-L/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/libsupc++/.libs
-L/home/ma/m/cross/i686-w64-mingw32/lib -L/home/ma/m/cross/mingw/lib -isystem
/home/ma/m/cross/i686-w64-mingw32/include -isystem
/home/ma/m/cross/mingw/include -B/home/ma/m/cross/i686-w64-mingw32/bin/
-B/home/ma/m/cross/i686-w64-mingw32/lib/ -isystem
/home/ma/m/cross/i686-w64-mingw32/include -isystem
/home/ma/m/cross/i686-w64-mingw32/sys-include
-I/home/ma/m/source/gcc-8/libstdc++-v3/../libgcc
-I/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/include/i686-w64-mingw32
-I/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/include
-I/home/ma/m/source/gcc-8/libstdc++-v3/libsupc++ -std=gnu++98
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=bitmap_allocator.lo -g -O2 -c
/home/ma/m/source/gcc-8/libstdc++-v3/src/c++98/bitmap_allocator.cc -o
bitmap_allocator.o
during RTL pass: expand
In file included from
/home/ma/m/source/gcc-8/libstdc++-v3/src/c++98/bitmap_allocator.cc:25:0:
/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/include/ext/bitmap_allocator.h:
In member function 'void
__gnu_cxx::bitmap_allocator<_Tp>::_M_deallocate_single_object(__gnu_cxx::bitmap_allocator<_Tp>::pointer)
[with _Tp = char]':
/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/include/ext/bitmap_allocator.h:996:7:
internal compiler error: in fold_binary_loc, at fold-const.c:9088
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
Makefile:565: recipe for target 'bitmap_allocator.lo' failed
make[5]: *** [bitmap_allocator.lo] Error 1
make[5]: Leaving directory
'/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/src/c++98'
Makefile:641: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
'/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3/src'
Makefile:510: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
'/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3'
Makefile:417: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/home/ma/m/build/bc_gcc/i686-w64-mingw32/libstdc++-v3'
Makefile:10894: recipe for target 'all-target-libstdc++-v3' failed
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory '/home/ma/m/build/bc_gcc'
Makefile:903: recipe for target 'all' failed
make: *** [all] Error 2