* module.c (fix_mio_expr): Declare sym.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 2010 18:42:17 +0000 (18:42 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 2010 18:42:17 +0000 (18:42 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156632 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/module.c

index f922b4e..a417c1a 100644 (file)
@@ -1,3 +1,7 @@
+2010-02-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * module.c (fix_mio_expr): Declare sym.
+
 2010-02-09  Paul Thomas  <pault@gcc.gnu.org>
 
        PR fortran/41869
index 36db863..0fc1921 100644 (file)
@@ -2927,6 +2927,8 @@ fix_mio_expr (gfc_expr *e)
     }
   else if (e->expr_type == EXPR_FUNCTION && e->value.function.name)
     {
+      gfc_symbol *sym;
+
       /* In some circumstances, a function used in an initialization
         expression, in one use associated module, can fail to be
         coupled to its symtree when used in a specification