+2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
+
+ * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
+ (maybe_apply_renaming_pragma): Delete unneeded declarations.
+
2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
* c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
(pending_redefine_extname): Change type to a VEC.
(add_to_renaming_pragma_list): Update for new type of
pending_redefine_extname.
- (maybe_apply_pending_pragma): Likewise.
+ (maybe_apply_renaming_pragma): Likewise.
2010-08-04 Arnaud Charlet <charlet@adacore.com>
return;
}
- p = VEC_safe_push (pending_redefinition, pending_redefine_extname, NULL);
+ p = VEC_safe_push (pending_redefinition, gc, pending_redefine_extname, NULL);
p->oldname = oldname;
p->newname = newname;
}
{
unsigned ix;
pending_redefinition *p;
- tree *p, t;
/* The renaming pragmas are only applied to declarations with
external linkage. */