1. 26 Feb, 2008 1 commit
    • system.h (USE_MAPPED_LOCATION): Poison. · 2d593c86
      gcc
      	* system.h (USE_MAPPED_LOCATION): Poison.
      	* Makefile.in (GTFILES): Put CPP_ID_DATA_H first.
      	* tree-cfg.c (make_cond_expr_edges): Remove old location code.
      	(make_goto_expr_edges): Likewise.
      	(remove_bb): Likewise.
      	(execute_warn_function_return): Likewise.
      	* basic-block.h (struct edge_def) <goto_locus>: Change type to
      	location_t.
      	* c-common.c (fname_decl): Remove old location code.
      	* tree-vect-transform.c (vect_finish_stmt_generation): Remove old
      	location code.
      	* rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location
      	variant.
      	(ASM_INPUT_SOURCE_LOCATION): Likewise.
      	(gen_rtx_ASM_INPUT): Likewise.
      	(gen_rtx_ASM_INPUT_loc): Likewise.
      	(get_rtx_asm_OPERANDS): Remove.
      	* cfglayout.c (insn_locators_alloc): Remove old location code.
      	(set_curr_insn_source_location): Likewise.
      	(curr_insn_locator): Likewise.
      	* print-tree.c (print_node): Remove old location code.
      	* tree-mudflap.c (mf_varname_tree): Remove old location code.
      	(mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION.
      	* cfgexpand.c (expand_gimple_cond_expr): Don't use
      	location_from_locus.
      	(construct_exit_block): Remove old location code.
      	* emit-rtl.c (force_next_line_note): Remove old location code.
      	* profile.c (branch_prob): Remove old location code.
      	* tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
      	LOC_LINE): Remove old-location variants.
      	* langhooks.c (lhd_print_error_function): Remove old location
      	code.
      	* configure, config.in: Rebuilt.
      	* configure.ac (--enable-mapped-location): Remove.
      	* c-decl.c (c_init_decl_processing): Remove old location code.
      	(finish_function): Likewise.
      	* recog.c (decode_asm_operands): Remove old location code.
      	* c-pch.c (c_common_read_pch): Remove old location code.
      	* rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location
      	variants.
      	* gimple-low.c (lower_function_body): Remove old location code.
      	* toplev.c (unknown_location): Remove.
      	(push_srcloc): Remove old-location variant.
      	(process_options): Remove old location code.
      	(lang_dependent_init): Likewise.
      	* input.h (UNKNOWN_LOCATION): Move definition.
      	(location_t): Undeprecate.
      	(source_locus): Remove.
      	(location_from_locus): Remove.
      	(struct location_s): Remove.
      	Remove all old-location code.
      	(input_line, input_filename): Remove.
      	* final.c (final_scan_insn): Remove old location code.
      	* diagnostic.c (diagnostic_build_prefix): Remove
      	USE_MAPPED_LOCATION test.
      	* tree.h (gimple_stmt) <locus>: Now a location_t.
      	(tree_exp) <locus>: Likewise.
      	(DECL_IS_BUILTIN): Remove old-location variant.
      	(annotate_with_file_line, annotate_with_locus): Likewise.
      	(expr_locus, set_expr_locus): Update.
      	* tree.c (build1_stat): Remove old location code.
      	(last_annotated_node): Remove.
      	(annotate_with_file_line): Remove old-location variant.
      	(annotate_with_locus): Likewise.
      	(expr_location): Remove old location code.
      	(set_expr_location): Likewise.
      	(expr_has_location): Likewise.
      	(expr_locus): Likewise.
      	(set_expr_locus): Likewise.
      	(expr_filename): Don't use location_from_locus.
      	(expr_lineno): Likewise.
      	* rtl-error.c (location_for_asm): Remove old location code.
      	* c-lex.c (cb_line_change): Remove old location code.
      	(fe_file_change): Likewise.
      	(cb_def_pragma): Likewise.
      	(c_lex_with_flags): Likewise.
      	* gengtype.c (do_typedef): Don't special-case location types.
      	(define_location_structures): Remove.
      	(main): Don't call define_location_structures.
      	* tree-pretty-print.c (dump_implicit_edges): Remove old location
      	code.
      gcc/ada
      	* misc.c (internal_error_function): Remove test of
      	USE_MAPPED_LOCATION.
      	* trans.c (gigi): Remove test of USE_MAPPED_LOCATION.
      	(Sloc_to_locus): Remove old location code.
      gcc/cp
      	* parser.c (eof_token): Remove old location code.
      	(check_empty_body): Remove test of USE_MAPPED_LOCATION.
      	* decl2.c (generate_ctor_or_dtor_function): Remove old location
      	code.
      	(cp_write_global_declarations): Likewise.
      	* lex.c (cxx_init): Remove old location code.
      	(handle_pragma_implementation): Remove test of
      	USE_MAPPED_LOCATION.
      	* pt.c (tsubst): Remove old location code.
      	* error.c (cp_print_error_function): Remove test of
      	USE_MAPPED_LOCATION.
      	* decl.c (pop_label): Remove old location code.
      	(finish_function): Likewise.
      gcc/fortran
      	* trans-io.c (set_error_locus): Remove old location code.
      	* trans-decl.c (gfc_set_decl_location): Remove old location code.
      	* f95-lang.c (gfc_init): Remove test of USE_MAPPED_LOCATION.
      	* scanner.c (gfc_gobble_whitespace): Remove old location code.
      	(get_file): Likewise.
      	(preprocessor_line): Likewise.
      	(load_file): Likewise.
      	(gfc_new_file): Likewise.
      	* trans.c (gfc_trans_runtime_check): Remove old location code.
      	(gfc_get_backend_locus): Likewise.
      	(gfc_set_backend_locus): Likewise.
      	* data.c (gfc_assign_data_value): Remove old location code.
      	* error.c (show_locus): Remove old location code.
      	* gfortran.h (gfc_linebuf): Remove old location code.
      	(gfc_linebuf_linenum): Remove old-location variant.
      gcc/java
      	* lang.c (java_post_options): Remove conditional.
      	* expr.c (expand_byte_code): Remove old location code.
      	* jcf-parse.c (set_source_filename): Remove old location code.
      	(give_name_to_class): Likewise.
      	(jcf_parse): Likewise.
      	(duplicate_class_warning): Likewise.
      	(parse_class_file): Likewise.
      	(java_parse_file): Likewise.
      	* decl.c (finish_method): Remove old location code.
      	* class.c (push_class): Remove old location code.
      gcc/objc
      	* objc-act.c (objc_init): Remove old location code.
      gcc/treelang
      	* tree1.c (treelang_init): Remove old location code.
      	(treelang_parse_file): Likewise.
      	* lex.l (LINEMAP_POSITION_FOR_COLUMN): Remove.
      	(update_lineno_charno): Remove old location code.
      
      From-SVN: r132679
      Tom Tromey committed
  2. 06 Feb, 2008 1 commit
    • re PR other/35107 (GCC unnecessarily links shared libs with xgcc, gcov, cpp, jcf-dump, etc.) · 72fb133f
      2008-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
      
      	PR other/35107
      	* Makefile.in (LIBS): Remove $(GMPLIBS).
      	(cc1-dummy, cc1): Add $(GMPLIBS).
      
      ada:
      	PR other/35107
      	* Make-lang.in (gnat1): Add $(GMPLIBS).
      
      cp:
      	PR other/35107
      	* Make-lang.in (cc1plus-dummy, cc1plus): Add $(GMPLIBS).
      
      fortran:
      	PR other/35107
      	* Make-lang.in (f951): Add $(GMPLIBS).
      
      java:
      	PR other/35107
      	* Make-lang.in (jc1): Add $(GMPLIBS).
      
      objc:
      	PR other/35107
      	* Make-lang.in (cc1obj-dummy, cc1obj): Add $(GMPLIBS).
      
      objcp:
      	PR other/35107
      	* Make-lang.in (cc1objplus-dummy, cc1objplus): Add $(GMPLIBS).
      
      treelang:
      	PR other/35107
      	* Make-lang.in (tree1): Add $(GMPLIBS).
      
      From-SVN: r132160
      Kaveh R. Ghazi committed
  3. 02 Aug, 2007 1 commit
  4. 29 Jul, 2007 1 commit
    • attribs.c (hash_attr, [...]): Constify. · fa233e34
      	* attribs.c (hash_attr, eq_attr, init_attributes): Constify.
      	* builtins.c (validate_arg, builtin_mathfn_code,
      	validate_arglist): Likewise.
      	* calls.c (call_expr_flags): Likewise.
      	* combine.c (reg_nonzero_bits_for_combine,
      	reg_num_sign_bit_copies_for_combine, get_last_value,
      	reg_truncated_to_mode): Likewise.
      	* emit-rtl.c (subreg_lowpart_p): Likewise.
      	* expr.c (highest_pow2_factor_for_target,
      	categorize_ctor_elements_1, categorize_ctor_elements,
      	count_type_elements, contains_packed_reference,
      	highest_pow2_factor, highest_pow2_factor_for_target): Likewise.
      	* fold-const.c (may_negate_without_overflow_p, int_const_binop,
      	fold_convertible_p, operand_equal_p, tree_swap_operands_p,
      	native_encode_int, native_encode_real, native_encode_complex,
      	native_encode_vector, native_encode_expr, native_interpret_int,
      	native_interpret_real, native_interpret_complex,
      	native_interpret_vector, native_interpret_expr): Likewise.
      	* function.c (use_register_for_decl): Likewise.
      	* gimplify.c (get_name): Likewise.
      	* langhooks-def.h (lhd_return_null_const_tree): New.
      	(LANG_HOOKS_GET_CALLEE_FNDECL): Use it.
      	* langhooks.c (lhd_return_null_const_tree): New.
      	* langhooks.h (lang_get_callee_fndecl): Constify.
      	* output.h (constructor_static_from_elts_p): Likewise.
      	* rtl-factoring.c (gen_symbol_ref_rtx_for_label): Likewise.
      	* rtl.h (nonzero_bits, num_sign_bit_copies, truncated_to_mode,
      	subreg_lowpart_p, noop_move_p, struct rtl_hooks): Likewise.
      	* rtlanal.c (cached_nonzero_bits, nonzero_bits1,
      	cached_num_sign_bit_copies, num_sign_bit_copies1, noop_move_p,
      	nonzero_bits, num_sign_bit_copies, truncated_to_mode): Likewise.
      	* rtlhooks-def.h (reg_nonzero_bits_general,
      	reg_num_sign_bit_copies_general, reg_truncated_to_mode_general):
      	Likewise. 
      	* rtlhooks.c (reg_num_sign_bit_copies_general,
      	reg_nonzero_bits_general, reg_truncated_to_mode_general):
      	Likewise. 
      	* stmt.c (warn_if_unused_value, is_body_block): Likewise.
      	* stor-layout.c (mode_for_size_tree): Likewise.
      	* tree-ssa-loop-im.c (memref_eq): Likewise.
      	* tree-ssa-loop-ivopts.c (tree_int_cst_sign_bit): Likewise.
      	* tree.c (contains_placeholder_p, type_list_equal,
      	simple_cst_equal, get_callee_fndecl, operand_equal_for_phi_arg_p):
      	Likewise. 
      	* tree.h (tree_int_cst_sign_bit, may_negate_without_overflow_p,
      	mode_for_size_tree, categorize_ctor_elements, count_type_elements,
      	contains_placeholder_p, contains_packed_reference,
      	get_callee_fndecl, operand_equal_for_phi_arg_p,
      	warn_if_unused_value, is_body_block, native_encode_expr,
      	native_interpret_expr, fold_convertible_p, operand_equal_p,
      	int_const_binop, tree_swap_operands_p, builtin_mathfn_code,
      	validate_arglist, simple_cst_equal, type_list_equal,
      	use_register_for_decl, call_expr_flags, get_name,
      	highest_pow2_factor): Likewise.
      	(const_call_expr_arg_iterator_d,
      	init_const_call_expr_arg_iterator, next_const_call_expr_arg,
      	first_const_call_expr_arg, more_const_call_expr_args_p,
      	FOR_EACH_CONST_CALL_EXPR_ARG): New.
      	* varasm.c (constructor_static_from_elts_p): Constify.
      	
      cp:
      	* parser.c (eof_token): Un-constify.
      	(cp_lexer_new_main, cp_lexer_new_from_tokens, VEC_alloc,
      	cp_lexer_consume_token, cp_lexer_purge_token): Remove spurious
      	casts.
      
      java:
      	* lang.c (java_get_callee_fndecl): Constify.
      
      objc:
      	* objc-act.c (objc_get_callee_fndecl): Constify.
      	* objc-act.h (objc_get_callee_fndecl): Likewise.
      
      From-SVN: r127036
      Kaveh R. Ghazi committed
  5. 25 Jul, 2007 1 commit
    • c-common.c (fname_as_string, [...]): Constify. · 741ac903
      	* c-common.c (fname_as_string, c_type_hash): Constify.
      	* c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise.
      	* cgraph.c (edge_hash, edge_eq): Likewise.
      	* dwarf2out.c (decl_die_table_eq, decl_loc_table_eq): Likewise.
      	* emit-rtl.c (mem_attrs_htab_eq, reg_attrs_htab_hash,
      	reg_attrs_htab_eq): Likewise.
      	* except.c (t2r_eq, t2r_hash, ttypes_filter_eq, ehl_hash, ehl_eq):
      	Likewise.
      	* genautomata.c (const_reserv_sets_t, const_unit_decl_t,
      	const_decl_t, const_state_t, const_automata_list_el_t): New.
      	(first_out_arc, DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL,
      	DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV,
      	automaton_decl_hash, automaton_decl_eq_p, insn_decl_hash,
      	insn_decl_eq_p, decl_hash, decl_eq_p, alt_state_cmp,
      	reserv_sets_cmp, reserv_sets_eq, state_hash, state_eq_p,
      	automata_list_hash, automata_list_eq_p, compare_states_for_equiv,
      	compare_max_occ_cycle_nums, out_state_arcs_num,
      	compare_transition_els_num, units_cmp, state_reservs_cmp):
      	Constify.
      	* genmodes.c (cmp_modes): Likewise.
      	* ggc-common.c (saving_htab_hash, saving_htab_eq): Likewise.
      	* gimplify.c (compare_case_labels): Likewise.
      	* ipa-type-escape.c (get_name_of_type, type_brand_s): Likewise.
      	* loop-unroll.c (si_info_hash, ve_info_hash): Likewise.
      	* matrix-reorg.c (mtt_info_hash): Likewise.
      	* postreload-gcse.c (hash_expr_for_htab, expr_equiv_p): Likewise.
      	* rtl-factoring.c (const_p_hash_bucket, const_p_hash_elem): New.
      	(htab_hash_bucket, htab_hash_elem): Constify.
      	* tree-browser.c (TB_parent_eq): Likewise.
      	* tree-scalar-evolution.c (hash_scev_info): Likewise.
      	* tree-ssa-alias.c (sort_tags_by_id): Likewise.
      	* tree-ssa-coalesce.c (const_coalesce_pair_p): New.
      	(coalesce_pair_map_hash, coalesce_pair_map_eq, compare_pairs):
      	Constify.
      	* tree-ssa-dom.c (avail_expr_hash, avail_expr_eq): Likewise.
      	* tree-ssa-pre.c (const_expr_pred_trans_t): New.
      	(expr_pred_trans_hash, expr_pred_trans_eq): Constify.
      	* tree-ssa-sccvn.c (const_vn_binary_op_t, const_vn_unary_op_t,
      	const_vn_phi_t, const_vn_reference_op_t, const_vn_reference_t):
      	New.
      	(vn_reference_op_eq, vn_reference_hash, vn_reference_eq,
      	vn_unary_op_hash, vn_unary_op_eq, vn_binary_op_hash,
      	vn_binary_op_eq, vn_phi_hash, vn_phi_eq): Constify.
      	* tree-ssa-threadupdate.c (redirection_data_hash,
      	redirection_data_eq): Likewise. 
      	* tree-ssa-uncprop.c (equiv_hash, equiv_eq): Likewise.
      	* tree-ssa.c (var_ann_eq): Likewise.
      	* tree-vrp.c (compare_case_labels): Likewise.
      	* tree.c (int_cst_hash_hash, int_cst_hash_eq,
      	tree_map_base_marked_p, type_hash_marked_p, tree_check_failed,
      	tree_not_check_failed, tree_class_check_failed,
      	tree_range_check_failed, tree_not_class_check_failed,
      	omp_clause_check_failed, omp_clause_range_check_failed,
      	tree_contains_struct_check_failed, tree_operand_check_failed):
      	Likewise. 
      	* tree.h (tree_contains_struct_check_failed, tree_check_failed,
      	tree_not_check_failed, tree_class_check_failed,
      	tree_range_check_failed, tree_not_class_check_failed,
      	tree_operand_check_failed, omp_clause_operand_check_failed,
      	tree_operand_length): Likewise. 
      	* var-tracking.c (const_variable): New.
      	(variable_htab_hash, variable_htab_eq): Constify.
      	* varasm.c (const_desc_hash): Likewise.
      
      cp:
      	* decl.c (typename_hash, typename_compare): Constify.
      	* mangle.c (hash_type, compare_type): Likewise.
      	* pt.c (eq_local_specializations, hash_local_specialization):
      	Likewise.
      	* tree.c (cplus_array_hash, cplus_array_compare, list_hash_eq,
      	list_hash): Likewise.
      	* typeck2.c (pat_compare): Likewise.
      
      fortran:
      	* gfortran.h (generate_isocbinding_symbol): Constify.
      	* symbol.c (gen_special_c_interop_ptr, gen_cptr_param,
      	generate_isocbinding_symbol): Likewise.
      
      java:
      	* class.c (java_treetreehash_hash, java_treetreehash_compare):
      	Constify. 
      	* expr.c (type_assertion_eq): Likewise.
      	* jcf-io.c (compare_path): Likewise.
      	* jcf-parse.c (cmpstringp): Likewise.
      	* verify-impl.c (get_one_type, compute_argument_types,
      	compute_return_type): Likewise. 
      
      objc:
      	* objc-act.c (volatilized_hash, volatilized_eq, string_hash,
      	string_eq): Constify.
      
      From-SVN: r126925
      Kaveh R. Ghazi committed
  6. 04 Apr, 2007 1 commit
  7. 26 Mar, 2007 1 commit
    • gengtype.c: Don't include gtyp-gen.h. · 11a67599
      	* gengtype.c: Don't include gtyp-gen.h.
      	(srcdir): Declare here.
      	(base_files, lang_dir_names): Allocate dynamically.
      	(gt_files, num_gt_files, num_lang_dirs): New globals.
      	(measure_input_list, read_input_line, read_input_list)
      	(set_lang_bitmap): New functions.
      	(get_base_file_bitmap): Rename get_lang_bitmap and drastically
      	simplify, relying on read_input_list to set up the bitmaps.
      	(main): Arguments are no longer unused.  Check for correct number
      	of command line arguments, set srcdir and srcdir_len, then call
      	read_input_list, before doing anything else.  No need to worry
      	about duplicates in main loop.
      	* configure.ac: Simplify the calculation of all_gtfiles.
      	Put language tags in there.  Don't set or substitute
      	all_gtfiles_files_langs or all_gtfiles_files_frags.
      	* Makefile.in: Revamp the way gengtype is invoked, now that it
      	takes a file on its command line with a much simpler format.
      	Remove or replace with gtyp-input.list all references to gtyp-gen.h.
      	(GTFILES): Remove duplicates and C source files.
      	* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
      	* objcp/config-lang.in: Add c-pragma.h to gtfiles.
      	* configure: Regenerate.
      
      From-SVN: r123234
      Zack Weinberg committed
  8. 02 Mar, 2007 1 commit
  9. 18 Feb, 2007 1 commit
  10. 15 Feb, 2007 1 commit
    • tree.h (enum tree_code_class): Add tcc_vl_exp. · 5039610b
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* tree.h (enum tree_code_class): Add tcc_vl_exp.
      	(VL_EXP_CLASS_P): New.
      	(TREE_OPERAND_CHECK): Use TREE_OPERAND_LENGTH instead of
      	TREE_CODE_LENGTH.
      	(TREE_OPERAND_CHECK_CODE): Likewise.
      	(GIMPLE_STMT_OPERAND_CHECK): Likewise.
      	(TREE_RTL_OPERAND_CHECK): Likewise.
      	(tree_operand_check_failed): Make second parameter the whole tree
      	instead of its code.  Fixed callers.
      	(VL_EXP_CHECK): New.
      	(TREE_OPERAND_LENGTH): New.
      	(VL_EXP_OPERAND_LENGTH): New.
      	(CALL_EXPR_FN): New.
      	(CALL_EXPR_STATIC_CHAIN): New.
      	(CALL_EXPR_ARGS): New.
      	(CALL_EXPR_ARG): New.
      	(call_expr_nargs): New.
      	(CALL_EXPR_ARGP): New.
      	(build_nt_call_list): Declare.
      	(build_vl_exp_stat): Declare.
      	(build_vl_exp): New.
      	(build_call_list): Declare.
      	(build_call_nary): Declare.
      	(build_call_valist): Declare.
      	(build_call_array): Declare.
      	(call_expr_arg): Declare.
      	(call_expr_argp): Declare.
      	(call_expr_arglist): Declare.
      	(fold_build_call_list): Declare.
      	(fold_build_call_list_initializer): Declare.
      	(fold_call_expr): Declare to replace fold_builtin.
      	(fold_builtin_fputs): Update to agree with modified definition.
      	(fold_builtin_strcpy): Likewise.
      	(fold_builtin_strncpy): Likewise.
      	(fold_builtin_memory_chk): Likewise.
      	(fold_builtin_stxcpy_chk): Likewise.
      	(fold_builtin_strncpy_chk): Likewise.
      	(fold_builtin_next_arg): Likewise.
      	(fold_build_call_expr): Declare.
      	(fold_builtin_call_list): Declare.
      	(fold_builtin_call_valist): Declare.
      	(build_call_expr): Declare.
      	(validate_arglist): Update to agree with modified definition.
      	(tree_operand_length): New.
      	(call_expr_arg_iterator): New.
      	(init_call_expr_arg_iterator): New.
      	(next_call_expr_arg): New.
      	(first_call_expr_arg): New.
      	(more_call_expr_args_p): New.
      	(FOR_EACH_CALL_EXPR_ARG): New.
      
      	* tree.c (tree_code_class_string): Add entries for tcc_vl_exp
      	and tcc_gimple_stmt.
      	(tree_code_size): Update documentation.  Use sizeof (tree) rather
      	than sizeof (char *).
      	(tree_size): Likewise.  Add case for tcc_vl_exp.
      	(tree_node_structure): Add case for tcc_vl_exp.
      	(contains_placeholder_p): Likewise.
      	(substitute_in_expr): Likewise.
      	(substitute_placeholder_in_expr): Likewise.
      	(stabilize_reference_1): Likewise.
      	(build3_stat): Remove logic for CALL_EXPRs.  Replace with assertion
      	to diagnose breakage of this interface for constructing CALL_EXPRs.
      	(build_nt): Add similar assertion here.
      	(build_nt_call_list): New.
      	(simple_cst_equal) <CALL_EXPR>: Rewrite to use new accessors.
      	(iterative_hash_expr): Use TREE_OPERAND_LENGTH instead of
      	TREE_CODE_LENGTH.
      	(get_callee_fndecl): Use new CALL_EXPR accessors.
      	(tree_operand_check_failed): Change parameters to pass entire node
      	instead of its code, so that we can call TREE_OPERAND_LENGTH on it.
      	(process_call_operands): New.
      	(build_vl_exp_stat): New.
      	(build_call_list): New.
      	(build_call_nary): New.
      	(build_call_valist): New.
      	(build_call_array): New.
      	(walk_tree): Use TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      	(call_expr_arglist): New.
      
      	* tree.def (CALL_EXPR): Change representation of CALL_EXPRs to use
      	tcc_vl_exp instead of a fixed-size tcc_expression.
      
      	* doc/c-tree.texi (CALL_EXPR): Document new representation and
      	accessors for CALL_EXPRs.
      	(AGGR_INIT_EXPR): Likewise.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* builtins.c (c_strlen): Return NULL_TREE instead of 0.
      	(expand_builtin_nonlocal_goto): Change parameter to be entire
      	CALL_EXPR instead of an arglist.  Use new CALL_EXPR accessors.
      	(expand_builtin_prefetch): Likewise.
      	(expand_builtin_classify_type): Likewise.
      	(mathfn_built_in): Return NULL_TREE instead of 0.
      	(expand_errno_check): Use new CALL_EXPR accessors.
      	(expand_builtin_mathfn): Use new CALL_EXPR accessors and constructors.
      	Return NULL_RTX instead of 0.
      	(expand_builtin_mathfn_2): Likewise.
      	(expand_builtin_mathfn_3): Likewise.
      	(expand_builtin_interclass_mathfn): Likewise.
      	(expand_builtin_sincos): Likewise.
      	(expand_builtin_cexpi): Likewise.
      	(expand_builtin_int_roundingfn): Likewise.
      	(expand_builtin_int_roundingfn_2): Likewise.
      	(expand_builtin_pow): Likewise.
      	(expand_builtin_powi): Likewise.
      	(expand_builtin_strlen): Pass entire CALL_EXPR as parameter instead
      	of arglist, fixing callers appropriately.  Use new CALL_EXPR
      	accessors and constructors.  Return NULL_RTX instead of 0.
      	(expand_builtin_strstr): Likewise.
      	(expand_builtin_strchr): Likewise.
      	(expand_builtin_strrchr): Likewise.
      	(expand_builtin_strpbrk): Likewise.
      	(expand_builtin_memcpy): Likewise.
      	(expand_builtin_mempcpy): Likewise.
      	(expand_builtin_mempcpy_args): New.
      	(expand_builtin_memmove): Similarly to expand_builtin_mempcpy.
      	(expand_builtin_memmove_args): New.
      	(expand_builtin_bcopy): Similarly to expand_builtin_mempcpy.
      	(expand_movstr): Likewise.
      	(expand_builtin_strcpy): Likewise.
      	(expand_builtin_strcpy_args): New.
      	(expand_builtin_stpcpy): Similarly to expand_builtin_strcpy.
      	(expand_builtin_strncpy): Likewise.
      	(expand_builtin_memset): Likewise.
      	(expand_builtin_memset_args): New.
      	(expand_builtin_bzero): Similarly to expand_builtin_memset.
      	(expand_builtin_memcmp): Likewise.
      	(expand_builtin_strcmp): Likewise.
      	(expand_builtin_strncmp): Likewise.
      	(expand_builtin_strcat): Likewise.
      	(expand_builtin_strncat): Likewise.
      	(expand_builtin_strspn): Likewise.
      	(expand_builtin_strcspn): Likewise.
      	(expand_builtin_args_info): Likewise.
      	(expand_builtin_va_start): Likewise.
      	(gimplify_va_arg_expr): Likewise.
      	(expand_builtin_va_end): Likewise.
      	(expand_builtin_va_copy): Likewise.
      	(expand_builtin_frame_address): Likewise.
      	(expand_builtin_alloca): Likewise.
      	(expand_builtin_bswap): Likewise.
      	(expand_builtin_unop): Likewise.
      	(expand_builtin_fputs): Likewise.
      	(expand_builtin_expect): Likewise.
      	(expand_builtin_fabs): Likewise.
      	(expand_builtin_copysign): Likewise.
      	(expand_builtin_printf): Likewise.
      	(expand_builtin_fprintf): Likewise.
      	(expand_builtin_sprintf): Likewise.
      	(expand_builtin_init_trampoline): Likewise.
      	(expand_builtin_signbit): Likewise.
      	(expand_builtin_fork_or_exec): Likewise.
      	(expand_builtin_sync_operation): Likewise.
      	(expand_builtin_compare_and_swap): Likewise.
      	(expand_builtin_lock_test_and_set): Likewise.
      	(expand_builtin_lock_release): Likewise.
      	(expand_builtin): Likewise.
      	(builtin_mathfn_code): Likewise.
      
      	(fold_builtin_constant_p): Pass call arguments individually instead
      	of as an arglist, fixing callers appropriately.  Use new CALL_EXPR
      	accessors and constructors.  Return NULL_TREE instead of 0.
      	(fold_builtin_expect): Likewise.
      	(fold_builtin_classify_type): Likewise.
      	(fold_builtin_strlen): Likewise.
      	(fold_builtin_nan): Likewise.
      	(integer_valued_real_p): Likewise.
      	(fold_trunc_transparent_mathfn): Likewise.
      	(fold_fixed_mathfn): Likewise.
      	(fold_builtin_cabs): Likewise.
      	(fold_builtin_sqrt): Likewise.
      	(fold_builtin_cbrt): Likewise.
      	(fold_builtin_cos): Likewise.
      	(fold_builtin_cosh): Likewise.
      	(fold_builtin_tan): Likewise.
      	(fold_builtin_sincos): Likewise.
      	(fold_builtin_cexp): Likewise.
      	(fold_builtin_trunc): Likewise.
      	(fold_builtin_floor): Likewise.
      	(fold_builtin_ceil): Likewise.
      	(fold_builtin_round): Likewise.
      	(fold_builtin_int_roundingfn): Likewise.
      	(fold_builtin_bitop): Likewise.
      	(fold_builtin_bswap): Likewise.
      	(fold_builtin_logarithm): Likewise.
      	(fold_builtin_hypot): Likewise.
      	(fold_builtin_pow): Likewise.
      	(fold_builtin_powi): Likewise.
      	(fold_builtin_exponent): Likewise.
      	(fold_builtin_memset): Likewise.
      	(fold_builtin_bzero): Likewise.
      	(fold_builtin_memory_op): Likewise.
      	(fold_builtin_bcopy): Deleted; call site changed to invoke
      	fold_builtin_memory_op directly.
      	(fold_builtin_strcpy): Similarly as for fold_builtin_memory_op.
      	(fold_builtin_strncpy): Likewise.
      	(fold_builtin_memcmp): Likewise.
      	(fold_builtin_strcmp): Likewise.
      	(fold_builtin_strncmp): Likewise.
      	(fold_builtin_signbit): Likewise.
      	(fold_builtin_copysign): Likewise.
      	(fold_builtin_isascii): Likewise.
      	(fold_builtin_toascii): Likewise.
      	(fold_builtin_isdigit): Likewise.
      	(fold_builtin_fabs): Likewise.
      	(fold_builtin_abs): Likewise.
      	(fold_builtin_fmin_fmax): Likewise.
      	(fold_builtin_carg): Likewise.
      	(fold_builtin_classify): Likewise.
      	(fold_builtin_unordered_cmp): Likewise.
      
      	(fold_builtin_0, fold_builtin_2, fold_builtin_3, fold_builtin_4):
      	New functions split out from fold_builtin_1.
      	(fold_builtin_n): New.
      	(fold_builtin_varargs): New.
      	(fold_builtin): Deleted.  Most callers changed to use fold_call_expr
      	instead.
      	(fold_call_expr): New.
      	(build_function_call_expr): Rewrite to use new helper function.
      	(fold_builtin_call_list): New.
      	(build_call_expr): New.
      	(fold_builtin_call_valist): New.
      	(rewrite_call_expr): New.
      	(validate_arg): New.
      	(validate_arglist): Change parameter to be entire CALL_EXPR instead
      	of an arglist.  Change return type to bool.  Use new CALL_EXPR
      	accessors.
      
      	(fold_builtin_strstr):  Pass call arguments individually instead
      	of as an arglist, fixing callers appropriately.  Use new CALL_EXPR
      	accessors and constructors.  Return NULL_TREE instead of 0.
      	(fold_builtin_strchr): Likewise.
      	(fold_builtin_strrchr): Likewise.
      	(fold_builtin_strpbrk): Likewise.
      	(fold_builtin_strcat): Likewise.
      	(fold_builtin_strncat): Likewise.
      	(fold_builtin_strspn): Likewise.
      	(fold_builtin_strcspn): Likewise.
      	(fold_builtin_fputs): Likewise.
      	(fold_builtin_next_arg): Likewise.
      	(fold_builtin_sprintf): Likewise.
      
      	(expand_builtin_object_size): Use new CALL_EXPR accessors.  Use
      	NULL_RTX instead of 0.
      	(expand_builtin_memory_chk): Likewise.
      	(maybe_emit_chk_warning): Likewise.
      	(maybe_emit_sprintf_chk_warning): Likewise.
      
      	(fold_builtin_object_size): Pass call arguments individually instead
      	of as an arglist, fixing callers appropriately.  Use new CALL_EXPR
      	accessors and constructors.  Return NULL_TREE instead of 0.
      	(fold_builtin_memory_chk): Likewise.
      	(fold_builtin_stxcpy_chk): Likewise.
      	(fold_builtin_strncpy_chk): Likewise.
      	(fold_builtin_strcat_chk): Likewise.
      	(fold_builtin_strcat_chk): Likewise.
      	(fold_builtin_strncat_chk): Likewise.
      	(fold_builtin_sprintf_chk): Likewise.
      	(fold_builtin_snprintf_chk): Likewise.
      	(fold_builtin_printf): Likewise.
      	(fold_builtin_vprintf): Likewise.
      
      	* fold-const.c (negate_expr_p): Use new CALL_EXPR accessors and
      	constructors.
      	(operand_equal_p): Add separate tcc_vl_exp/CALL_EXPR case.
      	(make_range): Use TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      	(extract_muldiv_1): Add VL_EXP_CLASS_P case.
      	(fold_mathfn_compare): Use new CALL_EXPR accessors and constructors.
      	(fold_unary): Likewise.
      	(fold_binary): Likewise.
      	(fold_ternary): Remove CALL_EXPR case, since they are no longer
      	ternary expressions.
      	(fold): Add logic for tcc_vl_exp.
      	(fold_checksum_tree):  Make it know about tcc_vl_exp.  Use
      	TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      	(fold_build3_stat): Add assertion to flag broken interface for
      	constructing CALL_EXPRs.
      	(fold_build_call_list): New.
      	(fold_build_call_list_initializer): New.
      	(tree_expr_nonnegative_p): Use new CALL_EXPR accessors and
      	constructors.
      	(fold_strip_sign_ops): Likewise.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* tree-dump.c (dequeue_and_dump) <CALL_EXPR>: Use new CALL_EXPR
      	accessors and dump arguments explicitly.
      
      	* tree-pretty-print.c (do_niy): Use TREE_OPERAND_LENGTH instead of
      	TREE_CODE_LENGTH.
      	(dump_generic_node): Use new CALL_EXPR accessors and walk arguments
      	explicitly.
      	(print_call_name): Use new CALL_EXPR accessors.
      
      	* print-tree.c (print_node): Add case tcc_vl_exp.  Print
      	CALL_EXPR arguments explicitly instead of as a list.  Use
      	TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      
      	* tree-vrp.c (stmt_interesting_for_vrp): Use new CALL_EXPR accessors.
      	(vrp_visit_stmt): Likewise.
      
      	* tree-ssa-loop-im.c (outermost_invariant_loop_expr):  Make it
      	know about tcc_vl_exp.  Use TREE_OPERAND_LENGTH instead of
      	TREE_CODE_LENGTH.
      	(force_move_till_expr): Likewise.
      
      	* targhooks.c (default_external_stack_protect_fail): Use
      	build_call_expr instead of build_function_call_expr.
      	(default_hidden_stack_protect_fail): Likewise.
      
      	* tree-complex.c (expand_complex_libcall): Use build_call_expr to
      	build the call.
      
      	* cgraphbuild.c (build_cgraph_edges): Use new CALL_EXPR accessors
      	and walk arguments explicitly.
      
      	* tree-ssa-loop-niter.c (simplify_replace_tree): Use
      	TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      	(expand_simple_operations): Likewise.
      	(infer_loop_bounds_from_array): Use new CALL_EXPR accessors.
      
      	* gengtype.c (adjust_field_tree_exp): Use TREE_OPERAND_LENGTH instead
      	of TREE_CODE_LENGTH.
      	(walk_type): Tweak walking of arrays not to blow up on CALL_EXPRs.
      
      	* optabs.c (expand_widen_pattern-expr): Use TREE_OPERAND_LENGTH
      	instead of TREE_CODE_LENGTH.
      
      	* value_prof.c (tree_ic): Use new CALL_EXPR accessors.
      	(tree_ic_transform): Likewise.
      	(interesting_stringop_to_profile_p): Pass entire CALL_EXPR as
      	parameter instead of arglist.  Fix callers.
      	(tree_stringop_fixed_value): Use new CALL_EXPR accessors.
      	(tree_stringops_transform): Likewise.
      	(tree_indirect_call_to_profile): Likewise.
      	(tree_stringops_values_to_profile): Likewise.
      
      	* tree-tailcall.c (find_tail_calls): Use new CALL_EXPR iterator.
      	(eliminate_tail_call): Likewise.
      
      	* ipa-cp.c (ipcp_update_callgraph): Use new CALL_EXPR accessors.
      
      	* tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop):
      	Use TREE_OPERAND_LENGTH and generalize to handle any number of
      	operands.
      	(instantiate_parameters_1): Can't handle tcc_vl_exp here.
      
      	* omp-low.c (build_omp_barrier): Use build_call_expr.
      	(lower_rec_input_clauses): Likewise.
      	(lower_reduction_clauses): Likewise.
      	(expand_parallel_call): Likewise.
      	(maybe_catch_exception): Likewise.
      	(expand_omp_for_generic): Likewise.
      	(expand_omp_for_static_nochunk): Likewise.
      	(expand_omp_sections): Likewise.
      	(lower_omp_single_simple): Likewise.
      	(lower_omp_single_copy): Likewise.
      	(lower_omp_master): Likewise.
      	(lower_omp_ordered): Likewise.
      	(lower_omp_critical): Likewise.
      
      	* ipa-reference.c (check-call): Use new CALL_EXPR iterator.
      	(scan_for_static_refs): Create tcc_vl_exp case for CALL_EXPR.
      
      	* tree-gimple.c (is_gimple_call_addr): Fix doc.
      	(recalculate_side_effects): Use TREE_OPERAND_LENGTH instead of
      	TREE_CODE_LENGTH.  Add tcc_vl_exp case.
      
      	* tree-chrec.c (chrec_contains_symbols): Use TREE_OPERAND_LENGTH
      	and generalize to handle any number of operands.
      	(chrec_contains_undetermined): Likewise.
      	(tree_contains_chrecs): Likewise.
      	(evolution_function_is_invariant_rec_p): Use TREE_OPERAND_LENGTH.
      
      	* cgraphunit.c (update_call_expr): Use new CALL_EXPR accessors.
      
      	* tree-ssa-ccp.c (ccp_fold): Use new CALL_EXPR accessors.  Use
      	fold_call_expr instead of fold_builtin.
      	(ccp_fold_builtin): Likewise.  Update calls into builtins.c to
      	match declarations there.
      	(fold_stmt): Use new CALL_EXPR constructor and accessors.  Doc
      	updates.
      
      	* tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Use
      	TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      
      	* ipa-pure-const.c (check_call): Use new CALL_EXPR accessors.
      	(scan_function): Add case tcc_vl_exp for CALL_EXPR.
      
      	* tree-stdarg.c (execute_optimize_stdarg): Use new CALL_EXPR
      	accessors.
      
      	* tree-ssa-math-opts.c (execute_cse_sincos_1): Use build_call_expr.
      	(execute_cse_sincos): Use new CALL_EXPR accessors.
      
      	* tree-ssa-alias.c (find_used_portions): Use new CALL_EXPR iterator.
      
      	* gimple-low.c (lower_function_body): Use build_call_expr.
      	(lower_builtin_setjmp): Likewise.
      
      	* expr.c (emit_block_move_via_libcall): Use build_call_expr.
      	(set_storage_via_libcall): Likewise.
      	(safe_from_p): Add tcc_vl_exp case.  Use TREE_OPERAND_LENGTH
      	instead of TREE_CODE_LENGTH.
      	(expand_expr_real_1): Use new CALL_EXPR accessors.
      
      	* tree-browser.c (store_child_info): Use TREE_OPERAND_LENGTH and
      	generalize to handle any number of operands.
      	(TB_parent_eq): Likewise.
      
      	* predict.c (expr_expected_value): Use new CALL_EXPR accessors.
      	(strip_builtin_expect): Likewise.
      
      	* function.c (gimplify_parameters): Use build_call_expr.
      
      	* tree-vectorizer.c (vect_is_simple_reduction): Use TREE_OPERAND_LENGTH
      	instead of TREE_CODE_LENGTH.
      
      	* ipa-type-escape.c (check_call): Use new CALL_EXPR iterators.
      	(scan_for_refs): Add case tcc_vl_exp for CALL_EXPR.
      
      	* tree-data-ref.c (get_references_in_stmt): Use new CALL_EXPR
      	iterators.
      
      	* gimplify.c (build_stack_save_restore): Use build_call_expr.
      	(gimplify_decl_expr): Likewise.
      	(gimplify_call_expr): Use fold_call_expr instead of fold_builtin.
      	Use new CALL_EXPR iterators.
      	(gimplify_modify_expr_to_memcpy): Use build_call_expr.
      	(gimplify_modify_expr_to_memset): Likewise.
      	(gimplify_variable_sized_compare): Likewise.
      	(gimplify_omp_atomic_fetch_op): Likewise.
      	(gimplify_omp_atomic_pipeline): Likewise.
      	(gimplify_omp_atomic_mutex): Likewise.
      	(gimplify_function_tree): Likewise.
      
      	* calls.c (alloca_call_p): Use new CALL_EXPR accessors.
      	(call_expr_flags): Likewise.
      	(expand_call): Likewise.
      
      	* except.c (expand_builtin_eh_return_data_regno): Pass entire
      	CALL_EXPR as parameter instead of arglist.  Use new CALL_EXPR 
              accessors.
      
      	* coverage.c (create_coverage): Use build_call_expr.
      
      	* tree-ssa-pre.c (expression_node_pool, list_node_pool): Delete.
      	(temp_call_expr_obstack): New.
      	(pool_copy_list): Delete.
      	(temp_copy_call_expr): New.
      	(phi_translate): Add case tcc_vl_exp for CALL_EXPR.  Use new
      	CALL_EXPR accessors.  Get rid of special goo for copying argument
      	lists and use temp_copy_call_expr instead.
      	(valid_in_sets): Add case tcc_vl_exp for CALL_EXPR.  Use new
      	CALL_EXPR accessors.
      	(create_expression_by_pieces): Likewise.  Use build_call_array
      	to construct the result instead of fold_build3.
      	(create_value_expr_from): Add tcc_vl_exp.  Delete special goo for
      	dealing with argument lists.
      	(init_pre): Remove references to expression_node_pool and
      	list_node_pool.  Init temp_call_expr_obstack instead.
      	(fini_pre): Remove references to expression_node_pool and
      	list_node_pool.
      
      	* tree-sra.c (sra_walk_call_expr): Use new CALL_EXPR accessors
      	and walk arguments explicitly instead of as a list.
      
      	* tree-mudflap.c (mf_build_check_statement_for): Use build_call_expr.
      	(mx_register_decls): Likewise.
      	(mudflap_register_call): Likewise.
      	(mudflap_finish_file): Likewise.
      
      	* ipa-prop.c (ipa_callsite_compute_count): Use new CALL_EXPR accessors.
      	(ipa_callsite_compute_param): Likewise.
      
      	* tree-vect-patterns.c (vect_recog_pow_pattern): Use new CALL_EXPR
      	accessors and constructor.
      
      	* tree-nested.c (convert_nl_goto_reference): Use new CALL_EXPR
      	accessors and constructor.
      	(convert_tramp_reference): Likewise. 
      	(convert_call_expr): Likewise.
      	(finalize_nesting_tree_1): Likewise.
      
      	* tree-ssa.c (tree_ssa_useless_type_conversion): Use new CALL_EXPR
      	accessors.
      
      	* tree-ssa-loop-prefetch.c (issue_prefetch_ref): Use build_call_expr.
      
      	* tree-inline.c (initialize_inlined_parameters): Pass entire
      	CALL_EXPR as parameter instead of arglist.  Use new CALL_EXPR
      	accessors.
      	(estimate_num_insns_1): Use new CALL_EXPR accessors.
      	(expand_call_inline): Tidy up call to initialize_inlined_parameters.
      
      	* tree-vect-transform.c (vect_create_epilog_for_reduction):  Use
      	TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      	(vectorizable_reduction): Likewise.
      	(vectorizable_call): Use new CALL_EXPR iterators.
      	(vectorizable_conversion): Use build_call_expr.
      	(vectorizable_operation): Use TREE_OPERAND_LENGTH.
      	(vect_gen_widened_results_half): Use build_call_expr.
      	(vect_setup_realignment): Likewise.
      	(vectorizable_live_operation): Use TREE_OPERAND_LENGTH.
      
      	* tree-object-size.c (alloc_object_size): Use new CALL_EXPR accessors.
      	(pass_through_call): Likewise.
      	(compute_object_sizes): Likewise.  Use fold_call_expr instead of
      	fold_builtin.
      
      	* tree-profile.c (tree_gen_interval_profiler): Use build_call_expr.
      	(tree_gen_pow2_profiler): Likewise.
      	(tree_gen_one_value_profiler): Likewise.
      	(tree_gen_ic_func_profiler): Likewise.
      	(tree_gen_average_profiler): Likewise.
      	(tree_gen_ior_profiler): Likewise.
      
      	* tree-ssa-structalias.c (get_constraint_for): Add case tcc_vl_exp.
      	(find_func_aliases): Use new CALL_EXPR accessors.  Add case
      	tcc_vl_exp.  Use TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH.
      
      	* tree-ssa-reassoc.c (get_rank): Use TREE_OPERAND_LENGTH instead
      	of TREE_CODE_LENGTH.
      
      	* stmt.c (warn_if_unused_value): Use TREE_OPERAND_LENGTH instead
      	of TREE_CODE_LENGTH.
      
      	* convert.c (convert_to_real): Use new CALL_EXPR accessors and
      	constructor.
      	(convert_to_integer): Likewise.
      
      	* tree-ssa-operands.c (get_call_expr_operands): Use new CALL_EXPR
      	accessors.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* config/alpha/alpha.c (alpha_expand_builtin): Use new CALL_EXPR
      	accessors.
      	* config/frv/frv.c (frv_expand_builtin): Likewise.
      	* config/s390/s390.c (s390_expand_builtin): Likewise.
      
      	* config/sparc/sparc.c (sparc_gimplify_va_arg): Use build_call_expr.
      	(sparc_expand_builtin): Use new CALL_EXPR accessors.
      
      	* config/i386/i386.c (ix86_function_ok_for_sibcall): Likewise.
      	(ix86_expand_binop_builtin): Pass entire CALL_EXPR as parameter
      	instead of arglist.  Use new CALL_EXPR accessors on it.  Fix callers.
      	(ix86_expand_store_builtin): Likewise.
      	(ix86_expand_unop_builtin): Likewise.
      	(ix86_expand_unop1_builtin): Likewise.
      	(ix86_expand_sse_compare): Likewise.
      	(ix86_expand_sse_comi): Likewise.
      	(ix86_expand_vec_init_builtin): Likewise.
      	(ix86_expand_vec_ext_builtin): Likewise.
      	(ix86_expand_vec_set_builtin): Likewise.
      	(ix86_expand_builtin): Use new CALL_EXPR accessors.
      
      	* config/sh/sh.c (sh_expand_builtin): Use new CALL_EXPR accessors.
      	* config/c4x/c4x.c (c4x_expand_builtin): Likewise.
      
      	* config/iq2000/iq2000.c (expand_one_builtin): Pass entire CALL_EXPR
      	instead of arglist.  Use new CALL_EXPR accessors.  Fix callers.
      	(iq2000_expand_builtin): Use new CALL_EXPR accessors.
      
      	* config/rs6000/rs6000-c.c (altivec_build_resolved_builtin): Use
      	build_call_expr.
      	* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Likewise.
      	(rs6000_expand_unop_builtin): Pass entire CALL_EXPR instead of
      	arglist.  Use new CALL_EXPR accessors.  Fix callers.
      	(altivec_expand_abs_builtin): Likewise.
      	(rs6000_expand_binop_builtin): Likewise.
      	(altivec_expand_predicate_builtin): Likewise.
      	(altivec_expand_lv_builtin): Likewise.
      	(spe_expand_stv_builtin): Likewise.
      	(altivec_expand_stv_builtin): Likewise.
      	(rs6000_expand_ternop_builtin): Likewise.
      	(altivec_expand_ld_builtin): Use new CALL_EXPR accessors.
      	(altivec_expand_st_builtin): Likewise.
      	(altivec_expand_dst_builtin): Likewise.
      	(altivec_expand_vec_init_builtin): Pass entire CALL_EXPR instead of
      	arglist.  Use new CALL_EXPR accessors.  Fix callers.
      	(altivec_expand_vec_set_builtin): Likewise.
      	(altivec_expand_vec_ext_builtin): Likewise.
      	(altivec_expand_builtin): Use new CALL_EXPR accessors.
      	(spe_expand_builtin): Likewise.
      	(spe_expand_predicate_builtin): Pass entire CALL_EXPR instead of
      	arglist.  Use new CALL_EXPR accessors.  Fix callers.
      	(spe_expand_evsel_builtin): Likewise.
      	(rs6000_expand_builtin): Use new CALL_EXPR accessors.  VCFUX and
      	FCFSX cases must construct whole new CALL_EXPR, not just arglist.
      
      	* config/arm/arm.c (arm_expand_binop_builtin): Pass entire CALL_EXPR
      	instead of arglist.  Use new CALL_EXPR accessors.  Fix callers.
      	(arm_expand_unop_builtin): Likewise.
      	(arm_expand_builtin): Use new CALL_EXPR accessors.
      
      	* config/mips/mips.c (mips_expand_builtin):  Use new CALL_EXPR
      	accessors.
      
      	* config/bfin/bfin.c (bfin_expand_binop_builtin): Pass entire CALL_EXPR
      	instead of arglist.  Use new CALL_EXPR accessors.  Fix callers.
      	(bfin_expand_unop_builtin): Likewise.
      	(bfin_expand_builtin): Use new CALL_EXPR accessors.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* c-semantics.c (build_stmt): Add internal diagnostic check.
      
      	* c-pretty-print.c (pp_c_postfix_expression): Use new CALL_EXPR
      	accessors.  Print arguments explicitly instead of as a list.
      
      	* c-typeck.c (build_function_call): Use new CALL_EXPR constructors.
      
      	* c-omp.c (c_finish_omp_barrier): Use build_call_expr.
      	(c_finish_omp_flish): Likewise.
      
      	* c-common.c (verify_tree): Use new CALL_EXPR accessors.  Traverse
      	arguments explicitly instead of as a list.  Use TREE_OPERAND_LENGTH
      	instead of TREE_CODE_LENGTH.
      	(check_function_arguments_recurse): Use new CALL_EXPR accessors.
      	(c_warn_unused_result): Likewise.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* cp-tree.def (AGGR_INIT_EXPR): Adjust documentation.
      	Change class to tcc_vl_exp.
      
      	* call.c (build_call): Use build_call_list instead 
      	of build3. 
      	(build_over_call): Likewise.
      	(build_new_method_call): Use build_min_non_dep_call_list 
      	instead of build_min_non_dep.
      
      	* error.c (dump_call_expr_args): New function.
      	(dump_aggr_init_expr_args): New function.
      	(dump_expr) <AGGR_INIT_EXPR, CALL_EXPR, INDIRECT_REF>: Use them. 
      	Update to use new CALL_EXPR and AGGR_INIT_EXPR accessor macros.
      
      	* cvt.c (convert_to_void): Use build_call_array instead
      	of build3; use new AGGR_INIT_EXPR accessor macros.
      
      	* mangle.c (write_expression): Use TREE_OPERAND_LENGTH
      	instead of TREE_CODE_LENGTH.
      
      	* dump.c (cp_dump_tree) <AGGR_INIT_EXPR>: Update to use new
      	AGGR_INIT_EXPR accessor macros.
      
      	* cp-gimplify.c (cp_gimplify_init_expr): Use 
      	AGGR_INIT_EXPR_SLOT to set the slot operand.
      
      	* cp-tree.h (AGGR_INIT_EXPR_FN): New macro.
      	(AGGR_INIT_EXPR_SLOT): New macro.
      	(AGGR_INIT_EXPR_ARG): New macro.
      	(aggr_init_expr_nargs): New macro.
      	(AGGR_INIT_EXPR_ARGP): New macro.
      	(aggr_init_expr_arg_iterator): New.
      	(init_aggr_init_expr_arg_iterator): New.
      	(next_aggr_init_expr_arg): New.
      	(first_aggr_init_expr_arg): New.
      	(more_aggr_init_expr_args_p): New.
      	(FOR_EACH_AGGR_INIT_EXPR_ARG): New.
      	(stabilize_aggr_init): New declaration.
      	(build_min_non_dep_call_list): Likewise.
      
      	* tree.c (process_aggr_init_operands): New function.
      	(build_aggr_init_array) New function.
      	(build_cplus_new): Update to use new CALL_EXPR and
      	AGGR_INIT_EXPR accessor macros. Replace use of build3 with
      	build_aggr_init_array.
      	(build_min_non_dep_call_list) New function.
      	(build_min_nt): Assert input code parameter is not a variable
      	length expression class.
      	(build_min, build_min_non_dep): Likewise.
      	(cp_tree_equal) <CALL_EXPR>: Iterate through the arguments
      	to check for equality instead of recursing. Handle tcc_vl_exp
      	tree code classes.
      	(stabilize_call): Update to only handle CALL_EXPRs, not 
      	AGGR_INIT_EXPRs; use new CALL_EXPR accessor macros.
      	(stabilize_aggr_init): New function.
      	(stabilize_init): Use it.
      
      	* cxx-pretty-print.c (pp_cxx_postfix_expression)
      	<AGGR_INIT_EXPR, CALL_EXPR>: Update to use new CALL_EXPR and
      	AGGR_INIT_EXPR accessor macros and argument iterators.
      	
      	* pt.c (tsubst_copy) <CALL_EXPR>: Replace build_nt with
      	build_vl_exp. Iterate through the operands, recursively 
      	processing each one.
      	(tsubst_copy_and_build) <CALL_EXPR>: Update to use new
      	CALL_EXPR accessor macros.
      	(value_dependent_expression_p) <default>: Handle tcc_vl_exp
      	tree code classes. Use TREE_OPERAND_LENGTH instead of 
      	TREE_CODE_LENGTH.
      
      	* semantics.c (finish_call_expr): Use build_nt_call_list
      	instead of build_nt.
      	(simplify_aggr_init_expr): Update to use new AGGR_INIT_EXPR 
      	accessor macros. Use build_call_array to construct the 
      	CALL_EXPR node instead of build3
      	
      	* decl2.c (build_offset_ref_call_from_tree): Use 
      	build_nt_call_list and build_min_non_dep_call_list instead
      	of build_min_nt and build_min_non_dep.
      
      	* parser.c (cp_parser_postfix_expression) <CPP_OPEN_PAREN>:
      	Use build_nt_call_list instead of build_min_nt.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* java-tree.h (BUILD_MONITOR_ENTER): Use build_call_nary instead
      	of build3.
      	(BUILD_MONITOR_EXIT): Likewise.
      
      	* java-gimplify.c (java_gimplify_component_ref): Use build_call_expr.
      	(java_gimplify_modify_expr): Likewise.
      
      	* class.c (cache_this_class_ref): Use build_call_expr.
      	(build_static_field_ref): Likewise.
      	(emit_indirect_register_classes): Likewise.
      	(emit_register_classes): Likewise.
      
      	* resource.c (write_resource_constructor): Use build_call_expr.
      
      	* builtins.c (builtin_creator_function): Change interpretation of
      	the second parameter to be the whole CALL_EXPR instead of the arglist.
      	(max_builtin): Tweak parameter list.  Use new CALL_EXPR accessors.
      	(min_builtin): Likewise.
      	(abs_builtin): Likewise.
      	(java_build_function_call_expr): Likewise.
      	(convert_real): Likewise.
      	(UNMARSHAL3): Likewise.
      	(UNMARSHAL4): Likewise.
      	(UNMARSHAL5): Likewise.
      	(build_arglist_for_builtin): Delete.  Fix callers to use
      	build_call_expr instead.
      	(putObject_builtin): Tweak parameter list.  Use new CALL_EXPR
      	accessors.
      	(compareAndSwapInt_builtin): Likewise.
      	(compareAndSwapLong_builtin): Likewise.
      	(compareAndSwapObject_builtin): Likewise.
      	(putVolatile_builtin): Likewise.
      	(getVolatile_builtin): Likewise.
      	(VMSupportsCS8_builtin): Likewise.
      	(check_for_builtin): Pass entire CALL_EXPR to builtin expander
      	instead of arglist.
      
      	* expr.c (build_java_athrow): Use build_call_nary instead of build3.
      	(build_java_throw_out_of_bounds_exception): Likewise.
      	(java_check_reference): Likewise.
      	(build_java_arraystore_check): Likewise.
      	(build_newarray): Likewise.
      	(build_anewarray): Likewise.
      	(expand_java_multinewarray): Use build_call_list instead of build3.
      	(build_java_monitor): Use build_call_nary instead of build3.
      	(java_create_object): Likewise.
      	(expand_java_NEW): Likewise.
      	(build_instanceof): Likewise.
      	(expand_java_CHECKCAST): Likewise.
      	(build_java_soft_divmod): Likewise.
      	(build_java_binop): Likewise.
      	(build_field_ref): Likewise.
      	(build_class_init): Likewise.
      	(rewrite_arglist_getcaller): Use build_call_expr.
      	(build_invokeinterface):  Use build_call_nary instead of build3.
      	(expand_invoke): Use build_call_list instead of build3.
      	(build_jni_stub): Use build_call_nary, build_call_list, or
      	build_call_expr instead	of build3.
      	(expand_java_field_op): Use build_call_expr instead of build3.
      	(force_evaluation_order): Use new CALL_EXPR accessors.
      
      	* lang.c (java_get_callee_fndecl): Use new CALL_EXPR accessors.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* objc-act.c (receiver_is_class_object): Use new CALL_EXPR accessors.
      	(objc_get_callee_fndecl): Likewise.
      
      2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
      	    Brooks Moses  <brooks.moses@codesourcery.com>
      	    Lee Millward  <lee.millward@codesourcery.com>
      
      	* trans-expr.c (gfc_conv_power_op): Use build_call_expr.
      	(gfc_conv_string_tmp): Likewise.
      	(gfc_conv_concat_op): Likewise.
      	(gfc_build_compare_string): Likewise.
      	(gfc_conv_function_call): Use build_call_list instead of build3.
      
      	* trans-array.c (gfc_trans_allocate_array_storage): Use
      	build_call_expr.
      	(gfc_grow_array): Likewise.
      	(gfc_trans_array_ctor_element): Likewise.
      	(gfc_trans_array_constructor_value): Likewise.
      	(gfc_array_allocate): Likewise.
      	(gfc_array_deallocate): Likewise.
      	(gfc_trans_auto_array_allocation): Likewise.
      	(gfc_trans_dummy_array_bias): Likewise.
      	(gfc_conv_array_parameter): Likewise.
      	(gfc_trans_dealloc_allocated): Likewise.
      	(gfc_duplicate_allocatable): Likewise.
      
      	* trans-openmp.c (gfc_trans_omp_barrier): Use build_call_expr.
      	(gfc_trans_omp_flush): Likewise.
      
      	* trans-stmt.c (gfc_conv_elementel_dependencies): Use build_call_expr.
      	(gfc_trans_pause): Likewise.
      	(gfc_trans_stop): Likewise.
      	(gfc_trans_character_select): Likewise.
      	(gfc_do_allocate): Likewise.
      	(gfc_trans_assign_need_temp): Likewise.
      	(gfc_trans_pointer_assign_need_temp): Likewise.
      	(gfc_trans_forall_1): Likewise.
      	(gfc_trans_where_2): Likewise.
      	(gfc_trans_allocate): Likewise.
      	(gfc_trans_deallocate): Likewise.
      
      	* trans.c (gfc_trans_runtime_check): Use build_call_expr.
      
      	* trans-io.c (gfc_trans_open): Use build_call_expr.
      	(gfc_trans_close): Likewise.
      	(build_filepos): Likewise.
      	(gfc_trans_inquire): Likewise.
      	(NML_FIRST_ARG): Delete.
      	(NML_ADD_ARG): Delete.
      	(transfer_namelist_element): Use build_call_expr.
      	(build_dt): Likewise.
      	(gfc_trans_dt_end): Likewise.
      	(transfer_expr): Likewise.
      	(transfer_array-desc): Likewise.
      
      	* trans-decl.c (gfc_generate_function_code): Use build_call_expr.
      	(gfc_generate_constructors): Likewise.
      
      	* trans-intrinsic.c (gfc_conv_intrinsic_ctime): Use build_call_expr.
      	(gfc_conv_intrinsic_fdate): Likewise.
      	(gfc_conv_intrinsic_ttynam): Likewise.
      	(gfc_conv_intrinsic_array_transfer): Likewise.
      	(gfc_conv_associated): Likewise.
      	(gfc_conv_intrinsic_si_kind): Likewise.
      	(gfc_conv_intrinsic_trim): Likewise.
      	(gfc_conv_intrinsic_repeat: Likewise.
      	(gfc_conv_intrinsic_iargc): Likewise.
      
      Co-Authored-By: Brooks Moses <brooks.moses@codesourcery.com>
      Co-Authored-By: Lee Millward <lee.millward@codesourcery.com>
      
      From-SVN: r122018
      Sandra Loosemore committed
  11. 24 Jan, 2007 1 commit
  12. 21 Jan, 2007 1 commit
    • re PR objc/30479 (Precompiled headers don't seem to work with GNU ObjC) · d2f9f9a6
      2007-01-20  Andrew Pinski  <pinskia@gmail.com>
      
              PR objc/30479
              * objc-act.c (hash_interface): Use IDENTIFIER_HASH_VALUE instead
              of htab_hash_pointer.
              (lookup_interface): Likewise.
              (add_class): Likewise.
      
      2007-01-20  Andrew Pinski  <pinskia@gmail.com>
      
              PR objc/30479
              * objc.dg/pch: New directory.
              * objc.dg/pch/pch.exp: New file.
              * objc.dg/pch/interface-1.m: New test.
              * objc.dg/pch/interface-1.hs: New include file.
              * lib/objc.exp (objc_target_compile): Add
              "-x objective-c-header" in front of the sources if this is
              a precompiled header being compiled.
      
      From-SVN: r121024
      Andrew Pinski committed
  13. 11 Jan, 2007 1 commit
    • configure.ac (strict1_warn): Rename to strict_warn. · 8b1f719a
      2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac (strict1_warn): Rename to strict_warn.
      	(WERROR, --enable-werror, symlink hacks, stage1_cflags,
      	cc_set_by_configure, quoted_cc_set_by_configure,
      	stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
      	all_boot_languages, all_stagestuff): Remove.
      	(target_list): Remove bootstrap targets.
      	* Makefile.in (quickstrap): Unconditionally make a synonym of all.
      	(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
      	REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
      	SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
      	VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
      	STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
      	stage1_copy, stage2_build, stage2_copy, stageprofile_build,
      	stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
      	stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
      	bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
      	bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
      	unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
      	restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
      	cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
      	*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
      	stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
      	stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
      	risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
      	(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
      	(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
      	(mostlyclean): Adjust.
      	(clean, distclean): Don't mention bootstrap stuff.
      	* configure: Regenerate.
      	* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
      	java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
      	treelang/config-lang.in (stagestuff): Remove.
      	* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
      	stageprofile, stagefeedback, stagestuff): Remove mention.
      
      From-SVN: r120670
      Paolo Bonzini committed
  14. 02 Jan, 2007 1 commit
    • c-common.c (c_common_nodes_and_builtins): Since variants of void_type_node get… · 06d40de8
      c-common.c (c_common_nodes_and_builtins): Since variants of void_type_node get built before it is given a name...
      
      2007-01-02  Douglas Gregor  <doug.gregor@gmail.com>
      
      	* c-common.c(c_common_nodes_and_builtins): Since variants of
      	void_type_node get built before it is given a name, we need to
      	give those variants the name, too. 
      	(complete_array_type): We need to work with the canonical main
      	type of the array, from which we will build the qualified version.
      	* params.def (PARAM_VERIFY_CANONICAL_TYPES): New.
      	* print-tree.c (print_node): Display canonical type information
      	for each type.
      	* stor-layout.c (layout_type): When we don't know the
      	alignment of a type for which we're building an array, we end up
      	guessing wrong, so make the type require structural equality.
      	* tree.c (make_node_stat): When we build a new type, it is its
      	own canonical type.
      	(build_type_attribute_qual_variant): When building an attribute
      	variant, its canonical type is the non-attribute variant. However,
      	if the attributes are target-dependent and they differ, we need to
      	use structural equality checks for this type.
      	(build_qualified_type): A qualified type is not equivalent to its
      	unqualified variant; set the canonical type appropriately.
      	(build_distinct_type_copy): When building a distinct type from
      	another type, the new type is its own canonical type.
      	(build_variant_type_copy): When building a new type variant, we
      	assume that it is equivalent to the original type.
      	(build_pointer_type_for_mode): When building a pointer type, also
      	build a canonical type pointer.
      	(build_reference_type_for_mode): When building a reference type,
      	also build a canonical type reference.
      	(build_index_type): When we can't hash an index type (e.g.,
      	because its maximum value is negative), the index type requires
      	structural equality tests.
      	(build_array_type): Build the canonical form of an array type.
      	(build_function_type): Function types require structural equality,
      	because they contain default arguments, attributes, etc. 
      	(build_method_type_directly): Ditto for method types.
      	(build_offset_type): Build the canonical offset type.
      	(build_complex_type): Build the canonical vector type.
      	(make_vector_type): Build the canonical vector type.
      	* tree.h (TYPE_CANONICAL): New.
      	(TYPE_STRUCTURAL_EQUALITY_P): New.
      	(SET_TYPE_STRUCTURAL_EQUALITY): New.
      	(struct tree_type): Added "canonical" field.
      	* params.h (VERIFY_CANONICAL_TYPES): New.
      	* doc/c-tree.texi (TYPE_CANONICAL): Document.
      	(TYPE_STRUCTURAL_EQUALITY_P): Document.
      	(SET_TYPE_STRUCTURAL_EQUALITY): Document.
      	* doc/invoke.texi (verify-canonical-types): Document --param
      	parameter for verifying canonical types.
      	
      2007-01-02  Douglas Gregor  <doug.gregor@gmail.com>
      
      	* typeck.c (structural_comptypes): Renamed from "comptypes".
      	(comptypes): Use canonical type information to perform fast type
      	comparison. When VERIFY_CANONICAL_TYPES, verify that the
      	canonical type comparison returns the same results as we would see
      	from the current, structural check. Support COMPARE_STRUCTURAL
      	when we need structural checks.
      	* decl.c (typename_compare): Fix comment.
      	(build_typename_type): TYPENAME_TYPE nodes require structural
      	equality checks, because they resolve different based on the
      	current class type.
      	(make_unbound_class_template): UNBOUND_CLASS_TEMPLATE nodes
      	require structural equality checks (for now).
      	(build_ptrmemfunc_type): Build the canonical pointer to member
      	function type.
      	(compute_array_index_type): Whenever we build a new index type
      	to represent the size of an array in a template, we need to mark
      	this index type as requiring structural equality. This goes for
      	arrays with value-dependent sizes with the current ABI, or all
      	arrays with ABI-1.
      	* tree.c (cplus_array_hash): New.
      	(struct cplus_array_info): New.
      	(cplus_array_compare): New.
      	(cplus_array_htab): New.
      	(build_cplus_array_type_1): Use a hash table to cache the array
      	types we build. Build the canonical array type for each array
      	type.
      	(cp_build_qualified_type_real): When building a cv-qualified array
      	type, use the hash table of array types and build canonical array
      	types as necessary.
      	(bind_template_template_parm): BOUND_TEMPLATE_TEMPLATE_PARM nodes
      	use structural equality (for now).
      	* cp-tree.h (COMPARE_STRUCTURAL): New.
      	* pt.c (canonical_template_parms): New.
      	(canonical_type_parameter): New.
      	(process_template_parm): Find the canonical type parameter.
      	(lookup_template_class): When we have named the primary template
      	type, set the canonical type for our template class to the primary
      	template type. If any of the template arguments need structural
      	equality checks, the template class needs structural equality
      	checks.
      	(tsubst): When reducing the level of a template template
      	parameter, we require structural equality tests for the resulting
      	parameter because its template parameters have not had their types
      	canonicalized. When reducing a template type parameter, find the
      	canonical reduced type parameter.
      	(any_template_arguments_need_structural_equality_p): New.
      
      2007-01-02  Douglas Gregor  <doug.gregor@gmail.com>
      	
      	* objc-act.c (objc_build_volatilized_type): Keep track of
      	canonical types.
      	(objc_get_protocol_qualified_type): Ditto.
      
      From-SVN: r120341
      Douglas Gregor committed
  15. 02 Nov, 2006 1 commit
  16. 23 Oct, 2006 1 commit
    • decl.c: Include langhooks.h. · c79efc4d
             * gcc/java/decl.c: Include langhooks.h.
             (builtin_function): Remove.
             (java_init_decl_processing): Replace calls to builtin_function
             with add_builtin_function.
      
             * gcc/java/Make-lang.in (jc1$(exeext)): Depend on and link with
             attribs.o.
             (java/decl.o): Depend on langhooks.h.
      
             * gcc/java/java-tree.h (builtin_function): Remove.
      
             * gcc/tree.c (local_define_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/objc/objc-act.c (synth_module_prologue): Replace calls to
             builtin_function with add_builtin_function.
             (build_next_objc_exception_stuff): Replace calls to
             builtin_function with add_builtin_function.
             (build_objc_exception_stuff): Replace calls to
             builtin_function with add_builtin_function.
      
             * gcc/objcp/objcp-decl.h (objcp_builtin_function): Remove.
      
             * gcc/cp/decl.c (builtin_function_1): Move common code to
             add_builtin_function.
             (builtin_function): Rename to cxx_builtin_function.
             Change the signature.
      
             * gcc/cp/call.c: Include langhooks.h.
             (build_java_interface_fn_ref):  Replace calls to
             builtin_function with add_builtin_function.
      
             * gcc/cp/Make-lang.in (cp/call.o): Depend on langhooks.h.
      
             * gcc/cp/cp-objcp-common.h (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             cxx_builtin_function.
      
             * gcc/cp/cp-tree.h (builtin_function): Rename to cxx_builtin_function.
             Change the signature.
      
             * gcc/c-objc-common.h (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             c_builtin_function.
      
             * gcc/c-tree.h (builtin_function): Rename to c_builtin_function. Change
             the signature.
      
             * gcc/ada/utils.c (builtin_function): Rename to gnat_builtin_function.
             Move common code to add_builtin_function.
      
             * gcc/ada/misc.c (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             gnat_builtin_function.
      
             * gcc/ada/gigi.h (builtin_function): Rename to gnat_builtin_function.
             Change the signature.
      
             * gcc/c-decl.c (builtin_function): Rename to c_builtin_function. Move
             common code to add_builtin_function.
      
             * gcc/fortran/Make-lang.in (f951$(exeext)): Depend on and link with
             attribs.o.
      
             * gcc/fortran/trans.h (builtin_function): Rename to
             gfc_builtin_function. Change the signature.
      
             * gcc/fortran/f95-lang.c (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             gfc_builtin_function.
             (builtin_function): Rename to gfc_builtin_function. Move common
             code to builtin_function.
             (gfc_define_builtin): Replace calls to builtin_function with
             gfc_define_builtin.
      
             * gcc/langhooks.c (add_builtin_function): New function.
             (lhd_builtin_function): New function.
      
             * gcc/langhooks.h (struct lang_hooks): Change the signature of
             builtin_function.
             (add_builtin_function): New function.
      
             * gcc/treelang/treetree.c (builtin_function): Remove.
      
             * gcc/tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Replace
             calls to lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/c-common.c (decl_builtin_1): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/alpha/alpha.c (alpha_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/frv/frv.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/s390/s390.c (s390_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/sparc/sparc.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/i386/i386.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
             (def_builtin): Replace calls to lang_hooks.builtin_function with
             add_builtin_function.
      
             * gcc/config/sh/sh.c (sh_media_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/c4x/c4x.c (c4x_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/stormy16/stormy16.c (xstormy16_init_builtins):
             Replace calls to lang_hooks.builtin_function with
             add_builtin_function.
      
             * gcc/config/iq2000/iq2000.c (def_builtin):
             Replace calls to lang_hooks.builtin_function with
             add_builtin_function.
      
             * gcc/config/ia64/ia64.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/rs6000/rs6000.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
             (altivec_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/arm/arm.c (def_mbuiltin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
             (arm_init_tls_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/mips/mips.c (mips_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/bfin/bfin.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/langhooks-def.h (lhd_builtin_function): New function.
             (LANG_HOOKS_BUILTIN_FUNCTION): Define as lhd_builtin_function.
      
      From-SVN: r117981
      Rafael Ávila de Espíndola committed
  17. 10 Oct, 2006 1 commit
    • --(top level)-------------------------------------------- · b5422ad7
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.def: Added pdf target handling.
      	* Makefile.tpl: Added pdf target handling.
      	* Makefile.in: Regenerated.
      
      ---fixincludes--------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---gcc----------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* configure.ac: Added pdf to "Make-hooks"
      	* Makefile.in: Added TEXI2PDF definition, and various pdf-file
      	targets and *.pdf file patterns in cleanup targets.
      	* configure: Regenerated.
      
      ---gcc/cp-------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "c++.pdf" target support.
      
      ---gcc/fortran--------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
      	support.
      
      ---gcc/java-----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.
      
      ---gcc/objc-----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added empty "objc.pdf" target.
      
      ---gcc/objcp----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added empty "obj-c++.pdf" target.
      
      ---gcc/treelang-------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "treelang.pdf" target support.
      
      ---gnattools----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libcpp-------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libdecnumber-------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libiberty----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added "pdf", "libiberty.pdf" target support.
      	* testsuite/Makefile.in: Added empty "pdf" target.
      
      ---libobjc------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      From-SVN: r117618
      Brooks Moses committed
  18. 26 Sep, 2006 1 commit
  19. 19 Sep, 2006 1 commit
    • tm.texi (OBJC_JBLEN): Describe. · 64ee9490
      2006-09-19  Eric Christopher  <echristo@apple.com>
      
              * doc/tm.texi (OBJC_JBLEN): Describe.
              * config/i386/darwin.h (OBJC_JBLEN): Define.
              * config/rs6000/darwin.h: Ditto.
      
      2006-09-19  Eric Christopher  <echristo@apple.com>
      
              * objc-act.c (JBLEN): Rename to OBJC_JBLEN,
              default to something innocuous.
              (build_next_objc_exception_stuff): Rename JBLEN.
      
      From-SVN: r117066
      Eric Christopher committed
  20. 28 Jul, 2006 1 commit
  21. 19 Jul, 2006 1 commit
  22. 06 Jun, 2006 1 commit
  23. 28 May, 2006 1 commit
  24. 24 May, 2006 1 commit
  25. 05 May, 2006 1 commit
  26. 08 Mar, 2006 1 commit
  27. 02 Mar, 2006 1 commit
  28. 20 Feb, 2006 2 commits
    • Make-lang.in (OBJC): Remove · 9d29a5b7
                    * gcc/objc/Make-lang.in (OBJC): Remove
                    (OBJECTIVE-C): Remove
                    (objective-c): Remove
                    (.PHONY): Remove objective-c and ObjC
                    * gcc/objcp/Make-lang.in (OBJ-C++): Remove
                    (.PHONY): Remove Obj-c++ and obj-C++. Add obj-c++
                    * gcc/cp/Make-lang.in (C++): Remove
                    (.PHONY): Remove C++
                    * gcc/ada/Make-lang.in (Ada): Remove
                    (.PHONY): Remove Ada
                    * gcc/fortran/Make-lang.in (FORTRAN): Remove
                    (.PHONY): Remove F95 and f95. Add fortran
                    * gcc/treelang/Make-lang.in (.phony): Remove TREELANG
                    (TREELANG): Remove
                    * gcc/Makefile.in (C): Remove
                    (PROTO): Remove
                    (.PHONY): Remove C and PROTO
      
      From-SVN: r111307
      Rafael Espindola committed
    • configure.ac (target_list): Add install-info, dvi, html. · b2d7fd7b
      2006-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac (target_list): Add install-info, dvi, html.
      	* configure: Regenerate.
      
      	* ada/Make-lang.in, cp/Make-lang.in, fortran/Make-lang.in,
      	java/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in,
      	treelang/Make-lang.in: Do not use double-colon rules.
      
      From-SVN: r111304
      Paolo Bonzini committed
  29. 31 Jan, 2006 1 commit
    • tree-vrp.c: Use XNEW/XCNEW allocation wrappers. · 5ed6ace5
      2006-01-31  Marcin Dalecki  <martin@dalecki.de>
      
      	* tree-vrp.c: Use XNEW/XCNEW allocation wrappers.
      	* regrename.c: Ditto.
      	* tree-ssa-loop-im.c: Ditto.
      	* tree-dump.c: Ditto.
      	* tree-complex.c: Ditto.
      	* genrecog.c: Ditto.
      	* tree-ssa-threadupdate.c: Ditto.
      	* tracer.c: Ditto.
      	* java/class.c: Ditto.
      	* java/jcf-parse.c: Ditto.
      	* java/resource.c: Ditto.
      	* java/except.c: Ditto.
      	* java/jvspec.c: Ditto.
      	* java/jcf-write.c: Ditto.
      	* java/jcf-path.c: Ditto.
      	* java/gjavah.c: Ditto.
      	* java/zextract.c: Ditto.
      	* java/jcf-io.c: Ditto.
      	* java/jcf.h: Ditto.
      	* java/buffer.c: Ditto.
      	* java/lang.c: Ditto.
      	* java/parse-scan.y: Ditto.
      	* java/lex.c: Ditto.
      	* java/lex.h: Ditto.
      	* cfgloopmanip.c: Ditto.
      	* postreload-gcse.c: Ditto.
      	* tree-ssa-loop-manip.c: Ditto.
      	* postreload.c: Ditto.
      	* tree-ssa-loop-ch.c: Ditto.
      	* loop.c: Ditto.
      	* ipa-cp.c: Ditto.
      	* cppspec.c: Ditto.
      	* diagnostic.c: Ditto.
      	* final.c: Ditto.
      	* genoutput.c: Ditto.
      	* gcc.c: Ditto.
      	* cfghooks.c: Ditto.
      	* cfgloopanal.c: Ditto.
      	* objc/objc-act.c: Ditto.
      	* gcov.c: Ditto.
      	* genextract.c: Ditto.
      	* genautomata.c: Ditto.
      	* pretty-print.c: Ditto.
      	* genemit.c: Ditto.
      	* cgraphunit.c: Ditto.
      	* flow.c: Ditto.
      	* df-scan.c: Ditto.
      	* haifa-sched.c: Ditto.
      	* dominance.c: Ditto.
      	* dbxout.c: Ditto.
      	* tree-ssa-loop-ivopts.c: Ditto.
      	* df-core.c: Ditto.
      	* mode-switching.c: Ditto.
      	* modulo-sched.c: Ditto.
      	* graph.c: Ditto.
      	* ipa-pure-const.c: Ditto.
      	* cse.c: Ditto.
      	* fix-header.c: Ditto.
      	* web.c: Ditto.
      	* tree-stdarg.c: Ditto.
      	* ipa-utils.c: Ditto.
      	* loop-init.c: Ditto.
      	* ipa-inline.c: Ditto.
      	* cfganal.c: Ditto.
      	* global.c: Ditto.
      	* alloc-pool.c: Ditto.
      	* dwarf2out.c: Ditto.
      	* opts.c: Ditto.
      	* genattrtab.c: Ditto.
      	* tree-ssa-loop-ivcanon.c: Ditto.
      	* predict.c: Ditto.
      	* timevar.c: Ditto.
      	* lcm.c: Ditto.
      	* fortran/gfortranspec.c: Ditto.
      	* regmove.c: Ditto.
      	* local-alloc.c: Ditto.
      	* langhooks.c: Ditto.
      	* function.c: Ditto.
      	* tree-vectorizer.c: Ditto.
      	* gcse.c: Ditto.
      	* ipa-type-escape.c: Ditto.
      	* alias.c: Ditto.
      	* tree-if-conv.c: Ditto.
      	* profile.c: Ditto.
      	* ipa.c: Ditto.
      	* tree-data-ref.c: Ditto.
      	* loop-unroll.c: Ditto.
      	* treelang/treetree.c: Ditto.
      	* calls.c: Ditto.
      	* bt-load.c: Ditto.
      	* ggc-common.c: Ditto.
      	* except.c: Ditto.
      	* coverage.c: Ditto.
      	* cselib.c: Ditto.
      	* tree-cfgcleanup.c: Ditto.
      	* tree-ssa-pre.c: Ditto.
      	* cfgcleanup.c: Ditto.
      	* loop-invariant.c: Ditto.
      	* loop-iv.c: Ditto.
      	* ipa-prop.c: Ditto.
      	* print-tree.c: Ditto.
      	* conflict.c: Ditto.
      	* ggc-page.c: Ditto.
      	* sched-deps.c: Ditto.
      	* regclass.c: Ditto.
      	* tree-object-size.c: Ditto.
      	* combine.c: Ditto.
      	* bb-reorder.c: Ditto.
      	* resource.c: Ditto.
      	* var-tracking.c: Ditto.
      	* cfgloop.c: Ditto.
      	* df-problems.c: Ditto.
      	* reg-stack.c: Ditto.
      	* tlink.c: Ditto.
      	* gccspec.c: Ditto.
      	* sched-rgn.c: Ditto.
      	* tree-ssa-structalias.c: Ditto.
      	* tree-ssa-reassoc.c: Ditto.
      	* config/darwin-c.c: Ditto.
      	* config/darwin.c: Ditto.
      	* config/arm/arm.c: Ditto.
      	* cfgrtl.c: Ditto.
      	* collect2.c: Ditto.
      	* reload1.c: Ditto.
      
      From-SVN: r110446
      Marcin Dalecki committed
  30. 16 Dec, 2005 1 commit
    • re PR objc/25360 (Complex types are not encoded) · 06b11455
      2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR objc/25360
              * objc/objc-act.c (encode_type): Encode Complex types as 'j' followed
              by the inner type.
      
      2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR objc/25360
              * objc/objc-api.c (_C_COMPLEX): New define.
              * encoding.c (objc_sizeof_type): Handle _C_Complex.
              (objc_alignof_type): Likewise.
              (objc_skip_typespec): Likewise.
      
      From-SVN: r108675
      Andrew Pinski committed
  31. 12 Dec, 2005 1 commit
  32. 07 Dec, 2005 2 commits
    • sourcebuild.texi (all.build, [...]): Remove. · bd97af06
      gcc/
      	* doc/sourcebuild.texi (all.build, install-normal): Remove.
      	* configure.ac: Remove all.build and install-normal from target_list
      	* configure: Regenerate.
      	* Makefile.in (install): Don't depend on install-normal.
      gcc/java/
      	* Make-lang.in (java.all.build, java.install-normal): Remove.
      gcc/objc/
      	* Make-lang.in (objc.all.build, objc.install-normal): Remove.
      gcc/objcp/
      	* Make-lang.in (obj-c++.all.build, obj-c++.install-normal): Remove.
      gcc/cp/
      	* Make-lang.in (c++.all.build, c++.install-normal): Remove.
      gcc/ada/
      	* Make-lang.in (ada.install-normal): Remove.
      gcc/fortran/
      	* Make-lang.in (fortran.all.build, fortran.install-normal): Remove.
      gcc/treelang/
      	* Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
      
      From-SVN: r108158
      Rafael Ávila de Espíndola committed
    • gty.texi: Remove instructions for adding a dependency on s-gtype. · 2f4d2d18
      gcc/
      	* doc/gty.texi: Remove instructions for adding a dependency on s-gtype.
      	* Makefile.in: Add code to compute some dependencies on s-gtype
      	automatically.  Remove the declaration of those dependencies.
      gcc/java/
      	* Make-lang.in: Remove all dependencies on s-gtype, except for
      	gt-java-parse.h.
      gcc/objc/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/objcp/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/cp/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/ada/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/fortran/
      	* Make-lang.in: Remove all dependencies on s-gtype, except for
      	gt-fortran-trans.h.
      gcc/treelang/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      
      From-SVN: r108155
      Alan Modra committed
  33. 03 Dec, 2005 1 commit
  34. 02 Dec, 2005 1 commit
  35. 21 Oct, 2005 1 commit
    • Index: objc/ChangeLog · e9bf587a
      2005-10-20  Geoffrey Keating  <geoffk@apple.com>
      
      	* objc-act.c (synth_module_prologue): Clear TREE_NOTHROW
      	on objc_msgSend and like builtin functions.
      
      Index: testsuite/ChangeLog
      2005-10-20  Geoffrey Keating  <geoffk@apple.com>
      
      	* obj-c++.dg/except-1.mm: New.
      
      From-SVN: r105704
      Geoffrey Keating committed
  36. 17 Oct, 2005 1 commit
  37. 01 Sep, 2005 1 commit
  38. 31 Aug, 2005 1 commit