public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50226] New: Wrong code with -O -fno-implicit-templates
@ 2011-08-29 16:09 d.g.gorbachev at gmail dot com
  2011-09-14 19:36 ` [Bug c++/50226] " d.g.gorbachev at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-08-29 16:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50226

             Bug #: 50226
           Summary: Wrong code with -O -fno-implicit-templates
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com
            Target: i686-pc-linux-gnu


Created attachment 25127
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25127
testcase

Compile with `g++-4.7.0 -O -fno-implicit-templates 1.cc 2.cc'.

GOLD gives warnings:

function main: warning: relocation refers to discarded section
function vtable for Beth<int>: warning: relocation refers to discarded section

BFD LD remains silent.

Appeared between rev. 174012 and 176963.


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

* [Bug c++/50226] Wrong code with -O -fno-implicit-templates
  2011-08-29 16:09 [Bug c++/50226] New: Wrong code with -O -fno-implicit-templates d.g.gorbachev at gmail dot com
@ 2011-09-14 19:36 ` d.g.gorbachev at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-09-14 19:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50226

Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-09-14 18:28:20 UTC ---
Fixed by r178809.

*** This bug has been marked as a duplicate of bug 49533 ***


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

end of thread, other threads:[~2011-09-14 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 16:09 [Bug c++/50226] New: Wrong code with -O -fno-implicit-templates d.g.gorbachev at gmail dot com
2011-09-14 19:36 ` [Bug c++/50226] " d.g.gorbachev at gmail dot com

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