Benjamin Kosnik [Wed, 24 Oct 2001 02:37:56 +0000 (02:37 +0000)]
Make -fno-exceptions work.
2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
Make -fno-exceptions work.
* config/locale/c_locale_gnu.cc: Use functexcept.
* include/bits/c++config (__stl_assert): Remove.
(__STL_USE_EXCEPTIONS): Same.
(__STL_TRY): Same.
(__STL_CATCH_ALL): Same.
(__STL_THROW): Same.
(__STL_RETHROW): Same.
(__STL_NOTHROW): Same.
(__STL_UNWIND): Same.
* include/bits/pthread_allocimpl.h: Fix.
* include/bits/std_bitset.h: Same.
* include/bits/std_list.h: Same.
* include/bits/std_memory.h: Same.
* include/bits/std_queue.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_vector.h: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stl_hashtable.h: Same.
* include/ext/stl_rope.h: Same.
* libsupc++/new_op.cc: Include cstdlib.
* libsupc++/eh_personality.cc: Add exception_defines include. Use
__throw_exception_again, tweak.
* libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
* libsupc++/vec.cc: Tweak.
* src/functexcept.cc: Remove unused arguments.
* testsuite/23_containers/bitset_members.cc: Tweak.
From-SVN: r46455
Richard Kenner [Wed, 24 Oct 2001 01:46:50 +0000 (01:46 +0000)]
* gensupport.c (target_flags): Add.
From-SVN: r46454
Tom Tromey [Wed, 24 Oct 2001 00:01:15 +0000 (00:01 +0000)]
PropertyResourceBundle.java (handleGetObject): Now public.
* java/util/PropertyResourceBundle.java (handleGetObject): Now
public.
* java/util/ListResourceBundle.java (handleGetObject): Now public
and final, per spec.
From-SVN: r46452
Loren J. Rittle [Tue, 23 Oct 2001 23:21:39 +0000 (23:21 +0000)]
solaris_threads.h: Update to use GC_SOLARIS_THREADS.
* include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
Co-Authored-By: Andreas Tobler <toa@pop.agri.ch>
From-SVN: r46451
Jeff Law [Tue, 23 Oct 2001 23:04:53 +0000 (17:04 -0600)]
Remove Craig Burley.
From-SVN: r46450
Richard Kenner [Tue, 23 Oct 2001 22:59:52 +0000 (22:59 +0000)]
misc.c (gnat_init, [...]): Now static.
* misc.c (gnat_init, gnat_init_options, gnat_decode_option):
Now static.
(LANG_HOOKS_GET_ALIAS_SET): New macro.
(gnat_expand_expr, case NULL_EXPR): Always call set_mem_attributes.
(gnat_get_alias_set): Renamed from lang_get_alias_set.
* gigi.h (gnat_decode_option, gnat_init_option, gnat_init):
Delete declarations.
(gnat_get_alias_set): Likewise.
From-SVN: r46449
Richard Kenner [Tue, 23 Oct 2001 22:59:15 +0000 (18:59 -0400)]
builtins.c (expand_builtin_setjmp): Only call convert_memory_address if needed.
* builtins.c (expand_builtin_setjmp): Only call convert_memory_address
if needed.
(expand_builtin_longjmp, expand_builtin_alloca): Likewise.
* except.c (expand_builtin_frob_return_addr): Likewise.
(expand_builtin_eh_return): Likewise.
* stmt.c (expand_computed_goto): Likewise.
* explow.c (memory_address): Likewise.
(allocate_dynamic_stack_space): Clean up predicate testing.
(probe_stack_range): Convert SIZE to Pmode.
* calls.c (rtx_for_function_call): Only call convert_memory_address
if needed.
Pass function call operand as ptr_mode, not Pmode.
* expr.c (expand_assignment): Clean up calls to convert_memory
address by only doing so when needed and making offsets Pmode.
(store_constructor, expand_expr, expand_expr_unaligned): Likewise.
* function.c (assign_parms): Ensure address in MEM for RESULT_DECL
is in Pmode, not ptr_mode.
From-SVN: r46448
Kaveh R. Ghazi [Tue, 23 Oct 2001 22:39:06 +0000 (22:39 +0000)]
darwin-protos.h (constructor_section, [...]): Prototype.
* darwin-protos.h (constructor_section, destructor_section,
mod_init_section, mod_term_section): Prototype.
* darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
Const-ify.
* darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
Likewise.
(SECTION_FUNCTION): Prototype `FUNCTION'. Delete
objc_section_init declaration.
(EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
(objc_section_init, try_section_alias): Make static.
(alias_section): Make static and hide unused function.
(ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
From-SVN: r46447
Richard Kenner [Tue, 23 Oct 2001 21:50:37 +0000 (17:50 -0400)]
whitespace changes
From-SVN: r46446
Benjamin Kosnik [Tue, 23 Oct 2001 21:40:31 +0000 (21:40 +0000)]
limits.h: Move to...
2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
* config/cpu/i386/bits/limits.h: Move to...
* config/cpu/i386/bits/cpu_limits.h: ...here.
* config/cpu/cris/bits/cpu_limits.h: Same.
* config/cpu/powerpc/bits/cpu_limits.h: Same.
* config/cpu/x86-64/bits/cpu_limits.h: Same.
* config/cpu/alpha/bits/cpu_limits.h: New.
* config/cpu/m68k/bits/cpu_limits.h: New.
* config/cpu/s390/bits/cpu_limits.h: New.
* config/os/aix/bits/os_defines.h: Tweaks.
* config/os/bsd/freebsd/bits/os_defines.h: Same.
* config/os/bsd/netbsd/bits/os_defines.h: Same.
* config/os/djgpp/bits/os_defines.h: Same.
* config/os/generic/bits/os_defines.h: Same.
* config/os/gnu-linux/bits/os_defines.h: Same.
* config/os/hpux/bits/os_defines.h: Same.
* config/os/irix/irix5.2/bits/os_defines.h: Same.
* config/os/irix/irix6.5/bits/os_defines.h: Same.
* config/os/newlib/bits/os_defines.h: Same.
* config/os/solaris/solaris2.5/bits/os_defines.h: Same.
* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
* include/bits/c++config: Remove include.
* include/bits/limits_generic.h: Remove.
* include/bits/std_limits.h: Include cpu_limits.h.
* include/Makefile.am: Fixup.
* src/limits.cc: Tweak.
* src/limits_generic.cc: Remove.
* src/gen-num-limits.cc: Remove.
* mknumeric_limits: Remove.
From-SVN: r46445
Geoffrey Keating [Tue, 23 Oct 2001 21:39:47 +0000 (21:39 +0000)]
* lib/g77.exp: Rewrite based on lib/g++.exp.
From-SVN: r46444
Richard Kenner [Tue, 23 Oct 2001 20:46:41 +0000 (16:46 -0400)]
alias.c (can_address_p): Compnonents are not addressable if the containing type has alias set 0.
* alias.c (can_address_p): Compnonents are not addressable if
the containing type has alias set 0.
(get_alias_set): Rework to use STRIP_NOPS.
Only call front-end routine on object, type, or object with
NOPs stripped, not inner values.
Use language hook to call front-end routine.
* builtins.c (get_memory_rtx): Always call set_mem_attributes.
(expand_builtin_apply): Call set_mem_align on MEMs we make.
Don't pass alignment to emit_block_move.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but for clear_storage.
* c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
and remove C++ specific parts.
* c-common.h (c_common_get_alias_set): Add declaration.
* c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
* calls.c (emit_call_1): Fix typo in sibcall_pop case.
(save_fixed_argument_area): Call set_mem_align.
Remove alignment in call to emit_block_move.
(emit_library_call_value_1, store_one_arg): Likewise.
(target_for_arg): Remove; disabled long ago.
* emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
once and similar cleanups.
(offset_address): Use proper introductory comment.
* expr.c (emit_block_move): Use alignment from that of MEM args, not
from explicit operand; all callers changed.
(clear_storage): Likewise.
(expand_assignment): Don't call set_mem_alias_set on to_rtx.
(store_field): Remove kludge on alias set used for to_rtx.
(highest_pow2_factor, case *_DIV_EXPR): Never return 0.
(expand_expr_unaligned): Call set_mem_attributes instead of
set_mem_alias_set.
* expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
* function.c (assign_stack_temp_for_type): Set MEM alignment.
(expand_function_end): Track MEM attributes of trampolines.
* ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
* integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
attributes from original.
* langhooks.c (lang_hook_default_get_alias_set): New function.
(hook_get_alias_set_0): New function.
* langhooks.h (hook_get_alias_set_0): New declaration.
(lang_hook_default_get_alias_set): Likewise.
(LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
* reload1.c (alter_reg): Use adjust_address_nv.
* rtl.c (get_mode_alignment): Moved to here.
* rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
change default if unknown from 1 to BITS_PER_UNIT.
* stor-layout.c (get_mode_alignment): Remove from here.
* toplev.h (struct lang_hoks): Add get_alias_set field.
* tree.h (lang_get_alias_set): Delete declaration.
* config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
* config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
(ix86_va_arg): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
(expand_block_move_mem): Remove dead code.
* cp/cp-lang.c (cxx_get_alias_set): New function.
Point LANG_HOOKS_GET_ALIAS_SET to it.
* f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
(lang_get_alias_set): Delete.
* java/lang.c (lang_get_alias_set): Deleted.
From-SVN: r46443
Richard Kenner [Tue, 23 Oct 2001 20:41:59 +0000 (16:41 -0400)]
alias.c (can_address_p): Compnonents are not addressable if the containing type has alias set 0.
* alias.c (can_address_p): Compnonents are not addressable if
the containing type has alias set 0.
(get_alias_set): Rework to use STRIP_NOPS.
Only call front-end routine on object, type, or object with
NOPs stripped, not inner values.
Use language hook to call front-end routine.
* builtins.c (get_memory_rtx): Always call set_mem_attributes.
(expand_builtin_apply): Call set_mem_align on MEMs we make.
Don't pass alignment to emit_block_move.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but for clear_storage.
* c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
and remove C++ specific parts.
* c-common.h (c_common_get_alias_set): Add declaration.
* c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
* calls.c (emit_call_1): Fix typo in sibcall_pop case.
(save_fixed_argument_area): Call set_mem_align.
Remove alignment in call to emit_block_move.
(emit_library_call_value_1, store_one_arg): Likewise.
(target_for_arg): Remove; disabled long ago.
* emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
once and similar cleanups.
(offset_address): Use proper introductory comment.
* expr.c (emit_block_move): Use alignment from that of MEM args, not
from explicit operand; all callers changed.
(clear_storage): Likewise.
(expand_assignment): Don't call set_mem_alias_set on to_rtx.
(store_field): Remove kludge on alias set used for to_rtx.
(highest_pow2_factor, case *_DIV_EXPR): Never return 0.
(expand_expr_unaligned): Call set_mem_attributes instead of
set_mem_alias_set.
* expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
* function.c (assign_stack_temp_for_type): Set MEM alignment.
(expand_function_end): Track MEM attributes of trampolines.
* ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
* integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
attributes from original.
* langhooks.c (lang_hook_default_get_alias_set): New function.
(hook_get_alias_set_0): New function.
* langhooks.h (hook_get_alias_set_0): New declaration.
(lang_hook_default_get_alias_set): Likewise.
(LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
* reload1.c (alter_reg): Use adjust_address_nv.
* rtl.c (get_mode_alignment): Moved to here.
* rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
change default if unknown from 1 to BITS_PER_UNIT.
* stor-layout.c (get_mode_alignment): Remove from here.
* toplev.h (struct lang_hoks): Add get_alias_set field.
* tree.h (lang_get_alias_set): Delete declaration.
* config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
* config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
(ix86_va_arg): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
(expand_block_move_mem): Remove dead code.
* cp/cp-lang.c (cxx_get_alias_set): New function.
Point LANG_HOOKS_GET_ALIAS_SET to it.
* f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
(lang_get_alias_set): Delete.
* java/lang.c (lang_get_alias_set): Deleted.
From-SVN: r46442
Richard Kenner [Tue, 23 Oct 2001 19:11:48 +0000 (15:11 -0400)]
Correct typo in last change
From-SVN: r46441
Richard Kenner [Tue, 23 Oct 2001 18:51:18 +0000 (18:51 +0000)]
alias.c (can_address_p): Compnonents are not addressable if the containing type has alias set 0.
* alias.c (can_address_p): Compnonents are not addressable if
the containing type has alias set 0.
(get_alias_set): Rework to use STRIP_NOPS.
Only call front-end routine on object, type, or object with
NOPs stripped, not inner values.
Use language hook to call front-end routine.
* builtins.c (get_memory_rtx): Always call set_mem_attributes.
(expand_builtin_apply): Call set_mem_align on MEMs we make.
Don't pass alignment to emit_block_move.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but for clear_storage.
* c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
and remove C++ specific parts.
* c-common.h (c_common_get_alias_set): Add declaration.
* c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
* calls.c (emit_call_1): Fix typo in sibcall_pop case.
(save_fixed_argument_area): Call set_mem_align.
Remove alignment in call to emit_block_move.
(emit_library_call_value_1, store_one_arg): Likewise.
(target_for_arg): Remove; disabled long ago.
* emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
once and similar cleanups.
(offset_address): Use proper introductory comment.
* expr.c (emit_block_move): Use alignment from that of MEM args, not
from explicit operand; all callers changed.
(clear_storage): Likewise.
(expand_assignment): Don't call set_mem_alias_set on to_rtx.
(store_field): Remove kludge on alias set used for to_rtx.
(highest_pow2_factor, case *_DIV_EXPR): Never return 0.
(expand_expr_unaligned): Call set_mem_attributes instead of
set_mem_alias_set.
* expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
* function.c (assign_stack_temp_for_type): Set MEM alignment.
(expand_function_end): Track MEM attributes of trampolines.
* ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
* integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
attributes from original.
* langhooks.c (lang_hook_default_get_alias_set): New function.
(hook_get_alias_set_0): New function.
* langhooks.h (hook_get_alias_set_0): New declaration.
(lang_hook_default_get_alias_set): Likewise.
(LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
* reload1.c (alter_reg): Use adjust_address_nv.
* rtl.c (get_mode_alignment): Moved to here.
* rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
change default if unknown from 1 to BITS_PER_UNIT.
* stor-layout.c (get_mode_alignment): Remove from here.
* toplev.h (struct lang_hoks): Add get_alias_set field.
* tree.h (lang_get_alias_set): Delete declaration.
* config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
* config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
(ix86_va_arg): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
(expand_block_move_mem): Remove dead code.
* cp/cp-lang.c (cxx_get_alias_set): New function.
Point LANG_HOOKS_GET_ALIAS_SET to it.
* f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
(lang_get_alias_set): Delete.
* java/lang.c (lang_get_alias_set): Deleted.
From-SVN: r46440
Neil Booth [Tue, 23 Oct 2001 18:14:31 +0000 (18:14 +0000)]
c-common.c (warn_div_by_zero): New.
* c-common.c (warn_div_by_zero): New.
* c-common.h (warn_div_by_zero): New.
* c-decl.c (c_decode_option): Take it on the command line.
* c-typeck.c (build_binary_op): Warn about division by zero.
* doc/invoke.texi: Document the new command line option, fix
documentation of -Wmultichar.
* testsuite/gcc.dg/divbyzero.c: New tests.
* testsuite/gcc.dg/noncompile/
20010524-1.c: Update.
From-SVN: r46439
Tom Tromey [Tue, 23 Oct 2001 16:18:44 +0000 (16:18 +0000)]
* java/io/BufferedWriter.java (localFlush): Don't synchronize.
From-SVN: r46435
Jan Hubicka [Tue, 23 Oct 2001 13:34:33 +0000 (15:34 +0200)]
i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
* i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
* toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
to avoid update_life_info call.
* basic-block.h (CLEANUP_UPATE_LIFE): Define.
* cfgcleanup.c (bb_flags): New enum.
(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
(notice_new_block, update_forwarder_flag): New functions.
(try_simplify_condjump): Use FORWARDER_BLOCK_P.
(try_forward_edges): Likewise; update flags.
(merge_blocks): Likewise.
(outgoing_edges_match): Likewise.
(try_crossjump_to_edge): Likewise.
(try_optimize_cfg): Likewise; initialize and clear the flags;
recompute life info if needed.
(cleanup_cfg): No need to clear aux pointers.
From-SVN: r46434
Alexandre Oliva [Tue, 23 Oct 2001 11:50:50 +0000 (11:50 +0000)]
i386.c (override_options): Default to minimum stack alignment when optimizing for code size.
* config/i386/i386.c (override_options): Default to minimum
stack alignment when optimizing for code size.
* doc/invoke.texi (-mpreferred-stack-boundary): Document the
change.
From-SVN: r46433
Alexandre Oliva [Tue, 23 Oct 2001 11:47:23 +0000 (11:47 +0000)]
i386.c (override_options): Set upper limit of -mpreferred-stack-boundary to 12.
* config/i386/i386.c (override_options): Set upper limit of
-mpreferred-stack-boundary to 12.
From-SVN: r46432
Kriang Lerdsuwanakij [Tue, 23 Oct 2001 09:20:55 +0000 (09:20 +0000)]
Fix date in ChangeLog
From-SVN: r46431
Kriang Lerdsuwanakij [Tue, 23 Oct 2001 09:14:15 +0000 (09:14 +0000)]
cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node.
* cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node.
* cp-tree.h (make_unbound_class_template): Prototype new function.
* decl.c (make_unbound_class_template): New function.
* decl2.c (arg_assoc_template_arg): Handle UNBOUND_CLASS_TEMPLATE.
* error.c (dump_type): Likewise.
* mangle.c (write_type): Likewise.
* parse.y (template_parm): Likewise.
(template_argument): Use make_unbound_class_template.
* pt.c (convert_template_argument): Handle UNBOUND_CLASS_TEMPLATE.
(tsubst): Likewise.
(tsubst_copy): Likewise.
(unify): Likewise.
* tree.c (walk_tree): Likewise.
* typeck.c (comptypes): Likewise.
From-SVN: r46430
GCC Administrator [Tue, 23 Oct 2001 07:18:01 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r46428
Bryce McKinlay [Tue, 23 Oct 2001 06:04:58 +0000 (06:04 +0000)]
BufferedWriter (write (String, int, int)): Remove redundant bounds checks.
* java/io/BufferedWriter (write (String, int, int)): Remove
redundant bounds checks.
(write (char[], int, int)): Likewise.
From-SVN: r46426
Bryce McKinlay [Tue, 23 Oct 2001 05:43:49 +0000 (06:43 +0100)]
Fix typos.
From-SVN: r46425
Bryce McKinlay [Tue, 23 Oct 2001 05:42:03 +0000 (05:42 +0000)]
prims.cc (_Jv_Abort): Always print error message using fprintf, don't try to allocate.
* prims.cc (_Jv_Abort): Always print error message using fprintf,
don't try to allocate.
(_Jv_CreateJavaVM): Set gcj::runTimeInitialized.
* include/jvm.h (gcj::runTimeInitialized): New variable declaration.
* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Handle
duplicate class registration with JvFail if the runtime hasn't been
initialized yet.
From-SVN: r46424
Tom Tromey [Tue, 23 Oct 2001 04:16:13 +0000 (04:16 +0000)]
GregorianCalendar.java (getGregorianChange): Removed `date' argument.
* java/util/GregorianCalendar.java (getGregorianChange): Removed
`date' argument.
From-SVN: r46423
Zack Weinberg [Tue, 23 Oct 2001 04:09:05 +0000 (04:09 +0000)]
* recog.c (peephole2_optimize): Add default case to switch.
From-SVN: r46422
Kaveh R. Ghazi [Tue, 23 Oct 2001 03:17:29 +0000 (03:17 +0000)]
libiberty.h (hex_init): Revert delete.
include:
* libiberty.h (hex_init): Revert delete.
libiberty:
* hex.c (hex_init): Provide empty stub.
From-SVN: r46421
Bryce McKinlay [Tue, 23 Oct 2001 00:28:56 +0000 (00:28 +0000)]
linux_threads.c (GC_init_parallel): Do not declare as a static constructor.
* linux_threads.c (GC_init_parallel): Do not declare as a static
constructor.
* include/gc.h (GC_init): Declare here. Add description.
* include/private/gc_priv.h (GC_init): Remove declaration.
From-SVN: r46420
Joseph Myers [Tue, 23 Oct 2001 00:18:25 +0000 (01:18 +0100)]
gcc.texi (Sending Patches): Remove.
* doc/gcc.texi (Sending Patches): Remove.
f:
* g77.texi (Sending Patches): Remove.
From-SVN: r46418
Kaveh R. Ghazi [Mon, 22 Oct 2001 22:32:57 +0000 (22:32 +0000)]
libiberty.h (_hex_value): Const-ify.
include:
* libiberty.h (_hex_value): Const-ify.
(hex_init): Delete.
libiberty:
* hex.c (hex_init): Delete.
(_hex_value): Const-ify and initialize at compile-time.
From-SVN: r46417
Jason Merrill [Mon, 22 Oct 2001 21:56:40 +0000 (17:56 -0400)]
tweak
From-SVN: r46416
Geert Bosch [Mon, 22 Oct 2001 20:39:56 +0000 (22:39 +0200)]
* Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
From-SVN: r46415
Hans-Peter Nilsson [Mon, 22 Oct 2001 20:33:13 +0000 (20:33 +0000)]
unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin fields when comparing.
* unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
fields when comparing.
From-SVN: r46414
Kaveh R. Ghazi [Mon, 22 Oct 2001 19:36:24 +0000 (19:36 +0000)]
arm.h (HOST_INT, HOST_UINT): Delete.
* arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
* arm.c (HOST_INT, HOST_UINT): Likewise.
From-SVN: r46413
Stan Shebs [Mon, 22 Oct 2001 19:11:55 +0000 (19:11 +0000)]
darwin-protos.h (darwin_exception_section): Declare.
* config/darwin-protos.h (darwin_exception_section): Declare.
(darwin_eh_frame_section): Declare.
From-SVN: r46412
Jan Hubicka [Mon, 22 Oct 2001 16:22:31 +0000 (18:22 +0200)]
* i386.md (movti_rex64): Fix mode.
From-SVN: r46411
Zack Weinberg [Mon, 22 Oct 2001 15:49:40 +0000 (15:49 +0000)]
* Make-lang.in (f/intdoc): Depend on safe-ctype.o.
From-SVN: r46410
Stan Shebs [Mon, 22 Oct 2001 14:43:31 +0000 (14:43 +0000)]
target.h (struct gcc_target): Add asm_out.exception_section, asm_out.eh_frame_section.
* target.h (struct gcc_target): Add asm_out.exception_section,
asm_out.eh_frame_section.
* target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
(TARGET_ASM_EH_FRAME_SECTION): New.
(TARGET_INITIALIZER): Update.
* output.h (default_exception_section): Declare.
(default_eh_frame_section): Declare.
* dwarf2out.c: Include target.h.
(output_call_frame_info): Call target hook for eh frames.
(default_eh_frame_section): New function.
* except.c: Include target.h.
(output_function_exception_table): Call target hook for exception
section.
* varasm.c (default_exception_section): Rename from
exception_section, remove EXCEPTION_SECTION macro.
* config/darwin.h (darwin_eh_frame_section): New function.
(EXCEPTION_SECTION): Remove.
(TARGET_ASM_EXCEPTION_SECTION): Define.
* config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
(nextstep_exception_section): New function.
(nextstep_eh_frame_section): New function.
(TARGET_ASM_EXCEPTION_SECTION): Define.
(TARGET_ASM_EH_FRAME_SECTION): Define.
* config/pa/som.h (EXCEPTION_SECTION): Remove.
(TARGET_ASM_EXCEPTION_SECTION): Define.
* config/rs6000/sysv4.h, config/rs6000/xcoff.h
(EXCEPTION_SECTION): Remove.
(TARGET_ASM_EXCEPTION_SECTION): Define.
* config/stormy16/stormy16.h: Remove comments referencing
EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
* doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
TARGET_ASM_EH_FRAME_SECTION.
From-SVN: r46409
Nick Clifton [Mon, 22 Oct 2001 09:18:19 +0000 (09:18 +0000)]
Fix precedence of conditional terms
From-SVN: r46408
Nick Clifton [Mon, 22 Oct 2001 09:10:04 +0000 (09:10 +0000)]
fix spelling typo in comment
From-SVN: r46407
Nick Clifton [Mon, 22 Oct 2001 09:06:34 +0000 (09:06 +0000)]
Fix typo
From-SVN: r46406
Craig Rodrigues [Mon, 22 Oct 2001 07:42:23 +0000 (07:42 +0000)]
re PR debug/4252 (cc1: Invalid option `-fdump-translation-unit')
PR debug/4252
* doc/invoke.texi: Remove references to -fdump-translation-unit.
From-SVN: r46405
Richard Henderson [Mon, 22 Oct 2001 07:19:01 +0000 (00:19 -0700)]
i386.c (ix86_expand_clear): New.
* config/i386/i386.c (ix86_expand_clear): New.
* config/i386/i386-protos.h: Declare it.
* config/i386/i386.md (setcc peep2s): Use it.
(movsi_xor): Unexport.
From-SVN: r46404
GCC Administrator [Mon, 22 Oct 2001 07:18:17 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r46403
Richard Henderson [Mon, 22 Oct 2001 07:09:53 +0000 (00:09 -0700)]
flow.c (clear_log_links): Use free_INSN_LIST_list, not free_EXPR_LIST_list for LOG_LINKS.
* flow.c (clear_log_links): Use free_INSN_LIST_list, not
free_EXPR_LIST_list for LOG_LINKS.
From-SVN: r46401
Bryce McKinlay [Mon, 22 Oct 2001 05:38:25 +0000 (05:38 +0000)]
JIS0208_to_Unicode.cc: Declare java_exceptions pragma.
* gnu/gcj/convert/JIS0208_to_Unicode.cc: Declare java_exceptions
pragma.
* gnu/gcj/convert/JIS0212_to_Unicode.cc: Likewise.
* gnu/gcj/convert/Unicode_to_JIS.cc: Likewise.
* gnu/gcj/convert/gen-from-JIS.c: Put java_exceptions pragma in
output file.
From-SVN: r46400
Kaveh R. Ghazi [Mon, 22 Oct 2001 03:58:19 +0000 (03:58 +0000)]
* gjavah.c (jni_print_char): Fix thinko in last change.
From-SVN: r46399
Robert Lipe [Sun, 21 Oct 2001 21:55:40 +0000 (21:55 +0000)]
i386.c (sco_asm_named_section): Delete.
* config/i386/i386.c (sco_asm_named_section): Delete.
(sco_asm_out_constructor): Delete.
* config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
(ASM_OUTPUT_DOUBLE_INT): Likewise.
(TARGET_ASM_CONSTRUCTOR): Delete. Use default.
(TARGET_ASM_NAMED_SECTION): Use default for ELF.
(EXCEPTION_SECTION): Delete EH scn renaming hack.
From-SVN: r46398
Kaveh R. Ghazi [Sun, 21 Oct 2001 21:32:15 +0000 (21:32 +0000)]
c-format.c (maybe_read_dollar_number): Use safe-ctype macros and/or fold extra calls into fewer ones.
* c-format.c (maybe_read_dollar_number): Use safe-ctype macros
and/or fold extra calls into fewer ones.
* collect2.c (dump_file): Likewise.
* cppexp.c (parse_number): Likewise.
* cpplex.c (_cpp_lex_direct): Likewise.
* final.c (output_asm_insn, asm_fprintf): Likewise.
* fix-header.c (inf_scan_ident, main): Likewise.
* fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
Likewise.
* fold-const.c (real_hex_to_f): Likewise.
* gen-protos.c (parse_fn_proto): Likewise.
* genattrtab.c (check_attr_test, check_attr_value): Likewise.
* genrecog.c (change_state, write_action): Likewise.
* gensupport.c (shift_output_template): Likewise.
* local-alloc.c (requires_inout): Likewise.
* mips-tfile.c (IS_ASM_IDENT): Likewise.
* protoize.c (is_id_char, main): Likewise.
* real.c (asctoeg): Likewise.
* recog.c (asm_operand_ok): Likewise.
* reload.c (find_reloads): Likewise.
* scan.c (scan_identget_token): Likewise.
* sched-vis.c (print_value): Likewise.
* stringpool.c (ggc_alloc_string): Likewise.
* toplev.c (read_integral_parameter, decode_g_option): Likewise.
* tradcif.y (parse_number, yylex, parse_escape): Likewise.
* tradcpp.c (rescan): Likewise.
* tree.c (clean_symbol_name): Likewise.
* varasm.c (decode_reg_name): Likewise.
* alpha.h (ASM_OUTPUT_ASCII): Likewise.
* darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
* dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
* m88k.c (output_ascii): Likewise.
* m88k.h (OVERRIDE_OPTIONS): Likewise.
* mcore.h (REG_CLASS_FROM_LETTER): Likewise.
* ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
* sh.h (REG_CLASS_FROM_LETTER): Likewise.
cp:
* xref.c (GNU_xref_member): Use safe-ctype macros and/or fold
extra calls into fewer ones.
f:
* bad.c (ffebad_finish): Use safe-ctype macros and/or fold extra
calls into fewer ones.
* implic.c (ffeimplic_lookup_): Likewise.
* intdoc.c (dumpimp): Likewise.
* intrin.c (ffeintrin_init_0): Likewise.
* lex.c (ffelex_backslash_, ffelex_cfebackslash_, ffelex_hash_):
Likewise.
* lex.h (ffelex_is_firstnamechar): Likewise.
* target.c (ffetarget_integerhex): Likewise.
java:
* gjavah.c (jni_print_char, decode_signature_piece): Use
safe-ctype macros and/or fold extra calls into fewer ones.
* lex.c (java_read_unicode, java_lex): Likewise.
* lex.h (JAVA_START_CHAR_P, JAVA_PART_CHAR_P, JAVA_ASCII_DIGIT,
JAVA_ASCII_HEXDIGIT, JAVA_ASCII_LETTER): Likewise.
* mangle_name.c (append_unicode_mangled_name,
unicode_mangling_length): Likewise.
From-SVN: r46397
Neil Booth [Sun, 21 Oct 2001 21:03:48 +0000 (21:03 +0000)]
langhooks.c (lang_hook_default_do_nothing, [...]): New defaults.
* langhooks.c (lang_hook_default_do_nothing,
lang_hook_default_decode_option): New defaults.
* langhooks.h: Make hooks unconditional and non-NULL.
* toplev.c (compile_file, toplev_main): Update.
* toplev.h: Update comments.
* objc/objc-act.c (lang_hooks): Update to new paradigm.
From-SVN: r46396
Kaveh R. Ghazi [Sun, 21 Oct 2001 19:44:08 +0000 (19:44 +0000)]
arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
* arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
* system.h (IN_RANGE): New macro.
From-SVN: r46395
Zack Weinberg [Sun, 21 Oct 2001 16:29:13 +0000 (16:29 +0000)]
aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, which does not include $LIBICONV.
* aclocal.m4 (AM_WITH_NLS): Also create and substitute
INTLDEPS variable, which does not include $LIBICONV.
* Makefile.in: Use INTLDEPS in LIBDEPS.
* configure: Regenerate.
intl:
* dcigettext.c: Don't use #elif.
* gettextP.h: Prototype nls_uint32 and locale_charset here.
Always define ZERO to 1 to avoid warnings (ZERO is used in
flexible-array-member declarations).
* loadmsgcat.c: Apply __extension__ to structure definitions
using C99 designated initializer syntax.
Do not prototype locale_charset here.
* localcharset.c: Prototype get_charset_aliases before use.
Get rid of STATIC nonsense.
From-SVN: r46394
Craig Prescott [Sun, 21 Oct 2001 14:55:10 +0000 (14:55 +0000)]
target.h (FFETARGET_32bit_longs): Don't define for 64-bit hppa.
2001-10-21 Craig Prescott <prescott@phys.ufl.edu>
* target.h (FFETARGET_32bit_longs): Don't define
for 64-bit hppa.
From-SVN: r46393
Neil Booth [Sun, 21 Oct 2001 14:04:42 +0000 (14:04 +0000)]
cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
* cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
* cpplex.c (lex_percent, lex_dot): Remove.
(get_effective_char, skip_block_comment, skip_line_comment,
parse_identifier_slow, parse_number, parse_string, save_comment,
_cpp_lex_direct): Update to do lookback freely.
(IF_NEXT_IS, BACKUP): New macros.
* cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
* cppmacro.c (paste_tokens): Update.
From-SVN: r46392
GCC Administrator [Sun, 21 Oct 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r46390
Brendan Kehoe [Sat, 20 Oct 2001 22:30:42 +0000 (18:30 -0400)]
* MAINTAINERS: Tweak my address.
From-SVN: r46389
Hans-Peter Nilsson [Sat, 20 Oct 2001 19:45:41 +0000 (19:45 +0000)]
Tweak last entry to that of the type_traits.h commit message
From-SVN: r46388
Brendan Kehoe [Sat, 20 Oct 2001 19:28:50 +0000 (15:28 -0400)]
type_traits.h (__Boolean): Renamed template from _Bool.
2001-10-20 Brendan Kehoe <brendan@zen.org>
* include/bits/type_traits.h (__Boolean): Renamed template from _Bool.
(__true_type, __false_type): Change usage.
* src/string-inst.cc (__destroy_aux): Change third parm to be
__false_type instead of _Bool<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.
From-SVN: r46387
Zack Weinberg [Sat, 20 Oct 2001 18:16:32 +0000 (18:16 +0000)]
Remove stray conflict marker
From-SVN: r46386
Hans-Peter Nilsson [Sat, 20 Oct 2001 17:05:52 +0000 (17:05 +0000)]
configure.in: Fake AC_EXEEXT invocation.
* configure.in: Fake AC_EXEEXT invocation.
* configure: Regenerate.
From-SVN: r46385
David Edelsohn [Sat, 20 Oct 2001 16:02:09 +0000 (16:02 +0000)]
Makefile.in: Do not include SUBDIRS in objlist.
2001-10-20 David Edelsohn <dje@watson.ibm.com>
* Makefile.in: Do not include SUBDIRS in objlist. Create
libg2c.so from F2CEXT and SUBDIRS archives.
* libF77/Makefile.in: Create archive.
* libI77/Makefile.in: Same.
* libU77/Makefile.in: Same.
From-SVN: r46384
Brendan Kehoe [Sat, 20 Oct 2001 15:42:39 +0000 (11:42 -0400)]
type_traits.h (_Bool): Removed this type.
* bits/type_traits.h (_Bool): Removed this type.
(__true_type, __false_type): Change to be plain structs.
* src/string-inst.cc (__destroy_aux): Change third parm to be
__false_type instead of _Bool<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.
From-SVN: r46383
Nick Clifton [Sat, 20 Oct 2001 15:33:59 +0000 (15:33 +0000)]
fix spelling typo
From-SVN: r46382
Hans-Peter Nilsson [Sat, 20 Oct 2001 15:10:11 +0000 (15:10 +0000)]
reload1.c (reload): Check CONSTANT_P before calling LEGITIMATE_PIC_OPERAND_P.
* reload1.c (reload): Check CONSTANT_P before calling
LEGITIMATE_PIC_OPERAND_P.
* config/cris/cris.c (cris_legitimate_pic_operand): Revert
workaround of 2001-10-13.
From-SVN: r46381
Jan Hubicka [Sat, 20 Oct 2001 13:16:55 +0000 (15:16 +0200)]
* i386.c (split_di): Handle splitting of DFmode.
From-SVN: r46380
Richard Kenner [Sat, 20 Oct 2001 13:15:52 +0000 (09:15 -0400)]
emit-rtl.c (set_mem_attributes): Alignment is in bits.
* emit-rtl.c (set_mem_attributes): Alignment is in bits.
(adjust_address_1, offset_address): Likewise.
From-SVN: r46379
Richard Kenner [Sat, 20 Oct 2001 12:30:26 +0000 (12:30 +0000)]
emit-rtl.c (set_mem_attributes): Alignment is in bits.
* emit-rtl.c (set_mem_attributes): Alignment is in bits.
(adjust_address_1, offset_address): Likewise.
From-SVN: r46378
Richard Kenner [Sat, 20 Oct 2001 11:30:07 +0000 (11:30 +0000)]
final.c (output_asm_operand_names): New fcn, from output_asm_insn.
* final.c (output_asm_operand_names): New fcn, from output_asm_insn.
(output_asm_insn): Call it for each line output.
Don't record an operand more than once.
From-SVN: r46377
Richard Kenner [Sat, 20 Oct 2001 11:24:36 +0000 (11:24 +0000)]
toplev.h (struct lang_hooks): HONOR_READONLY now bool.
* toplev.h (struct lang_hooks): HONOR_READONLY now bool.
* main.c: Include config.h and system.h, but not ansidecl.h.
* Makefile.in (main.o): Update accordingly.
From-SVN: r46376
Jan Hubicka [Sat, 20 Oct 2001 10:09:07 +0000 (12:09 +0200)]
* i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
From-SVN: r46375
Jan Hubicka [Sat, 20 Oct 2001 10:04:00 +0000 (12:04 +0200)]
basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
* basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
* cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
Break out from ...
(find_sub_basic_blocks): ... here;
(find_many_sub_basic_blocks): New.
* recog.c (split_all_insns): Update find_sub_basic_blocks call.
* i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
* i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
* i386.c (split_di, split_ti): Revamp to use simplify_subreg.
* timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
* flow.c (update_life_info): Measure time.
* c-decl.c: Include timevar.h
(c_expand_body): Measure time.
* toplev.c (rest_of_compilation): Measure time of mode switching
separately.
* Makefile.in (c-decl.o, cfgcleanup.o): Add dependancy.
* toplev.c (flag_asynchronous_unwind_tables): New global variable.
(lang_independent_options): Add asynchronous-unwind-tables
(toplev_main): flag_asynchronous_unwind_tables implies
flag_unwind_tables.
* flags.h (flag_asynchronous_unwind_tables): Declare.
* dwarf2out.c (dwarf2out_stack_adjust): Take into account
flag_asynchronous_unwind_tables.
(output_call_frame_info): Likewise.
* invoke.texi (-fasynchronous-unwind-tables): Document.
* i386.c (optimization_options): Enable
flag_asynchronous_unwind_tables.
* i386.c (ix86_expand_setcc): Always expect target to be QImode.
* i386.md (s* expanders): Destination is QImode.
* toplev.c (rest_of_compilation): Do not call clear_log_links.
* rtl.h (clear_log_links): Kill.
* flow.c (clear_log_links): Make static; accept blocks parameter;
do no clear life info.
(update_life_info): Call clear_log_links.
* cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
From-SVN: r46374
Neil Booth [Sat, 20 Oct 2001 09:00:53 +0000 (09:00 +0000)]
cpplex.c (handle_newline, [...]): Update to do more stepping back.
* cpplex.c (handle_newline, skip_escaped_newlines,
get_effective_char, skip_block_comment, skip_line_comment,
parse_identifier_slow, parse_number, parse_string,
_cpp_lex_direct): Update to do more stepping back.
(trigraph_ok): Similarly. Rename trigraph_p.
(SAVE_STATE, RESTORE_STATE): Remove.
(BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
* cpplib.c (destringize): Rename destringize_and_run, and
call run_directive directly.
(_cpp_do__Pragma): Simplify.
From-SVN: r46373
GCC Administrator [Sat, 20 Oct 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r46372
Mark Wielaard [Sat, 20 Oct 2001 06:26:45 +0000 (06:26 +0000)]
Double.java: More Classpath merging
* java/lang/Double.java: More Classpath merging
(isInfinite): Don't use doubleToLongBits
(isNaN (Object)): return v != v
(initIDs): make native
* java/lang/Float.java: Ditto
(isInfinite): Don't use floatToIntBits
(isNaN (Object)): return v != v
* java/lang/natDouble.cc: add empty initIDs()
From-SVN: r46370
H.J. Lu [Sat, 20 Oct 2001 05:39:06 +0000 (05:39 +0000)]
Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if necessary.
2001-10-19 H.J. Lu <hjl@gnu.org>
* Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
necessary.
From-SVN: r46369
Kaveh R. Ghazi [Sat, 20 Oct 2001 00:24:14 +0000 (00:24 +0000)]
pe.c (arm_pe_unique_section): Const-ify.
* pe.c (arm_pe_unique_section): Const-ify.
* pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
(switch_to_section): Add static prototype.
* output.h (drectve_section): Prototype.
From-SVN: r46368
Benjamin Kosnik [Fri, 19 Oct 2001 23:05:15 +0000 (23:05 +0000)]
mkcheck.in (static_fail): Remove older memory limit functionality.
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (static_fail): Remove older memory limit functionality.
Disable E_TIME due to formatting issues.
* README: Update.
From-SVN: r46367
Franz Sirl [Fri, 19 Oct 2001 22:27:41 +0000 (22:27 +0000)]
config.gcc (i[34567]86-*-gnu*, [...]): Delete superflous ${cpu_type} setting.
2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
cris-*-none, cris-*-linux*: Update ${tmfile} list.
(c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
v850-*-*): Delete superflous ${cpu_type} setting.
* config/linux.h: Delete svr4.h include.
(SET_ASM_OP): Delete.
* config/netware.h (INT_ASM_OP): Undef before define.
* config/ptx4.h: Delete elfos.h include.
(PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
* config/svr4.h: Delete elfos.h include. Update commentary.
* config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
config/mn10200/mn10300.h, config/stormy16/stormy16.h,
config/v850/v850.h: Delete svr4.h include.
* config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
config/m68k/m68kv4.h, config/m88k/sysv4.h,
config/sparc/sysv4.h: Update includes.
* config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
config/m88k/dguxbcs.h: Delete includes.
* config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
(PREFERRED_DEBUGGING_TYPE): Undef before defining it.
* config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
it.
* config/m88k/dgux.h: Delete include.
(SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
defining it.
* config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
* config/sh/elf.h: Update include.
(SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
From-SVN: r46366
Catherine Moore [Fri, 19 Oct 2001 21:23:29 +0000 (21:23 +0000)]
stormy-abi: Updates to varargs descriptions.
* config/stormy16/stormy-abi: Updates to varargs descriptions.
* config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
base and count fields.
(stormy16_expand_builtin_va_start): last_reg_count changed to
size_of_reg_args. Use count + size in first comparison.
From-SVN: r46365
Mark Wielaard [Fri, 19 Oct 2001 20:36:07 +0000 (20:36 +0000)]
BinaryRefAddr.java: New file
* javax/naming/BinaryRefAddr.java: New file
* javax/naming/InitialContext.java: Compile fix
* javax/naming/InvalidNameException.java: Add comments
* javax/naming/Name.java: Ditto
* javax/naming/NamingException.java: Implement
* javax/naming/OperationNotSupportedException.java: Compile fix
* javax/naming/RefAddr.java: Implement
* javax/naming/StringRefAddr.java: Add comments and implement
* javax/naming/directory/InitialDirContext.java: Compile fix
From-SVN: r46364
Richard Kenner [Fri, 19 Oct 2001 19:54:06 +0000 (19:54 +0000)]
langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
* langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
* toplev.h (struct lang_hooks): New field HONOR_READONLY.
* emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
Set alignment from type if INDIRECT_REF.
(adjust_address_1, offset_address): Simplify alignment compuitation.
* expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
here; done by set_mem_attributes.
From-SVN: r46361
Kaveh R. Ghazi [Fri, 19 Oct 2001 19:42:46 +0000 (19:42 +0000)]
Makefile.in (rtlanal.o): Depend on $(TM_P_H).
* Makefile.in (rtlanal.o): Depend on $(TM_P_H).
* arm-protos.h (rdata_section, zero_init_section, common_section):
Prototype.
* arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
* avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
traditional mode stringification.
* function.c (thread_prologue_and_epilogue_insns): Wrap variable
in macros controling its use.
* rtlanal.c: Include tm_p.h.
* varasm.c (asm_output_aligned_bss): Mark parameter with
ATTRIBUTE_UNUSED.
(assemble_constant_align, assemble_start_function, assemble_align,
assemble_variable, assemble_trampoline_template,
output_constant_def_contents): Wrap potentially empty if-stmt body
in brackets.
From-SVN: r46360
Kaveh R. Ghazi [Fri, 19 Oct 2001 19:39:57 +0000 (19:39 +0000)]
a29k-protos.h (literal_section): Prototype.
* a29k-protos.h (literal_section): Prototype.
* a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
* a29k.md: Ensure function pointers are prototyped.
* genattrtab.c (write_eligible_delay): Mark parameter with
ATTRIBUTE_UNUSED.
From-SVN: r46359
Kaveh R. Ghazi [Fri, 19 Oct 2001 19:37:09 +0000 (19:37 +0000)]
calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
* calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
* 1750a.c (print_operand): Fix format specifier warning.
* 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
* 1750a.md: Likewise.
* gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
* genemit.c (output_add_clobbers): Mark parameter with
ATTRIBUTE_UNUSED.
* genrecog.c (write_subroutine): Likewise.
* integrate.c (expand_inline_function): Delete unused variable.
* varasm.c (remove_from_pending_weak_list): Wrap with
ASM_WEAKEN_LABEL.
From-SVN: r46358
Jakub Jelinek [Fri, 19 Oct 2001 19:34:44 +0000 (21:34 +0200)]
alpha.c (summarize_insn): Don't abort on ASM_INPUT.
* config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
* gcc.dg/
20011018-1.c: New test.
From-SVN: r46357
Jakub Jelinek [Fri, 19 Oct 2001 19:28:03 +0000 (21:28 +0200)]
simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg field is different to previous argument's neg field.
* simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
field is different to previous argument's neg field.
* gcc.c-torture/execute/
20011019-1.c: New test.
From-SVN: r46356
Richard Kenner [Fri, 19 Oct 2001 19:22:20 +0000 (19:22 +0000)]
final.c (get_decl_from_op): New function.
* final.c (get_decl_from_op): New function.
(output_asm_insn): Call it; write "*" when item with decl is address.
From-SVN: r46355
Benjamin Kosnik [Fri, 19 Oct 2001 18:43:34 +0000 (18:43 +0000)]
std_complex.h: Default initialize second argument of polar to 0, as specified in Library DR #79
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
From-SVN: r46354
Brendan Kehoe [Fri, 19 Oct 2001 18:39:00 +0000 (14:39 -0400)]
[multiple changes]
2001-08-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_raw_storage_iter.h (operator=): Fix to call
_Construct instead of construct.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/basic_string.tcc (find_first_not_of): Take out check for
__n being non-zero, since the standard does not mandate that.
e.g., a search for "" in "" should yield position 0, not npos.
(find_last_not_of): Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_iterator.h (reverse_iterator::current): Rename
member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_algo.h (partial_sort): Add missing `>' on the
template parameter _ValueType.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_limits.h: Clean up extra semicolons.
* include/bits/locale_facets.h: Likewise.
* include/bits/type_traits.h: Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
* include/bits/locale_facets.tcc (locale::combine): Likewise.
From-SVN: r46353
Geert Bosch [Fri, 19 Oct 2001 18:29:51 +0000 (20:29 +0200)]
* Makefile.in (tools, gnattools): Remove gnatmem.
From-SVN: r46352
NIIBE Yutaka [Fri, 19 Oct 2001 17:45:51 +0000 (17:45 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*.
From-SVN: r46351
Janis Johnson [Fri, 19 Oct 2001 16:52:31 +0000 (16:52 +0000)]
* doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
about 64-bit support from the 3.0_branch version.
From-SVN: r46350
Janis Johnson [Fri, 19 Oct 2001 16:51:17 +0000 (16:51 +0000)]
* doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
about 64-bit support from the 3.0_branch version.
From-SVN: r46349
Zack Weinberg [Fri, 19 Oct 2001 15:17:39 +0000 (15:17 +0000)]
aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL when appropriate.
* aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
USE_INCLUDED_LIBINTL when appropriate.
* configure, config.in: Regenerate.
* Makefile.in (datadir): Set to @datadir@.
(intl.o): Also depend on $(CONFIG_H) and system.h.
* intl.c: Factor out common gettext initialization sequence.
(gcc_init_libintl): New function.
* intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
off NLS. Add multiple include guard. No need to #ifdef-guard
an #undef. Prototype gcc_init_libintl here.
* collect2.c (main), cppmain.c (general_init), gcc.c (main),
gcov.c (main), protoize.c (main), toplev.c (toplev_main):
Use gcc_init_libintl.
intl:
* Makefile.in: Don't copy libgnuintl.h anywhere.
From-SVN: r46348
Catherine Moore [Fri, 19 Oct 2001 14:03:29 +0000 (14:03 +0000)]
stormy16.h (ASM_COMMENT_START): Define.
* config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
* config/stormy16/stormy16.c (stormy16_split_move): Make
sure that REG_INC notes are present for auto_inc operands.
From-SVN: r46347
Benjamin Kosnik [Fri, 19 Oct 2001 09:35:19 +0000 (09:35 +0000)]
locale_facets.h (__timepunct::_M_put_helper): Declare specializations for char, wchar_t.
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__timepunct::_M_put_helper):
Declare specializations for char, wchar_t.
From-SVN: r46346
GCC Administrator [Fri, 19 Oct 2001 07:16:27 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r46344
Andreas Jaeger [Fri, 19 Oct 2001 06:34:23 +0000 (08:34 +0200)]
* configure.target: Add x86-64.
From-SVN: r46343