[Bug fortran/55255] [4.6 Regression] Compiler segmentation fault

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 9 22:05:00 GMT 2012


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

--- Comment #2 from janus at gcc dot gnu.org 2012-11-09 22:05:20 UTC ---
Slightly reduced test case:


MODULE MY_ARRAY
  TYPE ARRAY
    REAL, ALLOCATABLE :: VALS
  END TYPE
CONTAINS
  TYPE(ARRAY) FUNCTION MAKE_ARRAY()
  END FUNCTION
  SUBROUTINE PRINT_ARRAY(Y)
    TYPE(ARRAY) :: Y
  END SUBROUTINE
END MODULE

PROGRAM MAIN
  USE MY_ARRAY
  CALL PRINT_ARRAY(MAKE_ARRAY())
END PROGRAM MAIN



More information about the Gcc-bugs mailing list