[Bug fortran/27900] ICE using intrinsics as arguments

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 2 07:39:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list