This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19816] C++ front-end produces a cast instead of just &a.b (empty base class)



------- Comment #2 from hubicka at gcc dot gnu dot org  2010-09-09 11:05 -------
Hmm, my system compiles (4.3.2) gets:
_Z1fv:
.LFB2:
        subq    $24, %rsp
.LCFI0:
        leaq    23(%rsp), %rdi
        call    _ZN4baseC2Ev
        addq    $24, %rsp
        ret
.LFE2:

this seems OK to me?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]