* fortran/resolve.c (resolve_deallocate_expr): Avoid warning
about possible use of iunitialized sym.
(resolve_allocate_expr): Pre-initialize sym by NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160464
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-06-09 Kai Tietz <kai.tietz@onevision.com>
+ * fortran/resolve.c (resolve_deallocate_expr): Avoid warning
+ about possible use of iunitialized sym.
+ (resolve_allocate_expr): Pre-initialize sym by NULL.
+
* c-objc-common.c (c_tree_printer): Pre-intialize t by NULL_TREE.
2010-06-09 Martin Jambor <mjambor@suse.cz>
bad:
gfc_error ("Allocate-object at %L must be ALLOCATABLE or a POINTER",
&e->where);
+ return FAILURE;
}
if (check_intent_in && sym->attr.intent == INTENT_IN)
symbol_attribute attr;
gfc_ref *ref, *ref2;
gfc_array_ref *ar;
- gfc_symbol *sym;
+ gfc_symbol *sym = NULL;
gfc_alloc *a;
gfc_component *c;
gfc_expr *init_e;