OSDN Git Service

fortran/
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jun 2005 15:21:12 +0000 (15:21 +0000)
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jun 2005 15:21:12 +0000 (15:21 +0000)
commitea346118aeb8501d231ff0a0855dd6df2d50261e
treebc5470fb3f7a556ac4c9073c27d737c7be8be269
parentce10738f2e3acacfb821dded62421424fd8028d2
fortran/
* trans-expr.c (gfc_conv_variable): POINTER results don't need f2c
calling conventions.  Look at sym instead of sym->result.
* trans-types.c (gfc_sym_type): Remove workaround for frontend bug.
Remove condition which is always false with workaround removed.
(gfc_return_by_reference): Always look at sym, never at sym->result.
testsuite/
* gfortran.dg/f2c_7.f90: New test.

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