Commit Graph

46453 Commits

Author SHA1 Message Date
Tom Tromey 1d9033cb3f Test for PR libgcj/8823:
* libjava.lang/pr8823.java: New file.
	* libjava.lang/pr8823.out: New file.

From-SVN: r59953
2002-12-09 01:20:38 +00:00
Kaveh R. Ghazi da549e294b conpr-2.C: Expect failure on solaris2.
* g++.dg/special/conpr-2.C: Expect failure on solaris2.
	* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
	* g++.dg/special/initp1.C: Likewise.

From-SVN: r59950
2002-12-09 00:47:30 +00:00
Mark Wielaard e825ca7ff5 Connection.java (getJarFile): download and cache remote jar files.
* gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
	cache remote jar files.
	* gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
	add File.separator to URL when it is a directory.
	* java/lang/ClassLoader.java: Add Classpath javadoc.
	(parent): final.
	(getParent): Add (disabled) security check.
	(findLibrary): New default method.
	* java/net/JarURLConnection.java (getManifest): Implement.
	(getInputStream): Only create InputStream when entry exists.
	(getHeaders): Only use jarFileURLConnection or JarEntry to set length
	when they exist.
	* java/net/URLClassLoader.java: New/Rewritten version from Classpath.

From-SVN: r59949
2002-12-09 00:04:00 +00:00
Mark Wielaard 24632117ce ResourceBundle.java (resourceBundleCache): Not final.
* java/util/ResourceBundle.java (resourceBundleCache): Not final.
	(lastDefaultLocale): New field.
	(getBundle): When Locale.getDefault != lastDefaultLocale reset
	resourceBundleCache.

From-SVN: r59948
2002-12-08 23:38:02 +00:00
Jan Hubicka 37c66aa6ef i386.c (ix86_expand_int_movcc): Use force_operand instead of constructing insn directly.
* i386.c (ix86_expand_int_movcc):  Use force_operand instead of constructing
	insn directly.

From-SVN: r59937
2002-12-08 14:03:40 +00:00
GCC Administrator e598cc3141 Daily bump.
From-SVN: r59935
2002-12-08 08:17:08 +00:00
Gabriel Dos Reis 29d4fdf2c3 New test.
From-SVN: r59920
2002-12-07 18:39:05 +00:00
GCC Administrator f71d0a9529 Daily bump.
From-SVN: r59910
2002-12-07 08:17:27 +00:00
Kazu Hirata 2a598b3ac1 * config/h8300/h8300.md (*iorhi_shift_8): New.
From-SVN: r59904
2002-12-07 05:44:44 +00:00
Bernd Schmidt 840758d3aa Fix errors in last change
From-SVN: r59903
2002-12-07 02:31:34 +00:00
Mark Wielaard 081a777dea InetAddress.java (toString): Use hostname when not null, don't do an explicit reverse getHostName() lookup.
* java/net/InetAddress.java (toString): Use hostname when not null,
        don't do an explicit reverse getHostName() lookup.
        * java/net/Socket.java (setSocketImplFactory): When fac == null throw
        NullPointerException.

From-SVN: r59902
2002-12-07 01:19:02 +00:00
Bernd Schmidt 7089914828 FRV docs
From-SVN: r59901
2002-12-06 23:54:41 +00:00
Tom Tromey b4d0051bd9 java-interp.h (class _Jv_InterpMethod): Added JV_MARKOBJ_DECL.
* include/java-interp.h (class _Jv_InterpMethod): Added
	JV_MARKOBJ_DECL.
	* boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
	mark `prepared' field of interpreted method.
	* interpret.cc (compile): Use _Jv_AllocBytes.

From-SVN: r59900
2002-12-06 23:41:38 +00:00
Gerald Pfeifer 377dfc820f install.texi (Configuration): Improve description of cases where `make distclean` may fail...
* doc/install.texi (Configuration): Improve description of cases
	where `make distclean` may fail; clarify --with-gnu-as; fix grammar.

From-SVN: r59899
2002-12-06 23:32:52 +00:00
Dhananjay R. Deshpande 7144b2d89a sh.c (calc_live_regs): Save fpscr only if target has FPU.
2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>

	* gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
	FPU.
	(push): Generate push_fpscr.
	(pop): Generate pop_fpscr.
	* gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
	(fpu_switch): Add alternative to push fpscr.  Enable for TARGET_SH3E.

From-SVN: r59893
2002-12-06 20:10:50 +00:00
Ranjit Mathew 0cc1565af0 parse.y (source_end_java_method): Remove custom encoding of line numbers for a function decl before passing it to...
2002-12-05  Ranjit Mathew <rmathew@hotmail.com>
        Andrew Haley <aph@redhat.com>

        * parse.y (source_end_java_method): Remove custom encoding of line
        numbers for a function decl before passing it to the back end.

Co-Authored-By: Andrew Haley <aph@redhat.com>

From-SVN: r59892
2002-12-06 20:10:33 +00:00
J"orn Rennecke aa06e8f5d2 sh.c (dump_table): DImode pool constants need only 32 bit alignment.
* sh.c (dump_table): DImode pool constants need only 32 bit alignment.
	DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.

From-SVN: r59891
2002-12-06 19:43:22 +00:00
J"orn Rennecke 0113c3c03e * sh.md (movdi_i): Name. Remove inappropriate comment.
From-SVN: r59890
2002-12-06 19:20:52 +00:00
J"orn Rennecke 8d6b008db4 backport: sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
Merged from basic improvements branch (excerpt):

	2002-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>
	* config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.

From-SVN: r59889
2002-12-06 15:49:49 +00:00
GCC Administrator cdb8f3ebe7 Daily bump.
From-SVN: r59887
2002-12-06 08:17:26 +00:00
Jakub Jelinek 61f6c84f21 expr.c (expand_expr): Never modify exp in place.
* expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.

	* gcc.c-torture/execute/20021204-1.c: New test.

From-SVN: r59881
2002-12-06 08:07:57 +01:00
John David Anglin bf97847b37 pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
* pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
	* pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.

From-SVN: r59879
2002-12-06 02:54:38 +00:00
Ranjit Mathew eb3c46a17e ffi.h.in: Added FFI_STDCALL ffi_type enumeration for X86_WIN32.
2002-11-10  Ranjit Mathew <rmathew@hotmail.com>

	* include/ffi.h.in: Added FFI_STDCALL ffi_type
	  enumeration for X86_WIN32.
	* src/x86/win32.S: Added ffi_call_STDCALL function
	  definition.
	* src/x86/ffi.c (ffi_call/ffi_raw_call): Added
	  switch cases for recognising FFI_STDCALL and
	  calling ffi_call_STDCALL if target is X86_WIN32.
	* src/ffitest.c (my_stdcall_strlen/stdcall_many):
	  stdcall versions of the "my_strlen" and "many"
	  test functions (for X86_WIN32).
	  Added test cases to test stdcall invocation using
	  these functions.

From-SVN: r59878
2002-12-06 01:16:45 +00:00
Dale Johannesen 1fcfaf375c tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
2002-12-05  Dale Johannesen  <dalej@apple.com>

        * tree.c (unsafe_for_reeval):  Consider callee child of CALL_EXPR.

From-SVN: r59875
2002-12-06 00:08:11 +00:00
Danny Smith 1a823ac1fd cygwin.h (SUBTARGET_PROLOGUE): Replace with PROFILE_HOOK.
* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
	PROFILE_HOOK.
	* config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.

From-SVN: r59874
2002-12-05 23:55:15 +00:00
Aldy Hernandez 747db47705 spe.h (__ev_mwlufi): Remove.
2002-12-05  Aldy Hernandez  <aldyh@redhat.com>

	* config/rs6000/spe.h (__ev_mwlufi): Remove.
	(__ev_mwlufia): Remove.
	(__ev_mwlumfaaw): Remove.
	(__ev_mwlusfaaw): Remove.
	(__ev_mwlumfanw): Remove.
	(__ev_mwlusfanw): Remove.

From-SVN: r59871
2002-12-05 23:02:19 +00:00
Benjamin Kosnik 5c9774866e abi_check.cc: Add GLIBCPP_3.2.2.
2002-12-05  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.

From-SVN: r59870
2002-12-05 22:53:42 +00:00
Kaveh R. Ghazi 42b99e0340 * error.c (dump_expr): Fix format specifier warning.
From-SVN: r59867
2002-12-05 22:20:51 +00:00
Kazu Hirata 94f09825cb * config/h8300/h8300.md (*andorsi3_shift_8): New.
From-SVN: r59860
2002-12-05 14:54:47 +00:00
Kazu Hirata 1e5bdc4095 h8300.c (shift_alg_si): Optimize ashift:HI and lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
* config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
	lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
	(get_shift_alg): Return optimal assembly instructions for the
	shifts mentioned above.

From-SVN: r59859
2002-12-05 13:19:16 +00:00
Andrew Haley d8f2e87b77 natStackTrace.cc (fillInStackTrace): Throw #ifdef (HAVE_BACKTRACE) around the whole function body.
2002-12-05  Andrew Haley  <aph@redhat.com>

	* gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
	#ifdef (HAVE_BACKTRACE) around the whole function body.

From-SVN: r59855
2002-12-05 11:35:11 +00:00
GCC Administrator 9148659d58 Daily bump.
From-SVN: r59854
2002-12-05 08:17:18 +00:00
Tom Tromey 0c4077f9c7 override.java: New file.
* libjava.lang/override.java: New file.
	* libjava.lang/override.out: New file.

From-SVN: r59848
2002-12-05 08:06:10 +00:00
Tom Tromey eaa2834f9f Class.h (_Jv_SetVTableEntries): Updated declaration.
* java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
	* resolve.cc: Don't include AbstractMethodError.h.
	(_Jv_abstractMethodError): Removed.
	* defineclass.cc (handleMethodsBegin): Initialize method index to
	-1.
	* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
	method index for "new" final method.
	(_Jv_SetVTableEntries): Compare index against -1 instead of using
	isVirtualMethod.  Added `flags' argument.
	(_Jv_MakeVTable): Throw exception for abstract method in concrete
	class.

From-SVN: r59847
2002-12-05 07:43:45 +00:00
Tom Tromey 83f0a003b8 Fixed snafu caused when fixing previous snafu.
From-SVN: r59846
2002-12-05 02:23:57 +00:00
Kazu Hirata b6fd51f649 h8300.c (h8300_init_once): Do not use loop to implement ashiftrt:HI by 13 bits on H8S.
* config/h8300/h8300.c (h8300_init_once): Do not use loop to
	implement ashiftrt:HI by 13 bits on H8S.

From-SVN: r59845
2002-12-05 02:23:26 +00:00
Tom Tromey f4463ce4ee Fixed ChangeLog patch snafu
From-SVN: r59844
2002-12-05 02:22:25 +00:00
Tom Tromey 6d2cf1d887 * java/net/SocketPermission.java (hashCode): Rewrote.
From-SVN: r59843
2002-12-05 02:16:29 +00:00
John David Anglin 9e1ab8c1a5 fptr.c (__canonicalize_funcptr_for_compare): New file and function.
* pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
	* pa.md (canonicalize_funcptr_for_compare): Output library call to
	canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
	* pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
	CTOR_LIST_BEGIN): New defines.
	* pa/t-linux (LIB2FUNCS_EXTRA): New define.
	(fptr.c): Add make rules.

From-SVN: r59842
2002-12-05 01:57:27 +00:00
Geoffrey Keating 16823694d5 Index: gcc/ChangeLog
2002-12-02  Geoffrey Keating  <geoffk@apple.com>

	* combine.c (combine_simplify_rtx): Add new canonicalizations.
	* doc/md.texi (Insn Canonicalizations): Document new
	canonicalizations for multiply/add combinations.
	* config/rs6000/rs6000.md: Add and modify floating add/multiply
	patterns to ensure they're used whenever they can be.

Index: gcc/testsuite/ChangeLog
2002-12-02  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/ppc-fmadd-1.c: New file.
	* gcc.dg/ppc-fmadd-2.c: New file.
	* gcc.dg/ppc-fmadd-3.c: New file.

From-SVN: r59841
2002-12-05 01:05:13 +00:00
Tom Tromey 76508852a0 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (nat_source_files): Added natVMSecurityManager,
	natResourceBundle.
	* java/util/ResourceBundle.java (Security): Removed.
	(getCallingClassLoader): Now native.
	* java/util/natResourceBundle.cc: New file.
	* java/lang/natVMSecurityManager.cc: New file.
	* java/lang/VMSecurityManager.java (getClassContext): Now native.

From-SVN: r59840
2002-12-05 00:49:30 +00:00
Gerald Pfeifer 67f1b90611 * MAINTAINERS: Add Christian Ehrhardt under "GNATS only".
From-SVN: r59839
2002-12-05 00:30:12 +00:00
Kazu Hirata 5ec0b66e16 * config/h8300/h8300.c: Update the comments related to shifts.
From-SVN: r59836
2002-12-04 23:45:42 +00:00
Chris Demetriou 7fa9ed6593 mips.md (get_fnaddr): Correct length attribute.
2002-12-04  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.md (get_fnaddr): Correct length attribute.

From-SVN: r59833
2002-12-04 14:09:35 -08:00
Kazu Hirata 6bd6fd35db h8300.md (*extzv_8_8): New.
* config/h8300/h8300.md (*extzv_8_8): New.
	(*extzv_8_16): Likewise.

From-SVN: r59832
2002-12-04 21:01:54 +00:00
Geoffrey Keating 6c73ad72f8 class.c (finish_struct_1): Correct comment.
* class.c (finish_struct_1): Correct comment.
	* cp-tree.c (DECL_SORTED_FIELDS): Likewise.

From-SVN: r59828
2002-12-04 20:17:49 +00:00
Jason Merrill c246c65d76 PR c++/8461, c++/8625
PR c++/8461, c++/8625
        * integrate.c (copy_decl_for_inlining): Handle explicit invisible
        references.
        * tree-inline.c (initialize_inlined_parameters): Likewise.

2002-12-03  Jason Merrill  <jason@redhat.com>

        PR c++/8461, c++/8625
        * call.c (convert_for_arg_passing): Don't mess with error_mark_node.
        (cp_convert_parm_for_inlining): Remove.
        * cp-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
        Remove.
        * cp-tree.h (ADDR_IS_INVISIREF): Remove.
        * except.c (stabilize_throw_expr): Remove ADDR_IS_INVISIREF code.

From-SVN: r59827
2002-12-04 15:13:01 -05:00
Chris Demetriou ae598ab989 mips.md (get_fnaddr): Avoid placing an "la" macro instruction in a branch delay slot...
2002-12-04  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
        macro instruction in a branch delay slot, to avoid assembler
        warnings.

From-SVN: r59825
2002-12-04 11:39:57 -08:00
Jakub Jelinek 3a45705a51 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
From-SVN: r59819
2002-12-04 16:50:26 +01:00
Eric Botcazou d61fd3f12a * gcc.c-torture/compile/20021204-1.c: New test.
From-SVN: r59818
2002-12-04 15:06:23 +00:00