From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110883 invoked by alias); 26 Oct 2015 01:34:08 -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 110577 invoked by uid 48); 26 Oct 2015 01:34:04 -0000 From: "chrisb2244 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68092] [possibly concepts] ICE: symtab_node::verify failed. Overloaded function by concept requires Date: Mon, 26 Oct 2015 01:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: chrisb2244 at gmail dot com 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: attachments.created Message-ID: In-Reply-To: References: 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-10/txt/msg02084.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68092 --- Comment #2 from Christian Butcher --- Created attachment 36582 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36582&action=edit main function (1/3) First of 3 files to demonstrate problem. (Not)Compiled with g++ -std=c++1z conceptFunctionOverload.cpp class.cpp Errors with: class.cpp:13:26: error: Two symbols with same comdat_group are not linked by the same_comdat_group list. template class myClass<1>; ^ _ZNK7myClassILm1EE3fooEv/493 (int myClass::foo() const [with long unsigned int N = 1ul]) @0x7f2e61df0b80 Type: function definition analyzed Visibility: forced_by_abi public weak comdat_group:_ZNK7myClassILm1EE3fooEv one_only previous sharing asm name: 492 References: _ZSt4cout/1176 (addr)_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_/805 (addr) Referring: First run: 0 Function flags: body Called by: Calls: _ZNKSt6vectorIiSaIiEEixEm/807 (1.00 per call) _ZNSolsEPFRSoS_E/806 (1.00 per call) (can throw external) _ZNSolsEm/804 (1.00 per call) (can throw external) _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc/803 (1.00 per call) (can throw external) _ZNK7myClassILm1EE3fooEv/492 (int myClass::foo() const requires predicate((ConceptTest)()) [with long unsigned int N = 1ul]) @0x7f2e61df0a10 Type: function definition analyzed Visibility: forced_by_abi public weak comdat_group:_ZNK7myClassILm1EE3fooEv one_only next sharing asm name: 493 References: _ZSt4cout/1176 (addr)_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_/805 (addr) Referring: First run: 0 Function flags: body Called by: Calls: _ZNKSt6vectorIiSaIiEEixEm/807 (1.00 per call) _ZNSolsEPFRSoS_E/806 (1.00 per call) (can throw external) _ZNSolsEm/804 (1.00 per call) (can throw external) _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc/803 (1.00 per call) (can throw external) class.cpp:13:26: internal compiler error: symtab_node::verify failed 0x904339 symtab_node::verify_symtab_nodes() ../../gcc-svn-sources/gcc/symtab.c:1126 0x9169f5 symbol_table::compile() ../../gcc-svn-sources/gcc/cgraphunit.c:2377 0x919687 symbol_table::compile() ../../gcc-svn-sources/gcc/cgraphunit.c:2536 0x919687 symbol_table::finalize_compilation_unit() ../../gcc-svn-sources/gcc/cgraphunit.c:2562 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.