]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/41872 (wrong-code: Issues with allocatable scalars)
authorTobias Burnus <burnus@net-b.de>
Mon, 4 Jan 2010 07:30:49 +0000 (08:30 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 4 Jan 2010 07:30:49 +0000 (08:30 +0100)
commit5b13080782bb78ffcf0ac8150e379a30fbcef04a
tree8e4ad400c37fd8a181953cc2a8978ff5aaaeec7e
parentf42621553669746ede1f161f110f78c7df817aa6
re PR fortran/41872 (wrong-code: Issues with allocatable scalars)

2009-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
        for functions returning allocatable scalars.
        * trans-stmt.c (gfc_trans_allocate): Emmit error when
        reallocating an allocatable scalar.
        * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
        in comment.
        * trans-decl.c (gfc_trans_deferred_vars): Nullify local
        allocatable scalars.
        (gfc_generate_function_code): Nullify result variable for
        allocatable scalars.

        PR fortran/40849
        * module.c (gfc_use_module): Fix warning string to allow
        for translation.

        PR fortran/42517
        * invoke.texi (-fcheck=recursion): Mention that the checking
        is also disabled for -frecursive.
        * trans-decl.c (gfc_generate_function_code): Disable
        -fcheck=recursion when -frecursive is used.

        * intrinsic.texi (iso_c_binding): Improve wording.

2009-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * gfortran.dg/allocatable_scalar_5.f90: New test.
        * gfortran.dg/allocatable_scalar_6.f90: New test.

From-SVN: r155606
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.texi
gcc/fortran/invoke.texi
gcc/fortran/module.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-stmt.c
gcc/fortran/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocatable_scalar_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocatable_scalar_6.f90 [new file with mode: 0644]
This page took 0.079933 seconds and 5 git commands to generate.