diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-11-03 23:52:18 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-11-03 23:52:18 +0000 |
commit | 9a179d019f67e5fd0053c0bb74ad8a13767cba9f (patch) | |
tree | 8b870d1d67aef3b800e92af6356bff7e92eb975b /gcc/fold-const.c | |
parent | 37da368856ad8e3f76f50f429211d6cd0748a5f5 (diff) | |
download | gcc-9a179d019f67e5fd0053c0bb74ad8a13767cba9f.zip gcc-9a179d019f67e5fd0053c0bb74ad8a13767cba9f.tar.gz gcc-9a179d019f67e5fd0053c0bb74ad8a13767cba9f.tar.bz2 |
In gcc/c-family/: 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/c-family/:
2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
* c.opt (Wproperty-assign-default): New option.
In gcc/objc/:
2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_add_dynamic_declaration): Allow @dynamic in a
category.
(objc_type_valid_for_messaging): Added 'accept_classes' argument;
if set to 'true', return 'true' for Class objects. Do not remove
more than on pointer indirection.
(objc_add_property_declaration): Only warn about 'assign'
semantics for Objective-C objects if warn_property_assign_default;
and do not warn if the property is readonly or if the type is a Class.
(objc_finish_foreach_loop): Updated calls to
objc_type_valid_for_messaging.
In gcc/testsuite/:
2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/property/dynamic-2.m: Updated for the fact that @dynamic
is now allowed in categories.
* obj-c++.dg/property/dynamic-2.mm: Same change.
* objc.dg/property/dynamic-3.m: New.
* obj-c++.dg/property/dynamic-3.mm: New.
* objc.dg/property/at-property-14.m: New.
* objc.dg/property/at-property-15.m: New.
* obj-c++.dg/property/at-property-14.mm: New.
* obj-c++.dg/property/at-property-15.mm: New.
* objc.dg/foreach-6.m: Added a few more tests for valid and
invalid iterating variables and collections.
From-SVN: r166287
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions