public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58597] [c++11] ICE with lambda in default argument of template function Date: Wed, 14 Jan 2015 08:02:00 -0000 [thread overview] Message-ID: <bug-58597-4-NnMqWjWzyb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58597-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58597 --- Comment #4 from Volker Reichelt <reichelt at gcc dot gnu.org> --- The ICE disappered on the 4.9 branch in GCC 4.9.2. But the testcase still crashes trunk with a different stack trace: bug.cc:6:12: internal compiler error: Segmentation fault A<int> a = 0; ^ 0xcdc42f crash_signal ../../gcc/gcc/toplev.c:372 0x6943ae tsubst_default_argument(tree_node*, tree_node*, tree_node*, int) ../../gcc/gcc/cp/pt.c:10496 0x629f9f convert_default_arg(tree_node*, tree_node*, tree_node*, int, int) ../../gcc/gcc/cp/call.c:6774 0x62a91d build_over_call ../../gcc/gcc/cp/call.c:7301 0x62f9b4 convert_like_real ../../gcc/gcc/cp/call.c:6253 0x62f799 convert_like_real ../../gcc/gcc/cp/call.c:6384 0x6395d7 build_user_type_conversion(tree_node*, tree_node*, int, int) ../../gcc/gcc/cp/call.c:3831 0x78897e ocp_convert(tree_node*, tree_node*, int, int, int) ../../gcc/gcc/cp/cvt.c:875 0x7969f5 expand_default_init ../../gcc/gcc/cp/init.c:1661 0x7969f5 expand_aggr_init_1 ../../gcc/gcc/cp/init.c:1830 0x7971e4 build_aggr_init(tree_node*, tree_node*, int, int) ../../gcc/gcc/cp/init.c:1582 0x66cddc build_aggr_init_full_exprs ../../gcc/gcc/cp/decl.c:5780 0x66cddc check_initializer ../../gcc/gcc/cp/decl.c:5924 0x66e79c cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../gcc/gcc/cp/decl.c:6607 0x756539 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:17290 0x758185 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:11600 0x7585b3 cp_parser_block_declaration ../../gcc/gcc/cp/parser.c:11474 0x760689 cp_parser_declaration ../../gcc/gcc/cp/parser.c:11371 0x76098a cp_parser_declaration_seq_opt ../../gcc/gcc/cp/parser.c:11257 0x760cc7 cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4108 Please submit a full bug report, [etc.]
next prev parent reply other threads:[~2015-01-14 8:02 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-02 20:25 [Bug c++/58597] New: " reichelt at gcc dot gnu.org 2013-10-03 10:36 ` [Bug c++/58597] " mpolacek at gcc dot gnu.org 2013-10-03 10:36 ` mpolacek at gcc dot gnu.org 2013-10-04 1:12 ` paolo.carlini at oracle dot com 2015-01-14 8:02 ` reichelt at gcc dot gnu.org [this message] 2015-01-16 16:52 ` [Bug c++/58597] [5.0 Regression] " paolo.carlini at oracle dot com 2015-01-27 21:41 ` [Bug c++/58597] [5 " jason at gcc dot gnu.org 2015-01-27 23:21 ` jason at gcc dot gnu.org 2015-01-28 17:36 ` jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58597-4-NnMqWjWzyb@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).