[Bug debug/12934] [3.4 regression] ICE with variable sized arrays in loc_descriptor_from_tree, at dwarf2out.c:8780
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 12 14:25:00 GMT 2003
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-11-12 14:24 -------
The testcase can be reduced to
===========================================
inline int foo() { return 0; }
void bar()
{
int buf[foo()];
}
===========================================
which fails on i686-pc-linux-gnu with "gcc -O -g":
bug.c: In function `bar':
bug.c:6: internal compiler error: in loc_descriptor_from_tree, at
dwarf2out.c:8780
Please submit a full bug report, [etc.]
The bug only affects mainline.
According to Phil's regression hunter it appeared between
2003-04-11-trunk (#264) and 2003-04-12-trunk (#265)
(although I had to specify -O2 for the search).
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2003-11-12 14:24:59
date| |
Summary|internal compiler error: in |[3.4 regression] ICE with
|loc_descriptor_from_tree, at|variable sized arrays in
|dwarf2out.c:8780 |loc_descriptor_from_tree, at
| |dwarf2out.c:8780
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12934
More information about the Gcc-bugs
mailing list