1. 16 Oct, 2010 13 commits
    • In libobjc/: 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com> · 6c5c7efd
      In libobjc/:
      2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc/runtime.h: Updated comments.
              (class_addMethod): New.
              (class_addIvar): New.
              (class_replaceMethod): New.
              (objc_allocateClassPair): New.
              (objc_registerClassPair): New.
              (objc_disposeClassPair): New.
              * class.c (objc_allocateClassPair): New.
              (objc_registerClassPair): New.
              (objc_disposeClassPair): New.
              (class_getSuperclass): Return Nil if a class is in construction.
              * init.c (__objc_exec_class): Call __objc_init_class.
              (__objc_init_class): New.
              * ivars.c (class_copyIvarList): Return NULL if class is in
              construction.  Do not lock the runtime mutex.
              (class_getInstanceVariable): Return NULL if class is in
              construction.  Do not lock the runtime mutex.
              (class_addIvar): New.
              * sendmsg.c (class_addMethod): New.
              (class_replaceMethod): New.
              * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
              (_CLS_IN_CONSTRUCTION): New.
              (CLS_IS_IN_CONSTRUCTION): New.
              (CLS_SET_IN_CONSTRUCTION): New.
              (CLS_SET_NOT_IN_CONSTRUCTION): New.
              * objc-private/runtime.h (__objc_init_class): New.
      
      From-SVN: r165563
      Nicola Pero committed
    • trans-io.c (gfc_build_io_library_fndecls): Array descriptor arguments to… · d4d9b0a6
      trans-io.c (gfc_build_io_library_fndecls): Array descriptor arguments to transfer_array can be dereferenced recursively.
      
      2010-10-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	* trans-io.c (gfc_build_io_library_fndecls):
      	Array descriptor arguments to transfer_array can be
      	dereferenced recursively.
      
      From-SVN: r165561
      Thomas Koenig committed
    • cgraph.c (dump_cgraph_node): Dump same_comdat_group, only_called_at_startup and… · 844db5d0
      cgraph.c (dump_cgraph_node): Dump same_comdat_group, only_called_at_startup and only_called_at_exit.
      
      	* cgraph.c (dump_cgraph_node): Dump same_comdat_group,
      	only_called_at_startup and only_called_at_exit.
      	(cgraph_propagate_frequency): Compute only_called_at_startup and 
      	only_called_at_exit.
      	* cgraph.h (struct cgraph_node): New fileds only_called_at_startup and
      	only_called_at_exit.
      	* lto-cgraph.c (lto_output_node, input_overwrite_node): Stream the new
      	flags.
      	* predict.c (compute_function_frequency): Initialize the new flags.
      
      From-SVN: r165560
      Jan Hubicka committed
    • re PR tree-optimization/20165 (Pointer does not really escape with write) · 6eb6875d
      2010-10-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/20165
      	PR fortran/31593
      	PR fortran/43665
      	* gfortran.map:  Add _gfortran_transfer_array_write,
      	_gfortran_transfer_array_write, _gfortran_transfer_character_write,
      	_gfortran_transfer_character_wide_write,
      	_gfortran_transfer_complex_write,
      	_gfortran_transfer_integer_write,
      	_gfortran_transfer_logical_write and
      	_gfortran_transfer_real_write.
      	* io/transfer.c (transfer_integer_write):  Add prototype and
      	function body as call to the original function, without the
      	_write.
      	(transfer_real_write):  Likewise.
      	(transfer_logical_write):  Likewise.
      	(transfer_character_write):  Likewise.
      	(transfer_character_wide_write):  Likewise.
      	(transfer_complex_write):  Likewise.
      	(transfer_array_write):  Likewise.
      
      2010-10-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/20165
      	PR fortran/31593
      	PR fortran/43665
      	* trans-io.c (enum iocall): Add IOCALL_X_INTEGER_WRITE,
      	IOCALL_X_LOGICAL_WRITE, IOCALL_X_CHARACTER_WRITE,
      	IOCALL_X_CHARACTER_WIDE_WRIE, IOCALL_X_REAL_WRITE,
      	IOCALL_X_COMPLEX_WRITE and IOCALL_X_ARRAY_WRITE.
      	(gfc_build_io_library_fndecls):  Add corresponding function
      	decls.
      	(transfer_expr):  If the current transfer is a READ, use
      	the iocall with the original version, otherwise the version
      	with _WRITE.
      	(transfer_array_desc):  Likewise.
      
      From-SVN: r165559
      Thomas Koenig committed
    • gimplify.c (gimplify_type_sizes): If the type is to be ignored for debug info purposes... · 08d78391
      	* gimplify.c (gimplify_type_sizes) <ARRAY_TYPE>: If the type is to be
      	ignored for debug info purposes, do not clear the DECL_IGNORED_P flag
      	on the bounds of its domain.
      	* tree.h (DECL_IGNORED_P): Document effect on TYPE_DECL specifically.
      
      From-SVN: r165544
      Eric Botcazou committed
    • In gcc/testsuite/: 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com> · 5b7cd330
      In gcc/testsuite/:
      2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc.dg/gnu-api-2-ivar.m: New.
      
      From-SVN: r165543
      Nicola Pero committed
    • class.c (class_getSuperclass): Call __objc_resolve_class_links if the class is not resolved yet. · 1cde73d7
      2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * class.c (class_getSuperclass): Call __objc_resolve_class_links
              if the class is not resolved yet.
              * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
      
      From-SVN: r165542
      Nicola Pero committed
    • avr.h (PREFERRED_RELOAD_CLASS): Remove. · 4b0b4ab0
      	* config/avr/avr.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/avr/avr-protos.h (preferred_reload_class): Remove.
      	* config/avr/avr.c (preferred_reload_class): Remove.
      	* config/pa/pa.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/pa/pa.c (emit_move_sequence): Update comment
      	* config/arc/arc.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/crx/crx.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/fr30/fr30.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/frv/frv.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/h8300/h8300.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/lm32/lm32.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/m32r/m32r.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/moxie/moxie.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/picochip/picochip.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/rx/rx.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/spu/spu.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/v850/v850.h (PREFERRED_RELOAD_CLASS): Remove.
      	* config/vax/vax.h (PREFERRED_RELOAD_CLASS): Remove.
      
      From-SVN: r165541
      Anatoly Sokolov committed
    • opts.c (set_fast_math_flags, [...]): Make static. · 7bb3487f
      	* opts.c (set_fast_math_flags,
      	set_unsafe_math_optimizations_flags): Make static.
      	* toplev.h (set_fast_math_flags,
      	set_unsafe_math_optimizations_flags): Remove prototypes.
      
      From-SVN: r165540
      Joseph Myers committed
    • arm.c (arm_option_optimization): Set flag_section_anchors to 1 not 2. · 0a587f65
      	* config/arm/arm.c (arm_option_optimization): Set
      	flag_section_anchors to 1 not 2.
      	* config/i386/i386.c (ix86_option_override_internal): Check
      	global_options_set.x_flag_zee and
      	global_options_set.x_flag_omit_frame_pointer.
      	(ix86_option_optimization): Don't set flag_omit_frame_pointer and
      	flag_zee to 2.
      	* config/i386/sol2-10.h (SUBTARGET_OVERRIDE_OPTIONS): Check
      	global_options_set.x_flag_omit_frame_pointer.
      	* config/rs6000/rs6000.c (rs6000_option_init_struct): Set
      	opts->x_flag_section_anchors to 1 not 2.
      	* config/sh/sh.c (sh_option_optimization): Don't set
      	flag_schedule_insns to 2.
      	(sh_option_override): Check
      	global_options_set.x_flag_schedule_insns.
      	* opts.c (finish_options): Check opts_set->x_flag_section_anchors.
      
      From-SVN: r165539
      Joseph Myers committed
    • configure.ac: Make sure inhibit_libc remains false for mingw targets as cross. · e1dbd4c8
      2010-10-16  Kai Tietz  <kai.tietz@onevision.com>
      
              * configure.ac: Make sure inhibit_libc remains false for mingw targets
              as cross.
              * configure: Regenerated.
      
      From-SVN: r165538
      Kai Tietz committed
    • Daily bump. · e744db7f
      From-SVN: r165537
      GCC Administrator committed
    • In libobjc/: 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com> · 3c44c190
      In libobjc/:
      2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc/runtime.h (class_getIvarLayout): New.
              (class_getWeakIvarLayout): New.
              (class_setIvarLayout): New.
              (class_setWeakIvarLayout): New.
              * ivars.c (class_getIvarLayout): New.
              (class_getWeakIvarLayout): New.
              (class_setIvarLayout): New.
              (class_setWeakIvarLayout): New.
      
      From-SVN: r165533
      Nicola Pero committed
  2. 15 Oct, 2010 27 commits