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++/26426] Type layout bug


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-08-17
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
Redoing lost https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01612.html

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-08-14
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
How are you getting the byte values? I compiled the testcase but I don't know
what I'm supposed to be looking for in the output...

$ /usr/local/bin/g++ -Wall -Wextra -Wreorder -Wpacked -Wpadded -c 26426.cc
$ size 26426.o
__TEXT  __DATA  __OBJC  others  dec     hex
1237    232     0       16      1485    5cd
$ nm 26426.o
0000041c s EH_frame1
0000012c S __ZN1AC2Ev
         U __ZN1AD2Ev
00000148 S __ZN1BC2Ev
         U __ZN1BD2Ev
00000164 S __ZN1XC2Ev
000001ac S __ZN1XD2Ev
000001f4 S __ZN1YC2Ev
         U __ZN1YD2Ev
0000007a T __ZN1ZC1Ev
00000000 T __ZN1ZC2Ev
000002e6 S __ZN1ZD0Ev
00000222 S __ZN1ZD1Ev
0000038c S __ZTC1Z0_1Y
000003a4 S __ZTC1Z4_1X
         U __ZTI1A
         U __ZTI1B
000003f4 S __ZTI1X
         U __ZTI1Y
000003d4 S __ZTI1Z
00000417 S __ZTS1X
00000414 S __ZTS1Z
00000368 S __ZTT1Z
         U __ZTV1A
         U __ZTV1B
0000032c S __ZTV1Z
         U __ZTVN10__cxxabiv121__vmi_class_type_infoE
00000311 S __ZTv0_n12_N1ZD0Ev
000002d4 S __ZTv0_n12_N1ZD1Ev
         U __ZdlPvm
00000323 S ___x86.get_pc_thunk.ax
00000327 S ___x86.get_pc_thunk.bx
000005c4 s l__ZTT1Z$non_lazy_ptr
000005c8 s l__ZTV1A$non_lazy_ptr
000005cc s l__ZTV1B$non_lazy_ptr
000005c0 s l__ZTV1Z$non_lazy_ptr
$

--- New Comment ---

Jonathan Wakely also had a comment that got lost in the Bugzilla outage, but my
browser doesn't seem to want to load my email or the archived copy, so he'll
have to re-add it himself... (I think he said something like this wasn't
actually a bug...)

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