platform/upstream/gcc.git
21 years agoinvoke.texi: Document Darwin linker options...
Devang Patel [Thu, 12 Dec 2002 22:23:45 +0000 (14:23 -0800)]
invoke.texi: Document Darwin linker options...

gcc
        *doc/invoke.texi: Document Darwin linker options, -bundle
        -bind_at_load, -all_load and -arch_errors_fatal

testsuite
        * gcc.dg/darwin-ld-1.c: New test.
        * gcc.dg/darwin-ld-2.c: New test.
        * gcc.dg/darwin-ld-3.c: New test.
        * gcc.dg/darwin-ld-4.c: New test.
        * gcc.dg/darwin-ld-5.c: New test.

From-SVN: r60081

21 years agoh8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.
Kazu Hirata [Thu, 12 Dec 2002 21:33:43 +0000 (21:33 +0000)]
h8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.

* config/h8300/h8300.md (a peephole2): Accept a constant
that's accepted by CONST_OK_FOR_J.

From-SVN: r60080

21 years agoh8300.h (CONST_OK_FOR_J): New.
Kazu Hirata [Thu, 12 Dec 2002 21:19:57 +0000 (21:19 +0000)]
h8300.h (CONST_OK_FOR_J): New.

* config/h8300/h8300.h (CONST_OK_FOR_J): New.
(CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
* config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
(*addhi_h8300hs): Likewise.

From-SVN: r60079

21 years agosh.c (reg_class_from_letter): No longer const.
J"orn Rennecke [Thu, 12 Dec 2002 17:11:13 +0000 (17:11 +0000)]
sh.c (reg_class_from_letter): No longer const.

* sh.c (reg_class_from_letter): No longer const.  Add 'e' entry.
(sh_register_move_cost): Add clause for SImode fp-fp moves.
Increase cost for moves involving multiple general purpose registers.
* sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
TARGET_FMOVD.
(HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
(enum reg_class reg_class_from_letter): No longer const.
(SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
REGCLASS_HAS_GENERAL_REG.
Handle SImode moves from/to fp registers.
! TARGET_SHMEDIA && TARGET_FMOVD.
(SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
* sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.

From-SVN: r60076

21 years agosh.h (REG_CLASS_HAS_FP_REG): New.
Joern Rennecke [Thu, 12 Dec 2002 16:40:49 +0000 (16:40 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.

Wed Dec 11 19:05:05 2002  J"orn Rennecke <joern.rennecke@superh.com>

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60075

21 years agosh.h (REG_CLASS_HAS_FP_REG): New.
Joern Rennecke [Thu, 12 Dec 2002 16:25:12 +0000 (16:25 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60074

21 years agoia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.
Andreas Schwab [Thu, 12 Dec 2002 14:08:21 +0000 (14:08 +0000)]
ia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.

* config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
change and some warnings.

From-SVN: r60073

21 years ago* doc/md.texi (pushm): Fix a typo.
Kazu Hirata [Thu, 12 Dec 2002 14:03:56 +0000 (14:03 +0000)]
* doc/md.texi (pushm): Fix a typo.

From-SVN: r60072

21 years ago20021212-1.c: New test.
Eric Botcazou [Thu, 12 Dec 2002 11:09:39 +0000 (12:09 +0100)]
20021212-1.c: New test.

2002-12-12  Eric Botcazou  <ebotcazou@libertysurf.fr>

* gcc.c-torture/compile/20021212-1.c: New test.

From-SVN: r60068

21 years agoLink PR opt/8334 to its fix.
Eric Botcazou [Thu, 12 Dec 2002 10:59:45 +0000 (10:59 +0000)]
Link PR opt/8334 to its fix.

From-SVN: r60067

21 years agoDaily bump.
GCC Administrator [Thu, 12 Dec 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60066

21 years ago* Makefile.in (configure-target-rda): Depend on ALL_GCC_C.
Alexandre Oliva [Thu, 12 Dec 2002 07:04:34 +0000 (07:04 +0000)]
* Makefile.in (configure-target-rda): Depend on ALL_GCC_C.

From-SVN: r60060

21 years agomips.c (mips_output_conditional_branch): Support PIC-safe out-of-range branch and...
Alexandre Oliva [Thu, 12 Dec 2002 05:13:04 +0000 (05:13 +0000)]
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

21 years agopa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
John David Anglin [Thu, 12 Dec 2002 02:44:02 +0000 (02:44 +0000)]
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

21 years ago* doc/invoke.texi: Correct dump file names.
Kazu Hirata [Thu, 12 Dec 2002 02:07:46 +0000 (02:07 +0000)]
* doc/invoke.texi: Correct dump file names.

From-SVN: r60055

21 years ago* java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
Tom Tromey [Thu, 12 Dec 2002 00:58:39 +0000 (00:58 +0000)]
* java/lang/ClassLoader.java (findLoadedClass): Now synchronized.

From-SVN: r60053

21 years agore PR libstdc++/8887 (locale)
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

21 years agoia64.c (ia64_hpux_asm_file_end): Don't send stripped name to globalize_label or assem...
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

21 years agosh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS if not TARGET_SHMEDIA.
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

21 years agoClassLoader.java (loadedClasses): New field.
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

21 years agosh.h (REG_CLASS_HAS_GENERAL_REG): New.
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

21 years agotree.h (MODULE_LOCAL_P): Kill.
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

21 years ago* config/h8300/h8300.md (two define_peephole2): New.
Kazu Hirata [Wed, 11 Dec 2002 13:27:29 +0000 (13:27 +0000)]
* config/h8300/h8300.md (two define_peephole2): New.

From-SVN: r60036

21 years agoh8300.h (CONST_OK_FOR_J): Remove.
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

21 years agoDaily bump.
GCC Administrator [Wed, 11 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60030

21 years agoc-common.c (builtin_define_type_max): Handle unsigned types too.
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

21 years agoMakefile.in: Rebuilt.
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

21 years agoURLClassLoader.java (getCanonicalFileURL): New method.
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

21 years agore PR c++/8372 (ICE on explicit call of destructor)
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

21 years ago* cp-tree.h: get rid of needs_virtual_reinit bit.
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

21 years agowin32.h: Fixed typo in "DISABLE_JAVA_NET".
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

21 years agore PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")
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

21 years agoAdd support for darwin linker options.
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

21 years agoFix PPC32 SVR4 ABI bug with 128-bit long double.
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

21 years agocxxabi.h (__cxa_bad_cast): Declare it.
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

21 years agocse.c (cse_insn): Don't cse past a basic block boundary.
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

21 years agomemconst.C: Use old-deja, not dg, error markers.
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

21 years ago* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
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

21 years agolinux.h (LIB_SPEC): If -pthread, add -lpthread even if -shared.
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

21 years agoDaily bump.
GCC Administrator [Tue, 10 Dec 2002 08:17:19 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59990

21 years ago* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
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

21 years agore PR c++/8153 (ICE with static const member in class)
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

21 years ago* doc/invoke.texi: Document UltraSparc III option.
Larin Hennessy [Tue, 10 Dec 2002 02:01:29 +0000 (02:01 +0000)]
* doc/invoke.texi: Document UltraSparc III option.

From-SVN: r59977

21 years agowin32.h (_Jv_platform_solib_prefix): New define.
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

21 years agonatResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.
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

21 years agoi386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__...
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

21 years agotarget.h (gcc_target): Add cannot_force_const_mem.
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

21 years ago* toplev.c (dump_file): Fix order to match reality.
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

21 years agors6000.md (load_multiple): Use adjust_address_nv.
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

21 years ago* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
Mark Mitchell [Mon, 9 Dec 2002 19:31:33 +0000 (19:31 +0000)]
* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.

From-SVN: r59965

21 years agofptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize function pointers...
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

21 years agohpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove definition
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

21 years agotm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
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

21 years agoDaily bump.
GCC Administrator [Mon, 9 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59961

21 years agoconfig.sub: Import from master repository
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

21 years agoTest for PR libgcj/8823:
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

21 years agoconpr-2.C: Expect failure on solaris2.
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

21 years agoConnection.java (getJarFile): download and cache remote jar files.
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

21 years agoResourceBundle.java (resourceBundleCache): Not final.
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

21 years agoi386.c (ix86_expand_int_movcc): Use force_operand instead of constructing insn directly.
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

21 years agoDaily bump.
GCC Administrator [Sun, 8 Dec 2002 08:17:08 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59935

21 years agoNew test.
Gabriel Dos Reis [Sat, 7 Dec 2002 18:39:05 +0000 (18:39 +0000)]
New test.

From-SVN: r59920

21 years agoDaily bump.
GCC Administrator [Sat, 7 Dec 2002 08:17:27 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59910

21 years ago* config/h8300/h8300.md (*iorhi_shift_8): New.
Kazu Hirata [Sat, 7 Dec 2002 05:44:44 +0000 (05:44 +0000)]
* config/h8300/h8300.md (*iorhi_shift_8): New.

From-SVN: r59904

21 years agoFix errors in last change
Bernd Schmidt [Sat, 7 Dec 2002 02:31:34 +0000 (02:31 +0000)]
Fix errors in last change

From-SVN: r59903

21 years agoInetAddress.java (toString): Use hostname when not null, don't do an explicit reverse...
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

21 years agoFRV docs
Bernd Schmidt [Fri, 6 Dec 2002 23:54:41 +0000 (23:54 +0000)]
FRV docs

From-SVN: r59901

21 years agojava-interp.h (class _Jv_InterpMethod): Added JV_MARKOBJ_DECL.
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

21 years agoinstall.texi (Configuration): Improve description of cases where `make distclean...
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

21 years agosh.c (calc_live_regs): Save fpscr only if target has FPU.
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

21 years agoparse.y (source_end_java_method): Remove custom encoding of line numbers for a functi...
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

21 years agosh.c (dump_table): DImode pool constants need only 32 bit alignment.
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

21 years ago* sh.md (movdi_i): Name. Remove inappropriate comment.
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

21 years agobackport: sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
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

21 years agoDaily bump.
GCC Administrator [Fri, 6 Dec 2002 08:17:26 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59887

21 years agoexpr.c (expand_expr): Never modify exp in place.
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

21 years agopa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
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

21 years agoffi.h.in: Added FFI_STDCALL ffi_type enumeration for X86_WIN32.
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

21 years agotree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
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

21 years agocygwin.h (SUBTARGET_PROLOGUE): Replace with PROFILE_HOOK.
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

21 years agospe.h (__ev_mwlufi): Remove.
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

21 years agoabi_check.cc: Add GLIBCPP_3.2.2.
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

21 years ago* error.c (dump_expr): Fix format specifier warning.
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

21 years ago* config/h8300/h8300.md (*andorsi3_shift_8): New.
Kazu Hirata [Thu, 5 Dec 2002 14:54:47 +0000 (14:54 +0000)]
* config/h8300/h8300.md (*andorsi3_shift_8): New.

From-SVN: r59860

21 years agoh8300.c (shift_alg_si): Optimize ashift:HI and lshiftrt:SI by 28, 29, and 30 bits...
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

21 years agonatStackTrace.cc (fillInStackTrace): Throw #ifdef (HAVE_BACKTRACE) around the whole...
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

21 years agoDaily bump.
GCC Administrator [Thu, 5 Dec 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59854

21 years agooverride.java: New file.
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

21 years agoClass.h (_Jv_SetVTableEntries): Updated declaration.
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

21 years agoFixed snafu caused when fixing previous snafu.
Tom Tromey [Thu, 5 Dec 2002 02:23:57 +0000 (02:23 +0000)]
Fixed snafu caused when fixing previous snafu.

From-SVN: r59846

21 years agoh8300.c (h8300_init_once): Do not use loop to implement ashiftrt:HI by 13 bits on...
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

21 years agoFixed ChangeLog patch snafu
Tom Tromey [Thu, 5 Dec 2002 02:22:25 +0000 (02:22 +0000)]
Fixed ChangeLog patch snafu

From-SVN: r59844

21 years ago* java/net/SocketPermission.java (hashCode): Rewrote.
Tom Tromey [Thu, 5 Dec 2002 02:16:29 +0000 (02:16 +0000)]
* java/net/SocketPermission.java (hashCode): Rewrote.

From-SVN: r59843

21 years agofptr.c (__canonicalize_funcptr_for_compare): New file and function.
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

21 years agoIndex: gcc/ChangeLog
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

21 years agoMakefile.in: Rebuilt.
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

21 years ago* MAINTAINERS: Add Christian Ehrhardt under "GNATS only".
Gerald Pfeifer [Thu, 5 Dec 2002 00:30:12 +0000 (01:30 +0100)]
* MAINTAINERS: Add Christian Ehrhardt under "GNATS only".

From-SVN: r59839

21 years ago* config/h8300/h8300.c: Update the comments related to shifts.
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

21 years agomips.md (get_fnaddr): Correct length attribute.
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

21 years agoh8300.md (*extzv_8_8): New.
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