This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
debug/9905: Unhandled STMT_EXPR in loc_descriptor_from_tree
- From: schwab at suse dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: Sun, 2 Mar 2003 20:49:43 +0100
- Subject: debug/9905: Unhandled STMT_EXPR in loc_descriptor_from_tree
>Number: 9905
>Category: debug
>Synopsis: Unhandled STMT_EXPR in loc_descriptor_from_tree
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sun Mar 02 19:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Andreas Schwab
>Release: 3.4 20030302 (experimental)
>Organization:
>Environment:
System: Linux whitebox 2.4.20-ben7 #1 Thu Feb 27 00:38:54 CET 2003 ppc unknown
Architecture: ppc
host: powerpc-unknown-linux-gnu
build: powerpc-unknown-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: ../gcc/configure --prefix=/usr/local/powerpc-linux --host=powerpc-linux --with-__cxa_atexit --with-as=/usr/local/powerpc-linux/bin/as --with-ld=/usr/local/powerpc-linux/bin/ld --enable-languages=c,c++ --enable-shared
>Description:
loc_descriptor_from_tree doesn't handle STMT_EXPR.
>How-To-Repeat:
$ cat stmt_expr.c
void f (void)
{
int y[({ 1; })];
}
$ gcc -g -S stmt_expr.c
stmt_expr.c: In function `f':
stmt_expr.c: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.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: