platform/upstream/gcc.git
21 years agoexcept.c (default_exception_section): Move variable into the scope where it is used.
Kaveh R. Ghazi [Thu, 28 Nov 2002 02:10:46 +0000 (02:10 +0000)]
except.c (default_exception_section): Move variable into the scope where it is used.

* except.c (default_exception_section): Move variable into the
scope where it is used.

From-SVN: r59593

21 years agoconfig.gcc (*-*-netbsd[2-9]*, [...]): Test for correct version.
Krister Walfridsson [Thu, 28 Nov 2002 00:09:54 +0000 (01:09 +0100)]
config.gcc (*-*-netbsd[2-9]*, [...]): Test for correct version.

2002-11-27  Krister Walfridsson  <cato@df.lth.se>

* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
correct version.

From-SVN: r59592

21 years ago* config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
Kazu Hirata [Wed, 27 Nov 2002 22:41:36 +0000 (22:41 +0000)]
* config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.

From-SVN: r59591

21 years agoLocale.java (toString): Improve efficiency if country and variant are both empty.
Julian Dolby [Wed, 27 Nov 2002 22:41:07 +0000 (22:41 +0000)]
Locale.java (toString): Improve efficiency if country and variant are both empty.

2002-11-27  Julian Dolby  <dolby@us.ibm.com>

* java/util/Locale.java (toString): Improve efficiency if country
and variant are both empty.

From-SVN: r59590

21 years agoh8300.c (h8300_shift_costs): New.
Kazu Hirata [Wed, 27 Nov 2002 22:21:11 +0000 (22:21 +0000)]
h8300.c (h8300_shift_costs): New.

* config/h8300/h8300.c (h8300_shift_costs): New.
* config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
* config/h8300/h8300-protos.h: Add a prototype for
h8300_shift_costs.

From-SVN: r59588

21 years ago- Fix typo in rs6000_output_load_multiple commit.
David Edelsohn [Wed, 27 Nov 2002 22:14:14 +0000 (17:14 -0500)]
- Fix typo in rs6000_output_load_multiple commit.

From-SVN: r59587

21 years agospe.md (spu_evsplatfi, [...]): Swap operands in output template.
Jim Wilson [Wed, 27 Nov 2002 20:58:37 +0000 (20:58 +0000)]
spe.md (spu_evsplatfi, [...]): Swap operands in output template.

2002-11-22  Jim Wilson  <wilson@redhat.com>

        * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
        in output template.

From-SVN: r59584

21 years agoclass.c (build_base_field): Make sure we get the canonical base when descending throu...
Mark Mitchell [Wed, 27 Nov 2002 20:44:16 +0000 (20:44 +0000)]
class.c (build_base_field): Make sure we get the canonical base when descending through primary bases.

* class.c (build_base_field): Make sure we get the canonical base
when descending through primary bases.

From-SVN: r59582

21 years agoi386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
Casper S. Hornstrup [Wed, 27 Nov 2002 20:04:16 +0000 (12:04 -0800)]
i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.

        * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
        * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
        DLL_IMPORT_EXPORT_PREFIX, not '@'.
        (i386_pe_dllimport_name_p): Likewise.
        (i386_pe_mark_dllexport): Likewise.
        (i386_pe_mark_dllimport): Likewise.
        (i386_pe_encode_section_info): Likewise.
        (i386_pe_strip_name_encoding): Likewise.

From-SVN: r59580

21 years agomkmap-symver.awk (BEGIN): Set sawsymbol false.
Richard Henderson [Wed, 27 Nov 2002 20:00:14 +0000 (12:00 -0800)]
mkmap-symver.awk (BEGIN): Set sawsymbol false.

        * mkmap-symver.awk (BEGIN): Set sawsymbol false.
        (nm && NF == 3): Set sawsymbol true.
        (END): Exit if no symbols seen.
        (output): Fix map syntax error if no globals for the version.

From-SVN: r59578

21 years ago* src/s390/sysv.S (.eh_frame section): Make section read-only.
Ulrich Weigand [Wed, 27 Nov 2002 16:44:35 +0000 (16:44 +0000)]
* src/s390/sysv.S (.eh_frame section): Make section read-only.

From-SVN: r59574

21 years ago* gcc.dg/bitfld-6.c: New test.
Richard Sandiford [Wed, 27 Nov 2002 15:17:31 +0000 (15:17 +0000)]
* gcc.dg/bitfld-6.c: New test.

From-SVN: r59573

21 years ago* builtins.def (DEF_C99_BUILTIN): Fix.
Jan Hubicka [Wed, 27 Nov 2002 13:49:33 +0000 (14:49 +0100)]
* builtins.def (DEF_C99_BUILTIN): Fix.

From-SVN: r59571

21 years agounwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename from_Unwind_Find_Enclosing_Func...
Andrew Haley [Wed, 27 Nov 2002 10:33:56 +0000 (10:33 +0000)]
unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename from_Unwind_Find_Enclosing_Function.

2002-11-26  Andrew Haley  <aph@redhat.com>

        * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
        from_Unwind_Find_Enclosing_Function.
        * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
        * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
        * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
        _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
        * unwind.h (_Unwind_FindEnclosingFunction): Add.

From-SVN: r59568

21 years agoDaily bump.
GCC Administrator [Wed, 27 Nov 2002 08:18:24 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r59567

21 years agos390.c (390_output_constant_pool): Set alignment before label in 64 bit mode, behind...
Hartmut Penner [Wed, 27 Nov 2002 07:18:20 +0000 (07:18 +0000)]
s390.c (390_output_constant_pool): Set alignment before label in 64 bit mode, behind otherwise.

        * config/s390/s390.c (390_output_constant_pool): Set alignment
         before label in 64 bit mode, behind otherwise.

From-SVN: r59561

21 years agoc-common.c (handle_visibility_attribute): Accept "default".
Richard Henderson [Wed, 27 Nov 2002 06:32:13 +0000 (22:32 -0800)]
c-common.c (handle_visibility_attribute): Accept "default".

* c-common.c (handle_visibility_attribute): Accept "default".
* tree.h (enum symbol_visibility): New.
(decl_visibility): Declare.
* target.h (gcc_target.visibility): Take visibility arg as integer.
* varasm.c (default_assemble_visibility): Likewise.
(decl_visibility): New.
(maybe_assemble_visibility): Use it.
* output.h (default_assemble_visibility): Update prototype.
* config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
visibility arg as integer.
* doc/extend.texi: Document default visibility.

From-SVN: r59560

21 years agoc-common.c (handle_visibility_attribute): Accept "default".
Richard Henderson [Wed, 27 Nov 2002 06:13:23 +0000 (22:13 -0800)]
c-common.c (handle_visibility_attribute): Accept "default".

* c-common.c (handle_visibility_attribute): Accept "default".
* tree.h (enum symbol_visibility): New.
(decl_visibility): Declare.
* target.h (gcc_target.visibility): Take visibility arg as integer.
* varasm.c (default_assemble_visibility): Likewise.
(decl_visibility): New.
(maybe_assemble_visibility): Use it.
* output.h (default_assemble_visibility): Update prototype.
* config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
visibility arg as integer.

From-SVN: r59559

21 years agoverify.cc (pop_init_ref): New method.
Tom Tromey [Wed, 27 Nov 2002 05:59:39 +0000 (05:59 +0000)]
verify.cc (pop_init_ref): New method.

* verify.cc (pop_init_ref): New method.
(verify_instructions_0) [op_iaload, op_laload, op_faload,
op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
op_instanceof, op_monitorenter, op_monitorexit]: Use it.
(verify_instructions_0) [op_invokevirtual, op_invokespecial,
op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
let `this' argument be uninitialized.  Don't let `null' be passed
as `this' to construtor.

From-SVN: r59558

21 years agoh8300.c: Adjust spacing.
Kazu Hirata [Wed, 27 Nov 2002 03:46:50 +0000 (03:46 +0000)]
h8300.c: Adjust spacing.

* config/h8300/h8300.c: Adjust spacing.
* config/h8300/h8300.h: Likewise.

From-SVN: r59557

21 years agohooks.c (hook_bool_void_false, [...]): Rename so that the return type is first.
Richard Henderson [Wed, 27 Nov 2002 02:47:44 +0000 (18:47 -0800)]
hooks.c (hook_bool_void_false, [...]): Rename so that the return type is first.

        * hooks.c (hook_bool_void_false, hook_void_tree_int,
        hook_void_FILEptr_constcharptr): Rename so that the return
        type is first.
        (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
        hook_bool_tree_false): New.
        * hooks.h: Update.
        * langhooks-def.h: Update for renames.
        * target-def.h: Likewise.
        * tree.c (default_comp_type_attributes,
        default_set_default_type_attributes, default_insert_attributes,
        default_function_attribute_inlinable_p,
        default_ms_bitfield_layout_p): Remove.
        * tree.h: Update.

From-SVN: r59556

21 years agopa-protos.h (function_value): New prototype.
John David Anglin [Wed, 27 Nov 2002 02:34:15 +0000 (02:34 +0000)]
pa-protos.h (function_value): New prototype.

* pa-protos.h (function_value): New prototype.
* pa.c (function_value): Use a PARALLEL to return small aggregates on
TARGET_64BIT.
* pa.h (FUNCTION_VALUE): Use function_value.
* pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
call_value_internal_reg, sibcall_value_internal_symref,
sibcall_value_internal_symref_64bit): Remove =rf constraint on return
value.

From-SVN: r59555

21 years agoexpr.c (gen_group_rtx, [...]): New functions.
John David Anglin [Wed, 27 Nov 2002 02:29:12 +0000 (02:29 +0000)]
expr.c (gen_group_rtx, [...]): New functions.

* expr.c (gen_group_rtx, emit_group_move): New functions.
* expr.h (gen_group_rtx, emit_group_move): Prototype.
* function.c (expand_function_start): Use gen_group_rtx to create a
PARALLEL rtx to hold the return value when the real return rtx is a
PARALLEL.
(expand_function_end): Use emit_group_move to move the return value
from a PARALLEL to the real return registers.
* rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
in PARALLELs.

From-SVN: r59554

21 years agoIndex: cp/ChangeLog
Geoffrey Keating [Wed, 27 Nov 2002 01:59:43 +0000 (01:59 +0000)]
Index: cp/ChangeLog
2002-11-26  Geoffrey Keating  <geoffk@apple.com>

* decl.c (check_initializer): Don't error on initialisation of
a scalar with a brace-enclosed expression.

Index: testsuite/ChangeLog
2002-11-26  Geoffrey Keating  <geoffk@apple.com>

* g++.dg/init/brace2.C: New test.
* g++.old-deja/g++.mike/p9129.C: Correct.

From-SVN: r59553

21 years agoHeuristicCommitException.java: Classpath merge.
Mark Wielaard [Tue, 26 Nov 2002 22:48:42 +0000 (22:48 +0000)]
HeuristicCommitException.java: Classpath merge.

        * javax/transaction/HeuristicCommitException.java: Classpath merge.
        * javax/transaction/HeuristicMixedException.java: Likewise.
        * javax/transaction/HeuristicRollbackException.java: Likewise.
        * javax/transaction/InvalidTransactionException.java: Likewise.
        * javax/transaction/NotSupportedException.java: Likewise.
        * javax/transaction/RollbackException.java: Likewise.
        * javax/transaction/Status.java: Likewise.
        * javax/transaction/Synchronization.java: Likewise.
        * javax/transaction/SystemException.java: Likewise.
        * javax/transaction/Transaction.java: Likewise.
        * javax/transaction/TransactionManager.java: Likewise.
        * javax/transaction/TransactionRequiredException.java: Likewise.
        * javax/transaction/TransactionRolledbackException.java: Likewise.
        * javax/transaction/UserTransaction.java: Likewise.
        * javax/transaction/xa/XAException.java: Likewise.
        * javax/transaction/xa/XAResource.java: Likewise.
        * javax/transaction/xa/Xid.java: Likewise.

From-SVN: r59546

21 years ago* config/t-libc-ok: Fix typo.
Jason Thorpe [Tue, 26 Nov 2002 22:47:18 +0000 (22:47 +0000)]
* config/t-libc-ok: Fix typo.

From-SVN: r59545

21 years agoFix Portable .NET bug with IA-64 pointer size.
Jim Wilson [Tue, 26 Nov 2002 22:24:05 +0000 (22:24 +0000)]
Fix Portable .NET bug with IA-64 pointer size.

* src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.

From-SVN: r59541

21 years agonatPlainDatagramSocketImpl.cc (socklen_t): Don't define.
Andreas Tobler [Tue, 26 Nov 2002 20:09:28 +0000 (21:09 +0100)]
natPlainDatagramSocketImpl.cc (socklen_t): Don't define.

2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>

* java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
define.
* java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
* include/posix.h (socklen_t): Define if not already defined.

From-SVN: r59533

21 years agoconfigure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back before AC_PROG_CC.
Jakub Jelinek [Tue, 26 Nov 2002 20:08:08 +0000 (21:08 +0100)]
configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back before AC_PROG_CC.

* configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
before AC_PROG_CC.
* configure: Rebuilt.

From-SVN: r59532

21 years ago* g++.dg/abi/empty10.C: Don't run on non-x86 targets.
Mark Mitchell [Tue, 26 Nov 2002 19:37:45 +0000 (19:37 +0000)]
* g++.dg/abi/empty10.C: Don't run on non-x86 targets.

From-SVN: r59529

21 years agocp-tree.h (DECL_LANG_FLAG_4): Document more uses.
Nathan Sidwell [Tue, 26 Nov 2002 17:40:56 +0000 (17:40 +0000)]
cp-tree.h (DECL_LANG_FLAG_4): Document more uses.

* cp-tree.h (DECL_LANG_FLAG_4): Document more uses.
(template_parms_equal): Remove prototype.
* typeck.c (buuld_indirect_ref): Reformat.

From-SVN: r59528

21 years ago* c-decl.c: (start_struct): Commonize flag setting.
Nathan Sidwell [Tue, 26 Nov 2002 17:36:14 +0000 (17:36 +0000)]
* c-decl.c: (start_struct): Commonize flag setting.

From-SVN: r59527

21 years agoMention all function changed.
Hartmut Penner [Tue, 26 Nov 2002 15:50:51 +0000 (15:50 +0000)]
Mention all function changed.

From-SVN: r59519

21 years agors6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
Jason Thorpe [Tue, 26 Nov 2002 15:46:40 +0000 (15:46 +0000)]
rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.

* config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
RS6000_CPU_CPP_ENDIAN_BUILTINS.
* config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.

From-SVN: r59518

21 years agos390.md (literal_pool_64, [...]): New insns.
Hartmut Penner [Tue, 26 Nov 2002 15:26:40 +0000 (15:26 +0000)]
s390.md (literal_pool_64, [...]): New insns.

  * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
insns.
* config/s390/s390.c (struct machine_function): Introduction of
struct machine_function.
* config/s390/s390-protos.h (s390_output_constant_pool): Changed
prototype.

From-SVN: r59515

21 years agovarasm.c (output_constant_pool): For pool constants in mergeable section ensure each...
Jakub Jelinek [Tue, 26 Nov 2002 12:36:09 +0000 (13:36 +0100)]
varasm.c (output_constant_pool): For pool constants in mergeable section ensure each constant is padded to...

* varasm.c (output_constant_pool): For pool constants in mergeable
section ensure each constant is padded to multiple of entity size.

From-SVN: r59508

21 years agovarasm.c (default_exception_section): Move to...
Jakub Jelinek [Tue, 26 Nov 2002 12:34:25 +0000 (13:34 +0100)]
varasm.c (default_exception_section): Move to...

* varasm.c (default_exception_section): Move to...
* except.c (default_exception_section): ... here. Make
.gcc_except_table read-only if it is not expected to have any
dynamic relocations and linker handles it.
* dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
if it is not expected to have any dynamic relocations and linker
handles it.
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
when linking read-only and read-write sections together.
* configure, config.in: Rebuilt.
* crtstuff.c (EH_FRAME_SECTION_CONST): Define.
(__EH_FRAME_BEGIN__, __FRAME_END__): Add it.

From-SVN: r59507

21 years agoDaily bump.
GCC Administrator [Tue, 26 Nov 2002 08:19:05 +0000 (08:19 +0000)]
Daily bump.

From-SVN: r59505

21 years agotree.c (cp_build_qualified_type_real): Correct handling of array types.
Mark Mitchell [Tue, 26 Nov 2002 08:11:33 +0000 (08:11 +0000)]
tree.c (cp_build_qualified_type_real): Correct handling of array types.

* tree.c (cp_build_qualified_type_real): Correct handling of
array types.

From-SVN: r59499

21 years agospe.h (__ev_create_sfix32_fs): Change macro into new function.
Aldy Hernandez [Tue, 26 Nov 2002 07:28:02 +0000 (07:28 +0000)]
spe.h (__ev_create_sfix32_fs): Change macro into new function.

2002-11-25  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
        new function.
        (__ev_create_ufix32_fs): Same.
        (__ev_get_sfix32_fs_internal): New.
        (__ev_get_sfix32_fs): Define to use function.
        (__ev_get_ufix32_fs_internal): New.
        (__ev_get_ufix32_fs): Define to use function.
        (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
        (__ev_get_lower_ufix32_fs): Same.
        (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
        (__ev_get_lower_sfix32_fs): Same.
        (__ev_set_sfix32_fs_internal): New.
        (__ev_set_ufix32_fs_internal): New.
        (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
        (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
        (__ev_set_upper_sfix32_fs): Call function.
        (__ev_set_lower_sfix32_fs): Same.
        (__ev_set_upper_ufix32_fs): Same.
        (__ev_set_lower_ufix32_fs): Same.

From-SVN: r59498

21 years agoempty11.C: New test.
Mark Mitchell [Tue, 26 Nov 2002 07:20:13 +0000 (07:20 +0000)]
empty11.C: New test.

* testsuite/g++.dg/abi/empty11.C: New test.
* testsuite/g++.dg/rtti/cv1.C: New test.

* tree.c (cp_build_qualified_type_real): Correct handling of
array types.
* class.c (walk_subobject_offsets): Fix thinko.
(build_base_field): Record offsets of empty bases in primary
virtual bases.
(layout_class_type): Record offsets of empty bases in fields.

From-SVN: r59497

21 years ago* verify.cc (type::compatible): Backed out broken change.
Tom Tromey [Tue, 26 Nov 2002 07:15:53 +0000 (07:15 +0000)]
* verify.cc (type::compatible): Backed out broken change.

From-SVN: r59496

21 years ago* gcc.c (do_spec_1): Reset delete_this_arg to zero.
Douglas B Rupp [Tue, 26 Nov 2002 07:03:49 +0000 (07:03 +0000)]
* gcc.c (do_spec_1): Reset delete_this_arg to zero.

From-SVN: r59495

21 years agoverify.cc (type::compatible): Check initialization status first.
Tom Tromey [Tue, 26 Nov 2002 06:51:14 +0000 (06:51 +0000)]
verify.cc (type::compatible): Check initialization status first.

* verify.cc (type::compatible): Check initialization status
first.
* interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
Don't use NULLCHECK.

From-SVN: r59494

21 years agoelfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
Jason Thorpe [Tue, 26 Nov 2002 04:54:50 +0000 (04:54 +0000)]
elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.

* config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
* config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
* config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
defining.
* config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.

From-SVN: r59493

21 years agoadd i370-*-openedition to bypass fixinc list
Dave Pitts [Tue, 26 Nov 2002 02:23:06 +0000 (02:23 +0000)]
add i370-*-openedition to bypass fixinc list

From-SVN: r59490

21 years ago* config/h8300/h8300.md (an anonymous pattern): New.
Kazu Hirata [Tue, 26 Nov 2002 02:08:49 +0000 (02:08 +0000)]
* config/h8300/h8300.md (an anonymous pattern): New.

From-SVN: r59489

21 years agoabi_check.cc: Add CXXABI_1.2.1 as compatible.
Benjamin Kosnik [Tue, 26 Nov 2002 01:37:50 +0000 (01:37 +0000)]
abi_check.cc: Add CXXABI_1.2.1 as compatible.

2002-11-25  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
* config/linker-map.gnu: Version __cxa_guard_acquire,
__cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.

From-SVN: r59487

21 years agolocalename.cc (locale::_Impl::_Impl(const char*, size_t)): Avoid strtok for thread...
Paolo Carlini [Tue, 26 Nov 2002 01:22:13 +0000 (02:22 +0100)]
localename.cc (locale::_Impl::_Impl(const char*, size_t)): Avoid strtok for thread safety.

2002-11-25  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>

* src/localename.cc
(locale::_Impl::_Impl(const char*, size_t)):
Avoid strtok for thread safety.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r59486

21 years agotestsuite_allocator.h: New file.
Stephen M. Webb [Tue, 26 Nov 2002 00:53:12 +0000 (00:53 +0000)]
testsuite_allocator.h: New file.

2002-11-25  Stephen M. Webb  <stephen@bregmasoft.com>

        * testsuite/testsuite_allocator.h: New file.
        * testsuite/testsuite_allocator.cc: New file.
        * testsuite/Makefile.am: Added testsuite_allocator to test library.
        * testsuite/testsuite_hooks.h: Added more detailed tracker objects
        gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
        * testsuite/testsuite_hooks.cc: Added new static objects definitions.
        * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
        * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
        * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.

From-SVN: r59484

21 years agoalias.c (find_base_value): Use new_reg_base_value if it's live.
Richard Henderson [Tue, 26 Nov 2002 00:51:17 +0000 (16:51 -0800)]
alias.c (find_base_value): Use new_reg_base_value if it's live.

        * alias.c (find_base_value): Use new_reg_base_value if it's live.
        (copying_arguments): Make boolean.

From-SVN: r59483

21 years agoMAINTAINERS (Write After Approval): Remove myself.
Kaz Kojima [Tue, 26 Nov 2002 00:47:58 +0000 (00:47 +0000)]
MAINTAINERS (Write After Approval): Remove myself.

        * MAINTAINERS (Write After Approval): Remove myself.
        (OS Port Maintainers: sh-linux-gnu): Add myself.

From-SVN: r59482

21 years ago[ChangeLog missed with previous commit.]
Jason Thorpe [Tue, 26 Nov 2002 00:36:19 +0000 (00:36 +0000)]
[ChangeLog missed with previous commit.]

* gcc.c (static_spec_functions): Add if-exists-else spec
function.
(if_exists_else_spec_function): New function.
* doc/invoke.texi: Document the if-exists-else spec function.

* config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
"%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".

From-SVN: r59481

21 years agogcc.c (static_spec_functions): Add if-exists-else spec function.
Jason Thorpe [Tue, 26 Nov 2002 00:31:31 +0000 (00:31 +0000)]
gcc.c (static_spec_functions): Add if-exists-else spec function.

* gcc.c (static_spec_functions): Add if-exists-else spec
function.
(if_exists_else_spec_function): New function.
* doc/invoke.texi: Document the if-exists-else spec function.

* config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
"%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".

From-SVN: r59480

21 years agoconfig.gcc (powerpc-*-netbsd*): Replace "svr4.h" with "netbsd.h netbsd-elf.h" in...
Jason Thorpe [Tue, 26 Nov 2002 00:05:07 +0000 (00:05 +0000)]
config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with "netbsd.h netbsd-elf.h" in tm_file.

* config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
"netbsd.h netbsd-elf.h" in tm_file.  Set tmake_file to
"${tmake_file} rs6000/t-netbsd".
* config/rs6000/netbsd.h: Rewrite.
* config/rs6000/t-netbsd: New file.

From-SVN: r59479

21 years agoMakefile.am (sources): Add guard.cc.
Mark Mitchell [Mon, 25 Nov 2002 23:17:31 +0000 (23:17 +0000)]
Makefile.am (sources): Add guard.cc.

* libsupc++/Makefile.am (sources): Add guard.cc.
* libsupc++/Makefile.in: Regenerated.
* libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
(__cxa_guard_release): Likewise.
(__cxa_guard_abort): Likewise.
* libsupc++/guard.cc: New file.

From-SVN: r59475

21 years agoh8300.md (an anonymous pattern): Relax the condition for the pattern.
Kazu Hirata [Mon, 25 Nov 2002 20:43:04 +0000 (20:43 +0000)]
h8300.md (an anonymous pattern): Relax the condition for the pattern.

* config/h8300/h8300.md (an anonymous pattern): Relax the
condition for the pattern.

From-SVN: r59470

21 years ago* config/rs6000/spe.md: Same for patterns.
Aldy Hernandez [Mon, 25 Nov 2002 19:40:28 +0000 (19:40 +0000)]
* config/rs6000/spe.md: Same for patterns.

From-SVN: r59469

21 years agors6000.h (enum rs6000_builtins): Remove evmwlssf...
Aldy Hernandez [Mon, 25 Nov 2002 19:40:01 +0000 (19:40 +0000)]
rs6000.h (enum rs6000_builtins): Remove evmwlssf...

2002-11-25  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
evmwlssfanw, evmwlsmfanw.

* config/rs6000/rs6000.c (bdesc_2arg): Same.

* config/rs6000/spe.md: Same for patterns.

From-SVN: r59468

21 years agore PR c/8639 (simple integer arithmetic expression broken)
Christian Ehrhardt [Mon, 25 Nov 2002 19:04:57 +0000 (19:04 +0000)]
re PR c/8639 (simple integer arithmetic expression broken)

        PR c/8639
        * fold-const.c (extract_muldiv): Don't propagate division unless
        both arguments are multiples of C.
* gcc.c-torture/execute/20021119-1.c: New.

From-SVN: r59466

21 years agostd_complex.h (operator<<(basic_ostream&, const complex&)): Prefer 'x' to "x" for...
Wolfgang Bangerth [Mon, 25 Nov 2002 19:01:55 +0000 (19:01 +0000)]
std_complex.h (operator<<(basic_ostream&, const complex&)): Prefer 'x' to "x" for efficiency sake.

2002-11-25  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>

* include/std/std_complex.h
(operator<<(basic_ostream&, const complex&)): Prefer 'x'
to "x" for efficiency sake.
* src/locale.cc (locale::locale(const char*)): Ditto.

From-SVN: r59465

21 years agolibgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
Andrew Haley [Mon, 25 Nov 2002 17:20:10 +0000 (17:20 +0000)]
libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.

2002-11-25  Andrew Haley  <aph@redhat.com>

        * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
        * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
        * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
        * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.

From-SVN: r59460

21 years agojcf-reader.c: Don't expand JCF_readu4 inside the expansion of JCF_SKIP.
Diego Novillo [Mon, 25 Nov 2002 14:22:06 +0000 (14:22 +0000)]
jcf-reader.c: Don't expand JCF_readu4 inside the expansion of JCF_SKIP.

* jcf-reader.c: Don't expand JCF_readu4 inside the
expansion of JCF_SKIP.

From-SVN: r59459

21 years agosearch.c (is_subobject_of_p_1): Fix thinko.
Mark Mitchell [Mon, 25 Nov 2002 09:25:31 +0000 (09:25 +0000)]
search.c (is_subobject_of_p_1): Fix thinko.

* search.c (is_subobject_of_p_1): Fix thinko.
(lookup_field_queue_p): Likewise.

From-SVN: r59455

21 years agoDaily bump.
GCC Administrator [Mon, 25 Nov 2002 08:17:14 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59454

21 years ago* lib/prune.exp: Prune more -fpic/-fPIC warnings.
Hans-Peter Nilsson [Mon, 25 Nov 2002 00:58:16 +0000 (00:58 +0000)]
* lib/prune.exp: Prune more -fpic/-fPIC warnings.

From-SVN: r59446

21 years agoh8300.c (h8300_init_once): Fix a typo in the target help message.
Kazu Hirata [Mon, 25 Nov 2002 00:27:13 +0000 (00:27 +0000)]
h8300.c (h8300_init_once): Fix a typo in the target help message.

* config/h8300/h8300.c (h8300_init_once): Fix a typo in the
target help message.

From-SVN: r59445

21 years agoconfig.gcc (*-*-netbsd*1.[7-9]*, [...]): Set extra_parts to "crtbegin.o crtend.o...
Jason Thorpe [Sun, 24 Nov 2002 23:36:26 +0000 (23:36 +0000)]
config.gcc (*-*-netbsd*1.[7-9]*, [...]): Set extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o".

* config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
crtbeginT.o".
(arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
(ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
to "" for a.out configurations.
* config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".

From-SVN: r59444

21 years agoclass.c (layout_class_type): Reuse tail padding when laying out virtual bases.
Mark Mitchell [Sun, 24 Nov 2002 23:26:13 +0000 (23:26 +0000)]
class.c (layout_class_type): Reuse tail padding when laying out virtual bases.

* class.c (layout_class_type): Reuse tail padding when laying out
virtual bases.

* g++.dg/abi/empty10.C: New test.

From-SVN: r59443

21 years agonetbsd.h (CPP_SUBTARGET_SPEC): Just use NETBSD_CPP_SPEC directly.
Jason Thorpe [Sun, 24 Nov 2002 23:19:19 +0000 (23:19 +0000)]
netbsd.h (CPP_SUBTARGET_SPEC): Just use NETBSD_CPP_SPEC directly.

* config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
NETBSD_CPP_SPEC directly.
(SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec.  Add
netbsd_endfile_spec.
(ENDFILE_SPEC): Use %(netbsd_endfile_spec).

From-SVN: r59442

21 years ago* gcc.c-torture/compile/20021124-1.c: New test.
Eric Botcazou [Sun, 24 Nov 2002 22:20:42 +0000 (22:20 +0000)]
* gcc.c-torture/compile/20021124-1.c: New test.

From-SVN: r59441

21 years agonetbsd-elf.h (STARTFILE_SPEC): Rename to NETBSD_STARTFILE_SPEC.
Jason Thorpe [Sun, 24 Nov 2002 21:17:04 +0000 (21:17 +0000)]
netbsd-elf.h (STARTFILE_SPEC): Rename to NETBSD_STARTFILE_SPEC.

* config/netbsd-elf.h (STARTFILE_SPEC): Rename to
NETBSD_STARTFILE_SPEC.
(STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
(ENDFILE_SPEC): Likewise.
* config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.

From-SVN: r59436

21 years agoMakefile.in (install-driver): Remove versioned link before trying to create it.
Andreas Schwab [Sun, 24 Nov 2002 20:43:02 +0000 (20:43 +0000)]
Makefile.in (install-driver): Remove versioned link before trying to create it.

* Makefile.in (install-driver): Remove versioned link before
trying to create it.

From-SVN: r59435

21 years agolocale.cc (locale::locale(const char*)): Trivial cosmetic tweaks.
Paolo Carlini [Sun, 24 Nov 2002 18:48:35 +0000 (19:48 +0100)]
locale.cc (locale::locale(const char*)): Trivial cosmetic tweaks.

2002-11-24  Paolo Carlini  <pcarlini@unitus.it>

* src/locale.cc (locale::locale(const char*)):
Trivial cosmetic tweaks.

From-SVN: r59433

21 years agom68k.c: Fix typo in last change defining TARGET_ASM_CAN_OUTPUT_MI_THUNK.
Andreas Schwab [Sun, 24 Nov 2002 18:32:01 +0000 (18:32 +0000)]
m68k.c: Fix typo in last change defining TARGET_ASM_CAN_OUTPUT_MI_THUNK.

* config/m68k/m68k.c: Fix typo in last change defining
TARGET_ASM_CAN_OUTPUT_MI_THUNK.

From-SVN: r59432

21 years agoh8300.c (print_operand): Update the use of h8300_tiny_constant_address_p.
Kazu Hirata [Sun, 24 Nov 2002 13:17:11 +0000 (13:17 +0000)]
h8300.c (print_operand): Update the use of h8300_tiny_constant_address_p.

* config/h8300/h8300.c (print_operand): Update the use of
h8300_tiny_constant_address_p.
(h8300_adjust_insn_length): Likewise.
(h8300_tiny_constant_address_p): Check if the given rtx is a
variable declared with __attribute__ ((tiny_data)).

From-SVN: r59431

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

From-SVN: r59428

21 years agoEnsure return string is empty before using strcat to construct it.
Nick Clifton [Sun, 24 Nov 2002 08:10:28 +0000 (08:10 +0000)]
Ensure return string is empty before using strcat to construct it.

From-SVN: r59422

21 years ago* libiberty.h (basename): Add NetBSD to the list.
Simon Burge [Sun, 24 Nov 2002 06:54:38 +0000 (06:54 +0000)]
* libiberty.h (basename): Add NetBSD to the list.

From-SVN: r59421

21 years agoAuthenticationException.java: Update copyright header.
Mark Wielaard [Sat, 23 Nov 2002 21:50:41 +0000 (21:50 +0000)]
AuthenticationException.java: Update copyright header.

* javax/naming/AuthenticationException.java: Update copyright header.
* javax/naming/AuthenticationNotSupportedException.java: Likewise.
* javax/naming/Binding.java: Likewise.
* javax/naming/CannotProceedException.java: Likewise.
* javax/naming/CommunicationException.java: Likewise.
* javax/naming/CompositeName.java: Likewise.
* javax/naming/CompoundName.java: Likewise.
* javax/naming/ConfigurationException.java: Likewise.
* javax/naming/Context.java: Likewise.
* javax/naming/ContextNotEmptyException.java: Likewise.
* javax/naming/InitialContext.java: Likewise.
* javax/naming/InsufficientResourcesException.java: Likewise.
* javax/naming/InterruptedNamingException.java: Likewise.
* javax/naming/LimitExceededException.java: Likewise.
* javax/naming/LinkException.java: Likewise.
* javax/naming/LinkLoopException.java: Likewise.
* javax/naming/LinkRef.java: Likewise.
* javax/naming/MalformedLinkException.java: Likewise.
* javax/naming/NameAlreadyBoundException.java: Likewise.
* javax/naming/NameClassPair.java: Likewise.
* javax/naming/NameNotFoundException.java: Likewise.
* javax/naming/NameParser.java: Likewise.
* javax/naming/NamingEnumeration.java: Likewise.
* javax/naming/NamingSecurityException.java: Likewise.
* javax/naming/NoInitialContextException.java: Likewise.
* javax/naming/NoPermissionException.java: Likewise.
* javax/naming/NotContextException.java: Likewise.
* javax/naming/OperationNotSupportedException.java: Likewise.
* javax/naming/PartialResultException.java: Likewise.
* javax/naming/Reference.java: Likewise.
* javax/naming/Referenceable.java: Likewise.
* javax/naming/ReferralException.java: Likewise.
* javax/naming/ServiceUnavailableException.java: Likewise.
* javax/naming/SizeLimitExceededException.java: Likewise.
* javax/naming/TimeLimitExceededException.java: Likewise.
* javax/naming/directory/Attribute.java: Likewise.
* javax/naming/directory/AttributeInUseException.java: Likewise.
* javax/naming/directory/AttributeModificationException.java: Likewise.
* javax/naming/directory/Attributes.java: Likewise.
* javax/naming/directory/BasicAttribute.java: Likewise.
* javax/naming/directory/BasicAttributes.java: Likewise.
* javax/naming/directory/DirContext.java: Likewise.
* javax/naming/directory/InitialDirContext.java: Likewise.
* javax/naming/directory/InvalidAttributeIdentifierException.java:
Likewise.
* javax/naming/directory/InvalidAttributeValueException.java: Likewise.
* javax/naming/directory/InvalidAttributesException.java: Likewise.
* javax/naming/directory/InvalidSearchControlsException.java: Likewise.
* javax/naming/directory/InvalidSearchFilterException.java: Likewise.
* javax/naming/directory/ModificationItem.java: Likewise.
* javax/naming/directory/NoSuchAttributeException.java: Likewise.
* javax/naming/directory/SchemaViolationException.java: Likewise.
* javax/naming/directory/SearchControls.java: Likewise.
* javax/naming/directory/SearchResult.java: Likewise.
* javax/naming/event/EventContext.java: Likewise.
* javax/naming/event/EventDirContext.java: Likewise.
* javax/naming/event/NamespaceChangeListener.java: Likewise.
* javax/naming/event/NamingEvent.java: Likewise.
* javax/naming/event/NamingExceptionEvent.java: Likewise.
* javax/naming/event/NamingListener.java: Likewise.
* javax/naming/event/ObjectChangeListener.java: Likewise.
* javax/naming/ldap/Control.java: Likewise.
* javax/naming/ldap/ControlFactory.java: Likewise.
* javax/naming/ldap/ExtendedRequest.java: Likewise.
* javax/naming/ldap/ExtendedResponse.java: Likewise.
* javax/naming/ldap/HasControls.java: Likewise.
* javax/naming/ldap/InitialLdapContext.java: Likewise.
* javax/naming/ldap/LdapContext.java: Likewise.
* javax/naming/ldap/LdapReferralException.java: Likewise.
* javax/naming/ldap/UnsolicitedNotification.java: Likewise.
* javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
* javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
* javax/naming/spi/DirObjectFactory.java: Likewise.
* javax/naming/spi/DirStateFactory.java: Likewise.
* javax/naming/spi/DirectoryManager.java: Likewise.
* javax/naming/spi/InitialContextFactory.java: Likewise.
* javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
* javax/naming/spi/NamingManager.java: Likewise.
* javax/naming/spi/ObjectFactory.java: Likewise.
* javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
* javax/naming/spi/ResolveResult.java: Likewise.
* javax/naming/spi/Resolver.java: Likewise.
* javax/naming/spi/StateFactory.java: Likewise.

* javax/naming/spi/NamingManager.java (ofb): Package private.

From-SVN: r59417

21 years agoDaily bump.
GCC Administrator [Sat, 23 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59408

21 years agotoplev.c (rest_of_compilation): Fix comments.
Dale Johannesen [Sat, 23 Nov 2002 02:07:13 +0000 (02:07 +0000)]
toplev.c (rest_of_compilation): Fix comments.

2002-11-22  Dale Johannesen  <dalej@apple.com>

        * toplev.c (rest_of_compilation):  Fix comments.

From-SVN: r59397

21 years agoaclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not allow mmap from /dev/zero.
Geoffrey Keating [Sat, 23 Nov 2002 00:20:13 +0000 (00:20 +0000)]
aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not allow mmap from /dev/zero.

* aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
allow mmap from /dev/zero.  Don't make decisions for the host
based on presence or absence of /dev/zero on the build machine.
(ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
(AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
* configure: Regenerate.

From-SVN: r59394

21 years agortti2.C: New test.
Mark Mitchell [Fri, 22 Nov 2002 23:19:17 +0000 (23:19 +0000)]
rtti2.C: New test.

* g++.dg/abi/rtti2.C: New test.

* rtti.c (qualifier_flags): Fix thinko.

From-SVN: r59391

21 years agore PR java/8676 (ICE in generate_bytecode_conditional at jcf-write.c:1359)
Tom Tromey [Fri, 22 Nov 2002 21:49:06 +0000 (21:49 +0000)]
re PR java/8676 (ICE in generate_bytecode_conditional at jcf-write.c:1359)

* parse.y (patch_binop): Cast right hand side of shift expression
to `int'.  Fixes PR java/8676.

From-SVN: r59390

21 years agojcf-write.c (write_classfile): Remove target class file...
Ranjit Mathew [Fri, 22 Nov 2002 21:01:24 +0000 (21:01 +0000)]
jcf-write.c (write_classfile): Remove target class file...

2002-11-22  Ranjit Mathew <rmathew@hotmail.com>
    Andrew Haley <aph@redhat.com>

* gcc/java/jcf-write.c (write_classfile): Remove target
class file, if it exists, before renaming the temporary
class file to it.

Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r59386

21 years agolibiberty.h (make_relative_prefix): Add prototype.
Daniel Jacobowitz [Fri, 22 Nov 2002 20:01:07 +0000 (20:01 +0000)]
libiberty.h (make_relative_prefix): Add prototype.

include/
* libiberty.h (make_relative_prefix): Add prototype.
libiberty/
* Makefile.in: Add make-relative-prefix.c.
* make-relative-prefix.c: New file.
* functions.texi: Rebuilt.
gcc/
* gcc.c (make_relative_prefix, split_directories)
(free_split_directories): Removed.

From-SVN: r59385

21 years agoconfigure.in: Set insn=nop for DWARF-2 tests on ARM.
Daniel Jacobowitz [Fri, 22 Nov 2002 19:34:21 +0000 (19:34 +0000)]
configure.in: Set insn=nop for DWARF-2 tests on ARM.

* configure.in: Set insn=nop for DWARF-2 tests on ARM.
* configure: Regenerated.

From-SVN: r59383

21 years agore PR libstdc++/8645 (unnecessary non-0 checks in stl_tree.h)
Laszlo Ersek [Fri, 22 Nov 2002 18:53:53 +0000 (19:53 +0100)]
re PR libstdc++/8645 (unnecessary non-0 checks in stl_tree.h)

2002-11-22  Laszlo Ersek  <erseklaszlo@chello.hu>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/8645
* include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
Don't check that __w->_M_left != 0 and __w->_M_right != 0
when they can't be otherwise.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r59381

21 years agoFor PR java/8676:
Tom Tromey [Fri, 22 Nov 2002 16:54:22 +0000 (16:54 +0000)]
For PR java/8676:

* libjava.lang/pr8676.java: New file.
* libjava.lang/pr8676.out: New file.

From-SVN: r59379

21 years agoURL.java: Merge with Classpath (partly).
Mark Wielaard [Fri, 22 Nov 2002 16:48:52 +0000 (16:48 +0000)]
URL.java: Merge with Classpath (partly).

* java/net/URL.java: Merge with Classpath (partly).
* java/net/URLStreamHandler: Merge with Classpath.

From-SVN: r59378

21 years agoh8300.c (compute_a_shift_length): Fix the insn length computation when xor.l is output.
Kazu Hirata [Fri, 22 Nov 2002 14:16:12 +0000 (14:16 +0000)]
h8300.c (compute_a_shift_length): Fix the insn length computation when xor.l is output.

* config/h8300/h8300.c (compute_a_shift_length): Fix the insn
length computation when xor.l is output.

From-SVN: r59376

21 years ago2002-11-22 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 22 Nov 2002 10:27:53 +0000 (10:27 +0000)]
2002-11-22  Michael Koch <konqueror@gmx.de>

* include/posix.h:
(_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
* include/win32.h:
(_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
(backtrace): Moved out of #ifndef DISBALE_JAVA_NET.

From-SVN: r59374

21 years agoDaily bump.
GCC Administrator [Fri, 22 Nov 2002 08:17:23 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59373

21 years agojartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to create extrac...
Ranjit Mathew [Fri, 22 Nov 2002 03:20:24 +0000 (03:20 +0000)]
jartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to create extracted files.

2002-11-21  Ranjit Mathew <rmathew@hotmail.com>

* jartool.c (extract_jar): Use "open" with O_BINARY instead of
"creat" to create extracted files.

From-SVN: r59366

21 years agors6000.c (function_arg): Set inner mode of SPE vectors to SI.
Jim Wilson [Fri, 22 Nov 2002 02:22:13 +0000 (02:22 +0000)]
rs6000.c (function_arg): Set inner mode of SPE vectors to SI.

2002-11-21  Jim Wilson  <wilson@redhat.com>

* config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
vectors to SI.

From-SVN: r59365

21 years agoxtensa-protos.h (xtensa_copy_incoming_a7): Declare.
Bob Wilson [Fri, 22 Nov 2002 00:23:31 +0000 (00:23 +0000)]
xtensa-protos.h (xtensa_copy_incoming_a7): Declare.

        * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
        * config/xtensa/xtensa.c (struct machine_function): Add
        incoming_a7_copied flag.
        (xtensa_copy_incoming_a7): Define.
        (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
        * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.

From-SVN: r59364

21 years agoi386-protos.h (x86_64_sign_extended_value): Fix prototype.
Jan Hubicka [Thu, 21 Nov 2002 22:54:20 +0000 (22:54 +0000)]
i386-protos.h (x86_64_sign_extended_value): Fix prototype.

* i386-protos.h (x86_64_sign_extended_value): Fix prototype.
* i386.c (x86_64_general_operand, x86_64_szext_general_operand,
x86_64_nonmemory_operand, x86_64_movabs_operand,
x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
(local_symbolic_operand): Do not care the 64bit limits.
(x86_64_sign_extended_value): Remove allow_rip support.
(legitimate_pic_address_disp_p): Handle all cases allowed
with RIP addressing.
(legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
(legitimize_pic_address): Reorganize.
* i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.

From-SVN: r59362

21 years ago* gcc.dg/i386-unroll-1.c: New test.
Eric Botcazou [Thu, 21 Nov 2002 22:08:15 +0000 (22:08 +0000)]
* gcc.dg/i386-unroll-1.c: New test.

From-SVN: r59361

21 years agore PR c++/8342 (g++.jason/pmf7.C fails on i586-pc-linux-gnu)
Glen Nakamura [Thu, 21 Nov 2002 21:42:40 +0000 (21:42 +0000)]
re PR c++/8342 (g++.jason/pmf7.C fails on i586-pc-linux-gnu)

PR c++/8342
* typeck.c (get_member_function_from_ptrfunc): Make sure that a
SAVE_EXPR for instance_ptr doesn't get evaluated first inside one
of the branches of a COND_EXPR.

From-SVN: r59360