re PR fortran/34868 (ICE with -ff2c for function returning a complex number)
PR fortran/34868 * trans-expr.c (gfc_conv_variable): Don't build indirect references when explicit interface is mandated. * resolve.c (resolve_formal_arglist): Set attr.always_explicit on the result symbol as well as the procedure symbol. * gfortran.dg/f2c_9.f90: New test. From-SVN: r132751
Showing
gcc/testsuite/gfortran.dg/f2c_9.f90
0 → 100644
Please
register
or
sign in
to comment