symbol.c (gfc_copy_formal_args_ppc): Free previous formal arg list before overwriting it.
2010-10-06 Mikael Morin <mikael@gcc.gnu.org> * symbol.c (gfc_copy_formal_args_ppc): Free previous formal arg list before overwriting it. From-SVN: r165040
This commit is contained in:
parent
40a33e3f4b
commit
9ce32b2560
|
@ -1,3 +1,8 @@
|
|||
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* symbol.c (gfc_copy_formal_args_ppc): Free previous formal arg list
|
||||
before overwriting it.
|
||||
|
||||
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* array.c (gfc_match_array_spec): Don't re-initialize cleared struct.
|
||||
|
|
|
@ -4203,6 +4203,7 @@ gfc_copy_formal_args_ppc (gfc_component *dest, gfc_symbol *src)
|
|||
}
|
||||
|
||||
/* Add the interface to the symbol. */
|
||||
gfc_free_formal_arglist (dest->formal);
|
||||
dest->formal = head;
|
||||
dest->attr.if_source = IFSRC_DECL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue