Commit Graph

48239 Commits

Author SHA1 Message Date
Geoffrey Keating b22b239e5a 20010327-1.c: Back out last change.
* gcc.c-torture/compile/20010327-1.c: Back out last change.  Add
	comment explaining purpose of testcase.

From-SVN: r63726
2003-03-03 19:02:28 +00:00
Jan Hubicka 09e2bf486d calls.c (rtx_for_function_call): Take the address as an argument
* calls.c (rtx_for_function_call): Take the address as an argument
	(expand_call): Do not modify the expression.

From-SVN: r63725
2003-03-03 18:27:09 +00:00
Jan Hubicka f7da1e9a1e toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not optimizing.
* toplev.c (rest_of_compilation):  Avoid cfg_cleanup calls when not
	optimizing.

From-SVN: r63723
2003-03-03 18:08:17 +00:00
Michael Koch 0d4de51def 2003-03-03 Michael Koch <konqueror@gmx.de>
* Makefile.am
	(ordinary_java_source_files):
	Added gnu/java/nio/MappedByteFileBuffer.java.
	(nat_source_files):
	Added gnu/java/nio/natMappedByteFileBuffer.cc.
	* Makefile.in: Regenerated.

From-SVN: r63721
2003-03-03 14:36:48 +00:00
Kazu Hirata 426ace7fb5 h8300.md (*ixorsi3_zext_hi): Restrict to TARGET_H8300H and TARGET_H8300S.
* config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
	TARGET_H8300H and TARGET_H8300S.

From-SVN: r63720
2003-03-03 14:34:09 +00:00
Kazu Hirata 6967a12651 * config/h8300/h8300.md (a peephole2): New.
From-SVN: r63719
2003-03-03 12:57:10 +00:00
Kazu Hirata 1f7e87909e h8300.md (*extzv_8_8): Use shorter code when operands[0] and operands[1] are different.
* config/h8300/h8300.md (*extzv_8_8): Use shorter code when
	operands[0] and operands[1] are different.

From-SVN: r63718
2003-03-03 12:49:38 +00:00
Kazu Hirata 2807791e08 * reload1.c (reload_cse_move2add): Remove variable success.
From-SVN: r63717
2003-03-03 12:28:39 +00:00
Michael Koch 6579ac0c00 2003-03-03 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
	(connect): Merged comment from classpath.
	(receive): Merged documentation from classpath.
	* java/net/Socket.java
	(setSoTimeout): Clarified documentation.
	* java/net/URL.java
	(getPath): Merged from classpath.
	(getUserInfo): Merged from classpath.
	(getQuery): Merged from classpath.
	* java/net/URLStreamHandler.java
	(toExternalForm): Merged from classpath.

From-SVN: r63714
2003-03-03 08:26:52 +00:00
Aldy Hernandez 6e1b3a7c94 decl.c (check_initializer): Check for vector_opaque_p.
2003-03-02  Aldy Hernandez  <aldyh@redhat.com>

        * cp/decl.c (check_initializer): Check for vector_opaque_p.

From-SVN: r63713
2003-03-03 05:31:32 +00:00
GCC Administrator 90d86c43f3 Daily bump.
From-SVN: r63712
2003-03-03 00:17:04 +00:00
Kaveh R. Ghazi a2581175b4 ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid warnings.
* ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
	warnings.

From-SVN: r63704
2003-03-02 23:48:24 +00:00
Mark Wielaard 80a8227826 * libjava.mauve/xfails: Remove all AcuniaPropertiesTest failures
From-SVN: r63702
2003-03-02 22:40:00 +00:00
Mark Wielaard bd3f5371a4 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
2003-03-02 22:36:20 +00:00
Stephane Carrez 3595b91fd2 960312-1.x: New file, must pass -mshort for HC11/HC12 (asm needs two int registers).
* 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
2003-03-02 23:34:02 +01:00
Richard Henderson ef1ecf87a6 configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
* 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
2003-03-02 14:15:51 -08:00
Stephane Carrez 1494f93a22 920501-12.x: New file, must pass -mshort for HC11/HC12 (array is too large otherwise).
* 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
2003-03-02 23:09:41 +01:00
Neil Booth 82f6e3eb6c * c-incpath.c (add_path): Fix sysp assignment.
From-SVN: r63692
2003-03-02 22:09:29 +00:00
Michael Koch e863ea9996 NetPermission.java: Merged copyright with classpath.
2003-03-02  Michael Koch  <konqueror@gmx.de>

	* java/net/NetPermission.java:
	Merged copyright with classpath.

From-SVN: r63690
2003-03-02 21:25:59 +00:00
Michael Koch 40590c5231 Package.java: Remerged from classpath.
2003-03-02  Michael Koch  <konqueror@gmx.de>

	* java/lang/Package.java:
	Remerged from classpath.

From-SVN: r63689
2003-03-02 21:20:26 +00:00
Kurt Garloff bc52247263 params.def: Introduce parameter max-inline-insns-rtl for a separate limit for the RTL inliner.
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
2003-03-02 21:18:16 +00:00
Andreas Jaeger f4ae98be56 gnat_ug_unx.texi, [...]: Regenerate.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
	gnat_ug_wnt.texi: Regenerate.

From-SVN: r63687
2003-03-02 22:08:51 +01:00
Michael Koch 31b02cebb8 Removed accidentical commits.
From-SVN: r63686
2003-03-02 21:06:53 +00:00
Michael Koch f0b1dacdb6 Package.java: Little merge with libgcj.
2003-03-02  Michael Koch  <konqueror@gmx.de>

	* java/lang/Package.java: Little merge with libgcj.

From-SVN: r63685
2003-03-02 21:02:36 +00:00
Geoffrey Keating b9f4b20ad0 * fix-header.c (read_scan_file): Don't reference simplify_path.
From-SVN: r63684
2003-03-02 21:02:16 +00:00
Stephane Carrez 97d322cc8f 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
2003-03-02 21:35:32 +01:00
Stephane Carrez 65fb64fe95 m68hc11.md ("mulqi3"): Allow address register to avoid reload problems; define split for it.
* config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
	avoid reload problems; define split for it.

From-SVN: r63680
2003-03-02 21:19:20 +01:00
Michael Koch 68dfecb392 2003-03-02 Michael Koch <konqueror@gmx.de>
* 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
2003-03-02 20:11:13 +00:00
Stephane Carrez b45e9837a7 m68hc11.c (m68hc11_shift_operator): New function.
* 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
2003-03-02 21:04:27 +01:00
Neil Booth b1cbe78c09 toplev.c (aux_base_name): Moved from toplev.h.
* 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
2003-03-02 20:00:36 +00:00
Michael Koch 92d53a9a80 2003-03-02 Michael Koch <konqueror@gmx.de>
* 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
2003-03-02 19:45:52 +00:00
Michael Koch 98461c5855 2003-03-02 Michael Koch <konqueror@gmx.de>
* 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
2003-03-02 19:24:49 +00:00
Kazu Hirata b059c02a64 h8300-protos.h: Add a prototype for iorxor_operator.
* 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
2003-03-02 19:12:45 +00:00
Neil Booth 986b1f1334 c-incpath.c (remove_component_p, [...]): Move back to cppfiles.c.
* 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
2003-03-02 17:44:18 +00:00
Michael Koch a339cb5bd9 2003-03-02 Michael Koch <konqueror@gmx.de>
* 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
2003-03-02 15:57:13 +00:00
Michael Koch 05eb343676 DropTargetContext.java: Compile fix: Forgot to commit import.
2003-03-02  Michael Koch  <konqueror@gmx.de>

	* java/awt/dnd/DropTargetContext.java:
	Compile fix: Forgot to commit import.

From-SVN: r63667
2003-03-02 15:44:48 +00:00
Michael Koch 0c0be33402 Component.java, [...]: Fixed typos.
2003-03-02  Michael Koch  <konqueror@gmx.de>

	* java/awt/Component.java,
	java/awt/ScrollPane.java:
	Fixed typos.

From-SVN: r63666
2003-03-02 14:31:40 +00:00
Michael Koch b4822ade38 DnDEventMulticaster.java: New file.
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
2003-03-02 14:24:48 +00:00
Ashif Harji 8a035a6bf6 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
2003-03-02 14:09:31 +00:00
Michael Koch e589ede6fd 2003-03-02 Michael Koch <konqueror@gmx.de>
* 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
2003-03-02 14:01:40 +00:00
Michael Koch 37db829b93 2003-03-02 Michael Koch <konqueror@gmx.de>
* 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
2003-03-02 13:50:04 +00:00
Michael Koch c0daa90283 configure.in: Added check for memory mapping of files.
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
2003-03-02 13:46:06 +00:00
Kazu Hirata 23cdb4657f h8300.md (zero_extendqisi2): Change to an expander.
* config/h8300/h8300.md (zero_extendqisi2): Change to an
	expander.
	(*zero_extendqisi2_h8300): New.
	(*zero_extendqisi2_h8300hs): New.
	(two splitters): New.

From-SVN: r63660
2003-03-02 13:40:25 +00:00
Kaveh R. Ghazi 29efb63326 * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
From-SVN: r63658
2003-03-02 13:11:15 +00:00
Laurent Guerby 5348742b6a Makefile.in (install-gnatlib): Match previous change there so it works.
2003-03-02  Laurent Guerby <guerby@acm.org>

	* Makefile.in (install-gnatlib): Match previous change there
	so it works.

From-SVN: r63655
2003-03-02 08:36:29 +00:00
Kazu Hirata 36bf3f1baf * config/h8300/h8300.md (a peephole2): Remove dead code.
From-SVN: r63653
2003-03-02 02:31:00 +00:00
Geoffrey Keating facf86acd7 gcc-dg.exp (gcc-dg-test): Change .pch to .gch.
* lib/gcc-dg.exp (gcc-dg-test): Change .pch to .gch.
	* lib/g++-dg.exp (g++-dg-test): Likewise.

From-SVN: r63652
2003-03-02 01:52:46 +00:00
Roger Sayle efa66a7432 Fix typo "code" -> "@code" in my last commit. Sorry for any inconvenience.
From-SVN: r63651
2003-03-02 01:42:58 +00:00
Roger Sayle 0829165849 re PR c++/9367 (error: nonnull argument with extern "C" snprintf prototype)
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
2003-03-02 01:34:34 +00:00
Jason Thorpe 66c4e25802 posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
* posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
(_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.

From-SVN: r63647
2003-03-02 01:24:40 +00:00