gcc/gcc/c-family
Nicola Pero b4f588c48d In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk>
In gcc/c-family/:
2010-12-29  Nicola Pero  <nicola@nicola.brainstorm.co.uk>

	PR objc/47075
	* c-objc.h (objc_finish_message_expr): Added argument to
	prototype.

In gcc/objc/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR objc/47075
	* objc-act.h (PROPERTY_REF_DEPRECATED_GETTER): New.
	* objc-tree.def (PROPERTY_REF): Increased the number of operands
	from 3 to 4.
	* objc-act.c (objc_finish_message_expr): Added optional argument
	allowing to return the deprecated method prototype for deprecated
	methods, instead of immediately emitting the deprecation warning.
	(objc_maybe_build_component_ref): Do not warn for a deprecated
	property.  When building the getter call, get the deprecated
	method prototype from objc_finish_message_expr() and put it into
	the PROPERTY_REF.
	(objc_build_class_component_ref): Same change.
	(finish_class): Mark the getter and setter as deprecated if they
	are generated from a deprecated property.
	(objc_gimplify_property_ref): If the getter is deprecated, emit a
	deprecation warning.
	(objc_build_setter_call, objc_build_message_expr,
	objc_finish_foreach_loop): Updated call to
	objc_finish_message_expr.
	
In gcc/objcp/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

	* objcp-lang.c (objcp_tsubst_copy_and_build): Update call to
	objc_finish_message_expr.

In gcc/testsuite/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR objc/47075
	* objc.dg/property/at-property-deprecated-1.m: Updated.
	* objc.dg/property/at-property-deprecated-2.m: New.
	* objc.dg/property/dotsyntax-deprecated-1.m: New.
	* obj-c++.dg/property/at-property-deprecated-1.mm: Updated.
	* obj-c++.dg/property/at-property-deprecated-2.mm: New.
	* obj-c++.dg/property/dotsyntax-deprecated-1.mm: New.

From-SVN: r168315
2010-12-29 12:22:09 +00:00
..
c-ada-spec.c
c-ada-spec.h
c-common.c c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
c-common.def
c-common.h c-typeck.c (readonly_error): Delete. 2010-12-10 14:20:26 +00:00
c-cppbuiltin.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c-dump.c
c-format.c In gcc/: 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com> 2010-12-06 00:56:06 +00:00
c-format.h
c-gimplify.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c-lex.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c-objc.h In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk> 2010-12-29 12:22:09 +00:00
c-omp.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c-opts.c
c-pch.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c-ppoutput.c
c-pragma.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c-pragma.h
c-pretty-print.c re PR middle-end/46745 ('#'mem_ref' not supported by dump_expr#<expression error>') 2010-12-03 16:10:36 +00:00
c-pretty-print.h
c-semantics.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c.opt
ChangeLog In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk> 2010-12-29 12:22:09 +00:00
stub-objc.c In gcc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> 2010-12-18 20:28:07 +00:00