This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/14694] New: [tree-ssa] SEGV in tree-nested.c compiling glibc
- From: "dnovillo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2004 15:25:15 -0000
- Subject: [Bug middle-end/14694] New: [tree-ssa] SEGV in tree-nested.c compiling glibc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When compiling glibc's rtld.c we ICE inside tree-nested.c because we try to
process a global VAR_DECL. This causes convert_nonlocal_reference to run out of
nesting contexts without finding the declaration.
I'm not sure which glibc version exposes this. Attached is rtld.i that Uli sent
me. I presume this comes from current CVS?
Also attached is a proposed patch. Richard, is this the right fix? We
explicitly check for DECL_EXTERNAL, but we weren't checking for _NONLOCAL nor
globals. Bootstrap and testing in progress.
--
Summary: [tree-ssa] SEGV in tree-nested.c compiling glibc
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: rth at gcc dot gnu dot org
ReportedBy: dnovillo at gcc dot gnu dot org
CC: drepper at redhat dot com,gcc-bugs at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14694