Commit Graph

63262 Commits

Author SHA1 Message Date
Tom Tromey d28f307870 * java/io/FilePermission.java: Reindented.
From-SVN: r90201
2004-11-06 23:07:45 +00:00
Tom Tromey 7771b8da33 ObjectOutputStream.java (currentObjectStreamClass): Now package-private.
* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
	package-private.
	(setBlockDataMode): Likewise.

From-SVN: r90198
2004-11-06 22:56:38 +00:00
Richard Sandiford 58368ea708 * config/mips/t-iris6 (tp-bit.c): Fix target filename.
From-SVN: r90197
2004-11-06 22:45:24 +00:00
Tom Tromey 91229668e3 ISO_8859_1.java (Decoder): Now package-private.
* gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
	package-private.
	(Encoder): Likewise.
	* gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
	(Encoder): Likewise.
	* gnu/java/nio/charset/US_ASCII.java (Decoder): Now
	package-private.
	(Encoder): Likewise.

From-SVN: r90196
2004-11-06 22:44:47 +00:00
Richard Sandiford 28e9a3f375 re PR target/16830 (Including <sys/immu.h> with -mabi=n32 causes an error.)
PR target/16830
	* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the
	R3000 and R4000 macros on IRIX.

From-SVN: r90195
2004-11-06 22:34:00 +00:00
Andreas Schwab 3c871f3f9a re PR target/16286 (Compile errors on altivec ops after #undef vector)
PR target/16286
	* config/rs6000/altivec.h: Replace bool by __bool and pixel by
	__pixel.

testsuite:
	* gcc.dg/pr16286.c: Also test for bool and pixel.

From-SVN: r90194
2004-11-06 20:18:55 +00:00
Joseph Myers fccf8fc6d1 anon-struct-6.c, [...]: New tests.
* gcc.dg/anon-struct-6.c, gcc.dg/anon-struct-7.c,
	gcc.dg/anon-struct-8.c, gcc.dg/bitfld-10.c, gcc.dg/bitfld-11.c,
	gcc.dg/bitfld-12.c, gcc.dg/func-outside-1.c,
	gcc.dg/func-outside-2.c, gcc.dg/label-decl-1.c,
	gcc.dg/label-decl-2.c, gcc.dg/label-decl-3.c,
	gcc.dg/label-decl-4.c, gcc.dg/struct-empty-1.c,
	gcc.dg/struct-empty-2.c, gcc.dg/struct-empty-3.c,
	gcc.dg/struct-semi-1.c, gcc.dg/struct-semi-2.c,
	gcc.dg/struct-semi-3.c: New tests.

From-SVN: r90193
2004-11-06 20:01:42 +00:00
Eric Botcazou d43844e2d6 Fix wrong entry.
From-SVN: r90192
2004-11-06 19:59:33 +00:00
Kazu Hirata 5bd92c6d98 * tree-ssa-copyrename.c (rename_ssa_copies): Make it static.
From-SVN: r90191
2004-11-06 19:59:19 +00:00
Ulrich Weigand 29a74354b0 2064.md ("z_int", "z_agen"): Ensure the condition matches no insns already matched by other reservations.
* config/s390/2064.md ("z_int", "z_agen"): Ensure the condition
	matches no insns already matched by other reservations.
	* config/s390/2084.md ("x_int", "x_agen"): Ensure the condition
	matches no insns already matched by other reservations.
	("x_ss"): Remove, replace by ...
	("x_cs"): ... this new reservation.  Check type instead of op_type.
	Update bypasses to use x_cs instead of x_ss.
	("x_nn"): Remove, replace by ...
	("x_other"): ... this new reservation.  Check type instead of op_type.
	Add x_other and x_branch to bypasses.
	("x_vs"): New reservation.
	* config/s390/s390.md (attribute "type"): Default according to op_type.
	("*execute"): Set type to "cs".

From-SVN: r90190
2004-11-06 19:57:41 +00:00
Eric Botcazou a8f48325ac * g++.dg/opt/nothrow1.C: Use -42 instead of 42.
From-SVN: r90189
2004-11-06 19:47:09 +00:00
Eric Botcazou cd27e3d811 generate-random.c (generate_random_data unsafe_state): Do not use C99 designators.
* gcc.dg/compat/generate-random.c (generate_random_data unsafe_state):
	Do not use C99 designators.

From-SVN: r90188
2004-11-06 19:28:43 +00:00
Kazu Hirata 703201ea4e fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR if we are in GIMPLE.
* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
	if we are in GIMPLE.

From-SVN: r90187
2004-11-06 19:16:59 +00:00
Eric Botcazou e78980b724 * g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.
From-SVN: r90185
2004-11-06 18:58:02 +00:00
Eric Botcazou 432be03772 simd-5.c: Do not XFAIL on SPARC 64-bit.
* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit.
	* gcc.c-torture/execute/20020227-1.x: Likewise.
	* gcc.c-torture/execute/simd-5.x: Remove.

From-SVN: r90184
2004-11-06 18:54:40 +00:00
Hans-Peter Nilsson 194acded39 re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)
PR rtl-optimization/17933
	* rtlanal.c (dead_or_set_regno_p): Break out common code to...
	(covers_regno_p): New function.  Handle SETs of PARALLEL,
	and defer the rest to...
	(covers_regno_no_parallel_p): New function.

From-SVN: r90183
2004-11-06 18:33:04 +00:00
Andrew Pinski 629bf5f9a4 re PR rtl-optimization/17933 (ICE: in schedule_insns, at /sched-rgn.c:2555)
PR rtl-optimization/17933
	* gcc.dg/torture/pr17933-1.c: New test.

From-SVN: r90182
2004-11-06 18:30:57 +00:00
Mark Wielaard 6c56bdc2fa [multiple changes]
2004-11-06  Mark Wielaard  <mark@klomp.org>

	* Makefile.am: Add new javax.imageio files.
	* Makefile.in: Regenerated.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/event/IIOReadProgressListener.java,
        javax/imageio/event/IIOReadUpdateListener.java,
	javax/imageio/event/IIOReadWarningListener.java,
	javax/imageio/event/IIOWriteProgressListener.java,
	javax/imageio/event/IIOWriteWarningListener.java,
	javax/imageio/metadata/IIOMetadataFormat.java,
	javax/imageio/stream/FileCacheImageInputStream.java,
	javax/imageio/stream/FileCacheImageOutputStream.java,
	javax/imageio/stream/ImageInputStreamImpl.java:
	Import cleanup.
	* javax/imageio/metadata/package.html: New file.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/spi/ImageReaderSpi.java
	(isOwnReader): New method.
	* javax/imageio/spi/ImageWriterSpi.java
	(isOwnWriter): Likewise.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/ImageWriter.java
	(convertImageMetadata): New abstract method.
	(convertStreamMetadata): Likewise.
	(write): Likewise.
	* javax/imageio/stream/FileCacheImageInputStream.java
	(close): Fixed setting of stream to null.
	(checkStreamClosed): Throws IOException.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/stream/FileCacheImageInputStream.java,
	javax/imageio/stream/FileCacheImageOutputStream.java,
	javax/imageio/stream/FileImageInputStream.java,
	javax/imageio/stream/FileImageOutputStream.java,
	javax/imageio/stream/MemoryCacheImageInputStream.java,
	javax/imageio/stream/MemoryCacheImageOutputStream.java:
	New files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/metadata/IIOInvalidTreeException.java,
	javax/imageio/metadata/IIOMetadataFormatImpl.java,
	javax/imageio/metadata/IIOMetadataNode.java:
	New stub files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/stream/ImageInputStreamImpl.java,
	javax/imageio/stream/ImageOutputStreamImpl.java:
	New files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/ImageIO.java:
	Added much new methods.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/ImageReader.java,
	javax/imageio/ImageWriter.java,
	javax/imageio/spi/ImageWriterSpi.java:
	Add SOME new methods.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/IIOParam.java,
	javax/imageio/ImageReadParam.java,
	javax/imageio/ImageReader.java,
	javax/imageio/ImageWriter.java:
	Mostly implemented.
	* javax/imageio/spi/ImageReaderSpi.java,
	javax/imageio/spi/ImageWriterSpi.java:
	New files.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/ImageWriteParam.java,
	javax/imageio/metadata/IIOMetadataFormat.java:
	Implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/ImageTypeSpecifier.java:
	Mostly implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/metadata/IIOMetadata.java:
	Mostly implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/IIOImage.java,
	javax/imageio/ImageReadParam.java,
	javax/imageio/metadata/IIOMetadataController.java,
	javax/imageio/metadata/IIOMetadataFormat.java:
	New files.
	* javax/imageio/stream/ImageOutputStream.java:
	Implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/IIOParam.java,
	javax/imageio/IIOParamController.java,
	javax/imageio/ImageTypeSpecifier.java,
	javax/imageio/ImageWriteParam.java,
	javax/imageio/metadata/IIOMetadata.java:
	New files.
	* javax/imageio/ImageTranscoder.java:
	Implemented.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/spi/ImageInputStreamSpi.java,
	javax/imageio/spi/ImageOutputStreamSpi.java:
	Reworked import startments.
	* javax/imageio/spi/ServiceRegistry.java:
	Reworked import startments. Fixed XHTML in javadocs.
	(ServiceRegistry): Added @param tag to javadoc.
	* javax/imageio/stream/ImageInputStream.java
	(mark): Doesn't throws IOException;

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/ImageIO.java:
	New file.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/spi/IIORegistry.java
	(static): Don't register ImageReaderSpi.class and
	ImageWriterSpi.class yet.

2004-11-06  Michael Koch  <konqueror@gmx.de>

	* javax/imageio/spi/IIORegistry.java:
	New file.

From-SVN: r90181
2004-11-06 18:09:00 +00:00
Eric Botcazou bb05e3410c sparc.c (function_arg_record_value_1): Skip fields with zero length.
* config/sparc/sparc.c (function_arg_record_value_1): Skip
	fields with zero length.
	(function_arg_record_value_2): Likewise.
	(function_arg_record_value_3): Use smallest_mode_for_size
	instead of mode_for_size.
	(function_arg_union_value): Return naked register for unions
	with zero length.

From-SVN: r90180
2004-11-06 17:39:56 +00:00
Eric Botcazou 45261626da sparc.c (scan_record_type): Handle vector types.
* config/sparc/sparc.c (scan_record_type): Handle vector types.
	(function_arg_slotno): Handle vector types specially.
	(function_arg_record_value_1): Split fields with vector type and
	BLKmode into their subparts.
	(function_arg_record_value_2): Likewise.  Be prepared to handle
	more than 2 registers per field.
	(function_arg_union_value): Increment regno inside the loop.
	(function_arg_vector_value): New function.
	(function_arg): Use it to split fields with vector type and
	BLKmode into their subparts and build a PARALLEL.  Treat
	other vector types like floats.
	(function_value): Likewise.
	(sparc_pass_by_reference): Handle vector types.
	(sparc_return_in_memory): Likewise.

From-SVN: r90179
2004-11-06 17:06:05 +00:00
Noa Resare 8d43449bee Socket.java (getPort): Return 0 instead of -1 on unconnected sockets.
2004-11-06  Noa Resare  <noa@resare.com>

       * java/net/Socket.java (getPort): Return 0 instead of -1 on
       unconnected sockets.

From-SVN: r90178
2004-11-06 16:49:56 +00:00
Michael Koch c2e999dfeb StringBuffer.java, [...]: Removed redundant and reordered modifiers.
2004-11-06  Michael Koch  <konqueror@gmx.de>

       * java/lang/StringBuffer.java,
       java/lang/Throwable.java,
       java/security/spec/DSAParameterSpec.java,
       java/util/zip/ZipEntry.java,
       java/util/zip/ZipFile.java,
       java/util/zip/ZipInputStream.java,
       java/util/zip/ZipOutputStream.java:
       Removed redundant and reordered modifiers.

From-SVN: r90177
2004-11-06 16:32:56 +00:00
Kazu Hirata 08d9302409 tree-cfg.c (find_taken_edge_cond_expr): Remove an "if" statement that never triggers.
* tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"
	statement that never triggers.

From-SVN: r90176
2004-11-06 15:57:25 +00:00
Mattias Rehnberg 03e9b84966 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
* java/io/Vector.java
        (writeObject): New function to serialized output thread safe.

        * java/io/ObjectOutputStream.java
        (writeObject): Move the assignment of the class handle to after
        the assignment of class descriptor handle.

From-SVN: r90175
2004-11-06 15:52:00 +00:00
Ulrich Weigand a036c6f739 2064.md ("z_o2", "z_o3"): Remove.
* config/s390/2064.md ("z_o2", "z_o3"): Remove.
	* config/s390/2084.md ("x_o2", "x_o3"): Remove.
	("x_fdivd"): Use also for fsqrtd type.
	("x_fdivs"): Use also for fsqrts type.
	* config/s390/s390.md (attribute "type"): Remove "o2" and "o3" types.
	("fix_truncdfsi2_ieee"): Set type to "ftoi".
	("fix_truncdfsi2_ibm"): Set type to "other".
	("floatdidf2", "floatdisf2"): Do not clobber CC.
	("floatsidf2", "floatsidf2_ieee"): Likewise.
	("floatsisf2", "floatsisf2_ieee"): Likewise.
	("truncdfsf2", "truncdfsf2_ieee"): Only allow "register_operand".
	("truncdfsf2_ibm"): Only allow "nonimmediate_operand".  Use LER
	instead of LRER.
	("extendsfdf2_ibm"): Do not set atype.  Set type to "floads".
	("sqrtdf2"): Set type to "fsqrtd".
	("sqrtsf2"): Set type to "fsqrts".

From-SVN: r90174
2004-11-06 15:42:32 +00:00
Kazu Hirata b2c24c1b9f tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a pointer to the last PHI node in the new PHI chain.
* tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a
	pointer to the last PHI node in the new PHI chain.

From-SVN: r90173
2004-11-06 15:14:11 +00:00
Kaz Kojima b741fa00f6 sh.c (prepare_move_operands): Emit a use of r12 for non-PIC TLS_MODEL_INITIAL_EXEC case.
* config/sh/sh.c (prepare_move_operands): Emit a use of r12
	for non-PIC TLS_MODEL_INITIAL_EXEC case.

From-SVN: r90172
2004-11-06 13:58:21 +00:00
Kazu Hirata 68daef2a0a * expmed.c: Fix a comment typo.
From-SVN: r90171
2004-11-06 13:29:34 +00:00
Robert Schuster 6ea123cec7 Fixes documentation and indentation
2004-11-06  Robert Schuster <thebohemian@gmx.net>

       Fixes documentation and indentation
       * java/beans/PropertyEditorSupport.java:
       reworked initial API doc
       (value): changed name from val

2004-11-06  Robert Schuster <thebohemian@gmx.net>

       Updates to 1.5
       * java/beans/PropertyEditorSupport.java
       (PropertyEditorSupport()): Changed modifier to public
       (PropertyEditorSupport(Object): Changed modifier to public
       (setSource): New method
       (getSource): New method

2004-11-06  Robert Schuster <thebohemian@gmx.net>

       Fixes bug #10799
       * java/beans/PropertyEditorSupport.java
       (setValue): Fire property change event

From-SVN: r90170
2004-11-06 13:22:13 +00:00
Tobias Schlüter c1df75d1a2 re PR fortran/18023 (ice on trying to convert between int and float)
PR fortran/18023
* io.c (resolve_tag): Tighten up exception for assigned FORMAT.

From-SVN: r90169
2004-11-06 13:49:13 +01:00
Zack Weinberg d08bf5fa33 lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well.
* lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
	as well.

Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>

From-SVN: r90168
2004-11-06 08:50:30 +00:00
Aaron W. LaFramboise c37780f572 re PR target/18106 (Weak symbols are unimplemented on Windows)
PR target/18106
	* config/i386/cygming.h
	[HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined.

	* lib/target-supports.exp (check_weak_available): Support
	Windows.

From-SVN: r90164
2004-11-05 22:28:10 -06:00
Kazu Hirata 882f2b8ea9 * gfortranspec.c: Replace GNU CC with GCC.
From-SVN: r90163
2004-11-06 03:49:32 +00:00
Kazu Hirata f1f76fab82 * config/sh/sh4a.md: Fix copyright.
From-SVN: r90161
2004-11-06 03:45:54 +00:00
Kazu Hirata 713e31f4ef darwin.md, sh4a.md: Replace GNU CC with GCC.
* config/rs6000/darwin.md, config/sh/sh4a.md: Replace GNU CC
	with GCC.

From-SVN: r90160
2004-11-06 03:41:27 +00:00
David Edelsohn c9dbf840b5 rs6000.md (scc patterns): Replace subfc with subf when carry not used.
* config/rs6000/rs6000.md (scc patterns): Replace subfc with subf
        when carry not used.  Suggested by Torbjorn Granlund.

        * config/rs6000/rs6000.c (rs6000_emit_move): Don't force_reg
        operand[1] unnecessarily.  Suggested by Eric Christopher.
        (rs6000_adjust_cost): Increase latency of store to wider load.
        (rs6000_rtx_costs): mulli only allows 16-bit constants.

From-SVN: r90159
2004-11-05 22:35:49 -05:00
Joseph Myers 77f7df83a4 * gcc.pot: Regenerate.
From-SVN: r90158
2004-11-06 01:29:25 +00:00
Stan Shebs 3d0e2d5846 rs6000.c (machopic_output_stub): Output ldu instead of lwzu for 64-bit stubs.
* config/rs6000/rs6000.c (machopic_output_stub): Output
        ldu instead of lwzu for 64-bit stubs.

From-SVN: r90157
2004-11-06 00:53:20 +00:00
Richard Henderson 9f7d06d693 alpha.c (alpha_expand_unaligned_load): Special case size 2 with BWX.
* config/alpha/alpha.c (alpha_expand_unaligned_load): Special case
        size 2 with BWX.
        (alpha_expand_unaligned_store): Likewise.

From-SVN: r90156
2004-11-05 16:46:44 -08:00
Danny Smith 637022d945 struct-layout-1_generate.c (main): Generate a call to fflush(stdout) before abort.
2004-11-05  Danny Smith  <dannysmith@users.sourceforge.net>

	* gcc.dg/compat/struct-layout-1_generate.c (main): Generate a
	call to fflush(stdout) before abort.
	(my_ffsll): New function.
	(generate_fields): Use it.

From-SVN: r90155
2004-11-06 00:32:18 +00:00
GCC Administrator bc54e9de0c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90153.2
2004-11-06 00:16:42 +00:00
GCC Administrator ad8f8591e1 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90152.2
2004-11-06 00:16:21 +00:00
Richard Henderson abb73f901b expmed.c (extract_force_align_mem_bit_field): New.
* expmed.c (extract_force_align_mem_bit_field): New.
        (extract_split_bit_field): Call it.

From-SVN: r90150
2004-11-05 15:58:39 -08:00
Richard Henderson f526a3c8fd ia64.md (UNSPEC_SHRP): New.
* ia64.md (UNSPEC_SHRP): New.
        (dshift_count_operand): New.
        (ashrti3, ashrti3_internal, lshrti3, lshrti3_internal, shrp): New.
        * ia64.c (rtx_needs_barrier): Handle UNSPEC_SHRP.

From-SVN: r90149
2004-11-05 15:54:30 -08:00
Joseph Myers 787dec5fcc be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
	sv.po, tr.po: Update.

From-SVN: r90148
2004-11-05 23:30:37 +00:00
Joseph Myers 0a880880ee c-typeck.c (output_init_element): Return early if value is error_mark_node.
* c-typeck.c (output_init_element): Return early if value is
	error_mark_node.

testsuite:
	* gcc.dg/init-undef-1.c: New test.

From-SVN: r90146
2004-11-05 22:21:30 +00:00
James E Wilson ddd8e3ca26 Stop staying that -fno-guess-branch-probability produces random code changes.
* invoke.texi (-fno-guess-branch-probability): Rewrite.

From-SVN: r90144
2004-11-05 13:38:33 -08:00
Geoffrey Keating ea595d4ff3 Makefile.in (mostlyclean): Add fixinc.sh.
* Makefile.in (mostlyclean): Add fixinc.sh.
	(clean): Add mkheaders.
	(distclean): New.
	(dvi): New.
	(info): New.
	(installcheck): New.

From-SVN: r90142
2004-11-05 20:42:15 +00:00
James E Wilson 83338d15a9 Fix 4 execute/va-arg-26.c gcc testsuite failures.
* config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change
1 to UNSPEC_GR_SPILL.

From-SVN: r90141
2004-11-05 12:38:36 -08:00
Tobias Schlüter 20a209b5be * gfortranspec.c (lang_specific_driver): Change year to 2004.
From-SVN: r90138
2004-11-05 21:01:34 +01:00