1. 08 Sep, 2010 24 commits
  2. 07 Sep, 2010 16 commits
    • re PR tree-optimization/43959 (FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 … · a97a2990
      re PR tree-optimization/43959 (FAIL: gcc.dg/torture/builtin-cproj-1.c  -O1  (test for excess errors))
      
      	PR testsuite/43959
      	* gcc.dg/torture/builtin-cproj-1.c: Require c99 runtime.
      
      From-SVN: r163979
      John David Anglin committed
    • re PR fortran/45576 (ICE on character stuff) · c56c0853
      2010-09-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/45576
      	* dependency.c (gfc_deb_compare_expr):  Take missing optional
      	arguments into account.
      
      2010-09-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/45576
      	* gfortran.dg/char_length_18.f90:  New test.
      
      From-SVN: r163978
      Thomas Koenig committed
    • re PR libstdc++/45549 (merge is_iterator into iterator_traits) · ccef29e8
      2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Marc Glisse  <marc.glisse@normalesup.org>
      
      	PR libstdc++/45549
      	* include/bits/cpp_type_traits.h (__is_iterator_helper): Rename to
      	__has_iterator_category.
      	(__is_iterator): Adjust.
      	* include/bits/stl_iterator_base_types.h (__iterator_traits): Add
      	in C++0x mode, use the latter.
      	(iterator_traits): In C++0x mode, derive from the latter.
      	* include/bits/stl_iterator_base_funcs.h (next, prev): Remove
      	enable_if on the return type.
      
      Co-Authored-By: Marc Glisse <marc.glisse@normalesup.org>
      
      From-SVN: r163977
      Paolo Carlini committed
    • trans.h (gfor_fndecl_clz128, [...]): Remove. · 16c0e295
      	* trans.h (gfor_fndecl_clz128, gfor_fndecl_ctz128): Remove.
      	* trans-decl.c (gfor_fndecl_clz128, gfor_fndecl_ctz128): Remove.
      	(gfc_build_intrinsic_function_decls): Don't build the
      	gfor_fndecl_clz128 and gfor_fndecl_ctz128.
      	* trans-intrinsic.c (gfc_conv_intrinsic_leadz,
      	gfc_conv_intrinsic_trailz): Generate inline arithmetic instead
      	of calling clz128/ctz128 library functions.
      
      From-SVN: r163976
      François-Xavier Coudert committed
    • Fix undeclared function error in tree-vect-data-refs.c. · 237e9c04
      Make sure ix86_cfun_abi always gets declared, and make sure
      that tree-vect-data-refs.c includes "tm_p.h".
      
      From-SVN: r163975
      Richard Henderson committed
    • tree-inline.c (tree_inlinable_function_p): Do not test DECL_REPLACEABLE_P. · f27e50db
      
      	* tree-inline.c (tree_inlinable_function_p): Do not test DECL_REPLACEABLE_P.
      	* ipa-inline.c (cgraph_default_inline_p, update_caller_keys, update_callee_keys,
      	cgraph_decide_inlining): Test function availability.
      	* cif-code.def (OVERWRITABLE): New code.
      
      From-SVN: r163972
      Jan Hubicka committed
    • Redefine STACK_BOUNDARY/PREFERRED_STACK_BOUNDARY for Darwin/x86. · a0766cdb
      gcc/
      
      2010-09-07  H.J. Lu  <hjl.tools@gmail.com>
      	    Jack Howarth <howarth@bromo.med.uc.edu>
      
      	PR target/36502
      	PR target/42313
      	PR target/44651
      	* gcc/config/i386/darwin.h (STACK_BOUNDARY): Redefine as 128 for
      	profiling or 64-bit MS_ABI and as BITS_PER_WORD otherwise.
      	(PREFERRED_STACK_BOUNDARY): Replace STACK_BOUNDARY with 128 in
      	MAX macro.
      
      gcc/testsuite/
      
      2010-09-07  Jack Howarth <howarth@bromo.med.uc.edu>
      
      	PR target/36502
      	* gcc.target/i386/pr36502.c: New test.
      
      	PR target/42313
      	PR target/44651
      	* gcc.target/i386/builtin-unreachable.c: Don't skip on darwin.
      	* gcc/testsuite/gcc.dg/stack-usage-1.c: Use default on i386/Darwin.
      
      From-SVN: r163971
      H.J. Lu committed
    • Include <link.h> only if USE_PT_GNU_EH_FRAME is defined. · 4e751772
      2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* unwind-dw2-fde-glibc.c: Include <elf.h> for DT_CONFIG.
      	Include <link.h> only if USE_PT_GNU_EH_FRAME is defined.
      
      From-SVN: r163970
      H.J. Lu committed
    • Don't append t-android for Android targets. · 274eec6c
      2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config.gcc: Don't append t-android for Android targets.
      
      	* config/t-android: Removed.
      
      From-SVN: r163969
      H.J. Lu committed
    • Hookize exception personality output. · a68b5e52
      	* target.def (TARGET_ASM_EMIT_EXCEPT_PERSONALITY): New hook.
      	* doc/tm.texi.in: Add doc marker.
      	* doc/tm.texi: Rebuild.
      	* except.c (switch_to_exception_section): Always build.
      	(output_one_function_exception_table): Move section switch,
      	personality output, and label output ...
      	(output_function_exception_table): ... here.  Use the new
      	personality hook.
      
      	* config/ia64/ia64.c (ia64_asm_emit_except_personality,
      	ia64_asm_init_sections, TARGET_ASM_EMIT_EXCEPT_PERSONALITY,
      	TARGET_ASM_INIT_SECTIONS): New.
      	(ia64_asm_unwind_emit): Rename from process_for_unwind_directive,
      	make static.
      	(TARGET_ASM_UNWIND_EMIT): Update to match.
      	* config/ia64/ia64-protos.h (process_for_unwind_directive): Remove.
      
      	* config/arm/arm.c (arm_asm_emit_except_personality): New.
      	(arm_asm_init_sections): New.
      	(TARGET_ASM_EMIT_EXCEPT_PERSONALITY, TARGET_ASM_INIT_SECTIONS): New.
      
      From-SVN: r163968
      Richard Henderson committed
    • arm.md: Remove unused variable. · 9b3a7a26
      2010-09-07  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	* config/arm/arm.md: Remove unused variable.
      
      From-SVN: r163967
      Ramana Radhakrishnan committed
    • m32r.h (REGISTER_MOVE_COST, [...]): Remove. · 7149f02c
      	* config/m32r/m32r.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
      	* config/m32r/m32r.c (TARGET_MEMORY_MOVE_COSTS): Define.
      	(m32r_memory_move_cost): New function.
      
      From-SVN: r163966
      Anatoly Sokolov committed
    • re PR fortran/45583 (Typo in onlinedocs/gfortran/COS.html / intrinsics.texi) · 21e92849
      2010-09-07  Tobias Burnus <burnus@net-b.de>
      
              PR fortran/45583
              * intrinsic.texi (COS): Remove superfluous "n".
      
      From-SVN: r163965
      Tobias Burnus committed
    • re PR fortran/45186 (Gfortran 4.5.0 emits wrong linenumbers) · 94471a56
      2010-09-07  Tobias Burnus <burnus@net-b.de>
      
              PR fortran/45186
              * trans-array.c (gfc_conv_descriptor_data_get,
              gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr,
              gfc_conv_descriptor_offset, gfc_conv_descriptor_dtype,
              gfc_conv_descriptor_dimension, gfc_conv_descriptor_stride,
              gfc_conv_descriptor_lbound, gfc_conv_descriptor_ubound,
              gfc_conv_shift_descriptor_lbound,
              gfc_set_loop_bounds_from_array_spec,
              gfc_trans_allocate_array_storage, gfc_trans_create_temp_array,
              gfc_conv_array_transpose, gfc_get_iteration_count,
              gfc_grow_array, gfc_trans_array_ctor_element,
              gfc_trans_array_constructor_subarray,
              gfc_trans_array_constructor_value,
              constant_array_constructor_loop_size,
              gfc_trans_array_constructor,
              gfc_set_vector_loop_bounds, gfc_trans_array_bound_check,
              gfc_conv_array_index_offset, gfc_conv_scalarized_array_ref,
              gfc_conv_array_ref, gfc_trans_preloop_setup,
              gfc_trans_scalarized_loop_end, gfc_conv_ss_startstride,
              gfc_conv_loop_setup, gfc_conv_array_extent_dim,
              gfc_conv_descriptor_size, gfc_array_init_size,
              gfc_array_allocate, gfc_array_deallocate,
              gfc_trans_array_bounds, gfc_trans_auto_array_allocation,
              gfc_trans_dummy_array_bias, gfc_get_dataptr_offset,
              get_array_charlen, gfc_conv_expr_descriptor,
              array_parameter_size, gfc_conv_array_parameter,
              gfc_trans_dealloc_allocated, get_full_array_size,
              duplicate_allocatable,
              structure_alloc_comps): Change fold_build[0-9] to
              fold_build[0-9]_loc.
              (duplicate_allocatable, structure_alloc_comps,
              gfc_duplicate_allocatable): Add space after function name.
      
      From-SVN: r163964
      Tobias Burnus committed