platform/upstream/gcc.git
21 years ago2003-02-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 19 Feb 2003 09:46:43 +0000 (09:46 +0000)]
2003-02-19  Michael Koch <konqueror@gmx.de>

* gnu/awt/j2d/Graphics2DImpl.java
(getFontRenderContext): New method.
(drawGlyphVector): New method.
* java/awt/Graphics2D.java
(getFontRenderContext): New abstract method.
(drawGlyphVector): New abstract method.

From-SVN: r63097

21 years agotoplev.c, [...]: Move write_global_declarations from toplev.c to langhooks.c.
Matt Austern [Wed, 19 Feb 2003 05:39:06 +0000 (05:39 +0000)]
toplev.c, [...]: Move write_global_declarations from toplev.c to langhooks.c.

* toplev.c, langhooks.c, langhooks-def.h: Move
write_global_declarations from toplev.c to langhooks.c.

From-SVN: r63094

21 years agoh8300.c (general_operand_src): Always check MODE.
Kazu Hirata [Wed, 19 Feb 2003 04:36:44 +0000 (04:36 +0000)]
h8300.c (general_operand_src): Always check MODE.

* config/h8300/h8300.c (general_operand_src): Always check
MODE.
(general_operand_dst): Likewise.
* gcc.c-torture/execute/20030218-1.c: New.

From-SVN: r63091

21 years agofix stupidity on previous commit.
Aldy Hernandez [Wed, 19 Feb 2003 04:32:44 +0000 (04:32 +0000)]
fix stupidity on previous commit.

From-SVN: r63090

21 years ago* gcc.dg/20030218-1.c: New.
Aldy Hernandez [Wed, 19 Feb 2003 04:30:10 +0000 (04:30 +0000)]
* gcc.dg/20030218-1.c: New.

From-SVN: r63089

21 years agosearch.c (grow_bfs_bases): New subroutine of bfs_walk.
Zack Weinberg [Wed, 19 Feb 2003 04:27:47 +0000 (04:27 +0000)]
search.c (grow_bfs_bases): New subroutine of bfs_walk.

* cp/search.c (grow_bfs_bases): New subroutine of bfs_walk.
(bfs_walk): Rewritten using circular queue of BINFO_BASETYPES
vectors, for speed.

From-SVN: r63088

21 years agoconvert.c (convert_to_real): Also optimize (float)log(x) into logf(x) where x is...
Roger Sayle [Wed, 19 Feb 2003 03:39:30 +0000 (03:39 +0000)]
convert.c (convert_to_real): Also optimize (float)log(x) into logf(x) where x is a float, i.e.

* convert.c (convert_to_real): Also optimize (float)log(x) into
logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.

From-SVN: r63087

21 years agomark the fixes that fail testing with BSD based sed-s
Bruce Korb [Wed, 19 Feb 2003 02:38:22 +0000 (02:38 +0000)]
mark the fixes that fail testing with BSD based sed-s

From-SVN: r63086

21 years agoreordered fixes
Bruce Korb [Wed, 19 Feb 2003 02:37:29 +0000 (02:37 +0000)]
reordered fixes

From-SVN: r63085

21 years agosh.c (unspec_caller_rtx_p): New.
Kaz Kojima [Wed, 19 Feb 2003 02:15:04 +0000 (02:15 +0000)]
sh.c (unspec_caller_rtx_p): New.

        * config/sh/sh.c (unspec_caller_rtx_p): New.
(sh_cannot_copy_insn_p): New.
        (TARGET_CANNOT_COPY_INSN_P): New.

From-SVN: r63084

21 years agoc-common.c (handle_used_attribute): Accept static data too.
Richard Henderson [Wed, 19 Feb 2003 02:07:06 +0000 (18:07 -0800)]
c-common.c (handle_used_attribute): Accept static data too.

        * c-common.c (handle_used_attribute): Accept static data too.

        * gcc.dg/attr-invalid.c: Allow __used__ on static data.
        * gcc.dg/attr-used-2.c: New.

From-SVN: r63082

21 years agoSort the fixes by fix name
Bruce Korb [Wed, 19 Feb 2003 02:06:11 +0000 (02:06 +0000)]
Sort the fixes by fix name

From-SVN: r63081

21 years ago20030218-1.c: New.
Nick Clifton [Wed, 19 Feb 2003 00:51:16 +0000 (00:51 +0000)]
20030218-1.c: New.

2003-02-18  Nick Clifton  <nickc@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/20030218-1.c: New.

        * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.

        * target-def.h (TARGET_INITIALIZER): Add
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.

        * target.h (struct gcc_target): Add field vector_types_compatible.

        * c-typeck.c (comptypes): Take into account
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (convert_for_assignment): Same.

        * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
        (rs6000_spe_vector_types_compatible): New.
        (TARGET_VECTOR_TYPES_COMPATIBLE): Define.

From-SVN: r63080

21 years ago20030218-1.c: New.
Nick Clifton [Wed, 19 Feb 2003 00:44:34 +0000 (00:44 +0000)]
20030218-1.c: New.

2003-02-18  Nick Clifton  <nickc@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/20030218-1.c: New.

        * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.

        * target-def.h (TARGET_INITIALIZER): Add
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.

        * target.h (struct gcc_target): Add field vector_types_compatible.

        * c-typeck.c (comptypes): Take into account
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (convert_for_assignment): Same.

        * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
        (rs6000_spe_vector_types_compatible): New.
        (TARGET_VECTOR_TYPES_COMPATIBLE): Define.

From-SVN: r63079

21 years ago003-02-18 Nick Clifton <nickc@redhat.com>
Nick Clifton [Wed, 19 Feb 2003 00:41:44 +0000 (00:41 +0000)]
003-02-18  Nick Clifton  <nickc@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/20030218-1.c: New.

        * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.

        * target-def.h (TARGET_INITIALIZER): Add
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.

        * target.h (struct gcc_target): Add field vector_types_compatible.

        * c-typeck.c (comptypes): Take into account
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (convert_for_assignment): Same.
        (really_start_incremental_init): Disallow initialization of
        ev64_opaque types.

        * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
        (rs6000_spe_vector_types_compatible): New.
        (TARGET_VECTOR_TYPES_COMPATIBLE): Define.

From-SVN: r63078

21 years agoXToolkit.java (getFontMetrics): initialize if necessary.
Hans Boehm [Wed, 19 Feb 2003 00:35:35 +0000 (00:35 +0000)]
XToolkit.java (getFontMetrics): initialize if necessary.

2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>

* gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
if necessary.

* gnu/java/awt/peer/gtk/GtkButtonPeer.java,
gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(setFont, gtkSetFont): add.
gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
Propagate font to peer.  (setFont): add FIXME comment.

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(gtkTextGetSize): fix height, width computation.

* gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
Make X font name a bit less bogus.

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
(post_adjustment_event): Pass on GTK_SCROLL_NONE.

* java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
(processAdjustmentEvent): Adjust value.

* java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
logic errors.

* java/awt/Component.java (setVisible, show, hide): Call show and
hide methods in subclasses.
(getPreferredSize): don't set prefSize before we have peer.

* java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
Guess (0,0) if we don't have peer.

From-SVN: r63077

21 years agoDaily bump.
GCC Administrator [Wed, 19 Feb 2003 00:17:34 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r63076

21 years agoMakefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
Andreas Schwab [Tue, 18 Feb 2003 23:32:28 +0000 (23:32 +0000)]
Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).

* Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
* toplev.c: Include langhooks-def.h.

From-SVN: r63067

21 years agostd_sstream.h (str()): the size of the current string may be different from the initi...
Paolo Carlini [Tue, 18 Feb 2003 23:26:32 +0000 (00:26 +0100)]
std_sstream.h (str()): the size of the current string may be different from the initial one whenever...

2003-02-18  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_sstream.h (str()): the size of the
current string may be different from the initial one
whenever _M_out_end > _M_out_beg.
* testsuite/27_io/stringbuf_members.cc (test07): Add.

From-SVN: r63066

21 years agomips.h (enum processor_type): Sort entries alphabetically.
Chris Demetriou [Tue, 18 Feb 2003 23:24:23 +0000 (23:24 +0000)]
mips.h (enum processor_type): Sort entries alphabetically.

2003-02-18  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (enum processor_type): Sort entries
        alphabetically.
        * config/mips/mips.md (define_attr cpu): Sync with processor_type
        enum values, including adding entries that were missing.

From-SVN: r63065

21 years agosh.c (calc_live_regs): Also check GET_CODE when checking if initial value for PR_REG...
J"orn Rennecke [Tue, 18 Feb 2003 20:20:11 +0000 (20:20 +0000)]
sh.c (calc_live_regs): Also check GET_CODE when checking if initial value for PR_REG is still the...

* sh.c (calc_live_regs): Also check GET_CODE when checking if initial value
for PR_REG is still the PR_REG register.

From-SVN: r63064

21 years agoPatch for PR 9617.
Jim Wilson [Tue, 18 Feb 2003 20:12:11 +0000 (20:12 +0000)]
Patch for PR 9617.

* config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
instruction in output template.
(bsp_value): Change output template from string to C code, add %,
before actual instruction.
(flushrs): Mark as not predicable.

From-SVN: r63062

21 years agoinclhack.def (netbsd_bogus_semicolon): New fix.
Krister Walfridsson [Tue, 18 Feb 2003 20:05:02 +0000 (21:05 +0100)]
inclhack.def (netbsd_bogus_semicolon): New fix.

2003-02-18  Krister Walfridsson  <cato@df.lth.se>

* inclhack.def (netbsd_bogus_semicolon): New fix.
* fixincl.x: Rebuilt.
* tests/base/ctype.h: Update.

From-SVN: r63061

21 years agofold-const.c (negate_expr_p): New function to determine whether an expression can...
Roger Sayle [Tue, 18 Feb 2003 19:37:01 +0000 (19:37 +0000)]
fold-const.c (negate_expr_p): New function to determine whether an expression can be negated cheaply.

* fold-const.c (negate_expr_p): New function to determine whether
an expression can be negated cheaply.
(fold) [MINUS_EXPR]: Use it to determine whether to transform
-A - B into -B - A for floating point types.

From-SVN: r63059

21 years agosbitmap.c (sbitmap_resize): New function.
Roger Sayle [Tue, 18 Feb 2003 19:35:08 +0000 (19:35 +0000)]
sbitmap.c (sbitmap_resize): New function.

* sbitmap.c (sbitmap_resize): New function.
* sbitmap.h (sbitmap_resize): Prototype here.
* recog.c (split_all_insns): Use sbitmap_resize.

From-SVN: r63058

21 years agoh8300.md (*zero_extendhisi2_h8300): Fix the insn length.
Kazu Hirata [Tue, 18 Feb 2003 19:17:36 +0000 (19:17 +0000)]
h8300.md (*zero_extendhisi2_h8300): Fix the insn length.

* config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
insn length.
(extendqisi2): Likewise.
(*extendhisi2_h8300): Likewise.

From-SVN: r63056

21 years agore PR c++/9704 (miscompilation of classes with bit fields)
Mark Mitchell [Tue, 18 Feb 2003 19:17:29 +0000 (19:17 +0000)]
re PR c++/9704 (miscompilation of classes with bit fields)

PR c++/9704
* class.c (layout_class_type): In the 3.2 ABI, take into account
trailing bit fields when computing CLASSTYPE_SIZE_UNIT.

PR c++/9704
* g++.dg/init/copy5.C: New test.

From-SVN: r63055

21 years agore PR c++/9704 (miscompilation of classes with bit fields)
Mark Mitchell [Tue, 18 Feb 2003 19:17:28 +0000 (19:17 +0000)]
re PR c++/9704 (miscompilation of classes with bit fields)

PR c++/9704
* class.c (layout_class_type): In the 3.2 ABI, take into account
trailing bit fields when computing CLASSTYPE_SIZE_UNIT.

PR c++/9704
* g++.dg/init/copy5.C: New test.

[[Split portion of a mixed commit.]]

From-SVN: r63054.2

21 years ago* Makefile.tpl (check-c++): Allow parallelism.
Jason Merrill [Tue, 18 Feb 2003 19:15:17 +0000 (14:15 -0500)]
* Makefile.tpl (check-c++): Allow parallelism.

From-SVN: r63053

21 years agolanghooks.h, [...]: introduce new langhook...
Matt Austern [Tue, 18 Feb 2003 18:50:05 +0000 (18:50 +0000)]
langhooks.h, [...]: introduce new langhook...

       * langhooks.h, langhooks-def.h: introduce new langhook,
       final_write_globals, with write_global_declarations as default.
       * toplev.c: Move invocation of wrapup_global_declarations from
       compile_file to new function, write_global_declarations.  Change
       compile_file to use final_write_globals hook.  Change
       wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
       conditional.

       * cp/cp-lang.c: Change lang hooks so that final_write_globals does
       nothing for C++.
       * cp/decl.c (wrapup_globals_for_namespace): Remove special
       handling of global namespace.

From-SVN: r63051

21 years ago* pa.md: Correct and enhance comment.
John David Anglin [Tue, 18 Feb 2003 18:27:13 +0000 (18:27 +0000)]
* pa.md: Correct and enhance comment.

From-SVN: r63049

21 years agoRemove conflict marker
Geoffrey Keating [Tue, 18 Feb 2003 18:26:43 +0000 (18:26 +0000)]
Remove conflict marker

From-SVN: r63048

21 years agopch.exp: Delete $bname.h before copying into it.
Geoffrey Keating [Tue, 18 Feb 2003 18:26:06 +0000 (18:26 +0000)]
pch.exp: Delete $bname.h before copying into it.

* gcc.dg/pch/pch.exp: Delete $bname.h before copying into it.
* g++.dg/pch/pch.exp: Likewise.

From-SVN: r63047

21 years ago* gcc.c (validate_switches): Don't scan past closing '}'.
Geoffrey Keating [Tue, 18 Feb 2003 18:24:05 +0000 (18:24 +0000)]
* gcc.c (validate_switches): Don't scan past closing '}'.

From-SVN: r63046

21 years agore PR c++/9623 (named initializer regression)
Jason Merrill [Tue, 18 Feb 2003 18:16:40 +0000 (13:16 -0500)]
re PR c++/9623 (named initializer regression)

        PR c++/9623
        * decl.c (reshape_init): Don't mess with initializer labels.

From-SVN: r63045

21 years agore PR c++/9623 (named initializer regression)
Jason Merrill [Tue, 18 Feb 2003 18:16:19 +0000 (13:16 -0500)]
re PR c++/9623 (named initializer regression)

        PR c++/9623
        * decl.c (reshape_init): Don't mess with initializer labels.

[[Split portion of a mixed commit.]]

From-SVN: r63044.2

21 years ago20030209-1.c: Enable the test if STACK_SIZE is not defined.
Kazu Hirata [Tue, 18 Feb 2003 17:48:54 +0000 (17:48 +0000)]
20030209-1.c: Enable the test if STACK_SIZE is not defined.

* gcc.c-torture/execute/20030209-1.c: Enable the test if
STACK_SIZE is not defined.

From-SVN: r63042

21 years agore PR other/7350 ('shoud' typos)
Ben Elliston [Tue, 18 Feb 2003 13:40:56 +0000 (13:40 +0000)]
re PR other/7350 ('shoud' typos)

* Fix for PR other/7350

[cp]
* decl.c (duplicate_decls): Fix typo in comment.
[ada]
* 5qtaprop.adb (Sleep): Fix typo in comment.

From-SVN: r63037

21 years agore PR libstdc++/9582 (ODR violation in std::allocator)
Paolo Carlini [Tue, 18 Feb 2003 10:54:37 +0000 (11:54 +0100)]
re PR libstdc++/9582 (ODR violation in std::allocator)

2003-02-18  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9582
* include/bits/stl_alloc.h (__pool_alloc::allocate):
Remove assert.

From-SVN: r63031

21 years agore PR c++/1607 ([3.3 only] Format attributes on methods undocumented)
Ben Elliston [Tue, 18 Feb 2003 10:51:57 +0000 (10:51 +0000)]
re PR c++/1607 ([3.3 only] Format attributes on methods undocumented)

PR c++/1607
* doc/extend.texi (Function Attributes): Document the effect of
the C++ "this" parameter on the counting of arguments for the
"format" and "format_arg" attributes.

From-SVN: r63030

21 years ago2003-02-18 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 18 Feb 2003 07:26:20 +0000 (07:26 +0000)]
2003-02-18  Michael Koch  <konqueror@gmx.de>

* java/nio/channels/FileChannel.java
(toString): New implementation, added documentation.
(map): Added exception documentation.
(size): Added exception documentation.
(write): New methods, documentation work.
(read): New methods, documentation work.
(implCloseChannel): Rewrote exception documentation.
(force): Throws IOException, added documentation.
(lock): New methods.
(tryLock): New methods.
(position): New methods.
(transferTo): New method.
(transferFrom): New method.
(truncate): New method.
* java/nio/channels/spi/SelectorProvider.java
(provider): Implemented.
* Makefile.am
(ordinary_java_source_files): Added the following files:
gnu/java/nio/DatagramChannelImpl.java
gnu/java/nio/FileChannelImpl.java
gnu/java/nio/PipeImpl.java
gnu/java/nio/SelectionKeyImpl.java
gnu/java/nio/SelectorImpl.java
gnu/java/nio/SelectorProviderImpl.java
gnu/java/nio/ServerSocketChannelImpl.java
gnu/java/nio/SocketChannelImpl.java
java/nio/channels/FileLock.java
(nat_java_source_files): Added the following files:
gnu/java/nio/natFileChannelImpl.cc
gnu/java/nio/natSelectorImpl.cc
gnu/java/nio/natSocketChannelImpl.cc
* Makefile.in: Regenerated.

From-SVN: r63028

21 years agoAdd PR number
Mark Mitchell [Tue, 18 Feb 2003 07:25:48 +0000 (07:25 +0000)]
Add PR number

From-SVN: r63027

21 years agoclass.c (build_base_field): Mark fields for base classes with DECL_IGNORED_P.
Michael Elizabeth Chastain [Tue, 18 Feb 2003 07:24:44 +0000 (07:24 +0000)]
class.c (build_base_field): Mark fields for base classes with DECL_IGNORED_P.

* class.c (build_base_field): Mark fields for base classes with
DECL_IGNORED_P.

From-SVN: r63026

21 years ago[multiple changes]
Benjamin Kosnik [Tue, 18 Feb 2003 05:45:07 +0000 (05:45 +0000)]
[multiple changes]

2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
* testsuite/27_io/ios_members.cc (test03): New.

2003-02-17  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
(basic_ios::_M_cache_facets): Move into above.
* include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
cache.
(basic_ios::imbue): Force locale cache to be built.
(basic_ios::_M_init): Create and initialize locale cache.
* include/bits/ios_base.h (__locale_cache_base): Declare.
(ios_base::_M_locale_cache): New.
(ios_base::_M_cache): Define.
* include/bits/locale_facets.h: (__num_base): Fix comment.  Add
_S_end.
        (__locale_cache_base,__locale_cache<_CharT>):  New classes.
(__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
cache literal string, grouping flag, thousands separator.
(__locale_cache<_CharT>::__locale_cache): New.
(__locale_cache<_CharT>::_M_init): New.
(__locale_cache<_CharT>::_M_populate): New.
* src/ios.cc: Clear _M_locale_cache in constructor.
* src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
New.

From-SVN: r63025

21 years agoColorModel.java: Re-merged with Classpath.
Tom Tromey [Tue, 18 Feb 2003 00:57:26 +0000 (00:57 +0000)]
ColorModel.java: Re-merged with Classpath.

* java/awt/image/ColorModel.java: Re-merged with Classpath.
* java/awt/image/ImageFilter.java: Likewise.

From-SVN: r63024

21 years agoDaily bump.
GCC Administrator [Tue, 18 Feb 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r63023

21 years agoBigInteger.java (euclidInv): Return array of `BigInteger's.
Raif S. Naffah [Mon, 17 Feb 2003 23:18:39 +0000 (23:18 +0000)]
BigInteger.java (euclidInv): Return array of `BigInteger's.

2003-02-17  Raif S. Naffah <raif@fl.net.au>

* java/math/BigInteger.java (euclidInv): Return array of
`BigInteger's.  Changed all callers.

From-SVN: r63014

21 years agospe.h (__ev_stdd): Cast 2nd arg.
Aldy Hernandez [Mon, 17 Feb 2003 23:14:41 +0000 (23:14 +0000)]
spe.h (__ev_stdd): Cast 2nd arg.

2003-02-17  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
        (__ev_stdw): Same.
        (__ev_stdh): Same.

From-SVN: r63012

21 years agolocale-inst.cc: Do not include <cassert>.
Paolo Carlini [Mon, 17 Feb 2003 21:42:05 +0000 (22:42 +0100)]
locale-inst.cc: Do not include <cassert>.

2003-02-17  Paolo Carlini  <pcarlini@unitus.it>

* src/locale-inst.cc: Do not include <cassert>.
* src/locale.cc: Likewise.

From-SVN: r63009

21 years agore PR libstdc++/9580 (basic_filebuf<> with custom traits_type fails to link)
Paolo Carlini [Mon, 17 Feb 2003 20:07:48 +0000 (21:07 +0100)]
re PR libstdc++/9580 (basic_filebuf<> with custom traits_type fails to link)

2003-02-17  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9580
* include/std/std_fstream.h: Declare underflow and uflow
specializations, change generic definitions to do nothing.
* src/fstream.cc: Add underflow and uflow specializations.

From-SVN: r63008

21 years agoProperties.java (store): Move the code formerly in list(), into this method.
Ranjit Mathew [Mon, 17 Feb 2003 19:05:56 +0000 (19:05 +0000)]
Properties.java (store): Move the code formerly in list(), into this method.

2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>

* java/util/Properties.java (store): Move the code formerly in
list(), into this method.
(list (PrintStream)): Just call list (PrintWriter) with a
PrintWriter object constructed from the given PrintStream object.
(list (PrintWriter)): Emulate the output of Properties.list()
as found in JDK 1.3/1.4.

From-SVN: r63006

21 years agore PR libstdc++/9169 (filebuf output fails if codecvt<>::out returns noconv)
Paolo Carlini [Mon, 17 Feb 2003 19:05:01 +0000 (20:05 +0100)]
re PR libstdc++/9169 (filebuf output fails if codecvt<>::out returns noconv)

2003-02-17  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9169
* include/bits/fstream.tcc (_M_convert_to_external):
Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
* testsuite/27_io/filebuf_virtuals.cc (test10): Add.

From-SVN: r63004

21 years agoCompareNaN.java: New test.
Jeff Sturm [Mon, 17 Feb 2003 16:07:49 +0000 (16:07 +0000)]
CompareNaN.java: New test.

* libjava.lang/CompareNaN.java: New test.
* libjava.lang/CompareNaN.out: New test.

From-SVN: r63003

21 years agore PR c++/9457 (ICE in tsubst_copy, at cp/pt.c:7124)
Kriang Lerdsuwanakij [Mon, 17 Feb 2003 15:42:58 +0000 (15:42 +0000)]
re PR c++/9457 (ICE in tsubst_copy, at cp/pt.c:7124)

PR c++/9457
* pt.c (tsubst_copy_and_build) [CONSTRUCTOR]: Substitute
CONSTRUCTOR_ELTS only once.

* g++.dg/template/init1.C: New test.

From-SVN: r63002

21 years agoForgot to add these two files to cimmot command line
Michael Koch [Mon, 17 Feb 2003 15:39:52 +0000 (15:39 +0000)]
Forgot to add these two files to cimmot command line

From-SVN: r63001

21 years ago2003-02-17 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 17 Feb 2003 15:33:54 +0000 (15:33 +0000)]
2003-02-17  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(connect): Merged with classpath.
(disconnect): Merged documentation with classpath.
(receice): Merged documentation with classpath.
(send): Merged documentation with classpath.

From-SVN: r63000

21 years ago2003-02-17 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 17 Feb 2003 15:26:30 +0000 (15:26 +0000)]
2003-02-17  Michael Koch  <konqueror@gmx.de>

* java/awt/dnd/DragSourceContext.java
(addDragSourceListener): Added documentation.
* java/awt/dnd/DragSourceDragEvent.java
(serialVersionUID): New member variable.
(getDropAction): Reformated.
* java/awt/dnd/DragSourceDropEvent.java
(serialVersionUID): New member variable.
(dropSuccess): Renamed from success for serialization issues.
* java/awt/dnd/DragSourceEvent.java
(serialVersionUID): New member variable.
* java/awt/dnd/DropTarget.java
(serialVersionUID): New member variable.
(DropTarget): Implemented, documentation reworked.
(setComponent): Documentation added.
(getComponent): Documentation added.
(setDefaultActions): Documentation added.
(getDefaultActions): Documentation added.
(addDropTargetListener): Documentation added.
* java/awt/dnd/DropTargetContext.java
(DropTargetContext): Documentation added.
(TransferableProxy.TransferableProxy): New method.
(dropComplete): Fixed documentation.
(getTransferable): Fixed documentation.
(createTransferableProxy): Implemented.
* java/awt/dnd/DropTargetDragEvent.java
(DropTargetDragEvent): Documentation added.
(serialVersionUID): New member variable.
(DropTargetDragEvent): Throw exceptions, documentation added.
(acceptDrag): Implemented.
(getCurrentDataFlavors): Implemented.3yy
(getCurrentDataFlavorsAsList): Implemented.
(isDataFlavorSupported): Implemented.
(rejectDrag): Implemented.
* java/awt/dnd/DropTargetDropEvent.java
(DropTargetDropEvent): Documentation added.
(serialVersionUID): New member variable.
(actions): Renamed from srcActions for serialization issues.
(isLocalTx): Renamed from isLocalTx for serialization issues.
(DropTargetDropEvent): New implementation, throw exceptions,
documentation added.
(getCurrentDataFlavors): Implemented.
(getCurrentDataFlavorsAsList): Implemented.
(isDataFlavorSupported): Implemented.
(getSourceActions): Implemented.
(getDropAction): Implemented.
(getTransferable): Implemented.
(acceptDrop): Implemented.
(rejectDrop): Implemented.
* java/awt/dnd/DropTargetListener.java
(drop): Fixed documentation.
* java/awt/dnd/MouseDragGestureRecognizer.java
(MouseDragGestureRecognizer): Documentation added.

2003-02-17  Michael Koch  <konqueror@gmx.de>

* java/awt/font/FontRenderContext.java,
java/awt/font/ShapeGraphicAttribute.java,
java/awt/font/MultipleMaster.java,
java/awt/font/TransformAttribute.java,
java/awt/font/GlyphJustificationInfo.java,
java/awt/font/LineBreakMeasurer.java,
java/awt/font/TextMeasurer.java,
java/awt/font/TextLayout.java,
java/awt/font/LineMetrics.java,
java/awt/font/TextAttribute.java,
java/awt/font/GlyphMetrics.java,
java/awt/font/OpenType.java,
java/awt/font/GlyphVector.java,
java/awt/font/GraphicAttribute.java,
java/awt/font/ImageGraphicAttribute.java,
java/awt/font/NumericShaper.java: New files.
* Makefile.am
(awt_java_source_files): Added the following files:
java/awt/font/FontRenderContext.java
java/awt/font/ShapeGraphicAttribute.java
java/awt/font/MultipleMaster.java
java/awt/font/TransformAttribute.java
java/awt/font/GlyphJustificationInfo.java
java/awt/font/LineBreakMeasurer.java
java/awt/font/TextMeasurer.java
java/awt/font/TextLayout.java
java/awt/font/LineMetrics.java
java/awt/font/TextAttribute.java
java/awt/font/GlyphMetrics.java
java/awt/font/OpenType.java
java/awt/font/GlyphVector.java
java/awt/font/GraphicAttribute.java
java/awt/font/ImageGraphicAttribute.java
java/awt/font/NumericShaper.java
* Makefile.in: Regenerated.

2003-02-17  Michael Koch  <konqueror@gmx.de>

* java/awt/print/Paper.java
(Paper): Implements Cloneable.
* java/awt/print/PrinterJob.java
(setJobName): Return value must be void.
(print): Throws PrinterException.

From-SVN: r62999

21 years ago* recog.c (split_all_insns): Fix memory overflow.
Jan Hubicka [Mon, 17 Feb 2003 15:21:32 +0000 (16:21 +0100)]
* recog.c (split_all_insns):  Fix memory overflow.

From-SVN: r62998

21 years agoh8300.md (cmpqi): Remove mode from compare.
Kazu Hirata [Mon, 17 Feb 2003 15:00:04 +0000 (15:00 +0000)]
h8300.md (cmpqi): Remove mode from compare.

* config/h8300/h8300.md (cmpqi): Remove mode from compare.
(cmphi): Likewise.
(*cmphi_h8300): Likewise.
(*cmphi_h8300hs): Likewise.
(cmpsi): Likewise.
(7 peephole2): Likewise.

From-SVN: r62996

21 years agoDaily bump.
GCC Administrator [Mon, 17 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r62995

21 years agoc-typeck.c (build_c_cast): Fold constant variables into initial values.
Jan Hubicka [Sun, 16 Feb 2003 22:10:10 +0000 (22:10 +0000)]
c-typeck.c (build_c_cast): Fold constant variables into initial values.

* c-typeck.c (build_c_cast):  Fold constant variables into
initial values.

* gcc.dg/c90-const-expr-3.c (DZERO): New static variable
(foo): Add few extra tests
* gcc.dg/c99-const-expr-3.c: Likewise.
* gcc.c-torture/execute/20030216-1.c: New.

From-SVN: r62987

21 years agoinstall.texi (Specific): Fix link for m68k-att-sysv.
Gerald Pfeifer [Sun, 16 Feb 2003 21:07:30 +0000 (22:07 +0100)]
install.texi (Specific): Fix link for m68k-att-sysv.

* doc/install.texi (Specific): Fix link for m68k-att-sysv.
(Binaries): Ditto for Sinix/Reliant Unix.

From-SVN: r62984

21 years agoMAINTAINERS: Remove John Carr (who never actually had access to gcc.gnu.org).
Gerald Pfeifer [Sun, 16 Feb 2003 20:10:37 +0000 (21:10 +0100)]
MAINTAINERS: Remove John Carr (who never actually had access to gcc.gnu.org).

* MAINTAINERS: Remove John Carr (who never actually had access to
gcc.gnu.org).

From-SVN: r62982

21 years agoarm.c (arm_reload_in_hi): Ensure that the scratch register does not overlap the final...
Richard Earnshaw [Sun, 16 Feb 2003 19:40:11 +0000 (19:40 +0000)]
arm.c (arm_reload_in_hi): Ensure that the scratch register does not overlap the final result register.

* arm.c (arm_reload_in_hi): Ensure that the scratch register does
not overlap the final result register.

From-SVN: r62981

21 years agoverify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused variable.
Tom Tromey [Sun, 16 Feb 2003 19:34:49 +0000 (19:34 +0000)]
verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused variable.

* verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
variable.

From-SVN: r62980

21 years agore PR c++/9459 (typeof in return type specification of template not supported)
Kriang Lerdsuwanakij [Sun, 16 Feb 2003 17:04:27 +0000 (17:04 +0000)]
re PR c++/9459 (typeof in return type specification of template not supported)

PR c++/9459
* error.c (dump_type_prefix): Handle TYPEOF_TYPE.
(dump_type_suffix): Likewise.

* g++.dg/ext/typeof4.C: New test.

From-SVN: r62973

21 years ago+ * libjava.mauve/xfails: Add Class.reflect2 and String.getBytes FAILs.
Mark Wielaard [Sun, 16 Feb 2003 14:47:03 +0000 (14:47 +0000)]
+       * libjava.mauve/xfails: Add Class.reflect2 and String.getBytes FAILs.

From-SVN: r62970

21 years agoNew file.
Richard Henderson [Sun, 16 Feb 2003 08:33:17 +0000 (00:33 -0800)]
New file.

From-SVN: r62968

21 years agoMark PR last change.
Richard Henderson [Sun, 16 Feb 2003 08:26:30 +0000 (00:26 -0800)]
Mark PR last change.

From-SVN: r62966

21 years agofold-const.c (extract_muldiv_1): Rename from extract_muldiv; rearrange mult arguments...
Arend Bayer [Sun, 16 Feb 2003 08:24:25 +0000 (08:24 +0000)]
fold-const.c (extract_muldiv_1): Rename from extract_muldiv; rearrange mult arguments for less recursion.

        * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
        rearrange mult arguments for less recursion.
        (extract_muldiv): New.  Prevent runaway recursion.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r62963

21 years agocygwin.h (TARGET_SUBTARGET_DEFAULT): Set MASK_ALIGN_DOUBLE.
Danny Smith [Sun, 16 Feb 2003 06:27:19 +0000 (06:27 +0000)]
cygwin.h (TARGET_SUBTARGET_DEFAULT): Set MASK_ALIGN_DOUBLE.

* config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
MASK_ALIGN_DOUBLE.

From-SVN: r62960

21 years agoi386.c (x86_ext_80387_constants): Use 80387 insns to load mathematical constants...
Roger Sayle [Sun, 16 Feb 2003 01:35:38 +0000 (01:35 +0000)]
i386.c (x86_ext_80387_constants): Use 80387 insns to load mathematical constants on K6, Athlon, Pentium 4 and PPro.

2003-02-15  Roger Sayle  <roger@eyesopen.com>

* config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
(ext_80387_constants_table): Global table of 80387 special constants
guarded by ext_80387_constants_init flag when not initialized.
(init_ext_80387_constants): New function to initialize this table.
(standard_80387_constant_p): Extend to recognize extra 80387
constants, in XFmode, on processors where this is a win.
(standard_80387_constant_opcode): New function to return the
opcode associated with standard_80387_constant_p.
(standard_80387_constant_rtx): New function to return the XFmode
CONST_DOUBLE associated with standard_80387_constant_p.
(ix86_rtx_costs): Give the new constants the same cost as 1.0.

* config/i386/i386-protos.h (standard_80387_constant_opcode):
Prototype here.
(standard_80387_constant_rtx): Likewise.

* config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
*movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
*movtf_integer): Simplify using new standard_80387_constant_opcode.

* gcc.dg/i386-387-3.c: New test case.

From-SVN: r62958

21 years ago* doc/invoke.texi (Optimize Options): Correct @option syntax.
Geoffrey Keating [Sun, 16 Feb 2003 01:11:41 +0000 (01:11 +0000)]
* doc/invoke.texi (Optimize Options): Correct @option syntax.

From-SVN: r62957

21 years agoconfigure.in (*-*-darwin*): Rename from powerpc*-*-darwin*, don't configure target...
Geoffrey Keating [Sun, 16 Feb 2003 01:09:27 +0000 (01:09 +0000)]
configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*, don't configure target-libobjc.

* configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*,
don't configure target-libobjc.
* configure: Regenerate.

From-SVN: r62956

21 years agoMakefile.in (cfglayout.o): Depend on TARGET_H.
Richard Henderson [Sun, 16 Feb 2003 00:58:29 +0000 (16:58 -0800)]
Makefile.in (cfglayout.o): Depend on TARGET_H.

        * Makefile.in (cfglayout.o): Depend on TARGET_H.
        * cfglayout.c: Include target.h.
        (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
        * target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
        * target.h (struct gcc_target): Add cannot_copy_insn_p.

        * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
        (TARGET_CANNOT_COPY_INSN_P): New.
        (override_options): Revert 2003-02-08 hack.

From-SVN: r62955

21 years agoDaily bump.
GCC Administrator [Sun, 16 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r62954

21 years ago- Add copyright notices.
David Edelsohn [Sat, 15 Feb 2003 22:04:30 +0000 (17:04 -0500)]
- Add copyright notices.

From-SVN: r62946

21 years agogcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
Richard Henderson [Sat, 15 Feb 2003 21:37:22 +0000 (13:37 -0800)]
gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.

        * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
        (bypass_conditional_jumps): Accept computed_jump_p insns as well.

From-SVN: r62945

21 years agobb-reorder.c (find_traces_1_round): Don't connect easy to copy successors with multip...
Richard Henderson [Sat, 15 Feb 2003 21:22:56 +0000 (13:22 -0800)]
bb-reorder.c (find_traces_1_round): Don't connect easy to copy successors with multiple predecessors.

        * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
        successors with multiple predecessors.
        (connect_traces): Try harder to copy traces of length 1.

        * function.h (struct function): Add computed_goto_common_label,
        computed_goto_common_reg.
        * function.c (free_after_compilation): Zap them.
        * stmt.c (expand_computed_goto): Use them to produce one
        indirect branch per function.

From-SVN: r62944

21 years agors6000.h (processor_type): Add PPC440.
David Edelsohn [Sat, 15 Feb 2003 21:19:01 +0000 (21:19 +0000)]
rs6000.h (processor_type): Add PPC440.

* config/rs6000/rs6000.h (processor_type): Add PPC440.
* config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
TARGET_SCHED_VARIABLE_ISSUE): Define.
(rs6000_use_dfa_pipeline_interface): New function.
(rs6000_multipass_dfa_lookahead): New Function.
(rs6000_variable_issue): New function.
(rs6000_adjust_cost): Add CMP and DELAYED_CR types.
(rs6000_issue_rate): Add PPC440.
* config/rs6000/rs6000.md (unspec list): Correct typo.
(attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
cmp, delayed_cr, mfcr, mtcr.
(automata_option): Set "ndfa".
(extendMMNN2): Update attributes.
(movcc_internal1): Discourage move to non-cr0.  Update
attributes.
(movMM_update): Update attributes.
(cmpMM_internal): Update attributes.
(sCC CR materialization): Update attributes.
(branch patterns): Do not discourage non-cr0.
(cr logical patterns): Prefer destructive register allocation.
Update attributes.
(movesi_from_cr): Update attribute.
(mtcrf_operation): Update attribute.
(mtcrfsi): Update attribute.
* config/rs6000/40x.md: New file.
* config/rs6000/603.md: New file.
* config/rs6000/6xx.md: New file.
* config/rs6000/7450.md: New file.
* config/rs6000/7xx.md: New file.
* config/rs6000/mpc.md: New file.
* config/rs6000/power4.md: New file.
* config/rs6000/rios1.md: New file.
* config/rs6000/rios2.md: New file.
* config/rs6000/rs64.md: New file.
[Some DFA descriptions based on work by Michael Hayes]

From-SVN: r62943

21 years agocfgcleanup.c: Include params.h.
Richard Henderson [Sat, 15 Feb 2003 21:06:16 +0000 (13:06 -0800)]
cfgcleanup.c: Include params.h.

        * cfgcleanup.c: Include params.h.
        (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES.  Fix test for
        too many outgoing edges from a block.
        * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
        * params.def (max-crossjump-edges): New.
        * doc/invoke.texi: Document it.

From-SVN: r62942

21 years agorecog.c (split_all_insns): Include new blocks in life update; do a global life update.
Richard Henderson [Sat, 15 Feb 2003 21:01:48 +0000 (13:01 -0800)]
recog.c (split_all_insns): Include new blocks in life update; do a global life update.

        * recog.c (split_all_insns): Include new blocks in life update;
        do a global life update.

From-SVN: r62941

21 years agosearch.c: ANSIfy function declarations and definitions.
Nathan Sidwell [Sat, 15 Feb 2003 18:03:22 +0000 (18:03 +0000)]
search.c: ANSIfy function declarations and definitions.

* search.c: ANSIfy function declarations and definitions.
* cp-tree.h (lookup_field, lookup_member): Last parameter is a bool.
* call.c (build_method_call, resolve_scoped_fn_name,
build_java_interface_fn_ref): Adjust lookup_field, lookup_member
calls.
* class.c (handle_using_decl): Likewise.
* decl.c (make_typename_type, make_unmound_class_template,
start_decl, compute_array_index_type): Likewise.
* decl2.c (build_expr_from_tree, build_call_from_tree): Likewise.
* init.c (expand_member_init, build_member_call): Likewise.
* pt.c (tsubst_copy, tsubst_copy_and_build, do_decl_instantiation,
resolve_typename_type): Likewise.
* typeck.c (lookup_destructor, finish_class_member_access_exprm
build_prememfunc_access_expr): Likewise.

From-SVN: r62939

21 years agolibjava.exp (test_libjava_from_javac): Use regsub not string map.
Mark Wielaard [Sat, 15 Feb 2003 16:39:28 +0000 (16:39 +0000)]
libjava.exp (test_libjava_from_javac): Use regsub not string map.

       * lib/libjava.exp (test_libjava_from_javac): Use regsub not string map.
       * libjava.mauve/mauve.exp (mauve_compute_uses): Likewise.
       (test_mauve): Likewise.

From-SVN: r62937

21 years ago2003-02-15 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 15 Feb 2003 13:26:26 +0000 (13:26 +0000)]
2003-02-15  Michael Koch  <konqueror@gmx.de>

* java/awt/datatransfer/DataFlavor.java
(isRepresentationClassByteBuffer): Removed try-catch block.
(isRepresentationClassCharBuffer): Removed try-catch block.
(isRepresentationClassReader): Removed try-catch block.

From-SVN: r62935

21 years ago2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
Jesse Rosenstock [Sat, 15 Feb 2003 09:39:51 +0000 (09:39 +0000)]
2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

* java/nio/charset/Charset.java
(isRegistered): Fixed method args and implementation.
* java/nio/charset/CharsetEncoder.java
(unmappableCharacterAction): New method.

From-SVN: r62934

21 years ago2003-02-15 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 15 Feb 2003 09:21:55 +0000 (09:21 +0000)]
2003-02-15  Michael Koch  <konqueror@gmx.de>

* java/awt/CheckboxMenuItem.java
(CheckBoxMenuItem): Dont implement Serializable.
(getListeners): New method,
(getItemListeners): New method.
* java/awt/Choice.java
(getListeners): New method,
(getItemListeners): New method.
* java/awt/Container.java
(getListeners): Added exception documentation.
(setFocusTraversalKeys): Throw exceptions, added documentattion.
(getFocusTraversalKeys): Added documentation.
(areFocusTraversalKeysSet): Added documentation.
(applyComponentOrientation): Added documentation.
* java/awt/ContainerOrderFocusTraversalPolicy.java
(implicitDownCycleTraversal): Renamed from downCycle for
serialization.
(ContainerOrderFocusTraversalPolicy): Added documentation.
(accept): Reformated.
* java/awt/Dialog.java
(Dialog): Dont implement Serializable.
(Dialog): Added documentation.
* java/awt/Font.java
(Font): Dont use absolute class name.
* java/awt/Frame.java
(Frame): Font implement Serializable.
* java/awt/List.java
(getListeners): New method,
(getActionListeners): New method.
(getItemListeners): New method.
* java/awt/Menu.java
(countItems): New deprecated method.
* java/awt/Scrollbar.java
(getListeners): New method,
(getAdjustmentListeners): New method,
* java/awt/TextComponent.java
(getListeners): New method,
(getTextListeners): New method,
* java/awt/TextField.java
(getListeners): New method,
(getActionListeners): New method.
* java/awt/Window.java
(windowFocusListener): New member variable.
(windowStateListener): New member variable.
(getWindowFocusListeners): New method.
(getWindowStateListeners): New method.
(addWindowFocusListener): New method.
(addWindowStateListener): New method.
(removeWindowFocusListener): New method.
(removeWindowStateListener): New method.
* java/awt/datatransfer/DataFlavor.java
(isRepresentationClassByteBuffer): New method.
(isRepresentationClassCharBuffer): New method.
(isRepresentationClassReader): New method.

From-SVN: r62933

21 years agomingw32.h (LIBGCC_SPEC): Add libmingwex.a.
Danny Smith [Sat, 15 Feb 2003 04:58:22 +0000 (04:58 +0000)]
mingw32.h (LIBGCC_SPEC): Add libmingwex.a.

* config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
Update copyright.
* config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a, for
-mno-cygwin case.

From-SVN: r62932

21 years agoDaily bump.
GCC Administrator [Sat, 15 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r62931

21 years agore PR rtl-optimization/7702 (gcc-3.2 optimization problem on a DEC alpha under OSF1)
Falk Hueffner [Fri, 14 Feb 2003 22:23:48 +0000 (14:23 -0800)]
re PR rtl-optimization/7702 (gcc-3.2 optimization problem on a DEC alpha under OSF1)

        PR optimization/7702
        * reload1.c (reload_cse_simplify_set): Honor
        CANNOT_CHANGE_MODE_CLASS.

From-SVN: r62921

21 years agolibjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters...
Mark Wielaard [Fri, 14 Feb 2003 22:17:00 +0000 (22:17 +0000)]
libjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters and always quote class files with...

       * lib/libjava.exp (test_libjava_from_javac): Don't create .o files
       containing $ characters and always quote class files with "'"s.

From-SVN: r62919

21 years agomn10300.c (mn10300_wide_const_load_uses_clr): New function.
Alexandre Oliva [Fri, 14 Feb 2003 21:47:48 +0000 (21:47 +0000)]
mn10300.c (mn10300_wide_const_load_uses_clr): New function.

* config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
function.
* config/mn10300/mn10300-protos.h: Declare it.
* config/mn10300/mn10300.md (movdi, movdf): Use it to compute
attribute cc of instructions that may use clr.

From-SVN: r62916

21 years agomauve.exp (mauve_compute_uses): Add inner class object files by changing all occuranc...
Mark Wielaard [Fri, 14 Feb 2003 20:36:00 +0000 (20:36 +0000)]
mauve.exp (mauve_compute_uses): Add inner class object files by changing all occurances of $ to ^.

       * libjava.mauve/mauve.exp (mauve_compute_uses): Add inner class
       object files by changing all occurances of $ to ^.
       (test_mauve): Replace ^ with $ for class file names and quote
       them with "'"s.

From-SVN: r62914

21 years agoMakefile.tpl (RANLIB): Define.
Rainer Orth [Fri, 14 Feb 2003 20:35:24 +0000 (20:35 +0000)]
Makefile.tpl (RANLIB): Define.

* Makefile.tpl (RANLIB): Define.
* Makefile.in: Regenerate.

From-SVN: r62913

21 years agoBigDecimal.java (BigDecimal(String)): Always set scale to zero when there is an expon...
Mark Wielaard [Fri, 14 Feb 2003 18:48:50 +0000 (18:48 +0000)]
BigDecimal.java (BigDecimal(String)): Always set scale to zero when there is an exponent and the significant is zero.

       * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
       zero when there is an exponent and the significant is zero.
       (divide): Always set scale to newScale even in special ZERO case.

From-SVN: r62908

21 years agosimplify-rtx.c (simplify_binary_operation): Simplify ~y when (x - (x & y)) is found.
Kazu Hirata [Fri, 14 Feb 2003 17:50:30 +0000 (17:50 +0000)]
simplify-rtx.c (simplify_binary_operation): Simplify ~y when (x - (x & y)) is found.

* simplify-rtx.c (simplify_binary_operation): Simplify ~y when
(x - (x & y)) is found.

From-SVN: r62906

21 years agoSystem.java (properties): Use Properties.clone.
Tom Tromey [Fri, 14 Feb 2003 17:43:34 +0000 (17:43 +0000)]
System.java (properties): Use Properties.clone.

* java/lang/System.java (properties): Use Properties.clone.
(setProperties): Likewise.

From-SVN: r62903

21 years agoconfigure.in: Fix typo.
Rainer Orth [Fri, 14 Feb 2003 17:28:55 +0000 (17:28 +0000)]
configure.in: Fix typo.

* configure.in: Fix typo.
* configure: Regenerate.

From-SVN: r62902

21 years ago* config/h8300/h8300.md (a peephole2): New.
Kazu Hirata [Fri, 14 Feb 2003 16:22:03 +0000 (16:22 +0000)]
* config/h8300/h8300.md (a peephole2): New.

From-SVN: r62900

21 years agonatServerSocketChannelImpl.cc: Removed.
Michael Koch [Fri, 14 Feb 2003 12:07:31 +0000 (12:07 +0000)]
natServerSocketChannelImpl.cc: Removed.

2003-02-14  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
* gnu/java/nio/ServerSocketChannelImpl.java
(SocketAccept): Removed.
(accept): Commented out use of SocketAccept.

From-SVN: r62898