On Sat, Dec 7, 2013 at 9:26 AM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Sat, Dec 7, 2013 at 9:09 AM, Jakub Jelinek <ja...@redhat.com> wrote: >> On Sat, Dec 07, 2013 at 05:43:12PM +0100, Paolo Carlini wrote: >>> On 12/07/2013 04:48 PM, H.J. Lu wrote: >>> >I have been seeing 3 libstdc++ tests: >>> > >>> >FAIL: 17_intro/headers/c++200x/stdc+ >>> >+.cc (test for excess errors) >>> >FAIL: 17_intro/headers/c++200x/stdc++_multiple_inclusion.cc (test for >>> >excess errors) >> >> These two failed for me just once so far, in i686-linux build, > > I saw them quite often on both x86-64 and i686. > >> the errors were the same for both, perhaps related to PR58627? >> Just a random guess, but until that PR is fixed, if the compiler is using >> ggc_freed memory, really anything can happen. >> >> tree check: expected tree_list, have error_mark in dump_template_bindings, >> at cp/error.c:274 >> _M_head(const _Head_base& __b) noexcept { return __b._M_head_impl; } >> ^ >> 0x8bcc083 tree_check_failed(tree_node const*, char const*, int, char const*, >> ...) >> ../../gcc/tree.c:9190 >> 0x831d349 tree_check >> ../../gcc/tree.h:2702 >> 0x831d349 dump_template_bindings >> ../../gcc/cp/error.c:274 >> 0x831d349 dump_substitution >> ../../gcc/cp/error.c:1386 >> 0x831e3fd dump_function_decl >> ../../gcc/cp/error.c:1515 >> 0x8320c19 decl_to_string >> ../../gcc/cp/error.c:2829 >> 0x8320c19 cp_printer >> ../../gcc/cp/error.c:3430 >> 0x92c7c89 pp_format(pretty_printer*, text_info*) >> ../../gcc/pretty-print.c:616 >> 0x92c840d pp_format_verbatim(pretty_printer*, text_info*) >> ../../gcc/pretty-print.c:675 >> 0x92c8471 pp_verbatim(pretty_printer*, char const*, ...) >> ../../gcc/pretty-print.c:871 >> 0x8311530 print_instantiation_full_context >> ../../gcc/cp/error.c:3199 >> 0x8311530 maybe_print_instantiation_context >> ../../gcc/cp/error.c:3343 >> 0x831f4eb cp_diagnostic_starter >> ../../gcc/cp/error.c:3027 >> 0x92c5c0a diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) >> ../../gcc/diagnostic.c:791 >> 0x92c63c9 internal_error(char const*, ...) >> ../../gcc/diagnostic.c:1129 >> 0x8bcc083 tree_check_failed(tree_node const*, char const*, int, char const*, >> ...) >> ../../gcc/tree.c:9190 >> 0x840928a tree_check >> ../../gcc/tree.h:2702 >> 0x840928a decl_is_template_id >> ../../gcc/cp/mangle.c:291 >> 0x840dba6 write_nested_name >> ../../gcc/cp/mangle.c:949 >> 0x840e320 write_name >> ../../gcc/cp/mangle.c:866 > > I saw > > spawn -ignore SIGHUP > /export/gnu/import/git/gcc-test-intel64/bld/./gcc/xg++ -shared-libgcc > -B/export/gnu/import/git/gcc-test-intel64/bld/./gcc -nostdinc++ > -L/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/src > -L/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs > -L/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs > -B/usr/4.9.0/x86_64-unknown-linux-gnu/bin/ > -B/usr/4.9.0/x86_64-unknown-linux-gnu/lib/ -isystem > /usr/4.9.0/x86_64-unknown-linux-gnu/include -isystem > /usr/4.9.0/x86_64-unknown-linux-gnu/sys-include > -B/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs > -fdiagnostics-color=never -D_GLIBCXX_ASSERT -fmessage-length=0 > -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -g -O2 > -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ > -I/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu > -I/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include > -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/libsupc++ > -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/include/backward > -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/testsuite/util > /export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++.cc > -std=gnu++0x -S -o stdc++.s^M > In file included from /usr/include/features.h:375:0,^M > from /usr/include/assert.h:36,^M > from > /export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/cassert:43,^M > from > /export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/include/precompiled/stdc++.h:33:^M > /usr/include/complex.h:112:1: internal compiler error: Segmentation fault^M > __END_DECLS^M > ^^M > 0xb47fcf crash_signal^M > ../../src-trunk/gcc/toplev.c:336^M > 0xd5bb3b decl_assembler_name(tree_node*)^M > ../../src-trunk/gcc/tree.c:599^M > 0x8ae23f dwarf2out_finish^M > ../../src-trunk/gcc/dwarf2out.c:24005^M > Please submit a full bug report,^M > with preprocessed source if appropriate.^M > Please include the complete backtrace with any bug report.^M > See <http://gcc.gnu.org/bugs.html> for instructions.^M > > and > > spawn -ignore SIGHUP > /export/gnu/import/git/gcc-test-intel64/bld/./gcc/xg++ -shared-libgcc > -B/export/gnu/import/git/gcc-test-intel64/bld/./gcc -nostdinc++ > -L/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/src > -L/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs > -L/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs > -B/usr/4.9.0/x86_64-unknown-linux-gnu/bin/ > -B/usr/4.9.0/x86_64-unknown-linux-gnu/lib/ -isystem > /usr/4.9.0/x86_64-unknown-linux-gnu/include -isystem > /usr/4.9.0/x86_64-unknown-linux-gnu/sys-include > -B/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs > -fdiagnostics-color=never -D_GLIBCXX_ASSERT -fmessage-length=0 > -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -g -O2 > -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ > -I/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu > -I/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include > -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/libsupc++ > -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/include/backward > -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/testsuite/util > /export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc > -std=gnu++0x -S -o stdc++_multiple_inclusion.s^M > In file included from /usr/include/features.h:375:0,^M > from /usr/include/assert.h:36,^M > from > /export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/cassert:43,^M > from > /export/gnu/import/git/gcc-test-intel64/src-trunk/libstdc++-v3/include/precompiled/stdc++.h:33:^M > /usr/include/assert.h:84:1: internal compiler error: tree check: > expected var_decl or field_decl or function_decl or type_decl or > template_decl, have <invalid tree code> in mangle_decl, at > cp/mangle.c:3487^M > __END_DECLS^M > ^^M > 0xd599f4 tree_check_failed(tree_node const*, char const*, int, char > const*, ...)^M > ../../src-trunk/gcc/tree.c:9192^M > 0x718910 tree_check5^M > ../../src-trunk/gcc/tree.h:2798^M > 0x718910 mangle_decl(tree_node*)^M > ../../src-trunk/gcc/cp/mangle.c:3487^M > 0xd5bb60 decl_assembler_name(tree_node*)^M > ../../src-trunk/gcc/tree.c:600^M > 0x8ae23f dwarf2out_finish^M > ../../src-trunk/gcc/dwarf2out.c:24005^M > >>> >FAIL: 30_threads/async/async.cc execution test >> >> async.exe: /usr/src/gcc/libstdc++-v3/testsuite/30_threads/async/async.cc:66: >> void test02(): Assertion `status == std::future_status::ready' failed. >> >> This one fails pretty frequently for me, 6 times out of last 12 i686-linux > > Same here. > >> bootstraps/regtests, starting with ~ Nov 21th bootstrap (but before that > > It started for me around revision 205144. >
http://gcc.gnu.org/ml/gcc-cvs/2013-11/msg00869.html changed 30_threads/async/async.cc. -- H.J.