OSDN Git Service

pf3gnuchains/gcc-fork.git
15 years ago* arith.c (gfc_arith_init_1): Fix off by one problem;
kargl [Sat, 28 May 2005 18:28:31 +0000 (18:28 +0000)]
* arith.c (gfc_arith_init_1): Fix off by one problem;
  (gfc_check_integer_range): Chop extra bits in subnormal numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100299 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis):
hubicka [Sat, 28 May 2005 18:03:56 +0000 (18:03 +0000)]
* tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis):
Update profile.
* value-prof.c (tree_divmod_fixed_value_transform): Be more verbose in
debug output.
(tree_mod_subtract): Fix profile updating code.
(tree_divmod_values_to_profile): Do not produce useless value profilers
for divisions.

* tree-prof.exp: Fix comment.
* value-prof-1.c: New.
* value-prof-2.c: New.
* value-prof-3.c: New.
* value-prof-4.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100298 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* intrinsic.texi: added documentation for BIT_SIZE, BTEST, CHAR, CEILING
kargl [Sat, 28 May 2005 16:41:31 +0000 (16:41 +0000)]
* intrinsic.texi: added documentation for BIT_SIZE, BTEST, CHAR, CEILING
  and CMPLX

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100297 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * configure.ac: Check declarations for asprintf and vasprintf.
gdr [Sat, 28 May 2005 15:52:48 +0000 (15:52 +0000)]
* configure.ac: Check declarations for asprintf and vasprintf.
* config.in: Regenerate.
* configure: Likewise.

* charset.c (conversion_loop): Use XRESIZEVEC.
(convert_no_conversion): Likewise.
(convert_using_iconv): Likewise.
(init_iconv_desc): Cast return value of alloca.
(cpp_host_to_exec_charset): Use XNEWVEC.
(emit_numeric_escape): Use XRESIZEVEC.
(cpp_interpret_string): Use XNEWVEC.
(cpp_interpret_string): Use XRESIZEVEC.
(_cpp_interpret_identifier): Cast return value of alloca.
(_cpp_convert_input): Use XNEWVEC and XRESIZEVEC.
* directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC.
(parse_include): Use XNEWVEC.
(insert_pragma_entry): Rename local variable "new" to
"new_entry".
(save_registered_pragmas): Cast return value of xmemdup.
(destringize_and_run): Same for alloca.
(parse_assertion): Likewise.
(do_assert): Cast allocated storage to proper type.
(cpp_define): Likewise.
(_cpp_define_builtin): Likewise.
(cpp_undef): Likewise.
(handle_assertion): Likewise.
(cpp_push_buffer): Rename local variable "new" to "new_buffer".
* expr.c (CPP_UPLUS): Cast value to type cpp_ttype.
(CPP_UMINUS): Likewise.
(struct cpp_operator): Rename from struct operator.
(_cpp_expand_op_stack): Use XRESIZEVEC.
* files.c (pch_open_file): Use XNEWVEC.
(pch_open_file): Use XRESIZEVEC.
(read_file_guts): Use XNEWVEC and XRESIZEVEC.
(dir_name_of_file): Use XNEWVEC.
(make_cpp_file): Use XCNEW.
(make_cpp_dir): Likewise.
(allocate_file_hash_entries): USE XNEWVEC.
(cpp_included): Cast return value of htab_find_with_hash.
(append_file_to_dir): Use XNEWVEC.
(read_filename_string): Likewise. Use XRESIZEVEC too.
(read_name_map): Cast return value of alloca.  Use XRESIZEVEC.
(remap_filename): Use XNEWVEC.
(struct pchf_entry): Move definition out of struct pchf_data.
(_cpp_save_file_entries): Use XCNEWVAR.
(_cpp_read_file_entries): Use XNEWVAR.
* identifiers.c (alloc_node): Use XOBNEW.
* init.c (cpp_create_reader): Use XCNEW.
(cpp_init_builtins): Cast of b->value to enum builtin_type.
(read_original_directory): Cast return value of alloca.
* lex.c (add_line_note): Use XRESIZEVEC.
(warn_about_normalization): Use XNEWVEC.
(_cpp_lex_direct): Cast node->directive_index to (enum cpp_ttype).
(new_buff): Use XNEWVEC.
* line-map.c (linemap_add): Use XRESIZEVEC.
* macro.c (builtin_macro): Cast return value of alloca.
(paste_tokens): Likewise.
(expand_arg): Use XNEWVEC and XRESIZEVEC.
(_cpp_save_parameter): Use XRESIZEVEC.
(create_iso_definition): Cast allocated storage to proper type.
(_cpp_create_definition): Likewise.
(cpp_macro_definition): Use XRESIZEVEC.
* makedepend.c (add_clm): Use XNEW.
(add_dir): Likewise.
* mkdeps.c (munge): Use XNEWVEC.
(deps_init): Use XCNEW.
(deps_add_target): Use XRESIZEVEC.
(deps_add_default_target): Cast return value of alloca.
(deps_add_dep): Use XRESIZEVEC.
(deps_add_vpath): Likewise.  Use XNEWVEC too.
(deps_restore): Likewise.
* pch.c (save_idents): Use XNEW and XNEWVEC.
(cpp_save_state): Use XNEW.
(count_defs): Cast return value of htab_find.
(write_defs): Likewise.
(cpp_write_pch_deps): Use XNEWVEC.
(collect_ht_nodes): Use XRESIZEVEC.
(cpp_valid_state): Use XNEWVEC.
(save_macros): Use XRESIZEVEC.  Cast return value of xmemdup.
* symtab.c (ht_create): Use XCNEW.
(ht_lookup_with_hash): Cast return value of obstack_copy0.
(ht_expand): Use XCNEWVEC.
* system.h (HAVE_DESIGNATED_INITIALIZERS): False if __cplusplus.
(bool): Do not define if __cplusplus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100295 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-inline.c (cfun_stack): Change the type to
kazu [Sat, 28 May 2005 15:43:14 +0000 (15:43 +0000)]
* tree-inline.c (cfun_stack): Change the type to
VEC(function_p,heap).
(push_cfun, pop_cfun): Use VEC instead of VARRAY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100294 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-ssa-dom.c (vrp_element_p): Define.
kazu [Sat, 28 May 2005 15:30:22 +0000 (15:30 +0000)]
* tree-ssa-dom.c (vrp_element_p): Define.
(vrp_hash_elt): Change the type of records to
VEC(vrp_element_p,heap).
(vrp_free): New.
(tree_ssa_dominator_optimize): Pass vrp_free to htab_create.
Update uses of VRP records.
(simplify_cond_and_lookup_avail_expr, record_range): Update
uses of VRP records.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100293 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoinclude:
aj [Sat, 28 May 2005 11:40:59 +0000 (11:40 +0000)]
include:
2005-05-28  Eli Zaretskii  <eliz@gnu.org>

* libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
needed.
(vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.

libiberty:
2005-05-28  Eli Zaretskii  <eliz@gnu.org>

* configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
* config.in, configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100292 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c++/21614
mmitchel [Sat, 28 May 2005 02:21:30 +0000 (02:21 +0000)]
PR c++/21614
* typeck.c (get_member_function_from_ptrfunc): Do not attempt
conversions to base classes of incomplete types.

PR c++/21614
* g++.dg/expr/ptrmem6.C: New test.
* g++.dg/expr/ptrmem6a.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100291 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago./:
ian [Sat, 28 May 2005 01:38:11 +0000 (01:38 +0000)]
./:
* c-decl.c (add_stmt): Add C frontend specific version.
(stmts_are_full_exprs_p): Remove.
* c-common.h (STMT_IS_FULL_EXPR_P): Remove.
(stmts_are_full_exprs_p): Don't declare.
* c-semantics.c (add_stmt): Remove.
cp/:
* semantics.c (add_stmt): Add C++ frontend specific version.
* cp-tree.h (STMT_IS_FULL_EXPR_P): Define.
(stmts_are_full_exprs_p): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100289 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sat, 28 May 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100287 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code.
sayle [Fri, 27 May 2005 23:17:21 +0000 (23:17 +0000)]
* cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code.
* parser.c (cp_parser_unary_expression): Use UNARY_PLUS_EXPR instead
of CONVERT_EXPR.
(cp_parser_unary_expression): Likewise.
* typeck.c (build_unary_op): Likewise.
* call.c (add_builtin_candidate, build_new_op): Likewise.
* error.c (dump_expr): Likewise.
* pt.c (tsubst_copy, tsubst_copy_and_build): Likewise.
* decl.c (ambi_op_p, grok_op_properties): Likewise.
* dump.c (dump_op): Likewise.
* lex.c (init_operators): Likewise.
* operators.def ("+"): Likewise.
* cp-gimplify.c (cp_gimplify_expr): Handle UNARY_PLUS_EXPR like a
conversion, if the result and argument types differ.
* tree.c (fold_if_not_in_template): Fold UNARY_PLUS_EXPR much
like a NOP_EXPR when !processing_template_decl.

* cxx-pretty-print.c (pp_cxx_cast_expression): Prototype.
(pp_cxx_unary_expression): Handle new UNARY_PLUS_EXPR tree code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100285 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/mips/mips-protos.h (mips_declare_object): Add printf
ghazi [Fri, 27 May 2005 23:08:31 +0000 (23:08 +0000)]
* config/mips/mips-protos.h (mips_declare_object): Add printf
attribute.
* config/mips/mips.c (mips_declare_object_name): Fix format
argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100284 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * reg-stack.c (compensate_edge): Remove original prototype.
sayle [Fri, 27 May 2005 22:57:39 +0000 (22:57 +0000)]
* reg-stack.c (compensate_edge): Remove original prototype.
(propagate_stack): New function to copy the stack layout
at the start of a basic block from the layout at the end of
one of its predecessors.
(compensate_edge): Assume that both source and destination
blocks have already had their stack layouts defined.
(compensate_edges): Traverse all non-entry edges in the CFG
and call compensate_edge on each in turn.
(convert_regs_1): Change return type to void.  Call
propagate_stack instead of compensate_edge.
(convert_regs_2): Change return type to void.  Update call
to convert_regs_1 to ignore the (now void) return value.
(convert_regs): Update calls to convert_regs_2 to ignore
the (now void) return value.  After all the basic blocks have
been processed, call compensate_edges to actually emit new
insns.
(reg_to_stack): Initialize the aux info for each basic block
with FOR_EACH_BB instead of which FOR_EACH_BB_REVERSE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100283 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * except.c (can_throw_internal_1, can_throw_external_1): Add
hubicka [Fri, 27 May 2005 22:50:41 +0000 (22:50 +0000)]
* except.c (can_throw_internal_1, can_throw_external_1): Add
"is_resx" argument.
(can_throw_external, can_throw_internal): Bring into sync wrt
dealing resx.
* except.h (can_throw_internal_1, can_throw_external_1): Update
prototype.
* tree-eh.c (tree_can_throw_internal, tree_can_throw_external):
Deal properly with resx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100282 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * domwalk.c (walk_dominator_tree, init_walk_dominator_tree,
kazu [Fri, 27 May 2005 22:43:05 +0000 (22:43 +0000)]
* domwalk.c (walk_dominator_tree, init_walk_dominator_tree,
fini_walk_dominator_tree): Use VEC instead of VARRAY.
* domwalk.h (dom_walk_data): Change the type of
block_data_stack and free_block_data to VEC(void_p,heap)*.
* tree-ssa-dse.c (dse_initialize_block_local_data,
dse_optimize_stmt, dse_record_phis, dse_finalize_block): Use
VEC instead of VARRAY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100281 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * basic-block.h (basic_block_def): Add phi_nodes and
kazu [Fri, 27 May 2005 22:06:46 +0000 (22:06 +0000)]
* basic-block.h (basic_block_def): Add phi_nodes and
predictions.  Remove tree_annotations.
* predict.c (tree_predicted_by_p, tree_predict_edge,
combine_predictions_for_bb): Adjust references to predictions.
* tree-cfg.c (init_empty_tree_cfg, create_bb): Don't call
create_block_annotation.
(create_block_annotation, free_blocks_annotatios,
clear_blocks_annotations): Remove.
(dump_cfg_stats): Don't print out the memory spent on
bb_ann_d.
(delete_tree_cfg_annotations): Don't call free_blocks_annotations.
* tree-flow-inline.h (bb_ann): Remove.
(phi_nodes, set_phi_nodes): Update references to phi_nodes.
* tree-flow.h (bb_ann_d): Remove.
* tree-if-conv.c (process_phi_nodes): Update a reference to
phi_nodes.
* tree-phinodes.c (reserve_phi_args_for_new_edge,
create_phi_node, remove_phi_node): Likewise.
* tree-pretty-print.c (dump_generic_bb_buff): Don't call bb_ann.
* tree-ssa-dom.c (threaded_blocks): New.
(tree_ssa_dominator_optimize): Initialize, clear, and free
threaded_blocks. Update a call to thread_through_all_blocks.
(thread_across_edge): Use threaded_blocks instead of setting
incoming_edge_threaded.
* tree-ssa-threadupdate.c (threaded_through_all_blocks): Take
a bitmap of blocks that are threaded through.
* tree.h: Move the prototype of threaded_through_blocks to
tree-flow.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100279 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 27 May 2005 21:27:48 +0000 (21:27 +0000)]
2005-05-27  Paolo Carlini  <pcarlini@suse.de>

* docs/html/abi.html: Mention 3.4.0 as the current baseline; add
a notice about the configure options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100277 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * cgraph.c: Include tree-gimple.h
hubicka [Fri, 27 May 2005 21:17:51 +0000 (21:17 +0000)]
* cgraph.c: Include tree-gimple.h
(cgraph_edge): Rename expr to stmt.
(cgraph_create_edge): Likewise.
(cgraph_clone_node): Likewise.
* cgraph.h (cgraph_node): Use call_stmt instead of call_expr.
* cgraphunit.c (record_call_1): Rename to ...
(record_reference): ... this one; do not build edges.
(cgraph_varpool_analyze_pending_decls): Call record_reference directly.
(current_basic_block): Kill.
(cgraph_create_edges): Rewrite to work on gimple statements nicely.
(verify_cgraph_node): Likewise.
* tree-inline.c (copy_body_r): Do not mess up with cgraph edges.
(copy_bb): Mess up with cgraph edges here; simplify EH handling.
(copy_edges_for_bb): Simplify EH handling.
(expand_call_inline): Pass statement to cgraph_edge and
cgraph_create_edge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100276 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
ziga [Fri, 27 May 2005 21:12:18 +0000 (21:12 +0000)]
2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>

* ChangeLog: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100275 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
ziga [Fri, 27 May 2005 20:35:35 +0000 (20:35 +0000)]
2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>

* MAINTAINERS (Write After Approval): Add self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100274 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 May 2005 19:19:45 +0000 (19:19 +0000)]
2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/21674
        * include/bits/c++config: Remove extern template use when in debug
        mode, disable for non-weak systems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100273 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Fri, 27 May 2005 19:00:50 +0000 (19:00 +0000)]
2005-05-27  Thomas Koenig  <Thomas.Koenig@online.de>

        * runtime/in_pack_generic.c:  Adjust copyright years.
        (in_pack_generic):  Change dimension of auxiliary arrays from
        GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
        * runtime/in_unpack_generic.c:  Adjust copyright years.
        (in_unpack_generic):  Change dimension of auxiliary arrays from
        GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100271 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* trans-array.c (gfc_trans_deferred_array): Use build_int_cst to force
kargl [Fri, 27 May 2005 18:20:52 +0000 (18:20 +0000)]
* trans-array.c (gfc_trans_deferred_array): Use build_int_cst to force
  like types in comparsion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100269 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-18 Richard Guenther <rguenth@gcc.gnu.org>
law [Fri, 27 May 2005 17:23:30 +0000 (17:23 +0000)]
2005-05-18  Richard Guenther  <rguenth@gcc.gnu.org>

        * tree-inline.c (copy_body_r): Manually fold *& to deal
        with ADDR_EXPRs with mismatched types for now.

2005-05-17  Richard Guenther  <rguenth@gcc.gnu.org>

        * gimplify.c (fold_indirect_ref_rhs): New function.
        (gimplify_modify_expr_rhs): Use it instead of pessimistic
        fold_indirect_ref.

2005-05-15  Richard Guenther  <rguenth@gcc.gnu.org>

        * fold-const.c (fold_indirect_ref_1): Add type argument;
        make sure the resulting expression is of this type.
        (build_fold_indirect_ref, fold_indirect_ref): Adjust callers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100267 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
kazu [Fri, 27 May 2005 16:31:29 +0000 (16:31 +0000)]
gcc/
PR tree-optimization/21658
* tree-ssa-ccp.c (ccp_fold): Call fold_binary instead of
fold_binary_to_constant.  Likewise, call fold_unary instead of
fold_unary_to_constant.

testsuite/
PR tree-optimization/21658
* gcc.dg/tree-ssa/pr21658.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100266 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * docs/html/test.html: Mention PCH_CXXFLAGS.
mmitchel [Fri, 27 May 2005 16:24:59 +0000 (16:24 +0000)]
* docs/html/test.html: Mention PCH_CXXFLAGS.
* testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
available stcd++.h PCH.
* testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100264 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
bkoz [Fri, 27 May 2005 16:22:54 +0000 (16:22 +0000)]
2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

* src/misc-inst.cc: Remove unnecessary included files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100263 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 May 2005 16:09:15 +0000 (16:09 +0000)]
2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Remove extern template use when in debug
mode, disable for non-weak systems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100261 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agocp:
nathan [Fri, 27 May 2005 15:50:26 +0000 (15:50 +0000)]
cp:
PR c++/21455
* typeck.c (get_delta_difference): Cope with incomplete but equal
classes.  Reorder if.
testsuite:
PR c++/21455
* g++.dg/inherit/ptrmem3.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100258 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 May 2005 15:01:45 +0000 (15:01 +0000)]
2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/20534
* include/debug/debug.h: Forwarding header, that pulls in details
only if in debug mode.
* include/debug/macros.h: ...transfer all the internal macros here.
* include/debug/functions.h: ...transfer all the functions here.
* include/debug/safe_iterator.h: Add functions.h, macros.h includes.
* include/debug/safe_sequence.h: Same.
* include/debug/vector: Tweak.
* include/Makefile.am (debug_headers): Add new includes.
* include/Makefile.in: Regenerate.
* testsuite/17_intro/no_assert_neg.cc: Add.

* include/ext/hash_set: Add debug mode include.
* include/ext/hash_map: Same.
* include/debug/hash_map: Fix included files to match actual files.
* include/debug/hash_set: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100255 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agocp:
nathan [Fri, 27 May 2005 14:23:47 +0000 (14:23 +0000)]
cp:
PR c++/21681
* parser.c (cp_parser_late_parsing_for_member): Disable access
checking for template functions.
testsuite:
PR c++/21681
* g++.dg/parse/template16.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100252 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * vec.h: Implement integral type vector specialization.
nathan [Fri, 27 May 2005 13:26:02 +0000 (13:26 +0000)]
* vec.h: Implement integral type vector specialization.
(VEC_T): Define a non-GTY structure.
(VEC_T_GTY): Define a GTY structure.
(VEC_TA): Rename to ...
(VEC_TA_GTY): ... here.
(DEF_VEC_I, DEF_VEC_ALLOC_I): New.
(DEF_VEC_P, DEF_VEC_ALLOC_P): Adjust.
(DEF_VEC_FUNC_P, DEF_VEC_ALLOC_FUNC_P): New, broken out of
DEF_VEC_P and DEF_VEC_ALLOC_P.
(DEF_VEC_O, DEF_VEC_ALLOC_O): Adjust.
(DEF_VEC_FUNC_O, DEF_VEC_ALLOC_FUNC_O): New, broken out of
DEF_VEC_O and DEF_VEC_ALLOC_O.
* global.c: Use DEF_VEC_I, DEF_VEC_ALLOC_I.
* lambda-code.c: Likewise.
* tree-into-ssa.c: Likewise.
* tree-ssa-live.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100251 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-into-ssa.c (update_ssa): Ensure that the operand cache
kazu [Fri, 27 May 2005 11:55:36 +0000 (11:55 +0000)]
* tree-into-ssa.c (update_ssa): Ensure that the operand cache
is up-to-date.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Call
update_stmt_if_modified before calling update_ssa.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100250 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-27 Ralf Corsepius <ralf.corsepius@rtems.org>
corsepiu [Fri, 27 May 2005 07:54:06 +0000 (07:54 +0000)]
2005-05-27  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/rs6000/t-rtems: Remove roe multilib variant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100249 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/setjmp-2.c: Only run in 32-bit.
aj [Fri, 27 May 2005 06:13:54 +0000 (06:13 +0000)]
* gcc.dg/setjmp-2.c: Only run in 32-bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100248 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoCorrect Martin Loewis's last name ("oe" was "o" with umlaut) mangled by
rmathew [Fri, 27 May 2005 05:22:05 +0000 (05:22 +0000)]
Correct Martin Loewis's last name ("oe" was "o" with umlaut) mangled by
my editor in the previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100247 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR java/19870.
rmathew [Fri, 27 May 2005 05:15:26 +0000 (05:15 +0000)]
PR java/19870.
* java-tree.h (OUTER_FIELD_ACCESS_IDENTIFIER_P): Rename to
NESTED_FIELD_ACCESS_IDENTIFIER_P.
(FIELD_INNER_ACCESS): Rename to FIELD_NESTED_ACCESS.
(FIELD_INNER_ACCESS_P): Rename to FIELD_NESTED_ACCESS_P.
* jcf-write.c (generate_classfile): Use
NESTED_FIELD_ACCESS_IDENTIFIER_P instead of
OUTER_FIELD_ACCESS_IDENTIFIER_P.
* parse.y (build_outer_field_access): Rename to
build_nested_field_access. Support static fields and outer-to-inner
class accesses.
(outer_field_access_p): Rename to nested_field_access_p. Support
static fields and generalise to outer-to-inner class and sibling
inner class accesses.
(outer_field_expanded_access_p): Rename to
nested_field_expanded_access_p and support static fields.
(outer_field_access_fix): Rename to nested_field_access_fix and
support static fields.
(build_outer_field_access_expr): Rename to
build_nested_field_access_expr and support static fields.
(build_outer_field_access_methods): Rename to
build_nested_field_access_methods and support static fields. For
static fields, generate accessors without class instance parameters.
(build_outer_field_access_method): Rename to
build_nested_field_access_method and support static fields.
(build_outer_method_access_method): Use
NESTED_FIELD_ACCESS_IDENTIFIER_P instead of
OUTER_FIELD_ACCESS_IDENTIFIER_P.
(resolve_expression_name): Consider static field accesses across
nested classes.
(resolve_qualified_expression_name): Likewise.
(java_complete_lhs): Use nested_field_access_fix instead of
outer_field_access_fix.
(patch_unary_op): Rename outer_field_flag to nested_field_flag.
Use nested_field_expanded_access_p instead of
outer_field_expanded_access_p. Use nested_field_access_fix instead
of outer_field_access_fix.
(check_thrown_exceptions): Use NESTED_FIELD_ACCESS_IDENTIFIER_P
instead of OUTER_FIELD_ACCESS_IDENTIFIER_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100246 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago Testsuite adjustments for PR java/19870.
rmathew [Fri, 27 May 2005 05:11:44 +0000 (05:11 +0000)]
Testsuite adjustments for PR java/19870.
* testsuite/libjava.lang/PR19870.java: New testcase.
* testsuite/libjava.lang/PR19870.out: Expected output for the
testcase.
* testsuite/libjava.jacks/jacks.xfail: Add
8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100245 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/i386-sse-8.c: Run test on all archs.
aj [Fri, 27 May 2005 05:06:43 +0000 (05:06 +0000)]
* gcc.dg/i386-sse-8.c: Run test on all archs.
        * gcc.dg/2002122-2.c: Fix compiler flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100244 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-26 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 27 May 2005 04:53:37 +0000 (04:53 +0000)]
2005-05-26  Chris Demetriou  <cgd@broadcom.com>

        * MAINTAINERS (Write After Approval): Remove self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100243 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * objc.dg/isa-field-1.m: Only run on darwin.
mrs [Fri, 27 May 2005 03:36:42 +0000 (03:36 +0000)]
    * objc.dg/isa-field-1.m: Only run on darwin.
        * objc.dg/lookup-1.m: Likewise.
        * objc.dg/try-catch-8.m: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100242 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
mrs [Fri, 27 May 2005 02:55:21 +0000 (02:55 +0000)]
    * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
        objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m,
        objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m,
        objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m,
        objc.dg/method-19.m, objc.dg/next-runtime-1.m,
        objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m,
        objc.dg/stubify-2.m, objc.dg/super-class-4.m,
        objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m,
        objc.dg/try-catch-6.m, objc.dg/try-catch-7.m,
        objc.dg/try-catch-8.m: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100241 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR tree-optimization/9814
sayle [Fri, 27 May 2005 02:46:01 +0000 (02:46 +0000)]
PR tree-optimization/9814
* ifcvt.c (noce_emit_move_insn): If we fail to recognize the move
instruction, add the necessary clobbers by re-expanding the RTL
for arithmetic operations via optab.c's expand_unop/expand_binop.
(noce_try_bitop): New function to optimize bit manipulation idioms
of the form "if (x & C) x = x op C" and "if (!(x & C) x = x op C".
(noce_process_if_block): Call noce_try_bitop.

* gcc.dg/pr9814-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100240 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
mrs [Fri, 27 May 2005 02:38:16 +0000 (02:38 +0000)]
    * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
        objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m,
        objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m,
        objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m,
        objc.dg/method-19.m, objc.dg/next-runtime-1.m,
        objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m,
        objc.dg/stubify-2.m, objc.dg/super-class-4.m,
        objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m,
        objc.dg/try-catch-6.m, objc.dg/try-catch-7.m,
        objc.dg/try-catch-8.m: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100239 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * reg-stack.c (convert_regs_entry, convert_regs_exit,
sayle [Fri, 27 May 2005 01:58:07 +0000 (01:58 +0000)]
* reg-stack.c (convert_regs_entry, convert_regs_exit,
convert_regs_1, convert_regs_2, convert_regs): Delete prototypes.
(reg_to_stack): Move to end of the file.  Initialize the per
basic block information here, instead of...
(convert_regs_entry): Here.
(convert_regs): Change unused return type to void.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100238 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Fri, 27 May 2005 00:16:26 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100236 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * c-pch.c, timevar.c, timevar.h, unwind-compat.c,
kazu [Fri, 27 May 2005 00:14:08 +0000 (00:14 +0000)]
* c-pch.c, timevar.c, timevar.h, unwind-compat.c,
unwind-dw2-fde-compat.c, unwind-dw2-fde.c, config/mmix/mmix.h,
config/rs6000/eabispe.h, config/rs6000/lynx.h,
config/sh/elf.h, config/sh/symbian-pre.h,
config/sparc/sparc-protos.h: Update copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100234 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers
mrs [Thu, 26 May 2005 23:19:29 +0000 (23:19 +0000)]
    * darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers
        for Objective-C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100233 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoFix last patch.
aj [Thu, 26 May 2005 22:00:56 +0000 (22:00 +0000)]
Fix last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100232 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoFix last checkin
aj [Thu, 26 May 2005 21:40:35 +0000 (21:40 +0000)]
Fix last checkin

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100230 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
janis [Thu, 26 May 2005 21:25:27 +0000 (21:25 +0000)]
* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
remove extraneous semicolons.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100229 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago[gcc/testsuite/ChangeLog]
zlaski [Thu, 26 May 2005 21:24:29 +0000 (21:24 +0000)]
[gcc/testsuite/ChangeLog]
2005-05-26  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/comp-types-12.mm: New.
        * objc.dg/comp-types-11.m: New.
        * objc.dg/selector-4.m: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100226 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR testsuite/20772
aj [Thu, 26 May 2005 21:22:01 +0000 (21:22 +0000)]
PR testsuite/20772
* g++.old-deja/g++.ext/attrib1.C, g++.old-deja/g++.ext/attrib2.C,
g++.old-deja/g++.ext/attrib3.C,
g++.old-deja/g++.other/store-expr1.C,
g++.old-deja/g++.other/store-expr2.C, g++.dg/opt/longbranch2.C,
gcc.dg/20000609-1.c, gcc.dg/20000720-1.c, gcc.dg/20011107-1.c,
gcc.dg/20011119-1.c, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c,
gcc.dg/20020122-3.c, gcc.dg/20020201-3.c, gcc.dg/20020206-1.c,
gcc.dg/20020218-1.c, gcc.dg/20020310-1.c, gcc.dg/20020411-1.c,
gcc.dg/20020418-2.c, gcc.dg/20020426-1.c, gcc.dg/20020426-2.c,
gcc.dg/20020517-1.c, gcc.dg/20020523-1.c, gcc.dg/20020523-2.c,
gcc.dg/20020729-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c,
gcc.dg/20030926-1.c, gcc.dg/20031202-1.c, gcc.dg/980312-1.c,
gcc.dg/980313-1.c, gcc.dg/990424-1.c, gcc.dg/990524-1.c,
gcc.dg/991230-1.c, gcc.dg/i386-387-1.c, gcc.dg/i386-387-2.c,
gcc.dg/i386-387-3.c, gcc.dg/i386-387-4.c, gcc.dg/i386-387-5.c,
gcc.dg/i386-387-6.c, gcc.dg/i386-bitfield1.c,
gcc.dg/i386-bitfield2.c, gcc.dg/i386-loop-1.c,
gcc.dg/i386-loop-2.c, gcc.dg/i386-loop-3.c, gcc.dg/i386-pic-1.c,
gcc.dg/i386-regparm.c, gcc.dg/i386-signbit-1.c,
gcc.dg/i386-signbit-2.c, gcc.dg/i386-sse-5.c, gcc.dg/i386-sse-8.c,
gcc.dg/i386-unroll-1.c, gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c,
gcc.dg/unroll-1.c: Handle 32-bit x86-64 compilation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100225 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.c-torture/execute/ieee/ieee.exp: Set float-store for 32-bit
aj [Thu, 26 May 2005 21:12:11 +0000 (21:12 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Set float-store for 32-bit
x86-64 compilation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100224 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-ssa-forwprop.c (forward_propagate_addr_expr):
law [Thu, 26 May 2005 21:07:38 +0000 (21:07 +0000)]
    * tree-ssa-forwprop.c (forward_propagate_addr_expr):
        See through ADDR_EXPR in finding place to propagate into.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100223 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
bryce [Thu, 26 May 2005 21:07:04 +0000 (21:07 +0000)]
2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>

* decl.c (GCJ_BINARYCOMPAT_ADDITION,
GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
(FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER,
MINOR_BINARYCOMPAT_ABI_VERSION): New.
(GCJ_CURRENT_BC_ABI_VERSION): Use new method to calculate version ID.
(parse_version): Calculate version ID using new method. Use
bit-flags for flag_indirect_dispatch and flag_bootstrap_classes.

2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>

* include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
(GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
(OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for
BC-ABI classes.
(GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
(GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new
method.
(_Jv_CheckABIVersion): Check for both old and new style version IDs.
(_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100222 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR testsuite/20772
aj [Thu, 26 May 2005 19:10:52 +0000 (19:10 +0000)]
    PR testsuite/20772
* gfortran.dg/promotion.f90, gcc.misc-tests/i386-pf-3dnow-1.c,
gcc.misc-tests/i386-pf-athlon-1.c,
gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c,
g++.dg/opt/mmx1.C, g++.dg/other/big-struct.C,
g++.dg/abi/bitfield3.C, g++.dg/abi/bitfield8.C,
g++.dg/abi/bitfield9.C, g++.dg/abi/empty7.C, g++.dg/abi/empty9.C,
g++.dg/abi/layout4.C, g++.dg/abi/thunk1.C, g++.dg/abi/thunk2.C,
g++.dg/abi/vbase11.C, g++.dg/abi/vthunk2.C, g++.dg/abi/vthunk3.C,
g++.dg/ext/attrib8.C: Run also on x86_64 compiling 32-bit x86
programs.

* g++.dg/opt/reg-stack4.C, g++.dg/eh/simd-1.C, g++.dg/eh/simd-1.C,
gcc.dg/setjmp-2.c, gcc.dg/short-compare-1.c,
gcc.dg/short-compare-2.c, gcc.target/i386/asm-1.c: Handle 32-bit
x86-64 compilation.

* g++.dg/warn/register-var-1.C, g++.dg/charset/asm2.c: Run also on
x86_64.

* gcc.dg/i386-pentium4-not-mull.c: Change option handling to use
effective-target ilp32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100220 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * data.c, parse.c, trans-array.c, trans-decl.c,
kazu [Thu, 26 May 2005 18:36:11 +0000 (18:36 +0000)]
* data.c, parse.c, trans-array.c, trans-decl.c,
trans-intrinsic.c, trans-stmt.c, trans-types.c, trans.c,
trans.h: Fix comment typos.  Follow spelling conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100219 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * c-common.c, c-parser.c, cfgbuild.c, cfghooks.c, cfghooks.h,
kazu [Thu, 26 May 2005 18:15:27 +0000 (18:15 +0000)]
* c-common.c, c-parser.c, cfgbuild.c, cfghooks.c, cfghooks.h,
cfgrtl.c, cgraphunit.c, ddg.c, expr.h, gcse.c, ggc-page.c,
ggc-zone.c, gimplify.c, ipa-inline.c, longlong.h, targhooks.c,
tree-flow-inline.h, tree-pass.h, tree-ssa-dse.c,
tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c,
tree-ssa-operands.c, tree-vect-analyze.c,
tree-vect-transform.c, tree-vectorizer.c, tree.c,
config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c,
config/frv/frv.md, config/i386/i386.c, config/i386/sse.md,
config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
config/mcore/mcore.c, config/mips/mips.c, config/mips/mips.md,
config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c,
config/rs6000/rs6000.h, config/sh/sh.c, config/sh/sh.md,
config/sh/ushmedia.h, config/sparc/sparc.c,
config/sparc/sparc.md, config/stormy16/stormy-abi: Fix comment
typos.  Follow spelling conventions.
* doc/invoke.texi, doc/tm.texi, doc/tree-ssa.texi: Fix typos.
Follow spelling conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100218 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* gcc.target/mips/ext_ins.c: New test for testing the generation
davidu [Thu, 26 May 2005 17:23:35 +0000 (17:23 +0000)]
* gcc.target/mips/ext_ins.c: New test for testing the generation
of MIPS32/64 rev 2 ext/ins instructions.

* config/mips/mips.c (mips_use_ins_ext_p): New helper function
that determines whether the MIPS32/64 R2 ext/ins should be used.
* config/mips/mips.h (ISA_HAS_EXT_INS): New macro.
* config/mips/mips.md (extzv): Changed predicate for operand to
nonimmediate_operand. Add code to generate insn patterns for
extzvsi and extzvdi.
(extzv<mode>): New pattern to match mips32/64 r2 ext insn.
(insv): Similarly for insertion.
(insv<mode>): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100212 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * treelang/compile/unsigned.tree: Use gimple instead of
aj [Thu, 26 May 2005 16:12:30 +0000 (16:12 +0000)]
* treelang/compile/unsigned.tree: Use gimple instead of
nonexisting generic dump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100208 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c++/21768
reichelt [Thu, 26 May 2005 16:04:37 +0000 (16:04 +0000)]
PR c++/21768
* pt.c (redeclare_class_template): Change error message according
to coding conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100206 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-26 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 26 May 2005 15:46:48 +0000 (15:46 +0000)]
2005-05-26  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13943
* include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
available when _GLIBCXX_USE_C99 is defined.
* testsuite/26_numerics/cstdlib/13943.cc: New.

* acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
also strtoll and strtoull for ac_c99_stdlib.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100205 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * call.c (build_op_delete_call): Fix quoting in error message.
reichelt [Thu, 26 May 2005 13:33:02 +0000 (13:33 +0000)]
* call.c (build_op_delete_call): Fix quoting in error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100201 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 26 May 2005 08:15:31 +0000 (08:15 +0000)]
2005-05-26  Paolo Bonzini  <bonzini@gnu.org>

* simplify-rtx.c (avoid_constant_pool_reference): Support
offsetted addresses in the constant pool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100198 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 26 May 2005 08:12:35 +0000 (08:12 +0000)]
2005-05-26  Paolo Bonzini  <bonzini@gnu.org>

* df.h (DF_SUBREGS, df_local_def_available_p, df_insn_modified_p): New.
* df.c (DF_SUBREGS, df_local_def_available_p, df_insn_modified_p): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100197 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/21716
jakub [Thu, 26 May 2005 08:07:30 +0000 (08:07 +0000)]
PR target/21716
* reg-stack.c (swap_rtx_condition): Don't crash if %ax user was not
found in the basic block and last insn in the basic block is not
INSN_P.  Remove explicit unspec numbers that are no longer valid
from comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100196 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 26 May 2005 07:58:47 +0000 (07:58 +0000)]
2005-05-26  Paolo Bonzini  <bonzini@gnu.org>

* tree-vect-transform.c (vectorizable_operation): Try word_mode
vectorization if UNITS_PER_WORD == UNITS_PER_SIMD_WORD, even
if a vector mode is available.

testsuite/ChangeLog:
2005-05-26  Paolo Bonzini  <bonzini@gnu.org>

* gcc.dg/vect/vect-7.c: Remove xfail for alpha.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100195 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/tree-ssa/ssa-pre-14.c (foo): Use correct type for strlen.
aj [Thu, 26 May 2005 07:27:21 +0000 (07:27 +0000)]
* gcc.dg/tree-ssa/ssa-pre-14.c (foo): Use correct type for strlen.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100194 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 26 May 2005 07:10:21 +0000 (07:10 +0000)]
2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu: Add linkage support for no extern templates.
(std::ios_base::_M_call_callbacks): Add.
(std::ios_base::_M_dispose_callbacks): Add.
(std::locale::facet::_S_get_c_name): Add.
(std::__copy_streambufs): Add.
* configure.ac (libtool_VERSION): To 6:5:0.
* configure: Regenerate.
* testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100193 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-26 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Thu, 26 May 2005 06:26:17 +0000 (06:26 +0000)]
2005-05-26  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/17283
        * gfortran.fortran-torture/execute/intrinsic_unpack.f90:
        Test callee-allocated memory with write statements.

2005-05-26  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/17283
        * intrinsics/unpack_generic.c:  Fix name of routine
        on top.  Update copyright years.
        (unpack1):  Remove const from return array descriptor.
        rs:  New variable, for calculating return sizes.
        Populate return array descriptor if ret->data is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100189 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/21709
sayle [Thu, 26 May 2005 05:51:22 +0000 (05:51 +0000)]
PR middle-end/21709
* fold-const.c (const_binop): Check for division by zero during
complex division.

* gcc.dg/pr21709-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100188 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * reload1.c (verify_initial_elim_offsets): Add braces to avoid
ian [Thu, 26 May 2005 05:44:38 +0000 (05:44 +0000)]
* reload1.c (verify_initial_elim_offsets): Add braces to avoid
having a declaration after a statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100187 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * opt-functions.awk (var_type): New function.
rsandifo [Thu, 26 May 2005 05:28:04 +0000 (05:28 +0000)]
* opt-functions.awk (var_type): New function.
(var_set): Use CLVC_STRING if var_type returns "const char *".
* opth-gen.awk: Use var_type to find out the types of variables.
Don't print comments above each "extern" definition.
* optc-gen.awk: Use var_type in the same way.
* opts.h (cl_var_cond): Rename to...
(cl_var_type): ...this.  Add CLVC_STRING.
(cl_option): Make "flag_var" a "void *" pointer.  Replace "var_cond"
with "var_type".
* opts.c (handle_option, option_enabled): Update after above name
change.  Cast flag_var before using it.  Handle CLVC_STRING.

* config/alpha/alpha.h (alpha_tls_size): Delete.
* config/alpha/alpha.c (alpha_tls_size, alpha_cpu_string)
(alpha_tune_string, alpha_tp_string, alpha_fprm_string)
(alpha_fptm_string, alpha_mlat_string): Delete.
(alpha_handle_option): Don't set the above variables here.  Use the
integer argument to check the validity of -mtls-size=.
* config/alpha/alpha.opt (mcpu=, mtune=, mfp-rounding-mode=)
(mfp-trap-mode=, mtrap-precision=, mmemory-latency=): Add Var()s.
(mtls-size=): Likewise.  Convert to a UInteger and initialize the
variable to 32.

* config/arc/arc.c (arc_cpu_string, arc_text_string)
(arc_data_string, arc_rodata_string): Delete.
(arc_handle_option): Don't set the above variables here.
* config/arc/arc.opt (mcpu=, mtext=, mdata=, mrodata=): Add Var()s
and initialize them.

* config/arm/arm.c (target_fpu_name, target_fpe_name)
(target_float_abi_name, target_abi_name, structure_size_string)
(arm_pic_register_string): Delete.
(arm_handle_option): Don't set the above variables here, except
in the handling of -mhard-float and -msoft-float.
* config/arm/arm.opt (mabi=, mfloat-abi=, mfp=, mfpe=, mfpu=)
(mpic-register=, mstructure-size-boundary=): Add Var()s.

* config/avr/avr.c (avr_init_stack, avr_mcu_name, TARGET_HANDLE_OPTION)
(avr_handle_option): Delete.
* config/avr/avr.opt (mmcu=, minit-stack=): Add Var()s and initialize
them.

* config/bfin/bfin.c (bfin_library_id): Delete.
(bfin_handle_option): Don't set it.
* config/bfin/bfin.opt (mshared-library-id=): Add Var().

* config/c4x/c4x.h (c4x_rpts_cycles): Delete.
* config/c4x/c4x.c (c4x_rpts_cycles): Delete.
(c4x_handle_option): Don't set c4x_rpts_cycles here.
* config/c4x/c4x.opt (mrpts=): Add Var().

* config/cris/aout.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't set
cris_elinux_stacksize_str here.
* config/cris/aout.opt (melinux-stacksize=): Add Var().
* config/cris/cris.h (cris_max_stackframe_str, cris_cpu_str)
(cris_tune_str, cris_elinux_stacksize_str): Delete.
* config/cris/cris.c (cris_max_stackframe_str, cris_cpu_str)
(cris_tune_str, cris_elinux_stacksize_str): Delete.
(cris_handle_option): Don't set the above variables here.
* config/cris/cris.opt (mcpu=, march=, mtune=, mmax-stackframe=)
(max-stackframe=): Add Var()s.

* config/i386/i386.h (ix86_tune_string, ix86_arch_string): Delete.
* config/i386/i386.c (ix86_cmodel_string, ix86_asm_string)
(ix86_tls_dialect_string, ix86_tune_string, ix86_arch_string)
(ix86_fpmath_string, ix86_regparm_string, ix86_align_loops_string)
(ix86_align_jumps_string, ix86_preferred_stack_boundary_string)
(ix86_branch_cost_string, ix86_align_funcs_string): Delete.
(ix86_handle_option): Don't set the above variables here.
* config/i386/i386.opt (malign-functions=, malign-jumps=)
(malign-loops=, march=, masm=, mbranch-cost=, mcmodel=, mfpmath=)
(mpreferred-stack-boundary=, mregparm=, mtls-dialect=, mtune=): Add
Var()s.

* config/ia64/ia64.h (ia64_tls_size): Delete.
* config/ia64/ia64.c (ia64_tls_size): Delete.
(ia64_handle_option): Treat -mtls-size= as a UInteger option,
reading the integer argument from the "value" parameter.  Don't
set ia64_tls_size here.
* config/ia64/ia64.opt (mtls-size=): Turn into a UInteger option.
Add Var() and Init().

* config/m32r/m32r.h (m32r_cache_flush_func): Delete.
(m32r_cache_flush_trap): Delete.
* config/m32r/m32r.c (m32r_cache_flush_func): Delete.
(m32r_cache_flush_trap): Delete.
(m32r_handle_option): Don't set the above variables when handling
-mflush-func= and -mflush-trap=.
* config/m32r/m32r.opt (-mflush-func=, -mflush-trap=): Add Var()s
and Init()s.

* config/mips/mips.h (mips_cache_flush_func): Delete.
* config/mips/mips.c (mips_arch_string, mips_tune_string)
(mips_cache_flush_func): Delete.
(mips_handle_option): Don't set the above variables when handling
-march=, -mtune= and -mflush-func=.
* config/mips/mips.opt (march=, mflush-func=, mtune=): Add Var()s.

* config/s390/s390.c (s390_arch_string): Delete.
(s390_handle_option): Don't set it here.
* config/s390/s390.opt (march=): Add Var().

* config/sparc/sparc.h (sparc_cmodel_string): Delete.
* config/sparc/sparc.c (sparc_cmodel_string): Delete.
(sparc_handle_option): Don't set it here.
* config/sparc/sparc.opt (mcmodel=): Add Var().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100185 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * convert.c (convert_to_integer) <POINTER_TYPE>: Avoid recursive
sayle [Thu, 26 May 2005 04:38:51 +0000 (04:38 +0000)]
* convert.c (convert_to_integer) <POINTER_TYPE>: Avoid recursive
call to convert_to_integer by building the NOP_EXPR directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100184 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoMinor reformatting twaeks.
mrs [Thu, 26 May 2005 02:27:50 +0000 (02:27 +0000)]
Minor reformatting twaeks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100183 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * obj-c++.dg/basic.mm: New.
mrs [Thu, 26 May 2005 02:00:19 +0000 (02:00 +0000)]
    * obj-c++.dg/basic.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100182 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * objc/execute/next_mapping.h: Update for C++.
mrs [Thu, 26 May 2005 01:53:56 +0000 (01:53 +0000)]
    * objc/execute/next_mapping.h: Update for C++.

        * obj-c++.dg/selector-1.mm: Move to...
        * obj-c++.dg/selector-4.mm: here...

        * obj-c++.dg/comp-types-1.mm: New.
        * obj-c++.dg/cxx-class-1.mm: New.
        * obj-c++.dg/cxx-ivars-1.mm: New.
        * obj-c++.dg/cxx-ivars-2.mm: New.
        * obj-c++.dg/cxx-ivars-3.mm: New.
        * obj-c++.dg/cxx-scope-1.mm: New.
        * obj-c++.dg/cxx-scope-2.mm: New.
        * obj-c++.dg/defs.mm: New.
        * obj-c++.dg/empty-private-1.mm: New.
        * obj-c++.dg/encode-1.mm: New.
        * obj-c++.dg/encode-2.mm: New.
        * obj-c++.dg/encode-3.mm: New.
        * obj-c++.dg/extern-c-1.mm: New.
        * obj-c++.dg/extra-semi.mm: New.
        * obj-c++.dg/fix-and-continue-2.mm: New.
        * obj-c++.dg/isa-field-1.mm: New.
        * obj-c++.dg/ivar-list-semi.mm: New.
        * obj-c++.dg/local-decl-1.mm: New.
        * obj-c++.dg/lookup-1.mm: New.
        * obj-c++.dg/lookup-2.mm: New.
        * obj-c++.dg/method-1.mm: New.
        * obj-c++.dg/method-2.mm: New.
        * obj-c++.dg/method-3.mm: New.
        * obj-c++.dg/method-4.mm: New.
        * obj-c++.dg/method-5.mm: New.
        * obj-c++.dg/method-6.mm: New.
        * obj-c++.dg/method-7.mm: New.
        * obj-c++.dg/no-extra-load.mm: New.
        * obj-c++.dg/overload-1.mm: New.
        * obj-c++.dg/pragma-1.mm: New.
        * obj-c++.dg/pragma-2.mm: New.
        * obj-c++.dg/private-1.mm: New.
        * obj-c++.dg/private-2.mm: New.
        * obj-c++.dg/proto-qual-1.mm: New.
        * obj-c++.dg/qual-types-1.mm: New.
        * obj-c++.dg/stubify-1.mm: New.
        * obj-c++.dg/stubify-2.mm: New.
        * obj-c++.dg/super-class-1.mm: New.
        * obj-c++.dg/super-class-2.mm: New.
        * obj-c++.dg/super-dealloc-1.mm: New.
        * obj-c++.dg/super-dealloc-2.mm: New.
        * obj-c++.dg/template-1.mm: New.
        * obj-c++.dg/template-2.mm: New.
        * obj-c++.dg/template-3.mm: New.
        * obj-c++.dg/template-4.mm: New.
        * obj-c++.dg/template-5.mm: New.
        * obj-c++.dg/template-6.mm: New.
        * obj-c++.dg/try-catch-1.mm: New.
        * obj-c++.dg/try-catch-2.mm: New.
        * obj-c++.dg/try-catch-3.mm: New.
        * obj-c++.dg/try-catch-4.mm: New.
        * obj-c++.dg/try-catch-5.mm: New.
        * obj-c++.dg/try-catch-6.mm: New.
        * obj-c++.dg/try-catch-7.mm: New.
        * obj-c++.dg/try-catch-8.mm: New.
        * obj-c++.dg/try-catch-9.mm: New.
        * obj-c++.dg/va-meth-1.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100181 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * obj-c++.dg/selector-1.mm: Move to...
mrs [Thu, 26 May 2005 01:08:04 +0000 (01:08 +0000)]
    * obj-c++.dg/selector-1.mm: Move to...
        * obj-c++.dg/selector-4.mm: here...

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100180 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago[gcc/testsuite/ChangeLog]
zlaski [Thu, 26 May 2005 00:51:53 +0000 (00:51 +0000)]
[gcc/testsuite/ChangeLog]
2005-05-25  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/selector-1.mm: New.
        * obj-c++.dg/selector-2.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100179 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Thu, 26 May 2005 00:16:17 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100177 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago[gcc/testsuite/ChangeLog]
zlaski [Thu, 26 May 2005 00:01:02 +0000 (00:01 +0000)]
[gcc/testsuite/ChangeLog]
2005-05-25  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/selector-3.mm: New.
        * objc.dg/selector-3.m: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100175 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoinclude/
rth [Wed, 25 May 2005 23:29:54 +0000 (23:29 +0000)]
include/
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
(d_make_comp, d_print_comp): Likewise.
(d_special_name): Generate one.
* testsuite/demangle-expected: Add a hidden alias test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100174 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR libgcj/21692
rth [Wed, 25 May 2005 23:24:07 +0000 (23:24 +0000)]
    PR libgcj/21692
        * sysdep/descriptor-n.h: New file.
        * sysdep/descriptor-y.h: New file.
        * sysdep/powerpc/descriptor.h: New file.
        * configure.host: Set $descriptor_h appropriate for the host.
        * configure.ac: Link it.
        * configure: Regenerate.
        * stacktrace.cc: Include sysdep/descriptor.h.
        (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100173 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/rs6000/rs6000.opt (mprioritize-restricted-insns=): Fix typo.
rsandifo [Wed, 25 May 2005 22:19:22 +0000 (22:19 +0000)]
* config/rs6000/rs6000.opt (mprioritize-restricted-insns=): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100172 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR libgcj/21692
rth [Wed, 25 May 2005 22:08:31 +0000 (22:08 +0000)]
PR libgcj/21692
cp/
        * cp-tree.h (make_alias_for): Declare.
        * decl2.c (build_java_method_aliases): New.
        (cp_finish_file): Call it.
        * method.c (make_alias_for): Split out from ...
        (make_alias_for_thunk): ... here.

java/
        * Make-lang.in (java/mangle.o): Depend on LANGHOOKS_DEF_H.
        * class.c (build_class_ref): Set DECL_CLASS_FIELD_P and
        DECL_CONTEXT; avoid pushdecl_top_level.
        (build_dtable_decl): Set DECL_VTABLE_P and DECL_CONTEXT.
        (layout_class): Don't SET_DECL_ASSEMBLER_NAME.
        (layout_class_method): Likewise.
        * decl.c (java_mark_cni_decl_local): New.
        (java_mark_class_local): Use it.
        * java-tree.h (DECL_LOCAL_CNI_METHOD_P): New.
        (DECL_CLASS_FIELD_P, DECL_VTABLE_P): New.
        (struct lang_decl_func): Add local_cni;
        (struct lang_decl_var): Add class_field, vtable.
        (java_mangle_decl): Declare.
        * lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
        * mangle.c: Remove dup obstack.h; include langhooks-def.h.
        (mangle_obstack_1): New.
        (java_mangle_decl): Remove obstack argument.  Call mangle_class_field,
        mangle_vtable, and mangle_local_cni_method_decl.  Fall back to
        lhd_set_decl_assembler_name for things that don't need mangling.
        (mangle_class_field): Rename from java_mangle_class_field, make
        static, don't call init_mangling or finish_mangling.
        (mangle_vtable): Similarly.
        (mangle_local_cni_method_decl): New.
        (init_mangling): Remove obstack argument.  Use &mangle_obstack_1,
        gcc_assert, and MANGLE_RAW_STRING.
        (finish_mangling): Use gcc_assert, remove if 0 debugging code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100171 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-cfg.c (verify_expr, case ADDR_EXPR): Verify invariant,
law [Wed, 25 May 2005 21:36:24 +0000 (21:36 +0000)]
    * tree-cfg.c (verify_expr, case ADDR_EXPR): Verify invariant,
        constant and side_effects of the ADDR_EXPR are consistent.

        * tree-nested.c (convert_local_reference): Set CURRENT_FUNCTION_DECL
        appropriately around calls to recompute_tree_invarant_for_addr_expr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100168 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago[gcc/testsuite/ChangeLog]
zlaski [Wed, 25 May 2005 21:18:43 +0000 (21:18 +0000)]
[gcc/testsuite/ChangeLog]
2005-05-25  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/selector-2.m: Remove "-fgnu-runtime"; be flexible
        about where warning appears.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100167 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoChangeLog:
uweigand [Wed, 25 May 2005 20:39:31 +0000 (20:39 +0000)]
ChangeLog:

* config/s390/s390.c (GP_ARG_NUM_REG, FP_ARG_NUM_REG): New defines.
(s390_function_arg, s390_gimplify_va_arg): Use them.
(s390_register_info): Save only required subset of argument
registers into save area for va_list.
(s390_va_start): Initialize only required elements of va_list struct.
(s390_build_builtin_va_list): Set va_list_[gf]pr_counter_field.

testsuite/ChangeLog:

* gcc.dg/tree-ssa/stdarg-2.c: Add tests for s390*-*-linux* targets.
* gcc.dg/tree-ssa/stdarg-3.c: Likewise.
* gcc.dg/tree-ssa/stdarg-4.c: Likewise.
* gcc.dg/tree-ssa/stdarg-5.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100164 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-25 Chris Burdess <dog@gnu.org>
tromey [Wed, 25 May 2005 20:23:01 +0000 (20:23 +0000)]
2005-05-25  Chris Burdess  <dog@gnu.org>

* gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
end entity callbacks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100163 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoChangeLog:
uweigand [Wed, 25 May 2005 20:19:26 +0000 (20:19 +0000)]
ChangeLog:

* reload1.c (verify_initial_elim_offsets): Return boolean status
instead of aborting.
(reload): Adapt verify_initial_elim_offsets call site.  Restart
main loop if some initial elimination offsets changed.

testsuite/ChangeLog:

* gcc.dg/20050524-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100159 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/rs6000/lynx.h (CC1_SPEC): Use -maix-struct-return instead
nemet [Wed, 25 May 2005 20:06:33 +0000 (20:06 +0000)]
* config/rs6000/lynx.h (CC1_SPEC): Use -maix-struct-return instead
of -mno-svr4-struct-return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100158 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-25 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 25 May 2005 19:33:35 +0000 (19:33 +0000)]
2005-05-25  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21726
* configure.host (abi_baseline_pair switch): Add an entry
for powerpc64-linux.
* config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New.
* config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New.
* config/abi/powerpc64-linux-gnu/32/nof/baseline_symbols.txt: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100157 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-25 Daniel Berlin <dberlin@dberlin.org>
dberlin [Wed, 25 May 2005 18:53:25 +0000 (18:53 +0000)]
2005-05-25  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/21705

* tree-ssa-pre.c (in_fre): New static variable.
(create_value_expr_from): Recursively value number reference ops
in argument lists.
(can_value_number_call): Temporary restrict only exists for
PRE, not FRE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100156 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * objc-act.c (volatilized_hash): Avoid warnings on 64-bit
mrs [Wed, 25 May 2005 15:48:44 +0000 (15:48 +0000)]
    * objc-act.c (volatilized_hash): Avoid warnings on 64-bit
        machines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100155 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-24 Gary Benson <gbenson@redhat.com>
tromey [Wed, 25 May 2005 15:25:38 +0000 (15:25 +0000)]
2005-05-24  Gary Benson  <gbenson@redhat.com>

PR libgcj/21736:
* java/text/MessageFormat.java (MessageFormatElement.setLocale):
Handle DateFormat.DEFAULT case correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100154 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR libgcj/21703:
tromey [Wed, 25 May 2005 15:23:56 +0000 (15:23 +0000)]
PR libgcj/21703:
* java/lang/ref/natReference.cc (find_slot): Handle case where
table has no NULL entries.
* java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
table has no NULL entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100153 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-into-ssa.c (rewrite_into_ssa, update_ssa): Replace
kazu [Wed, 25 May 2005 15:17:12 +0000 (15:17 +0000)]
* tree-into-ssa.c (rewrite_into_ssa, update_ssa): Replace
sizeof (bitmap *) with sizeof (bitmap).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100152 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-25 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 25 May 2005 14:18:54 +0000 (14:18 +0000)]
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (stage[+id+]-start): Iterate over target module as well.
(Dependencies): Consider target modules for bootstrap dependencies.
Make target bootstrap modules depend on each stage's gcc.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100151 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2005-05-25 Daniel Berlin <dberlin@dberlin.org>
dberlin [Wed, 25 May 2005 14:05:22 +0000 (14:05 +0000)]
2005-05-25  Daniel Berlin <dberlin@dberlin.org>

* lambda-code.c (perfect_nestify): Call update_stmt on the exit
condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100150 138bc75d-0d04-0410-961f-82ee72b054a4