diff options
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 13 |
2 files changed, 5 insertions, 13 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 5aaa3b7..2fe4b25 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2009-06-15 Ian Lance Taylor <iant@google.com> + + * objc-act.c (objc_start_function): Don't set + label_context_stack_se or label_context_stack_vm. + 2009-06-12 Aldy Hernandez <aldyh@redhat.com> * objc-act.c (finish_var_decl): Pass location to finish_decl. diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 0c91faa..f114b65 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -8632,19 +8632,6 @@ objc_start_function (tree name, tree type, tree attrs, cplus_decl_attributes (&fndecl, attrs, 0); start_preparsed_function (fndecl, attrs, /*flags=*/SF_DEFAULT); #else - struct c_label_context_se *nstack_se; - struct c_label_context_vm *nstack_vm; - nstack_se = XOBNEW (&parser_obstack, struct c_label_context_se); - nstack_se->labels_def = NULL; - nstack_se->labels_used = NULL; - nstack_se->next = label_context_stack_se; - label_context_stack_se = nstack_se; - nstack_vm = XOBNEW (&parser_obstack, struct c_label_context_vm); - nstack_vm->labels_def = NULL; - nstack_vm->labels_used = NULL; - nstack_vm->scope = 0; - nstack_vm->next = label_context_stack_vm; - label_context_stack_vm = nstack_vm; current_function_returns_value = 0; /* Assume, until we see it does. */ current_function_returns_null = 0; |