[Bug c++/68514] New: [6 Regression] ICE in tr1/5_numerical_facilities libstdc++ test cases

rainer@emrich-ebersheim.de gcc-bugzilla@gcc.gnu.org
Tue Nov 24 10:47:00 GMT 2015


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

            Bug ID: 68514
           Summary: [6 Regression] ICE in tr1/5_numerical_facilities
                    libstdc++ test cases
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rainer@emrich-ebersheim.de
  Target Milestone: ---

I get a lot of new failures for the tr1/5_numerical_facilities test cases of
the libstdc++ testsuite compared to a gcc trunk version dated 3 weeks back, see
https://gcc.gnu.org/ml/gcc-testresults/2015-11/msg00244.html and
https://gcc.gnu.org/ml/gcc-testresults/2015-11/msg02553.html

All like the following:

FAIL: tr1/5_numerical_facilities/random/minstd_rand.cc (test for excess errors)
Excess errors:
D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/beta_function.tcc:135:5:
internal compiler error: Segmentation fault
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

UNRESOLVED: tr1/5_numerical_facilities/random/minstd_rand.cc compilation failed
to produce executable
extra_tool_flags are:
  -include bits/stdc++.h
Executing on host:
/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc/xg++ -shared-libgcc
-B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc -nostdinc++
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/src
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/sys-include
-B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/./libstdc++-v3/src/.libs
-D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2
-DLOCALEDIR="." -nostdinc++
-I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/libsupc++
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/include/backward
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/util
/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/minstd_rand0.cc
    -include bits/stdc++.h -fno-diagnostics-show-caret
-fdiagnostics-color=never ./libtestc++.a -Wl,--gc-sections -liconv
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/src/filesystem/.libs
 -lm  -o ./minstd_rand0.exe    (timeout = 600)
spawn -ignore SIGHUP
/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc/xg++ -shared-libgcc
-B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc -nostdinc++
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/src
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/x86_64-w64-mingw32/sys-include
-B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/./libstdc++-v3/src/.libs
-D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2
-DLOCALEDIR="." -nostdinc++
-I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/libsupc++
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/include/backward
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/util
/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/minstd_rand0.cc
-include bits/stdc++.h -fno-diagnostics-show-caret -fdiagnostics-color=never
./libtestc++.a -Wl,--gc-sections -liconv
-L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/src/filesystem/.libs
-lm -o ./minstd_rand0.exe
In file included from
D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/cmath:1023:0,

                 from
D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/random:46,

                 from
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/minstd_rand0.cc:23:

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/beta_function.tcc:
In instantiation of '_Tp std::tr1::__detail::__beta_lgamma(_Tp, _Tp) [with _Tp
= long double]':

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/beta_function.tcc:189:29:
  required from '_Tp std::tr1::__detail::__beta(_Tp, _Tp) [with _Tp = long
double]'

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/cmath:1089:50:
  required from here

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/beta_function.tcc:135:5:
internal compiler error: Segmentation fault

libbacktrace could not find executable to open

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

compiler exited with status 1
output is:
In file included from
D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/cmath:1023:0,

                 from
D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/random:46,

                 from
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/minstd_rand0.cc:23:

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/beta_function.tcc:
In instantiation of '_Tp std::tr1::__detail::__beta_lgamma(_Tp, _Tp) [with _Tp
= long double]':

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/beta_function.tcc:189:29:
  required from '_Tp std::tr1::__detail::__beta(_Tp, _Tp) [with _Tp = long
double]'

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/cmath:1089:50:
  required from here

D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/libstdc++-v3/include/tr1/beta_function.tcc:135:5:
internal compiler error: Segmentation fault

libbacktrace could not find executable to open

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.



Used trunk revision:

Compiler version: 6.0.0 20151123 (experimental) [trunk revision 230759] (GCC) 
Platform: x86_64-w64-mingw32
configure flags:
--prefix=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/bin/ld
--build=x86_64-w64-mingw32 --enable-threads=posix
--enable-languages=c,ada,c++,fortran,java,lto,objc,obj-c++
--with-gmp-include=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include
--with-gmp-lib=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64
--with-mpfr-include=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include
--with-mpfr-lib=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64
--with-mpc-include=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include
--with-mpc-lib=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64
--with-isl-include=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include
--with-isl-lib=/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64
--with-local-prefix=/opt/devel/tec/devel/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0
--enable-libgomp --enable-fully-dynamic-string --disable-multilib
--enable-checking=release --disable-werror --with-sysroot=/x86_64-w64-trunk


Last working version I have:
Compiler version: 6.0.0 20151102 (experimental) [trunk revision 229656] (GCC)


More information about the Gcc-bugs mailing list