1. 31 Dec, 2010 6 commits
  2. 30 Dec, 2010 23 commits
  3. 29 Dec, 2010 11 commits
    • In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com> · 445eb4c6
      In gcc/objc/:
      2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc-act.c (objc_set_method_opt): Tidy up error messages.  In
      	particular, explicitly mention whether the error is due to the
      	@optional or @required keyword instead of mentioning
      	"@optional/@required".
      
      In gcc/testsuite/:
      2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/enhanced-proto-2.m: Updated.
      	* obj-c++.dg/enhanced-proto-2.mm: Updated.
      
      From-SVN: r168327
      Nicola Pero committed
    • In gcc/objc/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> · 37153b1e
      In gcc/objc/:
      2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR objc/47118
      	* objc-act.c (objc_build_synchronized): Check the argument of
      	@synchronized and emit an appropriate error if it is not a valid
      	Objective-C object.  Deal gracefully with that case.  Updated
      	comments and variable names.
      
      In gcc/testsuite/:
      2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR objc/47118
      	* objc.dg/sync-3.m: New.
      	* obj-c++.dg/sync-3.mm: New.
      
      From-SVN: r168326
      Nicola Pero committed
    • re PR tree-optimization/47074 (tree check fail in create_access_replacement) · 9fdc58de
      	PR tree-optimization/47074
      	* gimple-fold.c (gimplify_and_update_call_from_tree): Call
      	pop_gimplify_context if returning early.
      
      From-SVN: r168325
      Jakub Jelinek committed
    • dump_parse_tree.c (show_components): Show ALLOCATABLE. · d6c63324
      2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	* dump_parse_tree.c (show_components):  Show
      	ALLOCATABLE.
      
      From-SVN: r168324
      Thomas Koenig committed
    • re PR fortran/46838 ([OOP] Initialization of polymorphic allocatable components) · fbd30c38
      2010-12-29  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/46838
      	* expr.c (gfc_default_initializer): Handle allocatable CLASS components.
      
      
      2010-12-29  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/46838
      	* gfortran.dg/alloc_comp_class_2.f90: New.
      
      From-SVN: r168322
      Janus Weil committed
    • frontend-passes.c (gfc_code_walker): Handle expressions in EXEC_CALL,… · bc81f559
      frontend-passes.c (gfc_code_walker): Handle expressions in EXEC_CALL, EXEC_ASSIGN_CALL and EXEC_CALL_PPC.
      
      2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	* frontend-passes.c (gfc_code_walker): Handle expressions
      	in EXEC_CALL, EXEC_ASSIGN_CALL and EXEC_CALL_PPC.
      	Separate cases in switch statements by blank lines.
      
      2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	* gfortran.dg/character_comparison_7.f90:  New test.
      
      From-SVN: r168320
      Thomas Koenig committed
    • * ja.po: Update. · 7539a95b
      From-SVN: r168318
      Joseph Myers committed
    • In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk> · b4f588c4
      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
      Nicola Pero committed
    • * ja.po: Update. · 51361a93
      From-SVN: r168314
      Joseph Myers committed
    • Use diagnostic-core.h instead of diagnostic.h. · 32a73fc4
      2010-12-28  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* Makefile.in (graphite.o): Depends on DIAGNOSTIC_CORE_H.
      	(graphite-clast-to-gimple.o): Same.
      	(graphite-poly.o): Same.
      	* graphite-clast-to-gimple.c: Include diagnostic-core.h.
      	* graphite-poly.c: Same.
      	* graphite.c: Same.
      
      From-SVN: r168310
      Sebastian Pop committed
    • re PR c++/47068 ([C++0x] internal compiler error on decltype(~ expression)) · c97c25c0
      	PR c++/47068
      	* semantics.c (finish_id_expression): Don't note non-names
      	as being used in the class.
      
      From-SVN: r168309
      Jason Merrill committed