GCC Administrator
e588dc171f
Daily bump.
...
From-SVN: r60066
2002-12-12 08:17:18 +00:00
Alexandre Oliva
f87505dda0
* Makefile.in (configure-target-rda): Depend on ALL_GCC_C.
...
From-SVN: r60060
2002-12-12 07:04:34 +00:00
Alexandre Oliva
852dff6156
mips.c (mips_output_conditional_branch): Support PIC-safe out-of-range branch and branch-likely.
...
* config/mips/mips.c (mips_output_conditional_branch): Support
PIC-safe out-of-range branch and branch-likely.
* config/mips/mips.md (attr length): PIC-safe out-of-range
branches are longer.
("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove
unused code to support indirect jumps.
From-SVN: r60058
2002-12-12 05:13:04 +00:00
John David Anglin
d6567b3adf
pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
...
* pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
(MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
BIGGEST_ALIGNMENT.
(PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
(FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
From-SVN: r60056
2002-12-12 02:44:02 +00:00
Kazu Hirata
355bd14f09
* doc/invoke.texi: Correct dump file names.
...
From-SVN: r60055
2002-12-12 02:07:46 +00:00
Tom Tromey
70eec35875
* java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
...
From-SVN: r60053
2002-12-12 00:58:39 +00:00
Paolo Carlini
a625dfab90
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
2002-12-12 00:22:58 +00:00
Steve Ellcey
9a3873b48f
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
2002-12-11 20:41:43 +00:00
J"orn Rennecke
9a4816af1e
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
2002-12-11 20:16:27 +00:00
Tom Tromey
f69bc49776
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
2002-12-11 19:18:59 +00:00
J"orn Rennecke
70a72ca423
sh.h (REG_CLASS_HAS_GENERAL_REG): New.
...
* sh.h (REG_CLASS_HAS_GENERAL_REG): New.
(REGISTER_MOVE_COST): Use it.
From-SVN: r60041
2002-12-11 18:42:11 +00:00
Richard Henderson
5d5cd66f11
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
2002-12-11 10:28:26 -08:00
Kazu Hirata
68d0a3d279
* config/h8300/h8300.md (two define_peephole2): New.
...
From-SVN: r60036
2002-12-11 13:27:29 +00:00
Kazu Hirata
722d59a337
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
2002-12-11 13:01:40 +00:00
GCC Administrator
3cc661ed29
Daily bump.
...
From-SVN: r60030
2002-12-11 08:17:16 +00:00
Neil Booth
b3a5a50c26
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
2002-12-11 06:36:17 +00:00
Tom Tromey
ad1121d10e
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
2002-12-11 03:15:14 +00:00
Mark Wielaard
a7e693d5d2
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
2002-12-11 02:13:51 +00:00
Mark Mitchell
d23faea18e
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
2002-12-10 22:31:40 +00:00
Matt Austern
3932057ce9
* cp-tree.h: get rid of needs_virtual_reinit bit.
...
From-SVN: r60014
2002-12-10 21:53:49 +00:00
Tom Tromey
35cfd29184
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
2002-12-10 21:24:47 +00:00
Janis Johnson
40d81ee46b
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
2002-12-10 21:00:31 +00:00
Devang Patel
48aec0bcc6
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
2002-12-10 12:20:47 -08:00
Jim Wilson
0e9f8e8295
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
2002-12-10 11:24:38 -08:00
Mark Mitchell
68e25f8806
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
2002-12-10 17:09:05 +00:00
Andrew Haley
3e25353ee7
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
2002-12-10 16:35:37 +00:00
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