gccadmin [Mon, 9 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59961
138bc75d-0d04-0410-961f-
82ee72b054a4
sveinse [Mon, 9 Dec 2002 08:10:20 +0000 (08:10 +0000)]
* config.sub: Import from master repository
* config.guess: Ditto
* MAINTAINERS: Added Svein Seldal under write after approval
* gcc/config.gcc: Added tic4x-* target as an alias to c4x-*
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59955
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 9 Dec 2002 01:20:38 +0000 (01:20 +0000)]
Test for PR libgcj/8823:
* libjava.lang/pr8823.java: New file.
* libjava.lang/pr8823.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59953
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59950
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Mon, 9 Dec 2002 00:04:00 +0000 (00:04 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59949
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 8 Dec 2002 23:38:02 +0000 (23:38 +0000)]
* java/util/ResourceBundle.java (resourceBundleCache): Not final.
(lastDefaultLocale): New field.
(getBundle): When Locale.getDefault != lastDefaultLocale reset
resourceBundleCache.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59948
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 8 Dec 2002 14:03:40 +0000 (14:03 +0000)]
* i386.c (ix86_expand_int_movcc): Use force_operand instead of constructing
insn directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59937
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 8 Dec 2002 08:17:08 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59935
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 7 Dec 2002 18:39:05 +0000 (18:39 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59920
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 7 Dec 2002 08:17:27 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59910
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 7 Dec 2002 05:44:44 +0000 (05:44 +0000)]
* config/h8300/h8300.md (*iorhi_shift_8): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59904
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Sat, 7 Dec 2002 02:31:34 +0000 (02:31 +0000)]
Fix errors in last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59903
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 7 Dec 2002 01:19:02 +0000 (01:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59902
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 6 Dec 2002 23:54:41 +0000 (23:54 +0000)]
FRV docs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59901
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 6 Dec 2002 23:41:38 +0000 (23:41 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59900
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 6 Dec 2002 23:32:52 +0000 (23:32 +0000)]
* doc/install.texi (Configuration): Improve description of cases
where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59899
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 6 Dec 2002 20:10:50 +0000 (20:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59893
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 6 Dec 2002 20:10:33 +0000 (20:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59892
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 6 Dec 2002 19:43:22 +0000 (19:43 +0000)]
* sh.c (dump_table): DImode pool constants need only 32 bit alignment.
DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59891
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 6 Dec 2002 19:20:52 +0000 (19:20 +0000)]
* sh.md (movdi_i): Name. Remove inappropriate comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59890
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 6 Dec 2002 15:49:49 +0000 (15:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59889
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 6 Dec 2002 08:17:26 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59887
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 6 Dec 2002 07:07:57 +0000 (07:07 +0000)]
* expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
* gcc.c-torture/execute/
20021204-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59881
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 6 Dec 2002 02:54:38 +0000 (02:54 +0000)]
* pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
* pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59879
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 6 Dec 2002 01:16:45 +0000 (01:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59878
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Fri, 6 Dec 2002 00:08:11 +0000 (00:08 +0000)]
2002-12-05 Dale Johannesen <dalej@apple.com>
* tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59875
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Thu, 5 Dec 2002 23:55:15 +0000 (23:55 +0000)]
* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
PROFILE_HOOK.
* config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59874
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 5 Dec 2002 23:02:19 +0000 (23:02 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59871
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 5 Dec 2002 22:53:42 +0000 (22:53 +0000)]
2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59870
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 5 Dec 2002 22:20:51 +0000 (22:20 +0000)]
* error.c (dump_expr): Fix format specifier warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59867
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 5 Dec 2002 14:54:47 +0000 (14:54 +0000)]
* config/h8300/h8300.md (*andorsi3_shift_8): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59860
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 5 Dec 2002 13:19:16 +0000 (13:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59859
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 5 Dec 2002 11:35:11 +0000 (11:35 +0000)]
2002-12-05 Andrew Haley <aph@redhat.com>
* gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
#ifdef (HAVE_BACKTRACE) around the whole function body.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59855
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 5 Dec 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59854
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 5 Dec 2002 08:06:10 +0000 (08:06 +0000)]
* libjava.lang/override.java: New file.
* libjava.lang/override.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59848
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 5 Dec 2002 07:43:45 +0000 (07:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59847
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 5 Dec 2002 02:23:57 +0000 (02:23 +0000)]
Fixed snafu caused when fixing previous snafu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59846
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 5 Dec 2002 02:23:26 +0000 (02:23 +0000)]
* config/h8300/h8300.c (h8300_init_once): Do not use loop to
implement ashiftrt:HI by 13 bits on H8S.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59845
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 5 Dec 2002 02:22:25 +0000 (02:22 +0000)]
Fixed ChangeLog patch snafu
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59844
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 5 Dec 2002 02:16:29 +0000 (02:16 +0000)]
* java/net/SocketPermission.java (hashCode): Rewrote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59843
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 5 Dec 2002 01:57:27 +0000 (01:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59842
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 5 Dec 2002 01:05:13 +0000 (01:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59841
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 5 Dec 2002 00:49:30 +0000 (00:49 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59840
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 5 Dec 2002 00:30:12 +0000 (00:30 +0000)]
* MAINTAINERS: Add Christian Ehrhardt under "GNATS only".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59839
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 4 Dec 2002 23:45:42 +0000 (23:45 +0000)]
* config/h8300/h8300.c: Update the comments related to shifts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59836
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 4 Dec 2002 22:09:35 +0000 (22:09 +0000)]
2002-12-04 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.md (get_fnaddr): Correct length attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59833
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 4 Dec 2002 21:01:54 +0000 (21:01 +0000)]
* config/h8300/h8300.md (*extzv_8_8): New.
(*extzv_8_16): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59832
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 4 Dec 2002 20:17:49 +0000 (20:17 +0000)]
* class.c (finish_struct_1): Correct comment.
* cp-tree.c (DECL_SORTED_FIELDS): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59828
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 4 Dec 2002 20:13:01 +0000 (20:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59827
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 4 Dec 2002 19:39:57 +0000 (19:39 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59825
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 4 Dec 2002 15:50:26 +0000 (15:50 +0000)]
* fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59819
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 4 Dec 2002 15:06:23 +0000 (15:06 +0000)]
* gcc.c-torture/compile/
20021204-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59818
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 4 Dec 2002 14:58:19 +0000 (14:58 +0000)]
PR c/7622
* c-semantics (genrtl_scope_stmt): Do not output inlined
nested functions that contain no code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59817
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 4 Dec 2002 14:21:58 +0000 (14:21 +0000)]
* cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
to be forced into nonfallthru.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59816
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Wed, 4 Dec 2002 11:32:14 +0000 (11:32 +0000)]
PR C++/8799
* error.c (dump_expr): Don't ever try to dump a non-existent
expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59814
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 4 Dec 2002 08:17:32 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59807
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Wed, 4 Dec 2002 01:57:27 +0000 (01:57 +0000)]
* make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
Define for hosts with HOST_EXECUTABLE_SUFFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59797
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Wed, 4 Dec 2002 01:33:38 +0000 (01:33 +0000)]
* config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59795
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 3 Dec 2002 23:41:32 +0000 (23:41 +0000)]
2002-12-03 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.md (*movv1di_const0): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59791
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Tue, 3 Dec 2002 22:06:31 +0000 (22:06 +0000)]
* java/util/jar/JarFile.java (manifest): Not final.
(manifestRead): New field.
(JarFile): Don't read Manifest in constructor.
(getManifest): New method.
(JarEnumeration.nextElement): Use new method.
(getEntry): Likewise.
* java/util/zip/ZipFile.java (name): Final.
(raf): Likewsie.
(entries): Change type to Hashtable.
(closed): New field.
(ZipFile): Don't read enties in constructor.
(readEntries): Use Hashtable.
(close): Set new close flag and set entries to null inside
synchronized block.
(entries): Contruct enumeration using new getEntries() method and
entries Hashtable.
(getEntryIndex): Removed.
(getEntries): New method.
(getEntry): Use new getEntries() method and entries Hastable.
(getInputStream): Likewise.
(size): Return getEntries().size().
(ZipEntryEnumeration): Wrap entries Hashtable elements.
* java/util/zip/ZipEntry.java (cal): Don't initialize.
(time): Removed
(dostime): New field.
(zipFileIndex): Removed.
(ZipEntry(ZipEntry)): Copy dostime.
(setDOSTime): Now final and doesn't convert dos time.
(getDOSTime): Likewise.
(setTime): Convert dos time.
(getTime): Likewise.
(getCalendar): New method.
(setExtra): Use setTime().
* java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59785
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 3 Dec 2002 22:04:22 +0000 (22:04 +0000)]
* libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59784
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 3 Dec 2002 21:00:16 +0000 (21:00 +0000)]
* bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
Initialize tmp.using_obstack to 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59782
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 3 Dec 2002 20:13:43 +0000 (20:13 +0000)]
* java/lang/Character.java (forDigit): Formatting fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59781
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Tue, 3 Dec 2002 19:45:30 +0000 (19:45 +0000)]
* config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
(EH_RETURN_STACKADJ_RTX): Define.
(EH_RETURN_HANDLER_RTX): Define.
(ASM_PREFERRED_EH_DATA_FORMAT): Define.
* config/m68k/m68k.c (m68k_save_reg): New function. Handle eh
registers and don't save fixed registers.
(m68k_output_function_prologue): Use it.
(use_return_insn): Likewise.
(m68k_output_function_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59780
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Tue, 3 Dec 2002 18:46:59 +0000 (18:46 +0000)]
2002-12-03 Raif Naffah <raif@fl.net.au>
* java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
* java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
* java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59779
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Dec 2002 17:29:43 +0000 (17:29 +0000)]
* call.c (build_user_type_conversion_1): Don't set ICS_BAD_FLAG on
an ambiguous conversion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59775
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 3 Dec 2002 14:36:41 +0000 (14:36 +0000)]
* config/h8300/h8300.c (single_one_operand): Fix a warning.
(single_zero_operand): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59772
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 3 Dec 2002 13:53:27 +0000 (13:53 +0000)]
2002-12-03 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
_Jv_PushClass.
(_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
(_Jv_PopClass): New.
(_Jv_PushClass): New.
* java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
discover the ClassLoader of our caller.
(_Jv_CheckArrayStore): Don't check that a class is assignment
compatible with Object.
* java/lang/natVMTHrowable.cc: Delete.
* gnu/gcj/runtime/StackTrace.java: New, partly copied from
java.lang.VMThrowable.
(StackTrace(), StackTrace(int)): New constructors.
(classAt, methodAt, update, methodAtAddress): New methods.
(map): New field.
* java/lang/VMThrowable.java: Use StackTrace instead of
natVMTHrowable.
* java/lang/Class.h (getClassLoaderInternal): New.
(class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
Be friendly with gnu::gcj::runtime::StackTrace.
(Object.chain): New field.
* include/java-interp.h (class _Jv_InterpMethod): Be friendly with
gnu::gcj::runtime::StackTrace.
* gnu/gcj/runtime/natStackTrace.cc: New file.
* gnu/gcj/runtime/MethodRef.java: New file.
* prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
instead of getClassLoader().
* verify.cc (class _Jv_BytecodeVerifier): Likewise.
java::lang::VMThrowable.
* Makefile.am (core_java_source_files): Add MethodRef.java,
StackTrace.java.
(nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
* Makefile.in: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59771
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 3 Dec 2002 13:50:40 +0000 (13:50 +0000)]
2002-12-03 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
_Jv_PushClass.
(_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
(_Jv_PopClass): New.
(_Jv_PushClass): New.
* java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
discover the ClassLoader of our caller.
(_Jv_CheckArrayStore): Don't check that a class is assignment
compatible with Object.
* java/lang/natVMTHrowable.cc: Delete.
* gnu/gcj/runtime/StackTrace.java: New, partly copied from
java.lang.VMThrowable.
(StackTrace(), StackTrace(int)): New constructors.
(classAt, methodAt, update, methodAtAddress): New methods.
(map): New field.
* java/lang/VMThrowable.java: Use StackTrace instead of
natVMTHrowable.
* java/lang/Class.h (getClassLoaderInternal): New.
(class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
Be friendly with gnu::gcj::runtime::StackTrace.
(Object.chain): New field.
* include/java-interp.h (class _Jv_InterpMethod): Be friendly with
gnu::gcj::runtime::StackTrace.
* prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
instead of getClassLoader().
* verify.cc (class _Jv_BytecodeVerifier): Likewise.
java::lang::VMThrowable.
* Makefile.am (core_java_source_files): Add MethodRef.java,
StackTrace.java.
(nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
* Makefile.in: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59770
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 3 Dec 2002 13:50:05 +0000 (13:50 +0000)]
2002-12-03 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
_Jv_PushClass.
(_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
(_Jv_PopClass): New.
(_Jv_PushClass): New.
* java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
discover the ClassLoader of our caller.
(_Jv_CheckArrayStore): Don't check that a class is assignment
compatible with Object.
* java/lang/natVMTHrowable.cc: Delete.
* gnu/gcj/runtime/StackTrace.java: New, partly copied from
java.lang.VMThrowable.
(StackTrace(), StackTrace(int)): New constructors.
(classAt, methodAt, update, methodAtAddress): New methods.
(map): New field.
* java/lang/VMThrowable.java: Use StackTrace instead of
natVMTHrowable.
* java/lang/Class.h (getClassLoaderInternal): New.
(class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
Be friendly with gnu::gcj::runtime::StackTrace.
(Object.chain): New field.
* include/java-interp.h (class _Jv_InterpMethod): Be friendly with
gnu::gcj::runtime::StackTrace.
* prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
instead of getClassLoader().
* verify.cc (class _Jv_BytecodeVerifier): Likewise.
java::lang::VMThrowable.
* Makefile.am (core_java_source_files): Add MethodRef.java,
StackTrace.java.
(nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
* Makefile.in: Rebuild.
2002-12-03 Andrew Haley <aph@redhat.com>
* class.c (make_class_data): New field, "chain".
* decl.c (java_init_decl_processing): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59769
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 3 Dec 2002 09:05:36 +0000 (09:05 +0000)]
PR c++/8688
* decl.c (reshape_init): Handle erroneous initializers.
PR c++/8688
* g++.dg/init/brace3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59768
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 3 Dec 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59766
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 3 Dec 2002 06:52:25 +0000 (06:52 +0000)]
PR c++/8720
* spew.c (remove_last_token): Make sure that last_chunk is set
correctly.
PR c++/8615
* error.c (dump_expr): Handle character constants with
TREE_OVERFLOW set.
PR c++/8720
* g++.dg/parse/defarg1.C: New test.
PR c++/8615
* g++.dg/template/char1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59757
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 3 Dec 2002 03:54:05 +0000 (03:54 +0000)]
* jni.cc: Added `name' argument.
* include/jni.h (struct JNINativeInterface) [DefineClass]: Added
`const char *' argument.
(class _Jv_JNIEnv) [DefineClass]: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59756
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 2 Dec 2002 22:22:05 +0000 (22:22 +0000)]
* config/h8300/h8300.c (dosize): Replace argument op with
sign.
(h8300_output_function_prologue): Update the call to dosize.
(h8300_output_function_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59746
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 2 Dec 2002 22:15:54 +0000 (22:15 +0000)]
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.h (compare(const basic_string&)):
Fully qualify min() with std::.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59745
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 2 Dec 2002 21:30:13 +0000 (21:30 +0000)]
Bug compatibility, for PR libgcj/8738:
* java/io/CharArrayWriter.java (close): Do nothing.
(flush): Likewise.
(reset): Don't touch `closed'.
(write(int)): Don't throw IOException.
(write(char[],int,int)): Likewise.
(write(String,int,int)): Likewise.
(closed): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59743
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Mon, 2 Dec 2002 21:24:44 +0000 (21:24 +0000)]
* config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59740
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 2 Dec 2002 20:28:38 +0000 (20:28 +0000)]
* gcc.dg/
20020210-1.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59736
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Mon, 2 Dec 2002 20:22:14 +0000 (20:22 +0000)]
* configure.in: Use "missing" script to generate warning if
flex or bison programs not found, instead of invoking "false".
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59735
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 2 Dec 2002 19:44:13 +0000 (19:44 +0000)]
* g++.dg/template/varmod1.C: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59733
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 2 Dec 2002 19:29:45 +0000 (19:29 +0000)]
* unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59732
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 2 Dec 2002 19:24:11 +0000 (19:24 +0000)]
2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): Update to 5:2:0.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59729
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 2 Dec 2002 19:04:14 +0000 (19:04 +0000)]
For PR java/8740:
* parse.y (do_resolve_class): Handle qualified name via
recursion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59728
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 2 Dec 2002 18:53:41 +0000 (18:53 +0000)]
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::append(const basic_string&, size_type,
size_type), basic_string::compare(size_type, size_type,
const basic_string&), basic_string::compare(size_type,
size_type, const basic_string&, size_type, size_type),
basic_string::compare(const _CharT*), basic_string::
compare(size_type, size_type, const _CharT*),
basic_string::compare(size_type, size_type, const _CharT*,
size_type), _S_string_copy(const basic_string&, _CharT*,
typename _Alloc::size_type)): Fully qualify min() with std::.
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Delay the declaration of __dnew,
fully qualify distance() with std::.
(basic_string::_M_replace_safe): Fully qualify distance()
with std::.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59726
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 2 Dec 2002 18:44:05 +0000 (18:44 +0000)]
* i386.c (ix86_expand_int_movcc): Avoid overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59724
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Mon, 2 Dec 2002 17:03:13 +0000 (17:03 +0000)]
DR 180
* decl.c (grokdeclarator): Require class-key for all friend class.
Output the correct type and context in the error message.
* g++.old-deja/g++.pt/crash32.C: Expect error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59719
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 2 Dec 2002 16:54:14 +0000 (16:54 +0000)]
* config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
(push): Likewise.
(pop): Likewise.
(h8300_output_function_prologue): Likewise.
(h8300_output_function_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59718
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 2 Dec 2002 14:44:17 +0000 (14:44 +0000)]
* expmed.c (store_bit_field): Use int_mode_for_mode to find
corresponding mode of non-integer mode, unless it is VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59716
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 2 Dec 2002 14:24:11 +0000 (14:24 +0000)]
* config/h8300/h8300.md (stm_h8300s_2): New.
(stm_h8300s_3): Likewise.
(stm_h8300s_4): Likewise.
(five define_peephole2): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59715
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 2 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59712
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 2 Dec 2002 05:12:53 +0000 (05:12 +0000)]
* ra-build.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59705
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 2 Dec 2002 02:02:43 +0000 (02:02 +0000)]
* config/h8300/h8300.c (h8300_output_function_prologue):
Remove variable idx.
(h8300_output_function_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59703
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 1 Dec 2002 23:50:03 +0000 (23:50 +0000)]
* libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function.
(gcj_jacks_parse): Use it; set up xfails.
* libjava.jacks/jacks.xfail: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59702
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 1 Dec 2002 20:46:08 +0000 (20:46 +0000)]
PR c++/5919
* g++.dg/template/varmod1.C: New test.
PR c++/5919
* pt.c (unify): Use variably_modified_type_p to test validity of
template argument types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59698
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 1 Dec 2002 20:27:37 +0000 (20:27 +0000)]
PR c++/8727
* g++.dg/inherit/typeinfo1.C: New test.
PR c++/8663
* g++.dg/inherit/typedef1.C: New test.
PR c++/8727
* cp-tree.h (lang_type_class): Add typeinfo_var.
(CLASSTYPE_TYPEINFO_VAR): New macro.
* rtti.c (get_tinfo_decl): Use it.
PR c++/8663
* init.c (expand_member_init): Always get the main variant of a
base class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59694
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 1 Dec 2002 19:16:12 +0000 (19:16 +0000)]
* config/frv/xm-frv.h: Delete, unnecessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59693
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 1 Dec 2002 18:04:06 +0000 (18:04 +0000)]
* config/h8300/h8300.md: Add comments for define_peephole2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59690
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 1 Dec 2002 17:51:51 +0000 (17:51 +0000)]
PR c++/8332
PR c++/8493
* decl.c (cxx_init_decl_processing): Use size_type_node, not
c_size_type_node.
* decl2.c (coerce_new_type): Likewise.
* except.c (do_allocate_exception): Likewise.
* builtin-types.def (BT_SIZE): Use size_type_node.
* builtins.c (fold_builtin): Make the builtin strlen returns a
size_t, not a sizetype.
* c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
c_size_type_node.
(c_alignof_expr): Likewise.
(c_common_nodes_and_builtins): Likewise.
* c-common.h (CTI_C_SIZE_TYPE): Remove.
(c_size_type_node): Likewise.
* c-format.c (T_ST): Use size_type_node, not c_size_type_node.
* tree.h (TI_SIZE_TYPE): New enumeral.
(size_type_node): Likewise.
PR c++/8332
PR c++/8493
* g++.dg/template/strlen1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59689
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 1 Dec 2002 17:32:33 +0000 (17:32 +0000)]
Revert change accidentally applied to wrong branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59688
138bc75d-0d04-0410-961f-
82ee72b054a4