Commit Graph

52884 Commits

Author SHA1 Message Date
Tom Tromey
a8cc9af35f Component.java: Indentation cleanup from Classpath.
* java/awt/Component.java: Indentation cleanup from Classpath.

2003-09-20  Dalibor Topic  <robilad@kaffe.org>

       * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
       checking to follow 1.4.2 spec.

From-SVN: r71612
2003-09-20 21:30:39 +00:00
Ingo Proetel
21cf98f6e0 UnicastRef.java: make constructor public and check if serverobject is compatible in case client...
2003-08-11  Ingo Proetel  <proetel@aicas.com>

        * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
        is compatible in case client and server are running in the same VM
	(remerged from Classpath on 2003-09-20)

From-SVN: r71611
2003-09-20 21:23:47 +00:00
Nathanael Nerode
94322bebd2 Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
* Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
	* Makefile.in: Regenerate.

From-SVN: r71610
2003-09-20 21:16:09 +00:00
Nathanael Nerode
da9d3b3740 (top level)
(top level)
	* Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc.
	* Makefile.in: Regenerate.

	(gcc)
	* Makefile.in: Don't set (unused) DLLTOOL.

From-SVN: r71609
2003-09-20 21:12:38 +00:00
Nathanael Nerode
aa9762f6dc t-linux, [...]: Remove obsolete references to ENQUIRE.
* config/arm/t-linux, config/arm/t-netbsd, config/arm-t-semi:
	Remove obsolete references to ENQUIRE.

From-SVN: r71608
2003-09-20 21:09:07 +00:00
Nathan Sidwell
fecafe5e0e apparently managed not to commit the crucial part of c++/12332
From-SVN: r71607
2003-09-20 19:30:51 +00:00
Kriang Lerdsuwanakij
2c49cd9e10 * g++.dg/rtti/typeid3.C: Correct expected error message.
From-SVN: r71606
2003-09-20 16:32:18 +00:00
Kriang Lerdsuwanakij
4047b1642c re PR c++/157 (Duplicate error message for invalid elaborated type specifier)
PR c++/157
	* parser.c (cp_parser_direct_declarator): Clear
	parser->num_template_parameter_lists when parsing function
	parameters.
	(cp_parser_constructor_declarator_p): Likewise.

	* g++.dg/parse/crash12.C: New test.

From-SVN: r71605
2003-09-20 15:59:38 +00:00
David Daney
2f54a73fc1 Reference.java (clear): Set referent to null and synchronize.
2003-09-19  David Daney <ddaney@avtrex.com>

	* java/lang/ref/Reference.java (clear): Set referent to null and
	synchronize.

From-SVN: r71597
2003-09-20 02:57:07 +00:00
GCC Administrator
f55f60a5ea Daily bump.
From-SVN: r71595
2003-09-20 00:16:06 +00:00
Michael Koch
309cecc625 NIODatagramSocket.java, [...]: New files.
2003-09-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/NIODatagramSocket.java,
	gnu/java/nio/NIOSocket.java: New files.
	* Makefile.am (ordinary_java_source_files):
	Added gnu/java/nio/NIODatagramSocket.java and
	gnu/java/nio/NIOSocket.java.
	* Makefile.in: Regenerated.

From-SVN: r71592
2003-09-19 21:12:58 +00:00
Janis Johnson
99d53bba4d mixed-struct-check.h: New.
2003-09-19  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/compat/mixed-struct-check.h: New.
	* gcc.dg/compat/mixed-struct-defs.h: New.
	* gcc.dg/compat/mixed-struct-init.h: New.
	* gcc.dg/compat/struct-by-value-19_main.c: New.
	* gcc.dg/compat/struct-by-value-19_x.c: New.
	* gcc.dg/compat/struct-by-value-19_y.c: New.
	* gcc.dg/compat/struct-by-value-20_main.c: New.
	* gcc.dg/compat/struct-by-value-20_x.c: New.
	* gcc.dg/compat/struct-by-value-20_y.c: New.
	* gcc.dg/compat/struct-return-19_main.c: New.
	* gcc.dg/compat/struct-return-19_x.c: New.
	* gcc.dg/compat/struct-return-19_y.c: New.
	* gcc.dg/compat/struct-return-20_main.c: New.
	* gcc.dg/compat/struct-return-20_x.c: New.
	* gcc.dg/compat/struct-return-20_y.c: New.

From-SVN: r71591
2003-09-19 21:09:52 +00:00
Ziemowit Laski
ffd9060b5b MAINTAINERS: Move myself from 'Write After Approval' to 'Various Maintainers' (objective-c)...
2003-09-19  Ziemowit Laski  <zlaski@apple.com>

        * MAINTAINERS: Move myself from 'Write After Approval'
        to 'Various Maintainers' (objective-c) section.

From-SVN: r71589
2003-09-19 20:03:34 +00:00
Nathanael Nerode
2c813e213c configure.in: Remove --with-elf, which doesn't work.
* configure.in: Remove --with-elf, which doesn't work.
	* configure: Regenerate.
	* config.gcc: Remove references to $elf, which does nothing.

From-SVN: r71588
2003-09-19 19:48:57 +00:00
Nathanael Nerode
748fad954e xm-vsta.h: Remove xm-file believed useless.
* config/i386/xm-vsta.h: Remove xm-file believed useless.
	* config.build (i386-vsta): Remove reference to it.
	* config.host (i386-vsta): Remove reference to it.

From-SVN: r71587
2003-09-19 19:46:07 +00:00
Thomas Fitzsimmons
5ec47f6049 GtkDialogPeer.java (create()): Create a top-level GTK window.
2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
	top-level GTK window.
	(getArgs): Add "title" property.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
	"allow_shrink" and "allow_grow" properties.
	* java/awt/Dialog.java: Initialize resizable to true and change
	comments accordingly.  Initialize visible to false in
	constructors.
	* java/awt/Frame.java (dispose): Remove method.
	* java/awt/Window.java (ownedWindows): New field.
	(Window(Window,GraphicsConfiguration)): Add a weak reference to
	owner's ownedWindows vector.
	(finalize): Remove method.
	(hide): Hide owned windows.
	(dispose): Dispose of owned windows.
	(getOwnedWindows): Implement.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
	unused GtkArg code.
	(set(String,boolean)): Clamp gboolean parameter to g_object_set
	to TRUE or FALSE.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
	(create): Set window's size requisition.
	(connectHooks): Fix indentation.
	(setResizable): Remove function.
	(static setBounds): Likewise.
	(setBounds): Replace call to setBounds with GTK size requisition
	and resize calls.

From-SVN: r71585
2003-09-19 19:27:59 +00:00
Andreas Tobler
9e3bfa9b75 closure_fn0.c: Xfail mips, arm, strongarm, xscale.
2003-09-19  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/libffi.call/closure_fn0.c: Xfail mips, arm,
	strongarm, xscale. Cleanup whitespaces.
	* testsuite/libffi.call/closure_fn1.c: Likewise.
	* testsuite/libffi.call/closure_fn2.c: Likewise.
	* testsuite/libffi.call/closure_fn3.c: Likewise.
	* testsuite/libffi.call/cls_12byte.c: Likewise.
	* testsuite/libffi.call/cls_16byte.c: Likewise.
	* testsuite/libffi.call/cls_1_1byte.c: Likewise.
	* testsuite/libffi.call/cls_20byte.c: Likewise.
	* testsuite/libffi.call/cls_24byte.c: Likewise.
	* testsuite/libffi.call/cls_2byte.c: Likewise.
	* testsuite/libffi.call/cls_3_1byte.c: Likewise.
	* testsuite/libffi.call/cls_3byte1.c: Likewise.
	* testsuite/libffi.call/cls_3byte2.c: Likewise.
	* testsuite/libffi.call/cls_4_1byte.c: Likewise.
	* testsuite/libffi.call/cls_4byte.c: Likewise.
	* testsuite/libffi.call/cls_5byte.c: Likewise.
	* testsuite/libffi.call/cls_6byte.c: Likewise.
	* testsuite/libffi.call/cls_7byte.c: Likewise.
	* testsuite/libffi.call/cls_8byte.c: Likewise.
	* testsuite/libffi.call/cls_double.c: Likewise.
	* testsuite/libffi.call/cls_float.c: Likewise.
	* testsuite/libffi.call/cls_uchar.c: Likewise.
	* testsuite/libffi.call/cls_uint.c: Likewise.
	* testsuite/libffi.call/cls_ulonglong.c: Likewise.
	* testsuite/libffi.call/cls_ushort.c: Likewise.
	* testsuite/libffi.call/nested_struct.c: Likewise.
	* testsuite/libffi.call/nested_struct1.c: Likewise.
	* testsuite/libffi.call/problem1.c: Likewise.
	* testsuite/libffi.special/unwindtest.cc: Likewise.
	* testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces.

From-SVN: r71584
2003-09-19 21:21:53 +02:00
Phil Edwards
e08737dc0e install.texi: Document the multiple testsuite options.
2003-09-19  Phil Edwards  <phil@codesourcery.com>

	* doc/install.texi:  Document the multiple testsuite options.

From-SVN: r71582
2003-09-19 17:50:26 +00:00
Gerald Pfeifer
6a1dbbafd8 install.texi (Specific): Add the specific versions of GCC where support for FreeBSD 1...
* doc/install.texi (Specific): Add the specific versions of GCC
	where support for FreeBSD 1, HP-UX version 9 and older, and AIX
	version 3 and older was discontinued.

From-SVN: r71581
2003-09-19 17:14:34 +00:00
Joel Sherrill
86677d256e t-m68kbare, t-rtems: Change 68681 to 68881.
2003-09-19	Joel Sherrill <joel@oarcorp.com>

	* config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to
	68881.

From-SVN: r71580
2003-09-19 16:47:54 +00:00
Bernardo Innocenti
0988b75845 m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines for -m68030, -m68020-60 and -m68020-40.
* config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines
	for -m68030, -m68020-60 and -m68020-40.
	* config/m68k/m68k.h (TARGET_68030): New target flag.
	* config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM,
	TARGET_REGPARM): Remove.
	* config/m68k/m68k.h: Regroup and renumber target flags.
	* config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations.
	* config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0.
	* config/m68k/m68k.h (FUNCTION_ARG): Likewise.
	* config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
	* config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros.

From-SVN: r71577
2003-09-19 18:39:44 +02:00
Andrew Pinski
ed71e586b9 array11.C: Change unsigned to __SIZE_TYPE__ so that it will not complain on LP64 targets.
* g++.dg/init/array11.C: Change unsigned to __SIZE_TYPE__
	so that it will not complain on LP64 targets.

From-SVN: r71575
2003-09-19 07:46:25 -07:00
Kriang Lerdsuwanakij
68c788471b re PR c++/495 (ICE in in lookup_template_class, at cp/pt.c:3961)
PR c++/495
	* pt.c (tsubst_friend_class): Only use innermost template
	arguments for the injected friend class template.

	* g++.dg/template/friend24.C: New test.

From-SVN: r71574
2003-09-19 14:08:00 +00:00
Ralf Corsepius
472b0fbcf7 t-rtems: New.
2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* config/mips/t-rtems: New.
	* config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.

From-SVN: r71570
2003-09-19 13:27:53 +00:00
Ralf Corsepius
c7fcd90b72 t-rtems: New.
2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* config/mips/t-rtems: New.
	* config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.

From-SVN: r71569
2003-09-19 13:24:47 +00:00
Kelley Cook
7dd87381a6 * cgraph.c: Fix typo in debugging output.
From-SVN: r71567
2003-09-19 12:43:14 +00:00
Nathan Sidwell
68442facf0 fix PR number
From-SVN: r71564
2003-09-19 10:00:23 +00:00
Nathan Sidwell
3501ba248a re PR libstdc++/12232 (Incorrect handling of openmode argument in filebuf::seekoff and seekpos)
cp:
	PR c++/12232
	* pt.c (instantiate_class_template): Increment
	processing_template_decl around the tsubst of a template member
	function.
testsuite:
	PR c++/12232
	* g++.dg/template/memtmpl2.C: New test.

From-SVN: r71563
2003-09-19 09:28:05 +00:00
Mohan Embar
b90e0e3cdb win32-threads.cc: (ensure_interrupt_event_initialized) New function for lazy initialization of an...
* win32-threads.cc: (ensure_interrupt_event_initialized) New
	function for lazy initialization of an auto-reset event.
	(_Jv_CondWait) Added thread interrupt support.
	(_Jv_ThreadInitData) Added initialization of interrupt support
	members.
	(_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
	(_Jv_ThreadStart) Removed unused code.
	(_Jv_Win32GetInterruptEvent) New method for returning interrupt event
	to an external caller.
	(_Jv_ThreadInterrupt) Implemented.
	* include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
	event for interrupt support as well as a mutex which regulates
	access to this.
	(_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
	event to an external caller.
	* java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
	process.
	(waitFor) Added interrupt support.

From-SVN: r71562
2003-09-19 08:28:43 +00:00
Michael Koch
65f070242b DatagramSocket.java (getLocalAddress): Renamed result variable to localAddr.
2003-09-19  Michael Koch  <konqueror@gmx.de>

	* java/net/DatagramSocket.java (getLocalAddress):
	Renamed result variable to localAddr.
	* java/net/MulticastSocket.java:
	No need to import gnu.java.net.PlainDatagramSocketImpl.

From-SVN: r71561
2003-09-19 07:24:59 +00:00
T. Papadopoulo
04b67900da re PR target/12166 (Profiled programs crash if PROFDIR is set)
PR target/12166
	* config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.

Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>

From-SVN: r71559
2003-09-19 06:24:34 +00:00
Gabriel Dos Reis
e7ab53ea69 decl.c (cxx_scope_descriptor): Fix thinko.
* decl.c (cxx_scope_descriptor): Fix thinko.
        (struct cp_binding_level): Adjust type of binding_depth field.

From-SVN: r71557
2003-09-19 03:12:31 +00:00
Mike Stump
a1c18b4ac8 c-ppoutput.c (print): Use fileline typedef for field 'line'.
* c-ppoutput.c (print):  Use fileline typedef for field 'line'.
	(print_line, maybe_print_line, cb_define, cb_undef, cb_include,
	cb_ident, cb_def_pragma):  Use fileline typedef.
	* cpphash.h (struct cpp_reader):  Likewise for field out.first_line.

From-SVN: r71554
2003-09-18 17:47:53 -07:00
GCC Administrator
7f7de61bde Daily bump.
From-SVN: r71552
2003-09-19 00:16:07 +00:00
Sascha Brawer
de6b956c72 Toolkit.java (getSystemEventQueue, [...]): Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2003-09-18  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
	Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.

From-SVN: r71549
2003-09-18 22:37:48 +00:00
Danny Smith
3f50d3dd9d re PR c++/12320 (ICE on use of undefined enum)
PR c++/12320
	* call.c (type_passed_as): Check for incomplete type.
	(convert_for_arg_passing): Likewise.

From-SVN: r71546
2003-09-18 21:22:17 +00:00
Danny Smith
7229527c2c winnt.c (gen_stdcall_suffix): Quit summation of total parm size if a parm has incomplete type.
* config/i386/winnt.c (gen_stdcall_suffix): Quit summation of
	total parm size if a parm has incomplete type.
	(gen_fastcall_suffix): Likewise.

From-SVN: r71543
2003-09-18 21:16:02 +00:00
David Edelsohn
3e86b595ac aix.S: Cleanup whitespaces.
* src/powerpc/aix.S: Cleanup whitespaces.
        * src/powerpc/aix_closure.S: Likewise.

From-SVN: r71542
2003-09-18 16:53:19 -04:00
Richard Kenner
dba601db03 Apply proper patch file for last change.
From-SVN: r71541
2003-09-18 16:53:03 -04:00
Richard Kenner
19ae544530 except.c (output_function_exception_table): Adjust last change to handle TYPE of INTEGER_CST.
* except.c (output_function_exception_table): Adjust last change
	to handle TYPE of INTEGER_CST.

From-SVN: r71540
2003-09-18 16:47:38 -04:00
Mark Mitchell
5ae6cd0d1b re PR target/11184 ([ia64 hpux] ICE on __builtin_apply building libobjc)
PR target/11184
	* builtins.c (expand_builtin_apply): Use convert_memory_address
	before returning the value.

	* alias.c (find_base_value): Simplify use of
	convert_memory_address.
	(find_base_term): Likewise.
	* builtins.c (expand_builtin_stejmp_setup): Likewise.
	(expand_builtin_longjmp): Likewise.
	(expand_builtin_prefetch): Likewise.
	(get_memory_rtx): Likewise.
	(expand_builtin_return): Likewise.
	(expand_builtin_memcpy): Likewise.
	(expand_builtin_strncpy): Likewise.
	(expand_builtin_memset): Likewise.
	(expand_builtin_va_arg): Likewise.
	(expand_builtin_va_copy): Likewise.
	(expand_builtin_alloca): Likewise.
	* calls.c (expand_call): Likewise.
	* except.c (expand_builtin_extract_return_addr): Likewise.
	(expand_builtin_eh_return): Likewise.
	* explow.c (convert_memory_address): Define even when
	POINTER_EXTEND_UNSIGNED is not defined.  Do nothing if the address
	is already in the right mode.
	* explow.c (memory_address): Simplify use of convert_memory_address.
	(probe_stack_range): Likewise.
	* expmed.c (make_tree): Likewise.
	* expr.c (emit_block_move_in_libcall): Likewise.
	(expand_assignment): Likewise.
	(expand_expr): Likewise.
	* function.c (assign_parms): Likewise.
	(expand_function_end): Likewise.
	* integrate.c (copy_rtx_and_substitute): Likewise.
	* stmt.c (expand_computed_goto): Likewise.

	PR target/11184
	* gcc.dg/builtin-apply1.c: New test.

From-SVN: r71539
2003-09-18 20:43:13 +00:00
Andreas Tobler
bdf1f1c16d btest-gcc.sh: Add make check-target-libffi.
2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>

	* btest-gcc.sh: Add make check-target-libffi.

From-SVN: r71537
2003-09-18 22:25:51 +02:00
Tom Tromey
63c5d91aae * javax/naming/InitialContext.java: Reindented.
From-SVN: r71535
2003-09-18 19:53:36 +00:00
Dalibor Topic
1eeae5c1cd NamingManager.java (getURLContext, [...]): Always use current thread's context class loader when calling Class.forName.
2003-09-18  Dalibor Topic <robilad@kaffe.org>,
	    Helmer Kraemer <hkraemer@freenet.de>

	* javax/naming/spi/NamingManager.java (getURLContext,
	getObjectInstance, getStateToBind): Always use current thread's
	context class loader when calling Class.forName.

Co-Authored-By: Helmer Kraemer <hkraemer@freenet.de>

From-SVN: r71534
2003-09-18 19:51:39 +00:00
Andreas Tobler
8d8369f85b darwin.S: Cleanup whitespaces, comment formatting.
2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>

	* src/powerpc/darwin.S: Cleanup whitespaces, comment formatting.
	* src/powerpc/darwin_closure.S: Likewise.
	* src/powerpc/ffi_darwin.c: Likewise.

From-SVN: r71533
2003-09-18 21:35:46 +02:00
Roger Sayle
a6a0f87623 simplify-rtx.c (simplify_unary_operation): Only transform (not (eq X Y)) into (ne X Y) when...
* simplify-rtx.c (simplify_unary_operation): Only transform
	(not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE
	is -1.  RTL "not" is a bit-wise not, "~", not a logical not "!".

From-SVN: r71532
2003-09-18 19:07:04 +00:00
Andreas Tobler
69b182fda6 types.c (double): Add AIX and Darwin to the right TYPEDEF.
2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>
	    David Edelsohn  <edelsohn@gnu.org>

	* src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
	* src/powerpc/aix_closure.S: Remove the pointer to the outgoing
	parameter stack.
	* src/powerpc/darwin_closure.S: Likewise.
	* src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
	according to the Darwin/AIX ABI.
	(ffi_prep_cif_machdep): Likewise.
	(ffi_closure_helper_DARWIN): Likewise.
	Remove the outgoing parameter stack logic. Simplify the evaluation
	of the different CASE types.
	(ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
	statement in the trampoline code.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r71530
2003-09-18 20:23:47 +02:00
Nathan Sidwell
85b22f7857 re PR c++/9848 (missing 'unused parameter' warning.)
cp:
	PR c++/9848
	* optimize.c (maybe_clone_body): Don't set MARK_USED on parameters
	here.
	* semantics.c (expand_body): Set it here on the remaining clones.
testsuite:
	PR c++/9848
	* g++.dg/warn/Wunused-4.C: New test.

From-SVN: r71528
2003-09-18 17:07:53 +00:00
Zdenek Dvorak
f857cb427e Mention the pr fixed.
From-SVN: r71527
2003-09-18 15:39:54 +00:00
Zdenek Dvorak
1d6ba901bb * config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
From-SVN: r71526
2003-09-18 15:37:51 +00:00