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

--- Comment #2 from Mark Wielaard <mark at gcc dot gnu.org> ---
(In reply to Mark Wielaard from comment #1)
> Maybe this bug should be split in two (or three) for each specific FAIL?
> 
> (In reply to Rainer Orth from comment #0)
> > With the switch to DWARF-5, two debug tests have started to FAIL:
> > [...]
> > +FAIL: gcc.dg/debug/dwarf2/dwarf-float.c scan-assembler 
> > 0x10.*DW_AT_byte_size
> > 
> > 32-bit Solaris/x86 and Linux/x86_64
> 
> So this fails in 32bit mode, but not in 64bit mode.
> 
> In 64bit mode gcc generates:
> 
>         .uleb128 0x2    # (DIE (0x7d) DW_TAG_base_type)
>         .byte   0x10    # DW_AT_byte_size
>                         # DW_AT_encoding (0x4)
>         .long   .LASF4  # DW_AT_name: "long double"
> 
> But in 32bit mode it generates:
> 
>         .uleb128 0x2    # (DIE (0x6d) DW_TAG_base_type)
>         .byte   0xc     # DW_AT_byte_size
>                         # DW_AT_encoding (0x4)
>         .long   .LASF4  # DW_AT_name: "long double"

This part has been fixed by Jeff:
https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563840.html

Reply via email to