Diego Novillo [Sat, 9 Apr 2005 01:37:54 +0000 (01:37 +0000)]
backport: copy-prop, incremental SSA updating of FUD chains and newly exposed symbols.
Merge from tree-cleanup-branch: VRP, store CCP, store
copy-prop, incremental SSA updating of FUD chains and
newly exposed symbols.
* Makefile.in (tree-ssa-copy.o): Depend on tree-ssa-propagate.h.
(OBJS-common): Add tree-vrp.o.
(tree-vrp.o): New rule.
* basic-block.h (nearest_common_dominator_for_set): Declare.
* common.opt (ftree-store-ccp): New flag.
(ftree-copy-prop): New flag.
(ftree-vrp): New flag.
(ftree-store-copy-prop): New flag.
* dominance.c (nearest_common_dominator_for_set): New.
* domwalk.c (walk_dominator_tree): Only traverse
statements in blocks marked in walk_data->interesting_blocks.
* domwalk.h (struct dom_walk_data): Add field interesting_blocks.
* fold-const.c (fold): Handle ASSERT_EXPR.
* opts.c (decode_options): Set flag_tree_copy_prop at -O1.
Set flag_tree_store_ccp, flag_tree_store_copy_prop and
flag_tree_vrp at -O2.
* timevar.def (TV_TREE_VRP): Define.
(TV_TREE_COPY_PROP): Define.
(TV_TREE_STORE_COPY_PROP): Define.
(TV_TREE_SSA_INCREMENTAL): Define.
(TV_TREE_STORE_CCP): Define.
* tree-cfg.c (tree_can_merge_blocks_p): Remove reference
to kill_redundant_phi_nodes from comment.
(verify_expr): Handle ASSERT_EXPR.
* tree-dfa.c (mark_new_vars_to_rename): Remove second
argument. Update all users.
(mark_call_clobbered_vars_to_rename): Remove. Update all
users.
* tree-flow-inline.h (unmodifiable_var_p): New.
* tree-flow.h (enum value_range_type): Declare.
(struct value_range_def): Declare.
(value_range): Declare.
(remove_all_phi_nodes_for): Remove. Update all users.
(find_phi_node_for): Declare.
(add_type_alias): Declare.
(count_uses_and_derefs): Declare.
(kill_redundant_phi_nodes): Remove.
(rewrite_into_ssa): Remove.
(rewrite_def_def_chains): Remove.
(update_ssa, register_new_name_mapping, create_new_def_for,
need_ssa_update_p, name_registered_for_update_p,
release_ssa_name_after_update_ssa, dump_repl_tbl,
debug_repl_tbl, dump_names_replaced_by,
debug_names_replaced_by, mark_sym_for_renaming,
mark_set_for_renaming, get_current_def, set_current_def,
get_value_range, dump_value_range, debug_value_range,
dump_all_value_ranges, debug_all_value_ranges,
expr_computes_nonzero, loop_depth_of_name,
unmodifiable_var_p): Declare.
* tree-gimple.c (is_gimple_formal_tmp_rhs): Handle
ASSERT_EXPR.
* tree-into-ssa.c (block_defs_stack): Update comment.
(old_ssa_names, new_ssa_names, old_virtual_ssa_names,
syms_to_rename, names_to_release, repl_tbl,
need_to_initialize_update_ssa_p, need_to_update_vops_p,
need_to_replace_names_p): New locals.
(NAME_SETS_GROWTH_FACTOR): Define.
(struct repl_map_d): Declare.
(struct mark_def_sites_global_data): Add field
interesting_blocks.
(enum rewrite_mode): Declare.
(REGISTER_DEFS_IN_THIS_STMT): Define.
(compute_global_livein): Use last_basic_block instead of
n_basic_blocks.
(set_def_block): Remove last argument. Update all callers.
(prepare_use_operand_for_rename): Remove. Update all callers.
(prepare_def_operand_for_rename): Remove. Update all callers.
(symbol_marked_for_renaming): New.
(is_old_name): New.
(is_new_name): New.
(repl_map_hash): New.
(repl_map_eq): New.
(repl_map_free): New.
(names_replaced_by): New.
(add_to_repl_tbl): New.
(add_new_name_mapping): New.
(mark_def_sites): Assume that all the operands in the
statement are in normal form.
(find_idf): Assert that the block in the stack is valid.
(get_default_def_for): New.
(insert_phi_nodes_for): Add new argument 'update_p'.
Add documentation.
If update_p is true, add a new mapping between the LHS of
each new PHI and the name that it replaces.
(insert_phi_nodes_1): Only call find_idf if needed.
(get_reaching_def): Call get_default_def_for.
(rewrite_operand): Remove.
(rewrite_stmt): Do nothing if REGISTER_DEFS_IN_THIS_STMT
and REWRITE_THIS_STMT are false.
Assume that all the operands in the statement are in
normal form.
(rewrite_add_phi_arguments): Don't use PHI_REWRITTEN.
(rewrite_virtual_phi_arguments): Remove.
(invalidate_name_tags): Remove.
(register_new_update_single, register_new_update_set,
rewrite_update_init_block, replace_use,
rewrite_update_fini_block, rewrite_update_stmt,
rewrite_update_phi_arguments): New.
rewrite_blocks): Remove argument 'fix_virtual_phis'.
Add arguments 'entry', 'what' and 'blocks'.
Initialize the dominator walker according to 'what' and
'blocks'.
Start the dominator walk at 'entry'.
(mark_def_site_blocks): Add argument 'interesting_blocks'.
Use it to configure the dominator walker.
(rewrite_into_ssa): Remove argument 'all'.
Make internal.
(rewrite_all_into_ssa): Remove.
(rewrite_def_def_chains): Remove.
(mark_def_interesting, mark_use_interesting,
prepare_phi_args_for_update, prepare_block_for_update,
prepare_def_site_for, prepare_def_sites,
dump_names_replaced_by, debug_names_replaced_by,
dump_repl_tbl, debug_repl_tbl, init_update_ssa,
delete_update_ssa, create_new_def_for,
register_new_name_mapping, mark_sym_for_renaming,
mark_set_for_renaming, need_ssa_update_p,
name_registered_for_update_p, ssa_names_to_replace,
release_ssa_name_after_update_ssa,
insert_updated_phi_nodes_for, update_ssa): New.
* tree-loop-linear.c (linear_transform_loops): Call
update_ssa instead of rewrite_into_ssa.
* tree-optimize.c (vars_to_rename): Remove.
Update all users.
(init_tree_optimization_passes): Replace
pass_redundant_phi with pass_copy_prop.
Add pass_vrp.
Replace pass_ccp with pass_store_ccp.
Add pass_store_copy_prop after pass_store_ccp.
(execute_todo): If the TODO_ flags don't include updating
the SSA form, assert that it does not need to be updated.
Call update_ssa instead of rewrite_into_ssa and
rewrite_def_def_chains.
If TODO_verify_loops is set, call verify_loop_closed_ssa.
(tree_rest_of_compilation):
* tree-pass.h (TODO_dump_func, TODO_ggc_collect,
TODO_verify_ssa, TODO_verify_flow, TODO_verify_stmts,
TODO_cleanup_cfg): Renumber.
(TODO_verify_loops, TODO_update_ssa,
TODO_update_ssa_no_phi, TODO_update_ssa_full_phi,
TODO_update_ssa_only_virtuals): Define.
(pass_copy_prop, pass_store_ccp, pass_store_copy_prop, pass_vrp):
Declare.
* tree-phinodes.c (make_phi_node): Update documentation.
(remove_all_phi_nodes_for): Remove.
(find_phi_node_for): New.
* tree-pretty-print.c (dump_generic_node): Handle ASSERT_EXPR.
* tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Likewise.
(interpret_rhs_modify_expr): Likewise.
* tree-sra.c (decide_instantiations): Mark all symbols in
SRA_CANDIDATES for renaming.
(mark_all_v_defs_1): Rename from mark_all_v_defs.
(mark_all_v_defs): New function. Update all users to call it
with the whole list of scalarized statements, not just the
first one.
* tree-ssa-alias.c (count_ptr_derefs): Make extern.
(compute_flow_insensitive_aliasing): If the tag is
unmodifiable and the variable isn't or vice-versa, don't
make them alias of each other.
(setup_pointers_and_addressables): If the type tag for
VAR is about to change, mark the old one for renaming.
(add_type_alias): New.
* tree-ssa-ccp.c: Document SSA-CCP and STORE-CCP.
(ccp_lattice_t): Rename from latticevalue.
(value): Remove. Update all users.
(const_val): New local variable.
(do_store_ccp): New local variable.
(dump_lattice_value): Handle UNINITIALIZED.
(debug_lattice_value): New.
(get_default_value): Re-write.
(set_lattice_value): Re-write.
(def_to_varying): Remove. Update all users.
(likely_value): Return VARYING for statements that make
stores when STORE_CCP is false.
Return VARYING for any statement other than MODIFY_EXPR,
COND_EXPR and SWITCH_EXPR.
(ccp_initialize): Re-write.
(replace_uses_in, replace_vuse_in, substitute_and_fold):
Move to tree-ssa-propagate.c.
(ccp_lattice_meet): Handle memory stores when
DO_STORE_CCP is true.
(ccp_visit_phi_node): Likewise.
(ccp_fold): Likewise.
(evaluate_stmt): Likewise.
(visit_assignment): Likewise.
(ccp_visit_stmt): Likewise.
(execute_ssa_ccp): Add argument 'store_ccp'. Copy it
into DO_STORE_CCP.
(do_ssa_ccp): New.
(pass_ccp): Use it.
(do_ssa_store_ccp): New.
(gate_store_ccp): New.
(pass_store_ccp): Declare.
* tree-ssa-copy.c: Include tree-ssa-propagate.h.
(may_propagate_copy): Reformat.
Don't abort if ORIG is a virtual and DEST isn't.
If NEW does not have alias information but DEST does,
copy it.
(copy_of, cached_last_copy_of, do_store_copy_prop, enum
copy_prop_kind, which_copy_prop): Declare.
(stmt_may_generate_copy, get_copy_of_val,
get_last_copy_of, set_copy_of_val, dump_copy_of,
copy_prop_visit_assignment, copy_prop_visit_cond_stmt,
copy_prop_visit_stmt, copy_prop_visit_phi_node,
init_copy_prop, fini_copy_prop, execute_copy_prop,
gate_copy_prop, do_copy_prop, gate_store_copy_prop,
store_copy_prop): New.
(pass_copy_prop, pass_store_copy_prop): Declare.
* tree-ssa-dom.c (struct opt_stats_d): Add fields
'num_const_prop' and 'num_copy_prop'.
(cprop_operand): Update them.
(dump_dominator_optimization_stats): Dump them.
(tree_ssa_dominator_optimize): Call update_ssa instead of
rewrite_into_ssa.
(loop_depth_of_name): Declare extern.
(simplify_cond_and_lookup_avail_expr): Guard against NULL
values for LOW or HIGH.
(cprop_into_successor_phis): Only propagate if NEW != ORIG.
(record_equivalences_from_stmt): Call expr_computes_nonzero.
(cprop_operand): Only propagate if VAL != OP.
* tree-ssa-dse.c (dse_optimize_stmt): Mark symbols in removed
statement for renaming.
* tree-ssa-loop-im.c (move_computations): Call update_ssa.
* tree-ssa-loop-ivopts.c (rewrite_address_base): Call
add_type_alias if necessary.
Call mark_new_vars_to_rename.
(tree_ssa_iv_optimize): If new symbols need to be renamed,
mark every statement updated, call update_ssa and
rewrite_into_loop_closed_ssa.
* tree-ssa-loop-manip.c (add_exit_phis): Do not remove DEF_BB
from LIVEIN if VAR is a virtual.
* tree-ssa-loop.c (tree_loop_optimizer_init): Call update_ssa.
* tree-ssa-operands.c (get_expr_operands): Handle ASSERT_EXPR.
(get_call_expr_operands): Reformat statement.
(add_stmt_operand): Don't create V_MAY_DEFs for read-only
symbols.
* tree-ssa-propagate.c (ssa_prop_init): Initialize
SSA_NAME_VALUE for every name.
(first_vdef, stmt_makes_single_load, stmt_makes_single_store,
get_value_loaded_by): New.
(replace_uses_in, replace_vuses_in, replace_phi_args_in,
substitute_and_fold): Move from tree-ssa-ccp.c.
* tree-ssa-propagate.h (struct prop_value_d, prop_value_t,
first_vdef, stmt_makes_single_load, stmt_makes_single_store,
get_value_loaded_by, replace_uses_in, substitute_and_fold):
Declare.
* tree-ssa.c (verify_use): Fix error message.
(propagate_into_addr, replace_immediate_uses, get_eq_name,
check_phi_redundancy, kill_redundant_phi_nodes,
pass_redundant_phi): Remove. Update all users.
* tree-vect-transform.c (vect_create_data_ref_ptr): Call
add_type_alias, if necessary.
* tree-vectorizer.h (struct _stmt_vect_info): Update
documentation for field 'memtag'.
* tree-vrp.c: New file.
* tree.def (ASSERT_EXPR): Define.
* tree.h (ASSERT_EXPR_VAR): Define.
(ASSERT_EXPR_COND): Define.
(SSA_NAME_VALUE_RANGE): Define.
(struct tree_ssa_name): Add field 'value_range'.
(PHI_REWRITTEN): Remove.
(struct tree_phi_node): Remove field 'rewritten'.
* doc/invoke.texi (-fdump-tree-storeccp, -ftree-copy-prop,
-ftree-store-copy-prop): Document.
* doc/tree-ssa.texi: Remove broken link to McCAT's compiler.
Document usage of update_ssa.
testsuite/ChangeLog
* g++.dg/tree-ssa/pr18178.C: New test.
* gcc.c-torture/execute/
20030216-1.x: Ignore at -O1.
* gcc.c-torture/execute/
20041019-1.c: New test.
* gcc.dg/tree-ssa/
20041008-1.c: New test.
* gcc.dg/tree-ssa/ssa-ccp-12.c: New test.
* gcc.dg/tree-ssa/
20030731-2.c: Update to use -fdump-tree-store_ccp.
* gcc.dg/tree-ssa/
20030917-1.c: Likewise.
* gcc.dg/tree-ssa/
20030917-3.c: Likewise.
* gcc.dg/tree-ssa/
20040721-1.c: Likewise.
* gcc.dg/tree-ssa/ssa-ccp-1.c: Likewise.
* gcc.dg/tree-ssa/ssa-ccp-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-ccp-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-ccp-7.c: Likewise.
* gcc.dg/tree-ssa/ssa-ccp-9.c: Likewise.
From-SVN: r97884
GCC Administrator [Sat, 9 Apr 2005 00:16:27 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r97880.2
Paolo Carlini [Sat, 9 Apr 2005 00:08:58 +0000 (00:08 +0000)]
re PR libstdc++/20909 (incorrect floating point format)
2005-04-08 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/20909
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Don't even try to group numbers like 2e20, i.e., no decimal
point, scientific notation.
* testsuite/22_locale/num_put/put/char/20909.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
From-SVN: r97873
David Edelsohn [Fri, 8 Apr 2005 23:42:06 +0000 (23:42 +0000)]
re PR target/20814 (ICE in extract_insn for test vmx/varargs-1.c)
PR target/20814
* config/rs6000/predicates.md (altivec_register_operand): Accept
SUBREG.
(and64_operand): Do not limit CONST_INT to mask64_operand.
(and64_2_operand): Do not limit CONST_INT to mask64_1or2_operand.
(and_operand): Do not limit CONST_INT to mask_operand.
From-SVN: r97872
Mike Stump [Fri, 8 Apr 2005 23:30:23 +0000 (23:30 +0000)]
rs6000.c (rs6000_emit_prologue): Use 5 nops, instead of 4.
* config/rs6000/rs6000.c (rs6000_emit_prologue): Use 5 nops,
instead of 4.
From-SVN: r97871
Hans-Peter Nilsson [Fri, 8 Apr 2005 23:21:07 +0000 (23:21 +0000)]
re PR rtl-optimization/20466 (Missed invalidation of known memory contents in flow2...)
PR rtl-optimization/20466
* flow.c (invalidate_mems_from_set): Handle a MEM by checking it
for overlap of the address of each list member.
(mark_set_1): Call invalidate_mems_from_set for MEMs too.
From-SVN: r97870
Hans-Peter Nilsson [Fri, 8 Apr 2005 23:18:32 +0000 (23:18 +0000)]
re PR rtl-optimization/20466 (Missed invalidation of known memory contents in flow2...)
PR rtl-optimization/20466
* gcc.c-torture/execute/pr20466-1.c: New test.
From-SVN: r97869
Kelley Cook [Fri, 8 Apr 2005 23:09:32 +0000 (23:09 +0000)]
acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
* acconfig.h: Delete file.
* Makefile.in, acinclude.m4, configure: Regenerate.
From-SVN: r97868
Mike Stump [Fri, 8 Apr 2005 22:53:31 +0000 (22:53 +0000)]
* config/darwin.c (indirect_data): Fix typo in strncmp logic.
From-SVN: r97866
Mike Stump [Fri, 8 Apr 2005 22:00:58 +0000 (22:00 +0000)]
Fix typo.
From-SVN: r97862
Kelley Cook [Fri, 8 Apr 2005 21:54:31 +0000 (21:54 +0000)]
linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
* linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
(GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
(GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
* acconfig.h: Delete redundant macros.
* config.h.in, configure: Regenerate.
From-SVN: r97861
Kelley Cook [Fri, 8 Apr 2005 21:29:13 +0000 (21:29 +0000)]
linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate a subshell and if test fails...
2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
* linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
a subshell and if test fails, test for same functions with
leading underscore.
(GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
* configure: Regenerate.
From-SVN: r97860
Mark Mitchell [Fri, 8 Apr 2005 21:13:57 +0000 (21:13 +0000)]
re PR c++/20905 (confuses unrelated type name with instance name)
PR c++/20905
* parser.c (cp_parser_type_specifier_seq): Add is_condition
parameter.
(cp_parser_new_type_id): Pass it.
(cp_parser_condition): Likewise.
(cp_parser_conversion_type_id): Likewise.
(cp_parser_type_id): Likewise.
(cp_parser_type_specifier_seq): In a condition, do not allow
invalid type-specifier combinations.
(cp_parser_exception_declaration): Adjust call to
cp_parser_type_specifier_seq.
PR c++/20905
* g++.dg/parse/cond2.C: New test.
From-SVN: r97857
Mark Mitchell [Fri, 8 Apr 2005 19:39:59 +0000 (19:39 +0000)]
re PR c++/20145 (template "class has virtual functions ... " is not suppressed with -isystem)
* cp-tree.def (TINST_LEVEL): Document TINST_IN_SYSTEM_HEADER_P.
* cp-tree.h (struct tinst_level): Add in_system_header_p.
(TINST_IN_SYSTEM_HEADER_P): New macro.
(make_tinst_level): Remove.
* pt.c (lookup_template_class): Preserve DECL_IN_SYSTEM_HEADER on
the instantiated class.
(push_tinst_level): Do not use make_tinst_level. Set
TINST_IN_SYSTEM_HEADER_P.
(pop_tinst_level): Likewise.
(instantiate_class_template): Set in_system_header.
(instantiate_pending_templates): Likewise.
* tree.c (make_tinst_level): Remove.
PR c++/20145
* g++.dg/warn/Wdtor1.C: New test.
From-SVN: r97854
Eric Botcazou [Fri, 8 Apr 2005 19:07:54 +0000 (19:07 +0000)]
backspace.c (unformatted_backspace): Do not dereference the pointer to the stream.
* io/backspace.c (unformatted_backspace): Do not dereference
the pointer to the stream.
From-SVN: r97851
Kazu Hirata [Fri, 8 Apr 2005 18:47:40 +0000 (18:47 +0000)]
* c-common.h (C_ARTIFICIAL_STRING_P): Remove.
From-SVN: r97849
Diego Novillo [Fri, 8 Apr 2005 18:05:38 +0000 (18:05 +0000)]
* match.c (gfc_match_arithmetic_if): Declare static.
From-SVN: r97846
Danny Smith [Fri, 8 Apr 2005 17:31:33 +0000 (17:31 +0000)]
re PR libstdc++/20806 (basic_filebuf::xsgetn() fails with text mode and DOS line endings and large buffers)
2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
Paolo Carlini <pcarlini@suse.de>
PR libstdc++/20806
* config/os/mingw32/os_defines.h: Define
_GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
* config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
* include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
Use it.
(basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r97842
Kazu Hirata [Fri, 8 Apr 2005 17:20:15 +0000 (17:20 +0000)]
genattrtab.c (attr_desc): Remove negative_ok and unsigned_p.
* genattrtab.c (attr_desc): Remove negative_ok and unsigned_p.
(check_attr_value, write_attr_get, write_expr_attr_cache,
find_attr, make_internal_attr): Don't reference negative_ok or
unsigned_p.
* genattrtab.h (ATTR_NEGATIVE_OK, ATTR_UNSIGNED,
ATTR_FUNC_UNITS, ATTR_BLOCKAGE): Remove.
(ATTR_STATIC): Adjust the value.
From-SVN: r97841
Kazu Hirata [Fri, 8 Apr 2005 17:13:31 +0000 (17:13 +0000)]
* tree.h (STRIP_MAIN_TYPE_NOPS): Remove.
From-SVN: r97840
Kazu Hirata [Fri, 8 Apr 2005 17:12:03 +0000 (17:12 +0000)]
* function.h (nonlocal_labels): Remove.
From-SVN: r97839
Kazu Hirata [Fri, 8 Apr 2005 17:10:37 +0000 (17:10 +0000)]
function.h (function): Remove instrument_entry_exit.
* function.h (function): Remove instrument_entry_exit.
(current_function_instrument_entry_exit): Remove.
From-SVN: r97838
Kazu Hirata [Fri, 8 Apr 2005 17:09:20 +0000 (17:09 +0000)]
function.c (push_function_context_to): Don't set contains_functions.
* function.c (push_function_context_to): Don't set
contains_functions.
* function.h (function): Remove contains_functions.
(current_function_contains_functions): Remove.
From-SVN: r97837
Kazu Hirata [Fri, 8 Apr 2005 17:07:49 +0000 (17:07 +0000)]
* c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Remove.
From-SVN: r97836
Ulrich Weigand [Fri, 8 Apr 2005 16:59:40 +0000 (16:59 +0000)]
* config/s390/tpf.h (ASM_SPEC): Define.
From-SVN: r97832
Kazu Hirata [Fri, 8 Apr 2005 15:32:38 +0000 (15:32 +0000)]
tree-flow.h: Remove the prototype for redirect_immediate_uses.
* tree-flow.h: Remove the prototype for
redirect_immediate_uses.
(TDFA_USE_OPS, TDFA_USE_VOPS): Remove.
From-SVN: r97830
Richard Earnshaw [Fri, 8 Apr 2005 13:34:27 +0000 (13:34 +0000)]
arm.c (arm_const_double_by_parts): New function.
* arm.c (arm_const_double_by_parts): New function.
* arm-protos.h (arm_const_double_by_parts): Add prototype.
* arm.md (define_split for 64-bit constants): Add another one.
From-SVN: r97828
Andrew MacLeod [Fri, 8 Apr 2005 13:09:26 +0000 (13:09 +0000)]
tree-ssa-operands.c (correct_use_link): Remove linear scan.
2005-04-08 Andrew MacLeod <amacleod@redhat.com>
* tree-ssa-operands.c (correct_use_link): Remove linear scan.
From-SVN: r97827
Kaveh R. Ghazi [Fri, 8 Apr 2005 11:23:32 +0000 (11:23 +0000)]
* system.h: Revert last change.
From-SVN: r97826
Francois-Xavier Coudert [Fri, 8 Apr 2005 10:56:59 +0000 (12:56 +0200)]
re PR fortran/17229 (parser confused by arithmetic if inside an if)
PR fortran/17229
* match.c (gfc_match_arithmetic_if): New function to match an
arithmetic IF statement.
(gfc_match_if): Use gfc_match_arithmetic_if to match an
arithmetic IF statement embedded in a simple IF statement.
* gfortran.dg/pr17229.f: New test.
From-SVN: r97825
Richard Sandiford [Fri, 8 Apr 2005 07:57:27 +0000 (07:57 +0000)]
* config/xtensa/xtensa.h (target_flags, MASK_NO_FUSED_MADD)
(MASK_CONST16, TARGET_NO_FUSED_MADD, TARGET_CONST16)
(TARGET_SWITCHES): Delete.
* config/xtensa/xtensa.c (TARGET_DEFAULT_TARGET_FLAGS): Define.
* config/xtensa/xtensa.md (muladdsf3, mulsubsf3): Check
TARGET_FUSED_MADD instead of !TARGET_NO_FUSED_MADD.
* config/xtensa/xtensa.opt: New file.
From-SVN: r97822
Ben Elliston [Fri, 8 Apr 2005 01:51:00 +0000 (01:51 +0000)]
fp-bit.c: Include L_mul_tf in #endif comment.
* config/fp-bit.c: Include L_mul_tf in #endif comment.
* config/fp-bit.h: Tidy comments.
From-SVN: r97819
Kelley Cook [Fri, 8 Apr 2005 01:23:25 +0000 (01:23 +0000)]
acconfig.h: Sort the bottom section.
2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
* acconfig.h: Sort the bottom section.
* config.h.in: Regenerate.
From-SVN: r97818
Kelley Cook [Fri, 8 Apr 2005 01:05:01 +0000 (01:05 +0000)]
acconfig.h: Remove redundant HAVE_FLOAT_H.
2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
* acconfig.h: Remove redundant HAVE_FLOAT_H.
* config.h.in: Regenerate.
From-SVN: r97817
Kaveh R. Ghazi [Fri, 8 Apr 2005 01:02:59 +0000 (01:02 +0000)]
system.h: Poison PARAMS.
* system.h: Poison PARAMS.
java:
* java-tree.h: Don't use PARAMS().
From-SVN: r97816
Kelley Cook [Fri, 8 Apr 2005 00:59:08 +0000 (00:59 +0000)]
configure.ac: Create template for PACKAGE and VERSION.
2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Create template for PACKAGE and VERSION.
Update comment on how to regenerate file. Update minimum
automake version to 1.9.3.
* acconfig.h: Remove PACKAGE and VERSION.
* aclocal.m4, configure, Makefile.in, po/Makefile.in,
src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
testsuite/Makefile.in, config.h.in: Regenerate.
From-SVN: r97815
GCC Administrator [Fri, 8 Apr 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r97813.2
Mike Stump [Thu, 7 Apr 2005 23:42:42 +0000 (23:42 +0000)]
Revert last patch for more testing.
From-SVN: r97810
Mike Stump [Thu, 7 Apr 2005 23:27:57 +0000 (23:27 +0000)]
* configure: Regenerate.
From-SVN: r97809
Mike Stump [Thu, 7 Apr 2005 23:26:05 +0000 (23:26 +0000)]
* libtool.m4: Update AC_LIBTOOL_SYS_MAX_CMD_LEN bits from upstream.
From-SVN: r97808
Mike Stump [Thu, 7 Apr 2005 22:51:01 +0000 (22:51 +0000)]
* mf-runtime.h: Add libmudflap copyright clause.
From-SVN: r97807
Richard Sandiford [Thu, 7 Apr 2005 21:44:58 +0000 (21:44 +0000)]
* config/vax/vax.h (target_flags, MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
(MASK_G_FLOAT, TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT)
(TARGET_SWITCHES): Delete.
* config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Override default.
* config/vax/vax.opt: New file.
From-SVN: r97805
Andrew Pinski [Thu, 7 Apr 2005 21:06:27 +0000 (21:06 +0000)]
re PR libfortran/20766 ([darwin] - run time error when calling fortran subroutine from c)
2005-04-07 Andrew Pinski <pinskia@physics.uc.edu>
PR libfortran/20766
* configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
"-Wl,-single_module".
* configure: Regenerate.
* Makefile.am (libgfortran_la_LDFLAGS): Add extra_ldflags_libgfortran.
* Makefile.in: Regenerate.
From-SVN: r97804
Per Bothner [Thu, 7 Apr 2005 19:12:53 +0000 (12:12 -0700)]
class.c (push_class): By default, suppress debug output.
* class.c (push_class): By default, suppress debug output.
(finish_class): Enable debug output for classes we're emitting.
From-SVN: r97797
Laurent GUERBY [Thu, 7 Apr 2005 19:07:41 +0000 (19:07 +0000)]
Makefile.in: Add make ifeq define for hppa linux tasking support.
* Makefile.in: Add make ifeq define for hppa linux tasking support.
* system-hpux.ads: Define Signed_Zeros to be True.
* system-linux-hppa.ads, s-osinte-linux-hppa.ads: New files.
Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r97796
Steven G. Kargl [Thu, 7 Apr 2005 18:59:56 +0000 (18:59 +0000)]
tiny_1.f90: New test.
* gfortran.dg/tiny_1.f90: New test.
* gfortran.dg/tiny_2.f90: New test.
From-SVN: r97795
Daniel Berlin [Thu, 7 Apr 2005 18:38:03 +0000 (18:38 +0000)]
tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment.
2005-04-07 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment.
From-SVN: r97793
Steven G. Kargl [Thu, 7 Apr 2005 18:26:37 +0000 (18:26 +0000)]
simplify.c (gfc_simplify_exponent): Fix exponent(tiny(x))
From-SVN: r97792
Ian Lance Taylor [Thu, 7 Apr 2005 18:04:43 +0000 (18:04 +0000)]
iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't define.
* config/iq2000/iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't
define.
* config/mips/mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
* config/sparc/sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE):
Likewise.
From-SVN: r97790
Kazu Hirata [Thu, 7 Apr 2005 16:31:07 +0000 (16:31 +0000)]
tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider all immediate uses in PHI nodes.
* tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider
all immediate uses in PHI nodes.
From-SVN: r97788
Andrew Haley [Thu, 7 Apr 2005 15:48:02 +0000 (15:48 +0000)]
gcj.texi: Correct gcj-dbtool instructions.
2005-04-07 Andrew Haley <aph@redhat.com>
* gcj.texi: Correct gcj-dbtool instructions.
From-SVN: r97787
Thomas Koenig [Thu, 7 Apr 2005 15:11:59 +0000 (15:11 +0000)]
eor_1.f90: Fix dg-do run line
2005-04-07 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.dg/eor_1.f90: Fix dg-do run line
* gfortran.dg/open_new.f90: Fix dg-do run line
From-SVN: r97784
Thomas Koenig [Thu, 7 Apr 2005 14:55:40 +0000 (14:55 +0000)]
MAINTAINERS (Write After Approval): Add myself.
2005-04-04 Thomas Koenig <Thomas.Koenig@online.de>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r97782
Thomas Koenig [Thu, 7 Apr 2005 14:34:16 +0000 (14:34 +0000)]
MAINTAINERS (Write After Approval): Add myself.
2005-05-07 Thomas Koenig <Thomas.Koenig@online.de>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r97781
Bernd Schmidt [Thu, 7 Apr 2005 11:43:25 +0000 (11:43 +0000)]
* MAINTAINERS (Port Maintainers): Add self for Blackfin.
From-SVN: r97779
Richard Earnshaw [Thu, 7 Apr 2005 11:24:11 +0000 (11:24 +0000)]
arm.c (arm_const_double_inline_cost): Handle any constant by using gen_lowpart and gen_highpart_mode.
* arm.c (arm_const_double_inline_cost): Handle any constant by
using gen_lowpart and gen_highpart_mode.
(note_invalid_constants): All constants in an RTX with a constraint
that permits memory are now pushed to the constant pool.
(output_move_double): Delete code to handle reg to reg and
constant to reg moves.
(const_double_needs_minipool, output_mov_immediate): Delete.
* arm.h (EXTRA_CONSTRAINT_STR_ARM): All 'D' variants now handle
CONST_INT and CONST_VECTOR.
* arm.md (ANY64): New mode macro.
(arm_movdi): Split reg-reg and const-reg moves. Simplify constraints.
(movdf_soft_insn): Split reg-reg and const-reg moves.
(split patterns for 64-bit constant and register moves): New.
* cirrus.md (cirrus_arm_movdi): Split reg-reg and const-reg moves.
(cirrus_movdf_hard_insn): Likewise.
* fpa.md (movdf_fpa): Likewise.
* iwmmxt.md (iwmmxt_arm_movdi): Likewise.
(movv8qi_internal, movv4hi_internal, movv2si_internal): Fix
constraints.
(movv2si_internal_2): Likewise.
* vfp.md (arm_movdi_vfp): Split reg-reg and const-reg moves.
(movdf_vfp): Likewise.
* arm-protos.h (output_mov_immediate): Delete prototype.
From-SVN: r97778
Joseph Myers [Thu, 7 Apr 2005 08:21:31 +0000 (09:21 +0100)]
re PR target/20093 (23_containers/deque/cons/2.cc execution test fails on ia64-hpux, -milp32)
PR target/20093
* simplify-rtx.c (simplify_unary_operation_1): Check
SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension.
From-SVN: r97775
James E Wilson [Thu, 7 Apr 2005 04:24:53 +0000 (04:24 +0000)]
Fix numerous IA-64 C++ failures, IA-64 bootstrap trouble.
PR target/20717
* cgraphunit.c (record_call_1, case FDESC_EXPR): Handle same as
ADDR_EXPR.
From-SVN: r97773
Benjamin Kosnik [Thu, 7 Apr 2005 04:16:26 +0000 (04:16 +0000)]
test.html: Update.
2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/test.html: Update.
* testsuite/printnow.c: Remove.
* scripts/check_survey.in: Remove.
* testsuite/abi_check.cc: To...
* testuite/testsuite_abi_check.cc: ...here.
* testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
testsuite_abi_check.cc.
* testsuite/testsuite_hooks.h: Move character related bits to...
* testsuite/testsuite_character.h: ...here.
* testsuite/testsuite_character.cc: ... and here.
* testsuite/21_strings/basic_string/inserters_extractors/pod/
10081-in.cc: Use testsuite_character.h.
* testsuite/21_strings/basic_string/inserters_extractors/pod/
10081-out.cc: Same.
* testsuite/22_locale/numpunct/members/pod/1.cc: Same.
* testsuite/22_locale/numpunct/members/pod/2.cc: Same.
* testsuite/27_io/basic_filebuf/2.cc: Same.
* testsuite/27_io/basic_fstream/2.cc: Same.
* testsuite/27_io/basic_istream/2.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3983-1.cc: Same.
* testsuite/27_io/basic_istream/extractors_character/char/
9826.cc: Same.
* testsuite/27_io/basic_istream/extractors_character/pod/
3983-2.cc: Same.
* testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
* testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
* testsuite/27_io/basic_ostream/2.cc: Same.
* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
* testsuite/27_io/basic_streambuf/2.cc: Same.
* testsuite/27_io/basic_stringbuf/2.cc: Same.
* testsuite/27_io/basic_stringbuf/4.cc: Same.
* testsuite/27_io/basic_stringstream/2.cc: Same.
* testsuite/27_io/fpos/1.cc: Same.
* testsuite/ext/mt_allocator/tune-1.cc: Same.
* testsuite/ext/mt_allocator/tune-2.cc: Same.
* testsuite/ext/stdio_filebuf/char/1.cc: Same.
* testsuite/lib/libstdc++.exp (v3-build_support): Add
testsuite_character.cc.
* testsuite/Makefile.am (libv3test_a_SOURCES): Add
testsuite_character.cc.
* testsuite/Makefile.in: Regenerate.
* configure.ac: Remove use of check_survey.
* configure: Regenerate.
* testsuite/Makefile.am: Remove check-script and
check-script-install rules.
* testsuite/Makefile.in: Regenerate.
From-SVN: r97772
GCC Administrator [Thu, 7 Apr 2005 00:16:32 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r97770.2
Hans-Peter Nilsson [Wed, 6 Apr 2005 23:29:07 +0000 (23:29 +0000)]
* gcc.dg/
20050321-2.c: Restrict to target fpic.
From-SVN: r97765
Hans-Peter Nilsson [Wed, 6 Apr 2005 23:27:11 +0000 (23:27 +0000)]
target-supports.exp (get_compiler_messages): Support optional arguments, the fourth being compiler options.
* lib/target-supports.exp (get_compiler_messages): Support
optional arguments, the fourth being compiler options.
(check_effective_target_fpic): New proc.
* gcc.dg/
20050321-2.c: Restrict to target fpic.
From-SVN: r97763
Richard Sandiford [Wed, 6 Apr 2005 22:50:29 +0000 (22:50 +0000)]
coverage.h (GCOV_TYPE_NODE): Delete.
* coverage.h (GCOV_TYPE_NODE): Delete.
* coverage.c (coverage_counter_alloc, tree_coverage_counter_ref)
(build_ctr_info_type): Use get_gcov_type () instead of GCOV_TYPE_NODE.
* tree-profile.c (tree_gen_edge_profiler, tree_gen_interval_profiler)
(tree_gen_pow2_profiler, tree_gen_one_value_profiler): Likewise.
* value-prof.c (tree_divmod_fixed_value_transform): Delete.
From-SVN: r97760
Richard Sandiford [Wed, 6 Apr 2005 22:42:28 +0000 (22:42 +0000)]
re PR other/20792 (target.opt messages missing from gcc.pot)
gcc/
PR other/20792
* Makefile.in (gcc.pot): Remove options.c dependency.
* optc-gen.awk: Don't quote help strings with N_().
gcc/po/
PR other/20792
* exgettext: Don't scan options.c. Scan .opt files for help strings.
* gcc.pot: Regenerate.
From-SVN: r97759
Andrew Haley [Wed, 6 Apr 2005 22:30:01 +0000 (22:30 +0000)]
bytearray.java: New file.
2005-04-06 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/bytearray.java: New file.
* testsuite/libjava.lang/bytearray.out: New file.
* java/lang/ClassLoader.java (loadClassFromSig): Declare
(loadClass): Use it.
* java/lang/natClassLoader.cc (loadClassFromSig): New method.
From-SVN: r97756
James A. Morrison [Wed, 6 Apr 2005 21:22:02 +0000 (21:22 +0000)]
c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if the function returns a pointer type.
2005-04-06 James A. Morrison <phython@gcc.gnu.org>
* c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if
the function returns a pointer type.
From-SVN: r97751
Steven G. Kargl [Wed, 6 Apr 2005 21:11:48 +0000 (21:11 +0000)]
Remove documentation of the nonexistent -std=f90 option.
From-SVN: r97749
Mohan Embar [Wed, 6 Apr 2005 20:27:38 +0000 (20:27 +0000)]
Makefile.am ($(db_name)): Add $(EXEEXT) suffix to gcj-dbtool dependency
2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
* Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
gcj-dbtool dependency
* Makefile.in: Regenerated
From-SVN: r97747
Daniel Berlin [Wed, 6 Apr 2005 20:03:15 +0000 (20:03 +0000)]
params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
2005-04-06 Daniel Berlin <dberlin@dberlin.org>
* params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
* params.h (SALIAS_MAX_IMPLICIT_FIELDS): New
* doc/invoke.texi: Documnet salias-max-implicit-fields.
* tree-ssa-alias.c (struct used_part): Add implicit_uses and
explicit_uses members.
(get_or_create_used_part_for): Initialize new fields.
(fieldoff_compare): New function.
(create_overlap_variables_for): Count number of fields, use
heuristic to determine whether to create subvars for vars with
only implicit uses.
Sort the field list by offset and avoid creating duplicate SFT's.
From-SVN: r97746
Richard Sandiford [Wed, 6 Apr 2005 18:37:24 +0000 (18:37 +0000)]
c.opt (-F): Remove trailing whitespace from help string.
* c.opt (-F): Remove trailing whitespace from help string.
(-finput-charset): Use a tab to separate the switch name and help
string.
* common.opt (-fsched-stalled-insns, -fsched-stalled-insns-dep)
(-ftree-vectorizer-verbose): Likewise.
From-SVN: r97742
Tobias Schlüter [Wed, 6 Apr 2005 18:03:09 +0000 (20:03 +0200)]
expr.c (gfc_check_assign): Don't allow NULL as rhs in a non-pointer assignment.
fortran/
* expr.c (gfc_check_assign): Don't allow NULL as rhs in a
non-pointer assignment.
testsuite/
* gfortran.dg/pr15754.f90: Change annotations to dg-error.
From-SVN: r97740
Bryce McKinlay [Wed, 6 Apr 2005 17:42:23 +0000 (18:42 +0100)]
natLogger.cc (getCallerStackFrame): Don't crash on NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
* java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash
on NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
From-SVN: r97739
Kazu Hirata [Wed, 6 Apr 2005 17:41:11 +0000 (17:41 +0000)]
tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at a PHI argument where a use occurs instead of all PHI arguments.
* tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at
a PHI argument where a use occurs instead of all PHI arguments.
From-SVN: r97738
Bryce McKinlay [Wed, 6 Apr 2005 17:41:05 +0000 (18:41 +0100)]
natLogger.cc (getCallerStackFrame): Don't crash on NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
* java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
From-SVN: r97737
Joseph Myers [Wed, 6 Apr 2005 17:17:38 +0000 (18:17 +0100)]
c-decl.c (finish_decl): Apply pending #pragma weak regardless of scope.
* c-decl.c (finish_decl): Apply pending #pragma weak regardless of
scope.
cp:
* decl.c (start_decl): Apply pending #pragma weak regardless of
scope.
testsuite:
* gcc.dg/weak/weak-12.c, g++.dg/ext/weak2.C: New tests.
From-SVN: r97733
Joseph Myers [Wed, 6 Apr 2005 17:07:08 +0000 (18:07 +0100)]
i386-387-7.c, [...]: Skip x86 tests for -m64.
* gcc.dg/i386-387-7.c, gcc.dg/i386-3dnowA-1.c,
gcc.dg/i386-3dnowA-2.c, gcc.dg/pr12092-1.c: Skip x86 tests for
-m64.
* gcc.dg/loop-3.c, gcc.dg/short-compare-1.c,
gcc.dg/short-compare-2.c, gcc.dg/smod-1.c,
gcc.dg/torture/badshift.c: Don't give 32-bit options for x86 -m64.
From-SVN: r97731
Kazu Hirata [Wed, 6 Apr 2005 17:05:08 +0000 (17:05 +0000)]
cse.c, [...]: Fix comment typos.
* cse.c, tree-flow-inline.h, tree-flow.h, tree-ssa-operands.c,
tree-ssa-sink.c, tree.h, config/bfin/bfin.c,
config/bfin/bfin.h: Fix comment typos.
From-SVN: r97730
Ulrich Weigand [Wed, 6 Apr 2005 16:54:26 +0000 (16:54 +0000)]
atomicity.h (__exchange_and_add): Add "memory" clobber to inline assembly statement.
* config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
clobber to inline assembly statement.
From-SVN: r97728
Mark Mitchell [Wed, 6 Apr 2005 15:55:00 +0000 (15:55 +0000)]
re PR c++/20212 (attribute unused vs. member function template)
PR c++/20212
* pt.c (regenerate_decl_from_template): Copy attributes for
parameters from the pattern to the instantiation.
PR c++/20212
* g++.dg/warn/Wunused-11.C: New test.
From-SVN: r97726
Mark Mitchell [Wed, 6 Apr 2005 15:40:05 +0000 (15:40 +0000)]
Add missing ChangeLog entry
From-SVN: r97723
Ranjit Mathew [Wed, 6 Apr 2005 15:36:07 +0000 (15:36 +0000)]
install.texi: Update the URL for Jacks.
* doc/install.texi: Update the URL for Jacks.
* doc/sourcebuild.texi: Likewise.
From-SVN: r97722
Andrew Haley [Wed, 6 Apr 2005 15:06:04 +0000 (15:06 +0000)]
Main.java (Fileset): New class.
2005-04-05 Andrew Haley <aph@redhat.com>
* gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
(Tokenizer): New class.
(getFiles): New method.
(main): Add "-" argument.
Add "-0" argument.
Read list of files from stdin when merging map databases.
(usage): Add "-" argument.
Add "-0" argument.
Minor corrections.
From-SVN: r97719
Eric Botcazou [Wed, 6 Apr 2005 11:53:53 +0000 (13:53 +0200)]
re PR target/17245 (ICE compiling gsl-1.5 statistics/lag1.c)
PR target/17245
* config/sparc/sparc.c (legitimate_address_p): Remove 'imm2'.
Revert 2004-10-08 patch. Reject TFmode LO_SUM in 32-bit mode.
From-SVN: r97713
Kelley Cook [Wed, 6 Apr 2005 11:42:59 +0000 (11:42 +0000)]
Revert -pipe change from last night.
From-SVN: r97712
Bernd Schmidt [Wed, 6 Apr 2005 10:07:18 +0000 (10:07 +0000)]
* gcc.c-torture/execute/
20020720-1.x: Disable on bfin*-*.
From-SVN: r97711
Richard Sandiford [Wed, 6 Apr 2005 09:40:41 +0000 (09:40 +0000)]
v850-protos.h (override_options): Delete.
* config/v850/v850-protos.h (override_options): Delete.
* config/v850/v850.h (target_flags, MASK_GHS, MASK_LONG_CALLS, MASK_EP)
(MASK_PROLOG_FUNCTION, MASK_DEBUG, MASK_V850, MASK_V850E)
(MASK_SMALL_SLD, MASK_BIG_SWITCH, MASK_NO_APP_REGS, MASK_DISABLE_CALLT)
(MASK_STRICT_ALIGN, MASK_US_BIT_SET, MASK_US_MASK_SET, TARGET_GHS)
(TARGET_LONG_CALLS, TARGET_EP, TARGET_PROLOG_FUNCTION, TARGET_V850)
(TARGET_BIG_SWITCH, TARGET_DEBUG, TARGET_V850E, TARGET_US_BIT_SET)
(TARGET_SMALL_SLD, TARGET_DISABLE_CALLT, TARGET_NO_APP_REGS)
(TARGET_STRICT_ALIGN, TARGET_SWITCHES, TARGET_OPTIONS)
(OVERRIDE_OPTIONS): Delete.
(MASK_CPU): Redefine as MASK_V850 | MASK_V850E.
(small_memory_info): Remove the value field.
(CONDITIONAL_REGISTER_USAGE): Check !TARGET_APP_REGS rather than
TARGET_NO_APP_REGS.
* config/v850/v850.c (small_memory): Remove the value field.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
(override_options): Delete.
(v850_handle_memory_option, v850_handle_option): New functions.
* config/v850/v850.opt: New file.
From-SVN: r97710
Geoffrey Keating [Wed, 6 Apr 2005 08:41:37 +0000 (08:41 +0000)]
config.host: Add a section for generic hosts, and a subsection for Darwin.
* config.host: Add a section for generic hosts, and a subsection
for Darwin. Add a case for x86-darwin. Update ppc-darwin case.
* config/host-darwin.c: New, split out of config/rs6000/host-darwin.c.
* config/host-darwin.h: New.
* config/x-darwin: New.
* config/i386/host-i386-darwin.c: New.
* config/i386/x-darwin: New.
* config/rs6000/host-darwin.c: Include host-darwin.h.
(darwin_rs6000_gt_pch_get_address): Move to config/host-darwin.c.
(darwin_rs6000_gt_pch_use_address): Likewise.
* config/rs6000/x-darwin: Change name of .o built, update
dependencies for changes to rs6000/host-darwin.c.
From-SVN: r97709
Ralf Corsepius [Wed, 6 Apr 2005 08:10:53 +0000 (10:10 +0200)]
re PR target/17824 (Hard-coded AS and LD in c4x.h)
2005-04-06 Ralf Corsepius <ralf.corsepius@rtems.org>
PR target/17824
* config/c4x/c4x.h (ASM_PROG, LD_PROG): Remove.
From-SVN: r97708
Dorit Naishlos [Wed, 6 Apr 2005 08:05:45 +0000 (08:05 +0000)]
* gfortran.dg/vect/vect-5.f90: xfail for lp64.
From-SVN: r97705
Dorit Naishlos [Wed, 6 Apr 2005 07:59:01 +0000 (07:59 +0000)]
tree-vect-analyze.c (vect_analyze_loop_form): Call split_loop_exit_edge instead of loop_split_edge_with.
* tree-vect-analyze.c (vect_analyze_loop_form): Call
split_loop_exit_edge instead of loop_split_edge_with.
From-SVN: r97702
Feng Wang [Wed, 6 Apr 2005 07:56:14 +0000 (07:56 +0000)]
Add ChangeLog.
From-SVN: r97701
Paolo Bonzini [Wed, 6 Apr 2005 06:22:51 +0000 (06:22 +0000)]
Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir.
2005-04-06 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir.
(TARGET_CONFIGARGS): Include --with-target-subdir.
(configure, all): New macros. Use them throughout.
* Makefile.in: Regenerate.
From-SVN: r97700
Paolo Bonzini [Wed, 6 Apr 2005 06:18:54 +0000 (06:18 +0000)]
altivec.md (UNSPEC_VSLW, [...]): New constants, used throughout.
2005-04-06 Paolo Bonzini <bonzini@gnu.org>
* config/rs6000/altivec.md (UNSPEC_VSLW, UNSPEC_SUBS,
UNSPEC_SET_VSCR): New constants, used throughout.
(*andc3_v4sf): New.
(altivec_vspltisb, altivec_vsplitish, altivec_vsplitisw):
Replace with...
(altivec_vspltis<VI_char>): ... this pattern, using
a QImode const_int_operand for the immediate.
(abs<mode>2, absv4sf2, altivec_abss_<mode>): Rewrite as
define_expands.
From-SVN: r97699
Mark Mitchell [Wed, 6 Apr 2005 05:38:34 +0000 (05:38 +0000)]
re PR c++/20734 (rejects valid pointer to member)
PR c++/20734
* cp-tree.def (OFFSET_REF): Correct comments.
* init.c (build_offset_ref): Remove misleading comment.
* typeck.c (build_unary_op): Handle pointer-to-member creation
here, rather than ...
(unary_complex_lvalue): ... here.
PR c++/20734
* g++.dg/template/ptrmem13.C: New test.
From-SVN: r97696
Ralf Corsepius [Wed, 6 Apr 2005 05:34:30 +0000 (07:34 +0200)]
re PR target/17822 ([3.4 only] avr: Hard-coded XXX_FOR_TARGET)
2005-04-06 Ralf Corsepius <ralf.corsepius@rtems.org>
PR target/17822
* config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.
From-SVN: r97694
Jason Merrill [Wed, 6 Apr 2005 04:57:39 +0000 (00:57 -0400)]
re PR c++/19312 (ICE in stabilize_call when throwing a copy)
PR c++/19312
* tree.c (stabilize_init): Don't bother trying to stabilize
something with no side-effects.
From-SVN: r97691
Kelley Cook [Wed, 6 Apr 2005 01:40:06 +0000 (01:40 +0000)]
Makefile.in (LIBGCC2_CFLAGS): Compile with -pipe.
2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (LIBGCC2_CFLAGS): Compile with -pipe.
From-SVN: r97686
Kelley Cook [Wed, 6 Apr 2005 01:32:03 +0000 (01:32 +0000)]
acinclude.m4 (_GLIBCXX_USE_LONG_LONG, [...]): Use long form of AC_DEFINE ...
2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
* acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
_GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
_GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
_GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
_GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
* acconfig.h: ... to eliminate them from here.
(_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
* config.h.in, configure: Regenerate.
From-SVN: r97685
GCC Administrator [Wed, 6 Apr 2005 00:17:10 +0000 (00:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r97681.2
Ben Elliston [Wed, 6 Apr 2005 00:11:59 +0000 (00:11 +0000)]
gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and...
* gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and
DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these
macros as living in "this file" and not gcc.h.
From-SVN: r97678