This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/12389] [3.4 Regresson] ICE in gen_subprogram_die for nested function


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]