1. 21 Jul, 2010 13 commits
  2. 20 Jul, 2010 24 commits
  3. 19 Jul, 2010 3 commits
    • config.gcc (LIBC_GLIBC, [...]): Move constants to top level. · 2c8f43e6
      	* config.gcc (LIBC_GLIBC, LIBC_UCLIBC, LIBC_BIONIC): Move constants
      	to top level.
      	* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Move Android-specific
      	definitions ...
      	* config/linux-android.h (ANDROID_TARGET_OS_CPP_BUILTINS): ... here.
      	New macro.
      	* config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Use it.
      
      From-SVN: r162315
      Maxim Kuvyrkov committed
    • gengtype.c (start_root_entry): New function, split out from write_root. · b08e0339
      gcc/
      	* gengtype.c (start_root_entry): New function, split out from
      	write_root.  Check whether V is null and raise an error if so.
      	(write_field_root): Check for V being null.  Don't raise an error here;
      	set V to null instead.
      	(write_root): Update comment above function.  Use start_root_entry.
      
      From-SVN: r162314
      Richard Sandiford committed
    • re PR fortran/42385 ([OOP] poylmorphic operators do not work) · 974df0f8
      2010-07-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/42385
      	* interface.c (matching_typebound_op): Add argument for the
      	return of the generic name for the procedure.
      	(build_compcall_for_operator): Add an argument for the generic
      	name of an operator procedure and supply it to the expression.
      	(gfc_extend_expr, gfc_extend_assign): Use the generic name in
      	calls to the above procedures.
      	* resolve.c (resolve_typebound_function): Catch procedure
      	component calls for CLASS objects, check that the vtable is
      	complete and insert the $vptr and procedure components, to make
      	the call.
      	(resolve_typebound_function): The same.
      	* trans-decl.c (gfc_trans_deferred_vars): Do not deallocate
      	an allocatable scalar if it is a result.
      
      
      2010-07-19  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/42385
      	* gfortran.dg/class_defined_operator_1.f03 : New test.
      
      From-SVN: r162313
      Paul Thomas committed