Commit Graph

58167 Commits

Author SHA1 Message Date
Eric Christopher
2e592dceb5 mips.md: Update the madd define_split for new mflo/mfhi representation.
* config/mips/mips.md: Update the madd define_split for new mflo/mfhi
	representation.

From-SVN: r81514
2004-05-05 08:37:30 +00:00
Tom Tromey
aaec686eff CompoundName.java (endsWith): Look at correct element of source name.
2004-05-05  Tom Tromey  <tromey@redhat.com>

	* javax/naming/CompoundName.java (endsWith): Look at correct
	element of source name.

From-SVN: r81513
2004-05-05 08:32:19 +00:00
Mark Wielaard
b1210ca233 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
2004-05-05  Mark Wielaard  <mark@klomp.org>

	Reported by f.haeglsperger@gmx.de [classpath patch #2485]
	* java/util/HashMap.java (rehash): Add entry at start of bucket.

From-SVN: r81512
2004-05-05 08:28:13 +00:00
Tom Tromey
a54f498a27 BufferedReader.java (skip): Removed unused variable.
2004-05-05  Tom Tromey  <tromey@redhat.com>

	* java/io/BufferedReader.java (skip): Removed unused
	variable.

From-SVN: r81511
2004-05-05 08:24:13 +00:00
Paolo Bonzini
7c62e9932f rs6000.c (build_opaque_vector_type): New function.
2004-05-05  Paolo Bonzini  <bonzini@gnu.org>

	* config/rs6000/rs6000.c (build_opaque_vector_type):
	New function.
	(rs6000_init_builtins): Use it.

From-SVN: r81509
2004-05-05 07:42:52 +00:00
Richard Sandiford
ce7f07bdc1 * gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version.
From-SVN: r81508
2004-05-05 07:41:24 +00:00
Michael Koch
e843041826 FileDialog.java: Import java.io.Serializable explicitly.
2004-05-05  Michael Koch  <konqueror@gmx.de>

	* java/awt/FileDialog.java: Import java.io.Serializable explicitly.

From-SVN: r81507
2004-05-05 07:38:57 +00:00
Dalibor Topic
f32c742c5f AttributedString.java, [...]: Cleaned up imports.
2004-05-05  Dalibor Topic  <robilad@kaffe.org>

	* java/text/AttributedString.java,
	java/text/AttributedStringIterator.java,
	java/text/Collator.java,
	java/text/DecimalFormatSymbols.java,
	java/text/NumberFormat.java,
	java/text/RuleBasedCollator.java:
	Cleaned up imports.

From-SVN: r81506
2004-05-05 07:35:49 +00:00
Bernard Giroud
87fac4e31c Patch from Bernard Giroud.
* gcc/gcc/vmsdbgout.c (vms_func_node, vms_func_ref): New.
(func_table): Change type from char ** to vms_func_ref.
(write_rtnbeg):  Update to reflect func_table change.  Use
fde->funcdef_number instead of rtnnum in output.
(write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise.

From-SVN: r81505
2004-05-05 00:31:05 -07:00
Paolo Bonzini
cc27e657d3 re PR target/14899 (wrong code due to change in compatibility rules for vector types)
gcc/ChangeLog:
2004-05-04  Paolo Bonzini  <bonzini@gnu.org>
            Richard Henderson  <rth@redhat.com>

        PR target/14899

        * c-common.c (vector_types_convertible_p): New function.
        * c-typeck.c (comptypes): Recurse on vector types.
        (convert_for_assignment): Use vector_types_convertible_p.
        (digest_init): Use vector_types_convertible_p to check
        validness of constant vector initializers; otherwise treat
        them as scalars.
        * tree.c (make_or_reuse_type): New.
        (build_common_tree_nodes): Use it.
        * cp/call.c (standard_conversion): Likewise.
        * cp/typeck.c (comptypes): Recurse on vector types.
        (convert_for_assignment): Use vector_types_convertible_p.
        * config/rs6000/rs6000.c (build_opaque_vector_type):
        New function.
        (rs6000_init_builtins): Use it.


gcc/testsuite/ChangeLog:
2004-05-04  Paolo Bonzini  <bonzini@gnu.org>

	* g++.dg/ext/spe1.C: New testcase.

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

From-SVN: r81504
2004-05-05 07:23:00 +00:00
Tom Tromey
d70bd7fff0 Format.java: Cleaned up imports.
2004-05-05  Tom Tromey  <tromey@redhat.com>

	* java/text/Format.java: Cleaned up imports.
	* java/text/DecimalFormat.java: Cleaned up imports.
	* java/security/SecureRandom.java: Cleaned up imports.
	(SecureRandom): Removed unused variable.
	* java/security/UnresolvedPermission.java: Cleaned up imports.
	* java/util/Date.java (parse): Removed unused variable.
	* java/util/ResourceBundle.java: Cleaned up imports.
	(getBundle): Removed unused variable.
	(tryBundle): Likewise.
	* java/util/regex/Pattern.java (Pattern): Removed unused constructor.

From-SVN: r81503
2004-05-05 06:52:56 +00:00
Guilhem Lavaux
b335a54914 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormat.java
	(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
	(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
	(parse): Fixed handling of exponentiation notation and grouping.

From-SVN: r81502
2004-05-05 06:02:37 +00:00
GCC Administrator
07b232667e Daily bump.
From-SVN: r81498
2004-05-05 00:16:42 +00:00
Chris Demetriou
6fc8a30a41 mips.c (override_options): Default to no generation of branch-likely operations when...
2004-05-04  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (override_options): Default to no
        generation of branch-likely operations when tuning for
        CPUs where they tend to have a negative performance impact
        (e.g., SB-1).

From-SVN: r81494
2004-05-04 16:57:42 -07:00
Guilhem Lavaux
2225a42a9e 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/SimpleDateFormat.java:
	(formatWithAttribute): New method. It implements
	the formatting process with attributes.
	(format): Use formatWithAttribute.
	(formatToCharacterIterator): New method. Use
	formatWithAttribute.

From-SVN: r81493
2004-05-04 22:14:12 +00:00
Guilhem Lavaux
1f64614267 MessageFormat.java: (class Field): New class.
2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/MessageFormat.java:
	(class Field): New class.
	(formatToCharacterIterator): New method.
	(format): Use formatInternal now.
	(formatInternal): New method. String formatter should
	be done here (with attributes). Attributes merging supported.
	(parse): More documentation.
	(getFormatsByArgumentIndex): New method.
	(setFormatByArgumentIndex): New method.
	(setFormatsByArgumentIndex): New method.

From-SVN: r81492
2004-05-04 22:05:25 +00:00
Guilhem Lavaux
8cf1edb30c 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormat.java
	(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
	(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
	(parse): Fixed handling of exponentiation notation and grouping.

2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/DecimalFormat.java
	(scanFix): Build attribute array. Fixed error reporting.
	(applyPatternWithSymbols): Store attributes for the prefix and
	suffix.
	(formatInternal): New method. Changed the way the string is
	computed. Implemented attributes. Cleant up rounding in
	exponential notation.
	(format): Use formatInternal.
	(formatToCharacterIterator): New method.
	(exponentRound, negativePrefixRanges, positivePrefixRanges,
	negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
	positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
	New fields.

From-SVN: r81491
2004-05-04 22:00:30 +00:00
Dalibor Topic
aff9d141f6 DSAKeyPairGenerator.java, [...]: Cleaned up imports.
2004-05-04  Dalibor Topic  <robilad@kaffe.org>

	* java/security/interfaces/DSAKeyPairGenerator.java,
	java/security/interfaces/DSAPrivateKey.java,
	java/security/interfaces/DSAPublicKey.java,
	java/security/interfaces/RSAPrivateKey.java,
	java/security/interfaces/RSAPublicKey.java:
	Cleaned up imports.

From-SVN: r81490
2004-05-04 21:40:42 +00:00
Michael Koch
933522fbc3 2004-05-04 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBuffer.java,
	java/nio/CharBuffer.java,
	java/nio/DoubleBuffer.java,
	java/nio/FloatBuffer.java,
	java/nio/IntBuffer.java,
	java/nio/LongBuffer.java,
	java/nio/ShortBuffer.java:
	(compareTo): Fixed bogus implementation in all buffer classes.

From-SVN: r81489
2004-05-04 21:31:30 +00:00
Richard Kenner
6c89c39a48 expr.c (store_constructor_field): Don't call store_constructor if bitsize is not a multiple of a byte.
* expr.c (store_constructor_field): Don't call store_constructor
	if bitsize is not a multiple of a byte.

From-SVN: r81487
2004-05-04 15:57:35 -04:00
Ingo Proetel
27c2c3ec4a ColorModel.java (getRGBdefault): Default ColorModel has 32 bit pixels not 8 bit pixels.
2004-05-04  Ingo Proetel  <proetel@aicas.com>

	* java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
        32 bit pixels not 8 bit pixels.
	(isCompatibleRaster): Added javadoc comment.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

	* java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
	scanline stride.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

	* java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
	(getColorModel): Return the actual color model.
	(getRaster): Implemented.
	(ColorRaster): New inner class.
	* java/awt/SystemColor.java (createContext): Use ColorModel when creating
	a PaintContext.
	* java/awt/Color.java (<init>): Make exception more verbose.
	(createContext): Use ColorModel when creating a PaintContext.

From-SVN: r81486
2004-05-04 19:27:11 +00:00
Ziemowit Laski
fae4c98f1b image-info.m: Allow additional attributes for __image_info section.
2004-05-04  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/image-info.m: Allow additional attributes
        for __image_info section.

From-SVN: r81483
2004-05-04 19:03:38 +00:00
Michael Koch
a31d9d6c30 2004-05-04 Michael Koch <konqueror@gmx.de>
* gnu/java/text/CharacterBreakIterator.java
	(previous): Removed unused variable.

From-SVN: r81482
2004-05-04 18:48:53 +00:00
Andreas Jaeger
073273c359 demangle.h: Do not use C++ reserved keyword typename as parameter for...
* demangle.h: Do not use C++ reserved keyword typename as
	parameter for cplus_demangle_fill_builtin_type.

From-SVN: r81481
2004-05-04 20:13:54 +02:00
Richard Sandiford
b5ba341fce reload1.c (inherit_piecemeal_p): New function.
* reload1.c (inherit_piecemeal_p): New function.
	(emit_reload_insns): When reloading a group of hard registers, use
	inherit_piecemeal_p to decide whether the values of individual hard
	registers can be inherited.

From-SVN: r81480
2004-05-04 17:57:39 +00:00
Guilhem Lavaux
065afdfa8e FormatBuffer.java, [...]: New classes to implement attributed iterators in java.text.
2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>

	* gnu/java/text/FormatBuffer.java,
	gnu/java/text/AttributedFormatBuffer.java,
	gnu/java/text/StringFormatBuffer.java: New classes to implement
	attributed iterators in java.text.
	* gnu/java/text/FormatCharacterIterator.java: Moved
	from java/text as it is an internal class.
	* java/text/FormatCharacterIterator.java: Removed.
	* java/text/Format.java:
	Import gnu.java.text.FormatCharacterIterator.
	* Makefile.am (java_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r81479
2004-05-04 16:27:20 +00:00
H.J. Lu
c6c8779bfc t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

	* config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
	* config/s390/t-tpf (LIB2ADDEHDEP): Likewise.
	* config/t-linux (LIB2ADDEHDEP): Likewise.

From-SVN: r81478
2004-05-04 09:09:38 -07:00
Vladimir Makarov
8f1b790f82 MAINTAINERS (Various Maintainers): Add myself.
2004-05-04  Vladimir Makarov  <vmakarov@redhat.com>

        * MAINTAINERS (Various Maintainers): Add myself.

From-SVN: r81477
2004-05-04 14:23:18 +00:00
Paul Brook
82c732f970 crti.asm: Push an even number of registers.
* config/arm/crti.asm: Push an even number of registers.
	* config/arm/crtn.asm: And restore them.  Load via sp.

From-SVN: r81473
2004-05-04 11:33:56 +00:00
Paolo Bonzini
92e838e281 ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
2004-05-04  Paolo Bonzini  <bonzini@gnu.org>

	* ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
	Collect overhead information.
	(ggc_alloc_stat): New name of ggc_alloc.  Add MEM_STAT_DECL
	parameter and pass it through.
	(ggc_alloc_typed_stat): New name of ggc_alloc_typed.  Add
	MEM_STAT_DECL parameter and pass it through.
	(ggc_alloc_zone_stat): New name of ggc_alloc_zone.  Add
	MEM_STAT_DECL parameter and pass it through.

From-SVN: r81472
2004-05-04 08:20:31 +00:00
Michael Koch
53c87e49ed FileChannelImpl.java (finalize): New method.
2004-05-02  Mark Wielaard  <mark@klomp.org>

	* gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.

From-SVN: r81470
2004-05-04 05:37:32 +00:00
Mark Wielaard
af62fd128a 2004-05-04 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/channels/FileChannelImpl.java
	(finalize): New method.

From-SVN: r81469
2004-05-04 05:32:46 +00:00
Aldy Hernandez
d8ecbcdb20 rs6000-protos.h: Protoize rs6000_hard_regno_nregs.
* config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs.

	* config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New.

	* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call
	rs6000_hard_regno_nregs.

From-SVN: r81467
2004-05-04 02:24:51 +00:00
Eric Christopher
2f7e5a0df0 s390.c (s390_emit_prologue): Call unspec tpf prologue insn instead of setting up call.
2004-05-03  Eric Christopher  <echristo@redhat.com>

        * config/s390/s390.c (s390_emit_prologue): Call unspec tpf
        prologue insn instead of setting up call.
        (s390_emit_epilogue): Ditto.
        * config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns.
        (define_constants): Add numbers for above patterns.

From-SVN: r81466
2004-05-04 01:20:40 +00:00
Eric Christopher
38899e29e5 s390.h (CONDITIONAL_REGISTER_USAGE): Move body...
2004-05-03  Eric Christopher  <echristo@redhat.com>

	* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body...
	* config/s390/s390.c (s390_conditional_register_usage): ...here.
	* config/s390/s390-protos.h: Prototype.

From-SVN: r81465
2004-05-04 01:16:47 +00:00
GCC Administrator
3ccd700fff Daily bump.
From-SVN: r81461
2004-05-04 00:16:12 +00:00
Joe Buck
97d623137d Patch from Joe Buck to workaround HP C bug.
* cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only
assignment.

From-SVN: r81458
2004-05-03 15:59:50 -07:00
Eric Christopher
03a53989d1 mips.md: Fix branch length attribute definition.
2004-05-03  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.md: Fix branch length attribute definition.

From-SVN: r81457
2004-05-03 22:28:55 +00:00
Aldy Hernandez
318fec6d1f config.gcc: Remove --enable-altivec support.
* config.gcc: Remove --enable-altivec support.

	* config/rs6000/altivec-defs.h: Remove.

From-SVN: r81456
2004-05-03 21:29:15 +00:00
Andreas Tobler
a3c44036dc Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

	* Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
	* Makefile.in: Rebuilt.

From-SVN: r81455
2004-05-03 22:53:05 +02:00
Andreas Tobler
dddf9bcc83 acinclude.m4: Replace -W with more speaking -Wextra.
2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

	* acinclude.m4: Replace -W with more speaking -Wextra.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r81454
2004-05-03 22:48:13 +02:00
Mark Wielaard
007265b805 DERReader.java: Call static methods staticly.
2004-05-03  Mark Wielaard  <mark@klomp.org>

	* gnu/java/security/der/DERReader.java: Call static methods staticly.
	* java/awt/TextComponent.java (select): Use selectionEnd parameter.
	* java/net/URL.java
	(set(String, String, int, String, String, String, String, String)):
	Assign this.file to path or path + "?" + query.
	* java/util/Arrays.java: Call static methods staticly.
	* java/util/zip/ZipEntry.java: Likewise.
	* javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
	dir to this.direction.
	* javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
	Assign static field only once.
	(DefaultTableCellRenderer): Don't reassign noFocusBorder each time.

From-SVN: r81453
2004-05-03 20:23:28 +00:00
Mark Wielaard
a00d3b3c65 GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth.
2004-05-03  Mark Wielaard  <mark@klomp.org>

	* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
	unused variables hScrollbarHeight and vScrollbarWidth.
	(preferredSize): Likewise.
	* gnu/java/security/provider/DSAParameters.java (engineToString):
	Removed unused call to System.getProperty("line.seperator");
	* java/security/Security.java (loadProviders): Return result.

From-SVN: r81451
2004-05-03 20:06:09 +00:00
Tom Tromey
7b68f0bf7e URLStreamHandler.java (toExternalForm): Removed unused variables.
2004-05-03  Tom Tromey  <tromey@redhat.com>

	* java/net/URLStreamHandler.java (toExternalForm): Removed
	unused variables.
	unused constructor.
	* java/math/BigDecimal.java (divide): Removed unused variable.
	* java/lang/Throwable.java: Cleaned up imports.
	* java/lang/ClassLoader.java: Cleaned up imports.
	* java/io/FilePermission.java (implies): Removed unused
	variable.
	* java/awt/TextComponent.java: Removed unused import.
	* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
	* gnu/java/util/DoubleEnumeration.java: Removed unused import.
	* gnu/java/text/WordBreakIterator.java: Removed unused import.
	* gnu/java/text/SentenceBreakIterator.java: Removed unused
	import.
	* gnu/java/text/LineBreakIterator.java: Removed unused import.
	* gnu/java/text/CharacterBreakIterator.java: Removed
	unused import.
	* gnu/java/security/provider/DSAKeyPairGenerator.java:
	Cleaned up imports.
	* gnu/java/security/der/DERWriter.java: Cleaned up imports.
	* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
	unused method.
	* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
	* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
	* gnu/java/io/Base64InputStream.java: Cleaned up imports.
	* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
	* gnu/classpath/ServiceFactory.java: Cleaned up imports.
	(lookupProviders): Removed unused variable.
	(loadNextServiceProvider): Likewise.
	* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.

From-SVN: r81450
2004-05-03 19:52:29 +00:00
Andreas Tobler
dc7c62aea4 acinclude.m4: Replace -W with more speaking -Wextra.
2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

	* acinclude.m4: Replace -W with more speaking -Wextra.
	* configure: Rebuilt.

From-SVN: r81444
2004-05-03 21:07:49 +02:00
Brian Ford
8a897bf9f8 Add missing entry for my 2004-04-30 change.
From-SVN: r81440
2004-05-03 16:56:04 +00:00
Rainer Orth
553cba65d2 inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
* fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
	* fixinc/fixincl.x: Regenerate.

From-SVN: r81437
2004-05-03 15:19:16 +00:00
Arnaud Charlet
1ab2888d26 * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
From-SVN: r81436
2004-05-03 17:17:19 +02:00
Michael Koch
493b3c9c47 re PR libgcj/14695 ([3.3/3.4 only] java.net.NetworkInterface.getByName() throws exception instead of returning null)
2004-05-03  Michael Koch  <konqueror@gmx.de>

	Fixes PR libgcj/14695:
	* java/net/NetworkInterface.java
	(getByName): Return null when no interface was found.

From-SVN: r81434
2004-05-03 14:40:59 +00:00
Uros Bizjak
6adcf89d9a i386.md (*fyl2x_sfxf3, [...]): Remove insn definition.
* config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn
        definition.
        (log?f2, log10?f2, log2?f2): Reimplement expanders with
        float_truncate insn.
        (*fxtractsf3, *fxtractdf3): Remove insn definition.
        (logb?f2): Reimplement expanders with float_truncate insn.

From-SVN: r81432
2004-05-03 15:20:57 +02:00