http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46896
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-12 20:47:48 UTC --- Not surprisingly with the patch in comment #5 I get the following regressions: FAIL: gfortran.dg/array_function_5.f90 * (internal compiler error) FAIL: gfortran.dg/proc_ptr_comp_9.f90 * (internal compiler error) FAIL: gfortran.dg/proc_ptr_comp_12.f90 * (internal compiler error) The backtrace for gfortran.dg/array_function_5.f90 is Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000028 proc_call_can_redefine_sym (proc=0x14191f000) at ../../work/gcc/fortran/trans-expr.c:5409 5409 gfc_symbol *sym = expr->symtree->n.sym; (gdb) bt #0 proc_call_can_redefine_sym (proc=0x14191f000) at ../../work/gcc/fortran/trans-expr.c:5409 #1 0x00000001000da15e in gfc_conv_procedure_call (se=0x7fff5fbfd500, sym=0x14191f000, args=0x1419182b0, expr=0x1419181f0, append_args=0x141f1f380) at ../../work/gcc/fortran/trans-expr.c:3114 Previous frame inner to this frame (gdb could not unwind past this frame)