re PR fortran/54599 (Issues found in gfortran by the Coverity Scan)
authorTobias Burnus <burnus@net-b.de>
Sun, 23 Sep 2012 06:48:48 +0000 (08:48 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 23 Sep 2012 06:48:48 +0000 (08:48 +0200)
commit99c25a87c6bd63d6b03e3792630ae61c166dcac9
tree6fb6edff03b3f9b88751aee4639a84d409c9b04f
parent8856695d70f0c622d7154e95b52cd758f77c7e2c
re PR fortran/54599 (Issues found in gfortran by the Coverity Scan)

2012-09-23  Tobias Burnus  <burnus@net-b.de>

        * parse.c (parse_derived): Don't set attr.alloc_comp
        for pointer components with allocatable subcomps.

        PR fortran/54599
        * resolve.c (resolve_fl_namelist): Remove superfluous
        NULL check.
        * simplify.c (simplify_min_max): Remove unreachable code.
        * trans-array.c (gfc_trans_create_temp_array): Change
        a condition into an assert.

        PR fortran/54618
        * trans-expr.c (gfc_trans_class_init_assign): Guard
        re-setting of the _data by gfc_conv_expr_present.
        (gfc_conv_procedure_call): Fix INTENT(OUT) handling
        for allocatable BT_CLASS.

2012-09-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54618
        * gfortran.dg/class_array_14.f90: New.

From-SVN: r191649
gcc/fortran/ChangeLog
gcc/fortran/parse.c
gcc/fortran/resolve.c
gcc/fortran/simplify.c
gcc/fortran/trans-array.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_array_14.f90 [new file with mode: 0644]