public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "chrisb2244 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-68092-4-ZQrhDPpBQn@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-68092-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Christian Butcher <chrisb2244 at gmail dot com> ---
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<N>::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<N>::foo() const requires
predicate((ConceptTest<N>)()) [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 <http://gcc.gnu.org/bugs.html> for instructions.


  parent reply	other threads:[~2015-10-26  1:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26  1:23 [Bug c++/68092] New: " chrisb2244 at gmail dot com
2015-10-26  1:24 ` [Bug c++/68092] " chrisb2244 at gmail dot com
2015-10-26  1:34 ` chrisb2244 at gmail dot com [this message]
2015-10-26  1:34 ` chrisb2244 at gmail dot com
2015-10-26  1:34 ` chrisb2244 at gmail dot com
2015-10-26  1:36 ` chrisb2244 at gmail dot com
2015-10-26  6:43 ` [Bug c++/68092] [C++1z] error: Two symbols with same comdat_group are not linked by the same_comdat_group list trippels at gcc dot gnu.org
2023-03-08 21:12 ` pinskia 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-68092-4-ZQrhDPpBQn@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: link
Be 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).