Mark Mitchell
4fe1edca4d
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
2002-12-10 14:45:48 +00:00
Jakub Jelinek
801bb04d14
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
...
From-SVN: r59994
2002-12-10 12:06:33 +01:00
Jakub Jelinek
17772b2a16
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
2002-12-10 11:55:32 +01:00
GCC Administrator
db8a1d4a56
Daily bump.
...
From-SVN: r59990
2002-12-10 08:17:19 +00:00
Gabriel Dos Reis
eee9d6bb44
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
...
From-SVN: r59983
2002-12-10 07:32:04 +00:00
Mark Mitchell
dcba9b0fab
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
2002-12-10 07:11:46 +00:00
Larin Hennessy
63358530f8
* doc/invoke.texi: Document UltraSparc III option.
...
From-SVN: r59977
2002-12-09 18:01:29 -08:00
Tom Tromey
78bb0444d2
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
2002-12-10 01:39:32 +00:00
Tom Tromey
c53be425f7
natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.
...
* java/util/natResourceBundle.cc (getCallingClassLoader): Assume
`t' won't be null.
From-SVN: r59975
2002-12-10 01:29:29 +00:00
Richard Henderson
2e37b0cee2
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
2002-12-09 16:56:36 -08:00
Richard Henderson
3a04ff6433
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
2002-12-09 15:54:01 -08:00
Jan Hubicka
a9a4005fca
* toplev.c (dump_file): Fix order to match reality.
...
From-SVN: r59968
2002-12-09 20:49:34 +00:00
Geoffrey Keating
7ef788f02f
rs6000.md (load_multiple): Use adjust_address_nv.
...
* config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
(store_multiple): Likewise.
From-SVN: r59967
2002-12-09 19:59:17 +00:00
Mark Mitchell
074e73c4e9
* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
...
From-SVN: r59965
2002-12-09 19:31:33 +00:00
John David Anglin
3f320b7e63
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
2002-12-09 19:16:14 +00:00
Steve Ellcey
3870df966e
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
2002-12-09 18:07:58 +00:00
Steve Ellcey
9ac3e73b40
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
2002-12-09 17:54:07 +00:00
GCC Administrator
e46af8eda8
Daily bump.
...
From-SVN: r59961
2002-12-09 08:17:22 +00:00
Svein E. Seldal
7f0db92aa6
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
2002-12-09 08:10:20 +00:00
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