Richard Henderson
5a5c00af7d
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
2002-11-27 12:00:14 -08:00
Ulrich Weigand
67333e84d7
* src/s390/sysv.S (.eh_frame section): Make section read-only.
...
From-SVN: r59574
2002-11-27 16:44:35 +00:00
Richard Sandiford
6331370066
* gcc.dg/bitfld-6.c: New test.
...
From-SVN: r59573
2002-11-27 15:17:31 +00:00
Jan Hubicka
1dc46545cb
* builtins.def (DEF_C99_BUILTIN): Fix.
...
From-SVN: r59571
2002-11-27 13:49:33 +00:00
Andrew Haley
5154b05d15
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
2002-11-27 10:33:56 +00:00
GCC Administrator
a916a6c019
Daily bump.
...
From-SVN: r59567
2002-11-27 08:18:24 +00:00
Hartmut Penner
0f942cae3b
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
2002-11-27 07:18:20 +00:00
Richard Henderson
d5c4db1738
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
2002-11-26 22:32:13 -08:00
Richard Henderson
25fdb4dc97
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
2002-11-26 22:13:23 -08:00
Tom Tromey
02077425b7
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
2002-11-27 05:59:39 +00:00
Kazu Hirata
920e86b8da
h8300.c: Adjust spacing.
...
* config/h8300/h8300.c: Adjust spacing.
* config/h8300/h8300.h: Likewise.
From-SVN: r59557
2002-11-27 03:46:50 +00:00
Richard Henderson
7b1bd3c534
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
2002-11-26 18:47:44 -08:00
John David Anglin
44571d6e46
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
2002-11-27 02:34:15 +00:00
John David Anglin
084a11066f
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
2002-11-27 02:29:12 +00:00
Geoffrey Keating
a16f235752
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
2002-11-27 01:59:43 +00:00
Mark Wielaard
0ef08cc42e
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
2002-11-26 22:48:42 +00:00
Jason Thorpe
5d2fe49338
* config/t-libc-ok: Fix typo.
...
From-SVN: r59545
2002-11-26 22:47:18 +00:00
Jim Wilson
bc3cf76072
Fix Portable .NET bug with IA-64 pointer size.
...
* src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
From-SVN: r59541
2002-11-26 14:24:05 -08:00
Andreas Tobler
32e098dd98
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
2002-11-26 20:09:28 +00:00
Jakub Jelinek
13c22933ff
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
2002-11-26 21:08:08 +01:00
Mark Mitchell
6b5aa5d056
* g++.dg/abi/empty10.C: Don't run on non-x86 targets.
...
From-SVN: r59529
2002-11-26 19:37:45 +00:00
Nathan Sidwell
688f66887f
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
2002-11-26 17:40:56 +00:00
Nathan Sidwell
5326cd3d22
* c-decl.c: (start_struct): Commonize flag setting.
...
From-SVN: r59527
2002-11-26 17:36:14 +00:00
Hartmut Penner
0412a4d4d7
Mention all function changed.
...
From-SVN: r59519
2002-11-26 15:50:51 +00:00
Jason Thorpe
647d340d4b
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
2002-11-26 15:46:40 +00:00
Hartmut Penner
29742ba4f4
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
2002-11-26 15:26:40 +00:00
Jakub Jelinek
f411159305
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
2002-11-26 13:36:09 +01:00
Jakub Jelinek
96d0f4dc5c
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
2002-11-26 13:34:25 +01:00
GCC Administrator
db4d71292f
Daily bump.
...
From-SVN: r59505
2002-11-26 08:19:05 +00:00
Mark Mitchell
29fae15c80
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
2002-11-26 08:11:33 +00:00
Aldy Hernandez
020a7b12f8
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
2002-11-26 07:28:02 +00:00
Mark Mitchell
2003cd3794
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
2002-11-26 07:20:13 +00:00
Tom Tromey
cbad89c4e2
* verify.cc (type::compatible): Backed out broken change.
...
From-SVN: r59496
2002-11-26 07:15:53 +00:00
Douglas B Rupp
d2dff06bdb
* gcc.c (do_spec_1): Reset delete_this_arg to zero.
...
From-SVN: r59495
2002-11-26 07:03:49 +00:00
Tom Tromey
b0fbe966b1
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
2002-11-26 06:51:14 +00:00
Jason Thorpe
32f0ffb380
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
2002-11-26 04:54:50 +00:00
Dave Pitts
160f9a4c92
add i370-*-openedition to bypass fixinc list
...
From-SVN: r59490
2002-11-26 02:23:06 +00:00
Kazu Hirata
3c0f538988
* config/h8300/h8300.md (an anonymous pattern): New.
...
From-SVN: r59489
2002-11-26 02:08:49 +00:00
Benjamin Kosnik
8ecab601c3
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
2002-11-26 01:37:50 +00:00
Paolo Carlini
b1455c558e
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
2002-11-26 01:22:13 +00:00
Stephen M. Webb
162c7cd92d
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
2002-11-26 00:53:12 +00:00
Richard Henderson
83bbd9b6c0
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
2002-11-25 16:51:17 -08:00
Kaz Kojima
cc5baa8634
MAINTAINERS (Write After Approval): Remove myself.
...
* MAINTAINERS (Write After Approval): Remove myself.
(OS Port Maintainers: sh-linux-gnu): Add myself.
From-SVN: r59482
2002-11-26 00:47:58 +00:00
Jason Thorpe
7c64a86005
[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
2002-11-26 00:36:19 +00:00
Jason Thorpe
152a5a9c94
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
2002-11-26 00:31:31 +00:00
Jason Thorpe
a4967b8db1
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
2002-11-26 00:05:07 +00:00
Mark Mitchell
c4f6640537
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
2002-11-25 23:17:31 +00:00
Kazu Hirata
a91dce31a5
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
2002-11-25 20:43:04 +00:00
Aldy Hernandez
5ddd137f23
* config/rs6000/spe.md: Same for patterns.
...
From-SVN: r59469
2002-11-25 19:40:28 +00:00
Aldy Hernandez
fe29a4ea4b
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
2002-11-25 19:40:01 +00:00