1. 21 Sep, 2010 16 commits
    • intrinsics.texi (HYPOT, [...]): Correct spelling. · ec5e67bf
      2010-09-21  Jason Blevins  <jrblevin@sdf.org>
      
              * intrinsics.texi (HYPOT, IMAGE_INDEX, BESSEL_JN, BESSEL_YN,
              execute_command_line, IEOR, IOR, NORM2, NOT, NULL, PARITY):
              Correct spelling.
      
      From-SVN: r164496
      Jason Blevins committed
    • re PR fortran/45648 (Unnecessary temporary for transpose calls as actual argument.) · 0b4f2770
      2010-09-21  Mikael Morin  <mikael@gcc.gnu.org>
      
      	PR fortran/45648
      	* trans-array.c (gfc_conv_expr_descriptor): Calculate dim out of n and
      	info->dim.
      
      	PR fortran/45648
      	* trans-array.c (gfc_conv_expr_descriptor): Unset full if we are
      	accessing dimensions in reversed order. 
      
      	PR fortran/45648
      	* trans-array.c (gfc_conv_expr_descriptor): Special case noncopying
      	intrinsic function call. 
      
      	* trans-array.c (gfc_conv_expr_descriptor): Remove ss lookup.
      	Update asserts accordingly.
      
      	PR fortran/45648
      	* trans.h (gfc_se): New field force_tmp. 
      	* trans-expr.c (gfc_conv_procedure_call): Check for argument alias
      	and set parmse.force_tmp if some alias is found. 
      	* trans-array.c (gfc_conv_expr_descriptor): Force a temporary creation
      	if se->force_tmp is set. 
      
      2010-09-21  Mikael Morin  <mikael@gcc.gnu.org>
      
      	PR fortran/45648
      	* gfortran.dg/inline_transpose_1.f90: Update temporary's locations
      	and counts. Add non-elemental function call check.
      
      	PR fortran/45648
      	* gfortran.dg/inline_transpose_1.f90: Add function calls with aliasing
      	arguments checks. Update temporary counts.
      	* gfortran.dg/transpose_optimization_1.f90: New.
      
      From-SVN: r164494
      Mikael Morin committed
    • rs6000.h (OUTPUT_ADDR_CONST_EXTRA): Remove macros. · 5e68c77a
      	* config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): Remove macros.
      	* config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra):
      	Remove.
      	* config/rs6000/rs6000.c (rs6000_output_addr_const_extra): Make
      	static.
      	(TTARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
      
      From-SVN: r164493
      Anatoly Sokolov committed
    • Remove strayed semicolon. · 7df82166
      From-SVN: r164492
      Kai Tietz committed
    • re PR objc/25965 (Allows duplicate member names in objc subclasses) · c0c24aa4
      PR objc/25965
      In gcc/objc/:
             * objc-act.c (objc_get_interface_ivars): New function.
             (objc_collecting_ivars): New variable.
             (continue_class): Set and reset objc_collecting_ivars for context.
      In gcc/:
             * c-decl.c (detect_field_duplicates): If compiling Objective-C,
             call objc_get_interface_ivars ().
             * c-family/c-common.h (objc_get_interface_ivars): New declaration.
             * c-family/stub-objc.c (objc_get_interface_ivars): New stub.
      In gcc/objcp/:
             * objcp-decl.c (objcp_finish_struct): Call
             objc_get_interface_ivars() and check for duplicate ivars.
      
      In gcc/testsuite/:
             Merge from 'apple/trunk' branch on FSF servers.
      
             2005-10-11  Fariborz Jahanian <fjahanian@apple.com>
      
                     Radar 4291785
      
                     objc.dg/naming-4.m: New
                     objc.dg/naming-5.m: New
                     obj-c++.dg/naming-1.mm: New
                     obj-c++.dg/naming-2.mm: New
      
      From-SVN: r164491
      Nicola Pero committed
    • re PR target/45694 ([MinGW64] fortran host associated variables+optimization==failure?) · f997b875
      2010-09-21  Kai Tietz  <kai.tietz@onevision.com>
      
              PR target/45694
              * config/i386/i386.c (ix86_expand_prologue): Save r10 in case that
              static chain-register is used for 64-bit.
      
      From-SVN: r164489
      Kai Tietz committed
    • dwarf2out.c (is_cu_die): New function. · 54394f4d
      2010-09-21  Richard Guenther  <rguenther@suse.de>
      
      	* dwarf2out.c (is_cu_die): New function.
      	(add_pubtype): Use it.
      	(gen_subprogram_die): Likewise.
      	(gen_struct_or_union_type_die): Likewise.
      	(dwarf2out_finish): Likewise.
      	(comp_unit_die): Rename to ...
      	(single_comp_unit_die): ... this.
      	(comp_unit_die): New function lazily constructing and
      	returning single_comp_unit_die.
      	(is_cxx, is_fortran, is_ada, debug_dwarf, break_out_comdat_types,
      	base_type_die, subrange_type_die, modified_type_die,
      	lower_bound_default, add_bound_info, add_prototyped_attribute,
      	dwarf2out_vms_debug_main_pointer, scope_die_for, retry_incomplete_types,
      	dwarf2out_abstract_function, gen_type_die_with_usage, get_context_die,
      	force_decl_die, gen_namespace_die, dwarf2out_decl,
      	dwarf2out_start_source_file, dwarf2out_end_source_file,
      	prune_unused_types, dwarf2out_finish): Use it.
      	(gen_compile_unit_die): For GNU GIMPLE derive DW_AT_language from
      	the global list of translation-unit decls.
      	(dwarf2out_init): Do not create single_comp_unit_die here.
      	(force_decl_die): Handle TRANSLATION_UNIT_DECL.
      
      From-SVN: r164484
      Richard Guenther committed
    • dwarf2out.c (dwarf2out_decl): Do not always generate a DIE for bool for C++. · 9cad5fe7
      2010-09-21  Richard Guenther  <rguenther@suse.de>
      
      	* dwarf2out.c (dwarf2out_decl): Do not always generate a DIE
      	for bool for C++.
      
      From-SVN: r164483
      Richard Guenther committed
    • Makefile.in (libgcc-extra-parts): Check for static archives and invoke ranlib… · 5b50fc0c
      Makefile.in (libgcc-extra-parts): Check for static archives and invoke ranlib after installing them.
      
      
      	* Makefile.in (libgcc-extra-parts):  Check for static archives and
      	invoke ranlib after installing them.
      	(gcc-extra-parts): Likewise.
      	(install-leaf): Likewise.
      
      From-SVN: r164482
      Iain Sandoe committed
    • configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. · db50fe7d
      
      	* configure.ac (enable-lto): Add Darwin to the list of supported lto
      	targets and amend comment.
      	* configure: Regenerate.
      
      From-SVN: r164481
      Iain Sandoe committed
    • re PR c++/45645 (pr44972.C fails with error: ‘__assert_fail’ was not declared in this scope) · 5c0f24d0
      
      2010-09-21  Jonathan Wakely  <redi@gcc.gnu.org>
      	    Jack Howarth  <howarth@bromo.med.uc.edu>
      
      	PR c++/45645
      	* g++.dg/torture/pr44972.C: Use portable assert().
      
      
      Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
      
      From-SVN: r164479
      Jonathan Wakely committed
    • configure.ac: Set LIBMATHSPEC to -lm except on darwin. · d80148b8
      
      2010-09-21  Jack Howarth <howarth@bromo.med.uc.edu>
      
      	* libjava/configure.ac: Set LIBMATHSPEC to -lm except on darwin.
      	* libjava/libgcj.spec.in: Use LIBMATHSPEC.
      	* libjava/configure: Regenerate.
      
      From-SVN: r164478
      Jack Howarth committed
    • iterators.md (qhs_extenddi_op): New mode_attr. · c9cdcaa5
      	* config/arm/iterators.md (qhs_extenddi_op): New mode_attr.
      	(qhs_extenddi_cstr): Likewise.
      	* config/arm/arm.md (zero_extend<mode>di2, extend<mode>di2): Use
      	them for the source operand.
      
      From-SVN: r164477
      Bernd Schmidt committed
    • i386.c (ix86_split_ashl): Rename single_width variable to half_width. · 903c31ee
      	* config/i386/i386.c (ix86_split_ashl): Rename single_width variable
      	to half_width.  Use GET_MODE_BITSIZE to calculate mode size.
      	(ix86_split_ashr): Ditto.
      	(ix86_split_lshr): Ditto.
      
      From-SVN: r164476
      Uros Bizjak committed
    • re PR tree-optimization/45580 (Building WebKit fails with compiler catching… · ce2b1d68
      re PR tree-optimization/45580 (Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo())
      
      2010-09-21  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/45580
      	* tree-ssa-propagate.c (substitute_and_fold): Always replace
      	regular uses.
      	* gimple-fold.c (gimple_fold_obj_type_ref): For a BINFO without
      	virtuals fold the call into a regular indirect one.
      
      	* g++.dg/torture/pr45580.C: New testcase.
      
      From-SVN: r164474
      Richard Guenther committed
    • Daily bump. · 1c7f2bc8
      From-SVN: r164472
      GCC Administrator committed
  2. 20 Sep, 2010 24 commits