OSDN Git Service

15 years ago PR bootstrap/21215
jsm28 [Mon, 25 Apr 2005 14:30:21 +0000 (14:30 +0000)]
PR bootstrap/21215
* doc/install.texi: Document correct assembler and linker to use
on i?86-*-solaris2.10.

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

15 years agoTestcase for pr 21173
dberlin [Mon, 25 Apr 2005 14:18:30 +0000 (14:18 +0000)]
Testcase for pr 21173

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

15 years ago2005-04-25 Steven Bosscher <stevenb@suse.de>
dberlin [Mon, 25 Apr 2005 13:59:36 +0000 (13:59 +0000)]
2005-04-25  Steven Bosscher  <stevenb@suse.de>

Fix PR tree-optimization/21173

* tree-ssa-pre.c (create_expression_by_pieces): Simplify code.
Unshare expression we pass to force_gimple_operand.

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

15 years ago2005-04-25 J"orn Rennecke <joern.rennecke@st.com>
amylaar [Mon, 25 Apr 2005 12:46:12 +0000 (12:46 +0000)]
2005-04-25  J"orn Rennecke <joern.rennecke@st.com>
    Stephen Clarke <stevec@superh.com>
    Roger Sayle <roger@eyesopen.com>

PR rtl-optimization/20413
* cfgrtl.c (redirect_edge_and_branch): Use Pmode instead of
* final.c (shorten_branches): Likewise.
* jump.c (mark_all_labels, redirect_exp_1): Likewise.
* loop.c (reg_dead_after_loop): Likewise.
* varasm.c (decode_addr_const): Likewise.
* doc/rtl.texi: Document mode requirement for LABEL_REF.

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

15 years ago2005-04-25 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 25 Apr 2005 10:59:21 +0000 (10:59 +0000)]
2005-04-25  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21035
* include/bits/basic_string.h (compare): Adjust the documentation
to match the implementation and the standard.

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

15 years ago2005-04-25 Ralf Corsepius <ralf.corsepius@rtems.org>
corsepiu [Mon, 25 Apr 2005 04:40:02 +0000 (04:40 +0000)]
2005-04-25  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config.gcc (avr-*-*): Remove redundant "case".

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

15 years ago * tree-vect-analyze.c (vect_mark_relevant): Take
kazu [Mon, 25 Apr 2005 02:33:12 +0000 (02:33 +0000)]
* tree-vect-analyze.c (vect_mark_relevant): Take
VEC(tree,heap) instead of varray_type as an argument.
(vect_mark_stmts_to_be_vectorized): Change the type of
worklist to VEC(tree,heap).  Adjust uses of worklist.

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

15 years ago * config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.
dpatel [Mon, 25 Apr 2005 02:10:41 +0000 (02:10 +0000)]
   *  config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.

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

15 years ago * c-semantics.c (build_stmt): Remove test of specific tree codes
ian [Mon, 25 Apr 2005 01:18:23 +0000 (01:18 +0000)]
* c-semantics.c (build_stmt): Remove test of specific tree codes
for TREE_SIDE_EFFECTS handling.

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

15 years agoDaily bump.
gccadmin [Mon, 25 Apr 2005 00:16:36 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago2005-04-25 Paul Brook <paul@codesourcery.com>
pbrook [Mon, 25 Apr 2005 00:09:11 +0000 (00:09 +0000)]
2005-04-25  Paul Brook  <paul@codesourcery.com>
Steven G. Kargl  <kargls@comcast.net>

PR fortran/20879
* check.c (gfc_check_ichar_iachar): New function.
* instinsic.h (gfc_check_ichar_iachar): Add prototype.
* intrinsic.c (add_functions): Use it.
* primary.c (match_varspec, gfc_match_rvalue): Clear incorrect
character expression lengths.

* gfortran.dg/ichar_1.f90: New file.

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

15 years ago * c-opts.c (finish_options): Make the line-number of the <built-in>
bothner [Sun, 24 Apr 2005 23:27:37 +0000 (23:27 +0000)]
* c-opts.c (finish_options):  Make the line-number of the <built-in>
location 0, as assumed elsewhere, rather than 1.

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

15 years ago * tree-ssa-uncprop.c (equiv_stack): Change the type o
kazu [Sun, 24 Apr 2005 23:23:33 +0000 (23:23 +0000)]
* tree-ssa-uncprop.c (equiv_stack): Change the type o
(tree_ssa_uncprop, uncprop_finalize_block,
uncprop_initialize_block): Update uses of equiv_stack.

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

15 years ago2005-04-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 24 Apr 2005 22:37:07 +0000 (22:37 +0000)]
2005-04-24  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.

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

15 years ago * Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H)
jakub [Sun, 24 Apr 2005 22:16:49 +0000 (22:16 +0000)]
* Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H)
instead of just expr.h.

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

15 years ago PR rtl-opt/21163
rth [Sun, 24 Apr 2005 22:16:48 +0000 (22:16 +0000)]
    PR rtl-opt/21163
        * simplify-rtx.c (simplify_binary_operation) <IOR>: Check
        for SCALAR_INT_MODE_P instead of not MODE_CC before returning
        <UDIV, UMOD>: Use CONST0_RTX and CONST1_RTX.
        <DIV, MOD>: Likewise.

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

15 years ago * collect2.c (main): Unlock the stdio streams.
ghazi [Sun, 24 Apr 2005 22:11:55 +0000 (22:11 +0000)]
* collect2.c (main): Unlock the stdio streams.
* gcc.c (main): Likewise.
* gcov-dump.c (main): Likewise.
* gcov.c (main): Likewise.
* gen-protos.c (main): Likewise.
* gensupport.c (init_md_reader_args_cb): Likewise.
* protoize.c (main): Likewise.
* toplev.c (general_init): Likewise.

* gjavah.c (main): Unlock the stdio streams.
* jcf-dump.c (main): Likewise.
* jv-scan.c (main): Likewise.
* jvgenmain.c (main): Likewise.

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

15 years ago PR middle-end/20991
jakub [Sun, 24 Apr 2005 22:06:37 +0000 (22:06 +0000)]
PR middle-end/20991
* cgraph.h (cgraph_local_info): Add vtable_method field.
* varasm.c (mark_decl_referenced): If cgraph_global_info_ready
and node is vtable_method, finalized and not reachable, don't do

* class.c: Include cgraph.h.
(cp_fold_obj_type_ref): Set node->local.vtable_method.
* Make-lang.in (cgraph.o): Depend on $(CGRAPH_H).

* g++.dg/opt/pr20991.C: New test.

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

15 years ago * gcc.dg/compat/struct-layout-1_generate.c: In arrays avoid types
jakub [Sun, 24 Apr 2005 22:01:53 +0000 (22:01 +0000)]
* gcc.dg/compat/struct-layout-1_generate.c: In arrays avoid types
where sizeof (type) < __alignof__ (type).
* gcc.dg/compat/struct-layout-1.h: Likewise.

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

15 years ago PR preprocessor/20907
bothner [Sun, 24 Apr 2005 20:05:25 +0000 (20:05 +0000)]
PR preprocessor/20907
* gcc.dg/cpp/very-long-comment.c: New test.

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

15 years ago * tree-ssa-live.c (build_tree_conflict_graph): Change the type
kazu [Sun, 24 Apr 2005 19:51:35 +0000 (19:51 +0000)]
* tree-ssa-live.c (build_tree_conflict_graph): Change the type
of tpa_to_clear to VEC(int,heap).  Update uses of
tpa_to_clear.  Free tpa_to_clear at the end.

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

15 years ago * mangle.c (write_builtin_type): Handle integer types which are
mmitchel [Sun, 24 Apr 2005 17:35:34 +0000 (17:35 +0000)]
* mangle.c (write_builtin_type): Handle integer types which are
not one of the shared integer type nodes and emit a "vendor
extended builtin type" with an encoding in the form of "u5int96".

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

15 years ago * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Use
kazu [Sun, 24 Apr 2005 14:15:13 +0000 (14:15 +0000)]
* tree-ssa-copy.c (copy_prop_visit_cond_stmt): Use
* tree-ssa-pre.c (create_value_expr_from): Use
* tree-ssa-propagate.c (stmt_makes_single_load,
stmt_makes_single_store): Use REFERENCE_CLASS_P.
* tree-vect-transform.c (vect_is_simple_cond): Use
* tree-vrp.c (extract_range_from_assert,
build_assert_expr_for, fp_predicate, has_assert_expr): Use

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

15 years ago2005-04-24 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 24 Apr 2005 14:05:06 +0000 (14:05 +0000)]
2005-04-24  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree.h (TREE_THIS_VOLATILE): Document the effect on a
        function decl.

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

15 years agofortran/
tobi [Sun, 24 Apr 2005 13:51:39 +0000 (13:51 +0000)]
PR fortran/20059
* trans-common.c (translate_common): Cast offset and
common_segment->offset to type int for warning message.
PR fortran/20059
* gfortran.dg/common_5.f: New test.

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

15 years ago * cp-tree.def (USING_STMT): Change class to tcc_statement.
ian [Sun, 24 Apr 2005 13:38:19 +0000 (13:38 +0000)]
* cp-tree.def (USING_STMT): Change class to tcc_statement.

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

15 years ago * config/rs6000/rs6000.c (rs6000_override_options): Use gcc_assert
nathan [Sun, 24 Apr 2005 12:53:36 +0000 (12:53 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Use gcc_assert
and gcc_unreachable as appropriate.
(num_insns_constant, output_vec_const_move,
build_mask64_2_operands, rs6000_output_dwarf_dtprel,
rs6000_emit_set_const, rs6000_emit_move,
spe_build_register_parallel, function_arg,
rs6000_move_block_from_reg, altivec_expand_predicate_builtin,
spe_expand_predicate_builtin, spe_expand_evsel_builtin,
rs6000_expand_builtin, spe_init_builtins, altivec_init_builtins,
rs6000_common_init_builtins, expand_block_clear,
expand_block_move, validate_condition_mode, ccr_bit, extract_MB,
extract_ME, rs6000_get_some_local_dynamic_name,
rs6000_output_function_entry, print_operand,
print_operand_address, rs6000_generate_compare, rs6000_emit_sCOND,
output_cbranch, output_e500_flip_gt_bit,
rs6000_emit_vector_compare, rs6000_emit_vector_compare,
rs6000_emit_cmove, rs6000_emit_minmax, rs6000_split_multireg_move,
compute_save_world_info, rs6000_stack_info,
rs6000_emit_load_toc_table, rs6000_frame_related,
spe_synthesize_frame_save, rs6000_emit_epilogue,
rs6000_output_function_epilogue, rs6000_hash_constant, output_toc,
output_function_profiler, rs6000_trampoline_size,
rs6000_initialize_trampoline, find_addr_reg,
rs6000_dbx_register_number): Likewise.
* config/rs6000/rs6000.md (*fix_truncdfsi2_internal,
*movdf_hardfloat32, *movdf_softfloat32, *fix_trunctfsi2_internal,
*movti_power, *movti_string, call, call_value, sibcall,
sibcall_value): Likewise.
* config/rs6000/spe.md (*movdf_e500_double,
*movv2si_internal): Likewise.
* config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): Remove 'abort'
from comment.

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

15 years ago * de.po: Update.
jsm28 [Sun, 24 Apr 2005 10:35:30 +0000 (10:35 +0000)]
* de.po: Update.

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

15 years ago PR target/21101
rth [Sun, 24 Apr 2005 07:59:22 +0000 (07:59 +0000)]
    PR target/21101
        * config/i386/i386.h (CANNOT_CHANGE_MODE_CLASS): Move guts to ...
        * config/i386/i386.c (ix86_cannot_change_mode_class): ... here.
        Deny modes smaller than 4 bytes.
        * config/i386/i386-protos.h: Update.

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

15 years agoFix typo in previous changelog entry.
corsepiu [Sun, 24 Apr 2005 07:39:32 +0000 (07:39 +0000)]
Fix typo in previous changelog entry.

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

15 years ago2005-04-24 Ralf Corsepius <ralf.corsepius@rtems.org>
corsepiu [Sun, 24 Apr 2005 06:41:51 +0000 (06:41 +0000)]
2005-04-24  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config.gcc (h8300-*-rtems*): Add h8300-rtemscoff.
Switch h8300-*-rtems* to ELF.

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

15 years ago * vec.h (VEC_safe_grow): Replace grow with safe_grow.
kazu [Sun, 24 Apr 2005 01:40:53 +0000 (01:40 +0000)]
* vec.h (VEC_safe_grow): Replace grow with safe_grow.

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

15 years agoDaily bump.
gccadmin [Sun, 24 Apr 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * ipa-inline.c, tree-ssa-operands.h: Fix comment typos.
kazu [Sat, 23 Apr 2005 23:01:11 +0000 (23:01 +0000)]
* ipa-inline.c, tree-ssa-operands.h: Fix comment typos.

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

15 years ago2005-04-23 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Sat, 23 Apr 2005 21:34:40 +0000 (21:34 +0000)]
2005-04-23  Richard Guenther  <rguenth@gcc.gnu.org>

PR middle-end/21082
* fold-const.c: Fold &a[i]-&a[j] to i-j.

* g++.dg/tree-ssa/pr21082.C: New testcase.

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

15 years ago * tree-ssa-loop-niter.c (tree_simplify_using_condition): Expand simple
rakdver [Sat, 23 Apr 2005 21:33:15 +0000 (21:33 +0000)]
* tree-ssa-loop-niter.c (tree_simplify_using_condition): Expand simple
definitions of ssa names in condition.  Split recusive part to ...
(tree_simplify_using_condition_1): New function.
(expand_simple_operations): New function.

* gcc.dg/vect/vect-99.c: New test.

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

15 years ago * tree-ssa-loop-ivopts.c (struct cost_pair): Add value field.
rakdver [Sat, 23 Apr 2005 21:31:16 +0000 (21:31 +0000)]
* tree-ssa-loop-ivopts.c (struct cost_pair): Add value field.
(find_interesting_uses_cond): Do not use integer_zerop and
integer_nonzerop to check for integer constants.
(set_use_iv_cost): Record the value field.
(determine_use_iv_cost_generic, determine_use_iv_cost_address,
determine_use_iv_cost_outer): Set the value field of the cost pair.
(may_eliminate_iv): Do not return the comparison code.
(iv_elimination_compare): New function.
(determine_use_iv_cost_condition): Set the value field.  Record
noneliminable invariants correctly.
(rewrite_use_compare, rewrite_use_outer): Use the value field.

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

15 years ago* diagnostic.c (warning): Accept parameter to classify warning option.
dj [Sat, 23 Apr 2005 21:29:07 +0000 (21:29 +0000)]
* diagnostic.c (warning): Accept parameter to classify warning option.
(warning0): New, for when a pointer to an error() like function is needed.
* errors.c (warning): Likewise.
* errors.h (warning, warning0): Adjust prototypes.
* toplev.h (warning, warning0): Likewise.

* attribs.c, builtins.c, c-common.c, c-decl.c, c-format.c,
c-gimplify.c, c-lex.c, c-objc-common.c, c-opts.c, c-parser.c,
c-pragma.c, c-typeck.c, calls.c, cgraph.c, coverage.c, emit-rtl.c,
fold-const.c, fortran/trans-decl.c, function.c, gcse.c,
genautomata.c, haifa-sched.c, opts.c, passes.c, regclass.c,
reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
tree-dump.c, tree-inline.c, tree-mudflap.c, tree-optimize.c,
tree-ssa.c, tree.c, varasm.c: Adjust warning() callers.

* config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
config/avr/avr.c, config/bfin/bfin.c, config/c4x/c4x-c.c,
config/c4x/c4x.c, config/cris/cris.c, config/darwin-c.c,
config/darwin.c, config/darwin.h, config/h8300/h8300.c,
config/i386/cygming.h, config/i386/djgpp.h, config/i386/i386.c,
config/i386/winnt.c, config/ia64/ia64-c.c, config/ia64/ia64.c,
config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c,
config/mmix/mmix.c, config/ns32k/ns32k.c, config/pa/pa-hpux11.h,
config/pa/pa.c, config/rs6000/aix43.h, config/rs6000/aix51.h,
config/rs6000/aix52.h, config/rs6000/darwin.h,
config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
config/sh/symbian.c, config/sol2-c.c, config/sol2.c,
config/stormy16/stormy16.c, config/v850/v850-c.c,
config/v850/v850.c, config/xtensa/xtensa.c: Adjust warning()

* ada/misc.c: Adjust warning() callers.

* cp/call.c, cp/class.c, cp/cvt.c, cp/decl.c, cp/decl2.c,
cp/except.c, cp/friend.c, cp/init.c, cp/lex.c, cp/mangle.c,
cp/method.c, cp/name-lookup.c, cp/parser.c, cp/repo.c, cp/rtti.c,
cp/tree.c, cp/typeck.c, cp/typeck2.c: Adjust warning() callers.

* fortran/trans-decl.c: Adjust warning() callers.

* java/class.c, java/decl.c, java/expr.c, java/jcf-io.c,
java/jcf-parse.c, java/jv-scan.c, java/parse.y: Adjust warning()

* objc/objc-act.c: Adjust warning() callers.

* treelang/parse.y: Adjust warning() callers.

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

15 years agoRevert accidental commit.
rth [Sat, 23 Apr 2005 21:26:26 +0000 (21:26 +0000)]
Revert accidental commit.

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

15 years ago PR rtl-opt/21102
rth [Sat, 23 Apr 2005 19:16:54 +0000 (19:16 +0000)]
    PR rtl-opt/21102
        * simplify-rtx.c (simplify_binary_operation): Fix mode check before
        performing some integral scalar simplifications.

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

15 years ago PR target/21099
rth [Sat, 23 Apr 2005 17:14:27 +0000 (17:14 +0000)]
    PR target/21099
        * config/i386/i386.c (ix86_split_to_parts): Use proper mode when
        simplifying CONST_VECTOR.

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

15 years agoUpdate of gfortran.info to describe extensions to the standard for namelist io.
pault [Sat, 23 Apr 2005 17:03:07 +0000 (17:03 +0000)]
Update of gfortran.info to describe extensions to the standard for namelist io.

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

15 years agoRemoved Zdenek's name as requested by him.
dnovillo [Sat, 23 Apr 2005 16:51:56 +0000 (16:51 +0000)]
Removed Zdenek's name as requested by him.

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

15 years agoFix comment typo in previous checkin.
tobi [Sat, 23 Apr 2005 15:33:33 +0000 (15:33 +0000)]
Fix comment typo in previous checkin.

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

15 years ago* trans-const.c (gfc_conv_mpfr_to_tree): Use hexadecimal string as
tobi [Sat, 23 Apr 2005 15:19:06 +0000 (15:19 +0000)]
* trans-const.c (gfc_conv_mpfr_to_tree): Use hexadecimal string as
intermediate representation.

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

15 years ago * tree-ssa-dce.c (worklist): Change to VEC(tree,heap).
kazu [Sat, 23 Apr 2005 15:14:32 +0000 (15:14 +0000)]
* tree-ssa-dce.c (worklist): Change to VEC(tree,heap).
(mark_stmt_necessary, propagate_necessity,
mark_really_necessary_kill_operand_phis): Update uses of
(tree_dce_init): Allocate worklist using VEC_alloc.
(tree_dce_done): Free worklist using VEC_free.

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

15 years ago * tree-ssa-live.c (build_tree_conflict_graph): Allocate
kazu [Sat, 23 Apr 2005 15:10:31 +0000 (15:10 +0000)]
* tree-ssa-live.c (build_tree_conflict_graph): Allocate
partition_link and tpa_nodes on heap.

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

15 years ago * tree-ssa-live.c (live_worklist): Take a stack allocated on
kazu [Sat, 23 Apr 2005 15:05:40 +0000 (15:05 +0000)]
* tree-ssa-live.c (live_worklist): Take a stack allocated on
heap as an argument.  Update uses of stack.
(calculate_live_on_entry): Allocate stack on heap.

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

15 years ago * config/darwin.c (machopic_indirection_name): Don't use
mrs [Sat, 23 Apr 2005 14:58:52 +0000 (14:58 +0000)]
    * config/darwin.c (machopic_indirection_name): Don't use
        quotes needlessly.
        (darwin_emit_unwind_label): Use user_label_prefix instead of

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

15 years ago * MAINTAINERS: Add self as Objective-C/Objective-C++ maintainer.
mrs [Sat, 23 Apr 2005 14:27:40 +0000 (14:27 +0000)]
    * MAINTAINERS: Add self as Objective-C/Objective-C++ maintainer.
        * MAINTAINERS: Add Zem as Objective-C++ maintainer.

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

15 years ago * final.c, ipa-inline.c, varasm.c: Fix comment typos.
kazu [Sat, 23 Apr 2005 14:23:26 +0000 (14:23 +0000)]
* final.c, ipa-inline.c, varasm.c: Fix comment typos.

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

15 years ago * config.gcc <cris-*>: Specify .opt files.
hp [Sat, 23 Apr 2005 14:03:53 +0000 (14:03 +0000)]
* config.gcc <cris-*>: Specify .opt files.
* config/cris/cris.opt, config/cris/elf.opt, config/cris/aout.opt,
config/cris/linux.opt: New files.
* config/cris/aout.h (CRIS_SUBTARGET_SWITCHES)
(TARGET_ELF): Override to 0.
(CRIS_SUBTARGET_HANDLE_OPTION): Override to handle -melinux and
* config/cris/cris.c: (cris_handle_option): New function.
(TARGET_HANDLE_OPTION): Override to cris_handle_option.
(cris_override_options): Use MASK_*, not TARGET_MASK_*.
* config/cris/cris.h (TARGET_MASK_SVINTO, TARGET_SVINTO,
(TARGET_LINUX): Define 0.
(CRIS_SUBTARGET_DEFAULT): New empty default macro.
* config/cris/linux.h (CRIS_SUBTARGET_SWITCHES): Don't define.
(TARGET_LINUX): Override to 1.

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

15 years agoFix bug that causes testsuite failure in namelist_13.f90 on some systems.
pault [Sat, 23 Apr 2005 12:38:08 +0000 (12:38 +0000)]
Fix bug that causes testsuite failure in namelist_13.f90 on some systems.

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

15 years ago2005-04-23 Jeroen Frijters <jeroen@frijters.net>
mkoch [Sat, 23 Apr 2005 11:20:14 +0000 (11:20 +0000)]
2005-04-23  Jeroen Frijters  <jeroen@frijters.net>

* java/io/FileInputStream.java (FileInputStream(File)),
java/io/FileOutputStream.java (FileOutputStream(File)):
Removed unnecessary File.isDirectory() check.

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

15 years ago * haifa-sched.c (schedule_block): Fix thinko in previous
nathan [Sat, 23 Apr 2005 08:47:17 +0000 (08:47 +0000)]
* haifa-sched.c (schedule_block): Fix thinko in previous
assertification patch.

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

15 years ago * config.gcc (hppa[12]*-*-hpux10*): Add pa/pa-hpux.opt to
rsandifo [Sat, 23 Apr 2005 07:02:19 +0000 (07:02 +0000)]
* config.gcc (hppa[12]*-*-hpux10*): Add pa/pa-hpux.opt to
$extra_options.  Also add pa/pa-hpux1010.opt for hpux10.[1-9]*.
(hppa*64*-*-hpux11*): Add pa/pa-hpux1010.h to $tm_file.  Add
pa/pa-hpux.opt, pa/pa-hpux1010.opt and pa/pa64-hpux.opt to
$extra_options.  Also add pa/pa-hpux1111.opt for hpux11.[1-9]*.
(hppa[12]*-*-hpux11*): Add pa/pa-hpux1010.h to $tm_file.  Add
pa/pa-hpux.opt to $extra_options.  Also add pa/pa-hpux1111.opt
for hpux11.[1-9]*.
* config/pa/pa.h (architecture_type, rtx_def, pa_arch_string, pa_arch)
(pa_fixed_range_string, pa_cpu_string, pa_unix_string, target_flags)
(TARGET_PA_10): Redefine in terms of TARGET_PA_11 and TARGET_PA_20.
instead of a string.
* config/pa/pa.c (pa_arch, pa_arch_string, pa_fixed_range_string)
(pa_cpu_string, pa_unix_string): Delete.
(pa_cpu): Initialize to TARGET_SCHED_DEFAULT.
(flag_pa_unix): Initialize based on TARGET_HPUX_11_11 and
(pa_handle_option): New function.
(override_options): Remove handling of -march=, -mfixed-range=,
-mschedule= and -munix=.
* config/pa/pa-hpux.h (SUBTARGET_SWITCHES): Delete.
* config/pa/pa-hpux1010.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa-hpux10.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa-hpux1111.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa-hpux11.h (SUBTARGET_OPTIONS): Delete.
* config/pa/pa64-hpux.h (SUBTARGET_SWITCHES): Delete.
* config/pa/pa64-start.h (TARGET_PA_11, TARGET_PA_20): #undef before
* config/pa/pa.opt: New file.
* config/pa/pa-hpux.opt: New file.
* config/pa/pa-hpux1010.opt: New file.
* config/pa/pa-hpux1111.opt: New file.
* config/pa/pa64-hpux.opt: New file.

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

15 years ago * rtl.h (CONST_DOUBLE): Fix comment, a CONST_DOUBLE holds an
davem [Sat, 23 Apr 2005 05:25:26 +0000 (05:25 +0000)]
* rtl.h (CONST_DOUBLE): Fix comment, a CONST_DOUBLE holds an
integer when it's mode is VOIDmode not DImode.

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

15 years ago * config/rs6000/rs6000.md (sync_add<mode>_internal,
geoffk [Sat, 23 Apr 2005 04:27:48 +0000 (04:27 +0000)]
* config/rs6000/rs6000.md (sync_add<mode>_internal,
sync_addshort_internal, sync_sub<mode>_internal, sync_andsi_internal,
sync_anddi_internal, sync_boolsi_internal, sync_booldi_internal,
sync_boolc<mode>_internal, sync_boolc<mode>_internal2,
sync_boolcc<mode>_internal, sync_lock_test_and_set<mode>): Use
"bne- $-xxx" rather than local labels.
(sync_lock_release<mode>): Add second operand.
(lwsync): Use .long rather than a more meaningful opcode.
* doc/md.texi (Standard Names): Add description of second
parameter to sync_lock_test_and_set.

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

15 years ago * tree-ssa-dom.c: Fix formatting.
kazu [Sat, 23 Apr 2005 02:23:28 +0000 (02:23 +0000)]
* tree-ssa-dom.c: Fix formatting.

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

15 years ago PR tree-optimization/21088
kazu [Sat, 23 Apr 2005 02:01:53 +0000 (02:01 +0000)]
PR tree-optimization/21088
* fold-const.c (fold_unary, fold_binary, fold_ternary):
* tree-vrp.c (compare_values): Use fold_binary to compare
pointers.  Use boolean_type_node as the type of a comparison
expression being folded.
* tree.h: Add prototypes for fold_unary, fold_binary,

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

15 years ago2005-04-22 Diego Novillo <dnovillo@redhat.com>
dnovillo [Sat, 23 Apr 2005 00:59:54 +0000 (00:59 +0000)]
2005-04-22  Diego Novillo  <dnovillo@redhat.com>

* Makefile.in (tree-into-ssa.o): Add dependency on PARAMS_H.
* lambda-code.c (perfect_nestify): Mark virtual operands in
the moved statement for renaming.
* params.def (PARAM_MIN_VIRTUAL_MAPPINGS): Define.
* params.h (MIN_VIRTUAL_MAPPINGS): Define.
* tree-flow.h (struct var_ann_d): Update comments.
(rewrite_to_new_ssa_names_bb, rewrite_to_new_ssa_names,
allocate_ssa_names, find_phi_node_for, dump_tree_ssa,
debug_tree_ssa, debug_def_blocks, dump_tree_ssa_stats,
debug_tree_ssa_stats, rewrite_ssa_into_ssa,
dump_repl_tbl, debug_repl_tbl, dump_names_replaced_by,
debug_names_replaced_by): Remove declarations.
(delete_update_ssa, get_current_def, set_current_def): Declare.
(rewrite_into_loop_closed_ssa): Add new argument.  Update
all callers.
* tree-into-ssa.c: Include params.h.
(old_virtual_ssa_names): Remove.  Update all users.
(need_to_replace_names_p): Remove.  Update all users.
(struct update_ssa_stats_d): Declare.
(update_ssa_stats): New local.
(dump_tree_ssa, debug_tree_ssa, debug_def_blocks,
dump_tree_ssa_stats, debug_tree_ssa_stats,
dump_update_ssa, debug_update_ssa,
dump_names_replaced_by, debug_names_replaced_by): Declare.
(get_current_def, set current_def): Make extern.
(is_old_name, is_new_name): Protect against references
past the end of the sets.
(add_new_name_mapping): Assert that OLD and NEW are
different SSA names for the same symbol.
When adding a virtual mapping, update stats for virtual
mapping heuristic.
(insert_phi_nodes_for): If UPDATE_P is true, create the
LHS of the new PHI by duplicating SSA name VAR.
(insert_phi_nodes_1): Remove.  Update all users.
(insert_phi_nodes): Remove second argument.  Update all
(maybe_replace_use, maybe_replace_def): New.
(rewrite_update_stmt): Call them.
(mark_def_interesting): Remove calls to is_gimple_reg.
(prepare_phi_args_for_update): Remove.  Update all users.
(prepare_block_for_update): Only process virtual operands
and GIMPLE registers in normal form.
(prepare_use_sites_for): New.
(prepare_names_to_update): Rename from prepare_def_sites.
Call prepare_use_sites_for.
(dump_update_ssa): Rename from dump_repl_tbl.
Update all users.
Show statistics for virtual mapping heuristic.
(debug_update_ssa): Rename from debug_debug_repl_tbl.
(init_update_ssa): Initialize UPDATE_SSA_STATS.
(delete_update_ssa): Make extern.
(mark_set_for_renaming): If the set is empty, do nothing.
(release_ssa_name_after_update_ssa): Update comment.
(insert_updated_phi_nodes_for): Do not remove existing
PHI nodes for symbols.
(switch_virtuals_to_full_rewrite_p): New.
(switch_virtuals_to_full_rewrite): New.
(update_ssa): Call them.
for every statement before updating.
If all the names in NEW_SSA_NAMES have been marked for
removal, do nothing.
Only start at the top of the CFG if there are symbols in
(ssa_rewrite_finalize_block): Remove.
(ssa_register_new_def): Remove.
(ssa_rewrite_stmt): Remove.
(ssa_rewrite_phi_arguments): Remove.
(ssa_rewrite_initialize_block): Remove.
(ssa_mark_def_sites): Remove.
(ssa_mark_def_sites_initialize_block): Remove.
(ssa_mark_phi_uses): Remove.
(rewrite_ssa_into_ssa): Remove.
* tree-phinodes.c (find_phi_node_for): Remove.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely):
Call update_ssa.
* tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops):
Remove calls to verify_dominators and
(tree_unswitch_single_loop): Call update_ssa.
* tree-ssa.c (verify_ssa): Assert that need_ssa_update_p
returns false.
Call verify_stmts.
(delete_tree_ssa): Assert that need_ssa_update_p returns
* tree-vect-transform.c (vect_transform_loop): Call update_ssa.
* tree-vectorizer.c (allocate_new_names, rename_def_op,
free_new_names): Remove.  Update all users.
(rename_use_op): Call get_current_def.
(rename_variables_in_bb): Do not handle any real or
virtual definition.
(slpeel_update_phis_for_duplicate_loop): Call
get_current_def and set_current_def instead of using
(slpeel_update_phi_nodes_for_guard2): Reformat comments.
(slpeel_can_duplicate_loop_p): Call need_ssa_update_p,
ssa_names_to_replace and delete_update_ssa.
* doc/invoke.texi: Document --param min-virtual-mappings
and --param virtual-mappings-ratio.

2005-04-22  Zdenek Dvorak  <dvorakz@suse.cz>
    Diego Novillo  <dnovillo@redhat.com>

* tree-cfg.c (tree_duplicate_bb): Call create_new_def_for
for newly created PHI nodes.
Call create_new_def_for for every new V_MAY_DEF and
V_MUST_DEF on the copied statement.
(struct ssa_name_map_entry): Remove.
(ssa_name_map_entry_hash): Remove.
(ssa_name_map_entry_eq): Remove.
(allocate_ssa_names): Remove.
(rewrite_to_new_ssa_names_def): Remove.
(rewrite_to_new_ssa_names_use): Remove.
(rewrite_to_new_ssa_names_bb): Remove.
(rewrite_to_new_ssa_names): Remove.
(tree_duplicate_sese_region): Remove variables ver,
definitions, phi, ssa_name_map and bi.
Call need_ssa_update_p instead of any_marked_for_rewrite_p.
Call update_ssa.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Call
update_ssa instead of rewrite_ssa_into_ssa.
* tree-ssa-loop-manip.c (add_exit_phis_edge): Call
(find_uses_to_rename_use): Add argument 'need_phis'.
(find_uses_to_rename_stmt): Do not scan virtual operands.
(find_uses_to_rename): Only scan PHI nodes for
non-virtual names.
(rewrite_into_loop_closed_ssa): Call update_ssa.
(check_loop_closed_ssa_use): Ignore virtual operands.
(check_loop_closed_ssa_stmt): Likewise.
(verify_loop_closed_ssa): Do nothing if CURRENT_LOOPS is
(rename_variables, set_phi_def_stmts): Remove.
(tree_duplicate_loop_to_header_edge): Reformat comment.
Remove variables BB, I and DEFINITIONS.
Call need_ssa_update_p.
Call update_ssa.
(lv_adjust_loop_header_phi): Reformat comment.
* tree-ssanames.c (ssa_names_to_rewrite): Remove.
(marked_for_rewrite_p, any_marked_for_rewrite_p,
mark_for_rewrite, unmark_all_for_rewrite,
marked_ssa_names): Remove.  Update all users.
(release_ssa_name): If VAR has been registered for SSA
updating, do nothing.
* tree-vrp.c (new_ssa_names, old_ssa_names): Remove.
(build_assert_expr_for): Call register_new_name_mapping.
(insert_range_assertions): Update call to update_ssa.
* tree.h (mark_for_rewrite, unmark_all_for_rewrite,
marked_for_rewrite_p, any_marked_for_rewrite_p,
marked_ssa_names): Remove.

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

15 years ago * gcc.dg/uninit-5.c: Remove xfails.
law [Sat, 23 Apr 2005 00:48:47 +0000 (00:48 +0000)]
    * gcc.dg/uninit-5.c: Remove xfails.
        * gcc.dg/tree-ssa/20030711-1.c:Reduce the number of
        conditionals and loads.

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

15 years ago * tree-ssa-dom.c (block_defs_stack): Remove, no longer needed.
law [Sat, 23 Apr 2005 00:47:12 +0000 (00:47 +0000)]
* tree-ssa-dom.c (block_defs_stack): Remove, no longer needed.
(restore_currdefs_to_original_value): Likewise.
(register_definitions_for_stmt): Likewise.
(tree_ssa_dominator_optimize): No longer initialize CURRENT_DEF
for each variable.  Do not allocate/free block_defs_stack either.
Do not iterate if we just thread jumps.  Only iterate if the
tree_cleanup_cfg does useful work (temporary).
(dom_opt_initialize_block): No longer push a marker on
(dom_opt_finalize_block): Removal call to restore currdefs.
Relax restrictions for recording edge equivalences.
(record_equivalences_from_phis): No longer need to track
(optimize_stmt): Similarly.
(thread_across_edge): Simplify by removing the requirement that
statements in the block we are threading through must be nops.
(initialize_hash_element): Handle GOTO_EXPR.

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

15 years ago * sched-vis.c (print_value): Use CONST_DOUBLE_LOW and
davem [Sat, 23 Apr 2005 00:33:44 +0000 (00:33 +0000)]
* sched-vis.c (print_value): Use CONST_DOUBLE_LOW and
* config/sparc/sparc.c (sparc_rtx_costs): Likewise, and
fix check on CONST_DOUBLE mode.  It should be VOIDmode
when it is representing an integer.

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

15 years agoDaily bump.
gccadmin [Sat, 23 Apr 2005 00:16:59 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * gcc.dg/arm-vfp1.c: Remove -ffast-math.
mmitchel [Fri, 22 Apr 2005 20:55:35 +0000 (20:55 +0000)]
* gcc.dg/arm-vfp1.c: Remove -ffast-math.

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

15 years ago* trans-const.c (gfc_conv_mpfr_to_tree): Remove unneeded computation;
kargl [Fri, 22 Apr 2005 20:33:12 +0000 (20:33 +0000)]
* trans-const.c (gfc_conv_mpfr_to_tree): Remove unneeded computation;
  simplify logic; Add a gcc_assert.

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

15 years ago2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
bryce [Fri, 22 Apr 2005 20:19:18 +0000 (20:19 +0000)]
2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>

        * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
        gij if get_multilibs fails.

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

15 years ago05-04-22 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Fri, 22 Apr 2005 20:02:44 +0000 (20:02 +0000)]
05-04-22  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/20074
        PR libfortran/20436
        PR libfortran/21108
        * gfortran.dg/nested_reshape.f90: new test
        * gfortran.dg/reshape-alloc.f90: new test
        * gfortran.dg/reshape.f90: new test

2005-04-22  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/20074
        PR libfortran/20436
        PR libfortran/21108
        * m4/reshape.m4 (reshape_`'rtype_kind):  rs, rex:  New
        variables, to be used in calculation of return array sizes.
        Populate return array descriptor if ret->data is NULL.
        Fix condition for early return (it used to test something
        undefined if order was used).
        Remove duplicate check wether pad is used.
        * intrinsics/reshape_generic.c (reshape_generic): Likewise.
        Fix a few places where the wrong variables were set.
        * generated/reshape_i4.c: Regenerated.
        * generated/reshape_i8.c: Regenerated.

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

15 years ago2005-04-22 Anthony Green <green@redhat.com>
green [Fri, 22 Apr 2005 19:02:41 +0000 (19:02 +0000)]
2005-04-22  Anthony Green  <green@redhat.com>

        * jni.cc (natrehash): Don't bother clearing memory again.
        * interpret.cc (do_allocate_static_fields): Ditto.
        * java/lang/natString.cc (rehash): Ditto.

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

15 years ago * decl.c (make_rtl_for_nonlocal_decl): Don't try get_fileinfo if
bothner [Fri, 22 Apr 2005 19:01:29 +0000 (19:01 +0000)]
* decl.c (make_rtl_for_nonlocal_decl): Don't try get_fileinfo if
        input_filename is NULL, as it is for (say) __PRETTY_FUNCTION__.

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

15 years agoRemove Apple Local marker comments accidentally added to FSF mainline.
ctice [Fri, 22 Apr 2005 18:59:37 +0000 (18:59 +0000)]
Remove Apple Local marker comments accidentally added to FSF mainline.

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

15 years ago2005-04-22 Roman Kennke <roman@kennke.org>
mkoch [Fri, 22 Apr 2005 18:31:30 +0000 (18:31 +0000)]
2005-04-22  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Changed Button.border to be
BasicBorders.getButtonBorder as it should be.

2005-04-22  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicTabbedPaneUI.java:
(getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
should according to a mauve testcase, instead of the preferred

2005-04-22  Roman Kennke  <roman@kennke.org>

* javax/swing/JMenu.java
(add): add(Component) now calls PopupMenu.insert(..) instead of
PopupMenu.add(..). add(..) is not implemented for Component,
so JComponent.add(..) is called instead, adding the component
in the wrong place.

2005-04-22  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicButtonListener.java
(mousePressed): replaced query to getModifiersEx with getModifiers.
This method relied on faulty behaviour in getModifierEx.
(mouseReleased): replaced query to getModifiersEx with getModifiers.
This method relied on faulty behaviour in getModifierEx.

2005-04-22  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalLookAndFeel.java
(getDefaults): Call addCustomEntriesToTable on the theme.

2005-04-22  Roman Kennke  <roman@kennke.org>

* javax/swing/tree/DefaultTreeSelectionModel.java
(constructor): Added implementation.
(getRowMapper): Added implementation.
(setSelectionMode): Added implementation.
(getSelectionMode): Added implementation.
(getSelectionPath): Added implementation.
(getSelectionPaths): Added implementation.
(getSelectionCount): Added implementation.
(isSelectionEmpty): Added implementation.
(getSelectionRows): Added implementation.
(getMinSelectionRow): Added implementation.
(getMaxSelectionRow): Added implementation.
(getLeadSelectionRow): Added implementation.
(getLeadSelectionPath): Added implementation.

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

15 years agoAdding Apple Local markers.
ctice [Fri, 22 Apr 2005 18:25:49 +0000 (18:25 +0000)]
Adding Apple Local markers.

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

15 years ago2005-04-22 Casey Marshall <csm@gnu.org>
mkoch [Fri, 22 Apr 2005 18:15:15 +0000 (18:15 +0000)]
2005-04-22  Casey Marshall <csm@gnu.org>

* gnu/java/security/der/DERValue.java
(getValueAs): new method.
* gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
(<init>): read both dates with 'DERValue.getValueAs', with
'GENERALIZED_TIME' as the argument.

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

15 years ago * gcc.dg/arm-vfp1.c: New test.
mmitchel [Fri, 22 Apr 2005 17:58:23 +0000 (17:58 +0000)]
* gcc.dg/arm-vfp1.c: New test.

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

15 years ago2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 22 Apr 2005 17:43:50 +0000 (17:43 +0000)]
2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>

        * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
        be null, check for that case and don't deference it.

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

15 years agogcc/cp/ChangeLog:
aoliva [Fri, 22 Apr 2005 16:57:23 +0000 (16:57 +0000)]
PR c++/21087
* name-lookup.c (push_overloaded_decl): Do not overload with
non-duplicate anticipated built-in.
PR c++/21087
* g++.dg/lookup/builtin2.C: New test.

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

15 years agoAdd Zem as Objective-C++ maintainer per Joe Buck.
mrs [Fri, 22 Apr 2005 16:44:43 +0000 (16:44 +0000)]
Add Zem as Objective-C++ maintainer per Joe Buck.

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

15 years ago * builtins.c (gimplify_va_arg_expr): Reword comments to avoid
nathan [Fri, 22 Apr 2005 16:14:55 +0000 (16:14 +0000)]
* builtins.c (gimplify_va_arg_expr): Reword comments to avoid
'abort'. Use gcc_assert and gcc_unreachable as appropriate.
* c-format.c (get_constant, decode_format_attr, get_flag_spec,
find_length_info_modifier_index): Likewise.
* c-typeck.c (composite_type, pop_init_level): Likewise.
* combine.c (cant_combine_insn_p, try_combine): Likewise.
* cse.c (cse_insn): Likewise
* dominance.c (calc_dfs_tree): Likewise
dwarf2out.c (loc_descriptor_from_tree_1,
add_abstract_origin_attribute, force_decl_die,
force_type_die): Likewise
emit-rtl.c (operand_subword_force): Likewise
explow.c (hard_function_value): Likewise
expmed.c (store_bit_field, expand_divmod,
emit_store_flag_force): Likewise
expr.c (emit_move_multi_word, store_expr,
expand_expr_real_1): Likewise
final.c (this_is_asm_operands, shorten_branches, final_scan_insn,
output_operand): Likewise
flow.c (recompute_reg_usage): Likewise
* function.c (assign_stack_temp_for_type, assign_temp,
handle_epilogue_set): Likewise
* genextract.c (main): Likewise
* gimplify.c (mostly_copy_tree_r, gimplify_return_expr,
gimplify_modify_expr_rhs, gimplify_expr): Likewise
* haifa-sched.c (ready_lastpos, ready_remove_first, ready_element,
ready_remove, rm_line_notes, rm_other_notes,
schedule_block): Likewise
mips-tfile.c (copy_object, out_of_bounds): Likewise

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

15 years ago PR target/20813
dje [Fri, 22 Apr 2005 14:36:30 +0000 (14:36 +0000)]
PR target/20813
* config/rs6000/default64.h (TARGET_DEFAULT): Add MASK_PPC_GFXOPT.
* config/rs6000/rs6000.c (processor_target_table): Rename rs64a to
rs64.  Add MASK_PPC_GFXOPT to powerpc64 and rs64.
(rs6000_init_libfuncs): Set TFmode optabs to xlq names if
* doc/invoke.texi (PowerPC options): Change rs64a to rs64.

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

15 years ago * lambda-code.c: Define VEC(int,heap), VEC(lambda_loop,heap).
nathan [Fri, 22 Apr 2005 14:17:07 +0000 (14:17 +0000)]
* lambda-code.c: Define VEC(int,heap), VEC(lambda_loop,heap).
(gcc_tree_to_linear_expression): Convert to heap allocated
(gcc_loop_to_lambda_loop, gcc_loopnest_to_lambda_loopnest,
lbv_to_gcc_expression, lle_to_gcc_expression,
lambda_loopnest_to_gcc_loopnest, can_convert_to_perfect_nest,
perfect_nestify): Likewise.
lambda.h (gcc_loopnest_to_lambda_loopnest,
lambda_loopnest_to_gcc_loopnest): Likewise.
tree-loop-linear.c (linear_transform_loops): Likewise.

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

15 years ago * config/sparc/predicates.md (arith_double_operand): Use
ebotcazou [Fri, 22 Apr 2005 13:25:57 +0000 (13:25 +0000)]
* config/sparc/predicates.md (arith_double_operand): Use
trunc_int_for_mode if HOST_BITS_PER_WIDE_INT >=64.
* config/sparc/sparc.md (movqi, movhi, movsi, movqi): Use gen_int_mode.
(DImode, DFmode constant splitters): Likewise.  Remove code for
(logical constant splitters): Use const_int_operand predicate.
(lshrsi3_extend): Remove code for TARGET_ARCH64 &&

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

15 years ago * config/pa/pa.c (legitimize_pic_address): Use gcc_assert and
nathan [Fri, 22 Apr 2005 13:22:31 +0000 (13:22 +0000)]
* config/pa/pa.c (legitimize_pic_address): Use gcc_assert and
gcc_unreachable as appropriate.
(force_mode, emit_move_sequence, singlemove_string,
output_move_double, output_fp_move_double, find_addr_reg,
output_block_move, output_block_clear, output_and,
output_64bit_and, output_ior, output_64bit_ior, store_reg_modify,
pa_adjust_cost, pa_issue_rate, print_operand,
output_global_address, output_arg_descriptor, output_cbranch,
output_lbranch, output_bb, output_bvb, output_dbra, output_movb,
output_call): Likewise.
* config/pa/pa.md (call, call_value, sibcall, sibcall_value,
prefetch, prefetch_cc, prefetch_nocc): Likewise.

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

15 years ago * Makefile.in (LIBGCOV): Add _gcov_interval_profiler,
rakdver [Fri, 22 Apr 2005 10:57:04 +0000 (10:57 +0000)]
* Makefile.in (LIBGCOV): Add _gcov_interval_profiler,
_gcov_pow2_profiler and _gcov_one_value_profiler.
(tree-profile.o): Add GGC_H and gt-tree-profile.h dependency.
(GTFILES): Add $(srcdir)/tree-profile.c.
* gcov-io.h (__gcov_interval_profiler, __gcov_pow2_profiler,
__gcov_one_value_profiler): Declare.
* gimplify.c (force_gimple_operand): Check whether the statements
should be produced in ssa form.
(force_gimple_operand_bsi): New function.
* libgcov.c (__gcov_interval_profiler, __gcov_pow2_profiler,
__gcov_one_value_profiler): New functions.
* rtl-profile.c (rtl_gen_pow2_profiler): Only measure whether
the profiled value is a power of two or not.
* tree-cfg.c (tree_block_ends_with_condjump_p): Handle empty blocks.
* tree-flow.h (in_ssa_p): Declare.
(force_gimple_operand_bsi): Declare.
* tree-into-ssa.c (in_ssa_p): New variable.
(rewrite_into_ssa): Set in_ssa_p.
* tree-outof-ssa.c (rewrite_out_of_ssa): Set in_ssa_p.
* tree-profile.c: Include ggc.h and gt-tree-profile.h.
(gcov_type_node, tree_interval_profiler_fn, tree_pow2_profiler_fn,
tree_one_value_profiler_fn): New variables.
(tree_init_edge_profiler): Initialize the profiler function decls.
(tree_gen_edge_profiler): Use global gcov_type_node.
(prepare_instrumented_value): New function.
(tree_gen_interval_profiler, tree_gen_interval_profiler,
tree_gen_one_value_profiler): Call the library functions instead of
creating instrumentation code.
* tree.c (build_fn_decl): New function.
* tree.h (build_fn_decl): Declare.
* value-prof.c (rtl_divmod_values_to_profile,
rtl_find_values_to_profile, rtl_mod_pow2_value_transform,
tree_mod_pow2_value_transform, tree_find_values_to_profile):
Do not handle may_be_other and precise values of exponents at pow2
(tree_mod_subtract_transform): Reflect that value field of
histogram has changed meaning.
(tree_divmod_values_to_profile): Record the values correctly.
(tree_values_to_profile): Update comment.
* value-prof.h (struct histogram_value_t): Remove pow2 data.

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

15 years ago * varasm.c (do_assemble_alias): Return early if TREE_ASM_WRITTEN
jsm28 [Fri, 22 Apr 2005 10:15:09 +0000 (10:15 +0000)]
* varasm.c (do_assemble_alias): Return early if TREE_ASM_WRITTEN

* gcc.dg/weak/weak-13.c: New test.

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

15 years ago* config.sub: Update from master copy.
bernds [Fri, 22 Apr 2005 08:58:48 +0000 (08:58 +0000)]
* config.sub: Update from master copy.

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

15 years ago * config/i386/i386.md (length_immediate): Use gcc_assert or
nathan [Fri, 22 Apr 2005 08:42:25 +0000 (08:42 +0000)]
* config/i386/i386.md (length_immediate): Use gcc_assert or
gcc_unreachable, as appropriate.
(*movsi_1, *movqi_1, reload_outqi, *movdi_1_rex64, *pushsf,
*pushsf_rex64, *truncxfsf2_mixed, *truncxfsf2_i387,
*truncxfdf2_mixed, *truncxfdf2_i387, *adddi_1_rex64,
*adddi_2_rex64, *adddi_3_rex64, *adddi_4_rex64, *adddi_5_rex64,
*addsi_1, addsi_1_zext, *addsi_2, *addsi_2_zext, *addsi_3,
*addsi_3_zext, *addsi_4, *addsi_5, *addhi_1_lea, *addhi_1,
*addhi_2, *addhi_3, *addhi_4, *addhi_5, *addqi_1_lea, *addqi_1,
*addqi_1_slp, *addqi_2, *addqi_3, *addqi_4, *addqi_5, addqi_ext_1,
*addqi_ext_1_rex64, *anddi_1_rex64, *andsi_1, *andhi_1,
*ashldi3_1_rex64, *ashldi3_cmp_rex64, *ashlsi3_1, *ashlsi3_1_zext,
*ashlsi3_cmp, *ashlsi3_cmp_zext, *ashlhi3_1_lea, *ashlhi3_1,
*ashlhi3_cmp, *ashlqi3_1_lea, *ashlqi3_1, *ashlqi3_cmp,
pro_epilogue_adjust_stack_1, pro_epilogue_adjust_stack_rex64,
pro_epilogue_adjust_stack_rex64_2, prefetch, *prefetch_sse,
*prefetch_sse_rex): Likewise.
* config/i386/predicates.md (x86_64_immediate_operand,
x86_64_zext_immediate_operand, symbolic_operand,
no_seg_address_operand, aligned_operand,
memory_displacement_operand): Likewise.
* config/i386/sse.md (*mov<mode>_internal,
*movv2df_internal): Likewise.

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

15 years ago * Makefile.in (ipa.o, ipa-inline.o): New files.
hubicka [Fri, 22 Apr 2005 08:16:54 +0000 (08:16 +0000)]
* Makefile.in (ipa.o, ipa-inline.o): New files.
* cgraph.h (cgraph_remove_unreachable_nodes, cgraph_postorder,
cgraph_decide_inlining_incrementally, cgraph_clone_inlined_nodes,
cgraph_mark_inline_edge, cgraph_default_inline_p): Declare.
* cgraphunit.c (cgraph_default_inline_p, cgraph_decide_inlining_incrementally,
ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns,
cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
cgraph_clone_inlined_nodes, cgraph_mark_inline_edge,
cgraph_mark_inline, cgraph_check_inline_limits,
cgraph_default_inline_p, cgraph_recursive_inlining_p,
update_callee_keys, lookup_recursive_calls,
cgraph_decide_recursive_inlining, cgraph_set_inline_failed,
cgraph_decide_inlining_of_small_functions, cgraph_decide_inlining,
cgraph_decide_inlining_incrementally, cgraph_gate_inlining,
pass_ipa_inline): Move to ipa-inline.c
(cgraph_postorder, cgraph_remove_unreachable_nodes): Move to ipa.c
* ipa.c: New file.
* ipa-inline.c: New file.

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

15 years ago * doc/invoke.texi (SPARC options): Document that -mapp-regs
ebotcazou [Fri, 22 Apr 2005 06:41:34 +0000 (06:41 +0000)]
* doc/invoke.texi (SPARC options): Document that -mapp-regs
is turned off by default on Solaris.

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

15 years ago2005-04-22 Sven de Marothy <sven@physto.se>
mkoch [Fri, 22 Apr 2005 05:48:06 +0000 (05:48 +0000)]
2005-04-22  Sven de Marothy  <sven@physto.se>

* java/util/logging/LogManager.java: Reformatted.
(readConfiguration): If a logger for a key is not found, create one.

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

15 years ago2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
mkoch [Fri, 22 Apr 2005 05:45:02 +0000 (05:45 +0000)]
2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>

* java/rmi/Naming.java:
Added class documentation.
(lookup(String)): Call parseURL and getName.
(bind(String,java.rmi.Remote)): Likewise.
(unbind(String)): Likewise.
(rebind(String, java.rmi.Remote)): Likewise.
(list(String)): Call parseURL.
(parseURL(String)): New method to handle parsing and defaults.
(getName(java.net.URL)): New method to handle finding the service name.

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

15 years ago * java/lang/natClass.cc (initializeClass): Link class.
tromey [Fri, 22 Apr 2005 02:33:31 +0000 (02:33 +0000)]
* java/lang/natClass.cc (initializeClass): Link class.

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

15 years agoDaily bump.
gccadmin [Fri, 22 Apr 2005 00:16:45 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * ChangeLog: New.
mrs [Thu, 21 Apr 2005 22:19:42 +0000 (22:19 +0000)]
    * ChangeLog: New.
        * Make-lang.in: Likewise.
        * config-lang.in: Likewise.
        * lang-specs.h: Likewise.
        * objcp-decl.c: Likewise.
        * objcp-decl.h: Likewise.
        * objcp-lang.c: Likewise.

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

15 years ago * c-common.h (objc_build_method_signature): Update prototype.
sayle [Thu, 21 Apr 2005 21:31:40 +0000 (21:31 +0000)]
* c-common.h (objc_build_method_signature): Update prototype.
* stub-objc.c (objc_build_method_signature): Update the stub
implementation to accept and ignore additional parameter.
* c-parser.c (c_parser_objc_method_decl): Reorgnize to pass
the value of ellipsis to objc_build_method_signature instead
of setting TREE_OVERFLOW on the parms TREE_LIST node.

* objc-act.h (METHOD_ADD_ARGS_ELLIPSIS_P): New macro for accessing
this field of an objc method decl.
* objc-act.c (build_method_decl): Take an additional "ellipsis"
argument, and set METHOD_ADD_ARGS_ELLIPSIS_P as appropriate.
(objc_build_method_signature): Accept additional "ellipsis"
argument and pass it to build_method_decl.
(get_arg_type_list, start_method_def, gen_method_decl): Use
the new METHOD_ADD_ARGS_ELLIPSIS_P instead of examining the
TREE_OVERFLOW field of a TREE_LIST node.

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

15 years agoIndex: ChangeLog
geoffk [Thu, 21 Apr 2005 21:13:41 +0000 (21:13 +0000)]
Index: ChangeLog
2005-04-21  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/rs6000-protos.h (rs6000_emit_sync): New.
* config/rs6000/rs6000.c (rs6000_emit_vector_compare): Use
gen_rtx_* not gen_rtx_fmt_*.
(rs6000_emit_vector_select): Likewise.
(rs6000_emit_sync): New.
* config/rs6000/rs6000.md (GPR, INT, INT1): New mode macros.
(larx, stcx, cmp): New mode substitutions.
UNSPEC_ISYNC): New constants.
(rlwinm): Give name.
(memory_barrier, isync, lwsync): New insns.
(sync_compare_and_swap<mode>, sync_lock_test_and_set<mode>): New insn.
(sync_lock_release<mode>): New expander.
(sync_add<mode>, sync_sub<mode>, sync_ior<mode>, sync_and<mode>,
sync_xor<mode>, sync_nand<mode>, sync_old_add<mode>,
sync_old_sub<mode>, sync_old_ior<mode>, sync_old_and<mode>,
sync_old_xor<mode>, sync_old_nand<mode>, sync_new_add<mode>,
sync_new_sub<mode>, sync_new_ior<mode>, sync_new_and<mode>,
sync_new_xor<mode>, sync_new_nand<mode>): New expanders.
(sync_add<mode>_internal, sync_addshort_internal,
sync_sub<mode>_internal, sync_andsi_internal, sync_anddi_internal,
sync_boolsi_internal, sync_booldi_internal, sync_boolc<mode>_internal,
sync_boolc<mode>_internal2, sync_boolcc<mode>_internal): New insns.

* doc/md.texi (Standard Names): sync_compare_and_swap's operand 0
is the memory before, not after, the operation.  Clarify
barrier requirements.

Index: testsuite/ChangeLog
2005-04-21  Geoffrey Keating  <geoffk@apple.com>

* lib/target-supports.exp (check_effective_target_sync_int_long):
Add powerpc*.

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

15 years ago2005-04-21 Tom Tromey <tromey@redhat.com>
mkoch [Thu, 21 Apr 2005 20:41:32 +0000 (20:41 +0000)]
2005-04-21  Tom Tromey  <tromey@redhat.com>

* java/lang/AssertionError.java: Typo fix.

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

15 years ago * gcc.target/mips/branch-1.c: New test.
rsandifo [Thu, 21 Apr 2005 19:58:20 +0000 (19:58 +0000)]
* gcc.target/mips/branch-1.c: New test.

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

15 years ago * lambda.h (lambda_vector_min_nz): Likewise.
nathan [Thu, 21 Apr 2005 18:05:34 +0000 (18:05 +0000)]
* lambda.h (lambda_vector_min_nz): Likewise.
* langhooks.h (struct lang_hooks_for_types,
struct lang_hooks): Likewise.
* output.h (assemble_integer, this_is_asm_operands): Likewise.
* tree.h: Likewise.
* vec.h: Likewise.
* tree-flow-inline.h (relink_imm_use): Use gcc_assert.

* optabs.c (prepare_cmp_insn, emit_cmp_and_jump_insns): Reword
comments to avoid 'abort'.  Use gcc_assert as necessary.
* opts.c (common_handle_option): Likewise.
* pretty-print.c (pp_base_format_text): Likewise.
* print-rtl.c (print_rtx): Likewise.
* read-rtl.c (read_rtx_filename, read_rtx_1): Likewise.
* regmove.c (try_auto_increment): Likewise.
* reload.c (find_valid_class, find_reloads_toplev,
find_equiv_reg): Likewise.
* reload1.c (reload, forget_old_reloads_1, function_invariant_p,
merge_assigned_reloads): Likewise.
* tree-inline.c (inline_forbidden_p_1,
estimate_num_insns_1): Likewise.
* tree-optimize.c (execute_todo): Likewise.
* tree-outof-ssa.c (eliminate_phi): Likewise.
* tree-ssa-alias.c (add_pointed_to_expr): Likewise.
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Likewise.
* tree-ssa-operands.c (parse_ssa_operands,
get_indirect_ref_operands, create_ssa_artficial_load_stmt): Likewise.
* tree-ssa-pre.c (find_or_generate_expression): Likewise.
* tree-ssanames.c (release_ssa_name): Likewise.
* tree.c (int_bit_position, int_byte_position, tree_low_cst,
walk_tree): Likewise.

* tree-ssa-operands.c (verify_abort): Fold into ..
(verify_imm_links): ... here.

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