re PR fortran/34714 (ICE-on-invalid in gfc_conv_descriptor_dtype)
authorDaniel Franke <franke.daniel@gmail.com>
Fri, 28 Mar 2008 22:57:25 +0000 (18:57 -0400)
committerDaniel Franke <dfranke@gcc.gnu.org>
Fri, 28 Mar 2008 22:57:25 +0000 (18:57 -0400)
commit01d2a7d70396ca672c10a4ed68d1739b42dbc1ae
treec75023c35ce4493e5451b72fe5cb99c3b2cce45e
parent716aaa593ae2583e36d545fef90c939630152d67
re PR fortran/34714 (ICE-on-invalid in gfc_conv_descriptor_dtype)

gcc/fortran:
2008-03-28  Daniel Franke  <franke.daniel@gmail.com>
            Paul Richard Thomas <paul.richard.thomas@gmail.com>

PR fortran/34714
        * primary.c (match_variable): Improved matching of function
        result variables.
        * resolve.c (resolve_allocate_deallocate): Removed checks if
        the actual argument for STAT is a variable.

gcc/testsuite:
2008-03-28  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34714
        * gfortran.dg/alloc_alloc_expr_3.f90: New test.
        * gfortran.dg/allocate_stat.f90: Adjusted error-match text.
        * gfortran.dg/func_assign.f90: Likewise.
        * gfortran.dg/implicit_11.f90: Likewise.
        * gfortran.dg/proc_assign_1.f90: Likewise.
        * gfortran.dg/proc_assign_2.f90: Likewise.
        * gfortran.dg/procedure_lvalue.f90: Likewise.

Co-Authored-By: Paul Richard Thomas <paul.richard.thomas@gmail.com>
From-SVN: r133701
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/alloc_alloc_expr_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocate_stat.f90
gcc/testsuite/gfortran.dg/func_assign.f90
gcc/testsuite/gfortran.dg/implicit_11.f90
gcc/testsuite/gfortran.dg/proc_assign_1.f90
gcc/testsuite/gfortran.dg/proc_assign_2.f90
gcc/testsuite/gfortran.dg/procedure_lvalue.f90