public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/42800]  New: VLA DW_AT_upper_bound is no longer emitted
@ 2010-01-19 10:05 jan dot kratochvil at redhat dot com
  2010-01-19 10:22 ` [Bug debug/42800] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-01-19 10:05 UTC (permalink / raw)
  To: gcc-bugs

FAIL: gcc (GCC) 4.5.0 20100119 (experimental)
PASS: gcc (GCC) 4.4.3 20100119 (prerelease)
PASS: gcc-4.4.2-20.fc12.x86_64 (Fedora 12)
-------------------------------------------------------------------------------
gcc -c -o vla.o vla.c -Wall -g
-------------------------------------------------------------------------------
This is a 4.4 -> 4.5 debug regression.
-------------------------------------------------------------------------------
int
f (int i)
{
  char a[i];

  return a[0];
}
-------------------------------------------------------------------------------
FAIL:
    < c>   DW_AT_producer    : (indirect string, offset: 0x11): GNU C 4.5.0
20100119 (experimental)     
 <2><5c>: Abbrev Number: 4 (DW_TAG_variable)
    <5d>   DW_AT_name        : a        
    <61>   DW_AT_type        : <0x71>   
    <65>   DW_AT_location    : 3 byte block: 91 60 6    (DW_OP_fbreg: -32;
DW_OP_deref)
 <1><71>: Abbrev Number: 6 (DW_TAG_array_type)
    <72>   DW_AT_type        : <0x83>   
 <2><7a>: Abbrev Number: 7 (DW_TAG_subrange_type)
    <7b>   DW_AT_type        : <0x80>   
-------------------------------------------------------------------------------
PASS:
    < c>   DW_AT_producer    : (indirect string, offset: 0x17): GNU C 4.4.3
20100119 (prerelease)       
 <2><5c>: Abbrev Number: 4 (DW_TAG_variable)
    <5d>   DW_AT_name        : a        
    <61>   DW_AT_type        : <0x71>   
    <65>   DW_AT_location    : 3 byte block: 91 68 6    (DW_OP_fbreg: -24;
DW_OP_deref)
 <1><71>: Abbrev Number: 6 (DW_TAG_array_type)
    <72>   DW_AT_type        : <0x87>   
 <2><7a>: Abbrev Number: 7 (DW_TAG_subrange_type)
    <7b>   DW_AT_type        : <0x84>   
    <7f>   DW_AT_upper_bound : 3 byte block: 91 60 6    (DW_OP_fbreg: -32;
DW_OP_deref)


-- 
           Summary: VLA DW_AT_upper_bound is no longer emitted
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jan dot kratochvil at redhat dot com
GCC target triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-02-23 18:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-19 10:05 [Bug debug/42800] New: VLA DW_AT_upper_bound is no longer emitted jan dot kratochvil at redhat dot com
2010-01-19 10:22 ` [Bug debug/42800] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-01-19 15:44 ` hjl dot tools at gmail dot com
2010-01-19 15:49 ` matz at gcc dot gnu dot org
2010-01-19 15:53 ` hjl dot tools at gmail dot com
2010-01-19 17:19 ` jakub at gcc dot gnu dot org
2010-01-27  9:35 ` jakub at gcc dot gnu dot org
2010-02-19 18:01 ` jason at gcc dot gnu dot org
2010-02-19 20:13 ` jason at gcc dot gnu dot org
2010-02-19 20:59 ` jason at gcc dot gnu dot org
2010-02-20  5:16 ` jason at gcc dot gnu dot org
2010-02-23 18:33 ` jason at gcc dot gnu dot org
2010-02-23 18:33 ` jason at gcc dot gnu dot 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).