1. 02 Dec, 2005 29 commits
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · 40b19772
      rguenth authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107907 138bc75d-0d04-0410-961f-82ee72b054a4
      40b19772
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · ed03eadb
      rguenth authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107906 138bc75d-0d04-0410-961f-82ee72b054a4
      ed03eadb
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · c76187f7
      rguenth authored
      	* trans.c (gnat_gimplify_expr): Use buildN instead of build.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107905 138bc75d-0d04-0410-961f-82ee72b054a4
      c76187f7
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · 4d996ee8
      rguenth authored
      	* java-gimplify.c (java_gimplify_labeled_block_expr): Use
      	buildN instead of build.
      	* class.c (finish_class): Likewise.
      	* expr.c (java_create_object): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107904 138bc75d-0d04-0410-961f-82ee72b054a4
      4d996ee8
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · 79e6e76b
      rguenth authored
      	* semantics.c (simplify_aggr_init_expr): Use buildN instead
      	of build.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107903 138bc75d-0d04-0410-961f-82ee72b054a4
      79e6e76b
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · a3a36c39
      rguenth authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107902 138bc75d-0d04-0410-961f-82ee72b054a4
      a3a36c39
    • fxcoudert's avatar
      PR libfortran/25116 · afb7916b
      fxcoudert authored
      	* io/transfer.c (data_transfer_init): Don't set the default for
      	namelist I/O on preconnected files to UNFORMATTED.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107900 138bc75d-0d04-0410-961f-82ee72b054a4
      afb7916b
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · 5a12b939
      rguenth authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107894 138bc75d-0d04-0410-961f-82ee72b054a4
      5a12b939
    • danglin's avatar
      * pa.c (pa_secondary_reload): Revise initialization of variable regno. · cca0fae1
      danglin authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107890 138bc75d-0d04-0410-961f-82ee72b054a4
      cca0fae1
    • reichelt's avatar
      PR c++/24103 · ca9ef96a
      reichelt authored
      	* g++.dg/other/default1.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107889 138bc75d-0d04-0410-961f-82ee72b054a4
      ca9ef96a
    • gdr's avatar
      * ggc.h (GGC_RESIZEVEC): New. · 7ea410eb
      gdr authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107887 138bc75d-0d04-0410-961f-82ee72b054a4
      7ea410eb
    • reichelt's avatar
      * gcc.c (execute): Improve readability. · d4523b3e
      reichelt authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107886 138bc75d-0d04-0410-961f-82ee72b054a4
      d4523b3e
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · 44ac61ba
      rguenth authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107885 138bc75d-0d04-0410-961f-82ee72b054a4
      44ac61ba
    • gdr's avatar
      · 56e60747
      gdr authored
              * 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107884 138bc75d-0d04-0410-961f-82ee72b054a4
      56e60747
    • gdr's avatar
      * gcc.dg/lvalue-2.c (f0): Put "error: " marker back. · 4ae7f7e6
      gdr authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107883 138bc75d-0d04-0410-961f-82ee72b054a4
      4ae7f7e6
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · d59ffb8f
      rguenth authored
              * convert.c (convert_to_integer): Fix compare for nonpositive
              constant to use tree_int_cst_sgn <= 0.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107882 138bc75d-0d04-0410-961f-82ee72b054a4
      d59ffb8f
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · 33b4017a
      rguenth authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107881 138bc75d-0d04-0410-961f-82ee72b054a4
      33b4017a
    • rguenth's avatar
      2005-12-02 Richard Guenther <rguenther@suse.de> · 01329d30
      rguenth authored
      	* tree-pretty-print.c (op_symbol): Handle LROTATE_EXPR
      	and RROTATE_EXPR.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107880 138bc75d-0d04-0410-961f-82ee72b054a4
      01329d30
    • amodra's avatar
      PR target/21017 · 86926b06
      amodra authored
      	* gcc.target/powerpc/rotate.c: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107878 138bc75d-0d04-0410-961f-82ee72b054a4
      86926b06
    • jvdelisle's avatar
      2005-12-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> · 55b2a6f0
      jvdelisle authored
      	* gfortran.dg/pr24489.f90: Delete, replaced by read_eor.f90.
      	* gfortran.dg/pr24584.f90: Delete, replaced by namelist_empty.f90. 
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107874 138bc75d-0d04-0410-961f-82ee72b054a4
      55b2a6f0
    • amodra's avatar
      PR target/21017 · ec830b68
      amodra authored
      	* combine.c (simplify_logical <IOR>): Simplify more patterns to
      	rotates.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107873 138bc75d-0d04-0410-961f-82ee72b054a4
      ec830b68
    • amodra's avatar
      PR middle-end/25176 · a7e05170
      amodra authored
      	* function.c (expand_function_end): Emit blockage for unwinder
      	after return label.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107871 138bc75d-0d04-0410-961f-82ee72b054a4
      a7e05170
    • sayle's avatar
      · 05812c7f
      sayle authored
      	* 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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107870 138bc75d-0d04-0410-961f-82ee72b054a4
      05812c7f
    • bje's avatar
      Missed in last check-in. · d0656cc9
      bje authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107865 138bc75d-0d04-0410-961f-82ee72b054a4
      d0656cc9
    • bje's avatar
      Missed in checkin. :-( · e03b3837
      bje authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107864 138bc75d-0d04-0410-961f-82ee72b054a4
      e03b3837
    • bje's avatar
      2005-12-02 Jon Grimm <jgrimm2@us.ibm.com> · 3c28f41a
      bje authored
      	    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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107861 138bc75d-0d04-0410-961f-82ee72b054a4
      3c28f41a
    • gdr's avatar
      * parser.c (cp_parser_make_typename_type): Call make_typename_type · c31fdaf6
      gdr authored
              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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107855 138bc75d-0d04-0410-961f-82ee72b054a4
      c31fdaf6
    • kargl's avatar
      2005-12-01 Erik Schnetter <schnetter@aei.mpg.de> · b118a35b
      kargl authored
      	* decl.c (gfc_match_old_kind_spec):  Improve handling of old style
      	COMPLEX*N
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107853 138bc75d-0d04-0410-961f-82ee72b054a4
      b118a35b
    • gccadmin's avatar
      Daily bump. · b16ff289
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107847 138bc75d-0d04-0410-961f-82ee72b054a4
      b16ff289
  2. 01 Dec, 2005 11 commits