http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55827
--- Comment #9 from Mikael Morin <mikael at gcc dot gnu.org> 2013-01-07 17:56:58 UTC --- Author: mikael Date: Mon Jan 7 17:56:53 2013 New Revision: 194985 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194985 Log: 2013-01-07 Steven G. Kargl <ka...@gcc.gnu.org> Mikael Morin <mik...@gcc.gnu.org> PR fortran/55827 * class.c (gfc_fix_class_refs): Adapt ts initialization for the case e->symtree == NULL. * trans-expr.c (gfc_conv_function_expr): Init sym earlier. Use it. 2013-01-07 Steven G. Kargl <ka...@gcc.gnu.org> Mikael Morin <mik...@gcc.gnu.org> PR fortran/55827 * gfortran.dg/use_22.f90: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/use_22.f90 Modified: branches/gcc-4_7-branch/gcc/fortran/ChangeLog branches/gcc-4_7-branch/gcc/fortran/class.c branches/gcc-4_7-branch/gcc/fortran/trans-expr.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog