1. 11 Feb, 2007 7 commits
    • i386.c (TARGET_VECTORIZE_BUILTIN_CONVERSION): Define. · 4c38b6d9
              * config/i386/i386.c (TARGET_VECTORIZE_BUILTIN_CONVERSION): Define.
              (ix86_builtin_conversion): New function.
      
      testsuite/ChangeLog:
      
              * gcc.dg/vect/vect-intfloat-conversion-1.c: Loop gets vectorized
              on i?86 and x86_64.
              * gcc.dg/vect/vect-intfloat-conversion-2.c: Ditto.
              * gcc.dg/vect/vect-floatint-conversion-1.c: New.
              * gcc.dg/vect/vect-93.c: Another loop gets vectorized
              on i?86 and x86_64.
              * gcc.dg/vect/vect-113.c: Ditto.
      
      From-SVN: r121820
      Uros Bizjak committed
    • re PR target/29487 (Shared libstdc++ fails to link) · 56fd65c7
      	PR target/29487
      	* tree.h (DECL_REPLACEABLE_P): New macro.
      	* except.c (set_nothrow_function_flags): Likewise.
      
      	PR target/29487
      	* decl.c (finish_function): Use DECL_REPLACEABLE.
      	* tree.c (cp_cannot_inline_tree_fn): Likewise.
      
      	PR c++/29487
      	* g++.dg/eh/weak1-C: New test.
      	* g++.dg/eh/weak1-a.cc: Likewise.
      	* g++.dg/eh/comdat1.C: Likewise.
      
      From-SVN: r121819
      Mark Mitchell committed
    • tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): New target hook. · f57d17f1
              * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): New target hook.
              * targhooks.c (default_builtin_vectorized_conversion): New.
              * targhooks.h (default_builtin_vectorized_function): New declaration.
              * target.h (struct vectorize): Add builtin_conversion field.
              * tree-vectorizer.h (type_conversion_vec_info_type): New enum
              stmt_vec_info_type value.
              (vectorizable_conversion): New declaration.
              * tree-vect-analyze.c (vect_analyze_operations): Add
              vectorizable_conversion call.
              * target-def.h (TARGET_VECTORIZE_BUILTIN_CONVERSION): New.
              * tree-vect-transform.c (vectorizable_conversion): New function.
              (vect_transform_stmt): Add case for type_conversion_vec_info_type.
              * tree-vect-generic.c (expand_vector_operations_1): Consider correct
              mode.
              * config/rs6000/rs6000.c (rs6000_builtin_conversion): New.
              (TARGET_VECTORIZE_BUILTIN_CONVERSION): Defined.
              (rs6000_expand_builtin): Add handling a case of ALTIVEC_BUILTIN_VCFUX or
              ALTIVEC_BUILTIN_VCFSX.
      
      
      Co-Authored-By: Dorit Nuzman <dorit@il.ibm.com>
      Co-Authored-By: Ira Rosen <irar@il.ibm.com>
      
      From-SVN: r121818
      Tehila Meyzels committed
    • configure.ac: Update TOOLS_TARGET_PAIRS configuration to match gcc/ada/Makefile.in. · 1c85c51a
      	* configure.ac: Update TOOLS_TARGET_PAIRS configuration to match
      	gcc/ada/Makefile.in.
      	* configure: Regenerated.
      
      From-SVN: r121817
      Andreas Schwab committed
    • MAINTAINERS (Language Front End Maintainers): Update my mail address. · 88e1e72a
      	* MAINTAINERS (Language Front End Maintainers): Update my mail
      	address.
      
      From-SVN: r121816
      Francois-Xavier Coudert committed
    • ChangeLog: Whitespace fixes. · 3de8da2a
      	* ChangeLog: Whitespace fixes.
      	* gcc/ChangeLog: Ditto.
      	* gcc/testsuite/ChangeLog: Ditto.
      
      From-SVN: r121815
      Uros Bizjak committed
    • Daily bump. · 617202ac
      From-SVN: r121810
      GCC Administrator committed
  2. 10 Feb, 2007 16 commits
    • re PR target/30634 (FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90) · 51823d47
      	PR target/30634
      	* pa.md (movdf): For 64-bit target, fail if operand 1 is a non-zero
      	CONST_DOUBLE and operand 0 is a hard register.
      	(movdi): For 64-bit target, remove code to force CONST_DOUBLE to
      	memory.  Fail if operand 1 is a non-zero CONST_INT and operand 0
      	is a hard floating-point register.
      
      From-SVN: r121802
      John David Anglin committed
    • Makefile.am: Use $(M4) instead of m4. · 2ccef0dd
      2007-02-10  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	* Makefile.am:  Use $(M4) instead of m4.
      	* Makefile.in:  Regenerate.
      
      From-SVN: r121801
      Thomas Koenig committed
    • Makefile.in (libgcc-support, [...]): Add emutls.c. · 8893239d
      gcc/ChangeLog:
      * Makefile.in (libgcc-support, libgcc.mvars): Add emutls.c.
      * builtin-types.def (BT_WORD): Make unsigned.
      (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
      * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
      (BUILT_IN_EMUTLS_REGISTER_COMMON): New.
      * c-decl.c (grokdeclarator): Don't error if !have_tls.
      * c-parser.c (c_parser_omp_threadprivate): Likewise.
      * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
      emulated tls.
      * expr.c (emutls_var_address): New.
      (expand_expr_real_1): Expand emulated tls.
      (expand_expr_addr_expr_1): Likewise.
      * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
      * output.h (emutls_finish): Declare.
      * toplev.c (compile_file): Call it.
      * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
      address before wrapping in CONST.
      * varasm.c (emutls_htab, emutls_object_type): New.
      (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
      (get_emutls_object_name, get_emutls_object_type): New.
      (get_emutls_init_templ_addr, emutls_decl): New.
      (emutls_common_1, emutls_finish): New.
      (assemble_variable): When emulating tls, swap decls; generate
      constructor for the emutls objects.
      (do_assemble_alias): When emulating tls, swap decl and target name.
      (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
      for emulated tls.
      * varpool.c (decide_is_variable_needed): Look at force_output.
      Recurse for emulated tls.
      (cgraph_varpool_remove_unreferenced_decls): Remove checks redundant
      with decide_is_variable_needed.
      * emutls.c: New file.
      * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
      tls_object for real tls.
      gcc/cp/ChangeLog:
      * decl.c (grokvardecl): Don't error if !have_tls.
      (grokdeclarator): Likewise.
      * parser.c (cp_parser_omp_threadprivate): Likewise.
      gcc/fortran/ChangeLog:
      * f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
      and __emutls_register_common.
      * openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
      * trans-common.c (build_common_decl): Don't check have_tls.
      * trans-decl.c (gfc_finish_var_decl): Likewise.
      * types.def (BT_WORD, BT_FN_PTR_PTR): New.
      (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
      gcc/testsuite/ChangeLog:
      * lib/target-supports.exp (check_effective_target_tls): Redefine
      to mean non-emulated tls.
      * gcc.dg/tls/alias-1.c: Remove tls requirement.
      * gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c,
      gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c,
      gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c,
      gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c,
      gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c,
      gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise.
      
      From-SVN: r121800
      Richard Henderson committed
    • re PR libgcj/30742 (ResourceBundle regression) · ba9652fc
      2007-02-10  Andrew Haley  <aph@redhat.com>
      
      	PR java/30742
      	* gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
      	(getCallingClass): Call GET_CALLING_CLASS.
      	(getCallingClassLoader): Likewise.
      
      From-SVN: r121798
      Andrew Haley committed
    • configure: Rebuilt. · bf654c94
      	* configure: Rebuilt.
      	* configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
      
      From-SVN: r121797
      Mohan Embar committed
    • Makefile.in: Rebuilt. · cef04d59
      	* Makefile.in: Rebuilt.
      	* Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
      	the host's ecj1 executable.
      
      From-SVN: r121796
      Mohan Embar committed
    • Makefile.am: Remove $(srcdir) from assorted targets in maintainer mode. · 7e10187c
      2007-02-10  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	* Makefile.am: Remove $(srcdir) from assorted targets
      	in maintainer mode.
      	* Makefile.in: Regenerate.
      
      From-SVN: r121795
      Thomas Koenig committed
    • sync config directory with src · 003de0e1
      From-SVN: r121794
      Paolo Bonzini committed
    • loop-25.c: Verify the result in the profile pass. · 79ba962c
      	* gcc.dg/tree-ssa/loop-25.c: Verify the result in the profile pass.
      
      From-SVN: r121793
      Zdenek Dvorak committed
    • re PR rtl-optimization/29599 (ICE when building the kernel on SH4) · 4c9034c5
      	PR rtl-optimization/29599
      	* reload1.c (eliminate_regs_in_insn): Take the destination
      	mode into account when computing the offset.
      
      From-SVN: r121792
      Kaz Kojima committed
    • secnds.f: Replace time tolerance with a before-and-after bracket. · 076e8e8d
      * gfortran.dg/secnds.f: Replace time tolerance with a
      before-and-after bracket.
      * gfortran.dg/secnds-1.f: Likewise.
      
      From-SVN: r121791
      Brooks Moses committed
    • i386.h (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New. · ebff937c
      	* gcc/config/i386/i386.h (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New.
      	* gcc/config/i386/darwin.h: (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New.
      	* gcc/config/i386/i386.md (fixuns_trunc<mode>si2, fixuns_truncsfhi2,
      	fixuns_truncdfhi2): New.
      	(fix_truncsfdi_sse): Call ix86_expand_convert_sign_didf_sse.
      	(floatunsdidf2): Call ix86_expand_convert_uns_didf_sse.
      	(floatunssisf2): Add call to ix86_expand_convert_uns_sisf_sse.
      	(floatunssidf2): Allow nonimmediate source.
      	* gcc/config/i386/sse.md (movdi_to_sse): New.  (vec_concatv2di): Drop '*'.
      	* gcc/config/i386/i386-protos.h (ix86_expand_convert_uns_si_sse,
      	ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse,
      	ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse): New.
      	* gcc/config/i386/i386.c (ix86_expand_convert_uns_si_sse,
      	ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse,
      	ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse,
      	ix86_build_const_vector, ix86_expand_vector_init_one_nonzero): New.
      	(ix86_build_signbit_mask): Fix decl of v, refactor to call ix86_build_const_vector.
      	(x86_emit_floatuns): Rewrite.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r121790
      Stuart Hastings committed
    • genautomata.c (longest_path_length): Delete unused function. · 692b647c
      2007-02-10  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	* genautomata.c (longest_path_length): Delete unused function.
      	(struct state): Delete unused longest_path_length.
      	(UNDEFINED_LONGEST_PATH_LENGTH): Delete unused macro.
      	(get_free_state): Delete unused.
      
      From-SVN: r121789
      Manuel López-Ibáñez committed
    • test_summary (configflags): Adjust for changes in the config.status format due… · ce0d943a
      test_summary (configflags): Adjust for changes in the config.status format due to update to autoconf 2.59.
      
      	* test_summary (configflags): Adjust for changes in the
      	config.status format due to update to autoconf 2.59.
      
      From-SVN: r121787
      Hans-Peter Nilsson committed
    • Daily bump. · 088d95f1
      From-SVN: r121785
      GCC Administrator committed
  3. 09 Feb, 2007 17 commits
    • params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30. · d562c668
      	* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30.
      	* doc/invoke.texi (inline-unit-growth): Update default value.
      
      From-SVN: r121781
      Jan Hubicka committed
    • Makefile.in (passes.o, [...]): Add dependencies. · 45a80bb9
      	* Makefile.in (passes.o, ipa-inline.o): Add dependencies.
      	* cgraphbuild.c (build_cgraph_edges): Compute frequencies.
      	(rebuild_cgraph_edges): Likewise.
      	* cgraph.c (cgraph_set_call_stmt): Add new argument frequency.
      	(dump_cgraph_node): Dump frequencies.
      	(cgraph_clone_edge): Add frequency scales.
      	(cgraph_clone_node): Add freuqnecy.
      	* cgraph.h (cgraph_edge): Add freuqnecy argument.
      	(CGRAPH_FREQ_BASE, CGRAPH_FREQ_MAX): New constants.
      	(cgraph_create_edge, cgraph_clone_edge, cgraph_clone_node): Update.
      	* tree-pass.h (TODO_rebuild_frequencies): New constant.
      	* cgraphunit.c (verify_cgraph_node): Verify frequencies.
      	(cgraph_copy_node_for_versioning): Update call of cgraph_clone_edge.
      	(save_inline_function_body): Likewise.
      	* ipa-inline.c: inluce rtl.h
      	(cgraph_clone_inlined_nods): Update call of cgraph_clone_node.
      	(cgraph_edge_badness): Use frequencies.
      	(cgraph_decide_recursive_inlining): Update clonning.
      	(cgraph_decide_inlining_of_small_function): Dump frequency.
      	* predict.c (estimate_bb_frequencies): Export.
      	* predict.h (estimate_bb_frequencies): Declare.
      	* tree-inline.c (copy_bb): Watch overflows.
      	(expand_call_inline): Update call of cgraph_create_edge.
      	(optimize_inline_calls): Use TODO flags to update frequnecies.
      	* passes.h: Include predict.h
      	(init_optimization_passes): Move profile ahead.
      	(execute_function_todo): Handle TODO_rebuild_frequencies.
      
      From-SVN: r121780
      Jan Hubicka committed
    • alpha.c (emit_insxl): Force the first operand of the insbl or inswl pattern into a register. · f2477b06
      
      	* config/alpha/alpha.c (emit_insxl): Force the first operand of
      	the insbl or inswl pattern into a register.
      
      From-SVN: r121779
      Roger Sayle committed
    • re PR bootstrap/30748 (configure broken on trunk) · 44bfc3ac
      	PR bootstrap/30748
      	* configure.ac: Correct syntax for Solaris ksh.
      	* configure: Regenerated.
      
      From-SVN: r121778
      Daniel Jacobowitz committed
    • re PR fortran/30512 ([4.1 only] MAXVAL() incorrect for zero-size int arrays, and… · 88116029
      re PR fortran/30512 ([4.1 only] MAXVAL() incorrect for zero-size int arrays, and for -HUGE-1 maximum values.)
      
      fortran/
      2007-02-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/30512
              * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc,
      	  gfc_conv_intrinsic_minmaxval): Use HUGE-1 for most negative integer.
      
      testsuite/
      2007-02-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/30512
              * gfortran.dg/maxlocval_1.f90: New test.
      
      libgfortran/
      2007-02-09  Thomas Koenig  <Thomas.Koenig@online.de>
      	    Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/30512
              * m4/iparm.m4: Use HUGE-1 for most negative integer.
      	* generated/maxloc1_8_i4.c: Regenerate.
      	* generated/maxloc0_8_i8.c: Regenerate.
      	* generated/maxloc1_16_i4.c: Regenerate.
      	* generated/maxloc0_16_i8.c: Regenerate.
      	* generated/maxval_i4.c: Regenerate.
      	* generated/maxloc1_4_i8.c: Regenerate.
      	* generated/maxloc0_16_i16.c: Regenerate.
      	* generated/maxloc1_4_i16.c: Regenerate.
      	* generated/maxloc0_8_i16.c: Regenerate.
      	* generated/maxloc0_4_i4.c: Regenerate.
      	* generated/maxloc1_8_i8.c: Regenerate.
      	* generated/maxloc0_8_i4.c: Regenerate.
      	* generated/maxloc0_16_i4.c: Regenerate.
      	* generated/maxloc1_16_i8.c: Regenerate.
      	* generated/maxloc1_4_i4.c: Regenerate.
      	* generated/maxval_i8.c: Regenerate.
      	* generated/maxloc0_4_i16.c: Regenerate.
      	* generated/maxloc1_8_i16.c: Regenerate.
      	* generated/maxloc0_4_i8.c: Regenerate.
      	* generated/maxloc1_16_i16.c: Regenerate.
      	* generated/maxval_i16.c: Regenerate.
      
      From-SVN: r121777
      Tobias Burnus committed
    • ia64.md (bswapdi2): New define_insn. · ff848f0e
      
      	* config/ia64/ia64.md (bswapdi2): New define_insn.
      
      	* gcc.target/ia64/builtin_bswap-1.c: New test case.
      
      From-SVN: r121776
      Roger Sayle committed
    • re PR libgcj/30647 (build of gcc midi-dssi fails) · 3db2c087
      	PR libgcj/30647:
      	* configure: Rebuilt.
      	* configure.ac: Also check for jack/jack.h.
      
      From-SVN: r121775
      Tom Tromey committed
    • * sysdep/alpha/locks.h (read_barrier): New. · 507a4fd4
      From-SVN: r121774
      Richard Henderson committed
    • re PR fortran/30720 ([4.1 only] runtime: check for empty array slices before… · 999ffb1a
      re PR fortran/30720 ([4.1 only] runtime: check for empty array slices before allocating a negative amount of memory)
      
      	PR fortran/30720
      
      	* trans-array.c (gfc_trans_create_temp_array): Remove use of the
      	function argument. Always generate code for negative extent.
      	Simplify said code.
      	* trans-array.h (gfc_trans_create_temp_array): Change prototype.
      	* trans-expr.c (gfc_conv_function_call): Remove use of last argument
      	of gfc_trans_create_temp_array.
      	* trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Likewise.
      	* trans-stmt.c (gfc_conv_elemental_dependencies): Likewise.
      
      	* gfortran.dg/array_function_1.f90: New test.
      
      From-SVN: r121773
      Francois-Xavier Coudert committed
    • - reindent ChangeLog entries · b964502b
      From-SVN: r121771
      Matthias Klose committed
    • TimeZone.java: Handle default (one hour) daylight savings. · 3b865a2d
      2007-02-09  Jakub Jelinek  <jakub@redhat.com>
      
              * java/util/TimeZone.java: Handle default (one hour) daylight
              savings.
      
      From-SVN: r121770
      Jakub Jelinek committed
    • * gnu/classpath/jdwp/VMVirtualMachine.java · 410b0a2c
              (_stepping_threads): New member.
              * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
              Regenerated.
              * gnu/classpath/jdwp/VMVirtualMachine.h:
              Regenerated.
              * gnu/claspath/jdwp/natVMVirtualMachine.cc
              (get_request_step_filter): New function.
              (DISABLE_EVENT): New macro.
              (initialize): Initialize _stepping_threads.
              (registerEvent): Implement EVENT_SINGLE_STEP.
              (unregisterEvent): Likewise.
      
      From-SVN: r121769
      Keith Seitz committed
    • constraints.md (Ym): New constraint. · ed69105c
              * config/i386/constraints.md (Ym): New constraint.
              * config/i386/i386.md (movsi_1): Change Y2 to Yi constraints.
              (movdi_1_rex64): Split sse and xmm general register moves from
              memory move alternatives.  Use conditional register constraints.
              (movsf_1, movdf_integer): Likewise.
              (zero_extendsidi2_32, zero_extendsidi2_rex64): Likewise.
              (movdf_integer_rex64): New.
              (pushsf_rex64): Fix output constraints.
              * config/i386/sse.md (sse2_loadld): Split rm alternative, use Yi.
              (sse2_stored): Likewise.
              (sse2_storeq_rex64): New.
              * config/i386/i386.c (x86_inter_unit_moves): Enable for not
              amd and not generic.
              (ix86_secondary_memory_needed): Don't bypass TARGET_INTER_UNIT_MOVES
              for optimize_size.  Remove SF/DFmode hack.
      
      From-SVN: r121767
      Richard Henderson committed
    • TimeZone.java: Handle default (one hour) daylight savings. · 8413669b
      2007-02-09  Jakub Jelinek  <jakub@redhat.com>
      
              * java/util/TimeZone.java: Handle default (one hour) daylight
              savings.
      
      From-SVN: r121766
      Jakub Jelinek committed
    • 2007-02-09 Gary Benson <gbenson@redhat.com> · 87a8ec2b
      	* javax/management/ObjectName.java
      	(quote): Initialize StringBuilder correctly.
      
      From-SVN: r121765
      Gary Benson committed
    • driver-i386.c: Turn on -mtune=native for AMDFAM10. · 35a63f21
      2007-02-09  Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
      
      	* config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10.
      	(bit_SSE4a): New.
      
      From-SVN: r121763
      Dwarakanath Rajagopal committed