[Bug c++/83756] New: gcc (mingw64) 7.2.0 ICE on boost::call_once

jacobgodserv at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 9 16:21:00 GMT 2018


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

            Bug ID: 83756
           Summary: gcc (mingw64) 7.2.0 ICE on boost::call_once
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jacobgodserv at gmail dot com
  Target Milestone: ---

Created attachment 43076
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43076&action=edit
Original sanitized output

- The exact version of GCC: x86_64-5.4.0-release-win32-seh-rt_v5-rev0. I was
able to reproduce also on 4.9.4 and 7.2.0 equivalents but I forgot to write the
exact versions. I tried to keep the toolchains as equal as possible except for
versions. I can get exact names if you guys need them. The maintainer of
mingw64 said they could also reproduce on 7.2.1, and said it's a vanilla gcc
bug which is why it's here.

- The system type: Windows 7 64-bit, Intel

- The options given when GCC was configured/built:
This is a mingw-w64-distributed build:

Configured with: ../../../src/gcc-5.4.0/configure --host=x86_64-w64-mingw32
--build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64
--with-sysroot=/c/mingw540/x86_64-540-win32-seh-rt_v5-rev0/mingw64
--with-gxx-include-dir=/mingw64/x86_64-w64-mingw32/include/c++ --enable-shared
--enable-static --disable-multilib --enable-languages=c,c++,fortran,lto
--enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp
--enable-libatomic --enable-lto --enable-graphite --enable-checking=release
--enable-fully-dynamic-string --enable-version-specific-runtime-libs
--disable-isl-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug
--enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-gnu-as --with-gnu-ld
--with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib
--with-gmp=/c/mingw540/prerequisites/x86_64-w64-mingw32-static
--with-mpfr=/c/mingw540/prerequisites/x86_64-w64-mingw32-static
--with-mpc=/c/mingw540/prerequisites/x86_64-w64-mingw32-static
--with-isl=/c/mingw540/prerequisites/x86_64-w64-mingw32-static
--with-pkgversion='x86_64-win32-seh-rev0, Built by MinGW-W64 project'
--with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe
-I/c/mingw540/x86_64-540-win32-seh-rt_v5-rev0/mingw64/opt/include
-I/c/mingw540/prerequisites/x86_64-zlib-static/include
-I/c/mingw540/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2
-pipe -I/c/mingw540/x86_64-540-win32-seh-rt_v5-rev0/mingw64/opt/include
-I/c/mingw540/prerequisites/x86_64-zlib-static/include
-I/c/mingw540/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=
LDFLAGS='-pipe -L/c/mingw540/x86_64-540-win32-seh-rt_v5-rev0/mingw64/opt/lib
-L/c/mingw540/prerequisites/x86_64-zlib-static/lib
-L/c/mingw540/prerequisites/x86_64-w64-mingw32-static/lib '

- The complete command line that triggers the bug:
Really barely anything. I'm using gradle to build so it's nothing fancy:
-x c++ -c -DCLASSA_EXPORT -DCLASSB_IMPORT -std=c++11 -I <lots of includes here>
-m64

    the compiler output (error messages, warnings, etc.):
I've attached the original output.


More information about the Gcc-bugs mailing list