public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/35998]  New: debug info invalid x86_64 DW_AT_byte_size 0xffffffff
@ 2008-04-21 12:41 jan dot kratochvil at redhat dot com
  2008-04-21 12:41 ` [Bug ada/35998] " jan dot kratochvil at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2008-04-21 12:41 UTC (permalink / raw)
  To: gcc-bugs

The source:

procedure AdaFF is
  type rec is
    record
      null;
    end record;
  X : rec;
begin
  null;
end AdaFF;

produces output by:
$ rm -f adaff{,.o,.ali};gnatmake -g adaff.adb ;readelf -a --debug-dump adaff |
grep 'DW_AT_byte_size.*0xffff'
    <30b>   DW_AT_byte_size   : 0xffffffff      

 <1><306>: Abbrev Number: 20 (DW_TAG_structure_type)
    <307>   DW_AT_name        : (indirect string, offset: 0x3c8):
ada_main__main__TsehB___XUT
    <30b>   DW_AT_byte_size   : 0xffffffff
    <30f>   DW_AT_decl_file   : 1
    <310>   DW_AT_decl_line   : 105
    <311>   DW_AT_sibling     : <0x33b>

A more complicated testcase
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.ada/packed_tagged/comp_bug.adb?rev=1.1&cvsroot=src
crashes GDB eating all the memory on `print x' there.


-- 
           Summary: debug info invalid x86_64 DW_AT_byte_size 0xffffffff
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jan dot kratochvil at redhat dot com
 GCC build triplet: x86_64-fedora-linux-gnu
  GCC host triplet: x86_64-fedora-linux-gnu
GCC target triplet: x86_64-fedora-linux-gnu


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


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <bug-35998-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2013-11-13 10:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-21 12:41 [Bug ada/35998] New: debug info invalid x86_64 DW_AT_byte_size 0xffffffff jan dot kratochvil at redhat dot com
2008-04-21 12:41 ` [Bug ada/35998] " jan dot kratochvil at redhat dot com
2008-05-19 22:20 ` jan dot kratochvil at redhat dot com
2008-08-18  8:25 ` jan dot kratochvil at redhat dot com
2009-03-08  9:46 ` ebotcazou at gcc dot gnu dot org
2009-11-10  8:29 ` ebotcazou at gcc dot gnu dot org
     [not found] <bug-35998-4@http.gcc.gnu.org/bugzilla/>
2010-11-18 21:43 ` tromey at gcc dot gnu.org
2011-01-21 21:35 ` rupp at gnat dot com
2013-11-13 10:07 ` ebotcazou at gcc dot gnu.org
2013-11-13 10:35 ` ebotcazou at gcc dot gnu.org

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).