platform/upstream/linaro-gcc.git
21 years agoForgot to add these two files to cimmot command line
mkoch [Mon, 17 Feb 2003 15:39:52 +0000 (15:39 +0000)]
Forgot to add these two files to cimmot command line

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63001 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-17 Michael Koch <konqueror@gmx.de>
mkoch [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63000 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-17 Michael Koch <konqueror@gmx.de>
mkoch [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62999 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62998 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (cmpqi): Remove mode from compare.
kazu [Mon, 17 Feb 2003 15:00:04 +0000 (15:00 +0000)]
* config/h8300/h8300.md (cmpqi): Remove mode from compare.
(cmphi): Likewise.
(*cmphi_h8300): Likewise.
(*cmphi_h8300hs): Likewise.
(cmpsi): Likewise.
(7 peephole2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62996 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62995 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-typeck.c (build_c_cast): Fold constant variables into
hubicka [Sun, 16 Feb 2003 22:10:10 +0000 (22:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62987 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/install.texi (Specific): Fix link for m68k-att-sysv.
gerald [Sun, 16 Feb 2003 21:07:30 +0000 (21:07 +0000)]
* doc/install.texi (Specific): Fix link for m68k-att-sysv.
(Binaries): Ditto for Sinix/Reliant Unix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62984 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62982 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* arm.c (arm_reload_in_hi): Ensure that the scratch register does
rearnsha [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62981 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62980 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9459
lerdsuwa [Sun, 16 Feb 2003 17:04:27 +0000 (17:04 +0000)]
PR c++/9459
* error.c (dump_type_prefix): Handle TYPEOF_TYPE.
(dump_type_suffix): Likewise.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62973 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62970 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew file.
rth [Sun, 16 Feb 2003 08:33:17 +0000 (08:33 +0000)]
New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62968 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoMark PR last change.
rth [Sun, 16 Feb 2003 08:26:30 +0000 (08:26 +0000)]
Mark PR last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62966 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
rth [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.
        (extract_muldiv): New.  Prevent runaway recursion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62963 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
dannysmith [Sun, 16 Feb 2003 06:27:19 +0000 (06:27 +0000)]
* config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
MASK_ALIGN_DOUBLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62960 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-15 Roger Sayle <roger@eyesopen.com>
sayle [Sun, 16 Feb 2003 01:35:38 +0000 (01:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62958 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62957 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62956 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (cfglayout.o): Depend on TARGET_H.
rth [Sun, 16 Feb 2003 00:58:29 +0000 (00:58 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62955 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62954 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62946 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
rth [Sat, 15 Feb 2003 21:37:22 +0000 (21:37 +0000)]
    * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
        (bypass_conditional_jumps): Accept computed_jump_p insns as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62945 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
rth [Sat, 15 Feb 2003 21:22:56 +0000 (21:22 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62944 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.h (processor_type): Add PPC440.
dje [Sat, 15 Feb 2003 21:19:01 +0000 (21:19 +0000)]
* 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]

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62943 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgcleanup.c: Include params.h.
rth [Sat, 15 Feb 2003 21:06:16 +0000 (21:06 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62942 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * recog.c (split_all_insns): Include new blocks in life update;
rth [Sat, 15 Feb 2003 21:01:48 +0000 (21:01 +0000)]
    * recog.c (split_all_insns): Include new blocks in life update;
        do a global life update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62941 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * search.c: ANSIfy function declarations and definitions.
nathan [Sat, 15 Feb 2003 18:03:22 +0000 (18:03 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62939 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lib/libjava.exp (test_libjava_from_javac): Use regsub not string map.
mark [Sat, 15 Feb 2003 16:39:28 +0000 (16:39 +0000)]
   * lib/libjava.exp (test_libjava_from_javac): Use regsub not string map.
       * libjava.mauve/mauve.exp (mauve_compute_uses): Likewise.
       (test_mauve): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62937 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-15 Michael Koch <konqueror@gmx.de>
mkoch [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62935 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
mkoch [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62934 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-15 Michael Koch <konqueror@gmx.de>
mkoch [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62933 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
dannysmith [Sat, 15 Feb 2003 04:58:22 +0000 (04:58 +0000)]
* config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
Update copyright.
* config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a, for
-mno-cygwin case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62932 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62931 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR optimization/7702
rth [Fri, 14 Feb 2003 22:23:48 +0000 (22:23 +0000)]
    PR optimization/7702
        * reload1.c (reload_cse_simplify_set): Honor
        CANNOT_CHANGE_MODE_CLASS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62921 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lib/libjava.exp (test_libjava_from_javac): Don't create .o files
mark [Fri, 14 Feb 2003 22:17:00 +0000 (22:17 +0000)]
   * lib/libjava.exp (test_libjava_from_javac): Don't create .o files
       containing $ characters and always quote class files with "'"s.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62919 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
aoliva [Fri, 14 Feb 2003 21:47:48 +0000 (21:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62916 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.mauve/mauve.exp (mauve_compute_uses): Add inner class
mark [Fri, 14 Feb 2003 20:36:00 +0000 (20:36 +0000)]
   * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62914 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.tpl (RANLIB): Define.
ro [Fri, 14 Feb 2003 20:35:24 +0000 (20:35 +0000)]
* Makefile.tpl (RANLIB): Define.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62913 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
mark [Fri, 14 Feb 2003 18:48:50 +0000 (18:48 +0000)]
   * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62908 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * simplify-rtx.c (simplify_binary_operation): Simplify ~y when
kazu [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62906 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/lang/System.java (properties): Use Properties.clone.
tromey [Fri, 14 Feb 2003 17:43:34 +0000 (17:43 +0000)]
* java/lang/System.java (properties): Use Properties.clone.
(setProperties): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62903 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Fix typo.
ro [Fri, 14 Feb 2003 17:28:55 +0000 (17:28 +0000)]
* configure.in: Fix typo.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62902 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62900 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-14 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 14 Feb 2003 12:07:31 +0000 (12:07 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62898 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on
zlomek [Fri, 14 Feb 2003 09:17:22 +0000 (09:17 +0000)]
* gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on
cris-*-elf* cris-*-aout* and mmix-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62896 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR opt/2391
nemet [Fri, 14 Feb 2003 07:35:44 +0000 (07:35 +0000)]
    PR opt/2391
        * combine.c: Fix spelling in comment.
        (cached_nonzero_bits): New function.
        (cached_num_sign_bit_copies): New function.
(nonzero_bits_with_known): New macro.
(num_sign_bit_copies_with_known): New macro.
        (nonzero_bits1): Rename from nonzero_bits.  Add three new
arguments.  Change calls from nonzero_bits to
nonzero_bits_with_known.
        (num_sign_bit_copies1): Rename from num_sign_bit_copies.  Add
three new arguments.  Change calls from num_sign_bit_copies to
num_sign_bit_copies_with_known.
        (nonzero_bits): New macro.
        (num_sign_bit_copies): New macro.
        (update_table_tick): Don't traverse identical subexpression more
than once.
        (get_last_value_validate): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62893 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl2.c: Include "timevar.h".
gdr [Fri, 14 Feb 2003 06:04:41 +0000 (06:04 +0000)]
* decl2.c: Include "timevar.h".
(namespace_ancestor): Time name lookup.
(add_using_namespace): Likewise.
(lookup_using_namespace): Likewise.
(qualified_lookup_using_namespace): Likewise.
(decl_namespace): Likewise.
(lookup_arg_dependent): Likewise.
* lex.c (do_identifier): Likewise.
(do_scoped_id): Likewise.
* pt.c (lookup_template_class): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62892 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
zack [Fri, 14 Feb 2003 05:42:30 +0000 (05:42 +0000)]
* emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
* function.h (struct emit_status): Length of regno_pointer_align
and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
not regno_pointer_align_length (i.e. length actually used, not
length as allocated)

* config/i386/i386.c (struct stack_local_entry): New.
(struct machine_function): Replace huge array with alist.
(assign_386_stack_local): Change to match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62891 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * inclhack.def (hpux_long_double): Tighten select and add bypass
danglin [Fri, 14 Feb 2003 04:19:03 +0000 (04:19 +0000)]
* inclhack.def (hpux_long_double): Tighten select and add bypass
regexp.
* fixincl.x: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62886 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 14 Feb 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62885 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * verify.cc (state::seen_subrs): New field.
tromey [Thu, 13 Feb 2003 23:48:39 +0000 (23:48 +0000)]
* verify.cc (state::seen_subrs): New field.
(state::state): Initialize it.
(state::clean_subrs): New method.
(state::~state): Call it.
(state::copy): Copy subroutine list.
(state::add_subr): New method.
(state::merge): Only register a change if the current subroutine
hasn't yet been noted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62878 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/io/InputStreamReader.java (getEncoding): Return null when
mark [Thu, 13 Feb 2003 23:28:57 +0000 (23:28 +0000)]
   * java/io/InputStreamReader.java (getEncoding): Return null when
       closed.
       * java/io/OutputStreamWriter.java (getEncoding): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62875 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/util/zip/InflaterInputStream.java (read): Return zero when len
mark [Thu, 13 Feb 2003 23:15:20 +0000 (23:15 +0000)]
   * java/util/zip/InflaterInputStream.java (read): Return zero when len
       is zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62872 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoTestcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html
zlomek [Thu, 13 Feb 2003 23:05:28 +0000 (23:05 +0000)]
Testcase for gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html
* gcc.dg/20030213-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62869 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/io/BufferedOutputStream.java (write(int)): Only flush when
mark [Thu, 13 Feb 2003 22:48:36 +0000 (22:48 +0000)]
   * java/io/BufferedOutputStream.java (write(int)): Only flush when
       next byte cannot be buffered.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62867 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 13 Feb 2003 21:39:03 +0000 (21:39 +0000)]
2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
* include/bits/basic_ios.tcc: Guard use of extern template.
* include/std/std_iomanip.h: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/istream.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/basic_string.tcc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62865 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 19:28:32 +0000 (19:28 +0000)]
2003-02-13  Michael Koch  <konqueror@gmx.de>

* java/awt/Label.java
(Label): Don't implement Serializable directly.
(addNotify): Fixed typo in documentation.
* java/awt/List.java
(List): Don't implement Serializable directly.
* java/awt/PopupMenu.java
(PopupMenu): Don't implement Serializable directly.
* java/awt/ScrollPane.java
(ScrollPane): Don't implement Serializable directly.
* java/awt/Scrollbar.java
(Scrollbar): Don't implement Serializable directly.
* java/awt/TextArea.java
(preferredSize): Fixed method arguments.
* java/awt/TextField.java
(TextField): Don't implement Serializable directly.
* java/awt/color/ICC_ColorSpace.java
(fromCIOXYZ): Documentation added.
(getMinValue): Documentation added.
(getMaxValue): Documentation added.
* java/awt/datatransfer/DataFlavor.java
(isMimeTypeEqual): May not be final.
(clone): Throws CloneNotSupportedException.
(getReaderForText): Don't throws UnsupportedEncodingException.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62863 138bc75d-0d04-0410-961f-82ee72b054a4

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

* gnu/java/awt/peer/gtk/GdkGraphics.java
(drawString): New stubbed method.
* java/awt/Graphics.java
(drawString): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62862 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
zlomek [Thu, 13 Feb 2003 18:31:40 +0000 (18:31 +0000)]
* cfgcleanup.c (outgoing_edges_match): When there is single outgoing
edge and block ends with a jump insn it must be simple jump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62858 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 13 Feb 2003 17:43:58 +0000 (17:43 +0000)]
2003-02-13  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/ostream.tcc (sentry::sentry): Improve
performance-wise the fix for libstdc++/9563.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62855 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (PREPROCESSOR_DEFINES): Add
drow [Thu, 13 Feb 2003 17:23:56 +0000 (17:23 +0000)]
* Makefile.in (PREPROCESSOR_DEFINES): Add
@TARGET_SYSTEM_ROOT_DEFINE@.
* configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
is specified or if building a cross compiler.
(TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
if the sysroot is under $exec_prefix.
* configure: Regenerated.
* cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
defined.
(struct default_include): Add add_sysroot field.
(cpp_SYSROOT): Declare.
* cppdefault.c (cpp_include_defaults): Fill in add_sysroot
field.
(cpp_SYSROOT): New variable.
* cppinit.c (cpp_create_reader): Initialize
CPP_OPTION (pfile, sysroot).
(init_standard_includes): Handle add_sysroot.  Do not
add unrelocated copies of relocated directories.
(COMMAND_LINE_OPTIONS): Add -isysroot.
(cpp_handle_option): Handle -isysroot.
* cpplib.h (struct cpp_options): Add sysroot member.
* gcc.c (The Specs Language): Update description of %I.
(target_system_root_changed): New variable.
(process_command): Conditionalize make_relative_prefix call
on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE.  Set
target_system_root_changed.
(do_spec_1): Add -isysroot to %I.
* doc/invoke.texi (Spec Files): Update description of %I.
* doc/install.texi (--with-sysroot): Update comment about
relocation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62853 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Fix PR c++/7612.
drow [Thu, 13 Feb 2003 17:21:20 +0000 (17:21 +0000)]
Fix PR c++/7612.
* cplus-dem.c (demangle_signature): Call string_delete.
Remove extra string_init.
(demangle_arm_hp_template): Call string_delete instead of
string_clear.  Add missing string_delete call.
(demangle_qualified): Add missing string_delete call.
(do_type): Remove unused variable btype.  Add missing string_delete
call.  Call string_delete instead of string_clear.
(demangle_fund_type): Move variable btype inside of the switch
statement.  Add missing string_delete call.
(do_arg): Call string_delete instead of string_clear.  Remove extra
string_init.
(demangle_nested_args): Free work->previous_argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62852 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Casey Marshall <rsdio@metastatic.org>
tromey [Thu, 13 Feb 2003 17:00:22 +0000 (17:00 +0000)]
2003-02-13  Casey Marshall  <rsdio@metastatic.org>

PR libgcj/9271:
* java/security/SecureRandom.java (next): Avoid bias in results.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62851 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.mauve/xfails: Added entries for an unimplemented Class
tromey [Thu, 13 Feb 2003 16:36:57 +0000 (16:36 +0000)]
* libjava.mauve/xfails: Added entries for an unimplemented Class
method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62843 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (a peephole2): New.
kazu [Thu, 13 Feb 2003 16:33:00 +0000 (16:33 +0000)]
* config/h8300/h8300.md (a peephole2): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62842 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 15:12:36 +0000 (15:12 +0000)]
2003-02-13  Michael  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java
(lengthInternal): Must be native.
(size): Check if channel is already closed.
(implCloseChannel): Reformated.
(read): w was unused, removed it.
(read): Removed.
(read): New method.
(write): New method.
(map): Check arguments.
(force): Throws IOException, check if channel is closed.
(transferTo): New method.
(transferFrom): New method.
(lock): New method.
(tryLock): New method.
(position): New method.
(truncate): New method.
(nio_mmap_file): Uncommented.
(nio_munmap_file): Uncommented.
(nio_msync): Uncommented.
* gnu/java/nio/natFileChannelImpl.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62841 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/install.texi (Specific): Update three SCO-related URLs.
gerald [Thu, 13 Feb 2003 14:16:45 +0000 (14:16 +0000)]
* doc/install.texi (Specific): Update three SCO-related URLs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62840 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
schwab [Thu, 13 Feb 2003 12:28:26 +0000 (12:28 +0000)]
* cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
Parenthesize properly.
(NPREDECESORS): Parenthesize properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62838 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 11:37:10 +0000 (11:37 +0000)]
2003-02-13  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBuffer.java
(endian): New member variable.
(get): New methods.
(equals): New method.
(compareTo): New method.
(order): New methods.
(compact): New method.
(isDirect): New method.
(slice): New method.
(duplicate): New method.
(asReadOnlyBuffer): New method.
(asCharBuffer): New method.
(asDoubleBuffer): New method.
(asFloatBuffer): New method.
(asIntBuffer): New method.
(asLongBuffer): New method.
(asShortBuffer): New method.
(get*): New methods.
(put*): New methods.
(toString): New method.
* java/nio/CharBuffer.java
(CharBuffer): Implement Comparable instead of Cloneable.
(get): May not be final.
(put): May not be final.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62836 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
mark [Thu, 13 Feb 2003 09:33:18 +0000 (09:33 +0000)]
2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>

       * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
       lastIndexOf( ) instead of indexOf( ) to find the colon before
       the line number, because Win32 file names might contain a
       drive letter and a colon at the start of an absolute path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62834 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 08:50:52 +0000 (08:50 +0000)]
2003-02-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/natSocketChannelImpl.cc
(SocketConnect): This is not implemented yet.
(SocketBind): This is not implemented yet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62833 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 08:40:35 +0000 (08:40 +0000)]
2003-02-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/natByteBufferImpl.cc,
gnu/java/nio/natCharBufferImpl.cc,
gnu/java/nio/natDoubleBufferImpl.cc,
gnu/java/nio/natFloatBufferImpl.cc,
gnu/java/nio/natIntBufferImpl.cc,
gnu/java/nio/natLongBufferImpl.cc,
gnu/java/nio/natShortBufferImpl.cc:
Added copyright and license.
* java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java
(array): Throw exceptions.
(arrayOffset): Throw exceptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62832 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoImprove previous fix.
gdr [Thu, 13 Feb 2003 08:10:27 +0000 (08:10 +0000)]
Improve previous fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62831 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-14 Andrew Pinski <pinskia@physics.uc.edu>
gdr [Thu, 13 Feb 2003 08:02:39 +0000 (08:02 +0000)]
2003-02-14   Andrew Pinski <pinskia@physics.uc.edu>

        * decl.c: (define_label): Fix warning for return 0 instead of NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62828 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 07:45:58 +0000 (07:45 +0000)]
2003-02-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/util/prefs/FileBasedFactory.java,
gnu/java/util/prefs/MemmoryBasedFactory.java,
gnu/java/util/prefs/MemoryBasedPreferences.java,
gnu/java/util/prefs/NodeReader.java,
gnu/java/util/prefs/NodeWriter.java,
java/util/prefs/AbstractPreferences.java,
java/util/prefs/BackingStoreException.java,
java/util/prefs/InvalidPreferencesFormatException.java,
java/util/prefs/NodeChangeEvent.java,
java/util/prefs/NodeChangeListener.java,
java/util/prefs/PreferenceChangeEvent.java,
java/util/prefs/PreferenceChangeListener.java,
java/util/prefs/Preferences.java,
java/util/prefs/PreferencesFactory.java:
New files, all merged from classpath.
* Makefile.am
(ordinary_java_source_files): Added the following files:
gnu/java/util/prefs/FileBasedFactory.java,
gnu/java/util/prefs/MemmoryBasedFactory.java,
gnu/java/util/prefs/MemoryBasedPreferences.java,
gnu/java/util/prefs/NodeReader.java,
gnu/java/util/prefs/NodeWriter.java,
(core_java_source_files): Added the following files:
java/util/prefs/AbstractPreferences.java,
java/util/prefs/BackingStoreException.java,
java/util/prefs/InvalidPreferencesFormatException.java,
java/util/prefs/NodeChangeEvent.java,
java/util/prefs/NodeChangeListener.java,
java/util/prefs/PreferenceChangeEvent.java,
java/util/prefs/PreferenceChangeListener.java,
java/util/prefs/Preferences.java,
java/util/prefs/PreferencesFactory.java
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62827 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoMoved ChangeLog entry into correct ChangeLog file
mkoch [Thu, 13 Feb 2003 07:36:10 +0000 (07:36 +0000)]
Moved ChangeLog entry into correct ChangeLog file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62825 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 07:33:40 +0000 (07:33 +0000)]
2003-02-13  Michael Koch  <konqueror@gmx.de>

* java/net/NetPermission.java
(NetPermission): Make doucmentation match the method declaration.
* java/net/NetworkInterface.java
(equals): Reformated for GNU coding style.
* java/net/ServerSocket.java: Merged with classpath.
* java/net/Socket.java: Partly merged with classpath (Added some @since).
* java/net/SocketImpl.java
(localPort): Merged with classpath (initialize with -1).
* java/net/SocketPermission.java: Merged with classpath (reindented).
* java/net/URLDecoder.java: Merged with classpath (reindented).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62824 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-13 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 13 Feb 2003 07:02:12 +0000 (07:02 +0000)]
2003-02-13  Michael Koch  <konqueror@gmx.de>

* java/awt/GridBagConstraints.java
(FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
* java/awt/KeyboardFocusManager.java
(setGlobalCurrentFocusCycleRoot): Must be public.
* java/awt/MenuComponent.java
(MenuComponent): Must be public.
* java/awt/Toolkit.java:
Added some empty lines to make documentation more readable.
(getFontPeer): Added @deprecated.
(getColorModel): Added exception documentation.
(getProperty): Fixed documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62822 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
gdr [Thu, 13 Feb 2003 04:57:20 +0000 (04:57 +0000)]
* timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
cp/
* decl.c: Include "timevar.h".
(poplevel): Time name lookup.
(find_binding): Likewise.
(push_namespace): Likewise.
(pop_nested_namespace): Likewise.
(store_bindings): Likewise.
(maybe_push_to_top_level): Likewise.
(pop_from_top_level): Likewise.
(push_local_name): Likewise.
(pushtag): Likewise.
(pushdecl): Likewise.
(pushdecl_with_scope): Likewise.
(pushdecl_namespace_level): Likewise.
(pushdecl_top_level): Likewise.
(pushdecl_class_level): Likewise.
(push_class_level_binding): Likewise.
(push_using_decl): Likewise.
(push_using_directive): Likewise.
(push_overloaded_decl): Likewise.
(lookup_label): Likewise.
(define_label): Likewise.
(lookup_tag): Likewise.
(lookup_tag_reverse): Likewise.
(lookup_namespace_name): Likewise.
(select_decl): Likewise.
(unqualified_namespace_lookup): Likewise.
(lookup_name_real): Likewise.
(lookup_name_current_level): Likewise.
(lookup_type_current_level): Likewise.
(maybe_inject_for_scope_var): Likewise.
(xref_tag): Likewise.

* Make-lang.in (cp/decl.o): Add dependency on timevar.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62819 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 13 Feb 2003 04:02:20 +0000 (04:02 +0000)]
2003-02-12  Phil Edwards  <pme@gcc.gnu.org>

* config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
(_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
(_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
when we don't have static mutex initialization.
(__exchange_and_add):  Use _Atomic_add_mutex_once.
* src/misc-inst.cc:  Definitions of all the above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62818 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 13 Feb 2003 03:50:18 +0000 (03:50 +0000)]
2003-02-12  Phil Edwards  <pme@gcc.gnu.org>

* decl.c (build_enumerator):  Remove unneeded test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62817 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
sayle [Thu, 13 Feb 2003 03:09:45 +0000 (03:09 +0000)]
* config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
(atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.

* reg-stack.c (subst_stack_regs_pat): Add support for binary
UNSPEC instructions (e.g. "fpatan").

* gcc.dg/i386-387-1.c: Add new test for __builtin_atan2.
* gcc.dg/i386-387-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62816 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* configure.host (alpha*-*): Default to -mieee.
jsturm [Thu, 13 Feb 2003 02:51:26 +0000 (02:51 +0000)]
* configure.host (alpha*-*): Default to -mieee.
* configure.in (IEEESPEC): New.
* libgcj.spec.in (jc1): Add IEEESPEC.
* configure: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62815 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * acconfig.h: New file. Add uintptr_t.
ghazi [Thu, 13 Feb 2003 01:54:07 +0000 (01:54 +0000)]
* acconfig.h: New file.  Add uintptr_t.
* config.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62811 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * varray.c (element_size): Remove.
mrs [Thu, 13 Feb 2003 00:41:28 +0000 (00:41 +0000)]
* varray.c (element_size): Remove.
(uses_ggc): Remove.
(element): Add.
(varray_init): Use new interface.
(varray_grow): Use new interface.
(varray_clear): Use new interface.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62810 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 13 Feb 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62809 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
tromey [Thu, 13 Feb 2003 00:07:37 +0000 (00:07 +0000)]
2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>

* include/win32.h: Include ws2tcpip.h instead of
winsock.h to obtain definition of the socklen_t type.
Remove IP_TOS definition - not needed with ws2tcpip.h
(_Jv_connect): Correct slight formatting error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62801 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 12 Feb 2003 23:54:32 +0000 (23:54 +0000)]
2003-02-12  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/ppc-spe.c: Fix formatting.
        Enable tests that were previously unsupported by gas.
        Delete tests for instructions that no longer exist.
        Switch arguments on evsubifw builtin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62798 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 12 Feb 2003 23:49:30 +0000 (23:49 +0000)]
2003-02-12  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Add casts to the arguments of the following
        macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
        evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
        evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
        __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
        __ev_get_u16, __ev_get_s16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62797 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
tromey [Wed, 12 Feb 2003 23:40:31 +0000 (23:40 +0000)]
2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>

* jni.cc (_Jv_LookupJNIMethod): Modify to accept the
size of the arguments for a JNI function. For Win32,
modify to search for all forms of possible exported
names of an stdcall JNI function.
(_Jv_JNIMethod::call): Modify to calculate the size
of the arguments passed to a JNI function and pass
it to _Jv_LookupJNIMethod.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62796 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
tromey [Wed, 12 Feb 2003 23:39:50 +0000 (23:39 +0000)]
2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>

* decl.c (java_init_decl_processing): Change
soft_lookupjnimethod_node to reflect the change in
signature of _Jv_LookupJNIMethod in libjava/jni.cc
* expr.c (build_jni_stub): Calculate and pass the size
on the stack of the arguments to a JNI function. Use
new target macro MODIFY_JNI_METHOD_CALL to allow a
target to modify the call to a JNI method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62795 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (a peephole2): New.
kazu [Wed, 12 Feb 2003 23:32:21 +0000 (23:32 +0000)]
* config/h8300/h8300.md (a peephole2): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62792 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
hubicka [Wed, 12 Feb 2003 21:48:59 +0000 (21:48 +0000)]
* Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
(OBJS): Add callgraph.o
(callgraph.o): New.
* c-decl.c (expand_body_1): Break out from ...
(expand_body): This one;  change calling convention
(finish_function): Move some of expand_body logic here.
(c_expand_deferred_function): Update call of expand_body
(c_expand_stmt): Use c_expand_body_1.
* c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
* c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
* c-tree.h (c_expand_body): Declare.
* callgraph.c: New file.
* flags.h (flag_unit_at_a_time): Declare.
* langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
* langhooks.h (struct lang_hooks_for_callgraph): New.
(struct lang_hooks): Add callgraph field.
* toplev.c (flag_unit_at_a_time): New.
(lang_independent_options): Add flag_unit_at_a_time.
(process_options): Disable unit-at-a-time mode for frontends not
supporting callgraph.
* tree-inline.c (typedef struct inline_data): Add "decl"
(expand_call_inline): Update callgraph.
(optimize_inline_calls): Set id.decl.
* tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
cgraph_calls_p): Declare.
* invoke.texi (-funit-at-a-time): Document

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62789 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 12 Feb 2003 20:25:38 +0000 (20:25 +0000)]
2003-02-12  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Fix misc formatting.
        (__ev_create_ufix32_fs): Cast ev argument.
        (__ev_create_sfix32_fs): Same.
        (__ev_get_sfix32_fs_internal): Cast arguments to builtins.
        (__ev_get_ufix32_fs_internal): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62788 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parser.c (cp_parser_postfix_expression): Set idk properly for
jason [Wed, 12 Feb 2003 20:02:40 +0000 (20:02 +0000)]
    * parser.c (cp_parser_postfix_expression): Set idk properly for
        object->scope::member.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62784 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 12 Feb 2003 19:39:19 +0000 (19:39 +0000)]
2003-02-12  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9563
* include/bits/ostream.tcc (sentry::sentry): Check
the state of the stream after the preparation.
* testsuite/27_io/ostream_sentry.cc (test02): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62779 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
tromey [Wed, 12 Feb 2003 18:39:35 +0000 (18:39 +0000)]
2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>

* doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
* config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62776 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplib.c (do_include_common): Move warnings for
zack [Wed, 12 Feb 2003 17:01:53 +0000 (17:01 +0000)]
* cpplib.c (do_include_common): Move warnings for
#include_next and #import out to callers.  Use early-return
instead of nested ifs.  Don't do check_eol here.
(parse_include): Do check_eol here with the rest of the
parsing stuff.
(do_include_next, do_import): Now handle warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62772 138bc75d-0d04-0410-961f-82ee72b054a4