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

             Bug #: 53235
           Summary: [4.8 Regression] 20120504 broke -fdebug-types-section
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: jan.kratoch...@redhat.com
            Target: x86_64-unknown-linux-gnu


PASS: gcc (GCC) 4.7.1 20120504 (prerelease)
FAIL: gcc (GCC) 4.8.0 20120504 (experimental)
(I do not have it here to verify but apparently 4.8.0 20120503 PASSed.)

There are 338 GDB testsuite regressions due to it, one for all:

 p acp->c1
-$9 = (A *) 0x0
-(gdb) PASS: gdb.cp/class2.exp: p acp->c1
+$9 = (struct A *) 0x0
+(gdb) FAIL: gdb.cp/class2.exp: p acp->c1

PASS:
 <2><1ad>: Abbrev Number: 4 (DW_TAG_member)
    <1ae>   DW_AT_name        : c1
    <1b3>   DW_AT_type        : <0x203>
    <1b7>   DW_AT_data_member_location: 24
 <1><203>: Abbrev Number: 19 (DW_TAG_pointer_type)
    <204>   DW_AT_byte_size   : 8
    <205>   DW_AT_type        : signature: 9f2338a31cdd67b0

FAIL:
 <2><1aa>: Abbrev Number: 4 (DW_TAG_member)
    <1ab>   DW_AT_name        : c1
    <1b0>   DW_AT_type        : <0x200>
    <1b4>   DW_AT_data_member_location: 24
 <1><200>: Abbrev Number: 9 (DW_TAG_pointer_type)
    <201>   DW_AT_byte_size   : 8
    <202>   DW_AT_type        : <0x21e>
 <1><21e>: Abbrev Number: 17 (DW_TAG_typedef)
    <21f>   DW_AT_type        : signature: 9f2338a31cdd67b0

<21e> seems to be excessive/redundant.

Reply via email to