1. 05 Dec, 2005 9 commits
    • treetree.c (tree_code_if_start, [...]): Use fold_convert where appropriate. · 25637db2
      2005-12-05  Richard Guenther  <rguenther@suse.de>
      
      	* treetree.c (tree_code_if_start, tree_code_create_variable,
      	tree_code_generate_return, tree_code_get_expression,
      	tree_code_add_parameter): Use fold_convert where appropriate.
      
      From-SVN: r108051
      Richard Guenther committed
    • i386.c (enum ix86_builtins): Remove IX86_BUILTIN_CMPNEPS and IX86_BUILTIN_CMPNESS. · 4501d314
      2005-12-05  Jan Beulich  <jbeulich@novell.com>
      
      	* config/i386/i386.c (enum ix86_builtins): Remove IX86_BUILTIN_CMPNEPS
      	and IX86_BUILTIN_CMPNESS.
      	(ix86_init_mmx_sse_builtins): Remove ti_ftype_ti_ti.
      	* config/i386/i386.h (ALIGN_MODE_128): Don't check TFmode explicitly.
      	* config/i386/i386.md (movti_internal): Correct type attribute.
      	Simplify mode attribute.
      	(movti_rex64, movsf_1, movdf_nointeger, movdf_integer, movtf_internal):
      	Correct type attribute.
      	(absxf2): Correct operator.
      	* config/i386/mmx.md (mov<mode>_internal_rex64, mov<mode>_internal,
      	movv2sf_internal_rex64, movv2sf_internal): Correct type attribute.
      	* config/i386/sse.md (mov<mode>_internal, movv2df_internal): Simplify
      	mode attribute.
      	(sse2_vmsqrtv2df2): Correct mode attribute.
      
      From-SVN: r108048
      Jan Beulich committed
    • ia64.md (rotlsi3_internal): Don't split if rotating by 16 bits. · 51094457
      2005-12-05  Jan Beulich  <jbeulich@novell.com>
      
      	* config/ia64/ia64.md (rotlsi3_internal): Don't split if rotating by
      	16 bits. Provide insn pattern for this case.
      
      From-SVN: r108047
      Jan Beulich committed
    • libgcc2.c (__popcountSI2): Don't use wide type for iterator and result. · 4000debb
      2005-12-05  Jan Beulich  <jbeulich@novell.com>
      
      	* libgcc2.c (__popcountSI2): Don't use wide type for iterator and
      	result.
      	(__popcountDI2): Likewise.
      
      From-SVN: r108046
      Jan Beulich committed
    • movq-2.c: Add -mtune=pentium4 to dg-options. · 9df6c329
      	* gcc.target/i386/movq-2.c: Add -mtune=pentium4 to
      	dg-options.
      
      From-SVN: r108042
      Jakub Jelinek committed
    • re PR target/25166 (FAIL: gcc.c-torture/execute/conversion.c compilation) · 7db0cc7e
      	PR target/25166
      	* pa/pa.c (pa_hpux_init_libfuncs): Add _U_Qfcnvxf_usgl_to_quad and
      	_U_Qfcnvxf_udbl_to_quad to set of initialized libfuncs.
      	* pa/quadlib.c (_U_Qfcnvxf_usgl_to_quad, _U_Qfcnvxf_udbl_to_quad): New
      	functions.
      
      From-SVN: r108039
      John David Anglin committed
    • sso_string_base.h (__sso_string_base<>::_M_reserve): Simplify. · 56540d20
      2005-12-04  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
      	Simplify.
      
      From-SVN: r108036
      Paolo Carlini committed
    • vstring.h (__versa_string<>::operator+, [...]): Move out of line... · cf882919
      2005-12-04  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/vstring.h (__versa_string<>::operator+, all
      	versions): Move out of line...
      	* include/ext/vstring.tcc (__versa_string<>::operator+): ...
      	here; consistently use reserve for the benefit of sso_string_base;
      	prefer push_back to single-char append when appropriate.
      
      	* include/ext/vstring.h (__versa_string<>::push_back): Don't
      	call _M_reserve, _M_mutate instead.
      	(reserve): Just forward to _M_reserve.
      	* include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
      	do the initial checks (first on length, in case __res == capacity).
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
      	Likewise; don't call _M_set_length unnecessarily.
      
      2005-12-04  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/vstring.h (__versa_string<>::_M_append): New.
      	(append(const __versa_string&), append(const __versa_string&,
      	size_type, size_type), append(const _CharT*, size_type),
      	append(const _CharT*)): Use it.
      	(append(size_type, _CharT)): Delegate to _M_replace_aux.
      	(assign(const __versa_string&, size_type, size_type),
      	assign(const _CharT*), replace(size_type, size_type,
      	const _CharT*, size_type)): Forward to _M_replace.
      	* include/ext/vstring.tcc (__versa_string<>::_M_append):
      	Define, core append functionality.
      	(_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
      	(_M_replace_aux): Reorganize, don't call _M_replace.
      
      2005-12-04  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/vstring.tcc (__versa_string<>::_M_replace):
      	Perform _M_check_length at the beginning and remove it from ...
      	(replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
      	(assign): Now move inline.
      	(resize): Don't call _M_check_length redundantly, append does.
      
      2005-12-04  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
      	Add non const version.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
      	Likewise.
      	
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
      	(_M_leak_hard): Use it.
      	* include/ext/vstring.h (__versa_string<>::clear, erase, all
      	versions): Use it.
      	* include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
      
      	* include/ext/vstring.h (__versa_string<>::_M_replace_safe):
      	Remove.
      	* include/ext/vstring.h (__versa_string<>::_M_replace): New, does
      	the in-place work or delegates to _M_mutate in case of reallocation.
      	* include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
      	Remove.
      	* include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
      	(assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
      	Change to manage only reallocations.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
      	Likewise.
      
      	* include/ext/vstring.h (__versa_string<>::insert(size_type,
      	const __versa_string&), insert(size_type, const __versa_string&,
      	size_type, size_type), insert(size_type, const _CharT*, size_type),
      	insert(size_type, const _CharT*)): Delegate to replace.
      
      	* include/ext/vstring.h (__versa_string<>::reserve): Move out of
      	line.
      	* include/ext/vstring.tcc (__versa_string<>::reserve): Do the
      	checks and call _M_reserve.
      	* include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
      	instead of reserve.
      	* include/ext/vstring.tcc (__versa_string<>::append, all versions):
      	Likewise.
      	* include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
      	Adjust.
      	* include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
      	Likewise.
      
      From-SVN: r108034
      Paolo Carlini committed
    • Daily bump. · 73433986
      From-SVN: r108031
      GCC Administrator committed
  2. 04 Dec, 2005 7 commits
  3. 03 Dec, 2005 13 commits
  4. 02 Dec, 2005 11 commits
    • re PR target/25199 (crashing code output from -mtune=pentium4 but not -mtune=pentiumpro) · 0cd0c6fb
      	PR target/25199
      	* config/i386/i386.md (movqi_1): Only force imovx for alternative
      	5 if operand 1 is not aligned.  Undo previous constraint change.
      	* config/i386/predicates.md (aligned_operand): Use MEM_ALIGN.
      testsuite/
      	* gcc.target/i386/movq-2.c: New test.
      	* gcc.target/i386/movq.c: Remove target i?86, instead add
      	dg-require-effective-target ilp32.
      
      From-SVN: r107955
      Jakub Jelinek committed
    • trans.h (build1_v): Use build1, not build to build the void typed tree. · 5d5c039f
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
              * trans.h (build1_v): Use build1, not build to build the
              void typed tree.
      
      From-SVN: r107917
      Richard Guenther committed
    • Add forgotten ChangeLog entry: · cc210577
      2005-11-27  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* m4/ifunction.m4: Add const restrict to function arguments.
      	* m4/iforeach.m4: Likewise.
      	* m4/eoshift1.m4: Likewise.
      	* m4/eoshift3.m4: Likewise.
      	* m4/dotprod.m4: Likewise.
      	* m4/dotprodc.m4: Likewise.
      	* m4/dotprodl.m4: Likewise.
      	* m4/shape.m4: Likewise.
      	* m4/cshift1.m4: Likewise.
      	* m4/reshape.m4: Likewise.
      	* m4/transpose.m4: Likewise.
      	* generated/eoshift*: Regenerated
      	* generated/dotprod*: Likewise.
      	* generated/shape*: Likewise.
      	* generated/cshift1*: Likewise.
      	* generated/reshape*: Likewise.
      	* generated/transpose*: Likewise.
      
      From-SVN: r107912
      Janne Blomqvist committed
    • tree.h (build): Remove prototype. · d82dd39a
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
              * tree.h (build): Remove prototype.
              (build, _buildN1, _buildN2, _buildC1, _buildC2): Remove macros.
              * tree.c (build): Remove.
              (build0_stat): Update comment.
      
      From-SVN: r107909
      Richard Guenther committed
    • Fix accidental deletion of committer's name. · 6ddd4f62
      From-SVN: r107908
      Steven G. Kargl committed
    • tree-ssa-loop-im.c (schedule_sm): Use buildN instead of build. · b4257cfc
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-loop-im.c (schedule_sm): Use buildN instead of build.
      	* tree-complex.c (update_complex_assignment, expand_complex_div_wide):
      	Likewise.
      	* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref,
      	maybe_fold_offset_to_component_ref): Likewise.
      	* tree-ssa-dom.c (thread_across_edge,
      	simplify_rhs_and_lookup_avail_expr,
      	find_equivalent_equality_comparison, record_equivalences_from_stmt):
      	Likewise.
      	* gimple-low.c (lower_function_body, lower_return_expr): Likewise.
      	* tree-eh.c (do_return_redirection, honor_protect_cleanup_actions,
      	lower_try_finally_switch): Likewise.
      	* tree-if-conv.c (add_to_dst_predicate_list,
      	replace_phi_with_cond_modify_expr, ifc_temp_var): Likewise.
      	* gimplify.c (internal_get_tmp_var, gimple_build_eh_filter,
      	voidify_wrapper_expr, build_stack_save_restore, gimplify_bind_expr,
      	gimplify_return_expr, gimplify_decl_expr, gimplify_switch_expr,
      	gimplify_case_label_expr, gimplify_exit_expr, gimplify_self_mod_expr,
      	shortcut_cond_r, shortcut_cond_expr, gimplify_cond_expr,
      	gimplify_init_ctor_eval, gimplify_init_constructor,
      	gimplify_variable_sized_compare, gimplify_boolean_expr,
      	gimplify_cleanup_point_expr, gimple_push_cleanup, gimplify_target_expr,
      	gimplify_expr, gimplify_body, gimplify_function_tree,
      	force_gimple_operand): Likewise.
      	* tree-ssa-pre.c (create_expression_by_pieces): Likewise.
      	* tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for,
      	mx_register_decls): Likewise.
      	* tree-nested.c (init_tmp_var, save_tmp_var, get_static_chain,
      	get_frame_field, finalize_nesting_tree_1): Likewise.
      	* tree-inline.c (setup_one_parameter): Likewise.
      	* tree-vect-transform.c (vectorizable_condition): Likewise.
      	* tree-outof-ssa.c (insert_copy_on_edge, insert_backedge_copies):
      	Likewise.
      	* tree-profile.c (tree_gen_edge_profiler): Likewise.
      	* tree-cfg.c (factor_computed_gotos, gimplify_val): Likewise.
      	* c-parser.c (c_parser_if_body, c_parser_switch_statement): Likewise.
      	* tree-chrec.h (build_polynomial_chrec): Likewise.
      
      From-SVN: r107907
      Richard Guenther committed
    • alpha.c (alpha_va_start, [...]): Use buildN and fold_buildN where applicable. · 47a25a46
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* config/alpha/alpha.c (alpha_va_start, alpha_gimplify_va_arg_1i,
      	alpha_gimplify_va_arg): Use buildN and fold_buildN where applicable.
      	* config/frv/frv.c (frv_expand_builtin_va_start): Likewise.
      	* config/s390/s390.c (s390_va_start, s390_gimplify_va_arg): Likewise.
      	* config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise.
      	* config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise.
      	* config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg):
      	Likewise.
      	* config/sh/sh.c (sh_va_start, sh_gimplify_va_arg_expr,
      	sh_adjust_unroll_max): Likewise.
      	* config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise.
      	* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
      	* config/xtensa/xtensa.c (xtensa_va_start, xtensa_gimplify_va_arg_expr):
      	Likewise.
      	* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start):
      	Likewise.
      	* config/mips/mips.c (mips_va_start, mips_gimplify_va_arg_expr):
      	Likewise.
      
      From-SVN: r107906
      Richard Guenther committed
    • trans.c (gnat_gimplify_expr): Use buildN instead of build. · a380cd0a
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* trans.c (gnat_gimplify_expr): Use buildN instead of build.
      
      From-SVN: r107905
      Richard Guenther committed
    • java-gimplify.c (java_gimplify_labeled_block_expr): Use buildN instead of build. · 1c00c223
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* java-gimplify.c (java_gimplify_labeled_block_expr): Use
      	buildN instead of build.
      	* class.c (finish_class): Likewise.
      	* expr.c (java_create_object): Likewise.
      
      From-SVN: r107904
      Richard Guenther committed
    • semantics.c (simplify_aggr_init_expr): Use buildN instead of build. · d17791d6
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* semantics.c (simplify_aggr_init_expr): Use buildN instead
      	of build.
      
      From-SVN: r107903
      Richard Guenther committed
    • objc-act.c (objc_build_exc_ptr, [...]): Use buildN instead of build. · 9b282d77
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* objc-act.c (objc_build_exc_ptr, next_sjlj_build_enter_and_setjmp
      	next_sjlj_build_exc_extract, next_sjlj_build_catch_list,
      	next_sjlj_build_try_catch_finally, objc_begin_catch_clause,
      	build_objc_method_call, objc_rewrite_function_call): Use buildN
      	instead of build.
      
      From-SVN: r107902
      Richard Guenther committed