|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * fold-const.c (extract_muldiv_1): Do not treat signed left shift
	as multiplication.
testsuite:
	* gcc.c-torture/execute/pr7284-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85059 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * doc/extend.texi (C Implementation): Move to there.
	* doc/gcc.texi: Include implement-c.texi.
	* Makefile.in (TEXI_GCC_FILES): Add implement-c.texi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85058 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| | handling.
        * tree-inline.c (setup_one_parameter): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85057 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85056 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | (substitute_and_fold): Propigate into VUSE operands when possible.
	(visit_phi_node): Handle UNKNOWN_VAL latticevalue.
	(cp_lattice_meet): Handle merging of latticevalues when
	UNKNOWN_VAL is present.
	(visit_stmt): Visit assignments with V_MUST_DEFs.
	(visit_assignment): Gather ccp information for V_MUST_DEF operands.
	(ccp_fold): Deal with RHS' that are constant and virtual.
	(evaluate_stmt): Handle UNKNOWN_VAL likely values.
	(dump_lattice_value): Dump UNKNOWN_VAL latticevalues.
	(initialize): Mark statements with V_MUST_DEFs as VARYING only if the
	V_MUST_DEF operand is VARYING. Fix comment and include VOPS when
	computing immediate uses.
	(set_lattice_value): Disallow a UNKNOWN_VAL->UNDEFINED state
	transition.
	(replace_vuse_in): New function.
	(likely_value): Add check of vuse operands.
	(get_default_value): Set the default value of virtually defined
	variables to UKNOWN_VAL instead of VARYING.
testsuite:
	* gcc.dg/tree-ssa/20040721-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85055 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85054 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| | variables due to conditional compilation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85053 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | (rewrite_ssa_into_ssa): Start iterating over SSA names at 1.
	Release SSA names that have been re-renamed.
	* tree-phinodes.c (make_phi_node): Set same TREE_TYPE as the
	variable.
	* tree-ssa-alias.c (init_alias_info): If aliases have been
	computed before, clear existing alias information.
	(create_name_tags): Do no fixup PT_ANYTHING pointers.
	If the new name tag for a pointer is different than the one it
	had before, mark the old tag for renaming.
	(replace_may_alias): New function.
	(group_aliases): Call it.
	(setup_pointers_and_addressables): Always call get_tmt_for.
	(maybe_create_global_var): Don't create .GLOBAL_VAR more than
	once.
	(set_pt_anything): New local function.
	(set_pt_malloc): New local function.
	(merge_pointed_to_info): Don't merge pointed-to variables from
	the original pointer if the destination is pointing to an
	unknown location.
	(add_pointed_to_expr): Call set_pt_anything and set_pt_malloc.
	(add_pointed_to_var): Do not add a variable to the points-to
	set if the pointer is already pointing to anywhere.
	(collect_points_to_info_r): If the defining statement is a PHI
	node, only merge pointed-to information if the argument has
	already been visited.
	(get_tmt_for): Only create a new tag if the pointer didn't
	have one already.
	(dump_alias_info): Emit more information.
	(dump_points_to_info_for): Likewise.
	* tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't
	try to get the annotation of an SSA_NAME.
	* tree-ssa-operands.c (add_stmt_operand): Only check for empty
	alias sets when checking is enabled.
	* tree-ssa-pre.c (need_eh_cleanup): New local variable.
	(eliminate): Mark basic blocks that will need
	EH information cleaned up.
	(init_pre): Split ENTRY_BLOCK->0 if block 0 has more than one
	predecessor.
	Initialize need_eh_cleanup.
	(fini_pre): Call tree_purge_all_dead_eh_edges and
	cleanup_tree_cfg if needed.
	Free need_eh_cleanup.
	* tree-ssa.c (verify_ssa_name): New function.
	(verify_def): Call it.
	Re-arrange to avoid printing too many error messages.
	(verify_use): Likewise.
	(verify_phi_args): Likewise.
	(verify_flow_insensitive_alias_info): New function.
	(verify_flow_sensitive_alias_info): New function.
	(verify_alias_info): New function.
	(verify_ssa): Call verify_alias_info.
	Clear TREE_VISITED on all the SSA_NAMEs before scanning the
	program.
	Re-arrange to avoid printing too many error messages.
	* tree-ssanames.c (make_ssa_name): Clear
	SSA_NAME_IN_FREE_LIST.
	(release_ssa_name): Never release a default definition.
	(release_defs): New function.
	* tree.h: Declare it.
	* tree-ssa-dce.c (remove_dead_stmt): Call it.
	* tree-ssa.c (walk_use_def_chains_1): Add new argument IS_DFS.
	If true, do a depth-first search.  Do a breadht-first search,
	otherwise.
	(walk_use_def_chains): Add new argument IS_DFS.
	Update all users.
	* tree-flow.h (walk_use_def_chains): Update prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85052 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | cp:
        * pt.c  (get_template_base): Check type is completable.
testsuite:
        * g++.dg/template/crash20.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85050 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * gfortran.dg/g77/970625-2.f Copy from g77.f-torture/execute.
	Add dg-run directive.  Declare variables as required.
	* gfortran.dg/g77/README: Update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85049 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | (asrandb, asrandw, lsrandb, lsrandw, moversideqi, movemsideqi)
	(mover2side, moverside, movemside, movei, op3, andu): Replace
	live define_peephole:s with define_peephole2 near-equivalents.
	Delete the rest.
 	("*mov_sidesisf_biap"): Rename from "*mov_sidesi_biap".  Match all
	word-size modes.
	("*mov_sidesisf", "*mov_sidesisf_biap_mem", "*mov_sidesisf_mem"):
	Similar for "*mov_sidesi", "*mov_sidesi_biap_mem" and
	"*mov_sidesi_mem" respectively.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85041 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| | gcc.dg/cris-peep2-andu2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85040 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * tree-cfg.c (gimplify_val): Move from tree-complex.c.
	(gimplify_build1): Move from tree-complex.c do_unop.
	(gimplify_build2): Move from tree-complex.c do_binop.
	(gimplify_build3): New.
	* tree-complex.c (gimplify_val, do_unop, do_binop): Remove.
	Adjust throughout to call the functions above.
	* tree-flow.h: Declare the functions above.
	* tree-nested.c (gimplify_val): Rename to...
	(tsi_gimplify_val): ... this.
	* Makefile.in (tree_complex.o): Update dependencies.
	(stor-layout.o): Depend on regs.h.
	* c-common.c (handle_vector_size_attribute): Update for
	vector types without corresponding vector modes.
	* expr.c (expand_expr): Treat VECTOR_CST's like CONSTRUCTORS if
	a corresponding vector mode is not available.
	* print-tree.c (print_node): Print nunits for vector types
	* regclass.c (have_regs_of_mode): New.
	(init_reg_sets_1): Initialize it and use it instead
	of allocatable_regs_of_mode.
	* regs.h (have_regs_of_mode): Declare it.
	* stor-layout.c (layout_type): Pick a mode for vector types.
	* tree-complex.c (build_word_mode_vector_type, tree_vec_extract,
	build_replicated_const, do_unop, do_binop, do_plus_minus,
	do_negate, expand_vector_piecewise, expand_vector_parallel,
	expand_vector_addition, expand_vector_operations_1,
	expand_vector_operations, tree_lower_operations,
	pass_lower_vector_ssa, pass_pre_expand): New.
	(expand_complex_operations, pass_lower_complex): Remove.
	* tree-optimize.c (init_tree_optimization_passes): Adjust
	pass ordering for changes in tree-complex.c.
	* tree-pass.h: Declare new passes.
	* tree.c (finish_vector_type): Remove.
	(make_vector_type): New.
	(build_vector_type_for_mode, build_vector_type): Rewritten.
	* tree.def (VECTOR_TYPE): Document where the number of
	subparts is stored.
	* tree.h (TYPE_VECTOR_SUBPARTS): Use TYPE_PRECISION field.
	(make_vector): Remove declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85039 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | TREE_THIS_VOLATILE, may_aliases, or optimization level.
        (remove_useless_vars): Dump debugging info.
        (expand_used_vars): Move ...
        * cfgexpand.c (expand_used_vars): ... here.  Make static.
        * tree-flow-inline.h (set_is_used): New.
        (set_default_def): Use get_var_ann.
        * tree-flow.h: Update decls.
        * tree-ssa-live.c (mark_all_vars_used_1, mark_all_vars_used): New.
        (create_ssa_var_map): Use it.
        * tree-ssa.c (set_is_used): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85034 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85031 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| | to create a new basic block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85029 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85027 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * c-decl.c (grokdeclarator): Only pedwarn for qualified void
	return type on function definitions.  Move other warnings for
	qualified return type to -Wreturn-type.  Do not condition any such
	warnings on -pedantic.  Update comments.
	(start_function): Only copy function type from previous prototype
	declaration if return types are compatible.
	* c-typeck.c (function_types_compatible_p): Don't condition
	warning for incompatibility of volatile qualifiers on the return
	type on -pedantic.  Update comment.
	* doc/invoke.texi (-Wreturn-type, -Wextra): Update.
testsuite:
	* gcc.dg/noreturn-5.c: Test qualifiers on function type instead of
	on return type.
	* gcc.dg/qual-return-1.c: Use -Wreturn-type.  Update expected
	messages.
	* gcc.dg/qual-return-2.c: Update expected messages.
	* gcc.dg/qual-return-3.c, gcc.dg/qual-return-4.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85024 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | type.
testsuite:
	* gcc.dg/c99-init-3.c, gcc.dg/gnu99-init-2.c: New tests.
	* gcc.dg/noncompile/921102-1.c: Update expected error message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85023 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * c-parse.in (init): Change to exprtype.
	(primary): Set original_code for STRING to STRING_CST.
	Call maybe_warn_string_init for compound literals.
	(initdcl, notype_initdcl): Call maybe_warn_string_init.
	(initval): Update.
	* c-tree.h (maybe_warn_string_init): New.
	(pop_init_level, process_init_element): Use struct c_expr.
	(struct c_expr): Update comment.
	* c-typeck.c (maybe_warn_string_init): New function.
	(digest_init): Call it.  Additional parameter strict_string.  All
	callers changed.
	(output_init_element): Likewise.
	(struct constructor_stack): Use struct c_expr for
	replacement_value.
	(really_start_incremental_init, push_init_level): Update.
	(pop_init_level): Update.  Return struct c_expr.
	(process_init_level): Update.  Take struct c_expr argument.
testsuite:
	* gcc.dg/init-string-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85022 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| | * config/sparc/sparc.c (sparc_rtx_costs): Fix typo in previous
	commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85020 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * builtins.c (expand_builtin_setjmp_receiver): Fix comment for code
	removal.
	* c-decl.c (pop_scope): Ditto.
	* calls.c (expand_call): Remove call to current_nesting_level,
	update comment accordingly. Remove calls to expand_start_target_temps
	and expand_end_target_temps.
	* cfgexpand.c (construct_init_block): Remove call to
	expand_start_bindings_and_block.
	(construct_exit_block): Remove call to expand_end_bindings.
	* expr.c (safe_from_p): Remove BIND_EXPR handling.
	(expand_expr_real_1): Ditto. Fix formatting.
	(expand_vars): Delete.
	* stmt.c (POPSTACK): Remove block_stack.
	(stmt_status): Remove x_block_stack.
	(block_stack): Delete.
	(expand_start_bindings_and_block): Ditto.
	(expand_start_target_temps): Ditto.
	(expand_end_target_temps): Ditto.
	(current_nesting_level): Ditto.
	(warn_about_unused_variables): Ditto.
	(expand_end_bindings): Ditto.
	* tree.h: Remove declarations for above.
2004-07-21  Eric Christopher  <echristo@redhat.com>
	* decl.c (poplevel): Inline unused variable checking.
	Change formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85019 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * rtl.c (note_insn_name): Likewise.
	* print-rtl.c (print_rtx): Don't print it.
	* cfgrtl.h (can_delete_note_p): Don't handle it.
	(rtl_delete_block): Likewise.
	* passes.c (rest_of_handle_guess_branch_prob): Remove.
	(rest_of_compilation): Don't call it.
	* predict.c (process_note_predictions, process_note_prediction,
	note_prediction_to_br_prob): Remove.
	* basic-block.c (note_prediction_to_br_prob): Remove prototype.
	* stmt.c (return_prediction): Remove.
	(expand_value_return): Don't call it.  Don't add prediction
	notes for return statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85016 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| | once.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85012 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85010 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * verify.c (verify_jvm_instructions): Comment change only.
	* typeck.c (build_java_array_type): Add size field to array name.
	* java-tree.h (LOCAL_SLOT_P): New.
	(update_aliases): Add PC argument.
	(pushdecl_function_level): New function.
	* java-gimplify.c (java_gimplify_expr): Handle VAR_DECL,
	MODIFY_EXPR, and SAVE_EXPR.
	(java_gimplify_modify_expr): New function.
	* expr.c (push_type_0): Call find_stack_slot() to create temporary.
	(expand_iinc): Pass PC to update_aliases().
	(STORE_INTERNAL): Likewise.
	(process_jvm_instruction): Likewise.
	* decl.c (base_decl_map): New variable.
	(uniq): New variable.
	(update_aliases): Rewrite with more thorough checking.
	(debug_variable_p): New function.
	(push_jvm_slot): Don't initialize local variable.  Don't pushdecl.
	(check_local_named_variable): Delete whole function.
	(initialize_local_variable): New function.
	(check_local_unnamed_variable): Add checks and comments.
	(find_local_variable): Rewrite.
	(java_replace_reference): New function.
	(function_binding_level): New variable.
	(pushdecl_function_level): New function.
	(maybe_pushlevels): Set DECL_LOCAL_END_PC.
	(maybe_pushlevels): Call pushdecl() on each of the new decls.
	(start_java_method): Reset uniq.  Create base_decl_map.  Set
	function_binding_level.
	(end_java_method): Null unused fields to save memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85009 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85004 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * c-common.c (vector_types_convertible_p): Use vector types'
	TYPE_SIZE and TREE_TYPE instead of their mode.
	* convert.c (convert_to_integer): Likewise.
	(convert_to_vector): Likewise.
	* fold-const.c (fold_convert): Likewise.
	* varasm.c (output_constant): Likewise.
	* expr.c (store_constructor): Split ARRAY_TYPE and VECTOR_TYPE.
	Allow a VECTOR_TYPE initializer to be made of several vectors.
	For ARRAY_TYPEs and VECTOR_TYPES, simplify a bit the handling
	of cleared and need_to_clear, and use fold_convert.
	* c-typeck.c (build_binary_op): Do not use RDIV_EXPR for
	integer vectors.
cp/ChangeLog:
2004-07-21  Paolo Bonzini  <bonzini@gnu.org>
	* c-typeck.c (build_binary_op): Do not use RDIV_EXPR for
	integer vectors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85002 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * c-common.c (vector_types_convertible_p): Use vector types'
	TYPE_SIZE and TREE_TYPE instead of their mode.
	* convert.c (convert_to_integer): Likewise.
	(convert_to_vector): Likewise.
	* fold-const.c (fold_convert): Likewise.
	* varasm.c (output_constant): Likewise.
	* expr.c (store_constructor): Split ARRAY_TYPE and VECTOR_TYPE.
	Allow a VECTOR_TYPE initializer to be made of several vectors.
	For ARRAY_TYPEs and VECTOR_TYPES, simplify a bit the handling
	of cleared and need_to_clear, and use fold_convert.
	* c-typeck.c (build_binary_op): Do not use RDIV_EXPR for
	integer vectors.
cp/ChangeLog:
2004-07-21  Paolo Bonzini  <bonzini@gnu.org>
	* c-typeck.c (build_binary_op): Do not use RDIV_EXPR for
	integer vectors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85000 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| | PR c/16450
	* gcc.dg/torture/nested-fn-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84999 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| | PR target/16559
	* gcc.dg/ia64-fptr-1.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84995 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84994 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| | (expand_gimple_basic_block): out from here.  Renamed from expand_block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84993 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| | * config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit
	enormous cost if not TARGET_HARD_MUL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84992 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | PR target/16557
        * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ...
        (ASM_SPEC): here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84991 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| | (operand_equal_p, case ARRAY_REF): Compare args 2 and 3.
	(operand_equal_p, case COMPONENT_REF): Likewise, for arg 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84990 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84989 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84987 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * pt.c (check_explicit_specialization): Remove extension to accept
	specializations without template headers. Fall-through to normal
	processing.
	PR c++/14497
	* g++.dg/template/spec16.C: New test.
	* g++.old-deja/g++.robertl/eb118.C: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84983 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * pt.c (determine_specialization): New parameter template_count.
	Disambiguate between member templates and member functions counting
	the template headers.
	(check_explicit_specialization): Update caller.
	(tsubst_friend_function): Likewise.
	PR c++/509
	* g++.dg/template/spec15.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84982 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| | * gfortran.dg/g77/README: Update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84981 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | Copy cases from g77.f-torture/execute and add dg-run
	directive.  Other changes as noted.
	* gfortran.dg/g77/13037.f
	* gfortran.dg/g77/1832.f
	* gfortran.dg/g77/19981119-0.f
	* gfortran.dg/g77/19990313-0.f
	* gfortran.dg/g77/19990313-1.f
	* gfortran.dg/g77/19990313-2.f
	* gfortran.dg/g77/19990313-3.f
	* gfortran.dg/g77/19990419-1.f
	* gfortran.dg/g77/19990826-0.f
	* gfortran.dg/g77/19990826-2.f
	* gfortran.dg/g77/20000503-1.f
	* gfortran.dg/g77/20001111.f
	* gfortran.dg/g77/20010116.f
	* gfortran.dg/g77/20010426-1.f: Renamed from 20010426-1.f
	* gfortran.dg/g77/20010430.f
	* gfortran.dg/g77/6177.f
	* gfortran.dg/g77/947.f
	* gfortran.dg/g77/970816-3.f
	* gfortran.dg/g77/971102-1.f
	* gfortran.dg/g77/980520-1.f
	* gfortran.dg/g77/980628-0.f
	* gfortran.dg/g77/980628-1.f
	* gfortran.dg/g77/980628-10.f
	* gfortran.dg/g77/980628-2.f
	* gfortran.dg/g77/980628-3.f
	* gfortran.dg/g77/980628-7.f
	* gfortran.dg/g77/980628-8.f
	* gfortran.dg/g77/980628-9.f
	* gfortran.dg/g77/980701-0.f
	* gfortran.dg/g77/980701-1.f
	* gfortran.dg/g77/cabs.f
	* gfortran.dg/g77/claus.f
	* gfortran.dg/g77/complex_1.f
	* gfortran.dg/g77/cpp3.F: Renamed from cpp3.F
	* gfortran.dg/g77/dcomplex.f
	* gfortran.dg/g77/dnrm2.f: Add dg-warnings as required.
	* gfortran.dg/g77/f90-intrinsic-mathematical.f
	* gfortran.dg/g77/f90-intrinsic-numeric.f
	* gfortran.dg/g77/int8421.f
	* gfortran.dg/g77/labug1.f
	* gfortran.dg/g77/large_vec.f
	* gfortran.dg/g77/le.f
	* gfortran.dg/g77/short.f
	* gfortran.dg/g77/README: Update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84980 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84979 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * cp-tree.h (tinst_level_t): New tree type.
	(union lang_tree_node): Handle it.
	(TINST_LOCATION): New accessor macro.
	(make_tinst_level): New prototype.
	* cp-lang.c (cp_tree_size): Handle TINST_LEVEL.
	* decl.c (cp_tree_node_structure): Likewise.
	* error.c (print_instantiation_full_context): Use TINST_LOCATION.
	(print_instantiation_partial_context): Likewise.
	* pt.c (pop_tinst_level): Likewise.
	 (push_tinst_level): Use make_tinst_level.
	* tree.c (make_tinst_level): New function.
	(cp_walk_subtrees): Walk TINST_DECL for a TINST_LEVEL node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84977 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | (plus_constant_wide): Rename to plus_constant.
	(plus_constant_for_output_wide): Delete vestigial prototype.
	(GEN_INT): Remove unnecessary cast.
	* tree.h (build_int_2, size_int_type): Delete.
	(build_int_2_wide): Rename to build_int_2.
	(size_int_wide): Rename to size_int_kind.
	(size_int_type_wide): Rename to size_int_type.
	(size_int, ssize_int, bitsize_int, sbitsize_int): Use size_int_kind.
	Remove unnecessary cast.
	* tree.c (build_int_2_wide): Rename build_int_2; update comment.
	* explow.c (plus_constant_wide): Rename plus_constant; update comment.
	* fold-const.c (size_int_wide): Rename size_int_kind. Use size_int_type.
	(size_int_type_wide): Rename size_int_type.
	(int_const_binop): Use size_int_type.
	* c-lex.c (interpret_integer): Use build_int_2.
	* final.c (split_double): Remove unnecessary casts.
	* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Use build_int_2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84976 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | (gimplify_compound_lval): Use is_gimple_tmp_reg.
        * tree-gimple.c (is_gimple_tmp_var): Move from gimplify.c.
        (is_gimple_tmp_reg): New.
        * tree-gimple.h (is_gimple_tmp_reg): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84975 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| | CALL_EXPR_HAS_RETURN_SLOT_ADDR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84974 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | VEC_T_replace, VEC_T_quick_insert, VEC_T_safe_insert,
	VEC_T_ordered_remove, VEC_T_unordered_remove): Use unsigned, not
	size_t.
	(struct VEC): Use unsigned for num and alloc.
	* vec.c (struct vec_prefix): Likewise.
	(vec_o_reserve): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84973 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * tree-mudflap.c (mf_set_options_fndecl): New tree.
	(mudflap_init): Set it.
	(mudflap_register_call): Remove __mf_init call.
	(mudflap_finish_file): Emit call to __mf_init here.  Emit a call to
	to pass "-ignore-reads" option to libmudflap if needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84972 138bc75d-0d04-0410-961f-82ee72b054a4 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY): Define.
	(MAKE_DECL_ONE_ONLY): Undefine.
	* pa-protos.h (som_text_section_asm_op, one_only_readonly_data_section,
	readonly_data, one_only_data_section, forget_section): New prototypes.
	* pa.c (pa_init_machine_status, som_text_section_asm_op): New
	functions.
	(pa_select_section): Add one-only (COMDAT) support.
	* pa.h (struct machine_function): Define.
	* som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
	(TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
	(DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP,
	ONE_ONLY_TEXT_SECTION_ASM_OP, ONE_ONLY_READONLY_DATA_SECTION_ASM_OP,
	ONE_ONLY_DATA_SECTION_ASM_OP): New defines.
	(EXTRA_SECTIONS): Add in_one_only_readonly_data and in_one_only_data.
	(EXTRA_SECTION_FUNCTIONS): Rework to use individual function macros.
	(READONLY_DATA_FUNCTION, ONE_ONLY_READONLY_DATA_SECTION_FUNCTION,
	ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New defines
	for EXTRA_SECTION_FUNCTIONS.
	* doc/install.texi: Update binutils requirements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84970 138bc75d-0d04-0410-961f-82ee72b054a4 |