[Bug debug/14492] loc_descriptor_from_tree, in dwarf2out.c:9031

shalla at darkover dot isilm dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 9 14:50:00 GMT 2004


------- Additional Comments From shalla at darkover dot isilm dot com  2004-04-09 14:50 -------
I have a nearly identical dwarf2 bug in C/C++, and a trivial test case. Here:

///////////////////////////////////
int main() {
  double d = 1.0;
  char x[(int) d];
  return 0;
}
///////////////////////////////////

g++34 -g ice.bug.c
ice.bug.c: In function `int main()':
ice.bug.c:5: internal compiler error: in loc_descriptor_from_tree, at
dwarf2out.c:8863
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Of course, if I leave the -g off, it compiles and executes properly.

I am using the prerelease snapshot of 3.4.0. on i686-pc-linux-gnu as well.


-- 


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



More information about the Gcc-bugs mailing list