This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/25597] ICE with allocate on the return value of a function, character array with a len of an argument



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-01-01 06:27 -------
(In reply to comment #4)
> A little further reduced:

Actually that is a different bug.

Anyways the reduced testcase looks like:
  FUNCTION reallocate_hnv(p,n,LEN)
    CHARACTER(LEN=LEN), DIMENSION(:), POINTER :: reallocate_hnv
    ALLOCATE(reallocate_hnv(n))
  END FUNCTION reallocate_hnv


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE with allocate on the    |ICE with allocate on the
                   |return value of a function, |return value of a function,
                   |character with a len of an  |character array with a len
                   |argument                    |of an argument


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25597



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]