[Bug c++/62302] New: Change in the comdat used for constructors
rafael.espindola at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 29 03:28:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62302
Bug ID: 62302
Summary: Change in the comdat used for constructors
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rafael.espindola at gmail dot com
CC: hubicka at gcc dot gnu.org
It looks like an unintended consequence of r211434 wast that given
template <typename T> struct foo { foo(); };
template <typename T> foo<T>::foo() {}
template class foo<int>;
gcc now prints
.section .text._ZN3fooIiEC2Ev,"axG",@progbits,_ZN3fooIiEC2Ev,comdat
before it did
.section .text._ZN3fooIiEC2Ev,"axG",@progbits,_ZN3fooIiEC5Ev,comdat
Note the change in comdat.
More information about the Gcc-bugs
mailing list