From 6c39e757f6ef3dd6c470cd0293dacd8e94e0fe47 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Tue, 30 Nov 2010 21:55:39 +0000 Subject: In gcc/c-family/: 2010-11-30 Nicola Pero In gcc/c-family/: 2010-11-30 Nicola Pero * c-common.h (objc_finish_function): New. (objc_non_volatilized_type): Removed. (objc_type_quals_match): Removed. * stub-objc.c (objc_finish_function): New. (objc_non_volatilized_type): Removed. (objc_type_quals_match): Removed. In gcc/objc/: 2010-11-30 Nicola Pero * objc-act.c (objc_build_volatilized_type): Removed. (objc_non_volatilized_type): Removed. (objc_type_quals_match): Removed. (local_variables_to_volatilize): New. (objc_volatilize_decl): Add the decl to volatilize to local_variables_to_volatilize, but don't volatilize it yet. (objc_finish_function): New. * objc-act.h (local_variables_to_volatilize): New. In gcc/cp/: 2010-11-30 Nicola Pero * decl.c (finish_function): Call objc_finish_function when compiling Objective-C++. * call.c (standard_conversion): Do not call objc_non_volatilized_type(). (implicit_conversion): Same change. * typeck.c (comp_ptr_ttypes_real): Same change. In gcc/: 2010-11-30 Nicola Pero * c-decl.c (finish_function): Call objc_finish_function in Objective-C. * c-typeck.c (convert_for_assignment): Do not call objc_type_quals_match(). From-SVN: r167318 --- gcc/objc/objc-act.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/objc/objc-act.h') diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index 6403161..7e8e418 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -253,6 +253,10 @@ extern GTY ((length ("SIZEHASHTABLE"))) hash *als_name_hash_list; #define SIZEHASHTABLE 257 +/* An array of all the local variables in the current function that + need to be marked as volatile. */ +extern GTY(()) VEC(tree,gc) *local_variables_to_volatilize; + /* Objective-C/Objective-C++ @implementation list. */ struct GTY(()) imp_entry { -- cgit v1.1