[Bug debug/12389] [3.4 Regresson] ICE in gen_subprogram_die for nested function
cgd at broadcom dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 03:57:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12389
------- Additional Comments From cgd at broadcom dot com 2003-10-17 03:57 -------
I saw this on mips64-linux native, compiling glibc. I tried the attached
test case and on mips64-linux it doesn't show the problem.
This test case does:
int x (char *s)
{
int y () { return (strlen (s)); }
return y (s);
}
with gcc -g -O2 -c src.c, compiled from unmodified sources as of 2003-10-15
00:00 UTC.
When this is fixed, and testcases are added, IMO would be good to have both
added.
More information about the Gcc-bugs
mailing list