]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/23373 ([4.0 only] Functions returning pointers with pointer argument)
authorRichard Sandiford <richard@codesourcery.com>
Thu, 8 Sep 2005 09:20:07 +0000 (09:20 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 8 Sep 2005 09:20:07 +0000 (09:20 +0000)
commit8aeca7fda07b3e505cab58c650ba46f352dc6f73
tree123f31aa2a984a35b44adc3955d3b717877498f1
parent5e949d8329bbb0b1bd6df53bff9e645f0518ba0d
re PR fortran/23373 ([4.0 only] Functions returning pointers with pointer argument)

PR fortran/23373
* trans-expr.c (gfc_trans_pointer_assignment): Assign to a temporary
descriptor if the rhs is not a null pointer or variable.

From-SVN: r104029
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/execute/pr23373-1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.fortran-torture/execute/pr23373-2.f90 [new file with mode: 0644]