OSDN Git Service
gccadmin [Mon, 19 Nov 2001 08:16:15 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47166
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 19 Nov 2001 07:08:36 +0000 (07:08 +0000)]
* verify.cc (type::to_array): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_anewarray]:
Construct new array type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47165
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 19 Nov 2001 02:43:32 +0000 (02:43 +0000)]
* mmix.c (mmix_cc1_ignored_option): Const-ify.
(mmix_init_machine_status): Make static to match declaration.
(mmix_unique_section): Const-ify.
(mmix_output_quoted_string): Avoid automatic aggregate
initialization.
(mmix_output_register_setting): Likewise.
(mmix_output_shiftvalue_op_from_str): Likewise.
* mmix.h (mmix_cc1_ignored_option): Const-ify.
(ASM_OUTPUT_BYTE): Fix format specifier warning.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47164
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 19 Nov 2001 02:13:08 +0000 (02:13 +0000)]
* verify.cc (_Jv_BytecodeVerifier::branch_prepass) [op_sipush]:
Skip a short, not a byte.
[op_newarray]: Skip a byte, not a short.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47163
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 19 Nov 2001 01:37:28 +0000 (01:37 +0000)]
* verify.cc (_Jv_BytecodeVerifier::get_type_val_for_signature):
Added `B' case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47162
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 19 Nov 2001 01:04:15 +0000 (01:04 +0000)]
* verify.cc (_Jv_BytecodeVerifier::get_ushort): Use `jint' for
temporary values.
(_Jv_BytecodeVerifier::get_short): Likewise.
(_Jv_BytecodeVerifier::get_int): Likewise.
(_Jv_BytecodeVerifier::check_return_type): Reverse ordering of
`compatible' call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47161
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 19 Nov 2001 00:31:37 +0000 (00:31 +0000)]
* verify.cc (_Jv_BytecodeVerifier::pop_type): Put PC into error
message.
(_Jv_BytecodeVerifier::pop64): Likewise.
(_Jv_BytecodeVerifier::pop32): Likewise.
(_Jv_BytecodeVerifier::pop_raw): Likewise.
(_Jv_BytecodeVerifier::pop_type): Promote the match type.
(type::set_initialized): Only modify uninitialized types.
(type::set_uninitialized): Fix shadowing bug. Simplify code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47158
138bc75d-0d04-0410-961f-
82ee72b054a4
rodrigc [Mon, 19 Nov 2001 00:24:52 +0000 (00:24 +0000)]
2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR c/4448
* gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
name __objc_thread_exit_status so that it matches the
variable defined in objc/thr.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47157
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 19 Nov 2001 00:13:36 +0000 (00:13 +0000)]
Fix for PR java/1401:
* jcf-write.c (generate_bytecode_insns) [binop]: Handle case where
arg0 is null.
(generate_bytecode_insns) [MODIFY_EXPR]: Handle `OP=' case
correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47156
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 18 Nov 2001 23:04:28 +0000 (23:04 +0000)]
* verify.cc: Include StringBuffer.h.
(verify_fail): Added pc argument. Use StringBuffer to construct
exception message.
(_Jv_BytecodeVerifier::verify_instructions_0): Put PC into error
message.
(_Jv_BytecodeVerifier::check_return_type): Likewise.
(_Jv_BytecodeVerifier::handle_field_or_method): Likewise.
(_Jv_BytecodeVerifier::check_constant): Likewise.
(_Jv_BytecodeVerifier::check_class_constant): Likewise.
(_Jv_BytecodeVerifier::check_pool_index): Likewise.
(_Jv_BytecodeVerifier::get_variable): Likewise.
(_Jv_BytecodeVerifier::branch_prepass): Likewise. Also, correctly
check exception handler endpoint.
(_Jv_BytecodeVerifier::verify_instructions_0): Correctly handle
wide arguments to current method.
(_Jv_BytecodeVerifier::check_wide_constant): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_ldc2_w]: Use
it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47155
138bc75d-0d04-0410-961f-
82ee72b054a4
rodrigc [Sun, 18 Nov 2001 22:08:32 +0000 (22:08 +0000)]
2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR bootstrap/4020
* mklibgcc.in: Add missing semi-colons.
* Makefile.in: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47154
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Nov 2001 21:44:26 +0000 (21:44 +0000)]
* expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
after re-laying out decl in incomplete case.
(expand_expr, case ADDR_EXPR): Fix typo in copy case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47153
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sun, 18 Nov 2001 20:37:36 +0000 (20:37 +0000)]
2001-11-18 Toon Moene <toon@moene.indiv.nluug.nl>
* Make-lang.in: Remove all references to LANGUAGES
and the stamp files that depend on its value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47152
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 18 Nov 2001 19:46:58 +0000 (19:46 +0000)]
* doc/install-old.texi: Move some sections out to ...
* doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
... here. New files. Make into chapters rather than sections.
* doc/gcc.texi: Include the new files and add menu entries for
them.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47150
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Nov 2001 19:36:01 +0000 (19:36 +0000)]
* tree.h (TYPE_ALIGN_OK): New flag.
* emit-rtl.c (set_mem_attributes): Handle it.
* expr.c (emit_single_push_insn): Only set to alias set 0 if
doing sibcall optimization.
(expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
when make temporary.
(expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
(expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47149
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Nov 2001 19:08:43 +0000 (19:08 +0000)]
* sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47148
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 18 Nov 2001 17:16:24 +0000 (17:16 +0000)]
* c-decl.c (c_decode_option): Give deprecation warning for
-traditional.
* doc/invoke.texi (-traditional): Note that this option is
deprecated.
testsuite:
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/tr-paste.c,
gcc.dg/cpp/tr-str.c: Use -traditional-cpp instead of -traditional.
* gcc.dg/ext-glob.c: Expect -traditional deprecation warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47147
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Nov 2001 12:43:14 +0000 (12:43 +0000)]
* config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
arg to HOST_WIDE_INT, not long.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47146
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Nov 2001 12:35:28 +0000 (12:35 +0000)]
* config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
(HAS_INIT_SECTION): Define.
(REAL_ARITHMETIC): Don't undefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47145
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Sun, 18 Nov 2001 12:06:41 +0000 (12:06 +0000)]
2001-11-18 Egor Duda <deo@logos-m.ru>
* config/i386/cygwin.h: Strip leading '*' from name, if any.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47144
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 18 Nov 2001 11:11:52 +0000 (11:11 +0000)]
* Makefile.in: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47142
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 18 Nov 2001 11:04:53 +0000 (11:04 +0000)]
* Makefile.in (c-parse.o, c-common.o): Update dependencies.
* c-common.c: Include diagnostic.h.
(c_common_finish): New.
* c-common.h (c_common_finish): New.
* c-lang.c (LANG_HOOKS_FINISH): Override.
* c-parse.in: Don't include diagnostic.h.
(finish_parse): Remove.
* langhooks.h: Update comments.
* toplev.c (lang_dependent_init): New prototype.
(finalize): New.
(compile_file): Split cleanup code out to finalize.
(lang_dependent_init): Stop if lang_hooks.init fails.
(toplev_main): Update.
* tree.h (finish_parse): Remove.
ada: * misc.c (gnat_decode_option, gnat_init_options): Make definitions
static too.
(gnat_init): Don't return NULL.
(finish_parse): Remove.
cp: * lex.c (cxx_finish): Call c_common_finish.
(finish_parse): Remove.
f: * com.c (finish_parse): Remove.
(ffe_finish): Move body of finish_parse.
java: * lang.c (finish_parse): Rename to java_finish.
(LANG_HOOKS_FINISH, java_finish): New.
objc: * objc-act.c (LANG_HOOKS_FINISH): Override.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47141
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 18 Nov 2001 08:16:11 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47137
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sun, 18 Nov 2001 06:31:20 +0000 (06:31 +0000)]
* decl.c (create_array_type_for_decl): Check if NAME is NULL_TREE
when displaying error message about missing array bounds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47136
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sun, 18 Nov 2001 06:24:45 +0000 (06:24 +0000)]
* mangle.c (write_expression): Handle CAST_EXPR, STATIC_CAST_EXPR,
CONST_CAST_EXPR.
* operators.def: Add CAST_EXPR, STATIC_CAST_EXPR, CONST_CAST_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47135
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Nov 2001 04:27:50 +0000 (04:27 +0000)]
* config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
* config/alpha/vms_tramp.asm: New file.
* config/alpha/vms-tramp.asm: Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47134
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 18 Nov 2001 03:30:57 +0000 (03:30 +0000)]
* c-common.c (struct disabled_builtin, disabled_builtins,
disable_builtin_function, builtin_function_disabled_p): New.
(builtin_function_2): Check for disabled built-in functions.
* c-common.h (disable_builtin_function): Declare.
* c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
* doc/invoke.texi: Document -fno-builtin-FUNCTION.
* doc/extend.texi: Mention -fno-builtin-FUNCTION.
testsuite:
* gcc.dg/no-builtin-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47133
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 18 Nov 2001 02:09:23 +0000 (02:09 +0000)]
* libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
* libsupc++/unwind-cxx.h: Adjust.
* src/Makefile.am (strstream.o): Pass -Wno-deprecated.
* libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
* libsupc++/cxxabi.h: Declare it.
* libsupc++/Makefile.am (sources): Add it.
* src/vterminate.cc (verbose_terminate_handler): New file.
* libsupc++/exception: Declare it.
* src/Makefile.am (sources): Add it.
* src/Makefile.am (VPATH): Check the src directory before the top one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47132
138bc75d-0d04-0410-961f-
82ee72b054a4
rodrigc [Sun, 18 Nov 2001 01:18:55 +0000 (01:18 +0000)]
2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
* MAINTAINERS (GNATS only accounts): Remove self.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47131
138bc75d-0d04-0410-961f-
82ee72b054a4
rodrigc [Sun, 18 Nov 2001 00:14:52 +0000 (00:14 +0000)]
2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR target/4606
* config.gcc: Remove reference to va-clipper.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47129
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sat, 17 Nov 2001 21:32:22 +0000 (21:32 +0000)]
Obvious jni weak reference fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47128
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Sat, 17 Nov 2001 21:17:53 +0000 (21:17 +0000)]
* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
AltiVec-related bitfields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47127
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 17 Nov 2001 17:33:57 +0000 (17:33 +0000)]
* except.c (enum eh_region_type): Add ERT_UNKNOWN.
(mark_eh_region, case ERT_UKNONW): New case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47123
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sat, 17 Nov 2001 17:25:34 +0000 (17:25 +0000)]
Add extra name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47122
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sat, 17 Nov 2001 17:19:11 +0000 (17:19 +0000)]
* config/i386/cygwin.h: Search target specific include directory for w32api
stuff, if appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47121
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 17 Nov 2001 13:17:03 +0000 (13:17 +0000)]
* config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47118
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Sat, 17 Nov 2001 11:35:08 +0000 (11:35 +0000)]
2001-11-17 Laurent Guerby <guerby@acm.org>
* Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
* gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
* io-aux.c: Provide K&R prototypes to all functions, reformat code.
* lang-spec.h: Add missing struct field to silence warnings.
* sysdep.c (rts_get_*): Provide K&R prototype.
* sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
* traceback.c (Unlock_Task, Lock_Task): Likewise.
* tracebak.c (__gnat_backtrace): Remove unused variable.
* utils.c (end_subprog_body): Move to K&R style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47117
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 17 Nov 2001 08:16:21 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47115
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Sat, 17 Nov 2001 05:46:25 +0000 (05:46 +0000)]
Not all of revision 1.113 made it in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47114
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Sat, 17 Nov 2001 01:19:06 +0000 (01:19 +0000)]
2001-11-16 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md: Change all ldvx to lvx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47113
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 16 Nov 2001 23:39:34 +0000 (23:39 +0000)]
* verify.cc (_Jv_BytecodeVerifier::check_field_constant): Handle
case where field has primitive type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47112
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 16 Nov 2001 22:59:46 +0000 (22:59 +0000)]
* gensupport.c (process_rtx): Don't assume filename is the first
argument of any rtl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47111
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 16 Nov 2001 22:40:21 +0000 (22:40 +0000)]
* vax-protos.h (reg_was_0_p): New prototype.
* vax.md (movsi, movhi, movqi): Use reg_was_0_p.
* vax.c (follows_p, reg_was_0_p): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47110
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 16 Nov 2001 22:24:23 +0000 (22:24 +0000)]
* vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
(casesi1): Likewise. Define new pattern which arises by simplification
when operand 1 is a constant int. Correct pattern which arises by
simplification when operand 1 is zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47109
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 16 Nov 2001 21:54:17 +0000 (21:54 +0000)]
Update test for token pasting to also check "|| defined(ALMOST_STDC)"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47108
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 16 Nov 2001 21:49:25 +0000 (21:49 +0000)]
* regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE)
to determine whether ISO CPP token pasting is available.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47107
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Fri, 16 Nov 2001 21:29:29 +0000 (21:29 +0000)]
2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
* Makefile.in: Add MAKEOVERRIDES= to suppress exporting
environment to (sub)shells.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47106
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Fri, 16 Nov 2001 21:23:16 +0000 (21:23 +0000)]
2001-11-16 David O'Brien <obrien@FreeBSD.org>
* config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
* config/arm/aof.h: Don't include arm.h.
* config/arm/aout.h: Likewise.
* config/arm/coff.h: Don't include semi.h and aout.h.
* config/arm/elf.h: Don't include aout.h.
* config/arm/netbsd.h: Don't include netbsd.h and aout.h.
(TARGET_VERSION): Undef before defining.
(ARM_OS_NAME): Likewise
(TARGET_DEFAULT): Likewise
(TARGET_MEM_FUNCTIONS): Do not need to undefine now.
* config/arm/pe.h: Don't include arm/coff.h.
* config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
* config/arm/riscix1-1.h: Likewise.
* config/arm/rix-gas.h: Don't include riscix.h.
(DBX_CONTIN_LENGTH): Undef before defining.
* config/arm/semi.h: Don't include aout.h.
* config/arm/semiaof.h: Don't include aof.h.
* config/arm/strongarm-coff.h: Don't include coff.h.
* config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
* config/arm/vxarm.h: Don't include arm/coff.h.
* config/arm/xscale-coff.h: Don't include coff.h.
Approved by: Nick Clifton <nickc@cambridge.redhat.com>
<m3ofm2c27q.fsf@north-pole.nickc.cambridge.redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47105
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 16 Nov 2001 21:00:59 +0000 (21:00 +0000)]
2001-11-16 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_deque.h (deque::erase()): Fix memory leak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47103
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 16 Nov 2001 20:59:10 +0000 (20:59 +0000)]
* docs/html/17_intro/howto.html (Thread-safety): Rename
section to ``The Standard C++ library and multithreading'' and
update information based on recent mailing list traffic. Move
all discussion of __USE_MALLOC to...
* docs/html/23_containers/howto.html (Containers and multithreading):
...here and rework it based on recent mailing list traffic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47102
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Nov 2001 20:30:19 +0000 (20:30 +0000)]
* config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
emit_cmp_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47101
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 16 Nov 2001 20:15:29 +0000 (20:15 +0000)]
* cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
to ....
(fixup_fallthru_exit_predecessor): ... this.
Change callers and prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47098
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 16 Nov 2001 19:59:16 +0000 (19:59 +0000)]
* verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): New
method.
(type::compatible): Use it.
(type::merge): Likewise.
(type::promote): Return a `type&'.
(get_one_type): Promote return value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47097
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 16 Nov 2001 19:58:40 +0000 (19:58 +0000)]
Some SSE fixes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47096
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 16 Nov 2001 19:52:24 +0000 (19:52 +0000)]
Re-merge with Classpath, from Brian Jones:
* java/lang/Integer.java (getInteger): Attempt to decode the value
of the system property instead of the name of the system property.
(parseInt): Throw NumberFormatException explicitly in the case of
a null argument in keeping with JDK 1.3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47095
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 16 Nov 2001 19:17:32 +0000 (19:17 +0000)]
* cp-tree.h (print_class_statistics): Restore.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47094
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Fri, 16 Nov 2001 19:00:47 +0000 (19:00 +0000)]
* java/util/Timer.java (TaskQueue.isStopped): Remove method.
(Scheduler.run): Try to re-schedule task and ignore exception if
queue has been stopped.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47093
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 16 Nov 2001 18:56:14 +0000 (18:56 +0000)]
* doc/include/linux-and-gnu.texi: Remove.
* doc/gnu.texi: New.
* doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47092
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 16 Nov 2001 18:33:57 +0000 (18:33 +0000)]
* config/a29k/a29k.c: Fix comment formatting.
* config/a29k/a29k.h: Likewise.
* config/arc/arc.c: Likewise.
* config/arc/arc.h: Likewise.
* config/vax/vax.c: Likewise.
* config/vax/vax.h: Likewise.
* config/we32k/we32k.c: Likewise.
* config/we32k/we32k.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47091
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 16 Nov 2001 17:08:12 +0000 (17:08 +0000)]
* unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
creating a new jump insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47090
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Nov 2001 14:02:56 +0000 (14:02 +0000)]
* expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
copy misaligned data.
* varasm.c (assemble_variable): Set alignment into MEM when changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47089
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Fri, 16 Nov 2001 13:22:59 +0000 (13:22 +0000)]
* optabs.c (prepare_cmp_insn): Correct lossage in last change fix
OPALIGN type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47088
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Nov 2001 12:48:18 +0000 (12:48 +0000)]
* except.c: Support for catching a list of types with a single handler
(struct eh_region): Change type and filter to lists for catch regions.
(mark_eh_region): Mark the filter list for GC also.
(expand_start_catch): Always build a list if argument not NULL and
register each type of the list through add_type_for_runtime.
(duplicate_eh_region_1): Change type into type_list for catch regions.
(assign_filter_values): Assign a filter to each type associated with a
catch region. Assign filter for NULL types in a unique entry in the
filter list.
(build_post_landing_pads): Emit compare and jump for each filter of
the list associated with a catch region.
(reachable_next_level): When the type thrown is known, stop the search
as soon as one type within a catch list matches. Also, a handler is
potentially reachable only if at least one of the types it catches
has not been previously caught.
(collect_one_action_chain): Retrieve the filter for a NULL type list
from the first filter list entry. For non NULL type lists, add an
action record for every filter assigned.
* except.h: Reflect changes in comment before expand_start_catch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47087
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Nov 2001 12:11:13 +0000 (12:11 +0000)]
* expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
BLKmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47086
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Nov 2001 11:33:23 +0000 (11:33 +0000)]
* config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47085
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 16 Nov 2001 08:16:11 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47083
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 16 Nov 2001 08:05:16 +0000 (08:05 +0000)]
* c-lang.c (finish_file): Don't emit static inline functions if
they weren't referenced.
* gcc.c-torture/execute/
20011115-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47082
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Fri, 16 Nov 2001 04:40:11 +0000 (04:40 +0000)]
* expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47081
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 16 Nov 2001 03:05:10 +0000 (03:05 +0000)]
* config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
call.
* config/i386/i386.md: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47080
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Nov 2001 02:36:39 +0000 (02:36 +0000)]
* timevar.c (rtl.h): Include so get fancy abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47079
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Nov 2001 02:26:42 +0000 (02:26 +0000)]
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
* doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
compare_rtx_and_jump, and emit_cmp_jump_insns.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
* config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
* config/i386/i386.c,config/mips/mips.c: Likewise.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47078
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 16 Nov 2001 01:28:55 +0000 (01:28 +0000)]
* verify.cc (type::compatible): Use _Jv_IsAssignableFrom.
(type::merge): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47077
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Fri, 16 Nov 2001 01:06:37 +0000 (01:06 +0000)]
* config/darwin.h (SELECT_RTX_SECTION): Force address
initializers into 'const' section
* config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
if_then_else to match result, not operands
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47076
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 15 Nov 2001 23:44:58 +0000 (23:44 +0000)]
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47075
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 15 Nov 2001 23:34:17 +0000 (23:34 +0000)]
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47074
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Thu, 15 Nov 2001 21:06:51 +0000 (21:06 +0000)]
* config/rs6000/rs6000.h: Fix a comment typo.
(RTX_COSTS): Sort processor versions better.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47073
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 15 Nov 2001 20:49:01 +0000 (20:49 +0000)]
* config/h8300/h8300.md: Fix insn length of bit insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47070
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 15 Nov 2001 20:17:48 +0000 (20:17 +0000)]
White-space change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47069
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Nov 2001 18:11:24 +0000 (18:11 +0000)]
* config.in (HAVE_UINTPTR_T): Provide autoconf stub.
* configure.in (HAVE_UINTPTR_T): Test for system defining
uintptr_t and define HAVE_UINTPTR_T appropriately.
* regex.c (uintptr_t): Do not provide a definition if the
system provided one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47068
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Nov 2001 18:04:08 +0000 (18:04 +0000)]
* regex.c (PREFIX): Provide an alternate definition for
non-ANSI/ISO compilers.
(ARG_PREFIX): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47067
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 15 Nov 2001 17:55:28 +0000 (17:55 +0000)]
* dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
DIEs if there were errors in the source.
* config/alpha/alpha-interix.h, config/alpha/elf.h,
config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
config/elfos.h, config/lynx.h, config/netware.h,
config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
uses to use ASM_LONG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47066
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 15 Nov 2001 17:48:07 +0000 (17:48 +0000)]
reduce arena size for small targets
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47065
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 15 Nov 2001 17:47:40 +0000 (17:47 +0000)]
avoid includes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47064
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 15 Nov 2001 17:33:24 +0000 (17:33 +0000)]
* method.c (use_thunk): Don't emit debugging information for thunks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47063
138bc75d-0d04-0410-961f-
82ee72b054a4
alanm [Thu, 15 Nov 2001 16:50:48 +0000 (16:50 +0000)]
2001-11-15 Alan Matsuoka <alanm@redhat.com>
* gensupport.c process_include : Change call to alloca to
xmalloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47062
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 15 Nov 2001 15:09:43 +0000 (15:09 +0000)]
* parse.y: Add ... IDENTIFIER SCOPE and ... PTYPENAME SCOPE expansions.
* decl.c (make_typename_type): Handle getting a class template.
* search.c (lookup_field_r): A class template is good enough for
want_type.
* call.c (convert_like_real): Only use cp_convert for the bad part.
(standard_conversion): Also allow bad int->enum.
* typeck.c (ptr_reasonably_similar): Also allow functions to
interconvert. Pointers to same-size integers are reasonably
similar.
* cvt.c (convert_to_void): If we build a new COND_EXPR, always
give it void type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47060
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 15 Nov 2001 15:04:10 +0000 (15:04 +0000)]
* config/rs6000/rs6000.md: Use spaces instead of tabs in output
templates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47059
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 15 Nov 2001 14:58:19 +0000 (14:58 +0000)]
* final.c (alter_subreg): If simplify_subreg can't do anything,
handle REG ourselves and abort for others.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47058
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 15 Nov 2001 14:52:51 +0000 (14:52 +0000)]
* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
routines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47057
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 15 Nov 2001 14:47:04 +0000 (14:47 +0000)]
* fix-header.c (read_scan_file): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47055
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 15 Nov 2001 13:59:47 +0000 (13:59 +0000)]
* toplev.c (toplev_main): Don't start timing until after
command-line options are parsed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47054
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Thu, 15 Nov 2001 13:12:54 +0000 (13:12 +0000)]
* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
makefile frag, not host makefile frag.
(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
used.
(hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
* config/m88k/t-dgux (STMP_FIXPROTO): Define.
* config/i386/t-cygwin (STMP_FIXPROTO): Define.
* config/i386/t-dgux (STMP_FIXPROTO): Define.
* config/x-interix: Don't define STMP_FIXPROTO and
FIXPROTO_DEFINES.
* config/t-interix: New file, define STMP_FIXPROTO.
* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
* config/t-svr4 (FIXPROTO_DEFINES): Define.
* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
* config/m68k/t-hp3200: Renamed from x-hp3200.
* config/i370/t-oe: Renamed from x-oe.
* config/mips/t-iris: Renamed from x-iris.
* config/pa/t-bsd: Renamed from x-pa.
* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
config/rs6000/x-cygwin: Remove files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47053
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Thu, 15 Nov 2001 13:05:54 +0000 (13:05 +0000)]
* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
makefile frag, not host makefile frag.
(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
used.
(hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
* config/m88k/t-dgux (STMP_FIXPROTO): Define.
* config/i386/t-cygwin (STMP_FIXPROTO): Define.
* config/i386/t-dgux (STMP_FIXPROTO): Define.
* config/x-interix: Don't define STMP_FIXPROTO and
FIXPROTO_DEFINES.
* config/t-interix: New file, define STMP_FIXPROTO.
* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
* config/t-svr4 (FIXPROTO_DEFINES): Define.
* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
* config/m68k/t-hp3200: Renamed from x-hp3200.
* config/i370/t-oe: Renamed from x-oe.
* config/mips/t-iris: Renamed from x-iris.
* config/pa/t-bsd: Renamed from x-pa.
* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
config/rs6000/x-cygwin: Remove files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47052
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Thu, 15 Nov 2001 12:11:52 +0000 (12:11 +0000)]
* configure.in: Check for target objdump and use that in eh_frame
optimization test.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47051
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 15 Nov 2001 10:41:48 +0000 (10:41 +0000)]
* cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
conditional jump, request updating life into for the block
containing it. Fix a typo which prevented life info update.
Clear blocks bitmap before using it.
* gcc.c-torture/compile/
20011114-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47050
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 15 Nov 2001 10:30:59 +0000 (10:30 +0000)]
* config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
* gcc.c-torture/compile/
20011114-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47049
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 15 Nov 2001 10:28:52 +0000 (10:28 +0000)]
* jump.c (squeeze_notes): Return true if no real insns were found.
* rtl.h (squeeze_notes): Adjust prototype.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
squeeze_notes finds no real instructions, abort.
(merge_blocks_move_successor_nojumps): Likewise.
* loop.c (find_and_verify_loops): Likewise.
* stmt.c (expand_end_case): Likewise.
* ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
find any real instructions.
* gcc.c-torture/compile/
20011114-4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47048
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 15 Nov 2001 10:03:41 +0000 (10:03 +0000)]
cp:
PR g++/3154
* init.c (sort_base_init): Remove unreachable code.
(expand_member_init): Adjust comment to reflect reality. Simplify
and remove unreachable code.
testsuite:
* g++.dg/other/init1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47047
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 15 Nov 2001 10:01:10 +0000 (10:01 +0000)]
* c-common.c: Include c-lex.h.
(c_common_lang_init): Change prototype. Call init_c_lex and
init_pragma from here.
* c-common.h (c_common_lang_init): Change prototype.
* c-decl.c (init_decl_processing): Rename. Call c_parse_init.
* c-lang.c (c_init): Change prototype. Update.
(c_init_options): Update.
* c-lex.c (cpp_filename): Remove.
(init_c_lex): Update. Read the main file, and get the original
file name.
(yyparse): Finish the command line options.
* c-parse.in (c_parse_init): Call init_reswords here.
(init_parse): Remove.
* c-tree.h (c_init_decl_processing): New.
* cpphash.c (_cpp_init_hashtable): After initializing the hash
table, populate it.
* cppinit.c (read_original_filename, cpp_finish_options): New.
(cpp_create_reader): New prototype. Defer hash table initialization.
(cpp_start_read): Rename cpp_read_main_file. Initialize the
hash table. Get the original filename.
* cpplib.h (cpp_create_reader): Update.
(cpp_start_read): Remove.
(cpp_read_main_file, cpp_finish_options): New.
* cppmain.c (main, do_preprocessing): Update.
* langhooks.h (struct langhooks): Update init prototype.
* toplev.c (general_init, parse_options_and_default_flags,
process_options, lang_indpendent_init, lang_dependent_init,
init_asm_output): New; perform the bulk of initialization.
(compile_file): Move most of initialization to above functions.
(debug_hooks): Initialize statically.
(set_Wunused): Relocate.
(toplev_main): Move most of initialization to other init functions.
Have a clear logic flow.
* tree.h (init_parse, init_decl_processing): Remove.
ada:
* misc.c (gnat_init): Change prototype. Include the
functionality of the old init_parse and init_decl_processing.
(gnat_init_decl_processing): New prototype.
(init_parse): Remove.
* utils.c (init_decl_processing): Rename gnat_init_decl_processing.
cp: * cp-tree.h (init_reswords, cxx_init_decl_processing): New.
(cxx_init): Update prototype.
* decl.c (init_decl_processing): Rename. Move null node init
to its creation time.
* lex.c (cxx_init_options): Update.
(cxx_init): Combine with old init_parse; also call
cxx_init_decl_processing.
f: * com.c (ffecom_init_decl_processing): Renamed from
init_decl_processing.
(init_parse): Move contents to ffe_init.
(ffe_init): Update prototype.
java: * decl.c (init_decl_processing): Rename java_init_decl_processing.
* java-tree.h: New prototype.
* lang.c (java_init): Update prototype. Combine with old init_parse.
objc: * objc-act.c (objc_init): Update prototype, combine with old
init_parse.
(objc_init_options): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47046
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Thu, 15 Nov 2001 09:06:14 +0000 (09:06 +0000)]
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
wording.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47045
138bc75d-0d04-0410-961f-
82ee72b054a4