OSDN Git Service

PR fortran/34868
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Feb 2008 15:42:21 +0000 (15:42 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Feb 2008 15:42:21 +0000 (15:42 +0000)
commit36efa756238ed7e8e145614ee8519eed0249c738
treea13a53820b1a4fc0ec96de75d9fa6c175f09961a
parentb9584939b8918ac6d2cad0784417a5c9249722d5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132751 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/f2c_9.f90 [new file with mode: 0644]