2009-06-29 Tobias Burnus <burnus@net-b.de>
commit91cf6ba3f39e8d8ae45283cb3af328c1583eeb75
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jun 2009 21:02:17 +0000 (29 21:02 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jun 2009 21:02:17 +0000 (29 21:02 +0000)
treef4b9667f6f491ec9edcb2471c4bf08b3e532f635
parent8d60cc468e8c1956cef570588d4297ce3a740328
2009-06-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40580
        * trans-expr.c  (gfc_conv_procedure_call): Add -fcheck=pointer
        * check.
        * libgfortran.h: Add GFC_RTCHECK_POINTER.
        * invoke.texi (-fcheck): Document new pointer option.
        * options.c (gfc_handle_runtime_check_option): Handle pointer
        * option.

        * gfortran.texi (C Binding): Improve wording.
        * iso-c-binding.def: Remove obsolete comment.

2009-06-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40580
        * pointer_check_1.f90: New test.
        * pointer_check_2.f90: New test.
        * pointer_check_3.f90: New test.
        * pointer_check_4.f90: New test.
        * pointer_check_5.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149063 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/gfortran.texi
gcc/fortran/invoke.texi
gcc/fortran/iso-c-binding.def
gcc/fortran/libgfortran.h
gcc/fortran/options.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pointer_check_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pointer_check_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pointer_check_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pointer_check_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pointer_check_5.f90 [new file with mode: 0644]