http://groups.google.com/group/comp.lang.fortran/msg/b600c081a3654936 compiling attached program causes a segfault.
$ gfortran -c -fcray-pointer aaa.f90 aaa.f90: In function 'fptr': aaa.f90:89: internal compiler error: Segmentation fault ==4019== Invalid read of size 4 ==4019== at 0x40327E: reduce_binary0 (arith.c:1778) ==4019== by 0x40407E: eval_intrinsic_f3 (arith.c:1841) ==4019== by 0x4AA386: gfc_apply_interface_mapping_to_expr (trans-expr.c:1815) ==4019== by 0x4B157E: gfc_apply_interface_mapping (trans-expr.c:1991) ==4019== by 0x4AB839: gfc_conv_function_call (trans-expr.c:2669) ==4019== by 0x4AC6CB: gfc_conv_function_expr (trans-expr.c:3201) ==4019== by 0x496DB7: gfc_add_loop_ss_code (trans-array.c:1977) ==4019== by 0x497980: gfc_conv_loop_setup (trans-array.c:3496) ==4019== by 0x4BBB6E: gfc_trans_transfer (trans-io.c:2216) ==4019== by 0x48C5C7: gfc_trans_code (trans.c:1118) ==4019== by 0x4BEC48: build_dt (trans-io.c:1805) ==4019== by 0x48C5F7: gfc_trans_code (trans.c:1090) -- Summary: ICE (segfault) in reduce_binary0 (arith.c:1778) Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36703