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/29387] ICE on character array function of variable length



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2006-10-08 21:53 -------
Another testcase for this bug:

TYPE T1 
 INTEGER, POINTER :: I=>NULL() 
END TYPE T1 
 IF(.NOT.ASSOCIATED(F1(10))) CALL ABORT() 
CONTAINS 
 FUNCTION F1(I) RESULT(R) 
  TYPE(T1), DIMENSION(:), POINTER :: R 
  INTEGER :: I 
  ALLOCATE(R(I)) 
 END FUNCTION F1 
END 


-- 


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


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