public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39494] Bad assembly when derived class has same name as virtual method
       [not found] <bug-39494-4@http.gcc.gnu.org/bugzilla/>
@ 2014-06-24 11:53 ` paolo.carlini at oracle dot com
  0 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-06-24 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|gcc-bugs at gcc dot gnu.org        |
      Known to work|                            |4.10.0, 4.8.0, 4.9.0
         Resolution|---                         |FIXED
      Known to fail|                            |

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed long time ago.


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

* [Bug c++/39494] Bad assembly when derived class has same name as virtual method
  2009-03-18 14:31 [Bug c++/39494] New: " james dot ashley at gmail dot com
  2009-03-18 14:33 ` [Bug c++/39494] " james dot ashley at gmail dot com
  2009-03-18 14:57 ` rguenth at gcc dot gnu dot org
@ 2009-03-18 16:16 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-03-18 16:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2009-03-18 16:16 -------
Icc ia32 generates:

_ZTV7Derived:
        .type   _ZTV7Derived,@object
        .size   _ZTV7Derived,12
        .long   0   
        .long   _ZTI7Derived
        .long   __cxa_pure_virtual

Gcc generates:

        .size   _ZTV7Derived, 24
_ZTV7Derived:
        .long   0
        .long   _ZTI7Derived
        .long   __cxa_pure_virtual
        .long   _ZN7DerivedC1Ev *INTERNAL*
        .long   _ZN7DerivedC2Ev
        .long   _ZN7DerivedC1Ev


-- 


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


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

* [Bug c++/39494] Bad assembly when derived class has same name as virtual method
  2009-03-18 14:31 [Bug c++/39494] New: " james dot ashley at gmail dot com
  2009-03-18 14:33 ` [Bug c++/39494] " james dot ashley at gmail dot com
@ 2009-03-18 14:57 ` rguenth at gcc dot gnu dot org
  2009-03-18 16:16 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-18 14:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-03-18 14:56 -------
This means that a reference to an abstract function is emitted which should
have been cloned.  EDG accepts this testcase so I qualify this as wrong-code
bug.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid, wrong-code
      Known to fail|                            |3.3.6 4.0.0 4.3.3 4.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2009-03-18 14:56:55
               date|                            |


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


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

* [Bug c++/39494] Bad assembly when derived class has same name as virtual method
  2009-03-18 14:31 [Bug c++/39494] New: " james dot ashley at gmail dot com
@ 2009-03-18 14:33 ` james dot ashley at gmail dot com
  2009-03-18 14:57 ` rguenth at gcc dot gnu dot org
  2009-03-18 16:16 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: james dot ashley at gmail dot com @ 2009-03-18 14:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from james dot ashley at gmail dot com  2009-03-18 14:33 -------
Created an attachment (id=17487)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17487&action=view)
Smallest example I could come up with

Sorry, like I said in the description, I wasn't sure I'd have a chance to do
this


-- 


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


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

end of thread, other threads:[~2014-06-24 11:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39494-4@http.gcc.gnu.org/bugzilla/>
2014-06-24 11:53 ` [Bug c++/39494] Bad assembly when derived class has same name as virtual method paolo.carlini at oracle dot com
2009-03-18 14:31 [Bug c++/39494] New: " james dot ashley at gmail dot com
2009-03-18 14:33 ` [Bug c++/39494] " james dot ashley at gmail dot com
2009-03-18 14:57 ` rguenth at gcc dot gnu dot org
2009-03-18 16:16 ` hjl dot tools 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).