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



Paul Thomas <pault at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

         AssignedTo|unassigned at gcc dot       |pault at gcc dot gnu.org

                   |gnu.org                     |



--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> 2013-01-26 21:18:25 
UTC ---

Created attachment 29283

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29283

Fix for this PR and 56087.



2013-01-26 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-26  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.

Reply via email to