OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years agoJim is no longer at Wind River, he probably won't be contributing to mcore much
mrs [Wed, 11 Jul 2001 01:53:36 +0000 (01:53 +0000)]
Jim is no longer at Wind River, he probably won't be contributing to mcore much

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43920 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix typo in last change
kenner [Wed, 11 Jul 2001 01:51:35 +0000 (01:51 +0000)]
Fix typo in last change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43919 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-10 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 11 Jul 2001 01:04:26 +0000 (01:04 +0000)]
2001-07-10  Kazu Hirata  <kazu@hxi.com>

* calls.c (emit_library_call_value_1): Fix a comment typo.
* dwarf2out.c (mem_loc_descriptor): Likewise.
* config/i386/i386.c (ix86_expand_aligntest): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43917 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
kazu [Wed, 11 Jul 2001 00:52:01 +0000 (00:52 +0000)]
2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>

* simplify-rtx.c: (simplify_subreg) Fix typo in comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43916 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agolibjava:
apbianco [Wed, 11 Jul 2001 00:47:37 +0000 (00:47 +0000)]
libjava:

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * Makefile.am: Added `java/lang/ThreadLocal.java'.
        * Makefile.in: Regenerate.
        * java/lang/ThreadLocal.java: Initial import.

libjava/testsuite:

2001-07-10  Alexandre Petit-Bianco  <apbianco@readhat.com>

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

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00042.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43915 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Makefile.in: Add support for regex code.
dj [Wed, 11 Jul 2001 00:11:12 +0000 (00:11 +0000)]
* Makefile.in: Add support for regex code.
* regex.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43914 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* xregex.h: New file to support libiberty regex.
dj [Wed, 11 Jul 2001 00:10:28 +0000 (00:10 +0000)]
* xregex.h: New file to support libiberty regex.
* xregex2.h: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43913 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * recog.c (offsettable_address_p): Handle LO_SUM case.
kenner [Tue, 10 Jul 2001 22:09:10 +0000 (22:09 +0000)]
* recog.c (offsettable_address_p): Handle LO_SUM case.
* config/mips/mips.c (double_memory_operand): Use adjust_address_nv
instead of plus_constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43912 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
ciceron [Tue, 10 Jul 2001 20:43:59 +0000 (20:43 +0000)]
* reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43911 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 10 Jul 2001 20:39:40 +0000 (20:39 +0000)]
2001-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/fio.h: Revert type of url from off_t to int.
* libI77/dfe.c (c_dfe): Cast offset expression in FSEEK to off_t.
* libI77/due.c (c_due): Ditto.  (e_rdue): Ditto.
* libI77/ftell_.c (G77_ftell_0): Cast result of FTELL to integer.
(G77_fseek_0): Cast offset argument of FSEEK to off_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43910 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
kenner [Tue, 10 Jul 2001 20:24:06 +0000 (20:24 +0000)]
* config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
adjust_address_nv instead of plus_constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43909 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
neil [Tue, 10 Jul 2001 18:44:34 +0000 (18:44 +0000)]
* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
dwarf2out.o): Depend on debug.h, wrap long lines.
* dbxout.c: Include debug.h.
(dbx_debug_hooks): New.
(dbxout_init): Make static, take just 2 args.
(dbxout_finish): Make static.
* dbxout.h (dbxout_init, dbxout_finish): Delete.
* debug.c: New file.
* debug.h: New file.
* dwarf2out.c: Include debug.h.
(dwarf2_debug_hooks): New.
(dwarf2out_init): Make static.
(dwarf2out_finish): Make static, take 2 args.
* dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
* dwarfout.c: Include debug.h.
(dwarf_debug_hooks): New.
(dwarfout_init): Make static.
(dwarfout_finish): Make static, take 2 args.
* dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
* sdbout.c: Include debug.h.
(sdb_debug_hooks): New.
(sdbout_init): Make static, take 2 args.
* sdbout.h (sdbout_init): Delete.
* toplev.c: Include debug.h.
(debug_hooks): New.
(compile_file): Set deubg_hooks based on command line options.
Use the hooks unconditionally rather than conditional compilation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43908 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tm.texi: Fix markup.
neil [Tue, 10 Jul 2001 18:07:41 +0000 (18:07 +0000)]
* tm.texi: Fix markup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43907 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
law [Tue, 10 Jul 2001 16:27:54 +0000 (16:27 +0000)]
    * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
        first_insn_after_basic_block_note instead.

        * df.c (df_bb_refs_unlink): #if 0 out for now.

        * ssa.h: Add prototype for ssa_const_prop
        * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
        (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
        (ssa_fast_dce): Remove unused variable

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43906 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * diagnostic.c (finish_diagnostic): Rename to
gdr [Tue, 10 Jul 2001 16:04:55 +0000 (16:04 +0000)]
    * diagnostic.c (finish_diagnostic): Rename to
        diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
        calls thourghout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43905 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
jason [Tue, 10 Jul 2001 15:54:38 +0000 (15:54 +0000)]
    * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
        .loc support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43904 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
jason [Tue, 10 Jul 2001 15:39:29 +0000 (15:39 +0000)]
    * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
        (dump_file): Only pad the demangled name with spaces if the
        mangled name was padded with spaces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43903 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoCorrect branch/fallthru edge detection
bernds [Tue, 10 Jul 2001 14:57:13 +0000 (14:57 +0000)]
Correct branch/fallthru edge detection

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43902 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * lib/g++-dg.exp: Load file-format and target-supports like gcc.
jason [Tue, 10 Jul 2001 13:54:24 +0000 (13:54 +0000)]
    * lib/g++-dg.exp: Load file-format and target-supports like gcc.
        (g++-dg-prune): Call prune_gcc_output.
        * prune.exp: New file for prune_gcc_output.
        * lib/g++.exp, lib/gcc.exp: Load it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43901 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * semantics.c (cp_expand_stmt): Fix for null
jason [Tue, 10 Jul 2001 13:05:18 +0000 (13:05 +0000)]
    * semantics.c (cp_expand_stmt): Fix for null
        current_function_return_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43900 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
gdr [Tue, 10 Jul 2001 12:55:05 +0000 (12:55 +0000)]
    * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
        * aclocal.m4: Regenerate.
        * configure: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43898 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
kenner [Tue, 10 Jul 2001 11:29:25 +0000 (11:29 +0000)]
* expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
extraction if no direct load if either EXPAND_CONST_ADDRESS or
EXPAND_INITIALIZER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43897 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
kenner [Tue, 10 Jul 2001 11:25:32 +0000 (11:25 +0000)]
* emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
whether can put offset inside LO_SUM to check mode alignment, not size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43896 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/tm.texi (Misc): Fix thinko.
gdr [Tue, 10 Jul 2001 10:52:01 +0000 (10:52 +0000)]
    * doc/tm.texi (Misc): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43895 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
aj [Tue, 10 Jul 2001 10:40:22 +0000 (10:40 +0000)]
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

* regmove.c (replace_in_call_usage): Fix warnings.
* sched-deps.c (add_dependence): Fix warnings.
* simplify-rtx.c (simplify_subreg): Likewise.
Return NULL_RTX instead of NULL.

* reg-stack.c (emit_swap_insn): Eliminate warnings.
(subst_asm_stack_regs): Likewise.

* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
warnings.

* dwarf2out.c (output_call_frame_info): Declare i as int.
(build_abbrev_table): Declare n_alloc as int.
(dwarf2out_finish): Initialize die.
* except.c: Declare sjlj_funcdef_number as unsigned.
(connect_post_landing_pads): Declare j as unsigned.
(convert_to_eh_region_ranges): Initialize call_site.
(output_function_exception_table): Initialize tt_format_size.
* expr.c (move_by_pieces_1): Initialize to1.
(store_constructor): Initialize minelt and maxelt.
* flow.c (mark_regs_live_at_end): Declare i as unsigned.
* function.c (instantiate_decls): Avoid signed/unsigned warning.

* c-decl.c (combine_parm_decls): Unused, remove.
* c-tree.h: Remove prototype for combine_parm_decls.

* reload.c (push_reload): Fix warning.
(regno_clobbered_p): Likewise.
* reload1.c (replace_pseudos_in_call_usage): Likewise.
(reload_combine): Likewise.

* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
warnings.
* bitmap.c (bitmap_operation): Change user.
* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.

For cp/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

* call.c (build_op_delete_call): Initialize fn.
(convert_like_real): Delete conditional.
(joust): Initialize *w and *l.
* class.c: Add prototype for binfo_ctor_vtable.
(get_primary_binfo): Initialize result.
* init.c (build_java_class_ref): Initialize name.

* typeck.c (unary_complex_lvalue): Do not duplicate the
argument to modify, pre-, or post-increment when used as an
lvalue and when the argument has side-effects.

For ch/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

* ch-tree.h: Remove prototype for combine_parm_decls, unused
function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43894 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
aj [Tue, 10 Jul 2001 10:38:10 +0000 (10:38 +0000)]
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
* regmove.c (replace_in_call_usage): Fix warnings.
* sched-deps.c (add_dependence): Fix warnings.
* simplify-rtx.c (simplify_subreg): Likewise.
Return NULL_RTX instead of NULL.

* reg-stack.c (emit_swap_insn): Eliminate warnings.
(subst_asm_stack_regs): Likewise.

* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
warnings.

* dwarf2out.c (output_call_frame_info): Declare i as int.
(build_abbrev_table): Declare n_alloc as int.
(dwarf2out_finish): Initialize die.
* except.c: Declare sjlj_funcdef_number as unsigned.
(connect_post_landing_pads): Declare j as unsigned.
(convert_to_eh_region_ranges): Initialize call_site.
(output_function_exception_table): Initialize tt_format_size.
* expr.c (move_by_pieces_1): Initialize to1.
(store_constructor): Initialize minelt and maxelt.
* flow.c (mark_regs_live_at_end): Declare i as unsigned.
* function.c (instantiate_decls): Avoid signed/unsigned warning.

* c-decl.c (combine_parm_decls): Unused, remove.
* c-tree.h: Remove prototype for combine_parm_decls.

* reload.c (push_reload): Fix warning.
(regno_clobbered_p): Likewise.
* reload1.c (replace_pseudos_in_call_usage): Likewise.
(reload_combine): Likewise.

* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
warnings.
* bitmap.c (bitmap_operation): Change user.
* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
For cp/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

* call.c (build_op_delete_call): Initialize fn.
(convert_like_real): Delete conditional.
(joust): Initialize *w and *l.
* class.c: Add prototype for binfo_ctor_vtable.
(get_primary_binfo): Initialize result.
* init.c (build_java_class_ref): Initialize name.

* typeck.c (unary_complex_lvalue): Do not duplicate the
argument to modify, pre-, or post-increment when used as an
lvalue and when the argument has side-effects.

For ch/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

* ch-tree.h: Remove prototype for combine_parm_decls, unused
function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43893 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-10 James Smaby <jsmaby@virgo.umeche.maine.edu>
toon [Tue, 10 Jul 2001 09:41:04 +0000 (09:41 +0000)]
2001-07-10  James Smaby  <jsmaby@virgo.umeche.maine.edu>

* intdoc.in: Fix the definition of COMPLEX ABS.
Remove `the' where inappropriate.
* intdoc.texi: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43892 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-10 Eric Christopher <echristo@redhat.com>
echristo [Tue, 10 Jul 2001 09:32:46 +0000 (09:32 +0000)]
2001-07-10  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (override_options): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43891 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Tue, 10 Jul 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43890 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * target.h (struct gcc_target): New fields init_builtins and
shebs [Tue, 10 Jul 2001 06:18:36 +0000 (06:18 +0000)]
* target.h (struct gcc_target): New fields init_builtins and
expand_builtin.
* target-def.h (TARGET_INIT_BUILTINS): New macro.
(TARGET_EXPAND_BUILTIN): New macro.
(TARGET_INITIALIZER): Add them.
* builtins.c: Include target.h.
(expand_builtin): Use targetm.expand_builtin.
(default_init_builtins): New function.
(default_expand_builtin): New function.
* expr.h (default_init_builtins): Declare.
(default_expand_builtin): Declare.
* c-common.c (c_common_nodes_and_builtins): Use
targetm.init_builtins.
* defaults.h (MD_INIT_BUILTINS): Remove.
* Makefile.in (builtins.o): Depend on target.h.

* config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
* config/arm/arm.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.

* config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
(c4x_init_builtins): Make endlink arg a local.
(c4x_print_operand): Fix typos in adjust_address usages.
* config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
* config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.

* config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
(ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
(ix86_init_builtins): Call new function only if TARGET_MMX.
* config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
* config/i386/i386.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.

* config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
(TARGET_EXPAND_BUILTIN): Define.
* config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
(MD_EXPAND_BUILTIN): Remove.

* doc/tm.texi: Document these changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43888 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ChangeLog: Resolve conflict.
neil [Tue, 10 Jul 2001 05:54:40 +0000 (05:54 +0000)]
* ChangeLog: Resolve conflict.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43887 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-09 Diego Novillo <dnovillo@redhat.com>
dnovillo [Tue, 10 Jul 2001 03:50:25 +0000 (03:50 +0000)]
2001-07-09  Diego Novillo  <dnovillo@redhat.com>

* basic-block.h (tree_node): Forward declare if needed.
(struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
(BLOCK_HEAD_TREE): Define.
(BLOCK_END_TREE): Define.
(struct loops): Rename field 'tree' to 'tree_root'.
* flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
'end_tree'.
(flow_loops_tree_build): Rename reference to field 'tree' to
'tree_root'.
(flow_loops_level_compute): Ditto.
* predict.c (estimate_bb_frequencies): Ditto.
* tree.h (struct tree_common): Add field 'aux'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43886 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/darwin.c (darwin_encode_section_info): Don't mark any
shebs [Tue, 10 Jul 2001 00:49:45 +0000 (00:49 +0000)]
    * config/darwin.c (darwin_encode_section_info): Don't mark any
        DECL_EXTERNAL node as defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43885 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * typeck.c (unary_complex_lvalue): Do not duplicate the
jason [Mon, 9 Jul 2001 23:46:06 +0000 (23:46 +0000)]
    * typeck.c (unary_complex_lvalue): Do not duplicate the
        argument to modify, pre-, or post-increment when used as an
        lvalue and when the argument has side-effects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43884 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * pa.c (pa_init_machine_status, pa_mark_machine_status,
danglin [Mon, 9 Jul 2001 22:55:21 +0000 (22:55 +0000)]
* pa.c (pa_init_machine_status, pa_mark_machine_status,
pa_free_machine_status, hppa_init_pic_save): Delete.
(hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
(hppa_profile_hook): Use hppa_pic_save_rtx.
* pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
hppa_init_pic_save): Delete.
(hppa_pic_save_rtx): Declare.
* pa.md (call, call_value, sibcall, sibcall_value,
builtin_setjmp_receiver): Use hppa_pic_save_rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43883 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-09 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 9 Jul 2001 22:05:44 +0000 (22:05 +0000)]
2001-07-09  Kazu Hirata  <kazu@hxi.com>

* config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
* config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43882 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-09 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 9 Jul 2001 21:47:36 +0000 (21:47 +0000)]
2001-07-09  Phil Edwards  <pme@sources.redhat.com>

* docs/html/configopts.html:  Fix thinko.
* docs/html/27_io/howto.html:  Fix thinko and HTML markup.
* include/bits/stl_iterator.h:  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43878 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoUpdate.
aj [Mon, 9 Jul 2001 20:32:54 +0000 (20:32 +0000)]
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43877 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * output.h: Add declaration of final_forward_branch_p.
aj [Mon, 9 Jul 2001 20:32:33 +0000 (20:32 +0000)]
* output.h: Add declaration of final_forward_branch_p.

* config/i386/i386.c (output_fix_trunc): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43876 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * varray.c: Include errors.h for internal_error and trim_filename
aj [Mon, 9 Jul 2001 20:30:41 +0000 (20:30 +0000)]
* varray.c: Include errors.h for internal_error and trim_filename
declarations.

* Makefile.in (varray.o): Add errors.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43875 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 9 Jul 2001 20:21:48 +0000 (20:21 +0000)]
2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>

* expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
* optabs.c (have_add2_insn): Check whether the add insn chosen
really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
* reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43874 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoForgot to commit with last batch.
law [Mon, 9 Jul 2001 19:47:27 +0000 (19:47 +0000)]
Forgot to commit with last batch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43873 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (OBJS): Add ssa-ccp.o
law [Mon, 9 Jul 2001 19:42:28 +0000 (19:42 +0000)]
* Makefile.in (OBJS): Add ssa-ccp.o
(ssa-ccp.o): Add dependencies.
* toplev.c (DFI_ssa_ccp): New dump file enum.
(dump_file): Add entry for dumping after SSA CCP.
(flag_ssa_ccp): New flag variable.
(f_options): Add -fssa-ccp.
(rest_of_compilation): Run SSA CCP if requested.
* timevar.def (TV_SSA_CCP): New timevar.
* ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
* doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
Fix minor typo in SSA DCE documentation.
* doc/invoke.texi: Add documentation for new flag -fssa-ccp.
Add documentation for new dump option.  Renumber dump files
appropriately.

* po/POTFILES.in: Add ssa-ccp.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43872 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * emit-rtl.c (gen_highpart_mode): New.
hubicka [Mon, 9 Jul 2001 19:38:19 +0000 (19:38 +0000)]
* emit-rtl.c (gen_highpart_mode): New.
* rtl.h (gen_highpart_mode): Declare.
* sparc.md (insn splitters): Use gen_highpart_mode, whenever the
operand can be VOIDmode constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43869 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-09 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 9 Jul 2001 19:37:01 +0000 (19:37 +0000)]
2001-07-09  Phil Edwards  <pme@sources.redhat.com>

* docs/html/explanations.html:  New file.
* docs/html/configopts.html:  Link to it to provide more notes
on cstdio.  Minor markup and spacing fixes.
* docs/html/27_io/howto.html:  Talk about sync_with_stdio.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43868 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * flow.c (redirect_edge_and_branch_force): New.
hubicka [Mon, 9 Jul 2001 19:32:53 +0000 (19:32 +0000)]
* flow.c (redirect_edge_and_branch_force): New.
(can_fallthru): Ensure that basic blocks are succeeding.
(try_optimize_cfg): Do not delete basic block if it is the last one.

* flow.c (try_redirect_by_replacing_jump): Do not remove
jumps with side effects, unlink chain on fallthru edge;
set block for new jump instruction; avoid basic block to
over by line number note.

* flow.c (try_simplify_condjump): Verify that the condjump
is not always falling trought.

Re-install patch:
* flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.

* flow.c (forwarder_block_p): Fix for fallthru blocks.
(try_redirect_by_replacing_jump): Update properly the count
and frequency information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43867 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
kenner [Mon, 9 Jul 2001 18:56:00 +0000 (18:56 +0000)]
* emit-rtl.c (adjust_address, adjust_address_nv): Handle an
address that is a LO_SUM specially.
* explow.c (plus_constant_wide, case LO_SUM): Deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43866 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-lang.c (start_cdtor): Remove extra parameter from start_function.
kenner [Mon, 9 Jul 2001 18:36:15 +0000 (18:36 +0000)]
* c-lang.c (start_cdtor): Remove extra parameter from start_function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43865 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-03 Andrew Haley <aph@redhat.com>
aph [Mon, 9 Jul 2001 15:25:34 +0000 (15:25 +0000)]
2001-07-03  Andrew Haley  <aph@redhat.com>

        * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
        the mode of the memory location.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43864 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
lerdsuwa [Mon, 9 Jul 2001 12:21:56 +0000 (12:21 +0000)]
* include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
for _Expr template template argument.
(_Expr::operator-): Likewise.
(_Expr::operator~): Likewise.
(_Expr::operator!): Likewise.
(_DEFINE_EXPR_UNARY_OPERATOR): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43862 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoMon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
kenner [Mon, 9 Jul 2001 11:20:51 +0000 (11:20 +0000)]
Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
(operand_subword): Use them.
(change_address_1): Renamed from change_address; new arg VALIDATE.
* expr.h: Reflect above changes; change_address now macro.
* alias.c (canon_rtx): Use replace_equiv_address_nv instead of
making MEM.
* cselib.c (add_mem_for_addr): Likewise.
* expr.c (protect_from_queue, emit_move_insn_1): Likewise.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (eliminate_regs): Likewise.
* simplify-rtx.c (simplify_replace_rtx): Likewise.
* caller-save.c (setup_save_areas): Use adjust_address_nv instead of
adjust_addess.
* combine.c (make_extraction, simplify_shift_const): Likewise.
(gen_lowpart_for_combine): Likewise.
* cse.c (gen_lowpart_if_possible): Likewise.
* function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
* expr.c (expand_expr, case COMPONENT_REF): Likewise.
* optabs.c (gen_move_insn): Likewise.
* reload1.c (alter_reg): Likewise.
* simplify-rtx.c (simplify_subreg): Likewise.
* stmt.c (expand_anon_union_decl): Likewise.
* recog.c (validate_replace_rtx_1): Likewise.
(expr.h): Include.
* Makefile.in (recog.o): Add $(EXPR_H).
* explow.c (stabilize): Call replace_equiv_address.
* expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
* final.c (alter_subreg): OFFSET is HOST_WIDE_INT.

2001-07-09  Bo Thorsen  <bo@suse.co.uk>

* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.

2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>

* final.c (output_addr_const): Use target opening and
closing parentheses.
* target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
defaults, add to TARGET_ASM_OUT.
* target.h (struct gcc_target): Add open_paren and close_paren.
* doc/md.texi: Update.
* doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
TARGET_ASM_CLOSE_PAREN.
* config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
Override.
* config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
Override.
* config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
* config/a29k/a29k.h: Similarly.
* config/alpha/alpha.h: Similarly.
* config/arc/arc.h: Similarly.
* config/arm/aof.h: Similarly.
* config/arm/aout.h: Similarly.
* config/avr/avr.h: Similarly.
* config/c4x/c4x.h: Similarly.
* config/clipper/clipper.h: Similarly.
* config/convex/convex.h: Similarly.
* config/d30v/d30v.h: Similarly.
* config/dsp16xx/dsp16xx.h: Similarly.
* config/elxsi/elxsi.h: Similarly.
* config/fr30/fr30.h: Similarly.
* config/h8300/h8300.h: Similarly.
* config/i370/i370.h: Similarly.
* config/i386/i386.h: Similarly.
* config/i860/i860.h: Similarly.
* config/i960/i960.h: Similarly.
* config/ia64/ia64.h: Similarly.
* config/m32r/m32r.h: Similarly.
* config/m68hc11/m68hc11.h: Similarly.
* config/m68k/m68k.h: Similarly.
* config/m88k/m88k.h: Similarly.
* config/mcore/mcore.h: Similarly.
* config/mips/mips.h: Similarly.
* config/mn10200/mn10200.h: Similarly.
* config/mn10300/mn10300.h: Similarly.
* config/ns32k/ns32k.h: Similarly.
* config/pa/pa.h: Similarly.
* config/pdp11/pdp11.h: Similarly.
* config/pj/pj.h: Similarly.
* config/romp/romp.h: Similarly.
* config/rs6000/rs6000.h: Similarly.
* config/sh/sh.h: Similarly.
* config/sparc/sparc.h: Similarly.
* config/v850/v850.h: Similarly.
* config/vax/vax.h: Similarly.
* config/we32k/we32k.h: Similarly.

2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>

* doc/c-tree.texi: Document representation of attributes.

2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>

* doc/tm.texi: Update some places for the rename of target to
targetm.  Fix typo.

2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>

* target.h (struct gcc_target): Add insert_attributes.
* target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
(TARGET_INITIALIZER): Update.
* tree.c, tree.h (default_insert_attributes): New function.
Update comments on other default functions to refer to targetm,
not target.
* doc/tm.texi (INSERT_ATTRIBUTES): Update to document
TARGET_INSERT_ATTRIBUTES.
(SET_DEFAULT_DECL_ATTRIBUTES): Remove.
* c-common.c (decl_attributes): Use targetm.insert_attributes.
Don't use PRAGMA_INSERT_ATTRIBUTES.
* Makefile.in (c-common.o): Depend on $(TARGET_H).
* c-decl.c (start_decl, start_function): Don't call
SET_DEFAULT_DECL_ATTRIBUTES.
* config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
* config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
declare.
* config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
(c4x_check_attribute): Avoid modifying attribute list itself.
(c4x_set_default_attributes): Rename to c4x_insert_attributes.
Make static.
* config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
* config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
declare.
* config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
(sh_pragma_insert_attributes): Rename to sh_insert_attributes.
Make static.
* config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
* config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
declare.
* config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
(v850_set_default_decl_attr): Rename to v850_insert_attributes.
Adjust parameters.  Make static.

2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>

* c-common.c (decl_attributes): Only take a single attributes
parameter.
* c-common.h (decl_attributes): Update prototype.
* c-decl.c (start_decl, start_function): Only take a single
attributes parameter.  Update calls to decl_attributes.
(finish_struct, finish_enum): Update calls to decl_attributes.
(push_parm_decl): Expect unified list of attributes.  Update call
to decl_attributes.
* c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
notype_nested_function, component_declarator,
component_notype_declarator, label): Update calls to
decl_attributes.
(absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
lists that are passed to push_parm_decl.
* c-tree.h (start_function, start_decl): Update prototypes.
* config/sh/sh-protos.h, config/sh/sh.c
(sh_pragma_insert_attributes): Only take a single attributes
parameter.
* config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
* doc/tm.texi (INSERT_ATTRIBUTES): Update.
* objc/objc-act.c (define_decl, generate_objc_symtab_decl,
build_module_descriptor, generate_static_references,
generate_strings, build_selector_translation_table,
generate_descriptor_table, generate_protocols,
generate_ivars_list, generate_dispatch_table,
generate_protocol_list, generate_category,
generate_shared_structures, really_start_method, add_objc_decls,
generate_classref_translation_entry): Update calls to start_decl
and start_function.
(build_tmp_function_decl, start_method_def): Unify attribute lists
that are passed to push_parm_decl.

2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>

* final.c (no_asm_to_stream): New.
(final_scan_insn): Use target structures for prologue ends
and epilogue starts.
* output.h (no_asm_to_stream): New.
* target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
(TARGET_ASM_OUT): Update.
* target.h (struct gcc_target): New members function_end_prologue
and function_begin_epilogue.
* config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
* config/alpha/alpha-protos.h (output_end_prologue): Delete.
* config/alpha/alpha.c (output_end_prologue): Rename to
alpha_output_function_end_prologue.  Use in target struct
and make static.
* config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
* config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
* config/ia64/ia64.c (ia64_output_end_prologue): Rename to
ia64_output_function_end_prologue.  Use in target struct
and make static.
(ia64_function_prologue, ia64_funciton_epilogue): Rename
mistyped prototypes.
* config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
* config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
Delete.
* config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
an use in target struct, make static.
* config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
Delete.

2001-07-08  Richard Henderson  <rth@redhat.com>

* stmt.c (emit_case_nodes): Convert modes properly in low+high test.

2001-07-08  Richard Henderson  <rth@redhat.com>

* config/i386/i386.md: Remove constraints strings from define_split
and define_peephole2 patterns.
(eh_return_si, eh_return_di): Split eh_return_1 for modes.
(eh_return): Use them.

2001-07-08  Richard Henderson  <rth@redhat.com>

* doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
Document MD_FALLBACK_FRAME_STATE_FOR.

2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
elimination.
* config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.

2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>

* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
of the label inside NAME as opposed to just the end of NAME.

2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>

* config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
* config/alpha/alpha.c (alpha_init_machine_status,
alpha_mark_machine_status, alpha_free_machine_status): Delete.
(TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
(vms_valid_decl_attribute_p): Make static, conditionally compile.
* config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.

2001-07-06  Stan Shebs  <shebs@apple.com>

* target.h (targetm): Rename global from "target", so as not to
conflict with local variables.
* c-decl.c: Ditto.
* c-typeck.c: Ditto.
* final.c: Ditto.
* tree.c: Ditto.
* cp/decl.c: Ditto.
* cp/decl2.c: Ditto.
* cp/typeck.c: Ditto.
* 1750a/1750a.c: Ditto.
* a29k/a29k.c: Ditto.
* arc/arc.c: Ditto.
* arm/arm.c: Ditto.
* avr/avr.c: Ditto.
* clipper/clipper.c: Ditto.
* convex/convex.c: Ditto.
* d30v/d30v.c: Ditto.
* dsp16xx/dsp16xx.c: Ditto.
* elxsi/elxsi.c: Ditto.
* fr30/fr30.c: Ditto.
* h8300/h8300.c: Ditto.
* i370/i370.c: Ditto.
* i386/i386.c: Ditto.
* i860/i860.c: Ditto.
* i960/i960.c: Ditto.
* ia64/ia64.c: Ditto.
* m32r/m32r.c: Ditto.
* m68hc11/m68hc11.c: Ditto.
* m68k/m68k.c: Ditto.
* m88k/m88k.c: Ditto.
* mips/mips.c: Ditto.
* ns32k/ns32k.c: Ditto.
* pa/pa.c: Ditto.
* pdp11/pdp11.c: Ditto.
* romp/romp.c: Ditto.
* rs6000/rs6000.c: Ditto.
* sh/sh.c: Ditto.
* sparc/sparc.c: Ditto.
* vax/vax.c: Ditto.
* we32k/we32k.c: Ditto.
* doc/tm.texi: Update the manual to match.

2001-07-06  Richard Henderson  <rth@redhat.com>

* except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
DWARF2_UNWIND_INFO not just whether it is defined.

2001-07-06  Diego Novillo  <dnovillo@redhat.com>

* combine.c (combine_simplify_rtx): Also recompute 'mode' if the
call to simplify_binary_operation returns a new pattern.

2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>

* glimits.h (__SHRT_MAX__): New.
(SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
(SHRT_MAX): Define in terms of __SHRT_MAX__.

2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>

* alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
avoid warnings.

2001-07-06  Richard Henderson  <rth@redhat.com>

* bitmap.c (bitmap_release_memory): Move adjacent to the
allocation functions.
(bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
the implementation.  Binary search for the set bit.
(bitmap_union_of_diff): Allocate the temporary on the stack
instead of using xmalloc.

2001-07-06  Richard Henderson  <rth@redhat.com>

* genrecog.c (validate_pattern): Warn for constraints in
define_{expand,split,peephole2}.  Remove strict_low_part
before looking up match_dup.

2001-07-06  DJ Delorie  <dj@redhat.com>

* doc/gcc.texi (Makefile): Rename to be a more general purpose
chapter about various build hints and history.  Add section
talking about the various types of native and cross builds.

2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>

* Makefile.in (final.o): Depend on target.h.
* final.c: Include target.h.
(default_function_pro_epilogue): New.
(final_start_function): Use target structure for function prologues.
(final_end_function): Use target structure for function epilogues.
* fold-const.c (real_hex_to_f): Constify s and p.
* output.h (default_function_pro_epilogue): New.
* real.h (real_hex_to_f): Update prototype.
* target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
(TARGET_INITIALIZER): Update.
* target.h (gcc_target): Add struct asm_out.
* doc/tm.texi: Update.

config:
Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
in cpu/cpu.c, or rename old functions consistently.  Take
a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
redundant macros and prototypes.  Make new functions static.

* 1750a/1750a.c: Similarly.
* 1750a/1750a.h: Similarly.
* a29k/a29k-protos.h: Similarly.
* a29k/a29k.c: Similarly.
* a29k/a29k.h: Similarly.
* arc/arc-protos.h: Similarly.
* arc/arc.c: Similarly.
* arc/arc.h: Similarly.
* arm/arm-protos.h: Similarly.
* arm/arm.c: Similarly.
* arm/arm.h: Similarly.
* avr/avr-protos.h: Similarly.
* avr/avr.c: Similarly.
* avr/avr.h: Similarly.
* clipper/clipper-protos.h: Similarly.
* clipper/clipper.c: Similarly.
* clipper/clipper.h: Similarly.
* convex/convex.c: Similarly.
* convex/convex.h: Similarly.
* d30v/d30v-protos.h: Similarly.
* d30v/d30v.c: Similarly.
* d30v/d30v.h: Similarly.
* d30v/d30v.md: Similarly.
* dsp16xx/dsp16xx-protos.h: Similarly.
* dsp16xx/dsp16xx.c: Similarly.
* dsp16xx/dsp16xx.h: Similarly.
* elxsi/elxsi.c: Similarly.
* elxsi/elxsi.h: Similarly.
* fr30/fr30.c: Similarly.
* fr30/fr30.md: Similarly.
* h8300/h8300-protos.h: Similarly.
* h8300/h8300.c: Similarly.
* h8300/h8300.h: Similarly.
* i370/i370-protos.h: Similarly.
* i370/i370.c: Similarly.
* i370/i370.h: Similarly.
* i386/i386.c: Similarly.
* i386/osf1elf.h: Similarly.
* i386/osfrose.h: Similarly.
* i860/i860-protos.h: Similarly.
* i860/i860.c: Similarly.
* i860/i860.h: Similarly.
* i960/i960-protos.h: Similarly.
* i960/i960.c: Similarly.
* i960/i960.h: Similarly.
* ia64/ia64-protos.h: Similarly.
* ia64/ia64.c: Similarly.
* ia64/ia64.h: Similarly.
* m32r/m32r-protos.h: Similarly.
* m32r/m32r.c: Similarly.
* m32r/m32r.h: Similarly.
* m68hc11/m68hc11-protos.h: Similarly.
* m68hc11/m68hc11.c: Similarly.
* m68hc11/m68hc11.h: Similarly.
* m68k/crds.h: Similarly.
* m68k/dpx2.h: Similarly.
* m68k/m68k-protos.h: Similarly.
* m68k/m68k.c: Similarly.
* m68k/m68k.h: Similarly.
* m68k/news.h: Similarly.
* m88k/m88k-protos.h: Similarly.
* m88k/m88k.c: Similarly.
* m88k/m88k.h: Similarly.
* mips/mips-protos.h: Similarly.
* mips/mips.c: Similarly.
* mips/mips.h: Similarly.
* ns32k/merlin.h: Similarly.
* ns32k/ns32k.c: Similarly.
* ns32k/ns32k.h: Similarly.
* ns32k/tek6000.h: Similarly.
* pa/pa-protos.h: Similarly.
* pa/pa.c: Similarly.
* pa/pa.h: Similarly.
* pdp11/2bsd.h: Similarly.
* pdp11/pdp11-protos.h: Similarly.
* pdp11/pdp11.c: Similarly.
* pdp11/pdp11.h: Similarly.
* romp/romp-protos.h: Similarly.
* romp/romp.c: Similarly.
* romp/romp.h: Similarly.
* rs6000/rs6000-protos.h: Similarly.
* rs6000/rs6000.c: Similarly.
* rs6000/rs6000.h: Similarly.
* rs6000/sysv4.h: Similarly.
* sh/sh-protos.h: Similarly.
* sh/sh.c: Similarly.
* sh/sh.h: Similarly.
* sparc/sparc-protos.h: Similarly.
* sparc/sparc.c: Similarly.
* sparc/sparc.h: Similarly.
* vax/vax.c: Similarly.
* vax/vax.h: Similarly.
* vax/vms.h: Similarly.
* we32k/we32k.c: Similarly.
* we32k/we32k.h: Similarly.

Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)

* basic-block.h (first_insn_after_basic_block_note): Declare.
* flow.c (first_insn_after_basic_block_note): Define.  Moved
from...
* ssa.c (first_insn_after_basic_block_note): Remove.
* ssa-dce.c (find_inherently_necessary): Consider BARRIERs
necessary.
(ssa_eliminate_dead_code): Properly update the CFG and PHI
nodes when we find a dead conditional branch.  Insert BARRIERs
after any blocks with no successors, but which do not have
any BARRIERs.

2001-07-06  Zack Weinberg  <zackw@stanford.edu>

* varray.c (varray_check_failed): Use internal_error.

2001-07-05  Andrew Haley  <aph@redhat.com>

* Makefile.in (LIB2_DIVMOD_FUNCS): New.
(LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
* mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.

2001-07-02  Jason Merrill  <jason_merrill@redhat.com>

* dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
reference if the target constant is also a SYMBOL_REF.

2001-07-05  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (MASK_MIPS3900): Remove.
(MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
(TARGET_MIPS3900): Change to use mips_arch.
(TARGET_MIPS4000): New.
(TARGET_MIPS4100): New.
(TARGET_MIPS4300): New.
(TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
(SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
for -mipsX.
(GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
(ISA_HAS_BRANCHLIKELY): To here.
(CC1_CPU_SPEC):  New.
(CC1_SPEC): Use here.  Remove 4650 and 3900 options.
(mips_arch_string): Declare.
(mips_arch): Declare.
(TARGET_OPTIONS): Add -march and -mtune.

* config/mips/mips.c (mips_arch_string): New.
(mips_arch): New.
(override_options): Handle -march for codegen and -mtune
for scheduling. Use mips_arch. Move tx39 target default here.
(mips_parse_cpu): Move error message to override_options.

* config/mips/r3900.h (TARGET_DEFAULT): Remove.

* config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.

* doc/invoke.texi (Option Summary): Add -march and -mtune entries.
(MIPS Options): Ditto. Change mcpu entry to historical text.

2001-07-05  H.J. Lu  (hjl@gnu.org)

        * config/mips/mips.c (mips_parse_cpu): New function to parse
        -march=*/-mcpu=*.

2001-07-05  Jim Wilson  <wilson@redhat.com>

* config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
* config/ia64/t-ia64: Likewise.
(LIB1ASMFUNCS): Update comment.

2001-07-05  David Edelsohn  <edelsohn@gnu.org>

* doc/install.texi (Install GCC: Binaries): Fix typo.

2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
reference using the stack pointer, adjust it since we push Y
temporarily.
("*ashrsi3"): Likewise.
("*lshrsi3"): Likewise.

2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
when -fomit-frame-pointer is used.

2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>

* flow.c: Reverse Jan Hubicka's patch of 02July2001.
(try_redirect_by_replacing_jump): Reverse updating properly the
count and frequency information.  Reverse removing cc0 setter.
(forwarder_block_p): Reverse fixing for fallthru blocks.

2001-07-05  DJ Delorie  <dj@redhat.com>

* gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
(translate_options): If the above is defined, use it to map
given options to new options.
* doc/tm.texi: Document it.

2001-07-05  Brad Lucier <lucier@math.purdue.edu>
    Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

* doc/invoke.texi (Optimize Options): Document that -fgcse may
cause programs using computed gotos to run more slowly.

2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.

2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>

* dwarf2out.c (output_loc_list): Use an all ones mask for
.text asm output and don't rely on long long
literals. Reformat some long lines.

2001-07-05  Andreas Jaeger  <aj@suse.de>

* doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
section.

2001-07-04  Daniel Berlin  <dan@cgsoftware.com>

* dwarf2out.c (dwarf2out_define): Update comment.
(dwarf2out_undef): Ditto.
(dwarf2out_start_source_file): Ditto.
(dwarf2out_end_source_file): Ditto.
(dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
since we never call the start/end debug hook for the primary file.

2001-07-04  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (get_shift_alg): Remove an extra operand
from shll.

2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>

* cppinit.c (remove_dup_dirs): Inform if a system include
        directory is being reordered.
* doc/invoke.texi (Directory Options): GCC warns if you hide a
system include.
* doc/cpp.texi (Search Paths): Likewise.
* doc/gcc.texi (Interoperation): Remove information about
-I/usr/include.

2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>

* varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
(VARRAY_TOP_CHAR_PTR): Likewise.

2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* gcc.c (process_command): Don't assign elements of a const char*.

Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* emit-rtl.c (change_address): Don't abort if invalid address while
reload is in progress.

2001-07-04  Daniel Berlin  <dan@cgsoftware.com>

* c-lex.c (cb_file_change): Pass line number to
debug_start_source_file.
(cb_undefine): Pass correct line number to debug_undef.

* toplev.c (debug_start_source_file): Add line number to
parameters. Pass it along to dwarf2out_start_source_file.
(decode_g_option): Stop resetting debug level back to normal when
we change debug formats, unless the current level is
none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
3).

* toplev.h (debug_start_source_file): Add line number to
parameters.

* dwarf2out.h (dwarf2out_start_source_file): Add line number to
parameters.

* dwarf2out.c (dwarf2out_start_source_file): Add line number to
parameters.
Output debug_macinfo data for starting file if requested.
(dwarf2out_end_source_file): Output debug_macinfo data for ending
file if requested.
(dwarf2out_define): Output debug_macinfo data for defining a macro
if requested.
(dwarf2out_undef): Output debug_macinfo data for undefining a
macro if requested.
(DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
(DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
(macinfo_section_label): New. DWARF2 macro info section label.
(dwarf2out_init): If we want macro info, output the start label
for the section.
(dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
attribute to the compilation unit die pointing to the macro info.

2001-07-04  Daniel Berlin  <dan@cgsoftware.com>

* dwarf2out.c (new_loc_list): Move to inside #ifdef
DWARF2_DEBUGGING_INFO.
(add_loc_descr_to_loc_list): Ditto.
(output_loc_list): Ditto.
Also, fix thinko in curr not being initialized.
(gen_internal_sym): Ditto.

Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* emit-rtl.c (replace_equiv_address): New function.
* expr.h (replace_equiv_address): New declaration.
* explow.c (validize_mem): Call it instead of change_address and
also call if -fforce-addr and address is constant.
* expr.c: Replace more calls to change_address with adjust_address
and/or replace_equiv_address or to validize_mem.
* function.c, regmove.c, config/alpha/alpha.c: Likewise.
* config/arm/arm.md, config/clipper/clipper.md: Likewise.
* config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
* config/i370/i370.md, config/i860/i860.md: Likewise.
* config/i960/i960.md, config/mips/mips.c: Likewise.
* config/mips/mips.md, config/pa/pa.md: Likewise.
* config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.md, config/sh/sh.md: Likewise.

2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.

* bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
function.

2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>

* doc/include: New directory.
* doc/fdl.texi: Move to doc/include/fdl.texi.
* doc/texinfo.tex: Move to doc/include/texinfo.tex.
* doc/include/funding.texi, doc/include/gpl.texi: New files.
* doc/gcc.texi: Use funding.texi and gpl.texi.
* Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
$(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
Update dependencies and use -I $(docdir)/include.

2001-07-04  Anthony Green  <green@redhat.com>

* config/v850/t-v850 (v850-c.o): Add missing dependencies.

2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

* doc/install.texi (sparc64-*-*): Remove garbage.

Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>

* i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
Fix typo in last change to use adjust_address.

2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

* doc/install.texi (Specific): Update information for *-*-solaris*.

Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* explow.c (plus_constant_wide): Reinitialize Y for restart.

2001-07-03  Stan Shebs  <shebs@apple.com>

* config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
case for flag_no_mach_text_sections.
(EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
* config/darwin.c (flag_no_mach_text_sections): Remove.
* config/darwin-protos.h (darwin_init_pragma): Remove decl.

Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* explow.c (plus_constant_wide, case PLUS): Call find_constant_term
and avoid checking for constant as first operand.
* recog.c (find_constant_term_loc): No longer static.
(adj_offettable_operand): Delete.
* rtl.h (adj_offsettable_operand): Delete declaration.
(find_constant_term): Add declaration.
* caller-save.c: Replace calls to adj_offsettable_operand with calls
to adjust_address.
* config/arm/arm.c, config/c4x/c4x.c: Likewise.
* config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
* config/i386/i386.c, config/i386/i386.md: Likewise.
* config/i860/i860.c, config/i960/i960.c: Likewise.
* config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
* config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
* config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
* config/mips/mips.c, config/mips/mips.md: Likewise.
* config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
* config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
* config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
* config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
* config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
* config/ns32k/ns32k.md: Likewise.

2001-07-03  Zack Weinberg  <zackw@stanford.edu>

* rtl.c (copy_rtx): Handle 'T' format letter.
* gensupport.c (collect_insn_data): Likewise.
* print-rtl.c (print_rtx): Print 'T' slots like 's'.

2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>

* doc/invoke.texi (Directory Options): Specifiy range for <N> in
-B option.  Use 'dir' not 'foo' as example directory name.

2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.

2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>

* doc/cppinternals.texi: Improve formatting and logical markup.

2001-07-03  Andreas Jaeger  <aj@suse.de>

* Makefile.in (insn-recog.o): Add dependency on reload.h.

* genrecog.c (write_header): Include reload.h for prototypes in
insn-recog.c.

2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>

config:
* i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
i386_pe_valid_type_attribute_p): Add.
* i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
* i386/winnt.c (i386_valid_decl_attribute_p): Return directly.

Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* explow.c (plus_constant_wide, case LO_SUM): New case.
(plus_constant_for_output_wide): Delete.
* rtl.h (plus_constant_for_output): Delete.
* alias.c (canon_rtx, init_alias_analysis): Call plus_constant
instead of plus_constant_for_output.
* recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
* config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
* config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
* config/sparc/sparc.md: Likewise.
Convert some change_address calls to adjust_address.

2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>

* doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
documentation of -std and -Wwrite-strings.

2001-07-02  Geoffrey Keating  <geoffk@redhat.com>

* cse.c (canon_hash): Don't register registers in very small
register classes, as extending their lifetime might cause
reload to fail.

Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>

* flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.

* flow.c (forwarder_block_p): Fix for fallthru blocks.
(try_redirect_by_replacing_jump): Update properly the count
and frequency information.

Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)

* toplev.c (dump_file_index): Move SSA dumps just after first
jump dump.
(dump_file): Corresponding changes.
(rest_of_compilation): Move SSA path to just after the first
jump pass.
* doc/gcc.texi (Passes): Update due to movement of SSA path.
* doc/invoke.texi: Update dump file #s as they were completely
out of date with reality.

2001-07-02  Geoffrey Keating  <geoffk@redhat.com>

* doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.

* expr.c (emit_move_insn_1): Deal with non-default
STACK_PUSH_CODE.

* expr.c (emit_single_push_insn): Fix warning.

2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>

* expr.c (emit_move_insn_1): Avoid modifying
cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.

Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* emit-rtl.c (adjust_address): New function.
* expr.h (adjust_address): Add declaration.
* builtins.c: Replace some calls to change_address with calls to it
or to validize_mem.
* caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
* function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
* config/arm/arm.c, config/convex/convex.c: Likewise.
* config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
* config/i386/i386.c, config/i386/i386.md: Likewise.
* config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
* config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
* config/m88k/m88k.c, config/mips/mips.md: Likewise.
* config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
* config/sh/sh.c, config/sparc/sparc.md: Likewise.

2001-07-02  Jim Wilson  <wilson@redhat.com>

* config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.

2001-07-02  Steve Ellcey  <sje@cup.hp.com>

        * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
        * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.

2001-07-02  Zack Weinberg  <zackw@stanford.edu>

* cppinit.c (lang_defaults): New table.
(set_lang): Just read from lang_defaults into the live options
structure.

2001-07-02  Zack Weinberg  <zackw@stanford.edu>

* Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
* doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
* doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.

2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* doc/install.texi: Various spelling and markup fixes.
(Installing GCC): Component specific installation instructions are
gone.
Fix reference.
Warn about removing old install dir in the presence of shared libs.
(Configuration): Invoke with options target to match configure
--help.
Consistently refer to gas, gld pathnames.
Invert --enable-multilib documentation.
Remove references to old compiler versions.

Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.

2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
section.
(Specific, mips*-sgi-irix5): Note IDO download.
Reworded MIPS C hints.
Use GNU as instead of GAS.
Markup fixes.
Removed SGI Freeware reference, IRIX 6 only.
(Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
Note N64 library requirement/workaround.
Update O32 hints.
Complete list of structure passing bug victims.

2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

* doc/install.texi: Remove CVS Id.

2001-07-02  Andreas Jaeger  <aj@suse.de>

* ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
(find_inherently_necessary): Remove unused variable.

2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>

* c-common.h (TDI_inlined): New ast dump phase.
(dump_flag_name): New function.
* c-dump.c (dump_files): Add inlined phase.
(dump_flag_name): Define.
* doc/invoke.texi (-fdump-ast-inlined): Document.

Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* stor-layout.c (layout_decl): Revert change to handling of alignment
in packed types.

Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
for FIELD_DECL.

2001-07-01  Geoffrey Keating  <geoffk@redhat.com>

* doc/tm.texi (FUNCTION_ARG): Document that the last call
is special.

2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>

* tlink.c (recompile_files): Remove COMPILER_PATH and
LIBRARY_PATH from the environment.

2001-07-01  Zack Weinberg  <zackw@stanford.edu>

* c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
enumerators.
(OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.

* c-parse.in (OBJC_STRING): Kill.
(objc_string): Decompose to [objc_string] '@' STRING.
(reswords): Take the leading '@' off all the Objective C keywords.
(objc_rid_sans_at): Kill.
(init_reswords): Don't initialize it.
(yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
(_yylex): Kill reconsider label.  Look ahead one token after
an '@'; if we get an identifier, check whether it's an
Objective C @-keyword.  If so, return the keyword.  Otherwise,
put back the token and return the '@' as a terminal.

* cpplib.c (lex_macro_node): Remove unnecessary check for
leading '@' on identifier.  Clarify control flow and commentary.

Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* cse.c (new_label_ref): Variable deleted.
(insert): Remove set of new_label_ref.
(check_for_label_ref): New function.
(cse_basic_block): Don't check new_label_ref; call check_for_label_ref.

See ChangeLog.5 for earlier changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43861 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoImplement vtable jumps for x86-64.
bo [Mon, 9 Jul 2001 09:34:43 +0000 (09:34 +0000)]
Implement vtable jumps for x86-64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43860 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Mon, 9 Jul 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43859 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tm.texi: Fix markup.
neil [Mon, 9 Jul 2001 06:17:25 +0000 (06:17 +0000)]
* tm.texi: Fix markup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43857 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * final.c (output_addr_const): Use target opening and
neil [Mon, 9 Jul 2001 06:10:09 +0000 (06:10 +0000)]
* final.c (output_addr_const): Use target opening and
closing parentheses.
* target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
defaults, add to TARGET_ASM_OUT.
* target.h (struct gcc_target): Add open_paren and close_paren.
* doc/md.texi: Update.
* doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
TARGET_ASM_CLOSE_PAREN.
config:
* i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
Override.
* pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
Override.
* 1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
* a29k/a29k.h: Similarly.
* alpha/alpha.h: Similarly.
* arc/arc.h: Similarly.
* arm/aof.h: Similarly.
* arm/aout.h: Similarly.
* avr/avr.h: Similarly.
* c4x/c4x.h: Similarly.
* clipper/clipper.h: Similarly.
* convex/convex.h: Similarly.
* d30v/d30v.h: Similarly.
* dsp16xx/dsp16xx.h: Similarly.
* elxsi/elxsi.h: Similarly.
* fr30/fr30.h: Similarly.
* h8300/h8300.h: Similarly.
* i370/i370.h: Similarly.
* i386/i386.h: Similarly.
* i860/i860.h: Similarly.
* i960/i960.h: Similarly.
* ia64/ia64.h: Similarly.
* m32r/m32r.h: Similarly.
* m68hc11/m68hc11.h: Similarly.
* m68k/m68k.h: Similarly.
* m88k/m88k.h: Similarly.
* mcore/mcore.h: Similarly.
* mips/mips.h: Similarly.
* mn10200/mn10200.h: Similarly.
* mn10300/mn10300.h: Similarly.
* ns32k/ns32k.h: Similarly.
* pa/pa.h: Similarly.
* pdp11/pdp11.h: Similarly.
* pj/pj.h: Similarly.
* romp/romp.h: Similarly.
* rs6000/rs6000.h: Similarly.
* sh/sh.h: Similarly.
* sparc/sparc.h: Similarly.
* v850/v850.h: Similarly.
* vax/vax.h: Similarly.
* we32k/we32k.h: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43856 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/c-tree.texi: Document representation of attributes.
jsm28 [Sun, 8 Jul 2001 23:12:31 +0000 (23:12 +0000)]
* doc/c-tree.texi: Document representation of attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43854 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/tm.texi: Update some places for the rename of target to
jsm28 [Sun, 8 Jul 2001 22:39:06 +0000 (22:39 +0000)]
* doc/tm.texi: Update some places for the rename of target to
targetm.  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43852 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * target.h (struct gcc_target): Add insert_attributes.
jsm28 [Sun, 8 Jul 2001 20:05:17 +0000 (20:05 +0000)]
* target.h (struct gcc_target): Add insert_attributes.
* target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
(TARGET_INITIALIZER): Update.
* tree.c, tree.h (default_insert_attributes): New function.
Update comments on other default functions to refer to targetm,
not target.
* doc/tm.texi (INSERT_ATTRIBUTES): Update to document
TARGET_INSERT_ATTRIBUTES.
(SET_DEFAULT_DECL_ATTRIBUTES): Remove.
* c-common.c (decl_attributes): Use targetm.insert_attributes.
Don't use PRAGMA_INSERT_ATTRIBUTES.
* Makefile.in (c-common.o): Depend on $(TARGET_H).
* c-decl.c (start_decl, start_function): Don't call
SET_DEFAULT_DECL_ATTRIBUTES.
* config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
* config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
declare.
* config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
(c4x_check_attribute): Avoid modifying attribute list itself.
(c4x_set_default_attributes): Rename to c4x_insert_attributes.
Make static.
* config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
* config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
declare.
* config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
(sh_pragma_insert_attributes): Rename to sh_insert_attributes.
Make static.
* config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
* config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
declare.
* config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
(v850_set_default_decl_attr): Rename to v850_insert_attributes.
Adjust parameters.  Make static.

cp:
* decl.c (start_decl): Don't call SET_DEFAULT_DECL_ATTRIBUTES.
(start_function): Don't call SET_DEFAULT_DECL_ATTRIBUTES.  Call
cplus_decl_attributes even if attrs is NULL.
* friend.c (do_friend): Don't call SET_DEFAULT_DECL_ATTRIBUTES.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43851 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-common.c (decl_attributes): Only take a single attributes
jsm28 [Sun, 8 Jul 2001 19:58:19 +0000 (19:58 +0000)]
* c-common.c (decl_attributes): Only take a single attributes
parameter.
* c-common.h (decl_attributes): Update prototype.
* c-decl.c (start_decl, start_function): Only take a single
attributes parameter.  Update calls to decl_attributes.
(finish_struct, finish_enum): Update calls to decl_attributes.
(push_parm_decl): Expect unified list of attributes.  Update call
to decl_attributes.
* c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
notype_nested_function, component_declarator,
component_notype_declarator, label): Update calls to
decl_attributes.
(absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
lists that are passed to push_parm_decl.
* c-tree.h (start_function, start_decl): Update prototypes.
* config/sh/sh-protos.h, config/sh/sh.c
(sh_pragma_insert_attributes): Only take a single attributes
parameter.
* config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
* doc/tm.texi (INSERT_ATTRIBUTES): Update.
* objc/objc-act.c (define_decl, generate_objc_symtab_decl,
build_module_descriptor, generate_static_references,
generate_strings, build_selector_translation_table,
generate_descriptor_table, generate_protocols,
generate_ivars_list, generate_dispatch_table,
generate_protocol_list, generate_category,
generate_shared_structures, really_start_method, add_objc_decls,
generate_classref_translation_entry): Update calls to start_decl
and start_function.
(build_tmp_function_decl, start_method_def): Unify attribute lists
that are passed to push_parm_decl.

cp:
* decl.c (grokdeclarator), decl2.c (cplus_decl_attributes): Update
calls to decl_attributes.

testsuite:
* gcc.c-torture/compile/20010701-1.c,
g++.old-deja/g++.ext/attrib6.C: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43850 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * final.c (no_asm_to_stream): New.
neil [Sun, 8 Jul 2001 19:55:57 +0000 (19:55 +0000)]
* final.c (no_asm_to_stream): New.
(final_scan_insn): Use target structures for prologue ends
and epilogue starts.
* output.h (no_asm_to_stream): New.
* target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
(TARGET_ASM_OUT): Update.
* target.h (struct gcc_target): New members function_end_prologue
and function_begin_epilogue.
config:
* 1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
* alpha/alpha-protos.h (output_end_prologue): Delete.
* alpha/alpha.c (output_end_prologue): Rename to
alpha_output_function_end_prologue.  Use in target struct
and make static.
* alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
* ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
* ia64/ia64.c (ia64_output_end_prologue): Rename to
ia64_output_function_end_prologue.  Use in target struct
and make static.
(ia64_function_prologue, ia64_funciton_epilogue): Rename
mistyped prototypes.
* ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
* m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue): Delete.
* m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
an use in target struct, make static.
* ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43849 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
rth [Sun, 8 Jul 2001 16:03:26 +0000 (16:03 +0000)]
    * stmt.c (emit_case_nodes): Convert modes properly in low+high test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43847 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.md: Remove constraints strings from define_split
rth [Sun, 8 Jul 2001 08:53:30 +0000 (08:53 +0000)]
    * config/i386/i386.md: Remove constraints strings from define_split
        and define_peephole2 patterns.
        (eh_return_si, eh_return_di): Split eh_return_1 for modes.
        (eh_return): Use them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43846 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sun, 8 Jul 2001 07:16:47 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43845 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
rth [Sun, 8 Jul 2001 07:07:11 +0000 (07:07 +0000)]
    * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
        Document MD_FALLBACK_FRAME_STATE_FOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43843 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoUpdate email address.
mrs [Sun, 8 Jul 2001 00:24:47 +0000 (00:24 +0000)]
Update email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43842 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-07 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 7 Jul 2001 18:51:58 +0000 (18:51 +0000)]
2001-07-07  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/Makefile.in: Update config.h dependencies.
* libI77/configure.in: Define _XOPEN_SOURCE and
_FILE_OFFSET_BITS unconditionally.
* libI77/configure: Rebuilt.
* libI77/config.h.in: Rebuilt.
* libI77/endfile.c (t_runc): Replace rewind by FSEEK.
* libI77/err.c (f__nowwriting): The type of `loc' is off_t.
* libI77/open.c (f_open): Replace rewind by FSEEK.
* libI77/rewind.c: Include config.h.  (f_rew): Replace
rewind by FSEEK.
* libI77/sfe.c: Include config.h.
* libI77/wsfe.c: Ditto.
* libU77/configure.in: Define _XOPEN_SOURCE and
_FILE_OFFSET_BITS unconditionally.
* libU77/configure: Rebuilt.
* libU77/config.hin: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43841 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * verify.c: Don't use // comments.
zack [Sat, 7 Jul 2001 18:26:11 +0000 (18:26 +0000)]
* verify.c: Don't use // comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43840 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
ciceron [Sat, 7 Jul 2001 16:42:17 +0000 (16:42 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
elimination.
* config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43838 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAppend # to end of the label inside NAME as opposed to just the end of NAME.
nickc [Sat, 7 Jul 2001 15:02:05 +0000 (15:02 +0000)]
Append # to end of the label inside NAME as opposed to just the end of NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43837 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Makefile.am (libgcj.jar): Don't recursively make
jsturm [Sat, 7 Jul 2001 14:49:43 +0000 (14:49 +0000)]
* Makefile.am (libgcj.jar): Don't recursively make
built_java_source_files.  Avoid long command lines.
Don't change to $(srcdir) to invoke javac.
(libgcj.la, libgcjx.la); Avoid long command lines.
($(nat_headers),$(x_nat_headers)): Depend on libgcj.jar.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43836 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-07 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 7 Jul 2001 14:04:22 +0000 (14:04 +0000)]
2001-07-07  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/Makefile.in: Add necessary dependencies on config.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43835 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sat, 7 Jul 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43833 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
neil [Sat, 7 Jul 2001 06:52:34 +0000 (06:52 +0000)]
* config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
* config/alpha/alpha.c (alpha_init_machine_status,
alpha_mark_machine_status, alpha_free_machine_status): Delete.
(TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
(vms_valid_decl_attribute_p): Make static, conditionally compile.
* config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43832 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * target.h (targetm): Rename global from "target", so as not to
shebs [Sat, 7 Jul 2001 01:07:22 +0000 (01:07 +0000)]
    * target.h (targetm): Rename global from "target", so as not to
        conflict with local variables.
        * c-decl.c: Ditto.
        * c-typeck.c: Ditto.
        * final.c: Ditto.
        * tree.c: Ditto.
        * cp/decl.c: Ditto.
        * cp/decl2.c: Ditto.
        * cp/typeck.c: Ditto.
        * 1750a/1750a.c: Ditto.
        * a29k/a29k.c: Ditto.
        * arc/arc.c: Ditto.
        * arm/arm.c: Ditto.
        * avr/avr.c: Ditto.
        * clipper/clipper.c: Ditto.
        * convex/convex.c: Ditto.
        * d30v/d30v.c: Ditto.
        * dsp16xx/dsp16xx.c: Ditto.
        * elxsi/elxsi.c: Ditto.
        * fr30/fr30.c: Ditto.
        * h8300/h8300.c: Ditto.
        * i370/i370.c: Ditto.
        * i386/i386.c: Ditto.
        * i860/i860.c: Ditto.
        * i960/i960.c: Ditto.
        * ia64/ia64.c: Ditto.
        * m32r/m32r.c: Ditto.
        * m68hc11/m68hc11.c: Ditto.
        * m68k/m68k.c: Ditto.
        * m88k/m88k.c: Ditto.
        * mips/mips.c: Ditto.
        * ns32k/ns32k.c: Ditto.
        * pa/pa.c: Ditto.
        * pdp11/pdp11.c: Ditto.
        * romp/romp.c: Ditto.
        * rs6000/rs6000.c: Ditto.
        * sh/sh.c: Ditto.
        * sparc/sparc.c: Ditto.
        * vax/vax.c: Ditto.
        * we32k/we32k.c: Ditto.
        * doc/tm.texi: Update the manual to match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43831 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
rth [Fri, 6 Jul 2001 23:13:42 +0000 (23:13 +0000)]
    * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
        DWARF2_UNWIND_INFO not just whether it is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43829 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
gdr [Fri, 6 Jul 2001 23:09:30 +0000 (23:09 +0000)]
    * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
        * libmath/Makefile.in: Regenerate.
        * libmath/expf.c: Remove.
        * libmath/atan2f.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43828 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-06 Diego Novillo <dnovillo@redhat.com>
dnovillo [Fri, 6 Jul 2001 22:39:17 +0000 (22:39 +0000)]
2001-07-06  Diego Novillo  <dnovillo@redhat.com>

* combine.c (combine_simplify_rtx): Also recompute 'mode' if the
call to simplify_binary_operation returns a new pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43826 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * glimits.h (__SHRT_MAX__): New.
rth [Fri, 6 Jul 2001 21:44:58 +0000 (21:44 +0000)]
    * glimits.h (__SHRT_MAX__): New.
        (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
        (SHRT_MAX): Define in terms of __SHRT_MAX__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43825 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gettextP.h (SWAP): Change parameter type to unsigned int.
rth [Fri, 6 Jul 2001 21:32:49 +0000 (21:32 +0000)]
    * gettextP.h (SWAP): Change parameter type to unsigned int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43824 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
rth [Fri, 6 Jul 2001 21:30:44 +0000 (21:30 +0000)]
    * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
        avoid warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43823 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * bitmap.c (bitmap_release_memory): Move adjacent to the
rth [Fri, 6 Jul 2001 21:24:04 +0000 (21:24 +0000)]
    * bitmap.c (bitmap_release_memory): Move adjacent to the
        allocation functions.
        (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
        the implementation.  Binary search for the set bit.
        (bitmap_union_of_diff): Allocate the temporary on the stack
        instead of using xmalloc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43822 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * genrecog.c (validate_pattern): Warn for constraints in
rth [Fri, 6 Jul 2001 20:39:56 +0000 (20:39 +0000)]
    * genrecog.c (validate_pattern): Warn for constraints in
        define_{expand,split,peephole2}.  Remove strict_low_part
        before looking up match_dup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43821 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* doc/gcc.texi (Makefile): Rename to be a more general purpose
dj [Fri, 6 Jul 2001 19:17:50 +0000 (19:17 +0000)]
* doc/gcc.texi (Makefile): Rename to be a more general purpose
chapter about various build hints and history.  Add section
talking about the various types of native and cross builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43819 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (final.o): Depend on target.h.
neil [Fri, 6 Jul 2001 18:53:02 +0000 (18:53 +0000)]
* Makefile.in (final.o): Depend on target.h.
* final.c: Include target.h.
(default_function_pro_epilogue): New.
(final_start_function): Use target structure for function prologues.
(final_end_function): Use target structure for function epilogues.
* fold-const.c (real_hex_to_f): Constify s and p.
* output.h (default_function_pro_epilogue): New.
* real.h (real_hex_to_f): Update prototype.
* target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
(TARGET_INITIALIZER): Update.
* target.h (gcc_target): Add struct asm_out.
* doc/tm.texi: Update.

config:
Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
in cpu/cpu.c, or rename old functions consistently.  Take
a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
redundant macros and prototypes.  Make new functions static.

* 1750a/1750a.c: Similarly.
* 1750a/1750a.h: Similarly.
* a29k/a29k-protos.h: Similarly.
* a29k/a29k.c: Similarly.
* a29k/a29k.h: Similarly.
* arc/arc-protos.h: Similarly.
* arc/arc.c: Similarly.
* arc/arc.h: Similarly.
* arm/arm-protos.h: Similarly.
* arm/arm.c: Similarly.
* arm/arm.h: Similarly.
* avr/avr-protos.h: Similarly.
* avr/avr.c: Similarly.
* avr/avr.h: Similarly.
* clipper/clipper-protos.h: Similarly.
* clipper/clipper.c: Similarly.
* clipper/clipper.h: Similarly.
* convex/convex.c: Similarly.
* convex/convex.h: Similarly.
* d30v/d30v-protos.h: Similarly.
* d30v/d30v.c: Similarly.
* d30v/d30v.h: Similarly.
* d30v/d30v.md: Similarly.
* dsp16xx/dsp16xx-protos.h: Similarly.
* dsp16xx/dsp16xx.c: Similarly.
* dsp16xx/dsp16xx.h: Similarly.
* elxsi/elxsi.c: Similarly.
* elxsi/elxsi.h: Similarly.
* fr30/fr30.c: Similarly.
* fr30/fr30.md: Similarly.
* h8300/h8300-protos.h: Similarly.
* h8300/h8300.c: Similarly.
* h8300/h8300.h: Similarly.
* i370/i370-protos.h: Similarly.
* i370/i370.c: Similarly.
* i370/i370.h: Similarly.
* i386/i386.c: Similarly.
* i386/osf1elf.h: Similarly.
* i386/osfrose.h: Similarly.
* i860/i860-protos.h: Similarly.
* i860/i860.c: Similarly.
* i860/i860.h: Similarly.
* i960/i960-protos.h: Similarly.
* i960/i960.c: Similarly.
* i960/i960.h: Similarly.
* ia64/ia64-protos.h: Similarly.
* ia64/ia64.c: Similarly.
* ia64/ia64.h: Similarly.
* m32r/m32r-protos.h: Similarly.
* m32r/m32r.c: Similarly.
* m32r/m32r.h: Similarly.
* m68hc11/m68hc11-protos.h: Similarly.
* m68hc11/m68hc11.c: Similarly.
* m68hc11/m68hc11.h: Similarly.
* m68k/crds.h: Similarly.
* m68k/dpx2.h: Similarly.
* m68k/m68k-protos.h: Similarly.
* m68k/m68k.c: Similarly.
* m68k/m68k.h: Similarly.
* m68k/news.h: Similarly.
* m88k/m88k-protos.h: Similarly.
* m88k/m88k.c: Similarly.
* m88k/m88k.h: Similarly.
* mips/mips-protos.h: Similarly.
* mips/mips.c: Similarly.
* mips/mips.h: Similarly.
* ns32k/merlin.h: Similarly.
* ns32k/ns32k.c: Similarly.
* ns32k/ns32k.h: Similarly.
* ns32k/tek6000.h: Similarly.
* pa/pa-protos.h: Similarly.
* pa/pa.c: Similarly.
* pa/pa.h: Similarly.
* pdp11/2bsd.h: Similarly.
* pdp11/pdp11-protos.h: Similarly.
* pdp11/pdp11.c: Similarly.
* pdp11/pdp11.h: Similarly.
* romp/romp-protos.h: Similarly.
* romp/romp.c: Similarly.
* romp/romp.h: Similarly.
* rs6000/rs6000-protos.h: Similarly.
* rs6000/rs6000.c: Similarly.
* rs6000/rs6000.h: Similarly.
* rs6000/sysv4.h: Similarly.
* sh/sh-protos.h: Similarly.
* sh/sh.c: Similarly.
* sh/sh.h: Similarly.
* sparc/sparc-protos.h: Similarly.
* sparc/sparc.c: Similarly.
* sparc/sparc.h: Similarly.
* vax/vax.c: Similarly.
* vax/vax.h: Similarly.
* vax/vms.h: Similarly.
* we32k/we32k.c: Similarly.
* we32k/we32k.h: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43818 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (final.o): Depend on target.h.
neil [Fri, 6 Jul 2001 18:40:17 +0000 (18:40 +0000)]
* Makefile.in (final.o): Depend on target.h.
* final.c: Include target.h.
(default_function_pro_epilogue): New.
(final_start_function): Use target structure for function prologues.
(final_end_function): Use target structure for function epilogues.
* fold-const.c (real_hex_to_f): Constify s and p.
* output.h (default_function_pro_epilogue): New.
* real.h (real_hex_to_f): Update prototype.
* target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
(TARGET_INITIALIZER): Update.
* target.h (gcc_target): Add struct asm_out.
* doc/tm.texi: Update.

config:
Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
in cpu/cpu.c, or rename old functions consistently.  Take
a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
redundant macros and prototypes.  Make new functions static.

* 1750a/1750a.c: Similarly.
* 1750a/1750a.h: Similarly.
* a29k/a29k-protos.h: Similarly.
* a29k/a29k.c: Similarly.
* a29k/a29k.h: Similarly.
* arc/arc-protos.h: Similarly.
* arc/arc.c: Similarly.
* arc/arc.h: Similarly.
* arm/arm-protos.h: Similarly.
* arm/arm.c: Similarly.
* arm/arm.h: Similarly.
* avr/avr-protos.h: Similarly.
* avr/avr.c: Similarly.
* avr/avr.h: Similarly.
* clipper/clipper-protos.h: Similarly.
* clipper/clipper.c: Similarly.
* clipper/clipper.h: Similarly.
* convex/convex.c: Similarly.
* convex/convex.h: Similarly.
* d30v/d30v-protos.h: Similarly.
* d30v/d30v.c: Similarly.
* d30v/d30v.h: Similarly.
* d30v/d30v.md: Similarly.
* dsp16xx/dsp16xx-protos.h: Similarly.
* dsp16xx/dsp16xx.c: Similarly.
* dsp16xx/dsp16xx.h: Similarly.
* elxsi/elxsi.c: Similarly.
* elxsi/elxsi.h: Similarly.
* fr30/fr30.c: Similarly.
* fr30/fr30.md: Similarly.
* h8300/h8300-protos.h: Similarly.
* h8300/h8300.c: Similarly.
* h8300/h8300.h: Similarly.
* i370/i370-protos.h: Similarly.
* i370/i370.c: Similarly.
* i370/i370.h: Similarly.
* i386/i386.c: Similarly.
* i386/osf1elf.h: Similarly.
* i386/osfrose.h: Similarly.
* i860/i860-protos.h: Similarly.
* i860/i860.c: Similarly.
* i860/i860.h: Similarly.
* i960/i960-protos.h: Similarly.
* i960/i960.c: Similarly.
* i960/i960.h: Similarly.
* ia64/ia64-protos.h: Similarly.
* ia64/ia64.c: Similarly.
* ia64/ia64.h: Similarly.
* m32r/m32r-protos.h: Similarly.
* m32r/m32r.c: Similarly.
* m32r/m32r.h: Similarly.
* m68hc11/m68hc11-protos.h: Similarly.
* m68hc11/m68hc11.c: Similarly.
* m68hc11/m68hc11.h: Similarly.
* m68k/crds.h: Similarly.
* m68k/dpx2.h: Similarly.
* m68k/m68k-protos.h: Similarly.
* m68k/m68k.c: Similarly.
* m68k/m68k.h: Similarly.
* m68k/news.h: Similarly.
* m88k/m88k-protos.h: Similarly.
* m88k/m88k.c: Similarly.
* m88k/m88k.h: Similarly.
* mips/mips-protos.h: Similarly.
* mips/mips.c: Similarly.
* mips/mips.h: Similarly.
* ns32k/merlin.h: Similarly.
* ns32k/ns32k.c: Similarly.
* ns32k/ns32k.h: Similarly.
* ns32k/tek6000.h: Similarly.
* pa/pa-protos.h: Similarly.
* pa/pa.c: Similarly.
* pa/pa.h: Similarly.
* pdp11/2bsd.h: Similarly.
* pdp11/pdp11-protos.h: Similarly.
* pdp11/pdp11.c: Similarly.
* pdp11/pdp11.h: Similarly.
* romp/romp-protos.h: Similarly.
* romp/romp.c: Similarly.
* romp/romp.h: Similarly.
* rs6000/rs6000-protos.h: Similarly.
* rs6000/rs6000.c: Similarly.
* rs6000/rs6000.h: Similarly.
* rs6000/sysv4.h: Similarly.
* sh/sh-protos.h: Similarly.
* sh/sh.c: Similarly.
* sh/sh.h: Similarly.
* sparc/sparc-protos.h: Similarly.
* sparc/sparc.c: Similarly.
* sparc/sparc.h: Similarly.
* vax/vax.c: Similarly.
* vax/vax.h: Similarly.
* vax/vms.h: Similarly.
* we32k/we32k.c: Similarly.
* we32k/we32k.h: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43817 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * basic-block.h (first_insn_after_basic_block_note): Declare.
law [Fri, 6 Jul 2001 18:19:47 +0000 (18:19 +0000)]
    * basic-block.h (first_insn_after_basic_block_note): Declare.
        * flow.c (first_insn_after_basic_block_note): Define.  Moved
        from...
        * ssa.c (first_insn_after_basic_block_note): Remove.
        * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
        necessary.
        (ssa_eliminate_dead_code): Properly update the CFG and PHI
        nodes when we find a dead conditional branch.  Insert BARRIERs
        after any blocks with no successors, but which do not have
        any BARRIERs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43816 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * varray.c (varray_check_failed): Use internal_error.
zack [Fri, 6 Jul 2001 18:12:11 +0000 (18:12 +0000)]
* varray.c (varray_check_failed): Use internal_error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43815 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-06 Daniel Jacobowitz <drow@mvista.com>
bkoz [Fri, 6 Jul 2001 17:16:46 +0000 (17:16 +0000)]
2001-07-06  Daniel Jacobowitz  <drow@mvista.com>

        * configure.in: Remove NATIVE, NULL_TARGET.
        Set CANADIAN only for Canadian crosses.  Set xcompiling
        for both Canadian crosses and host-x-host crosses.
        * configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43814 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-06 Andrew Haley <aph@cambridge.redhat.com>
aph [Fri, 6 Jul 2001 16:33:10 +0000 (16:33 +0000)]
2001-07-06  Andrew Haley  <aph@cambridge.redhat.com>

        * include/i386-signal.h: Don't do anything with unsigned divide
        overflow except throw an exception.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43813 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-06 Andrew Haley <aph@cambridge.redhat.com>
aph [Fri, 6 Jul 2001 16:32:40 +0000 (16:32 +0000)]
2001-07-06  Andrew Haley  <aph@cambridge.redhat.com>

        * libjava.lang/Divide_1.java: Add may more test cases.
        * libjava.lang/Divide_1.out: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43812 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoUpdate Craig's status.
law [Fri, 6 Jul 2001 16:03:30 +0000 (16:03 +0000)]
Update Craig's status.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43811 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.c-torture/compile/20010706-1.c: New test.
law [Fri, 6 Jul 2001 15:30:03 +0000 (15:30 +0000)]
    * gcc.c-torture/compile/20010706-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43810 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-05 Andrew Haley <aph@redhat.com>
aph [Fri, 6 Jul 2001 14:41:52 +0000 (14:41 +0000)]
2001-07-05  Andrew Haley  <aph@redhat.com>

        * Makefile.in (LIB2_DIVMOD_FUNCS): New.
        (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
        * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43809 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
nathan [Fri, 6 Jul 2001 12:28:48 +0000 (12:28 +0000)]
2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
        * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43808 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-06 Ira Ruben <ira@apple.com>
nathan [Fri, 6 Jul 2001 12:21:49 +0000 (12:21 +0000)]
2001-07-06  Ira Ruben   <ira@apple.com>
        * cp-tree.def (TEMPLATE_DECL): Update comment. DECL_RESULT should
be DECL_TEMPLATE_RESULT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43807 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-06 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 6 Jul 2001 12:09:39 +0000 (12:09 +0000)]
2001-07-06  Toon Moene  <toon@moene.indiv.nluug.nl>
            Pedro Vazquez  <vazquez@penelope.iqm.unicamp.br>

* configure.in: Check for fseeko, ftello.
* configure: Rebuilt.
* config.h.in: Rebuilt.
* fio.h: Define FSEEK to be fseek or fseeko, depending
on configure's findings.  Ditto for FTELL and ftell / ftello.
* backspace.c (f_back): Use FSEEK for fseek, FTELL for ftell.
* dfe.c (c_dfe): Ditto.
* due.c (c_due, e_rdue): Ditto.
* endfile.c (t_runc): Ditto.
* err.c (f__nowreading, f__nowwriting): Ditto.
* ftell_.c (G77_ftell_0, G77_fseek_0): Ditto.
* inquire.c (f_inqu): Ditto.
* open.c (f_open): Ditto.
* rdfmt.c (rd_ed): Ditto.
* sue.c (s_wsue, e_wsue, e_rsue): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43806 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
jason [Fri, 6 Jul 2001 11:38:41 +0000 (11:38 +0000)]
    * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
        reference if the target constant is also a SYMBOL_REF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43805 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix bad checkin in docs.
echristo [Fri, 6 Jul 2001 07:57:39 +0000 (07:57 +0000)]
Fix bad checkin in docs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43804 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-07-05 Eric Christopher <echristo@redhat.com>
echristo [Fri, 6 Jul 2001 07:32:43 +0000 (07:32 +0000)]
2001-07-05  Eric Christopher  <echristo@redhat.com>

        * config/mips/mips.h (MASK_MIPS3900): Remove.
        (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
        MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
        (TARGET_MIPS3900): Change to use mips_arch.
        (TARGET_MIPS4000): New.
        (TARGET_MIPS4100): New.
        (TARGET_MIPS4300): New.
        (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
        (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
        for -mipsX.
        (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
        (ISA_HAS_BRANCHLIKELY): To here.
        (CC1_CPU_SPEC):  New.
        (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
        (mips_arch_string): Declare.
        (mips_arch): Declare.
        (TARGET_OPTIONS): Add -march and -mtune.

        * config/mips/mips.c (mips_arch_string): New.
        (mips_arch): New.
        (override_options): Handle -march for codegen and -mtune
        for scheduling. Use mips_arch. Move tx39 target default here.
        (mips_parse_cpu): Move error message to override_options.

        * config/mips/r3900.h (TARGET_DEFAULT): Remove.

        * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.

        * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
        (MIPS Options): Ditto.  Change mcpu entry to historical text.

2001-07-05  H.J. Lu  (hjl@gnu.org)

        * config/mips/mips.c (mips_parse_cpu): New function to parse
        -march=*/-mcpu=*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43803 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Fri, 6 Jul 2001 07:16:43 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43802 138bc75d-0d04-0410-961f-82ee72b054a4