From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17996 invoked by alias); 10 Sep 2015 19:48:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17600 invoked by uid 48); 10 Sep 2015 19:48:44 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67544] New: ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts Date: Thu, 10 Sep 2015 19:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00890.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67544 Bug ID: 67544 Summary: ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Created attachment 36322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36322&action=edit reduced testcase Compiler output: $ gcc -fconcepts testcase.C testcase.C:8:45: internal compiler error: Segmentation fault template friend struct A::B; ^ 0xd160cf crash_signal /mnt/svn/gcc-trunk/gcc/toplev.c:352 0x762540 tree_check3(tree_node*, char const*, int, char const*, tree_code, tree_code, tree_code) /mnt/svn/gcc-trunk/gcc/tree.h:2896 0x762540 lookup_member(tree_node*, tree_node*, int, bool, int) /mnt/svn/gcc-trunk/gcc/cp/search.c:1281 0x74718b make_friend_class(tree_node*, tree_node*, bool) /mnt/svn/gcc-trunk/gcc/cp/friend.c:321 0x70faa9 cp_parser_template_declaration_after_parameters /mnt/svn/gcc-trunk/gcc/cp/parser.c:24506 0x710384 cp_parser_explicit_template_declaration /mnt/svn/gcc-trunk/gcc/cp/parser.c:24722 0x710384 cp_parser_template_declaration_after_export /mnt/svn/gcc-trunk/gcc/cp/parser.c:24740 0x71095d cp_parser_member_declaration /mnt/svn/gcc-trunk/gcc/cp/parser.c:21314 0x6ed064 cp_parser_member_specification_opt /mnt/svn/gcc-trunk/gcc/cp/parser.c:21241 0x6ed064 cp_parser_class_specifier_1 /mnt/svn/gcc-trunk/gcc/cp/parser.c:20433 0x6ed064 cp_parser_class_specifier /mnt/svn/gcc-trunk/gcc/cp/parser.c:20669 0x6ed064 cp_parser_type_specifier /mnt/svn/gcc-trunk/gcc/cp/parser.c:15076 0x6fcd8b cp_parser_decl_specifier_seq /mnt/svn/gcc-trunk/gcc/cp/parser.c:12042 0x7115f0 cp_parser_simple_declaration /mnt/svn/gcc-trunk/gcc/cp/parser.c:11608 0x70afb4 cp_parser_block_declaration /mnt/svn/gcc-trunk/gcc/cp/parser.c:11555 0x717147 cp_parser_declaration /mnt/svn/gcc-trunk/gcc/cp/parser.c:11452 0x7158ea cp_parser_declaration_seq_opt /mnt/svn/gcc-trunk/gcc/cp/parser.c:11334 0x715c05 cp_parser_translation_unit /mnt/svn/gcc-trunk/gcc/cp/parser.c:4154 0x715c05 c_parse_file() /mnt/svn/gcc-trunk/gcc/cp/parser.c:34271 0x861852 c_common_parse_file() /mnt/svn/gcc-trunk/gcc/c-family/c-opts.c:1058 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Tested revisions: r227604 - ICE