debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree

Steven Bosscher s.bosscher@student.tudelft.nl
Sun May 11 11:26:00 GMT 2003


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9905

: Search converges between 2003-02-28-trunk (#141) and 2003-03-01-trunk 
(#142).

Line-numbered input is:
========================================
     1  void f (void)
     2  {
     3    int y[({ 1; })];
     4  }
     5 

========================================


Diagnostic output follows, from the last compiler tested:
input: In function `f':
input:4: internal compiler error: in loc_descriptor_from_tree, at 
dwarf2out.c:8861
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Compiler output follows, from the last compiler tested:
        .file   "input"
        .section        .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
        .section        .debug_info,"",@progbits
.Ldebug_info0:
        .section        .debug_line,"",@progbits
.Ldebug_line0:
        .text
.Ltext0:
.globl f
        .type   f, @function
f:
.LFB3:
        .file 1 "input"
        .loc 1 2 0
        pushl   %ebp
.LCFI0:
        movl    %esp, %ebp
.LCFI1:
        subl    $8, %esp
.LCFI2:
.LBB2:
        movl    %esp, %edx
        .loc 1 3 0
        movl    $1, %eax
        sall    $2, %eax
        addl    $15, %eax
        shrl    $4, %eax
        sall    $4, %eax
        subl    %eax, %esp
        movl    %edx, %esp
        .loc 1 4 0
        leave
        ret
.LBE2:
.LFE3:
        .size   f, .-f




More information about the Gcc-bugs mailing list