- 03 Mar, 2003 1 commit
-
-
From-SVN: r63712
GCC Administrator committed
-
- 02 Mar, 2003 39 commits
-
-
* ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid warnings. From-SVN: r63704
Kaveh R. Ghazi committed -
From-SVN: r63702
Mark Wielaard committed -
Properties.java (load): Only skip line if the first character is a comment, whitespaces don't count. * java/util/Properties.java (load): Only skip line if the first character is a comment, whitespaces don't count. From-SVN: r63700
Mark Wielaard committed -
* gcc.c-torture/execute/960312-1.x: New file, must pass -mshort for HC11/HC12 (asm needs two int registers). * gcc.c-torture/compile/20020312-1.x: New file, don't execute on HC11/HC12 because the test uses an asm which needs two 32-bit registers. From-SVN: r63697
Stephane Carrez committed -
* configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test. * config.in, configure: Rebuild. * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum. * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the paired ldtoffx and ldxmov annotations. (load_symptr_internal1): Remove. (load_symptr_high, load_symptr_low): New. From-SVN: r63696
Richard Henderson committed -
* gcc.c-torture/compile/920501-12.x: New file, must pass -mshort for HC11/HC12 (array is too large otherwise). * gcc.c-torture/compile/920501-4.x: New file, likewise. * gcc.c-torture/compile/20010518-2.x: Likewise. * gcc.c-torture/compile/980506-1.x: Don't execute this test on HC11/HC12 (array is too large). From-SVN: r63693
Stephane Carrez committed -
From-SVN: r63692
Neil Booth committed -
2003-03-02 Michael Koch <konqueror@gmx.de> * java/net/NetPermission.java: Merged copyright with classpath. From-SVN: r63690
Michael Koch committed -
2003-03-02 Michael Koch <konqueror@gmx.de> * java/lang/Package.java: Remerged from classpath. From-SVN: r63689
Michael Koch committed -
2003-03-02 Kurt Garloff <garloff@suse.de> * params.def: Introduce parameter max-inline-insns-rtl for a separate limit for the RTL inliner. * params.h: Likewise. * integrate.c (function_cannot_inline_p): Use it. * toplev.c (decode_f_option): Set multiple parameters controlling inlining with -finline-limit. * params.def: Fix orthographic and typographic errors. * doc/invoke.texi: Document parameters controlling inlining and the way -finline-limit sets multiple of them. * tree.h (struct tree_decl): Introduce inlined_function_flag, recording whether the function became eligible for inlining by a compiler flag rather than the declaration. Provide DID_INLINE_FUNC macro to access it. * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC. * cp/decl.c (grokfndecl): Likewise. * toplev.c (rest_of_compilation): Likewise. * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC. * print-tree.c (print_node): Report it. * params.def: Introduce new max-inline-insns-auto limit. * params.h: Likewise. * tree-inline.c (inlinable_function_p): Apply it to functions with DID_INLINE_FUNC set. * toplev.c (decode_f_option): Initialize it from -finline-limit value. * doc/invoke.texi: Document new parameter. From-SVN: r63688
Kurt Garloff committed -
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Regenerate. From-SVN: r63687
Andreas Jaeger committed -
From-SVN: r63686
Michael Koch committed -
2003-03-02 Michael Koch <konqueror@gmx.de> * java/lang/Package.java: Little merge with libgcj. From-SVN: r63685
Michael Koch committed -
From-SVN: r63684
Geoffrey Keating committed -
m68hc11.c (m68hc11_override_options): Don't enable min/max instructions by default as may result in reload errors. * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable min/max instructions by default as may result in reload errors. From-SVN: r63682
Stephane Carrez committed -
* config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to avoid reload problems; define split for it. From-SVN: r63680
Stephane Carrez committed -
* java/net/HttpURLConnection.java (HTTP_SERVER_ERROR): Deprecated. * java/net/MulticastSocket.java (send): Replaced checkMulticast with appropriate checkPermission call, deprecated. * java/net/URLDecoder.java (decode): Deprecated. * java/net/URLEncoder.java (encode): Deprecated. From-SVN: r63679
Michael Koch committed -
* config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function. * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare. * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register. * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for rotatert and rotate. ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns. ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert. ("*rotrhi3_addr"): New split for shift insns on address register. ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split. * config/m68hc11/larith.asm (___rotlhi3): New asm function. (___rotrhi3): Likewise. * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them. From-SVN: r63677
Stephane Carrez committed -
* toplev.c (aux_base_name): Moved from toplev.h. (filename): Constify. (lang_dependent_init): Don't duplicate name. (process_options): Set aux_base_name here, not... (do_compile): ...here. Change protoype. (toplev_main): Move some code from do_compile. * toplev.h: Remove aux_base_name. From-SVN: r63676
Neil Booth committed -
* javax/swing/text/Caret.java (getMagicCaretPosition): Fixed typo in method name. * javax/swing/text/DefaultCaret.java (getMagicCaretPosition): Fixed typo in method name. From-SVN: r63673
Michael Koch committed -
* java/awt/List.java (setMultipleSelections): Deprecated. (delItem): Deprecated. * java/awt/MenuComponent.java (getPeer): Deprecated. * java/awt/ScrollPane.java (addNotify): getPeer() is deprecated. Use isDisplayable() instead. * java/awt/dnd/MouseDragGestureRecognizer.java (mouseClicked): Added comment. (mousePressed): Added comment. (mouseReleased): Added comment. (mouseEntered): Added comment. (mouseExited): Added comment. (mouseDragged): Added comment. (mouseMoved): Added comment. * java/awt/event/KeyEvent.java (KeyEvent): Deprecated. (setModifiers): Deprecated. From-SVN: r63672
Michael Koch committed -
* config/h8300/h8300-protos.h: Add a prototype for iorxor_operator. * config/h8300/h8300.c (print_operand): Handle 'c'. (iorxor_operator): New. * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator. * config/h8300/h8300.md (*iorhi3_zext): Remove. (*iorsi3_zexthi): Likewise. (*iorsi3_zextsi): Likewise. (*xorhi3_zextqi): Likewise. (*xorsi3_zexthi): Likewise. (*xorsi3_zextsi): Likewise. (*ixorhi3_zext): New. (*ixorsi3_zext_qi): Likewise. (*ixorsi3_zext_hi): Likewise. From-SVN: r63671
Kazu Hirata committed -
* c-incpath.c (remove_component_p, simplify_path): Move back to cppfiles.c. (remove_duplicates): Use cpp_simplify_path. * c-incpath.h (simplify_path): Remove. * c-lex.c: Don't include c-incpath.h. (init_c_lex): Remove simplify_path. * cppfiles.c (remove_component_p, cpp_simplify_path): Restore. (find_or_create_entry, validate_pch): Revert. From-SVN: r63669
Neil Booth committed -
* gnu/java/nio/FileChannelImpl.java (fd): Type FileDescriptor instead of int. (lengthInternal): Removed. (FileChannelImpl): Fixed arguments, check type of file object. (size): Made it native. (implPosition): New native method. (implTruncate): New native method. (position): Implemented. (truncate): Implemented. (nio_mmap_file): Changed arguments. (nio_munmap_file): Changed arguments. (nio_msync): Changed arguments. * gnu/java/nio/natFileChannelImpl.cc (lengthInternal): Removed. (size): New method. (implPosition): New method. (implTruncate): New method. (nio_mmap_file): Changed arguments. (nio_munmap_file): Changed arguments. (nio_msync): Changed arguments. From-SVN: r63668
Michael Koch committed -
2003-03-02 Michael Koch <konqueror@gmx.de> * java/awt/dnd/DropTargetContext.java: Compile fix: Forgot to commit import. From-SVN: r63667
Michael Koch committed -
2003-03-02 Michael Koch <konqueror@gmx.de> * java/awt/Component.java, java/awt/ScrollPane.java: Fixed typos. From-SVN: r63666
Michael Koch committed -
2003-03-02 Michael Koch <konqueror@gmx.de> * java/awt/dnd/DnDEventMulticaster.java: New file. * java/awt/dnd/DragSource.java (flavorMap): New member variable. (dragSourceListener): New member variable. (dragSourceMotionListener): New member variable. (getFlavorMap): Implemented. (createDragGestureRecognizer): Implemented. (addDragSourceListener): Implemented. (removeDragSourceListener): Implemented. (getDragSourceListeners): Implemented. (addDragSourceMotionListener): Implemented. (removeDragSourceMotionListener): Implemented. (getDragSourceMotionListeners): Implemented. (getListeners): Implemented. * java/awt/dnd/DragSourceContext.java (peer): New member variable. (cursor): New member variable. (transferable): New member variable. (trigger): New member variable. (dragSourceListener): New member variable. (image): New member variable. (offset): New member variable. (DragSourceContext): Implemented. (getDragSource): Implemented. (getComponent): Implemented. (getTrigger): Implemented. (getSourceActions): Implemented. (setCursor): Implemented. (getCursor): Implemented. (addDragSourceListener): Implemented. (removeDragSourceListener): Implemented. (getTransferable): Implemented. * java/awt/dnd/DropTarget.java (DropTargetAutoScroller.component): New member variable. (DropTargetAutoScroller.point): New member variable. (DropTargetAutoScroller.DropTargetAutoScroller): Implemented. (DropTargetAutoScroller.updateLocation): Implemented. (active): Renamed from isActive, defaults to true now. (component): New member variable. (flavorMap): New member variable. (actions): New member variable. (dropTargetContext): New member variable. (dropTargetListener): New member variable. (DropTarget): Implemented. (getComponent): Implemented. (setComponent): Implemented. (setDefaultActions): Implemented. (getDefaultActions): Implemented. (setActive): Use active instead of isActive. (isActive): Use active instead of isActive. (addDropTargetListener): Implemented. (removeDropTargetListener): Implemented. (getFlavorMap): Implemented. (setFlavorMap): Implemented. (getDropTargetContext): Implemented. (createDropTargetContext): Implemented. (createDropTargetAutoScroller): Implemented. * java/awt/dnd/DropTargetContext.java (TransferableProxy.getTransferDataFlavors): Implemented. (TransferableProxy.isDataFlavorSupported): Implemented. (TransferableProxy.getTransferData): Implemented. (dropTarget): New member variable. (dtcp): New member variable. (DropTargetContext): New package private constructor. (getDropTarget): Implemented. (getComponent): Implemented. (addNotify): Implemented. (removeNotify): Implemented. (getCurrentDataFlavorsAsList): Implemented. (isDataFlavorSupported): Implemented. * java/awt/dnd/MouseDragGestureRecognizer.java (registerListeners): Implemented. (unregisterListeners): Implemented. * Makefile.am (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java. * Makefile.in: Regenerated. From-SVN: r63665
Michael Koch committed -
gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke an external cpp during compilation. * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke an external cpp during compilation. (option_map): Likewise. * cp/lang-specs.h (default_compilers): Similarly. * objc/lang-specs.h (default_compilers): Similarly. * doc/invoke.texi: Document -no-integrated-cpp flag. From-SVN: r63664
Ashif Harji committed -
* java/awt/Component.java (eventTypeEnabled): New method. (dispatchEventImpl): Moved checks for event to eventTypeEnabled. * java/awt/Container.java (changeSupport): New member variable. (addPropertyChangeListener): New methods. * java/awt/ContainerOrderFocusTraversalPolicy.java (ContainerOrderFocusTraversalPolicy): Added comment. (getComponentAfter): Throw exception, documentation added. (getComponentBefore): Throw exception, documentation added. (getFirstComponent): Throw exception, documentation added. (getLastComponent): Throw exception, documentation added. (getDefaultComponent): Throw exception, documentation added. * java/awt/EventQueue.java: Reindented. * java/awt/FocusTraversalPolicy.java: (FocusTraversalPolicy): Added comment. (getComponentAfter): Documentation added. (getComponentBefore): Documentation added. (getFirstComponent): Documentation added. (getLastComponent): Documentation added. (getDefaultComponent): Documentation added. (getInitialComponent): Documentation added. * java/awt/ScrollPane.java (wheelScrollingEnabled): New member variable. (ScrollPane): Initialize wheelScollingEnabled. (eventTypeEnabled): New method. (isWheelScrollingEnabled): New method. (setWheelScrollingEnabled): New method. From-SVN: r63663
Michael Koch committed -
* java/net/DatagramSocket.java (closed): New member variable. (close): Use closed variable. (getInetAddress): No need to call isConnected(). (getPort): No need to call isConnected(). (disconnect): Reset remoteAddress and remotePort, fixed typo. (isClosed): Reimplemented. From-SVN: r63662
Michael Koch committed -
2003-03-02 Michael Koch <konqueror@gmx.de> * configure.in: Added check for memory mapping of files. * configure: Regenerated. * config.h.in: Regenerated. From-SVN: r63661
Michael Koch committed -
* config/h8300/h8300.md (zero_extendqisi2): Change to an expander. (*zero_extendqisi2_h8300): New. (*zero_extendqisi2_h8300hs): New. (two splitters): New. From-SVN: r63660
Kazu Hirata committed -
From-SVN: r63658
Kaveh R. Ghazi committed -
2003-03-02 Laurent Guerby <guerby@acm.org> * Makefile.in (install-gnatlib): Match previous change there so it works. From-SVN: r63655
Laurent Guerby committed -
From-SVN: r63653
Kazu Hirata committed -
* lib/gcc-dg.exp (gcc-dg-test): Change .pch to .gch. * lib/g++-dg.exp (g++-dg-test): Likewise. From-SVN: r63652
Geoffrey Keating committed -
From-SVN: r63651
Roger Sayle committed -
PR c++/9367 * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro. (BT_FN_INT_CONST_STRING_VALIST_ARG, BT_FN_INT_STRING_CONST_STRING_VALIST_ARG, BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG, BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG, BT_FN_INT_STRING_CONST_STRING_VAR, BT_FN_INT_CONST_STRING_CONST_STRING_VAR, BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types. * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): Also include the nothrow attribute. (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf, vsnprintf, vscanf, vsscanf): Don't define attributes here. * builtins.def (putchar, puts): Make full C89 built-ins. (snprintf, sprintf, scanf, sscanf, vprintf, vscanf, vsscanf, vsnprintf, vsprintf): New built-ins. * c-common.c (c_common_nodes_and_builtins): Handle new macro DEF_FUNCTION_TYPE_VAR_3. * doc/extend.texi: Document these new built-in functions. * java/builtins.c (builtin_type): Handle DEF_FUNCTION_TYPE_VAR_3. (initialize_builtins): Handle DEF_FUNCTION_TYPE_VAR_3. * g++.old-deja/g++.other/builtins10.C: New test for PR 9367. * gcc.dg/format/attr-5.c: Handle new conflicting types warning. From-SVN: r63650
Roger Sayle committed -
* posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined. (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING. From-SVN: r63647
Jason Thorpe committed
-