This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25024] New: ICE with external declaration inside same procedure
- From: "jb at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2005 18:30:58 -0000
- Subject: [Bug fortran/25024] New: ICE with external declaration inside same procedure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following simple procedure causes an ICE:
subroutine A()
EXTERNAL A
END
Error message with compiler "gcc version 4.2.0 20051124 (experimental)" is:
crash2.f:0: internal compiler error: in build_function_decl, at
fortran/trans-decl.c:1114
With compiler "gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)"
the message is essentially the same:
crash2.f:0: internal compiler error: in build_function_decl, at
fortran/trans-decl.c:1026
--
Summary: ICE with external declaration inside same procedure
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jb at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25024