public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63621] [5 Regression] ICE: error: Both section and comdat group is set
Date: Wed, 22 Oct 2014 18:47:00 -0000	[thread overview]
Message-ID: <bug-63621-4-q0FOmLJ2Z1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63621-4@http.gcc.gnu.org/bugzilla/>

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|i686-pc-cygwin              |
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-22
          Component|target                      |c++
                 CC|                            |trippels at gcc dot gnu.org
               Host|i686-pc-cygwin              |
     Ever confirmed|0                           |1
            Summary|[ICE] symtab_node::verify   |[5 Regression] ICE: error:
                   |failed                      |Both section and comdat
                   |                            |group is set
   Target Milestone|---                         |5.0
              Build|i686-pc-cygwin              |

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat fhandler_socket.ii
class A
{
  int m_fn1 (void *);
  int m_fn2 (bool);
};
inline int
A::m_fn2 (bool)
{
  static __attribute__ ((section (""))) int a;
  if (a)
    ;
  return 0;
}

int
A::m_fn1 (void *)
{
  return m_fn2 (0);
}

markus@x4 tmp % g++ -c fhandler_socket.ii
fhandler_socket.ii:19:1: error: Both section and comdat group is set
 }
 ^
_ZZN1A5m_fn2EbE1a/0 (int a) @0x7f1c0f6e1380
  Type: variable definition analyzed
  Visibility: public weak comdat comdat_group:_ZZN1A5m_fn2EbE1a one_only
section:
  References: 
  Referring: _ZN1A5m_fn2Eb/1 (read)
  Availability: not-ready
  Varpool flags:
fhandler_socket.ii:19:1: internal compiler error: symtab_node::verify failed
0x8905ac symtab_node::verify()
        ../../gcc/gcc/symtab.c:1145
0x890e47 symtab_node::verify_symtab_nodes()
        ../../gcc/gcc/symtab.c:1160
0x8a0bfd symbol_table::compile()
        ../../gcc/gcc/cgraphunit.c:2118
0x8a2b07 symbol_table::finalize_compilation_unit()
        ../../gcc/gcc/cgraphunit.c:2290
0x68498a cp_write_global_declarations()
        ../../gcc/gcc/cp/decl2.c:4666
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.


  reply	other threads:[~2014-10-22 18:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 18:28 [Bug target/63621] New: [ICE] symtab_node::verify failed jojelino at gmail dot com
2014-10-22 18:47 ` trippels at gcc dot gnu.org [this message]
2014-10-22 19:58 ` [Bug middle-end/63621] [5 Regression] ICE: error: Both section and comdat group is set trippels at gcc dot gnu.org
2014-11-20 12:39 ` rguenth at gcc dot gnu.org
2014-11-24 15:25 ` tbsaunde at gcc dot gnu.org
2014-11-24 15:29 ` mpolacek at gcc dot gnu.org
2014-11-24 15:32 ` trippels at gcc dot gnu.org
2014-11-24 15:38 ` tsaunders at mozilla dot com
2014-12-08  0:36 ` tbsaunde at gcc dot gnu.org
2014-12-09 14:12 ` mpolacek 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-63621-4-q0FOmLJ2Z1@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).