This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/12389] [3.4 Regresson] ICE in gen_subprogram_die for nested function
- From: "cgd at broadcom dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2003 03:57:52 -0000
- Subject: [Bug debug/12389] [3.4 Regresson] ICE in gen_subprogram_die for nested function
- References: <20030924122533.12389.rsandifo@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.