http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55827
--- Comment #10 from Mikael Morin <mikael at gcc dot gnu.org> 2013-01-07 18:10:52 UTC --- Author: mikael Date: Mon Jan 7 18:10:46 2013 New Revision: 194987 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194987 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_6-branch/gcc/testsuite/gfortran.dg/use_22.f90 Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/trans-expr.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog