re PR fortran/49255 (-fcheck=pointer diagnoses too much: Passing NULL pointer to...
authorTobias Burnus <burnus@net-b.de>
Sun, 5 Jun 2011 21:11:46 +0000 (23:11 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 5 Jun 2011 21:11:46 +0000 (23:11 +0200)
commit8d231ff273dc0d9d4937be8cd0c5ee53a000cf7a
tree8b459bf11bf34751da79a5ac42ef725dd5a22f4c
parente8f79869d7d78364931e69665b9c8f876fa1bb73
re PR fortran/49255 (-fcheck=pointer diagnoses too much: Passing NULL pointer to OPTIONAL argument)

2011-06-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/49255
        * trans-expr.c (gfc_conv_procedure_call): Fix -fcheck=pointer
        for F2008.

2011-06-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/49255
        * gfortran.dg/pointer_check_9.f90: New.
        * gfortran.dg/pointer_check_10.f90: New.

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