Eric Botcazou [Thu, 21 Apr 2005 06:37:52 +0000 (08:37 +0200)]
sparc.c (reg_or_0_operand, [...]): Delete.
* 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
Chris Burdess [Thu, 21 Apr 2005 06:17:03 +0000 (06:17 +0000)]
CRLFInputStream.java: Rewrite to return CRLF-delimited chunks.
2005-04-21 Chris Burdess <dog@gnu.org>
* gnu/java/net/CRLFInputStream.java: Rewrite to return
CRLF-delimited chunks.
From-SVN: r98493
Mark Mitchell [Thu, 21 Apr 2005 04:21:51 +0000 (04:21 +0000)]
check_allocate_max_size.cpp: Add explicit instantiations for systems without weak symbols.
* 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
Kazu Hirata [Thu, 21 Apr 2005 00:39:22 +0000 (00:39 +0000)]
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
Bryce McKinlay [Thu, 21 Apr 2005 00:22:54 +0000 (00:22 +0000)]
gcj.texi: Fix typos and bogus example.
2005-04-20 Bryce McKinlay <mckinlay@redhat.com>
* gcj.texi: Fix typos and bogus example.
From-SVN: r98478
GCC Administrator [Thu, 21 Apr 2005 00:17:40 +0000 (00:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r98476.2
Jim Wilson [Thu, 21 Apr 2005 00:06:34 +0000 (17:06 -0700)]
Avoid emitting bogus debug info that confuses gdb.
PR c++/20805
* dwarf2out.c (gen_variable_die): Don't emit a specification if this
is another declaration.
From-SVN: r98473
Jim Wilson [Wed, 20 Apr 2005 23:50:57 +0000 (16:50 -0700)]
Avoid emitting bogus debug info that confuses gdb.
PR c++/20805
* dwarf2out.c (gen_variable_die): Don't emit a specification if this
is another declaration.
From-SVN: r98472
Hans-Peter Nilsson [Wed, 20 Apr 2005 22:31:30 +0000 (22:31 +0000)]
predicates.md: New file.
* 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
Ian Lance Taylor [Wed, 20 Apr 2005 19:59:16 +0000 (19:59 +0000)]
c-common.def: Remove STMT_EXPR (moved to cp/cp-tree.def).
./ * 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
Richard Henderson [Wed, 20 Apr 2005 19:56:15 +0000 (12:56 -0700)]
re PR target/21100 (ICE: unrecognizable insn for -march=pentium-mmx)
PR target/21100
* config/i386/mmx.md (push<MMXMODE>1): Fix predicate thinko.
From-SVN: r98468
Jeff Law [Wed, 20 Apr 2005 18:02:40 +0000 (12:02 -0600)]
reload1.c (reload): Ignore equivalences between pseudos and read only memory.
* reload1.c (reload): Ignore equivalences between pseudos and
read only memory.
From-SVN: r98466
Joseph Myers [Wed, 20 Apr 2005 16:41:48 +0000 (17:41 +0100)]
re PR c/12913 (Jumps into variable length array scope not rejected)
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
Kazu Hirata [Wed, 20 Apr 2005 15:59:01 +0000 (15:59 +0000)]
* tree-ssa-phiopt.c: Fix comments.
From-SVN: r98462
Kazu Hirata [Wed, 20 Apr 2005 15:31:30 +0000 (15:31 +0000)]
tree-ssa-phiopt.c (tree_ssa_phi_opt): Update calls to conditional_replacement...
* 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
Michael Matz [Wed, 20 Apr 2005 14:30:38 +0000 (14:30 +0000)]
re PR middle-end/20973 (kdelibs (khtml) miscompiled by reload)
PR20973
* reload.c (push_reload, find_dummy_reload): Check for uninitialized
pseudos.
From-SVN: r98460
David Edelsohn [Wed, 20 Apr 2005 13:37:50 +0000 (09:37 -0400)]
- Add @file to AIX entry.
From-SVN: r98458
Kazu Hirata [Wed, 20 Apr 2005 13:19:17 +0000 (13:19 +0000)]
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 [Wed, 20 Apr 2005 13:11:08 +0000 (13:11 +0000)]
* tree-ssa-phiopt.c: Fix comment typos.
From-SVN: r98456
Hans-Peter Nilsson [Wed, 20 Apr 2005 10:59:26 +0000 (10:59 +0000)]
libffi-dg.exp (libffi-dg-test-1): In regsub use, have Tcl8.3-compatible intermediate variable.
* testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use,
have Tcl8.3-compatible intermediate variable.
From-SVN: r98453
Michael Koch [Wed, 20 Apr 2005 09:36:06 +0000 (09:36 +0000)]
[multiple changes]
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 [Wed, 20 Apr 2005 09:25:25 +0000 (09:25 +0000)]
Connection.java, [...]: Reorganized import statements.
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 [Wed, 20 Apr 2005 09:18:19 +0000 (09:18 +0000)]
[multiple changes]
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
Jeroen Frijters [Wed, 20 Apr 2005 09:13:22 +0000 (09:13 +0000)]
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
Michael Koch [Wed, 20 Apr 2005 09:02:29 +0000 (09:02 +0000)]
2005-04-20 Michael Koch <konqueror@gmx.de>
* java/io/FilePermission.java
(serialVersionUID): Made private.
(ALL_FILES): New constant.
(implies): Handle '<<ALL FILES>>' case.
From-SVN: r98447
Sven de Marothy [Wed, 20 Apr 2005 06:09:23 +0000 (08:09 +0200)]
2005-04-20 Sven de Marothy <sven@physto.se>
* 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
Michael Koch [Wed, 20 Apr 2005 06:05:04 +0000 (06:05 +0000)]
[multiple changes]
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
Sven de Marothy [Wed, 20 Apr 2005 06:01:09 +0000 (08:01 +0200)]
2005-04-20 Sven de Marothy <sven@physto.se>
* java/text/SimpleDateFormat.java:
(formatWithAttribute): Pad year before truncating digits.
From-SVN: r98444
Michael Koch [Wed, 20 Apr 2005 05:58:46 +0000 (05:58 +0000)]
PlainDatagramSocketImpl.java: Merged copyright header.
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 [Wed, 20 Apr 2005 05:56:16 +0000 (05:56 +0000)]
ClassHelper.java, [...]: Fixed @author tag.
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 [Wed, 20 Apr 2005 05:53:53 +0000 (05:53 +0000)]
[multiple changes]
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 [Wed, 20 Apr 2005 05:50:45 +0000 (05:50 +0000)]
XBMDecoder.java: Fixed modifier order.
2005-04-20 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/image/XBMDecoder.java:
Fixed modifier order.
From-SVN: r98440
Roman Kennke [Wed, 20 Apr 2005 05:47:57 +0000 (05:47 +0000)]
2005-04-20 Roman Kennke <roman@kennke.org>
* 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
Michael Koch [Wed, 20 Apr 2005 05:37:46 +0000 (05:37 +0000)]
2005-04-20 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java
(getContent): Fixed javadoc comment.
From-SVN: r98438
Andrew John Hughes [Wed, 20 Apr 2005 05:34:29 +0000 (05:34 +0000)]
2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/net/URL.java:
(toURI()): Implemented.
From-SVN: r98437
Richard Henderson [Wed, 20 Apr 2005 04:54:11 +0000 (21:54 -0700)]
builtins.c (expand_builtin_sync_operation): Revert last change.
* 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
James A. Morrison [Wed, 20 Apr 2005 04:32:41 +0000 (04:32 +0000)]
fold-const.c (fold_binary): Fold ~(X ^ Y) to ~X ^ Y or X ^ ~Y if ~X or ~Y simplify.
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 [Wed, 20 Apr 2005 02:31:26 +0000 (02:31 +0000)]
fold-const (fold_binary): Fold ~X ^ ~ Y to X ^ Y.
2005-04-19 James A. Morrison <phython@gcc.gnu.org>
* fold-const (fold_binary): Fold ~X ^ ~ Y to X ^ Y.
From-SVN: r98434
Joseph Myers [Wed, 20 Apr 2005 02:07:28 +0000 (03:07 +0100)]
* de.po: Update.
From-SVN: r98433
James E Wilson [Wed, 20 Apr 2005 01:44:58 +0000 (18:44 -0700)]
Testcase to verify that FP regs are properly saved/restored across unwind.
PR target/20670
* g++.dg/eh/fp-regs.C: New test.
From-SVN: r98432
Steven G. Kargl [Wed, 20 Apr 2005 01:27:31 +0000 (01:27 +0000)]
trans-const.c (gfc_conv_mpz_to_tree): Fix comment.
From-SVN: r98430
Joseph Myers [Wed, 20 Apr 2005 01:10:00 +0000 (02:10 +0100)]
c.opt (Wint-to-pointer-cast, [...]): New options.
2005-04-20 Michael Pogue <michael.pogue@sun.com>
Joseph S. Myers <joseph@codesourcery.com>
* c.opt (Wint-to-pointer-cast, Wpointer-to-int-cast): New options.
* c-typeck.c (build_c_cast): Check these options.
* doc/invoke.texi: Document these options.
testsuite:
* gcc.dg/Wint-to-pointer-cast-1.c,
gcc.dg/Wint-to-pointer-cast-2.c, gcc.dg/Wint-to-pointer-cast-3.c,
gcc.dg/Wpointer-to-int-cast-1.c, gcc.dg/Wpointer-to-int-cast-2.c,
gcc.dg/Wpointer-to-int-cast-3.c: New tests.
From-SVN: r98429
Kazu Hirata [Wed, 20 Apr 2005 00:45:43 +0000 (00:45 +0000)]
* tree-ssa-phiopt.c: Update a comment about the pass.
From-SVN: r98428
GCC Administrator [Wed, 20 Apr 2005 00:16:31 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r98425.2
Kazu Hirata [Tue, 19 Apr 2005 22:13:05 +0000 (22:13 +0000)]
tree-ssa-phiopt.c, [...]: Fix comment typos.
* tree-ssa-phiopt.c, config/arm/arm.c, config/fr30/fr30.md,
config/mcore/mcore.c: Fix comment typos.
From-SVN: r98421
Daniel Jacobowitz [Tue, 19 Apr 2005 19:53:26 +0000 (19:53 +0000)]
Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET.
* Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET.
* mklibgcc.in: Use $GCC_FOR_TARGET instead of ./xgcc.
From-SVN: r98420
Michael Koch [Tue, 19 Apr 2005 19:07:13 +0000 (19:07 +0000)]
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java
(InetAddress): Fixed javadoc comment.
(aton): Likewise.
(lookup): Added javadoc.
(getFamily): Likewise.
* java/net/ServerSocket.java
(getChannel): Improved javadoc comment.
From-SVN: r98419
Arnaud Desitter [Tue, 19 Apr 2005 18:56:13 +0000 (18:56 +0000)]
invoke.texi: Update -Waliasing description.
* invoke.texi: Update -Waliasing description.
Co-Authored-By: Steven G. Kargl <kargls@comcast.net>
From-SVN: r98418
Paul Brook [Tue, 19 Apr 2005 18:50:14 +0000 (18:50 +0000)]
* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.
From-SVN: r98417
Kaveh R. Ghazi [Tue, 19 Apr 2005 18:26:43 +0000 (18:26 +0000)]
hashtab.h, [...]: Don't use the PTR macro.
* hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
Don't use the PTR macro.
* sort.h: Don't use the PARAMS macro.
From-SVN: r98416
Hans-Peter Nilsson [Tue, 19 Apr 2005 16:01:38 +0000 (16:01 +0000)]
os_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.
* os_dep.c, include/private/gc_locks.h: Import CRIS port by
Simon Posnjak from gc6.4.
* include/private/gcconfig.h: Ditto. Add M32R note from gc6.4.
From-SVN: r98414
Kazu Hirata [Tue, 19 Apr 2005 15:45:28 +0000 (15:45 +0000)]
* except.c: Fix a comment typo.
From-SVN: r98413
Andrew Haley [Tue, 19 Apr 2005 15:42:13 +0000 (15:42 +0000)]
re PR debug/21022 ([4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging)
2005-04-19 Andrew Haley <aph@redhat.com>
PR java/21022
* dbxout.c (dbxout_type_fields): Check DECL_IGNORED_P before
looking at a field's bitpos.
From-SVN: r98412
Julian Brown [Tue, 19 Apr 2005 12:55:24 +0000 (12:55 +0000)]
decl.c (finish_method): Revert patch from 2005-04-13 for breaking indirect dispatch with PIC.
* java/decl.c (finish_method): Revert patch from 2005-04-13 for breaking
indirect dispatch with PIC.
From-SVN: r98408
Kaveh R. Ghazi [Tue, 19 Apr 2005 12:37:08 +0000 (12:37 +0000)]
system.h (fopen, [...]): Define these to the unlocked libiberty functions.
fixincludes:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.
gcc:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.
libcpp:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.
From-SVN: r98407
Michael Koch [Tue, 19 Apr 2005 12:19:44 +0000 (12:19 +0000)]
[multiple changes]
2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/xml/dom/html2/DomHTMLParser.java:
Changed 'enum' references to become 'enumeration'.
2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
* gnu/xml/dom/html2/DomHTMLParser.java: New file.
2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
(getAttributeNames()): Replaced 'enum' with 'enumeration'.
* gnu/javax/swing/text/html/parser/htmlValidator.java:
(validateParameters(TagElement,htmlAttributeSet)):
Replaced 'enum' with 'enumeration'.
(validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
Likewise.
2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
* javax/swing/text/html/parser/Entity.java (getType): New method.
* javax/swing/text/html/parser/DocumentParser.java:
Inherit from javax.swing.text.html.parser.Parser.
2005-04-19 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
check for HTML/XHTML namespace.
2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
* javax/swing/text/html/parser/Parser.java,
javax/swing/text/html/parser/Entity.java:
Inheriting from DTDConstants.
* javax/swing/text/html/parser/AttributeList.java
(getValues): Changed return type.
* javax/swing/text/html/parser/DocumentParser
(parse): Adding the callback parameter that receives
the parsing events.
2005-04-19 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/DomImpl.java,
gnu/xml/dom/html2/DomHTMLAnchorElement.java,
gnu/xml/dom/html2/DomHTMLDocument.java,
gnu/xml/dom/html2/DomHTMLElement.java,
gnu/xml/dom/html2/DomHTMLFormElement.java,
gnu/xml/dom/html2/DomHTMLFrameElement.java,
gnu/xml/dom/html2/DomHTMLIFrameElement.java,
gnu/xml/dom/html2/DomHTMLImpl.java,
gnu/xml/dom/html2/DomHTMLInputElement.java,
gnu/xml/dom/html2/DomHTMLObjectElement.java,
gnu/xml/dom/html2/DomHTMLOptionElement.java,
gnu/xml/dom/html2/DomHTMLSelectElement.java,
gnu/xml/dom/html2/DomHTMLTableCellElement.java,
gnu/xml/dom/html2/DomHTMLTableElement.java,
gnu/xml/dom/html2/DomHTMLTableRowElement.java,
gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
UI events, and tree utility functions.
2005-04-19 Michael Koch <konqueror@gmx.de>
* gnu/javax/swing/text/html/parser/HTML_401F.java,
gnu/javax/swing/text/html/parser/gnuDTD.java,
gnu/javax/swing/text/html/parser/models/node.java:
Reworked import statements.
2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
* javax/swing/text/html/HTMLDocument.java: New file.
2005-04-19 Michael Koch <konqueror@gmx.de>
* javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
Reformatted.
* javax/swing/text/html/parser/AttributeList.java:
Fixed order of modifiers.
(AttributeList): Made final.
* javax/swing/text/html/parser/ContentModel.java:
Fixed html characters in javadocs.
* javax/swing/text/html/parser/DTD.java
(DTD): Don't implement java.io.Serializable directly.
(getElement): Simplified.
* javax/swing/text/html/parser/DTDConstants.java:
Reformatted file.
* javax/swing/text/html/parser/Element.java:
Fixed order of modifiers.
* javax/swing/text/html/parser/Parser.java:
Reformatted. Don't use fully-qualified class names.
* javax/swing/text/html/parser/ParserDelegator.java:
Fixed order of modifiers.
* javax/swing/text/rtf/RTFParser.java:
Re-ordered import statements.
* javax/swing/text/rtf/RTFScanner.java:
Removed unused import statement.
2005-04-19 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/html2/DomHTMLButtonElement.java,
gnu/xml/dom/html2/DomHTMLCollection.java,
gnu/xml/dom/html2/DomHTMLDocument.java,
gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
types.
* gnu/xml/dom/html2/DomHTMLDListElement.java,
gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
gnu/xml/dom/html2/DomHTMLDivElement.java,
gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
gnu/xml/dom/html2/DomHTMLFontElement.java,
gnu/xml/dom/html2/DomHTMLFormElement.java,
gnu/xml/dom/html2/DomHTMLFrameElement.java,
gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
gnu/xml/dom/html2/DomHTMLHRElement.java,
gnu/xml/dom/html2/DomHTMLHeadElement.java,
gnu/xml/dom/html2/DomHTMLHeadingElement.java,
gnu/xml/dom/html2/DomHTMLHtmlElement.java,
gnu/xml/dom/html2/DomHTMLIFrameElement.java,
gnu/xml/dom/html2/DomHTMLImageElement.java,
gnu/xml/dom/html2/DomHTMLInputElement.java,
gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
gnu/xml/dom/html2/DomHTMLLIElement.java,
gnu/xml/dom/html2/DomHTMLLabelElement.java,
gnu/xml/dom/html2/DomHTMLLegendElement.java,
gnu/xml/dom/html2/DomHTMLLinkElement.java,
gnu/xml/dom/html2/DomHTMLMapElement.java,
gnu/xml/dom/html2/DomHTMLMenuElement.java,
gnu/xml/dom/html2/DomHTMLMetaElement.java,
gnu/xml/dom/html2/DomHTMLModElement.java,
gnu/xml/dom/html2/DomHTMLOListElement.java,
gnu/xml/dom/html2/DomHTMLObjectElement.java,
gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
gnu/xml/dom/html2/DomHTMLOptionElement.java,
gnu/xml/dom/html2/DomHTMLParagraphElement.java,
gnu/xml/dom/html2/DomHTMLParamElement.java,
gnu/xml/dom/html2/DomHTMLPreElement.java,
gnu/xml/dom/html2/DomHTMLQuoteElement.java,
gnu/xml/dom/html2/DomHTMLScriptElement.java,
gnu/xml/dom/html2/DomHTMLSelectElement.java,
gnu/xml/dom/html2/DomHTMLStyleElement.java,
gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
gnu/xml/dom/html2/DomHTMLTableCellElement.java,
gnu/xml/dom/html2/DomHTMLTableColElement.java,
gnu/xml/dom/html2/DomHTMLTableElement.java,
gnu/xml/dom/html2/DomHTMLTableRowElement.java,
gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
gnu/xml/dom/html2/DomHTMLTitleElement.java,
gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
* javax/swing/text/ChangedCharSetException.java,
javax/swing/text/html/HTMLEditorKit.java,
javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
javax/swing/text/html/parser/AttributeList.java,
javax/swing/text/html/parser/ContentModel.java,
javax/swing/text/html/parser/DocumentParser.java,
javax/swing/text/html/parser/DTD.java,
javax/swing/text/html/parser/DTDConstants.java,
javax/swing/text/html/parser/Element.java,
javax/swing/text/html/parser/Entity.java,
javax/swing/text/html/parser/Parser.java,
javax/swing/text/html/parser/TagElement.java,
gnu/javax/swing/text/html/package.html,
gnu/javax/swing/text/html/parser/gnuDTD.java,
gnu/javax/swing/text/html/parser/HTML_401F.java,
gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
gnu/javax/swing/text/html/parser/htmlValidator.java,
gnu/javax/swing/text/html/parser/package.html,
gnu/javax/swing/text/html/parser/models/list.java,
gnu/javax/swing/text/html/parser/models/node.java,
gnu/javax/swing/text/html/parser/models/noTagModel.java,
gnu/javax/swing/text/html/parser/models/package.html,
gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
gnu/javax/swing/text/html/parser/models/transformer.java,
gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
gnu/javax/swing/text/html/parser/support/package.html,
gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
gnu/javax/swing/text/html/parser/support/Parser.java,
gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
gnu/javax/swing/text/html/parser/support/low/Buffer.java,
gnu/javax/swing/text/html/parser/support/low/Constants.java,
gnu/javax/swing/text/html/parser/support/low/Location.java,
gnu/javax/swing/text/html/parser/support/low/node.java,
gnu/javax/swing/text/html/parser/support/low/package.html,
gnu/javax/swing/text/html/parser/support/low/ParseException.java,
gnu/javax/swing/text/html/parser/support/low/pattern.java,
gnu/javax/swing/text/html/parser/support/low/Queue.java,
gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
New files.
* javax/swing/text/html/HTML.java,
javax/swing/text/html/parser/ParserDelegator.java:
New files (replacing).
* javax/swing/text/html/package.html,
javax/swing/text/html/parser/package.html: Documenting the
packages.
2005-04-19 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/html2/DomHTMLAnchorElement.java,
gnu/xml/dom/html2/DomHTMLAppletElement.java,
gnu/xml/dom/html2/DomHTMLAreaElement.java,
gnu/xml/dom/html2/DomHTMLBaseElement.java,
gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
gnu/xml/dom/html2/DomHTMLBodyElement.java,
gnu/xml/dom/html2/DomHTMLBRElement.java,
gnu/xml/dom/html2/DomHTMLButtonElement.java,
gnu/xml/dom/html2/DomHTMLCollection.java,
gnu/xml/dom/html2/DomHTMLDocument.java,
gnu/xml/dom/html2/DomHTMLElement.java: New files.
2005-04-19 Michael Koch <konqueror@gmx.de>
* Makefile.am: Added new files.
* Makefile.in: Regenerated.
From-SVN: r98406
Kazu Hirata [Tue, 19 Apr 2005 11:43:24 +0000 (11:43 +0000)]
re PR tree-optimization/21096 (copy-prop leaks memory)
PR tree-optimization/21096
* tree-ssa-copy.c (fini_copy_prop): Free cached_last_copy_of.
From-SVN: r98405
Roman Kennke [Tue, 19 Apr 2005 10:55:12 +0000 (10:55 +0000)]
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/text/JTextComponent.java
(JTextComponent): Added repaintListener which issues repaint
requests when the underlying document changes.
(setDocument): Adds repaintListener to document when the
document is changed.
* javax/swing/text/DefaultEditorKit.java:
Removed repaint calls on JTextComponent. This is now handled
through a DocumentListener in JTextComponent that repaints
the component when needed.
From-SVN: r98403
Roman Kennke [Tue, 19 Apr 2005 10:52:03 +0000 (10:52 +0000)]
re PR libgcj/21064 ([4.0 only] StyleContext.addStyle causes NullPointerException)
2005-04-19 Roman Kennke <roman@kennke.org>
PR libgcj/21064
* javax/swing/text/StyleContext.java
(NamedStyle.setResolveParent): Added null
pointer check.
From-SVN: r98402
Michael Koch [Tue, 19 Apr 2005 10:34:38 +0000 (10:34 +0000)]
RemoteObject.java: Removed unused import statement.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/rmi/server/RemoteObject.java:
Removed unused import statement.
From-SVN: r98400
Michael Koch [Tue, 19 Apr 2005 10:31:51 +0000 (10:31 +0000)]
URL.java: Formatting cleanups.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/net/URL.java: Formatting cleanups.
From-SVN: r98399
Michael Koch [Tue, 19 Apr 2005 10:24:40 +0000 (10:24 +0000)]
FontMetrics.java: Reformatted.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/FontMetrics.java: Reformatted.
(getFontRenderContext): Handle case when java.awt.Graphics context is
given.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/FontMetrics.java
(getStringBounds): New methods.
From-SVN: r98398
Michael Koch [Tue, 19 Apr 2005 10:18:45 +0000 (10:18 +0000)]
2005-04-19 Michael Koch <konqueror@gmx.de>
* gnu/java/security/x509/X509Certificate.java
(parse): Handle val == null case.
From-SVN: r98397
Michael Koch [Tue, 19 Apr 2005 09:59:53 +0000 (09:59 +0000)]
[multiple changes]
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added defaults for Menu, MenuBar
MenuEntry fonts.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added Label.font.
(initSystemColorDefaults): Added this method and adjusted the
general control color.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalBorders.java:
Added.
* javax/swing/plaf/metal/MetalButtonUI.java:
(installDefaults): Install button font.
* javax/swing/plaf/metal/MetalLookAndFeel.java:
(initComponentDefaults): Added button border, font and margin.
Changed components background color to the Metal current themes
standard color.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added to set Metal specific component
defaults.
2005-04-19 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initClassDefaults): Call super.initClassDefaults().
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initClassDefaults): Added to include the *UI classes.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalComboBoxUI.java:
Added.
* javax/swing/plaf/metal/MetalDesktopIconUI.java:
Added.
* javax/swing/plaf/metal/MetalInternalFrameUI.java:
Added.
* javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
Added.
* javax/swing/plaf/metal/MetalProgressBarUI.java:
Added.
* javax/swing/plaf/metal/MetalRootPaneUI.java:
Added.
* javax/swing/plaf/metal/MetalScrollBarUI.java:
Added.
* javax/swing/plaf/metal/MetalSeparatorUI.java:
Added.
* javax/swing/plaf/metal/MetalSliderUI.java:
Added.
* javax/swing/plaf/metal/MetalSplitPaneUI.java:
Added.
* javax/swing/plaf/metal/MetalTextFieldUI.java:
Added.
* javax/swing/plaf/metal/MetalToggleButtonUI.java:
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalButtonUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalCheckBoxUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalLabelUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalRadioButtonUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalScrollPaneUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalTabbedPaneUI.java:
Added skeleton class.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/UIDefaults.java:
Added API documentation for all methods.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/UIDefaults.java
(put): Now uses new checkAndPut method instead of checking
directly.
(putDefaults): Fixed so that it accepts null-values and
treats them like remove(key).
(checkAndPut): Added. This checks for null-values and calls
put or remove.
2005-04-19 Michael Koch <konqueror@gmx.de>
* Makefile.am: Added new files.
* Makefile.in: Regenerated.
From-SVN: r98396
Andrew Haley [Tue, 19 Apr 2005 09:52:21 +0000 (09:52 +0000)]
java-except.h (struct eh_range.handler): Remove unused field.
2005-04-18 Andrew Haley <aph@redhat.com>
* java-except.h (struct eh_range.handler): Remove unused field.
(handle_nested_ranges): Remove function declaration.
(sanity_check_exception_range): Add function declaration.
* verify.c (verify_jvm_instructions): Remove call to
handle_nested_ranges.
* verify-glue.c (verify_jvm_instructions_new): Call
sanity_check_exception_range.
* except.c (link_handler, eh_range_freelist, link_handler,
handle_nested_ranges): Remove.
(add_handler): Rewrite.
(sanity_check_exception_range): New function.
(print_ranges): New function.
From-SVN: r98395
Mark Wielaard [Tue, 19 Apr 2005 09:29:16 +0000 (09:29 +0000)]
natRuntime.cc (insertSystemProperties): Set java.class.path to CLASSPATH only when not empty.
* java/lang/natRuntime.cc (insertSystemProperties): Set
java.class.path to CLASSPATH only when not empty. Fall back to
default path "." when java.class.path is empty.
From-SVN: r98394
Michael Koch [Tue, 19 Apr 2005 09:24:15 +0000 (09:24 +0000)]
ControlWordToken.java, [...]: New files.
2005-04-19 Michael Koch <konqueror@gmx.de>
* javax/swing/text/rtf/ControlWordToken.java,
javax/swing/text/rtf/RTFEditorKit.java,
javax/swing/text/rtf/RTFParseException.java,
javax/swing/text/rtf/RTFParser.java,
javax/swing/text/rtf/RTFScanner.java,
javax/swing/text/rtf/TextToken.java,
javax/swing/text/rtf/Token.java: New files.
* Makefile.am: Added new files.
* Makefile.in: Regenerated.
From-SVN: r98393
Michael Koch [Tue, 19 Apr 2005 09:17:41 +0000 (09:17 +0000)]
QuadCurve2D.java: Fixed Brian Gough's name for real.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/geom/QuadCurve2D.java:
Fixed Brian Gough's name for real.
From-SVN: r98392
Francois-Xavier Coudert [Tue, 19 Apr 2005 07:10:05 +0000 (09:10 +0200)]
re PR fortran/16861 ([4.0 only] segfault with doubly used module)
PR fortran/16861
* resolve.c (resolve_variable): If e->symtree is not set, this
ought to be a FAILURE, and not a segfault.
* gfortran.dg/pr16861.f90: New test.
From-SVN: r98391
Alan Modra [Tue, 19 Apr 2005 07:07:11 +0000 (07:07 +0000)]
re PR target/21098 (.note.GNU-stack emitted)
PR target/21098
* config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): New.
* config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the above.
From-SVN: r98390
Roman Kennke [Tue, 19 Apr 2005 06:36:27 +0000 (06:36 +0000)]
UIManager.java: Make the UIManager respect the swing.defaultlaf system property.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/UIManager.java:
Make the UIManager respect the swing.defaultlaf system
property.
From-SVN: r98389
Tom Tromey [Tue, 19 Apr 2005 06:36:10 +0000 (06:36 +0000)]
natVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass.
* java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
not _Jv_InitClass.
From-SVN: r98388
Roman Kennke [Tue, 19 Apr 2005 06:29:30 +0000 (06:29 +0000)]
BasicMenuBarUI.java: Fixed tabs to spaces.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicMenuBarUI.java:
Fixed tabs to spaces.
From-SVN: r98387
Roman Kennke [Tue, 19 Apr 2005 06:23:00 +0000 (06:23 +0000)]
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicMenuUI.java
(getMaximumSize): Now returns preferredSize because JMenu should
never be bigger than that.
* javax/swing/JRootPane
(RootLayout.layoutContainer): Make JMenuBars take the whole width.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/JRootPane.java:
Fixed various tabs to be spaces.
(RootLayout.layoutContainer): Made menubar left aligned.
From-SVN: r98386
Roman Kennke [Tue, 19 Apr 2005 06:16:17 +0000 (06:16 +0000)]
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/JList.java
(getPreferredScrollableViewportSize):
The previous implementation was merely guessing the size,
now it respects layoutOrientation, visibleRowCount
and preferredSize.
(getScrollableTracksViewportHeight):
Reimplemented so that layoutOrientation, visibleRowCount
and preferred size are respected.
(getScrollableTracksViewportWidth):
Reimplemented so that layoutOrientation, visibleRowCount
and preferred size are respected.
* javax/swing/plaf/basic/BasicListUI.java
(getPreferredSize):
Improved calculation of preferredSize when JList is
set to HORIZONTAL_WRAP or VERTICAL_WRAP.
(getCellBounds):
The previous implementation assumed a layoutOrientation of
JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
JList.VERTICAL_WRAP.
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/plaf/basic/BasicListUI.java
(paintCell): use CellRendererPane for painting the cells.
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/plaf/basic/BasicListUI:
fixed modifiers of several fields, methods and inner
classes to match the 'spec'.
(getMaximumSize): removed. It's not in the spec and the
implementations was superfluous.
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/plaf/basic/BasicListUI:
make BasicListUI capable of wrapping lists
(layoutOrientation property of javax.swing.JList)
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/plaf/basic/BasicListUI
(updateLayoutState,paint): make BasicListUI aware of the
width of the rendered JList.
From-SVN: r98385
Roman Kennke [Tue, 19 Apr 2005 05:59:46 +0000 (05:59 +0000)]
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/ImageIcon.java
Added API documentation.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/text/ImageIcon.java
(ImageIcon): Use setImage instead of direct assignment.
(setImage): Call loadImage to make sure that the image is loaded.
(loadImage): Waits for the image to complete loading.
(getImageLoadStatus): Added. Returns the load status of the
image.
From-SVN: r98384
Audrius Meskauskas [Tue, 19 Apr 2005 05:51:38 +0000 (07:51 +0200)]
JTextArea.java (replaceRange): Fixing doc.remove(start, length) misinterpretation.
2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
* javax/swing/JTextArea.java (replaceRange):
Fixing doc.remove(start, length) misinterpretation.
From-SVN: r98381
Roman Kennke [Tue, 19 Apr 2005 05:39:27 +0000 (05:39 +0000)]
CellRendererPane.java: implemented all methods of this class.
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/CellRendererPane.java:
implemented all methods of this class.
reformatted all wrong formatted code.
From-SVN: r98379
Michael Koch [Tue, 19 Apr 2005 05:35:37 +0000 (05:35 +0000)]
[multiple changes]
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/BoxLayout.java:
(layoutContainer): Made this layout manager respect the
minimum, maximum and preferred size more correctly.
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/BoxLayout.java:
(preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
layoutContainer): Make these methods and thereby the
BoxLayout respect the insets (like borders) of the
component that is laid out.
From-SVN: r98378
Roman Kennke [Tue, 19 Apr 2005 05:28:38 +0000 (05:28 +0000)]
JComponent.java: Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/JComponent.java:
Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
Untabified the file.
From-SVN: r98377
Audrius Meskauskas [Tue, 19 Apr 2005 05:23:13 +0000 (07:23 +0200)]
JComboBox.java (constructors): selecting the first item if the box was constructed from the provided non -...
2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
* javax/swing/JComboBox.java (constructors): selecting the
first item if the box was constructed from the provided
non - empty array or vector.
From-SVN: r98376
Michael Koch [Tue, 19 Apr 2005 05:20:12 +0000 (05:20 +0000)]
2005-04-19 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/peer/gtk/GdkGraphics.java
(getClipBounds): Handle clip being null.
(setClip): Likewise.
* java/beans/beancontext/BeanContextSupport.java
(add): Implemented.
(addAll): Likewise.
(clear): Likewise.
(removeAll): Likewise.
(retainAll): Likewise.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/beans/beancontext/BeanContextServicesSupport.java
(BeanContextServicesSupport): Reimplemented.
(addBeanContextServicesListener): Implemented.
(initialize): Likewise.
(removeBeanContextServicesListener): Likewise.
* java/beans/beancontext/BeanContextSupport.java
(add): Likewise.
(addBeanContextMembershipListener): Likewise.
(getLocale): Likewise.
(initialize): Likewise.
(iterator): Likewise.
(remove): Likewise.
(toArray): Likewise.
From-SVN: r98375
Roman Kennke [Tue, 19 Apr 2005 05:13:47 +0000 (05:13 +0000)]
MediaTracker.java: Reindented tabs to spaces.
2005-04-19 Roman Kennke <roman@kennke.org>
* java/awt/MediaTracker.java:
Reindented tabs to spaces.
2005-04-19 Roman Kennke <roman@kennke.org>
* java/awt/MediaTracker.java
(MediaEntry.imageUpdate): Removed check for SOMEBITS, this
confused the media tracker and lead to lockups. The LOADING
bit is handled on other places.
(addImage): Removed the 'start image tracking' stuff. This
is not necessary and could confuse the media tracker.
(checkAll): Improved the check for image status so that
images that already complete images are detected. Also now
are really all images checked and if necessary loaded. Before
the method bailed out after the first incomplete image.
(statusAll): Detect images that are complete after the
call to Component.prepareImage(..).
(checkID): The same as in checkAll.
(statusID): The same as in statusAll.
2005-04-19 Roman Kennke <roman@kennke.org>
* java/awt/MediaTracker.java
(addImage): Synchronized list access.
(waitForAll): Fixed comparison of time (changed < to >).
(waitForID): Fixed comparison of time (changed < to >).
(removeImage): Synchronized list access.
2005-04-19 Roman Kennke <roman@kennke.org>
* java/awt/MediaTracker.java
Added API documentation.
2005-04-19 Roman Kennke <roman@kennke.org>
* java/awt/MediaTracker.java
(MediaEntry.imageUpdate): Fixed flags. The different flags
must not be ORed together.
(checkAll): Modified to handle different meaning of the flags.
(waitForAll): Fixed so that it waits maximum the
specified amount of milliseconds.
(statusAll): Modified to handle different meaning of the flags.
(waitForID): Fixed so that it waits maximum the
specified amount of milliseconds.
From-SVN: r98374
David Gilbert [Tue, 19 Apr 2005 05:05:32 +0000 (05:05 +0000)]
Font.java (decode): Handle null argument and allow space as delimiter.
2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
* java/awt/Font.java (decode): Handle null argument and allow
space as delimiter.
From-SVN: r98373
Robert Schuster [Tue, 19 Apr 2005 04:50:06 +0000 (04:50 +0000)]
EventHandler.java: Reworked documentation.
2005-04-19 Robert Schuster <thebohemian@gmx.net>
* java/beans/EventHandler.java: Reworked documentation.
(invoke): Fixed behavior to match spec.
From-SVN: r98372
Michael Koch [Tue, 19 Apr 2005 04:42:48 +0000 (04:42 +0000)]
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/print/PrinterJob.java
(pageDialog): New method.
(printDialog): Implemented.
From-SVN: r98371
Michael Koch [Tue, 19 Apr 2005 04:40:10 +0000 (04:40 +0000)]
ConvolveOp.java: Removed comment added by eclipse.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/image/ConvolveOp.java:
Removed comment added by eclipse.
From-SVN: r98370
Guilhem Lavaux [Tue, 19 Apr 2005 04:36:54 +0000 (04:36 +0000)]
2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
* java/awt/image/IndexColorModel.java
(getRGB): Check if pixel is negative.
From-SVN: r98369
Michael Koch [Tue, 19 Apr 2005 04:34:40 +0000 (04:34 +0000)]
RasterOp.java: Fixed wrong formatting.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/image/RasterOp.java:
Fixed wrong formatting.
From-SVN: r98368
Alexandre Oliva [Tue, 19 Apr 2005 04:34:10 +0000 (04:34 +0000)]
tree-cfg.c (dump_function_to_file): Use cfun info only if it refers to the function being dumped.
* tree-cfg.c (dump_function_to_file): Use cfun info only if it
refers to the function being dumped.
From-SVN: r98367
Daniel Jacobowitz [Tue, 19 Apr 2005 03:49:17 +0000 (03:49 +0000)]
* varasm.c (assemble_start_function): Remove reset of in_section.
From-SVN: r98366
James A. Morrison [Tue, 19 Apr 2005 02:36:04 +0000 (02:36 +0000)]
re PR middle-end/21085 (Virtual memory exhausted with g++)
2005-04-18 James A. Morrison <phython@gcc.gnu.org>
PR tree-optimization/21085
* fold-const (fold_binary): Don't change X % -C to X % C if C has
overflowed.
From-SVN: r98365
GCC Administrator [Tue, 19 Apr 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r98362.2
Hans-Peter Nilsson [Mon, 18 Apr 2005 23:00:17 +0000 (23:00 +0000)]
configure.in: New local variable libgcj_ex_libffi.
* configure.in <crisv32-*-*, cris-*-*>: New local variable
libgcj_ex_libffi. Have specific match for *-*-linux*. Separate
matches for "*-*-aout" and "*-*-elf". Don't disable libffi for
"*-*-elf" and "*-*-linux*".
* configure: Regenerate.
From-SVN: r98357
Ben Elliston [Mon, 18 Apr 2005 22:25:20 +0000 (22:25 +0000)]
invoke.texi (Optimize Options): Refer to the correct optimisation flag -ftree-dominator-opts, not -ftree-dom.
* doc/invoke.texi (Optimize Options): Refer to the correct
optimisation flag -ftree-dominator-opts, not -ftree-dom.
From-SVN: r98355
Paul Thomas [Mon, 18 Apr 2005 22:19:27 +0000 (22:19 +0000)]
correct memory leaks in namelist code for derived types
From-SVN: r98352
Tobias Schlüter [Mon, 18 Apr 2005 21:44:22 +0000 (23:44 +0200)]
Rewrap ChangeLog. I'm listing the affected PRs so that they receive anot about this, even though the commit message for the original patch was empty.
PR fortran/17472
PR fortran/18209
PR fortran/18396
PR fortran/19467
PR fortran/19657
From-SVN: r98350
Roman Kennke [Mon, 18 Apr 2005 20:52:24 +0000 (20:52 +0000)]
2005-04-18 Roman Kennke <roman@kennke.org>
* java/awt/Compmonent.java
(setComponentOrientation): Made this property firing a
PropertyChangeEvent.
From-SVN: r98349
Christopher Jaillet [Mon, 18 Apr 2005 20:51:18 +0000 (22:51 +0200)]
rs6000.c (machopic_output_stub): Increase alloca argument to be big enough.
2005-04-18 Christopher Jaillet <christophe.jaillet@wanadoo.fr>
* config/rs6000/rs6000.c (machopic_output_stub): Increase
alloca argument to be big enough.
From-SVN: r98348
Roman Kennke [Mon, 18 Apr 2005 20:47:01 +0000 (20:47 +0000)]
2005-04-18 Roman Kennke <roman@kennke.org>
* java/awt/BorderLayout.java
(calcSize): Check for overflow when component sizes are added.
From-SVN: r98347