Paolo Carlini [Thu, 12 Dec 2002 00:22:58 +0000 (01:22 +0100)]
re PR libstdc++/8887 (locale)
2002-12-11 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8887
* config/locale/generic/time_members.cc
(__timepunct<char>::_M_initialize_timepunct): Fix typos
in _M_date_format and _M_date_era_format string literals.
From-SVN: r60050
Steve Ellcey [Wed, 11 Dec 2002 20:41:43 +0000 (20:41 +0000)]
ia64.c (ia64_hpux_asm_file_end): Don't send stripped name to globalize_label or assemble_name.
* config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
name to globalize_label or assemble_name.
From-SVN: r60046
J"orn Rennecke [Wed, 11 Dec 2002 20:16:27 +0000 (20:16 +0000)]
sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS if not TARGET_SHMEDIA.
* sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
if not TARGET_SHMEDIA.
From-SVN: r60045
Tom Tromey [Wed, 11 Dec 2002 19:18:59 +0000 (19:18 +0000)]
ClassLoader.java (loadedClasses): New field.
* java/lang/ClassLoader.java (loadedClasses): New field.
(defineClass): Fixed indentation. Put new class in
loadedClasses.
(findLoadedClass): Implement here.
* java/lang/natClassLoader.cc (findLoadedClass): Removed.
From-SVN: r60043
J"orn Rennecke [Wed, 11 Dec 2002 18:42:11 +0000 (18:42 +0000)]
sh.h (REG_CLASS_HAS_GENERAL_REG): New.
* sh.h (REG_CLASS_HAS_GENERAL_REG): New.
(REGISTER_MOVE_COST): Use it.
From-SVN: r60041
Richard Henderson [Wed, 11 Dec 2002 18:28:26 +0000 (10:28 -0800)]
tree.h (MODULE_LOCAL_P): Kill.
* tree.h (MODULE_LOCAL_P): Kill.
* varasm.c (default_binds_local_p_1): Use decl_visibility instead.
From-SVN: r60040
Kazu Hirata [Wed, 11 Dec 2002 13:27:29 +0000 (13:27 +0000)]
* config/h8300/h8300.md (two define_peephole2): New.
From-SVN: r60036
Kazu Hirata [Wed, 11 Dec 2002 13:01:40 +0000 (13:01 +0000)]
h8300.h (CONST_OK_FOR_J): Remove.
* config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
(CONST_OK_FOR_K): Likewise.
(CONST_OK_FOR_M): Likewise.
(CONST_OK_FOR_LETTER_P): Do not use the above macros.
From-SVN: r60035
GCC Administrator [Wed, 11 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60030
Neil Booth [Wed, 11 Dec 2002 06:36:17 +0000 (06:36 +0000)]
c-common.c (builtin_define_type_max): Handle unsigned types too.
* c-common.c (builtin_define_type_max): Handle unsigned
types too.
testsuite:
* gcc.dg/fshort-wchar: New test.
From-SVN: r60023
Tom Tromey [Wed, 11 Dec 2002 03:15:14 +0000 (03:15 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.
* gnu/gcj/runtime/natVMClassLoader.cc: New file.
(gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
* java/lang/natClassLoader.cc
(gnu::gcj::runtime::VMClassLoader::findClass): Removed.
From-SVN: r60020
Mark Wielaard [Wed, 11 Dec 2002 02:13:51 +0000 (02:13 +0000)]
URLClassLoader.java (getCanonicalFileURL): New method.
2002-12-10 Mark Wielaard <mark@klomp.org>
Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java (getCanonicalFileURL): New method.
(JarURLLoader): Use it.
(FileURLLoader): Likewise.
(JarURLResource.getURL): Use chained exception.
(FileResource.getURL): Likewise.
(FileURLLoader.getResource): Use canonical file name.
(addURL): Indentation fix.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r60019
Mark Mitchell [Tue, 10 Dec 2002 22:31:40 +0000 (22:31 +0000)]
re PR c++/8372 (ICE on explicit call of destructor)
PR c++/8372
* pt.c (tsubst_copy): Handle destructor names more correctly.
PR c++/8372
* g++.dg/template/dtor1.C: New test.
From-SVN: r60015
Matt Austern [Tue, 10 Dec 2002 21:53:49 +0000 (21:53 +0000)]
* cp-tree.h: get rid of needs_virtual_reinit bit.
From-SVN: r60014
Tom Tromey [Tue, 10 Dec 2002 21:24:47 +0000 (21:24 +0000)]
win32.h: Fixed typo in "DISABLE_JAVA_NET".
* include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
From Laurent Bardet <l.bardet@magic.fr>.
From-SVN: r60013
Janis Johnson [Tue, 10 Dec 2002 21:00:31 +0000 (21:00 +0000)]
re PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")
2002-12-10 Janis Johnson <janis187@us.ibm.com>
PR other/8882
* doc/tm.texi (PUSH_ARGS): Remove misplaced line.
From-SVN: r60011
Devang Patel [Tue, 10 Dec 2002 20:20:47 +0000 (12:20 -0800)]
Add support for darwin linker options.
* config/darwin.h(LINK_SPEC): Add darwin specific linker options.
* doc/invoke.texi: Add new "Darwin Options" section.
From-SVN: r60010
Jim Wilson [Tue, 10 Dec 2002 19:24:38 +0000 (19:24 +0000)]
Fix PPC32 SVR4 ABI bug with 128-bit long double.
* rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
memory.
From-SVN: r60006
Mark Mitchell [Tue, 10 Dec 2002 17:09:05 +0000 (17:09 +0000)]
cxxabi.h (__cxa_bad_cast): Declare it.
* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
(__cxa_bad_typeid): Likewise.
(__cxa_atexit): Likewise.
(__cxa_finalize): Likewise.
From-SVN: r60001
Andrew Haley [Tue, 10 Dec 2002 16:35:37 +0000 (16:35 +0000)]
cse.c (cse_insn): Don't cse past a basic block boundary.
2002-12-10 Andrew Haley <aph@redhat.com>
* cse.c (cse_insn): Don't cse past a basic block boundary.
From-SVN: r60000
Mark Mitchell [Tue, 10 Dec 2002 14:45:48 +0000 (14:45 +0000)]
memconst.C: Use old-deja, not dg, error markers.
* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.
From-SVN: r59997
Jakub Jelinek [Tue, 10 Dec 2002 11:06:33 +0000 (12:06 +0100)]
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
From-SVN: r59994
Jakub Jelinek [Tue, 10 Dec 2002 10:55:32 +0000 (11:55 +0100)]
linux.h (LIB_SPEC): If -pthread, add -lpthread even if -shared.
* config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
-shared.
* config/alpha/linux-elf.h (LIB_SPEC): Likewise.
* config/alpha/linux.h (LIB_SPEC): Likewise.
* config/arm/linux-elf.h (LIB_SPEC): Likewise.
* config/pa/pa-linux.h (LIB_SPEC): Likewise.
* config/sparc/linux.h (LIB_SPEC): Likewise.
* config/sparc/linux64.h (LIB_SPEC): Likewise.
From-SVN: r59992
GCC Administrator [Tue, 10 Dec 2002 08:17:19 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59990
Gabriel Dos Reis [Tue, 10 Dec 2002 07:32:04 +0000 (07:32 +0000)]
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
From-SVN: r59983
Mark Mitchell [Tue, 10 Dec 2002 07:11:46 +0000 (07:11 +0000)]
re PR c++/8153 (ICE with static const member in class)
PR c++/8153
PR c++/8036
* NEWS: Document removal of in-class initialization extension for
static data members of non-arithmetic, non-enumeration type.
* decl.c (check_static_variable_definition): Do not allow that
extension.
* decl2.c (grokfield): Do not call digest_init when processing
templates.
PR c++/8153
PR c++/8036
* g++.dg/template/static1.C: New test.
* g++.dg/template/static2.C: New test.
* g++.old-deja/g++.ext/memconst.C: New test.
From-SVN: r59980
Larin Hennessy [Tue, 10 Dec 2002 02:01:29 +0000 (02:01 +0000)]
* doc/invoke.texi: Document UltraSparc III option.
From-SVN: r59977
Tom Tromey [Tue, 10 Dec 2002 01:39:32 +0000 (01:39 +0000)]
win32.h (_Jv_platform_solib_prefix): New define.
* include/win32.h (_Jv_platform_solib_prefix): New define.
(_Jv_platform_solib_suffix): Likewise.
* include/posix.h (_Jv_platform_solib_prefix): New define.
(_Jv_platform_solib_suffix): Likewise.
* java/lang/natRuntime.cc: Include StackTrace.h.
(_load): Use findLibrary and new platform defines.
(nativeGetLibname): Use new platform defines.
From-SVN: r59976
Tom Tromey [Tue, 10 Dec 2002 01:29:29 +0000 (01:29 +0000)]
natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.
* java/util/natResourceBundle.cc (getCallingClassLoader): Assume
`t' won't be null.
From-SVN: r59975
Richard Henderson [Tue, 10 Dec 2002 00:56:36 +0000 (16:56 -0800)]
i386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__ as necessary.
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
__tune_pentium2__ and __tune_pentium3__ as necessary.
From-SVN: r59974
Richard Henderson [Mon, 9 Dec 2002 23:54:01 +0000 (15:54 -0800)]
target.h (gcc_target): Add cannot_force_const_mem.
* target.h (gcc_target): Add cannot_force_const_mem.
* target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
(TARGET_INITIALIZER): Add it.
* varasm.c (force_const_mem): Fail if cannot_force_const_mem.
* expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
* reload1.c (reload): Likewise.
* hooks.c (hook_bool_rtx_false): New.
* hooks.h: Declare it.
* config/i386/i386.c (ix86_cannot_force_const_mem): New.
(TARGET_CANNOT_FORCE_CONST_MEM): New.
(ix86_expand_move): Remove de-const-pooling hack.
* gcc.dg/tls/opt-4.c: New.
From-SVN: r59971
Jan Hubicka [Mon, 9 Dec 2002 20:49:34 +0000 (21:49 +0100)]
* toplev.c (dump_file): Fix order to match reality.
From-SVN: r59968
Geoffrey Keating [Mon, 9 Dec 2002 19:59:17 +0000 (19:59 +0000)]
rs6000.md (load_multiple): Use adjust_address_nv.
* config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
(store_multiple): Likewise.
From-SVN: r59967
Mark Mitchell [Mon, 9 Dec 2002 19:31:33 +0000 (19:31 +0000)]
* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
From-SVN: r59965
John David Anglin [Mon, 9 Dec 2002 19:16:14 +0000 (19:16 +0000)]
fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize function pointers in page 0.
* pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
function pointers in page 0.
From-SVN: r59964
Steve Ellcey [Mon, 9 Dec 2002 18:07:58 +0000 (18:07 +0000)]
hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove definition
* config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
definition
(MEMBER_TYPE_FORCES_BLK): Move.
* config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
aggregate arguments.
(ia64_function_value): Use PARALLEL to return aggregate values.
From-SVN: r59963
Steve Ellcey [Mon, 9 Dec 2002 17:54:07 +0000 (17:54 +0000)]
tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* calls.c (store_unaligned_arguments_into_pseudos) Remove
FUNCTION_ARG_REG_LITTLE_ENDIAN.
* stmt.c (expand_return): Ditto.
* expr.c (move_block_from_reg): Ditto.
(copy_blkmode_from_reg): Ditto.
* expmed.c (store_bit_field): Ditto.
From-SVN: r59962
GCC Administrator [Mon, 9 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59961
Svein E. Seldal [Mon, 9 Dec 2002 08:10:20 +0000 (08:10 +0000)]
config.sub: Import from master repository
* 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-*
From-SVN: r59955
Tom 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.
From-SVN: r59953
Kaveh R. Ghazi [Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +0000)]
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
Mark Wielaard [Mon, 9 Dec 2002 00:04:00 +0000 (00:04 +0000)]
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
Mark Wielaard [Sun, 8 Dec 2002 23:38:02 +0000 (23:38 +0000)]
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
Jan Hubicka [Sun, 8 Dec 2002 14:03:40 +0000 (15:03 +0100)]
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
GCC Administrator [Sun, 8 Dec 2002 08:17:08 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59935
Gabriel Dos Reis [Sat, 7 Dec 2002 18:39:05 +0000 (18:39 +0000)]
New test.
From-SVN: r59920
GCC Administrator [Sat, 7 Dec 2002 08:17:27 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59910
Kazu Hirata [Sat, 7 Dec 2002 05:44:44 +0000 (05:44 +0000)]
* config/h8300/h8300.md (*iorhi_shift_8): New.
From-SVN: r59904
Bernd Schmidt [Sat, 7 Dec 2002 02:31:34 +0000 (02:31 +0000)]
Fix errors in last change
From-SVN: r59903
Mark Wielaard [Sat, 7 Dec 2002 01:19:02 +0000 (01:19 +0000)]
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
Bernd Schmidt [Fri, 6 Dec 2002 23:54:41 +0000 (23:54 +0000)]
FRV docs
From-SVN: r59901
Tom Tromey [Fri, 6 Dec 2002 23:41:38 +0000 (23:41 +0000)]
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
Gerald Pfeifer [Fri, 6 Dec 2002 23:32:52 +0000 (00:32 +0100)]
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
Dhananjay R. Deshpande [Fri, 6 Dec 2002 20:10:50 +0000 (20:10 +0000)]
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
Ranjit Mathew [Fri, 6 Dec 2002 20:10:33 +0000 (20:10 +0000)]
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
J"orn Rennecke [Fri, 6 Dec 2002 19:43:22 +0000 (19:43 +0000)]
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
J"orn Rennecke [Fri, 6 Dec 2002 19:20:52 +0000 (19:20 +0000)]
* sh.md (movdi_i): Name. Remove inappropriate comment.
From-SVN: r59890
J"orn Rennecke [Fri, 6 Dec 2002 15:49:49 +0000 (15:49 +0000)]
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
GCC Administrator [Fri, 6 Dec 2002 08:17:26 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59887
Jakub Jelinek [Fri, 6 Dec 2002 07:07:57 +0000 (08:07 +0100)]
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
John David Anglin [Fri, 6 Dec 2002 02:54:38 +0000 (02:54 +0000)]
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
Ranjit Mathew [Fri, 6 Dec 2002 01:16:45 +0000 (01:16 +0000)]
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
Dale Johannesen [Fri, 6 Dec 2002 00:08:11 +0000 (00:08 +0000)]
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
Danny Smith [Thu, 5 Dec 2002 23:55:15 +0000 (23:55 +0000)]
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
Aldy Hernandez [Thu, 5 Dec 2002 23:02:19 +0000 (23:02 +0000)]
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
Benjamin Kosnik [Thu, 5 Dec 2002 22:53:42 +0000 (22:53 +0000)]
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
Kaveh R. Ghazi [Thu, 5 Dec 2002 22:20:51 +0000 (22:20 +0000)]
* error.c (dump_expr): Fix format specifier warning.
From-SVN: r59867
Kazu Hirata [Thu, 5 Dec 2002 14:54:47 +0000 (14:54 +0000)]
* config/h8300/h8300.md (*andorsi3_shift_8): New.
From-SVN: r59860
Kazu Hirata [Thu, 5 Dec 2002 13:19:16 +0000 (13:19 +0000)]
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
Andrew Haley [Thu, 5 Dec 2002 11:35:11 +0000 (11:35 +0000)]
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
GCC Administrator [Thu, 5 Dec 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59854
Tom Tromey [Thu, 5 Dec 2002 08:06:10 +0000 (08:06 +0000)]
override.java: New file.
* libjava.lang/override.java: New file.
* libjava.lang/override.out: New file.
From-SVN: r59848
Tom Tromey [Thu, 5 Dec 2002 07:43:45 +0000 (07:43 +0000)]
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
Tom Tromey [Thu, 5 Dec 2002 02:23:57 +0000 (02:23 +0000)]
Fixed snafu caused when fixing previous snafu.
From-SVN: r59846
Kazu Hirata [Thu, 5 Dec 2002 02:23:26 +0000 (02:23 +0000)]
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
Tom Tromey [Thu, 5 Dec 2002 02:22:25 +0000 (02:22 +0000)]
Fixed ChangeLog patch snafu
From-SVN: r59844
Tom Tromey [Thu, 5 Dec 2002 02:16:29 +0000 (02:16 +0000)]
* java/net/SocketPermission.java (hashCode): Rewrote.
From-SVN: r59843
John David Anglin [Thu, 5 Dec 2002 01:57:27 +0000 (01:57 +0000)]
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
Geoffrey Keating [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.
From-SVN: r59841
Tom Tromey [Thu, 5 Dec 2002 00:49:30 +0000 (00:49 +0000)]
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
Gerald Pfeifer [Thu, 5 Dec 2002 00:30:12 +0000 (01:30 +0100)]
* MAINTAINERS: Add Christian Ehrhardt under "GNATS only".
From-SVN: r59839
Kazu Hirata [Wed, 4 Dec 2002 23:45:42 +0000 (23:45 +0000)]
* config/h8300/h8300.c: Update the comments related to shifts.
From-SVN: r59836
Chris Demetriou [Wed, 4 Dec 2002 22:09:35 +0000 (22:09 +0000)]
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
Kazu Hirata [Wed, 4 Dec 2002 21:01:54 +0000 (21:01 +0000)]
h8300.md (*extzv_8_8): New.
* config/h8300/h8300.md (*extzv_8_8): New.
(*extzv_8_16): Likewise.
From-SVN: r59832
Geoffrey Keating [Wed, 4 Dec 2002 20:17:49 +0000 (20:17 +0000)]
class.c (finish_struct_1): Correct comment.
* class.c (finish_struct_1): Correct comment.
* cp-tree.c (DECL_SORTED_FIELDS): Likewise.
From-SVN: r59828
Jason Merrill [Wed, 4 Dec 2002 20:13:01 +0000 (15:13 -0500)]
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
Chris Demetriou [Wed, 4 Dec 2002 19:39:57 +0000 (19:39 +0000)]
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
Jakub Jelinek [Wed, 4 Dec 2002 15:50:26 +0000 (16:50 +0100)]
* fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
From-SVN: r59819
Eric Botcazou [Wed, 4 Dec 2002 15:06:23 +0000 (16:06 +0100)]
* gcc.c-torture/compile/
20021204-1.c: New test.
From-SVN: r59818
Eric Botcazou [Wed, 4 Dec 2002 14:58:19 +0000 (14:58 +0000)]
re PR c/7622 (tree inliner fallout (regression relative to 2.95))
PR c/7622
* c-semantics (genrtl_scope_stmt): Do not output inlined
nested functions that contain no code.
From-SVN: r59817
Jan Hubicka [Wed, 4 Dec 2002 14:21:58 +0000 (15:21 +0100)]
cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge to be forced into nonfallthru.
* cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
to be forced into nonfallthru.
From-SVN: r59816
Gabriel Dos Reis [Wed, 4 Dec 2002 11:32:14 +0000 (11:32 +0000)]
re PR c++/8799 (ICE: Error reporting routines re-entered.)
PR C++/8799
* error.c (dump_expr): Don't ever try to dump a non-existent
expression.
From-SVN: r59814
GCC Administrator [Wed, 4 Dec 2002 08:17:32 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59807
Danny Smith [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.
* make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
Define for hosts with HOST_EXECUTABLE_SUFFIX.
From-SVN: r59797
Jason Thorpe [Wed, 4 Dec 2002 01:33:38 +0000 (01:33 +0000)]
* config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
From-SVN: r59795
Aldy Hernandez [Tue, 3 Dec 2002 23:41:32 +0000 (23:41 +0000)]
spe.md (*movv1di_const0): New pattern.
2002-12-03 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.md (*movv1di_const0): New pattern.
From-SVN: r59791
Mark Wielaard [Tue, 3 Dec 2002 22:06:31 +0000 (22:06 +0000)]
JarFile.java (manifest): Not final.
* 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.
From-SVN: r59785
Richard Henderson [Tue, 3 Dec 2002 22:04:22 +0000 (14:04 -0800)]
* libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
From-SVN: r59784
Hans-Peter Nilsson [Tue, 3 Dec 2002 21:00:16 +0000 (21:00 +0000)]
bitmap.c (bitmap_ior_and_compl, [...]): Initialize tmp.using_obstack to 0.
* bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
Initialize tmp.using_obstack to 0.
From-SVN: r59782
Tom Tromey [Tue, 3 Dec 2002 20:13:43 +0000 (20:13 +0000)]
* java/lang/Character.java (forDigit): Formatting fix.
From-SVN: r59781