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.