Hans-Peter Nilsson [Tue, 18 Jun 2002 02:55:25 +0000 (02:55 +0000)]
arit.c (do_31div, [...]): Mark prototype __always_inline__.
* config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype
__always_inline__.
From-SVN: r54731
Douglas B Rupp [Tue, 18 Jun 2002 02:04:33 +0000 (02:04 +0000)]
lbasename.c: Add 2002 to copyright.
2002-06-17 Douglas Rupp <rupp@gnat.com>
* lbasename.c: Add 2002 to copyright.
(IS_DIR_SEPARATOR): Remove VMS junk.
From-SVN: r54729
Aldy Hernandez [Tue, 18 Jun 2002 01:36:49 +0000 (01:36 +0000)]
simd-1.c: New.
2002-06-16 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/simd-1.c: New.
* gcc.dg/simd-1.c: New.
From-SVN: r54728
Aldy Hernandez [Tue, 18 Jun 2002 01:35:47 +0000 (01:35 +0000)]
simd-1.c: New.
2002-06-16 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/simd-1.c: New.
* gcc.dg/simd-1.c: New.
* doc/extend.texi (Vector Extensions): Document that we can
specify simd types not specifically supported by the hardware.
Document that simd types can be used as function arguments.
Document that signness does make a difference in SIMD types.
Misc cleanups and revisions to the "vector extensions" section.
* simplify-rtx.c (simplify_subreg): Simplify subregs of vector
constants.
* expr.c (vector_mode_valid_p): New.
* expr.h: Add vector_mode_valid_p.
* defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.
* emit-rtl.c (immed_double_const): Do not abort on vectors.
* c-common.c (type_for_mode): Always build vector nodes regardless
of VECTOR_MODE_SUPPORTED_P.
(handle_mode_attribute): Error if we can't emulate a nonexisting
vector mode.
(handle_vector_size_attribute): Same.
* optabs.c (expand_binop): Open-code vector operations.
(expand_unop): Open-code vector unops.
(expand_vector_binop): New.
(expand_vector_unop): New.
* c-typeck.c (build_binary_op): Allow vectors in binops.
Allow vectors in conditional operatiors.
(build_unary_op): Allow vectors in unary minus.
* config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
TARGET_ALTIVEC.
From-SVN: r54727
Alan Modra [Tue, 18 Jun 2002 00:24:51 +0000 (00:24 +0000)]
* config/ia64/ia64.md (doloop_end_internal): Correct rtl.
From-SVN: r54726
Hans-Peter Nilsson [Mon, 17 Jun 2002 23:29:39 +0000 (23:29 +0000)]
* gcc.c-torture/execute/
20020615-1.c: Correct bug-description.
From-SVN: r54723
Alan Modra [Mon, 17 Jun 2002 22:45:44 +0000 (22:45 +0000)]
* doloop.c (doloop_optimize): Extract pattern from insn.
From-SVN: r54722
Tom Tromey [Mon, 17 Jun 2002 21:32:01 +0000 (21:32 +0000)]
javaprims.h: Updated class declaration list.
* gcj/javaprims.h: Updated class declaration list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new file.
* java/util/EventListenerProxy.java: New file.
* java/util/EventListener.java: Re-merge with Classpath.
* java/util/EventObject.java: Re-merge with Classpath.
From-SVN: r54720
Matt Kraai [Mon, 17 Jun 2002 21:26:49 +0000 (21:26 +0000)]
* doc/extend.texi (Function Attributes): Remove `,...' from @var.
From-SVN: r54719
Jason Thorpe [Mon, 17 Jun 2002 21:21:01 +0000 (21:21 +0000)]
bit.c: Don't include glimits.h.
* bit.c: Don't include glimits.h.
* target.c: Likewise.
* where.h: Likewise.
From-SVN: r54718
Jeff Law [Mon, 17 Jun 2002 21:08:12 +0000 (15:08 -0600)]
* libgcc2.c: Do not include symcat.h or machmode.h.
From-SVN: r54717
Richard Henderson [Mon, 17 Jun 2002 20:56:15 +0000 (13:56 -0700)]
* expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
From-SVN: r54716
Tom Tromey [Mon, 17 Jun 2002 20:22:24 +0000 (20:22 +0000)]
* dwarfout.c: Include function.h.
From-SVN: r54715
Nathanael Nerode [Mon, 17 Jun 2002 19:15:22 +0000 (19:15 +0000)]
ClassNotFoundException.java: New Classpath version.
2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
* java/lang/ClassNotFoundException.java: New Classpath version.
From-SVN: r54713
Andreas Schwab [Mon, 17 Jun 2002 19:13:46 +0000 (19:13 +0000)]
print-rtl.c (print_rtx): Print space before vector, not after.
* print-rtl.c (print_rtx): Print space before vector, not after.
(debug_rtx): Clear sawclose before printing.
(debug_rtx_list): Print newline after each list element.
(debug_rtx_range): Likewise.
From-SVN: r54712
Nathanael Nerode [Mon, 17 Jun 2002 19:11:40 +0000 (19:11 +0000)]
ActivateFailedException.java: Remerge from Classpath version.
* java/rmi/activation/ActivateFailedException.java: Remerge from
Classpath version.
* java/rmi/activation/ActivationException.java: Ditto.
* java/rmi/activation/UnknownGroupException.java: Ditto.
* java/rmi/activation/UnknownObjectException.java: Ditto.
* java/rmi/server/ExportException: Ditto.
* java/rmi/server/ServerCloneException: Ditto.
* java/rmi/server/ServerNotActiveException: Ditto.
* java/rmi/server/SkeletonMismatchException: Ditto.
* java/rmi/server/SkeletonNotFoundException: Ditto.
* java/rmi/server/SocketSecurityException: Ditto.
From-SVN: r54711
Richard Henderson [Mon, 17 Jun 2002 17:47:22 +0000 (10:47 -0700)]
function.h (struct function): Rename profile_label_no.
* function.h (struct function) [funcdef_no]: Rename profile_label_no.
(current_function_funcdef_no): Similarly.
* function.c (funcdef_no): Similarly.
(prepare_function_start): Set current_function_funcdef_no.
(expand_function_start): Don't set current_function_profile_label_no.
* dwarf2out.h (current_funcdef_number): Remove.
* dwarf2out.c (current_funcdef_number): Remove. Replace with
current_function_funcdef_no throughout.
* dwarfout.c, vmsdbgout.c: Similarly.
* except.c (sjlj_funcdef_number): Remove.
(sjlj_emit_function_enter): Use current_function_funcdef_no instead.
(output_function_exception_table): Likewise.
* final.c (profile_function): Use current_function_funcdef_no
instead of current_function_profile_label_no.
From-SVN: r54709
Nicola Pero [Mon, 17 Jun 2002 17:41:38 +0000 (17:41 +0000)]
Fixed warning in sendmsg.c for forwarding function not returning a value
From-SVN: r54708
Nicola Pero [Mon, 17 Jun 2002 17:41:11 +0000 (17:41 +0000)]
Fixed warning from __objc_get_forward_imp not returning a value
From-SVN: r54707
Vladimir Makarov [Mon, 17 Jun 2002 17:16:37 +0000 (17:16 +0000)]
sched-ebb.c (init_ready_list): Check INSN_P first.
2002-06-17 Vladimir Makarov <vmakarov@redhat.com>
* sched-ebb.c (init_ready_list): Check INSN_P first.
From-SVN: r54706
J"orn Rennecke [Mon, 17 Jun 2002 16:28:29 +0000 (16:28 +0000)]
* sh.md (divsi3): Update way how to find insns in a sequence.
From-SVN: r54705
J"orn Rennecke [Mon, 17 Jun 2002 11:33:20 +0000 (11:33 +0000)]
reload1.c (merge_assigned_reloads): Don't change reloads other than RELOAD_FOR_INPUT_ADDRESS /...
* reload1.c (merge_assigned_reloads): Don't change reloads
other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
to RELOAD_OTHER when there are conflicting input reloads.
From-SVN: r54703
Richard Earnshaw [Mon, 17 Jun 2002 08:42:00 +0000 (08:42 +0000)]
function.c (epilogue_done): Correctly build a sequence of insns for a sibcall epilogue.
* function.c (epilogue_done): Correctly build a sequence of insns for
a sibcall epilogue.
From-SVN: r54702
Nick Clifton [Mon, 17 Jun 2002 07:49:17 +0000 (07:49 +0000)]
(CUMULATIVE_ARGS): Replace typedef with #define.
From-SVN: r54701
GCC Administrator [Mon, 17 Jun 2002 07:37:18 +0000 (07:37 +0000)]
Daily bump.
From-SVN: r54700
Nick Clifton [Mon, 17 Jun 2002 07:20:15 +0000 (07:20 +0000)]
Replace gen_sequence with get_insns.
From-SVN: r54695
Richard Henderson [Mon, 17 Jun 2002 04:45:58 +0000 (21:45 -0700)]
i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
* config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
From-SVN: r54694
Tom Tromey [Mon, 17 Jun 2002 04:08:46 +0000 (04:08 +0000)]
* gcj/javaprims.h: Updated class declaration list.
From-SVN: r54693
Tom Tromey [Mon, 17 Jun 2002 03:52:24 +0000 (03:52 +0000)]
* java/io/LineNumberInputStream.java: Merged with Classpath.
From-SVN: r54691
Richard Henderson [Mon, 17 Jun 2002 00:26:56 +0000 (17:26 -0700)]
tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test after template instantiation.
* tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test
after template instantiation.
* g++.dg/opt/inline3.C: New.
From-SVN: r54687
Douglas Rupp [Mon, 17 Jun 2002 00:00:24 +0000 (00:00 +0000)]
* MAINTAINERS (Write After Approval): Add self.
From-SVN: r54686
Douglas Rupp [Sun, 16 Jun 2002 22:02:48 +0000 (22:02 +0000)]
* MAINTAINERS (Write After Approval): Add self.
From-SVN: r54684
Richard Henderson [Sun, 16 Jun 2002 21:52:45 +0000 (14:52 -0700)]
regclass.c (globalize_reg): Update regs_invalidated_by_call.
* regclass.c (globalize_reg): Update regs_invalidated_by_call.
* gcc.dg/
20020616-1.c: New.
From-SVN: r54681
Tom Tromey [Sun, 16 Jun 2002 21:15:44 +0000 (21:15 +0000)]
RuntimeException.java: Re-merge with Classpath.
* java/lang/RuntimeException.java: Re-merge with Classpath.
* java/util/ArrayList.java: Likewise.
* java/util/Arrays.java: Likewise.
* java/util/BitSet.java: Likewise.
* java/util/Dictionary.java: Likewise.
* java/util/IdentityHashMap.java: Likewise.
* java/util/MissingResourceException.java: Likewise.
* java/util/Observer.java: Likewise.
* java/util/TooManyListenersException.java: Likewise.
* java/util/zip/DataFormatException.java: Likewise.
* java/util/zip/ZipException.java: Likewise.
From-SVN: r54680
Neil Booth [Sun, 16 Jun 2002 21:13:11 +0000 (21:13 +0000)]
config.gcc: Add an i386/sysv4-cpp.h.
* config.gcc: Add an i386/sysv4-cpp.h. Remove i386-aout.h from
vxworks.
config/i386:
* i386-aout.h, i386elf.h, sysv4.h: Remove CPP_PREDEFINES.
* linux64.h: Use TARGET_OS_CPP_BUILTINS rather than
CPP_PREDEFINES and part of CPP_SPEC.
i386elf.h, mach.h, netware.h, rtemself.h, sco5.h, sol2.h,
vsta.h, vxi386.h, win32.h: Similarly.
* sysv4-cpp.h: New.
From-SVN: r54679
Nathanael Nerode [Sun, 16 Jun 2002 20:55:56 +0000 (20:55 +0000)]
AccessException.java: Remerge from Classpath.
2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
* java/rmi/AccessException.java: Remerge from Classpath.
* java/rmi/AlreadyBoundException.java: Ditto.
* java/rmi/ConnectException.java: Ditto.
* java/rmi/ConnectIOException.java: Ditto.
* java/rmi/MarshalException.java: Ditto.
* java/rmi/NoSuchObjectException.java: Ditto.
* java/rmi/NotBoundException.java: Ditto.
* java/rmi/RemoteException.java: Ditto.
* java/rmi/RMISecurityException.java: Ditto.
* java/rmi/ServerError.java: Ditto.
* java/rmi/ServerException.java: Ditto.
* java/rmi/ServerRuntimeException.java: Ditto.
* java/rmi/StubNotFoundException.java: Ditto.
* java/rmi/UnexpectedExcpetion.java: Ditto.
* java/rmi/UnknownHostException.java: Ditto.
* java/rmi/UnmarshalException.java: Ditto.
From-SVN: r54678
Richard Henderson [Sun, 16 Jun 2002 20:24:36 +0000 (13:24 -0700)]
Mark pr.
From-SVN: r54676
Richard Henderson [Sun, 16 Jun 2002 20:24:00 +0000 (13:24 -0700)]
dwarf2out.c (modified_type_die): Don't assign the qualified die to the unqualified type.
* dwarf2out.c (modified_type_die): Don't assign the qualified die
to the unqualified type.
From-SVN: r54675
Jan Hubicka [Sun, 16 Jun 2002 20:18:25 +0000 (22:18 +0200)]
i386-protos.h (x86_field_alignment): Declare.
* i386-protos.h (x86_field_alignment): Declare.
* i386.c (x86_field_alignment): Define.
* i386.h (ADJUST_FIELD_ALIGNMENT): New.
(BIGGEST_FIELD_ALIGNMENT): Kill.
From-SVN: r54674
Richard Henderson [Sun, 16 Jun 2002 19:41:11 +0000 (12:41 -0700)]
* vax.md (casesi): Use emit_jump_insn. Tidy expander pattern.
From-SVN: r54673
Jeff Law [Sun, 16 Jun 2002 19:31:01 +0000 (13:31 -0600)]
emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic sharing of hard registers.
* emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic
sharing of hard registers.
* toplev.c (rest_of_compilation): Remove redundant conditional.
From-SVN: r54672
Richard Henderson [Sun, 16 Jun 2002 19:09:30 +0000 (12:09 -0700)]
c-common.c (flag_ms_extensions): Move from c++ front end.
* c-common.c (flag_ms_extensions): Move from c++ front end.
* c-common.h (flag_ms_extensions): Declare.
* c-decl.c (c_decode_option): Add -fms-extensions.
(grokfield): Don't accept anonymous structures in ISO C mode;
accept only unnamed anonymous structures in GNU C mode; accept
Plan 9 extensions in MS mode.
* c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from
SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all callers.
(extension): Clear flag_iso.
* doc/invoke.texi (C Dialect Options): Add -fms-extensions.
* cp-tree.h, decl2.c (flag_ms_extensions): Move to c-common.
* g++.dg/ext/anon-struct1.C: New.
* g++.dg/ext/anon-struct2.C: New.
* g++.dg/ext/anon-struct3.C: New.
* gcc.dg/anon-struct-1.c: New.
* gcc.dg/anon-struct-2.c: New.
* gcc.dg/anon-struct-3.c: New.
* gcc.dg/
20011008-1.c: Adjust warning text.
* gcc.dg/
20020527-1.c: Add -fms-extensions.
From-SVN: r54670
Richard Henderson [Sun, 16 Jun 2002 18:56:12 +0000 (11:56 -0700)]
* gcc.dg/
20020531-1.c: Add LL specifier to avoid warning.
From-SVN: r54669
Hans-Peter Nilsson [Sun, 16 Jun 2002 18:54:43 +0000 (18:54 +0000)]
re PR target/7042 (cris-elf miscompiles line_hints in ghostscript - "return" delay slot bug)
PR target/7042
* reorg.c (make_return_insns) [DELAY_SLOTS_FOR_EPILOGUE]: Exit
early if current_function_epilogue_delay_list is non-empty.
* config/cris/cris.md ("return"): Add sanity check asserting that
current_function_epilogue_delay_list is empty.
From-SVN: r54668
Jeff Law [Sun, 16 Jun 2002 15:50:12 +0000 (09:50 -0600)]
toplev.c (rest_of_compilation): Perform a simpler, less costly cleanup of the CFG when not optimizing.
* toplev.c (rest_of_compilation): Perform a simpler, less costly
cleanup of the CFG when not optimizing.
From-SVN: r54667
Phil Edwards [Sun, 16 Jun 2002 11:29:53 +0000 (11:29 +0000)]
TODO: Update.
2002-06-16 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/TODO: Update.
* docs/doxygen/tables.html: Uncomment magical middle column.
* docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
* include/bits/stl_queue.h: Doxygenate and reformat.
* include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
for deprecated names required by the standard.
From-SVN: r54666
GCC Administrator [Sun, 16 Jun 2002 07:33:33 +0000 (07:33 +0000)]
Daily bump.
From-SVN: r54664
Alan Modra [Sun, 16 Jun 2002 04:21:17 +0000 (04:21 +0000)]
* gcc.c (main): Correct startfile_prefix_spec check.
From-SVN: r54659
Geoffrey Keating [Sat, 15 Jun 2002 20:27:45 +0000 (20:27 +0000)]
config.gcc: Revert rth's patch of 2002-05-18.
2002-06-12 Geoffrey Keating <geoffk@redhat.com>
* config.gcc: Revert rth's patch of 2002-05-18. Instead,
include both darwin.o and rs6000-c.o.
From-SVN: r54658
Roger Sayle [Sat, 15 Jun 2002 20:21:22 +0000 (20:21 +0000)]
expr.c (compare_from_rtx): Call simplify_relational_operation on all comparisons...
* expr.c (compare_from_rtx): Call simplify_relational_operation
on all comparisons, not just those between integer constants,
with the correct (possibly unsigned) comparison code.
(do_compare_rtx_and_jump): Likewise.
From-SVN: r54657
Tom Tromey [Sat, 15 Jun 2002 19:45:34 +0000 (19:45 +0000)]
AbstractMethodError.java: Re-merged with Classpath.
* java/lang/AbstractMethodError.java: Re-merged with Classpath.
* java/lang/ArithmeticException.java: Likewise.
* java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
* java/lang/ArrayStoreException.java: Likewise.
* java/lang/Byte.java: Likewise.
* java/lang/CharSequence.java: Likewise.
* java/lang/ClassCastException.java: Likewise.
* java/lang/ClassCircularityError.java: Likewise.
* java/lang/ClassFormatError.java: Likewise.
* java/lang/CloneNotSupportedException.java: Likewise.
* java/lang/Cloneable.java: Likewise.
* java/lang/Comparable.java: Likewise.
* java/lang/Compiler.java: Likewise.
* java/lang/Error.java: Likewise.
* java/lang/ExceptionInInitializerError.java: Likewise.
* java/lang/IllegalAccessError.java: Likewise.
* java/lang/IllegalAccessException.java: Likewise.
* java/lang/IllegalArgumentException.java: Likewise.
* java/lang/IllegalMonitorStateException.java: Likewise.
* java/lang/IllegalStateException.java: Likewise.
* java/lang/IllegalThreadStateException.java: Likewise.
* java/lang/IncompatibleClassChangeError.java: Likewise.
* java/lang/IndexOutOfBoundsException.java: Likewise.
* java/lang/InheritableThreadLocal.java: Likewise.
* java/lang/InstantiationError.java: Likewise.
* java/lang/InstantiationException.java: Likewise.
* java/lang/InternalError.java: Likewise.
* java/lang/InterruptedException.java: Likewise.
* java/lang/LinkageError.java: Likewise.
* java/lang/NegativeArraySizeException.java: Likewise.
* java/lang/NoClassDefFoundError.java: Likewise.
* java/lang/NoSuchFieldError.java: Likewise.
* java/lang/NoSuchFieldException.java: Likewise.
* java/lang/NoSuchMethodError.java: Likewise.
* java/lang/NoSuchMethodException.java: Likewise.
* java/lang/NullPointerException.java: Likewise.
* java/lang/NumberFormatException.java: Likewise.
* java/lang/OutOfMemoryError.java: Likewise.
* java/lang/Process.java: Likewise.
* java/lang/Runnable.java: Likewise.
* java/lang/RuntimePermission.java: Likewise.
* java/lang/SecurityException.java: Likewise.
* java/lang/Short.java: Likewise.
* java/lang/StackOverflowError.java: Likewise.
* java/lang/StringIndexOutOfBoundsException.java: Likewise.
* java/lang/ThreadDeath.java: Likewise.
* java/lang/ThreadLocal.java: Likewise.
* java/lang/UnknownError.java: Likewise.
* java/lang/UnsatisfiedLinkError.java: Likewise.
* java/lang/UnsupportedClassVersionError.java: Likewise.
* java/lang/UnsupportedOperationException.java: Likewise.
* java/lang/VerifyError.java: Likewise.
* java/lang/VirtualMachineError.java: Likewise.
* java/lang/reflect/InvocationTargetException.java: Likewise.
* java/net/BindException.java: Likewise.
* java/net/ConnectException.java: Likewise.
* java/net/MalformedURLException.java: Likewise.
* java/net/NoRouteToHostException.java: Likewise.
* java/net/ProtocolException.java: Likewise.
* java/net/SocketException.java: Likewise.
* java/net/UnknownHostException.java: Likewise.
* java/net/UnknownServiceException.java: Likewise.
From-SVN: r54656
Tom Tromey [Sat, 15 Jun 2002 18:59:15 +0000 (18:59 +0000)]
BufferedOutputStream.java: Re-merged with Classpath.
* java/io/BufferedOutputStream.java: Re-merged with Classpath.
* java/io/CharConversionException.java: Likewise.
* java/io/EOFException.java: Likewise.
* java/io/FileNotFoundException.java: Likewise.
* java/io/IOException.java: Likewise.
* java/io/InterruptedIOException.java: Likewise.
* java/io/InvalidClassException.java: Likewise.
* java/io/InvalidObjectException.java: Likewise.
* java/io/NotActiveException.java: Likewise.
* java/io/NotSerializableException.java: Likewise.
* java/io/ObjectStreamException.java: Likewise.
* java/io/ObjectStreamConstants.java: Likewise.
* java/io/OptionalDataException.java: Likewise.
* java/io/PipedInputStream.java: Likewise.
* java/io/PushbackInputStream.java: Likewise.
* java/io/StreamCorruptedException.java: Likewise.
* java/io/SyncFailedException.java: Likewise.
* java/io/UTFDataFormatException.java: Likewise.
* java/io/UnsupportedEncodingException.java: Likewise.
* java/io/WriteAbortedException.java: Likewise.
From-SVN: r54655
Nathanael Nerode [Sat, 15 Jun 2002 18:38:00 +0000 (18:38 +0000)]
ChoiceFormat.java: Update comments from Classpath.
2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
* java/text/ChoiceFormat.java: Update comments from Classpath.
* java/text/ParseException.java (serialVersionUID): New
field from Classpath.
* java/text/ParseException.java: Update formatting & comments
from Classpath.
From-SVN: r54654
Tom Tromey [Sat, 15 Jun 2002 18:31:13 +0000 (18:31 +0000)]
InflaterInputStream.java (read): Loop if data has been read but none output by inflater.
* java/util/zip/InflaterInputStream.java (read): Loop if data has
been read but none output by inflater.
* java/util/zip/natDeflater.cc (reset): Set is_finished.
* java/util/zip/natInflater.cc (reset): Set dist_needed and
is_finished.
* java/util/zip/ZipOutputStream.java: Replaced with Classpath
version.
* java/util/zip/ZipFile.java: Replaced with Classpath version.
* java/util/zip/ZipEntry.java: Replaced with Classpath version.
* java/util/zip/ZipInputStream.java: Replaced with Classpath
version.
* java/util/zip/ZipConstants.java: Replaced with Classpath version.
From-SVN: r54653
Hans-Peter Nilsson [Sat, 15 Jun 2002 18:14:50 +0000 (18:14 +0000)]
* gcc.c-torture/execute/
20020615-1.c: New test.
From-SVN: r54650
Kaveh R. Ghazi [Sat, 15 Jun 2002 17:50:14 +0000 (17:50 +0000)]
Object.m: Fix signed/unsigned warning.
* Object.m: Fix signed/unsigned warning.
* Protocol.m: Likewise.
* archive.c: Always include stdlib.h.
(objc_read_short, objc_read_unsigned_short, objc_read_int,
objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
Fix signed/unsigned warning.
(objc_write_type, objc_read_type, objc_write_types,
objc_read_types): Ensure ctype 8-bit safety.
(__objc_no_write, __objc_no_read): Mark unused parameters.
* class.c (class_table_setup): Specify void arg.
* encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
objc_skip_typespec, objc_skip_offset,
objc_layout_structure_next_member): Ensure ctype 8-bit safety.
(objc_layout_structure_next_member): Ensure variables are
initialized.
* gc.c (__objc_generate_gc_type_description,
class_ivar_set_gcinvisible): Mark unused parameters.
* init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
unused parameters.
(__objc_init_protocols) Fix signed/unsigned warning.
* nil_method.c (nil_method): Mark unused parameters.
* thr.h (objc_thread_callback): Specify void arg.
* sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
signed/unsigned warning.
(sarray_free): Fix formatting.
* selector.c (sel_types_match): Ensure ctype 8-bit safety.
* sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
From-SVN: r54649
John David Anglin [Sat, 15 Jun 2002 17:31:32 +0000 (17:31 +0000)]
Makefile.in (tm_defines): New configuration variable.
* Makefile.in (tm_defines): New configuration variable.
(cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES.
Pass tm_defines in TM_DEFINES.
(cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES.
* config.gcc (tm_defines): New configuration variable.
(hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and
pa-7100.h headers. Change hppa1* scheduling default to 7100LC.
* configure.in: Substitute tm_defines.
* configure: Rebuilt.
* mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES.
* doc/install.texi: Update.
* pa/pa-700.h: Delete file.
* pa/pa-7100.h: Delete file.
From-SVN: r54648
Roger Sayle [Sat, 15 Jun 2002 16:55:24 +0000 (16:55 +0000)]
fold-const.c (comparison_to_compcode): New function to convert an comparison TREE CODE into a bit-based representation.
* fold-const.c (comparison_to_compcode): New function to convert
an comparison TREE CODE into a bit-based representation.
(compcode_to_comparison): New function to convert from this bit
based representation back to a comparison TREE CODE.
(fold_truthop): Simplify (x<y) && (x==y) and related composite
comparisons.
* gcc.c-tortuture/execute/compare-1.c: New test case.
* gcc.c-tortuture/execute/compare-2.c: New test case.
* gcc.c-tortuture/execute/compare-3.c: New test case.
From-SVN: r54647
Gabriel Dos Reis [Sat, 15 Jun 2002 12:38:04 +0000 (12:38 +0000)]
cp-tree.h (compiler_error): Remove declaration.
* cp-tree.h (compiler_error): Remove declaration.
* lex.c (compiler_error): Remove definition.
From-SVN: r54644
Aldy Hernandez [Sat, 15 Jun 2002 09:41:13 +0000 (09:41 +0000)]
tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.
2002-06-15 Aldy Hernandez <aldyh@redhat.com>
* tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.
* stor-layout.c (compute_record_mode): Remove check for
FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for
MEMBER_TYPE_FORCES_BLK. Pass new mode field to
MEMBER_TYPE_FORCES_BLK.
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same.
* config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same.
From-SVN: r54643
GCC Administrator [Sat, 15 Jun 2002 07:17:26 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r54642
Jeff Sturm [Sat, 15 Jun 2002 01:20:03 +0000 (01:20 +0000)]
* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
From-SVN: r54637
Steve Ellcey [Sat, 15 Jun 2002 01:16:28 +0000 (01:16 +0000)]
configure.in (USE_UNWIND_EXCEPTIONS): Add support to set USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.
* configure.in (USE_UNWIND_EXCEPTIONS): Add support to set
USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.
* configure, config.in: Regenerate.
* g++spec.c (LIBUNWIND): New.
(lang_specific_driver): Add it if USE_UNWIND_EXCEPTIONS is set.
From-SVN: r54636
Eric Botcazou [Sat, 15 Jun 2002 01:10:49 +0000 (01:10 +0000)]
loop.c (check_final_value): Use v->always_executed instead of v->always_computable.
* loop.c (check_final_value): Use v->always_executed
instead of v->always_computable.
* unroll.c (final_giv_value): Don't calculate the final
value as a function of the biv if the giv is not computed
for every loop iteration.
From-SVN: r54634
Eric Botcazou [Sat, 15 Jun 2002 00:47:53 +0000 (00:47 +0000)]
* loop.c (for_each_insn_in_loop): Fix formatting and comments.
From-SVN: r54633
Richard Henderson [Sat, 15 Jun 2002 00:43:20 +0000 (17:43 -0700)]
New.
From-SVN: r54630
Richard Henderson [Sat, 15 Jun 2002 00:42:52 +0000 (17:42 -0700)]
Mark pr last change.
From-SVN: r54629
Eric Botcazou [Sat, 15 Jun 2002 00:40:49 +0000 (00:40 +0000)]
convert.c (convert_to_integer): Don't pass the truncation down when the target type is signed.
* convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
the truncation down when the target type is signed.
[trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
* fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
the conversion if the target type is a smaller type.
From-SVN: r54627
Richard Henderson [Sat, 15 Jun 2002 00:06:18 +0000 (17:06 -0700)]
fold-const.c (fold): Move X>=C / X<C transfomation earlier.
* fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation
earlier. Re-factor comparisons vs extrema.
From-SVN: r54626
Richard Henderson [Fri, 14 Jun 2002 20:26:23 +0000 (13:26 -0700)]
* config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.
From-SVN: r54625
Eric Christopher [Fri, 14 Jun 2002 19:12:54 +0000 (19:12 +0000)]
Remove bogus ChangeLog entry that snuck in during last commit:
2002-06-12 Eric Christopher <echristo@redhat.com>
* config/mips/mips.md (prefetch, prefetch_di, prefetch_si): New
patterns.
* config/mips/mips.h (RTX_COSTS): Fix formatting.
From-SVN: r54623
Franz Sirl [Fri, 14 Jun 2002 18:58:10 +0000 (18:58 +0000)]
rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
* sched-deps.c (add_dependence): Likewise.
(group_leader): Likewise.
* sched-rgn.c (init_ready_list): Likewise.
* doc/rtl.texi: Adjust accordingly.
From-SVN: r54622
J.T. Conklin [Fri, 14 Jun 2002 18:21:24 +0000 (18:21 +0000)]
configure.in (target_alias): Fix.
2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
* configure.in (target_alias): Fix.
* configure: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r54618
Jeff Law [Fri, 14 Jun 2002 16:25:36 +0000 (10:25 -0600)]
gcse.c (delete_null_pointer_checks_1): Inform caller if any null pointer checks were eliminated.
* gcse.c (delete_null_pointer_checks_1): Inform caller if any
null pointer checks were eliminated. Update prototype.
(delete_null_pointer_checks): Similarly.
* rtl.h (delete_null_pointer_checks): Update prototype.
* toplev.c (rest_of_compilation): Only run cleanup_cfg if
delete_null_pointer_checks deletes one or more null
pointer checks. Do not run cleanup_cfg before gcse, the
CFG is accurate and optimized at that point..
From-SVN: r54617
Jeff Law [Fri, 14 Jun 2002 14:44:33 +0000 (08:44 -0600)]
rs6000.c (rs6000_frame_related): Avoid unwanted sharing of hard registers.
* rs6000.c (rs6000_frame_related): Avoid unwanted sharing
of hard registers.
From-SVN: r54615
Ulrich Weigand [Fri, 14 Jun 2002 14:37:26 +0000 (14:37 +0000)]
* Makefile.in (libgcc.mk): Depend on specs.
From-SVN: r54614
J"orn Rennecke [Fri, 14 Jun 2002 11:20:39 +0000 (11:20 +0000)]
* sh.md (mulsi3): Update way how to find insns in a sequence.
From-SVN: r54613
Dhananjay R. Deshpande [Fri, 14 Jun 2002 11:06:38 +0000 (11:06 +0000)]
sh.h: Define HARD_REGNO_RENAME_OK
Fri Jun 14 12:04:02 2002 Dhananjay R. Deshpande <dhananjayd@kpit.com>
* sh.h: Define HARD_REGNO_RENAME_OK
* sh.c: sh_hard_regno_rename_ok: New. If current function has
interrupt_handler attribute, only registers saved on stack are OK.
* sh-protos.h: Declare sh_hard_regno_rename_ok.
From-SVN: r54612
Kaz Kojima [Fri, 14 Jun 2002 09:49:18 +0000 (09:49 +0000)]
sh.md (jump): Emit jump insn.
* config/sh/sh.md (jump): Emit jump insn.
(call_pcrel): Get pattern of the result of gen_call_site.
(call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise.
From-SVN: r54611
GCC Administrator [Fri, 14 Jun 2002 07:17:41 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r54610
Neil Booth [Fri, 14 Jun 2002 05:43:13 +0000 (05:43 +0000)]
cpphash.h (struct cpp_buffer): Remove saved_line_base.
* cpphash.h (struct cpp_buffer): Remove saved_line_base.
* cpptrad.c: Update comments.
(skip_whitespace, copy_comment): Take a new parameter.
(skip_escaped_newlines): Don't duplicate escaped newline test.
(copy_comment): Different location for CUR, decide here how
to copy / replace the comment.
(skip_whitespace): Copy whitespace.
(_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
(scan_out_logical_line): Let copy comment handle keeping or
replacing comments.
(scan_parameters, _cpp_create_trad_definition): Update.
From-SVN: r54605
Alan Lehotsky [Fri, 14 Jun 2002 01:41:53 +0000 (21:41 -0400)]
pass MEM reference to find_reloads_address
From-SVN: r54604
Richard Henderson [Fri, 14 Jun 2002 00:50:34 +0000 (17:50 -0700)]
defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
* defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
(TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
* doc/tm.texi: Document them.
* config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New.
(TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
(TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode.
(ASM_OUTPUT_FDESC): Likewise.
* class.c (build_vtable): Use TARGET_VTABLE_ENTRY_ALIGN.
(build_vtbl_initializer): Honor TARGET_VTABLE_DATA_ENTRY_DISTANCE.
(build_vbase_offset_vtbl_entries): Likewise.
* rtti.c (build_headof): Likewise.
(get_tinfo_decl_dynamic): Likewise.
(create_pseudo_type_info): Likewise.
* g++.old-deja/g++.abi/vtable2.C (INC_VDATA): New. Define for
ia64 ilp32.
From-SVN: r54603
Eric Christopher [Thu, 13 Jun 2002 23:31:56 +0000 (23:31 +0000)]
diagnostic.c (output_format): Fix thinko.
2002-06-13 Eric Christopher <echristo@redhat.com>
* diagnostic.c (output_format): Fix thinko.
From-SVN: r54602
J"orn Rennecke [Thu, 13 Jun 2002 21:36:32 +0000 (21:36 +0000)]
coff.h (HAS_INIT_SECTION, [...]): Don't define.
* config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define.
(DWARF2_UNWIND_INFO): Define to 0.
From-SVN: r54601
J"orn Rennecke [Thu, 13 Jun 2002 21:31:58 +0000 (21:31 +0000)]
sh.c (calc_live_regs): Don't use initial_value optimization for PR_MEDIA_REG.
* config/sh/sh.c (calc_live_regs): Don't use initial_value
optimization for PR_MEDIA_REG.
From-SVN: r54600
Neil Booth [Thu, 13 Jun 2002 21:16:00 +0000 (21:16 +0000)]
cpphash.h (_cpp_lex_identifier_trad): Remove.
* cpphash.h (_cpp_lex_identifier_trad): Remove.
* cpplib.c (end_directive): Don't skip, always remove overlay
apart from #define.
(prepare_directive_trad): Handle NULL pfile->directive.
(_cpp_handle_directive): Always call prepare_directive_trad
if traditional.
* cppmain.c (check_multiline_token): Rename account_for_newlines,
generalize inputs.
(scan_translation_unit_trad): Use it.
* cpptrad.c (skip_comment): Rename copy_comment, copy comment to
output, get escaped newline in comment close correct.
(check_output_buffer, skip_whitespace): Update.
(_cpp_lex_identifier_trad): Remove.
(scan_out_logical_line): Handle -C and comments in directives
properly.
From-SVN: r54599
J"orn Rennecke [Thu, 13 Jun 2002 19:23:28 +0000 (19:23 +0000)]
Individual processor configurations for sh-elf / sh-linux:
gcc:
* config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
* config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
* sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
(SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
(SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
(SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
(SELECT_SH5_COMPACT_NOFPU): Likewise.
(TARGET_SWITCHES): Use them.
(TARGET_CPU_DEFAULT): Define if not already defined.
(TARGET_DEFAULT): Use it.
(LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
* config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
* config/sh/t-monolib: New file.
bfd:
config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*,
sh[1234]*-elf*.
ld:
* configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
Still outstanding:
config.sub:
* config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele,
shle, sh[1234]le, sh3ele, sh64le.
From-SVN: r54598
Tom Tromey [Thu, 13 Jun 2002 18:16:26 +0000 (18:16 +0000)]
natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0.
* java/lang/natString.cc (init): Handle case where DONT_COPY is
true and OFFSET!=0.
* java/lang/String.java (String(char[],int,int,boolean): New
constructor.
* java/lang/Long.java: Imported new version from Classpath.
* java/lang/Number.java: Likewise.
* java/lang/Integer.java: Likewise.
* java/lang/Long.java: Likewise.
* java/lang/Float.java: Likewise.
* java/lang/Boolean.java: Likewise.
* java/lang/Double.java: Likewise.
* java/lang/Void.java: Likewise.
From-SVN: r54595
Tom Tromey [Thu, 13 Jun 2002 17:34:49 +0000 (17:34 +0000)]
re PR java/6865 (gcj: segmentation fault on incorrect input)
* lib/libjava.exp (test_libjava): Fixed typo.
* libjava.compile/PR6865.xfail: New file.
From-SVN: r54594
Roger Sayle [Thu, 13 Jun 2002 17:20:01 +0000 (17:20 +0000)]
toplev.c (rest_of_compilation): Simplify (and correct) the logic of the first delete-null-pointer-checks pass.
* toplev.c (rest_of_compilation): Simplify (and correct) the
logic of the first delete-null-pointer-checks pass.
From-SVN: r54593
Akim Demaille [Thu, 13 Jun 2002 16:46:01 +0000 (18:46 +0200)]
parse.y (class_declaration, [...]): Make sure all their rules have an action...
2002-06-13 Akim Demaille <akim@epita.fr>
* parse.y (class_declaration, interface_declaration): Make sure
all their rules have an action, in order to avoid meaningless `$$
= $1' and their type clashes.
From-SVN: r54592
Jan Hubicka [Thu, 13 Jun 2002 16:25:51 +0000 (18:25 +0200)]
* i386.c (ix86_expand_movstr): Fix pasto.
From-SVN: r54590
Jan Hubicka [Thu, 13 Jun 2002 16:20:02 +0000 (18:20 +0200)]
* reload.c (find_valid_class): Fix thinko in my previous patch.
From-SVN: r54589
Jeff Law [Thu, 13 Jun 2002 16:14:55 +0000 (10:14 -0600)]
emit-rtl.c (static_regno_reg_rtx): Define.
* emit-rtl.c (static_regno_reg_rtx): Define.
(init_emit_once): Initialize static_regno_reg_rtx.
(init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead
of building new hard reg objects once per function.
(gen_rtx_REG): Try to share hard regs.
* regclass.c (init_fake_stack_mems): New function broken out from
init_regs.
* rtl.h (init_fake_stack_mems): Declare.
* toplev.c (lang_independent_init): Call init_regs before
init_emit_once. Call init_fake_stack_mems after init_emit_once.
From-SVN: r54588
Ulrich Weigand [Thu, 13 Jun 2002 15:55:10 +0000 (15:55 +0000)]
s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
* config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
* config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro.
(CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove.
(EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64.
From-SVN: r54586
Gabriel Dos Reis [Thu, 13 Jun 2002 15:32:40 +0000 (15:32 +0000)]
tree-inline.c (expand_call_inline): Don' mess with _DECL fields.
* tree-inline.c (expand_call_inline): Don' mess with _DECL
fields.
From-SVN: r54585
Gabriel Dos Reis [Thu, 13 Jun 2002 12:40:54 +0000 (12:40 +0000)]
diagnostic.c (output_format): Recognize "%H" as a format specifier for a location_t.
* diagnostic.c (output_format): Recognize "%H" as a format
specifier for a location_t.
(text_specifies_location): New function.
(diagnostic_set_info): Use it.
From-SVN: r54584
Jeff Law [Thu, 13 Jun 2002 12:27:50 +0000 (06:27 -0600)]
* i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.
From-SVN: r54583
Jeff Law [Thu, 13 Jun 2002 12:24:00 +0000 (06:24 -0600)]
alias.c (argument_registers): Remove.
* alias.c (argument_registers): Remove.
(init_alias_once): Initialize static_reg_base_value here. Remove
initialization of argument_registers.
(init_alias_once_per_function): Remove.
(init_alias_analysis): Copy all the entries from static_reg_base_value
into new_reg_base_value all at once.
* rtl.h (init_alias_once_per_function): Remove declaration.
* function.c (prepare_function_start): Do not call
init_alias_once_per_function.
* caller-save.c (init_caller_save): Use gen_rtx_INSN instead of
starting a sequence and emitting an INSN.
From-SVN: r54582