public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/62306] New: [4.9/5 Regression?] Change in the comdat used for constructors
@ 2014-08-29 14:22 rafael.espindola at gmail dot com
  2014-08-29 20:16 ` [Bug c++/62306] " jason at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: rafael.espindola at gmail dot com @ 2014-08-29 14:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 62306
           Summary: [4.9/5 Regression?] 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: jason at redhat dot com

Given

struct Option {
  virtual ~Option() {}
};
template <class DataType> class opt : public Option {};
template class opt<int>;

before r206182 

gcc would print

.section    .text._ZN3optIiED0Ev,"axG",@progbits,_ZN3optIiED0Ev,comdat

now it prints

.section    .text._ZN3optIiED0Ev,"axG",@progbits,_ZN3optIiED5Ev,comdat

It looks reasonable to use D5, but it is not clear if that was intentional and
there are no tests for this change in behaviour.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-09-10 18:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29 14:22 [Bug c++/62306] New: [4.9/5 Regression?] Change in the comdat used for constructors rafael.espindola at gmail dot com
2014-08-29 20:16 ` [Bug c++/62306] " jason at gcc dot gnu.org
2014-09-01 20:58 ` rafael.espindola at gmail dot com
2014-09-02 15:33 ` rafael.espindola at gmail dot com
2014-09-02 15:47 ` jakub at gcc dot gnu.org
2014-09-02 16:24 ` rafael.espindola at gmail dot com
2014-09-02 18:04 ` rafael.espindola at gmail dot com
2014-09-03 20:45 ` jason at gcc dot gnu.org
2014-09-03 20:59 ` jakub at gcc dot gnu.org
2014-09-04 18:01 ` rafael.espindola at gmail dot com
2014-09-10 18:35 ` jason at gcc dot gnu.org
2014-09-10 18:40 ` jason at gcc dot gnu.org

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).