[Bug fortran/31219] ICE on valid code with gfortran

2007-03-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-03-16 15:25 --- Forgot to say: the original tree dump is f (__result, .__result, k) { (void) 0; MAIN__ () { static void f (char[1:] &, int4, int4 &); _gfortran_set_std (68, 127, 0); { void * D.1377; void * D.1

[Bug fortran/31219] ICE on valid code with gfortran

2007-03-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-03-16 15:23 --- Reduced testcase: $ cat a.f90 call gee( [f(1)] ) contains function f(k) result(i) integer :: k character(len=k) :: i end function end $ ./bin/gfortran a.f90 a.f90:1: internal compiler error: Segmentation