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



--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> 2013-01-27 07:09:12 
UTC ---

Author: pault

Date: Sun Jan 27 07:09:06 2013

New Revision: 195492



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195492

Log:

2013-01-27 Paul Thomas  <pa...@gcc.gnu.org>



    PR fortran/55789

    PR fortran/56047

    * gfortran.h : Add associate_var to symbol_attr.

    * resolve.c (resolve_assoc_var): Set associate_var attribute.

    If the target class_ok is set, set it for the associate

    variable.

    * check.c (allocatable_check): Associate variables should not

    have the allocatable attribute even if their symbols do.

    * class.c (gfc_build_class_symbol): Symbols with associate_var

    set will always have a good class container.



2013-01-27  Paul Thomas  <pa...@gcc.gnu.org>



    PR fortran/55789

    * gfortran.dg/associate_14.f90: New test.



    PR fortran/56047

    * gfortran.dg/associate_13.f90: New test.



Added:

    trunk/gcc/testsuite/gfortran.dg/associate_13.f90

    trunk/gcc/testsuite/gfortran.dg/associate_14.f90

Modified:

    trunk/gcc/fortran/ChangeLog

    trunk/gcc/fortran/check.c

    trunk/gcc/fortran/class.c

    trunk/gcc/fortran/gfortran.h

    trunk/gcc/fortran/resolve.c

    trunk/gcc/testsuite/ChangeLog

Reply via email to