aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-02-19003-02-18 Nick Clifton <nickc@redhat.com>Nick Clifton1-0/+23
Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.dg/20030218-1.c: New. * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE. * target-def.h (TARGET_INITIALIZER): Add TARGET_VECTOR_TYPES_COMPATIBLE. (TARGET_VECTOR_TYPES_COMPATIBLE): New macro. * target.h (struct gcc_target): Add field vector_types_compatible. * c-typeck.c (comptypes): Take into account TARGET_VECTOR_TYPES_COMPATIBLE. (convert_for_assignment): Same. (really_start_incremental_init): Disallow initialization of ev64_opaque types. * config/rs6000/rs6000.c (is_ev64_opaque_type): New. (rs6000_spe_vector_types_compatible): New. (TARGET_VECTOR_TYPES_COMPATIBLE): Define. From-SVN: r63078
2003-02-19XToolkit.java (getFontMetrics): initialize if necessary.Hans Boehm16-24/+229
2003-02-18 Hans Boehm <Hans.Boehm@hp.com> * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize if necessary. * gnu/java/awt/peer/gtk/GtkButtonPeer.java, gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c (setFont, gtkSetFont): add. gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): Propagate font to peer. (setFont): add FIXME comment. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (gtkTextGetSize): fix height, width computation. * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer): Make X font name a bit less bogus. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c (post_adjustment_event): Pass on GTK_SCROLL_NONE. * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check. (processAdjustmentEvent): Adjust value. * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one logic errors. * java/awt/Component.java (setVisible, show, hide): Call show and hide methods in subclasses. (getPreferredSize): don't set prefSize before we have peer. * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize): Guess (0,0) if we don't have peer. From-SVN: r63077
2003-02-19Daily bump.GCC Administrator2-2/+2
From-SVN: r63076
2003-02-18Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).Andreas Schwab3-1/+8
* Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H). * toplev.c: Include langhooks-def.h. From-SVN: r63067
2003-02-18std_sstream.h (str()): the size of the current string may be different from ↵Paolo Carlini3-2/+36
the initial one whenever... 2003-02-18 Paolo Carlini <pcarlini@unitus.it> * include/std/std_sstream.h (str()): the size of the current string may be different from the initial one whenever _M_out_end > _M_out_beg. * testsuite/27_io/stringbuf_members.cc (test07): Add. From-SVN: r63066
2003-02-18mips.h (enum processor_type): Sort entries alphabetically.Chris Demetriou3-7/+14
2003-02-18 Chris Demetriou <cgd@broadcom.com> * config/mips/mips.h (enum processor_type): Sort entries alphabetically. * config/mips/mips.md (define_attr cpu): Sync with processor_type enum values, including adding entries that were missing. From-SVN: r63065
2003-02-18sh.c (calc_live_regs): Also check GET_CODE when checking if initial value ↵J"orn Rennecke2-1/+8
for PR_REG is still the... * sh.c (calc_live_regs): Also check GET_CODE when checking if initial value for PR_REG is still the PR_REG register. From-SVN: r63064
2003-02-18Patch for PR 9617.Jim Wilson2-4/+16
* config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second instruction in output template. (bsp_value): Change output template from string to C code, add %, before actual instruction. (flushrs): Mark as not predicable. From-SVN: r63062
2003-02-18inclhack.def (netbsd_bogus_semicolon): New fix.Krister Walfridsson4-3/+73
2003-02-18 Krister Walfridsson <cato@df.lth.se> * inclhack.def (netbsd_bogus_semicolon): New fix. * fixincl.x: Rebuilt. * tests/base/ctype.h: Update. From-SVN: r63061
2003-02-18fold-const.c (negate_expr_p): New function to determine whether an ↵Roger Sayle2-9/+67
expression can be negated cheaply. * fold-const.c (negate_expr_p): New function to determine whether an expression can be negated cheaply. (fold) [MINUS_EXPR]: Use it to determine whether to transform -A - B into -B - A for floating point types. From-SVN: r63059
2003-02-18sbitmap.c (sbitmap_resize): New function.Roger Sayle4-14/+68
* sbitmap.c (sbitmap_resize): New function. * sbitmap.h (sbitmap_resize): Prototype here. * recog.c (split_all_insns): Use sbitmap_resize. From-SVN: r63058
2003-02-18h8300.md (*zero_extendhisi2_h8300): Fix the insn length.Kazu Hirata2-5/+12
* config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the insn length. (extendqisi2): Likewise. (*extendhisi2_h8300): Likewise. From-SVN: r63056
2003-02-18re PR c++/9704 (miscompilation of classes with bit fields)Mark Mitchell3-4/+27
PR c++/9704 * class.c (layout_class_type): In the 3.2 ABI, take into account trailing bit fields when computing CLASSTYPE_SIZE_UNIT. PR c++/9704 * g++.dg/init/copy5.C: New test. From-SVN: r63055
2003-02-18re PR c++/9704 (miscompilation of classes with bit fields)Mark Mitchell1-0/+29
PR c++/9704 * class.c (layout_class_type): In the 3.2 ABI, take into account trailing bit fields when computing CLASSTYPE_SIZE_UNIT. PR c++/9704 * g++.dg/init/copy5.C: New test. [[Split portion of a mixed commit.]] From-SVN: r63054.2
2003-02-18* Makefile.tpl (check-c++): Allow parallelism.Jason Merrill3-2/+8
From-SVN: r63053
2003-02-18langhooks.h, [...]: introduce new langhook...Matt Austern7-34/+65
* langhooks.h, langhooks-def.h: introduce new langhook, final_write_globals, with write_global_declarations as default. * toplev.c: Move invocation of wrapup_global_declarations from compile_file to new function, write_global_declarations. Change compile_file to use final_write_globals hook. Change wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is conditional. * cp/cp-lang.c: Change lang hooks so that final_write_globals does nothing for C++. * cp/decl.c (wrapup_globals_for_namespace): Remove special handling of global namespace. From-SVN: r63051
2003-02-18* pa.md: Correct and enhance comment.John David Anglin2-8/+44
From-SVN: r63049
2003-02-18Remove conflict markerGeoffrey Keating1-1/+0
From-SVN: r63048
2003-02-18pch.exp: Delete $bname.h before copying into it.Geoffrey Keating3-2/+7
* gcc.dg/pch/pch.exp: Delete $bname.h before copying into it. * g++.dg/pch/pch.exp: Likewise. From-SVN: r63047
2003-02-18* gcc.c (validate_switches): Don't scan past closing '}'.Geoffrey Keating4-5/+12
From-SVN: r63046
2003-02-18re PR c++/9623 (named initializer regression)Jason Merrill3-2/+11
PR c++/9623 * decl.c (reshape_init): Don't mess with initializer labels. From-SVN: r63045
2003-02-18re PR c++/9623 (named initializer regression)Jason Merrill1-1/+7
PR c++/9623 * decl.c (reshape_init): Don't mess with initializer labels. [[Split portion of a mixed commit.]] From-SVN: r63044.2
2003-02-1820030209-1.c: Enable the test if STACK_SIZE is not defined.Kazu Hirata2-3/+8
* gcc.c-torture/execute/20030209-1.c: Enable the test if STACK_SIZE is not defined. From-SVN: r63042
2003-02-19re PR other/7350 ('shoud' typos)Ben Elliston4-2/+12
* Fix for PR other/7350 [cp] * decl.c (duplicate_decls): Fix typo in comment. [ada] * 5qtaprop.adb (Sleep): Fix typo in comment. From-SVN: r63037
2003-02-18re PR libstdc++/9582 (ODR violation in std::allocator)Paolo Carlini2-2/+5
2003-02-18 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9582 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert. From-SVN: r63031
2003-02-18re PR c++/1607 ([3.3 only] Format attributes on methods undocumented)Ben Elliston2-1/+13
PR c++/1607 * doc/extend.texi (Function Attributes): Document the effect of the C++ "this" parameter on the counting of arguments for the "format" and "format_arg" attributes. From-SVN: r63030
2003-02-182003-02-18 Michael Koch <konqueror@gmx.de>Michael Koch5-10/+316
* java/nio/channels/FileChannel.java (toString): New implementation, added documentation. (map): Added exception documentation. (size): Added exception documentation. (write): New methods, documentation work. (read): New methods, documentation work. (implCloseChannel): Rewrote exception documentation. (force): Throws IOException, added documentation. (lock): New methods. (tryLock): New methods. (position): New methods. (transferTo): New method. (transferFrom): New method. (truncate): New method. * java/nio/channels/spi/SelectorProvider.java (provider): Implemented. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/nio/DatagramChannelImpl.java gnu/java/nio/FileChannelImpl.java gnu/java/nio/PipeImpl.java gnu/java/nio/SelectionKeyImpl.java gnu/java/nio/SelectorImpl.java gnu/java/nio/SelectorProviderImpl.java gnu/java/nio/ServerSocketChannelImpl.java gnu/java/nio/SocketChannelImpl.java java/nio/channels/FileLock.java (nat_java_source_files): Added the following files: gnu/java/nio/natFileChannelImpl.cc gnu/java/nio/natSelectorImpl.cc gnu/java/nio/natSocketChannelImpl.cc * Makefile.in: Regenerated. From-SVN: r63028
2003-02-18Add PR numberMark Mitchell1-0/+1
From-SVN: r63027
2003-02-18class.c (build_base_field): Mark fields for base classes with DECL_IGNORED_P.Michael Elizabeth Chastain2-1/+7
* class.c (build_base_field): Mark fields for base classes with DECL_IGNORED_P. From-SVN: r63026
2003-02-18[multiple changes]Benjamin Kosnik9-61/+224
2003-02-17 Benjamin Kosnik <bkoz@redhat.com> * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well. * testsuite/27_io/ios_members.cc (test03): New. 2003-02-17 Jerry Quinn <jlquinn@optonline.net> * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare. (basic_ios::_M_cache_facets): Move into above. * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale cache. (basic_ios::imbue): Force locale cache to be built. (basic_ios::_M_init): Create and initialize locale cache. * include/bits/ios_base.h (__locale_cache_base): Declare. (ios_base::_M_locale_cache): New. (ios_base::_M_cache): Define. * include/bits/locale_facets.h: (__num_base): Fix comment. Add _S_end. (__locale_cache_base,__locale_cache<_CharT>): New classes. (__locale_cache<char>, __locale_cache<wchar_t>): New specializations. * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale cache literal string, grouping flag, thousands separator. (__locale_cache<_CharT>::__locale_cache): New. (__locale_cache<_CharT>::_M_init): New. (__locale_cache<_CharT>::_M_populate): New. * src/ios.cc: Clear _M_locale_cache in constructor. * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>): New. From-SVN: r63025
2003-02-18ColorModel.java: Re-merged with Classpath.Tom Tromey3-10/+9
* java/awt/image/ColorModel.java: Re-merged with Classpath. * java/awt/image/ImageFilter.java: Likewise. From-SVN: r63024
2003-02-18Daily bump.GCC Administrator2-2/+2
From-SVN: r63023
2003-02-17BigInteger.java (euclidInv): Return array of `BigInteger's.Raif S. Naffah2-18/+20
2003-02-17 Raif S. Naffah <raif@fl.net.au> * java/math/BigInteger.java (euclidInv): Return array of `BigInteger's. Changed all callers. From-SVN: r63014
2003-02-17spe.h (__ev_stdd): Cast 2nd arg.Aldy Hernandez2-3/+9
2003-02-17 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg. (__ev_stdw): Same. (__ev_stdh): Same. From-SVN: r63012
2003-02-17locale-inst.cc: Do not include <cassert>.Paolo Carlini3-2/+5
2003-02-17 Paolo Carlini <pcarlini@unitus.it> * src/locale-inst.cc: Do not include <cassert>. * src/locale.cc: Likewise. From-SVN: r63009
2003-02-17re PR libstdc++/9580 (basic_filebuf<> with custom traits_type fails to link)Paolo Carlini3-4/+46
2003-02-17 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9580 * include/std/std_fstream.h: Declare underflow and uflow specializations, change generic definitions to do nothing. * src/fstream.cc: Add underflow and uflow specializations. From-SVN: r63008
2003-02-17Properties.java (store): Move the code formerly in list(), into this method.Ranjit Mathew2-33/+50
2003-02-17 Ranjit Mathew <rmathew@hotmail.com> * java/util/Properties.java (store): Move the code formerly in list(), into this method. (list (PrintStream)): Just call list (PrintWriter) with a PrintWriter object constructed from the given PrintStream object. (list (PrintWriter)): Emulate the output of Properties.list() as found in JDK 1.3/1.4. From-SVN: r63006
2003-02-17re PR libstdc++/9169 (filebuf output fails if codecvt<>::out returns noconv)Paolo Carlini3-2/+56
2003-02-17 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9169 * include/bits/fstream.tcc (_M_convert_to_external): Deal correctly with noconv, as prescribed by 27.8.1.4,p8. * testsuite/27_io/filebuf_virtuals.cc (test10): Add. From-SVN: r63004
2003-02-17CompareNaN.java: New test.Jeff Sturm3-0/+21
* libjava.lang/CompareNaN.java: New test. * libjava.lang/CompareNaN.out: New test. From-SVN: r63003
2003-02-17re PR c++/9457 (ICE in tsubst_copy, at cp/pt.c:7124)Kriang Lerdsuwanakij4-2/+22
PR c++/9457 * pt.c (tsubst_copy_and_build) [CONSTRUCTOR]: Substitute CONSTRUCTOR_ELTS only once. * g++.dg/template/init1.C: New test. From-SVN: r63002
2003-02-17Forgot to add these two files to cimmot command lineMichael Koch2-4/+47
From-SVN: r63001
2003-02-172003-02-17 Michael Koch <konqueror@gmx.de>Michael Koch2-18/+34
* java/net/DatagramSocket.java (connect): Merged with classpath. (disconnect): Merged documentation with classpath. (receice): Merged documentation with classpath. (send): Merged documentation with classpath. From-SVN: r63000
2003-02-172003-02-17 Michael Koch <konqueror@gmx.de>Michael Koch29-72/+2186
* java/awt/dnd/DragSourceContext.java (addDragSourceListener): Added documentation. * java/awt/dnd/DragSourceDragEvent.java (serialVersionUID): New member variable. (getDropAction): Reformated. * java/awt/dnd/DragSourceDropEvent.java (serialVersionUID): New member variable. (dropSuccess): Renamed from success for serialization issues. * java/awt/dnd/DragSourceEvent.java (serialVersionUID): New member variable. * java/awt/dnd/DropTarget.java (serialVersionUID): New member variable. (DropTarget): Implemented, documentation reworked. (setComponent): Documentation added. (getComponent): Documentation added. (setDefaultActions): Documentation added. (getDefaultActions): Documentation added. (addDropTargetListener): Documentation added. * java/awt/dnd/DropTargetContext.java (DropTargetContext): Documentation added. (TransferableProxy.TransferableProxy): New method. (dropComplete): Fixed documentation. (getTransferable): Fixed documentation. (createTransferableProxy): Implemented. * java/awt/dnd/DropTargetDragEvent.java (DropTargetDragEvent): Documentation added. (serialVersionUID): New member variable. (DropTargetDragEvent): Throw exceptions, documentation added. (acceptDrag): Implemented. (getCurrentDataFlavors): Implemented.3yy (getCurrentDataFlavorsAsList): Implemented. (isDataFlavorSupported): Implemented. (rejectDrag): Implemented. * java/awt/dnd/DropTargetDropEvent.java (DropTargetDropEvent): Documentation added. (serialVersionUID): New member variable. (actions): Renamed from srcActions for serialization issues. (isLocalTx): Renamed from isLocalTx for serialization issues. (DropTargetDropEvent): New implementation, throw exceptions, documentation added. (getCurrentDataFlavors): Implemented. (getCurrentDataFlavorsAsList): Implemented. (isDataFlavorSupported): Implemented. (getSourceActions): Implemented. (getDropAction): Implemented. (getTransferable): Implemented. (acceptDrop): Implemented. (rejectDrop): Implemented. * java/awt/dnd/DropTargetListener.java (drop): Fixed documentation. * java/awt/dnd/MouseDragGestureRecognizer.java (MouseDragGestureRecognizer): Documentation added. 2003-02-17 Michael Koch <konqueror@gmx.de> * java/awt/font/FontRenderContext.java, java/awt/font/ShapeGraphicAttribute.java, java/awt/font/MultipleMaster.java, java/awt/font/TransformAttribute.java, java/awt/font/GlyphJustificationInfo.java, java/awt/font/LineBreakMeasurer.java, java/awt/font/TextMeasurer.java, java/awt/font/TextLayout.java, java/awt/font/LineMetrics.java, java/awt/font/TextAttribute.java, java/awt/font/GlyphMetrics.java, java/awt/font/OpenType.java, java/awt/font/GlyphVector.java, java/awt/font/GraphicAttribute.java, java/awt/font/ImageGraphicAttribute.java, java/awt/font/NumericShaper.java: New files. * Makefile.am (awt_java_source_files): Added the following files: java/awt/font/FontRenderContext.java java/awt/font/ShapeGraphicAttribute.java java/awt/font/MultipleMaster.java java/awt/font/TransformAttribute.java java/awt/font/GlyphJustificationInfo.java java/awt/font/LineBreakMeasurer.java java/awt/font/TextMeasurer.java java/awt/font/TextLayout.java java/awt/font/LineMetrics.java java/awt/font/TextAttribute.java java/awt/font/GlyphMetrics.java java/awt/font/OpenType.java java/awt/font/GlyphVector.java java/awt/font/GraphicAttribute.java java/awt/font/ImageGraphicAttribute.java java/awt/font/NumericShaper.java * Makefile.in: Regenerated. 2003-02-17 Michael Koch <konqueror@gmx.de> * java/awt/print/Paper.java (Paper): Implements Cloneable. * java/awt/print/PrinterJob.java (setJobName): Return value must be void. (print): Throws PrinterException. From-SVN: r62999
2003-02-17* recog.c (split_all_insns): Fix memory overflow.Jan Hubicka2-3/+15
From-SVN: r62998
2003-02-17h8300.md (cmpqi): Remove mode from compare.Kazu Hirata2-27/+36
* config/h8300/h8300.md (cmpqi): Remove mode from compare. (cmphi): Likewise. (*cmphi_h8300): Likewise. (*cmphi_h8300hs): Likewise. (cmpsi): Likewise. (7 peephole2): Likewise. From-SVN: r62996
2003-02-17Daily bump.GCC Administrator2-2/+2
From-SVN: r62995
2003-02-16c-typeck.c (build_c_cast): Fold constant variables into initial values.Jan Hubicka6-1/+38
* c-typeck.c (build_c_cast): Fold constant variables into initial values. * gcc.dg/c90-const-expr-3.c (DZERO): New static variable (foo): Add few extra tests * gcc.dg/c99-const-expr-3.c: Likewise. * gcc.c-torture/execute/20030216-1.c: New. From-SVN: r62987
2003-02-16install.texi (Specific): Fix link for m68k-att-sysv.Gerald Pfeifer2-2/+7
* doc/install.texi (Specific): Fix link for m68k-att-sysv. (Binaries): Ditto for Sinix/Reliant Unix. From-SVN: r62984
2003-02-16MAINTAINERS: Remove John Carr (who never actually had access to gcc.gnu.org).Gerald Pfeifer2-1/+5
* MAINTAINERS: Remove John Carr (who never actually had access to gcc.gnu.org). From-SVN: r62982
2003-02-16arm.c (arm_reload_in_hi): Ensure that the scratch register does not overlap ↵Richard Earnshaw2-1/+13
the final result register. * arm.c (arm_reload_in_hi): Ensure that the scratch register does not overlap the final result register. From-SVN: r62981