This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27900] New: ICE using intrinsics as arguments
- From: "klra67 at freenet dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2006 10:49:53 -0000
- Subject: [Bug fortran/27900] New: ICE using intrinsics as arguments
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I am not sure whether the code snippet is legal at all, but it should emit an
error, not an ICE.
--snip
module bug
implicit none
contains
subroutine tbug
integer :: i
i = len("123")
call sub(len)
end subroutine tbug
end module bug
--snip
>gfortran -c fbug1.f90
fbug1.f90: In Funktion »tbug«:
fbug1.f90:6: interner Compiler-Fehler: in gfc_typenode_for_spec, bei
fortran/trans-types.c:651
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Fehler in der deutschen Übersetzung sind an
translation-team-de@lists.sourceforge.net zu melden.
Gehen Sie gemäß den Hinweisen in <URL:http://gcc.gnu.org/bugs.html> vor.
>gfortran --version
GNU Fortran 95 (GCC) 4.2.0 20060603 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
--snip
--
Summary: ICE using intrinsics as arguments
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: klra67 at freenet dot de
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=27900