This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/49255] -fcheck=pointer diagnoses too much: Passing NULL pointer to OPTIONAL argument


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49255

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-05 21:11:49 UTC ---
Author: burnus
Date: Sun Jun  5 21:11:46 2011
New Revision: 174663

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174663
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/pointer_check_10.f90
    trunk/gcc/testsuite/gfortran.dg/pointer_check_9.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]