1. 03 Dec, 2005 6 commits
  2. 02 Dec, 2005 34 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
    • re PR libfortran/25116 ([4.0] namelist read from non-opened file) · cc0de35e
      	PR libfortran/25116
      	* io/transfer.c (data_transfer_init): Don't set the default for
      	namelist I/O on preconnected files to UNFORMATTED.
      
      From-SVN: r107900
      Francois-Xavier Coudert committed
    • tree-vrp.c (build_assert_expr_for, [...]): Use buildN instead of build. · 0d451405
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* tree-vrp.c (build_assert_expr_for, process_assert_insertions_for,
      	simplify_cond_using_ranges): Use buildN instead of build.
      	* tree-tailcall.c (adjust_accumulator_values,
      	adjust_return_value): Likewise.
      	* tree-sra.c (generate_one_element_ref, generate_copy_inout,
      	generate_element_copy, generate_element_zero,
      	generate_one_element_init): Likewise.
      	* tree-ssa-forwprop.c (forward_propagate_into_cond_1): Likewise.
      	* lambda-code.c (gcc_loop_to_lambda_loop, lbv_to_gcc_expression,
      	lle_to_gcc_expression, lambda_loopnest_to_gcc_loopnest,
      	perfect_nestify): Likewise.
      
      From-SVN: r107894
      Richard Guenther committed
    • pa.c (pa_secondary_reload): Revise initialization of variable regno. · 69f8a2d6
      	* pa.c (pa_secondary_reload): Revise initialization of variable regno.
      
      From-SVN: r107890
      John David Anglin committed
    • re PR c++/24103 (ICE in simple_cst_equal) · 631ba327
      	PR c++/24103
      	* g++.dg/other/default1.C: New test.
      
      From-SVN: r107889
      Volker Reichelt committed
    • ggc.h (GGC_RESIZEVEC): New. · 7767580e
              * ggc.h (GGC_RESIZEVEC): New.
      
      cp/
              * parser.c (cp_lexer_new_main): Usr GGC_RESIZEVEC instead of 
              ggc_realloc.
              (cp_parser_template_argument_list): Use XRESIZEVEC instead of xrealloc.
              * class.c (pushclass): Likewise.
      
      From-SVN: r107887
      Gabriel Dos Reis committed
    • * gcc.c (execute): Improve readability. · eeac616e
      From-SVN: r107886
      Volker Reichelt committed
    • tree-cfg.c (mark_used_vars): New function. · 4e20d9c4
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* tree-cfg.c (mark_used_vars): New function.
      	(dump_function_to_file): Dump only used VAR_DECLs.
      
      	* gcc.dg/tree-ssa/20031106-6.c: Remove XFAIL.
      
      From-SVN: r107885
      Richard Guenther committed
    • decl2.c (get_priority_info): Use XNEW, not xmalloc. · 0ac1b889
      
              * decl2.c (get_priority_info): Use XNEW, not xmalloc.
              * decl.c (push_switch): Likewise.
              * lex.c (handle_pragma_implementation): Likewise.
              * cp-objcp-common.c (decl_shadowed_for_var_insert): Use GGC_NEW,
              not ggc_alloc.
              (cxx_initialize_diagnostics): Use XNEW, not xmalloc.
              * class.c (init_class_processing): Use XNEWVEC, not xmalloc.
              * g++spec.c (lang_specific_driver): Likewise.
              * mangle.c (save_partially_mangled_name): Likewise.
              * parser.c (cp_lexer_new_main): Use GGC_NEWVEC, not ggc_alloc.
              (cp_parser_template_argument_list): Use XNEWVEC, nto xmalloc.
              (cp_parser_sizeof_operand): Likewise.
              * repo.c (open_repo_file, open_repo_file): Likewise.
      
      From-SVN: r107884
      Gabriel Dos Reis committed
    • lvalue-2.c (f0): Put "error: " marker back. · 20186b38
              * gcc.dg/lvalue-2.c (f0): Put "error: " marker back.
      
      From-SVN: r107883
      Gabriel Dos Reis committed
    • convert.c (convert_to_integer): Fix compare for nonpositive constant to use tree_int_cst_sgn <= 0. · da6d971d
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
              * convert.c (convert_to_integer): Fix compare for nonpositive
              constant to use tree_int_cst_sgn <= 0.
      
      From-SVN: r107882
      Richard Guenther committed
    • convert.c (convert_to_integer): Use fold_convert instead of fold_build1 (NOP_EXPR, ...). · e7a6c127
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* convert.c (convert_to_integer): Use fold_convert instead
      	of fold_build1 (NOP_EXPR, ...).  Use tree_int_cst_sgn < 0
      	instead of comparing against 0.  Use build_int_cst instead
      	of converting integer_zero_node.
      
      From-SVN: r107881
      Richard Guenther committed
    • tree-pretty-print.c (op_symbol): Handle LROTATE_EXPR and RROTATE_EXPR. · de3d4fc2
      2005-12-02  Richard Guenther  <rguenther@suse.de>
      
      	* tree-pretty-print.c (op_symbol): Handle LROTATE_EXPR
      	and RROTATE_EXPR.
      
      From-SVN: r107880
      Richard Guenther committed
    • re PR target/21017 (ppc 64bit target not using rlwinm) · c378afbb
      	PR target/21017
      	* gcc.target/powerpc/rotate.c: New.
      
      From-SVN: r107878
      Alan Modra committed
    • pr24489.f90: Delete, replaced by read_eor.f90. · d82ef875
      2005-12-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* gfortran.dg/pr24489.f90: Delete, replaced by read_eor.f90.
      	* gfortran.dg/pr24584.f90: Delete, replaced by namelist_empty.f90.
      
      From-SVN: r107874
      Jerry DeLisle committed
    • re PR target/21017 (ppc 64bit target not using rlwinm) · c54293c6
      	PR target/21017
      	* combine.c (simplify_logical <IOR>): Simplify more patterns to
      	rotates.
      
      From-SVN: r107873
      Alan Modra committed
    • re PR middle-end/25176 ([4.0 only] FAIL: Array_3 -O3 execution - bytecode->native test) · 815eb8f0
      	PR middle-end/25176
      	* function.c (expand_function_end): Emit blockage for unwinder
      	after return label.
      
      From-SVN: r107871
      Alan Modra committed
    • tree.h (TREE_OVERFLOW): Make this flag/predicate specific to constant nodes, i.e. · 87f2a9f5
      
      	* tree.h (TREE_OVERFLOW): Make this flag/predicate specific to
      	constant nodes, i.e. INTEGER_CST, REAL_CST, etc...
      	* tree-vrp.c (compare_values): Only check TREE_OVERFLOW for
      	integer constant comparisons.
      
      ada/
      	* utils.c (max_size): Only test for TREE_OVERFLOW on INTEGER_CST
      	nodes.
      
      From-SVN: r107870
      Roger Sayle committed
    • Missed in last check-in. · cf84391c
      From-SVN: r107865
      Ben Elliston committed
    • Missed in checkin. :-( · 3e70ce6b
      From-SVN: r107864
      Ben Elliston committed
    • dfp.h, dfp.c: New files. · 909e2256
      2005-12-02  Jon Grimm  <jgrimm2@us.ibm.com>
      	    Janis Johnson  <janis187@us.ibm.com>
      	    David Edelsohn  <dje@watson.ibm.com>
      	    Ben Elliston  <bje@au.ibm.com>
      
      	* dfp.h, dfp.c: New files.
      	* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
      	(DECNUM_H): Likewise.
      	(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
      	(INCLUDES): Append $(DECNUMINC).
      	(OBJS-common): Add dfp.o.
      	(dfp.o): New rule.
      	* real.h (EXP_BITS): Pinch one bit to ..
      	(struct real_value): Add decimal field.
      	(real_format): Change table size, update documentation.
      	(REAL_MODE_FORMAT): Update for to handle float, decimal float.
      	(real_from_string3): Declare.
      	(decimal_single_format): Declare.
      	(decimal_double_format): Declare.
      	(decimal_quad_format): Declare.
      	(REAL_VALUE_TO_TARGET_DECIMAL32): New.
      	(REAL_VALUE_TO_TARGET_DECIMAL64): New.
      	(REAL_VALUE_TO_TARGET_DECIMAL128): New.
      	* real.c: Include dfp.h.
      	(normalize): Early return for decimal floats.
      	(do_add): Zero decimal field.
      	(do_compare): Call do_decimal_compare for decimal floats.
      	(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
      	(real_arithmetic): Call decimal_real_arithmetic for decimal
      	floating point operands.
      	(real_identical): If a and b are of differing radix, return false.
      	(real_to_integer): Call decimal_real_to_integer if the value is a
      	decimal float.
      	(real_to_integer2): Likewise, call decimal_real_to_integer2.
      	(real_to_decimal): Likewise, call decimal_real_to_decimal.
      	(real_to_hexadecimal): Place "N/A" in the return string for
      	decimal float.
      	(real_from_string3): New variant, given a mode.
      	(real_maxval): Use decimal_real_maxval for decimal floats.
      	(round_for_format): Use decimal_round_for_format for decimals.
      	(real_convert): Use decimal_real_convert where appropriate.
      	(significand_size): Handle base 10.
      	(encode_decimal_single, decode_decimal_single,
      	encode_decimal_double, decode_decimal_double, encode_decimal_quad,
      	decode_decimal_quad): New functions.
      	(decimal_single_format): New.
      	(decimal_double_format): New.
      	(decimal_quad_format): New.
      	* machmode.def: Add SD, DD and TD decimal floating point modes.
      	* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
      	Include MODE_DECIMAL_FLOAT.
      	(DECIMAL_FLOAT_MODE_P): New.
      	* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
      	* genmodes.c (struct mode_data): Add counter field.
      	(struct mode_data): Update comment for format.
      	(blank_mode): Initialise counter field.
      	(new_mode): Increment counter field for each mode defined.
      	(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
      	using a format.
      	(make_complex_modes): Handle modes containing `D'.
      	(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
      	(make_decimal_float_mode): New.
      	(reset_float_format): Handle MODE_DECIMAL_FLOAT.
      	(cmp_modes): Compare counter field if other characteristics
      	similar.
      	(emit_real_format_for_mode): Support formats for decimal floats.
      	* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
      	Document MODE_DECIMAL_FLOAT.
      
      Co-Authored-By: Ben Elliston <bje@au.ibm.com>
      Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
      Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
      
      From-SVN: r107861
      Jon Grimm committed
    • parser.c (cp_parser_make_typename_type): Call make_typename_type with tf_none… · 8da15291
      parser.c (cp_parser_make_typename_type): Call make_typename_type with tf_none instead of magic value 0.
      
              * parser.c (cp_parser_make_typename_type): Call make_typename_type
              with tf_none instead of magic value 0.
              (cp_parser_explicit_instantiation): Call do_type_instantiation
              with tf_error instead of magic value 1.
              (cp_parser_elaborated_type_specifier): Call make_typename_type
              with tf_error instead of magic value 1.
              (cp_parser_class_name): Likewise.
              (cp_parser_lookup_name): Likewise.
      
      From-SVN: r107855
      Gabriel Dos Reis committed
    • decl.c (gfc_match_old_kind_spec): Improve handling of old style COMPLEX*N · e45b3c75
      2005-12-01  Erik Schnetter  <schnetter@aei.mpg.de>
      
      	* decl.c (gfc_match_old_kind_spec):  Improve handling of old style
      	COMPLEX*N
      
      From-SVN: r107853
      Erik Schnetter committed
    • Daily bump. · 86e1c63b
      From-SVN: r107847
      GCC Administrator committed