1. 21 Apr, 2005 7 commits
    • sparc.c (reg_or_0_operand, [...]): Delete. · 0e5d569c
      	* config/sparc/sparc.c (reg_or_0_operand, const1_operand,
      	fp_zero_operand, fp_register_operand, intreg_operand,
      	fcc_reg_operand, fcc0_reg_operand, icc_or_fcc_reg_operand,
      	call_operand, call_operand_address, tgd_symbolic_operand,
      	tld_symbolic_operand, tie_symbolic_operand, tle_symbolic_operand,
      	symbolic_operand, symbolic_memory_operand, label_ref_operand,
      	sp64_medium_pic_operand, data_segment_operand,
      	text_segment_operand, splittable_symbolic_memory_operand,
      	reg_or_nonsymb_mem_operand, splittable_immediate_memory_operand,
      	eq_or_neq, normal_comp_operator, noov_compare_op,
      	noov_compare64_op, v9_regcmp_op, extend_op, cc_arithop,
      	cc_arithopn, arith_operand, arith_4096_operand, arith_add_operand,
      	const64_operand, const64_high_operand, arith11_operand,
      	arith10_operand, arith_double_operand, arith_double_4096_operand,
      	arith_double_add_operand, arith11_double_operand,
      	arith10_double_operand, small_int, small_int_or_double,
      	uns_small_int, uns_arith_operand, clobbered_register,
      	input_operand, compare_operand): Delete.
      	(sparc_emit_set_const32): Use predicates in assertion.  Remove special
      	code for TARGET_ARCH64 && HOST_BITS_PER_WIDE_INT != 64.
      	(sparc_emit_set_const64): Call gcc_unreachable if H_B_P_W_I == 32.
      	(GEN_HIGHINT64, GEN_INT64): Delete.
      	(sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
      	gen_safe_XOR64): Adjust for above deletion.
      	(sparc_emit_set_const64): Support only H_B_P_W_I == 64 and CONST_INTs.
      	Use 'unsigned HOST_WIDE_INT' instead of 'long' for bitmask.
      	(legitimate_constant_p): Use const_zero_operand instead.
      	(sparc_extra_constraint_check): Likewise.
      	* config/sparc/sparc.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'O'.
      	(PREFERRED_RELOAD_CLASS): Use const_zero_operand.
      	(PREDICATE_CODES): Delete.
      	* config/sparc/sparc.md: Include predicates.md.
      	(All patterns): Adjust for new predicate names.
      	(cmpdi, cmpdi_sp64): Use arith_operand predicate.
      	(movhi_const64_special, movsi_const64_special): Add 'K' constraint.
      	(movdi): Use general_operand predicate.
      	(movdi_sp64_dbl): Delete.
      	(movdi_const64_special): Add 'N' constraint.
      	(movdicc): Use arith10_operand predicate.
      	(movdi_cc_sp64, movdi_cc_sp64_trunc): Use arith11_operand predicate.
      	(movdi_cc_reg_sp64): Use arith10_operand predicate.
      	(movdi_cc_reg_sp64_trunc): Delete.
      	(cmp_zero_extract, cmp_zero_extract_sp64): Use small_int_operand.
      	(adddi3_insn_sp32, addx, cmp_cc_plus, cmp_ccx_plus, cmp_cc_plus_set,
      	cmp_ccx_plus_set): Use register_operand predicate.
      	(adddi3_sp64, cmp_ccx_plus_set): Use arith_operand predicate.
      	(subdi3_sp32): Delete.
      	(subdi3_insn_sp32): Change to define_insn_and_split.
      	(subdi3_sp64, cmp_minus_ccx, cmp_minus_ccx_set): Use arith_operand.
      	(muldi3, muldi3_sp64, muldi3_v8plus): Likewise.
      	(smulsi3_highpart_v8plus, const_smulsi3_highpart_v8plus,
      	umulsi3_highpart_v8plus, const_umulsi3_highpart_v8plus): Use
      	small_int_operand predicate.
      	(divdi3, udivdi3): Use arith_operand predicate.
      	(udivsi3, udivsi3_sp32, udivsi3_sp64): Use nonimmediate_operand.
      	(and<V64I>3_sp64, ior<V64I>3_sp64, xor<V64I:mode>3_sp64,
      	xor_not_<V64I:mode>_sp64) : Use arith_operand predicate.
      	(xordi3_sp64_dbl): Delete.
      	(cmp_ccx_arith_op, cmp_ccx_arith_op_set, cmp_ccx_xor_not,
      	cmp_ccx_xor_not_set, cmp_ccx_arith_op_not, cmp_ccx_arith_op_not_set,
      	cmp_ccx_neg, cmp_ccx_set_neg, one_cmpl<V64I>2_sp64, cmp_ccx_not,
      	cmp_ccx_set_not): Use arith_operand predicate.
      	(ashrsi3_extend2, lshrsi3_extend2 et al.): Use small_int_operand.
      	* config/sparc/predicates.md: New file.
      
      From-SVN: r98494
      Eric Botcazou committed
    • CRLFInputStream.java: Rewrite to return CRLF-delimited chunks. · b9850b3d
      2005-04-21  Chris Burdess  <dog@gnu.org>
      
      	* gnu/java/net/CRLFInputStream.java: Rewrite to return
      	CRLF-delimited chunks.
      
      From-SVN: r98493
      Chris Burdess committed
    • check_allocate_max_size.cpp: Add explicit instantiations for systems without weak symbols. · d3e53108
      	* testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
      	explicit instantiations for systems without weak symbols.
      	* testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
      	Likewise.
      
      From-SVN: r98486
      Mark Mitchell committed
    • re PR tree-optimization/14846 ([tree-ssa] don't use a shift in A &… · a94400fd
      re PR tree-optimization/14846 ([tree-ssa] don't use a shift in A & CST_POWER_OF_2 == 0 until very late in tree-ssa optimizations)
      
      	PR tree-optimization/14846
      	* fold-const.c (fold_single_bit_test_into_sign_test): New,
      	split out from ...
      	(fold_single_bit_test): ... here.
      	(fold_binary): Call fold_single_bit_test_into_sign_test
      	instead of fold_single_bit_test.
      
      From-SVN: r98482
      Kazu Hirata committed
    • gcj.texi: Fix typos and bogus example. · fcda2002
      2005-04-20  Bryce McKinlay  <mckinlay@redhat.com>
      
         * gcj.texi: Fix typos and bogus example.
      
      From-SVN: r98478
      Bryce McKinlay committed
    • Daily bump. · ed187ee1
      [[Split portion of a mixed commit.]]
      
      From-SVN: r98476.2
      GCC Administrator committed
    • Avoid emitting bogus debug info that confuses gdb. · 4424eb91
      PR c++/20805
      * dwarf2out.c (gen_variable_die): Don't emit a specification if this
      is another declaration.
      
      From-SVN: r98473
      Jim Wilson committed
  2. 20 Apr, 2005 33 commits
    • Avoid emitting bogus debug info that confuses gdb. · 78ecf64c
      PR c++/20805
      * dwarf2out.c (gen_variable_die): Don't emit a specification if this
      is another declaration.
      
      From-SVN: r98472
      Jim Wilson committed
    • predicates.md: New file. · 68a81332
      	* config/cris/predicates.md: New file.
      	* config/cris/cris-protos.h (cris_store_multiple_op_p)
      	(cris_movem_load_rest_p): Declare.
      	* config/cris/cris.c (cris_store_multiple_op): Return bool, not int.
      	(cris_movem_load_rest_p): Ditto.  Globalize.
      	(cris_bdap_operand, cris_bdap_biap_operand,
      	cris_orthogonal_operator, cris_commutative_orth_op,
      	cris_operand_extend_operator,
      	cris_additive_operand_extend_operator, cris_extend_operator,
      	cris_plus_or_bound_operator, cris_mem_op,
      	cris_general_operand_or_symbol,
      	cris_general_operand_or_gotless_symbol,
      	cris_general_operand_or_plt_symbol, cris_mem_call_operand,
      	cris_load_multiple_op): Remove predicate functions.
      	(cris_symbol, cris_gotless_symbol) <case UNSPEC>: Return 0, don't
      	abort, for UNSPECs other than CRIS_UNSPEC_PLT.
      	* config/cris/cris.h (PREDICATE_CODES): Don't define.
      	* config/cris/cris.md: Include predicates.md.
      	("call", "call_value"): Generate CONSTs of Pmode, not VOIDmode.
      
      From-SVN: r98471
      Hans-Peter Nilsson committed
    • c-common.def: Remove STMT_EXPR (moved to cp/cp-tree.def). · c3e5898b
      ./	* c-common.def: Remove STMT_EXPR (moved to cp/cp-tree.def).
      	* c-common.h (STMT_EXPR_STMT): Don't define.
      	(STMT_EXPR_NO_SCOPE): Don't define.
      	* c-dump.c (c_dump_tree): Don't handle STMT_EXPR.
      	* c-pretty-print.c (pp_c_primary_expression): Likewise.
      	(pp_c_expression): Likewise.
      cp/
      	* cp-tree.def: Add STMT_EXPR.
      	* cp-tree.h (STMT_EXPR_NO_SCOPE): Define.
      	(STMT_EXPR_STMT): Define.
      	* cxx-pretty-print.c (pp_cxx_primary_expression): Handle
      	STMT_EXPR.
      	(pp_cxx_expression): Likewise.
      	(pp_cxx_statement): Call pp_cxx_statement, not pp_statement.
      	* dump.c (cp_dump_tree): Handle STMT_EXPR.
      
      From-SVN: r98469
      Ian Lance Taylor committed
    • re PR target/21100 (ICE: unrecognizable insn for -march=pentium-mmx) · 02d98c0d
              PR target/21100
              * config/i386/mmx.md (push<MMXMODE>1): Fix predicate thinko.
      
      From-SVN: r98468
      Richard Henderson committed
    • reload1.c (reload): Ignore equivalences between pseudos and read only memory. · ad1032fd
      	* reload1.c (reload): Ignore equivalences between pseudos and
      	read only memory.
      
      From-SVN: r98466
      Jeff Law committed
    • re PR c/12913 (Jumps into variable length array scope not rejected) · 187230a7
      	PR c/12913
      	* c-tree.h (struct c_label_list): Update comment.
      	(struct c_label_context): Rename to struct c_label_context_se.
      	(label_context_stack): Rename to label_context_stack_se.
      	(C_DECL_UNJUMPABLE_VM, C_DECL_UNDEFINABLE_VM, struct
      	c_label_context_vm, label_context_stack_vm, c_begin_vm_scope,
      	c_end_vm_scope): New.
      	(C_DECL_DECLARED_BUILTIN, C_DECL_USED): Use FUNCTION_DECL_CHECK.
      	* c-decl.c (pop_scope): Call c_end_vm_scope.
      	(pushdecl): Call c_begin_vm_scope for variably modified
      	declarations.
      	(define_label): Check for jumping into scope of identifier with
      	variably modified type.  Push label on stack for those defined at
      	current context of identifiers with variably modified type.
      	(start_function): Create stack level for context of identifiers
      	with variably modified type.
      	(finish_function): Pop stack level for context of identifiers with
      	variably modified type.
      	* c-typeck.c (label_context_stack): Rename to
      	label_context_stack_se.
      	(label_context_stack_vm, c_begin_vm_scope, c_end_vm_scope): New.
      	(c_finish_goto_label): Check for jumping into scope of identifier
      	with variably modified type.  Push label on stack for those jumped
      	to from current context of identifiers with variably modified
      	type.
      	(struct c_switch): Add blocked_vm.
      	(c_start_case): Initialize blocked_vm.
      	(do_case): Check blocked_vm.
      	(c_finish_case): Add comment.
      	(c_begin_stmt_expr, c_finish_stmt_expr): Update for renamed
      	variable label_context_stack.
      
      objc:
      	* objc-act.c (objc_start_function): Create stack level for context
      	of identifiers with variably modified type.
      
      testsuite:
      	* gcc.dg/c99-vla-jump-1.c, gcc.dg/c99-vla-jump-2.c,
      	gcc.dg/c99-vla-jump-3.c, gcc.dg/c99-vla-jump-4.c,
      	gcc.dg/c99-vla-jump-5.c: New tests.
      
      From-SVN: r98464
      Joseph Myers committed
    • * tree-ssa-phiopt.c: Fix comments. · 2a925431
      From-SVN: r98462
      Kazu Hirata committed
    • tree-ssa-phiopt.c (tree_ssa_phi_opt): Update calls to conditional_replacement... · e5206274
      	* tree-ssa-phiopt.c (tree_ssa_phi_opt): Update calls to
      	conditional_replacement, value_replacement, abs_replacement,
      	minmax_replacement.
      	(replace_phi_edge_with_variable): Remove argument BB.
      	(conditional_replacement, value_replacement,
      	minmax_replacement, abs_replacement): Remove argument PHI_BB.
      	Update a call to replace_phi_edge_with_variable.
      
      From-SVN: r98461
      Kazu Hirata committed
    • re PR middle-end/20973 (kdelibs (khtml) miscompiled by reload) · 687b527d
              PR20973
              * reload.c (push_reload, find_dummy_reload): Check for uninitialized
              pseudos.
      
      From-SVN: r98460
      Michael Matz committed
    • - Add @file to AIX entry. · 71fc0c16
      From-SVN: r98458
      David Edelsohn committed
    • re PR tree-optimization/21116 (tree-ssa-phiopt.c:193 has wrong translation from… · 3d040dbc
      re PR tree-optimization/21116 (tree-ssa-phiopt.c:193 has wrong translation from EDGE_COUNT to single_succ_p.)
      
      	PR tree-optimization/21116
      	* tree-ssa-phiopt.c: Fix a typo.
      
      From-SVN: r98457
      Kazu Hirata committed
    • * tree-ssa-phiopt.c: Fix comment typos. · edef5476
      From-SVN: r98456
      Kazu Hirata committed
    • libffi-dg.exp (libffi-dg-test-1): In regsub use, have Tcl8.3-compatible intermediate variable. · fc0ad8d9
      	* testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use,
      	have Tcl8.3-compatible intermediate variable.
      
      From-SVN: r98453
      Hans-Peter Nilsson committed
    • [multiple changes] · d288ff8d
      2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
      
      	* java/net/URI.java:
      	Added class documentation.
      	(parseURI(String)): Only handle scheme-specific parts
      	if URI is not opaque.  Allow for parts that can't be null.
      	(toString()): Output the scheme-specific part whole, rather
      	than as its possibly non-existent components.
      
      2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
      	(AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
      	Adjusted to match new regexp.
      
      From-SVN: r98451
      Michael Koch committed
    • Connection.java, [...]: Reorganized import statements. · b5293f35
      2005-04-20  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/net/protocol/file/Connection.java,
      	gnu/java/net/protocol/jar/Connection.java:
      	Reorganized import statements. Fixed @author tags.
      
      From-SVN: r98450
      Michael Koch committed
    • [multiple changes] · 2e2082d8
      2005-04-20  Chris Burdess  <dog@gnu.org>
      
      	* java/io/DataOutputStream.java (writeUTF): Use block write for
      	output.
      
      2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/io/DataInputStream.java (ignoreInitialNewline): Removed
      	(readLine): Changed newline handling.
      
      From-SVN: r98449
      Michael Koch committed
    • PixelGrabber.java (setPixels(int,int,int,int, ColorModel,byte[],int,int): Fixed… · 9db695c1
      PixelGrabber.java (setPixels(int,int,int,int, ColorModel,byte[],int,int): Fixed byte to int conversion.
      
      2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
      	ColorModel,byte[],int,int): Fixed byte to int conversion.
      
      From-SVN: r98448
      Jeroen Frijters committed
    • 2005-04-20 Michael Koch <konqueror@gmx.de> · 65d5bde8
      	* java/io/FilePermission.java
      	(serialVersionUID): Made private.
      	(ALL_FILES): New constant.
      	(implies): Handle '<<ALL FILES>>' case.
      
      From-SVN: r98447
      Michael Koch committed
    • 2005-04-20 Sven de Marothy <sven@physto.se> · f5c32e10
      	* gnu/java/awt/peer/gtk/GdkGraphics.java:
      	(drawImage): Don't notify the image observer for offscreen images.
      	* gnu/java/awt/peer/gtk/GtkImagePainter.java:
      	(setPixels): Don't notify the image observer.
      
      From-SVN: r98446
      Sven de Marothy committed
    • [multiple changes] · ebce970d
      2005-04-20  Sven de Marothy  <sven@physto.se>
      
      	* java/nio/ByteBufferImpl.java:
      	(putChar): Inlined for speed.
      	(put, get): Bulk methods can use arraycopy.
      	* java/nio/CharBufferImpl.java:
      	(put, get): Bulk methods can use arraycopy.
      
      2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
      	and field updates.
      	* java/nio/CharBufferImpl.java
      	(CharBufferImpl(CharBufferImpl)): Copy array_offset field.
      	(get(), put(char)): Inlined checks and field updates. Fixed to
      	take array_offset into account.
      	(get(int), put(int, char)): Fixed to take array_offset into account.
      
      From-SVN: r98445
      Michael Koch committed
    • 2005-04-20 Sven de Marothy <sven@physto.se> · ce254988
      	* java/text/SimpleDateFormat.java:
      	(formatWithAttribute): Pad year before truncating digits.
      
      From-SVN: r98444
      Sven de Marothy committed
    • PlainDatagramSocketImpl.java: Merged copyright header. · 47af138f
      2005-04-20  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/net/PlainDatagramSocketImpl.java:
      	Merged copyright header.
      	* gnu/java/net/PlainSocketImpl.java:
      	Reorganized import statements. Fixed @author tags.
      
      From-SVN: r98443
      Michael Koch committed
    • ClassHelper.java, [...]: Fixed @author tag. · bd2865bc
      2005-04-20  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/lang/ClassHelper.java,
      	gnu/java/lang/reflect/TypeSignature.java:
      	Fixed @author tag.
      
      From-SVN: r98442
      Michael Koch committed
    • [multiple changes] · 47b44748
      2005-04-20  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/beans/IntrospectionIncubator.java:
      	Fixed HTML tags in javadocs.
      
      2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
      
      	* gnu/java/beans/IntrospectionIncubator.java
      	(addToPropertyHash, addToListenerHash): Don't confuse get(),
      	set(), is(), add() and remove() with properties or events.
      
      From-SVN: r98441
      Michael Koch committed
    • XBMDecoder.java: Fixed modifier order. · 57d1e8b0
      2005-04-20  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/awt/image/XBMDecoder.java:
      	Fixed modifier order.
      
      From-SVN: r98440
      Michael Koch committed
    • 2005-04-20 Roman Kennke <roman@kennke.org> · 9257bcc8
      	* javax/swing/plaf/basic/BasicButtonUI.java
      	(paint): This should not care about margin and insets
      	at the same time, as insets already include the margin
      	through the border.
      	* javax/swing/plaf/basic/BasicGraphicsUtils.java
      	(getPreferredButtonSize): Likewise.
      	* javax/swing/plaf/metal/MetalBorders.java
      	(getBorderInsets): Likewise.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicOptionPaneUI.java
      	(createMessageArea): The JPanel that holds the message area
      	doesn't need to override getPreferredSize. This prevents some
      	message components from rendering nicely.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalInternalFrameUI.java
      	(createUI): Do not share instances between components.
      	* javax/swing/plaf/metal/MetalSliderUI.java
      	(createUI): Do not share instances between components.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalBorders:
      	(PopupMenuBorder): Added.
      	* javax/swing/plaf/metal/MetalLookAndFeel
      	(initComponentDefaults): Added PopupMenuBorder.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/tree/DefaultTreeSelectionModel.java:
      	Added API documentation all over the class.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicScrollPaneUI.java
      	(installDefaults): Link managed JScrollPane in instance field.
      	(uninstallDefaults): Unlink managed JScrollPane in instance field.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicScrollBarUI.java
      	(PropertyChangeHandler.propertyChange): Add default
      	to switch statement to avoid errors with unusual values
      	for orientation.
      	(installComponents): Likewise.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalScrollBarUI.java:
      	(createUI): Instances cannot be shared among JScrollPanes.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalLookAndFeel.java
      	(initComponentDefaults): Added defaults for Menu, MenuBar
      	MenuEntry fonts.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicScrollBarUI.java
      	(installUI): Install listeners after everything all, otherwise
      	we get strange NPEs in some situations, especially with
      	custom L&Fs.
      	(createIncreaseButton): Orientation is expected to be
      	SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
      	HORIZONTAL or VERTICAL.
      	(createDecreaseButton): Orientation is expected to be
      	SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
      	HORIZONTAL or VERTICAL.
      	(installComponents): Orientation for buttons is expected to be
      	SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
      	HORIZONTAL or VERTICAL.
      
      2005-04-20  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/JToolBar.java
      	(addImpl): Adjust added AbstractButtons to look and feel like
      	toolbar buttons.
      	* javax/swing/plaf/metal/MetalBorders.java:
      	Adjusted insets of ButtonBorder.
      	(RolloverMarginBorder): Added class for toolbar buttons.
      	(getButtonBorder): Adjusted factory method to return a shared
      	instance of button border.
      	(getToolbarButtonBorder): Added factory method to return a shared
      	instance of toolbar button border.
      	(getMarginBorder): Added factory method to return a shared
      	instance of margin border.
      	* javax/swing/plaf/metal/MetalButtonUI.java
      	(installDefauls): If button is child of a JToolBar then set
      	special border on this button.
      
      From-SVN: r98439
      Roman Kennke committed
    • 2005-04-20 Michael Koch <konqueror@gmx.de> · 4d23e5b8
      	* java/net/URLConnection.java
      	(getContent): Fixed javadoc comment.
      
      From-SVN: r98438
      Michael Koch committed
    • 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org> · 1701deb2
      	* java/net/URL.java:
      	(toURI()): Implemented.
      
      From-SVN: r98437
      Andrew John Hughes committed
    • builtins.c (expand_builtin_sync_operation): Revert last change. · f12b785d
              * builtins.c (expand_builtin_sync_operation): Revert last change.
              * optabs.c (expand_bool_compare_and_swap): Compare vs old value,
              not vs new value.
              (expand_compare_and_swap_loop): Likewise.
              (expand_sync_operation): Remove fallback from NAND to AND; invert
              memory operand when expanding from cmpxchg.
              (expand_sync_fetch_operation): Likewise.
              * doc/extend.texi (Atomic Builtins): Fix docs for nand and
              compare-and-swap.
      
              * config/alpha/alpha.c (alpha_split_atomic_op): Invert memory operand
              when implementing NAND.  Fix double-add for AFTER.
              * config/alpha/sync.md (sync_nand<I48MODE>): Invert memory operand.
              (sync_old_nand<I48MODE>, sync_new_nand<I48MODE>): Likewise.
              (sync_compare_and_swap<I48MODE>): Fix compare vs zero.  Return old
              memory value.
              (sync_lock_test_and_set<I48MODE>): Remove extra label and last
              memory barrier.
      
              * config/i386/sync.md (sync_compare_and_swap<IMODE>): Fix pattern
              to return old memory value.
              (sync_compare_and_swap_cc<IMODE>): Likewise.
      
              * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Early
              return pre-reload.  Don't consider output or anti dependencies.
              * config/ia64/sync.md (IMODE): New.
              (modesuffix): Add QI and HI.
              (memory_barrier): Simplify expansion.
              (sync_compare_and_swap<IMODE>): Use IMODE, not I48MODE.
              (cmpxchg_acq_<IMODE>): Likewise.
              (sync_lock_test_and_set<IMODE>): Likewise.
              (sync_lock_release<IMODE>): Likewise.
      
      From-SVN: r98436
      Richard Henderson committed
    • fold-const.c (fold_binary): Fold ~(X ^ Y) to ~X ^ Y or X ^ ~Y if ~X or ~Y simplify. · f242e769
      2005-04-19  James A. Morrison  <phython@gcc.gnu.org>
      
      	* fold-const.c (fold_binary): Fold ~(X ^ Y) to ~X ^ Y or X ^ ~Y if
      	~X or ~Y simplify.
      
      From-SVN: r98435
      James A. Morrison committed
    • fold-const (fold_binary): Fold ~X ^ ~ Y to X ^ Y. · 33ab6245
      2005-04-19  James A. Morrison  <phython@gcc.gnu.org>
      
      	* fold-const (fold_binary):  Fold ~X ^ ~ Y to X ^ Y.
      
      From-SVN: r98434
      James A. Morrison committed
    • * de.po: Update. · 72a3b9d2
      From-SVN: r98433
      Joseph Myers committed
    • Testcase to verify that FP regs are properly saved/restored across unwind. · 47508bd3
      PR target/20670
      * g++.dg/eh/fp-regs.C: New test.
      
      From-SVN: r98432
      James E Wilson committed