expr.c (gfc_check_assign): Add comment.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Wed, 25 Aug 2004 22:07:32 +0000 (00:07 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Wed, 25 Aug 2004 22:07:32 +0000 (00:07 +0200)
commit6d1c50cce40910b7015fefa7ce6c632c750bda22
tree964405ed0e0f03edc6848c42f8c9cc13a1404f4e
parent4c124b4c6f4e9017f5682cede57bd84c1129da2a
expr.c (gfc_check_assign): Add comment.

fortran/
* expr.c (gfc_check_assign): Add comment. Add new warning.
* trans-expr.c (gfc_conv_function_call): Correctly dereference
 result of pointer valued function when not in pointer assignment.

testsuite/
* gfortran.dg/assignment_1.f90: New test.

From-SVN: r86585
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/assignment_1.f90 [new file with mode: 0644]