public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree
@ 2003-05-11 11:26 Steven Bosscher
0 siblings, 0 replies; 4+ messages in thread
From: Steven Bosscher @ 2003-05-11 11:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR debug/9905; it has been noted by GNATS.
From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: gcc-gnats@gcc.gnu.org, schwab@suse.de, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc:
Subject: Re: debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree
Date: Sun, 11 May 2003 13:14:58 +0200
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree
@ 2003-03-20 14:26 Andreas Schwab
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2003-03-20 14:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
The following reply was made to PR debug/9905; it has been noted by GNATS.
From: Andreas Schwab <schwab@suse.de>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc:
Subject: Re: debug/9905: [3.4 regression] Unhandled STMT_EXPR in
loc_descriptor_from_tree
Date: Thu, 20 Mar 2003 15:16:10 +0100
loc_descriptor_from_tree also does not handle MODIFY_EXPR (also triggered
by glibc):
$ cat modify.c
int main ()
{
int n;
int k[n = 1];
}
$ gcc -g modify.c
modify.c: In function `main':
modify.c:5: internal compiler error: in loc_descriptor_from_tree, at dwarf2out.c:8962
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree
@ 2003-03-16 18:56 Andreas Schwab
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2003-03-16 18:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR debug/9905; it has been noted by GNATS.
From: Andreas Schwab <schwab@suse.de>
To: bangerth@dealii.org
Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree
Date: 16 Mar 2003 19:47:53 +0100
bangerth@dealii.org writes:
> Ugh, who would write such code???
This can happen easily through macros.
Andreas.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree
@ 2003-03-14 21:32 bangerth
0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-03-14 21:32 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, schwab
Old Synopsis: Unhandled STMT_EXPR in loc_descriptor_from_tree
New Synopsis: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Mar 14 21:32:26 2003
State-Changed-Why:
Ugh, who would write such code???
Anyway, I can confirm this. It's a regression in mainline,
3.3 compiles it just fine.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9905
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-05-11 11:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-11 11:26 debug/9905: [3.4 regression] Unhandled STMT_EXPR in loc_descriptor_from_tree Steven Bosscher
-- strict thread matches above, loose matches on Subject: below --
2003-03-20 14:26 Andreas Schwab
2003-03-16 18:56 Andreas Schwab
2003-03-14 21:32 bangerth
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).