OSDN Git Service

fortran/
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 09:08:37 +0000 (09:08 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2007 09:08:37 +0000 (09:08 +0000)
commit2bec85dcfa9cc6740deec823018c072a605f3b90
treef40639a46b029ee6c2ccfe80b9c03b2f7f2cd3fd
parenta48a3d3d6554978c46de7739f4588a265753f7f9
fortran/
2007-01-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/29624
        * interface.c (compare_parameter_intent): New function.
          (check_intents): Support pointer intents.
        * symbol.c (check_conflict): Support pointer intents,
          better conflict_std message.
        * expr.c (gfc_check_assign,gfc_check_pointer_assign):
          Support pointer intents.
        * resolve.c (resolve_deallocate_expr,resolve_allocate_expr):
          Support pointer intents.

testsuite/
2006-01-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/29624
        * gfortran.dg/alloc_alloc_expr_1.f90: Add check for
          invalid deallocate.
        * gfortran.dg/allocatable_dummy_2.f90: Update dg-error.
        * gfortran.dg/protected_4.f90: Add pointer intent check.
        * gfortran.dg/protected_6.f90: Add pointer intent check.
        * gfortran.dg/pointer_intent_1.f90: New test.
        * gfortran.dg/pointer_intent_2.f90: New test.
        * gfortran.dg/pointer_intent_3.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120472 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/alloc_alloc_expr_1.f90
gcc/testsuite/gfortran.dg/allocatable_dummy_2.f90
gcc/testsuite/gfortran.dg/pointer_intent_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pointer_intent_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pointer_intent_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/protected_4.f90
gcc/testsuite/gfortran.dg/protected_6.f90