This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27900] ICE using intrinsics as arguments
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2006 07:39:14 -0000
- Subject: [Bug fortran/27900] ICE using intrinsics as arguments
- References: <bug-27900-10536@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2006-10-02 07:39 -------
Further reduced testcase (no need for a module):
implicit none
integer i
i = len("123")
call sub(len)
end
When the len in "call sub(len)" is resolved, it is never given its correct
return type, which leads to the ICE. I still don't understand why the implicit
none is doing this on us... Paul, any idea?
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27900