OSDN Git Service

* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-07-10  Neil Booth  <neil@daikokuya.demon.co.uk>
2
3         * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
4         dwarf2out.o): Depend on debug.h, wrap long lines.
5         * dbxout.c: Include debug.h.
6         (dbx_debug_hooks): New.
7         (dbxout_init): Make static, take just 2 args.
8         (dbxout_finish): Make static.
9         * dbxout.h (dbxout_init, dbxout_finish): Delete.
10         * debug.c: New file.
11         * debug.h: New file.
12         * dwarf2out.c: Include debug.h.
13         (dwarf2_debug_hooks): New.
14         (dwarf2out_init): Make static.
15         (dwarf2out_finish): Make static, take 2 args.
16         * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
17         * dwarfout.c: Include debug.h.
18         (dwarf_debug_hooks): New.
19         (dwarfout_init): Make static.
20         (dwarfout_finish): Make static, take 2 args.
21         * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
22         * sdbout.c: Include debug.h.
23         (sdb_debug_hooks): New.
24         (sdbout_init): Make static, take 2 args.
25         * sdbout.h (sdbout_init): Delete.
26         * toplev.c: Include debug.h.
27         (debug_hooks): New.
28         (compile_file): Set deubg_hooks based on command line options.
29         Use the hooks unconditionally rather than conditional compilation.
30
31 Tue Jul 10 09:04:45 2001  Jeffrey A Law  (law@cygnus.com)
32
33         * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
34         first_insn_after_basic_block_note instead.
35
36         * df.c (df_bb_refs_unlink): #if 0 out for now.
37
38 2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com
39
40         * ssa.h: Add prototype for ssa_const_prop
41         * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
42         (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
43         (ssa_fast_dce): Remove unused variable
44
45 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
46
47         * diagnostic.c (finish_diagnostic): Rename to
48         diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
49         calls thourghout.
50
51 2001-07-10  Jason Merrill  <jason_merrill@redhat.com>
52
53         * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
54         .loc support.
55
56         * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
57         (dump_file): Only pad the demangled name with spaces if the 
58         mangled name was padded with spaces.
59
60 2001-07-10  Bernd Schmidt  <bernds@redhat.com>
61
62         * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
63         edge detection.
64
65 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
66
67         * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
68         extraction if no direct load if either EXPAND_CONST_ADDRESS or
69         EXPAND_INITIALIZER.
70
71         * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
72         whether can put offset inside LO_SUM to check mode alignment, not size.
73
74 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
75
76         * doc/tm.texi (Misc): Fix thinko.
77
78 2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
79
80         * regmove.c (replace_in_call_usage): Fix warnings.
81         * sched-deps.c (add_dependence): Fix warnings.
82         * simplify-rtx.c (simplify_subreg): Likewise.
83         Return NULL_RTX instead of NULL.
84
85         * reg-stack.c (emit_swap_insn): Eliminate warnings.
86         (subst_asm_stack_regs): Likewise.
87
88         * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
89         warnings.
90
91         * dwarf2out.c (output_call_frame_info): Declare i as int.
92         (build_abbrev_table): Declare n_alloc as int.
93         (dwarf2out_finish): Initialize die.
94         * except.c: Declare sjlj_funcdef_number as unsigned.
95         (connect_post_landing_pads): Declare j as unsigned.
96         (convert_to_eh_region_ranges): Initialize call_site.
97         (output_function_exception_table): Initialize tt_format_size.
98         * expr.c (move_by_pieces_1): Initialize to1.
99         (store_constructor): Initialize minelt and maxelt.
100         * flow.c (mark_regs_live_at_end): Declare i as unsigned.
101         * function.c (instantiate_decls): Avoid signed/unsigned warning.
102
103         * c-decl.c (combine_parm_decls): Unused, remove.
104         * c-tree.h: Remove prototype for combine_parm_decls.
105
106         * reload.c (push_reload): Fix warning.
107         (regno_clobbered_p): Likewise.
108         * reload1.c (replace_pseudos_in_call_usage): Likewise.
109         (reload_combine): Likewise.
110
111         * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
112         * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
113         warnings.
114         * bitmap.c (bitmap_operation): Change user.
115         * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
116
117 2001-07-10  Eric Christopher  <echristo@redhat.com>
118
119         * config/mips/mips.c (override_options): Fix typo.
120
121 2001-07-09  Stan Shebs  <shebs@apple.com>
122
123         * target.h (struct gcc_target): New fields init_builtins and
124         expand_builtin.
125         * target-def.h (TARGET_INIT_BUILTINS): New macro.
126         (TARGET_EXPAND_BUILTIN): New macro.
127         (TARGET_INITIALIZER): Add them.
128         * builtins.c: Include target.h.
129         (expand_builtin): Use targetm.expand_builtin.
130         (default_init_builtins): New function.
131         (default_expand_builtin): New function.
132         * expr.h (default_init_builtins): Declare.
133         (default_expand_builtin): Declare.
134         * c-common.c (c_common_nodes_and_builtins): Use
135         targetm.init_builtins.
136         * defaults.h (MD_INIT_BUILTINS): Remove.
137         * Makefile.in (builtins.o): Depend on target.h.
138
139         * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
140         (TARGET_EXPAND_BUILTIN): Define.
141         * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
142         (MD_EXPAND_BUILTIN): Remove.
143
144         * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
145         (TARGET_EXPAND_BUILTIN): Define.
146         (c4x_init_builtins): Make endlink arg a local.
147         (c4x_print_operand): Fix typos in adjust_address usages.
148         * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
149         * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
150         (MD_EXPAND_BUILTIN): Remove.
151
152         * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
153         (TARGET_EXPAND_BUILTIN): Define.
154         (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
155         (ix86_init_builtins): Call new function only if TARGET_MMX.
156         * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
157         * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
158         (MD_EXPAND_BUILTIN): Remove.
159
160         * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
161         (TARGET_EXPAND_BUILTIN): Define.
162         * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
163         (MD_EXPAND_BUILTIN): Remove.
164
165         * doc/tm.texi: Document these changes.
166
167 2001-07-09  Diego Novillo  <dnovillo@redhat.com>
168
169         * basic-block.h (tree_node): Forward declare if needed.
170         (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
171         (BLOCK_HEAD_TREE): Define.
172         (BLOCK_END_TREE): Define.
173         (struct loops): Rename field 'tree' to 'tree_root'.
174         * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
175         'end_tree'.
176         (flow_loops_tree_build): Rename reference to field 'tree' to
177         'tree_root'.
178         (flow_loops_level_compute): Ditto.
179         * predict.c (estimate_bb_frequencies): Ditto.
180         * tree.h (struct tree_common): Add field 'aux'.
181
182 2001-07-09  Stan Shebs  <shebs@apple.com>
183
184         * config/darwin.c (darwin_encode_section_info): Don't mark any
185         DECL_EXTERNAL node as defined.
186
187 2001-07-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
188
189         * pa.c (pa_init_machine_status, pa_mark_machine_status,
190         pa_free_machine_status, hppa_init_pic_save): Delete.
191         (hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
192         (hppa_profile_hook): Use hppa_pic_save_rtx.
193         * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
194         hppa_init_pic_save): Delete.
195         (hppa_pic_save_rtx): Declare.
196         * pa.md (call, call_value, sibcall, sibcall_value,
197         builtin_setjmp_receiver): Use hppa_pic_save_rtx.
198
199 2001-07-09  Kazu Hirata  <kazu@hxi.com>
200
201         * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
202         * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
203
204 2001-07-09  Andreas Jaeger  <aj@suse.de>
205
206         * output.h: Add declaration of final_forward_branch_p.
207
208         * config/i386/i386.c (output_fix_trunc): Remove unused variable.
209
210         * varray.c: Include errors.h for internal_error and trim_filename
211         declarations.
212
213         * Makefile.in (varray.o): Add errors.h.
214
215 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
216
217         * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
218         * optabs.c (have_add2_insn): Check whether the add insn chosen
219         really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
220         * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
221
222 Mon Jul  9 13:26:40 2001  Jeffrey A Law  (law@cygnus.com)
223
224         * Makefile.in (OBJS): Add ssa-ccp.o
225         (ssa-ccp.o): Add dependencies.
226         * toplev.c (DFI_ssa_ccp): New dump file enum.
227         (dump_file): Add entry for dumping after SSA CCP.
228         (flag_ssa_ccp): New flag variable.
229         (f_options): Add -fssa-ccp.
230         (rest_of_compilation): Run SSA CCP if requested.
231         * timevar.def (TV_SSA_CCP): New timevar.
232         * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
233         * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
234         Fix minor typo in SSA DCE documentation.
235         * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
236         Add documentation for new dump option.  Renumber dump files
237         appropriately.
238
239 Mon Jul  9 21:36:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
240
241         * emit-rtl.c (gen_highpart_mode): New.
242         * rtl.h (gen_highpart_mode): Declare.
243         * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
244         operand can be VOIDmode constant.
245
246 Mon Jul  9 17:23:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
247
248         * flow.c (redirect_edge_and_branch_force): New.
249         (can_fallthru): Ensure that basic blocks are succeeding.
250         (try_optimize_cfg): Do not delete basic block if it is the last one.
251
252         * flow.c (try_redirect_by_replacing_jump): Do not remove
253         jumps with side effects, unlink chain on fallthru edge;
254         set block for new jump instruction; avoid basic block to
255         over by line number note.
256
257         * flow.c (try_simplify_condjump): Verify that the condjump
258         is not always falling trought.
259
260         Re-install patch:
261         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
262
263         * flow.c (forwarder_block_p): Fix for fallthru blocks.
264         (try_redirect_by_replacing_jump): Update properly the count
265         and frequency information.
266
267 Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
268
269         * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
270         address that is a LO_SUM specially.
271         * explow.c (plus_constant_wide, case LO_SUM): Deleted.
272
273         * c-lang.c (start_cdtor): Remove extra parameter from start_function.
274
275         * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
276         (operand_subword): Use them.
277         (change_address_1): Renamed from change_address; new arg VALIDATE.
278         * expr.h: Reflect above changes; change_address now macro.
279         * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
280         making MEM.
281         * cselib.c (add_mem_for_addr): Likewise.
282         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
283         * regmove.c (try_apply_stack_adjustment): Likewise.
284         * reload.c (push_reload, make_memloc): Likewise.
285         * reload1.c (eliminate_regs): Likewise.
286         * simplify-rtx.c (simplify_replace_rtx): Likewise.
287         * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
288         adjust_addess.
289         * combine.c (make_extraction, simplify_shift_const): Likewise.
290         (gen_lowpart_for_combine): Likewise.
291         * cse.c (gen_lowpart_if_possible): Likewise.
292         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
293         * expr.c (expand_expr, case COMPONENT_REF): Likewise.
294         * optabs.c (gen_move_insn): Likewise.
295         * reload1.c (alter_reg): Likewise.
296         * simplify-rtx.c (simplify_subreg): Likewise.
297         * stmt.c (expand_anon_union_decl): Likewise.
298         * recog.c (validate_replace_rtx_1): Likewise.
299         (expr.h): Include.
300         * Makefile.in (recog.o): Add $(EXPR_H).
301         * explow.c (stabilize): Call replace_equiv_address.
302         * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
303         * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
304
305 2001-07-03  Andrew Haley  <aph@redhat.com>
306
307         * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
308         the mode of the memory location.
309
310 2001-07-09  Bo Thorsen  <bo@suse.co.uk>
311
312         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
313
314 2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>
315
316         * final.c (output_addr_const): Use target opening and
317         closing parentheses.
318         * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
319         defaults, add to TARGET_ASM_OUT.
320         * target.h (struct gcc_target): Add open_paren and close_paren.
321         * doc/md.texi: Update.
322         * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
323         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
324         TARGET_ASM_CLOSE_PAREN.
325         * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
326         Override.
327         * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
328         Override.
329         * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
330         * config/a29k/a29k.h: Similarly.
331         * config/alpha/alpha.h: Similarly.
332         * config/arc/arc.h: Similarly.
333         * config/arm/aof.h: Similarly.
334         * config/arm/aout.h: Similarly.
335         * config/avr/avr.h: Similarly.
336         * config/c4x/c4x.h: Similarly.
337         * config/clipper/clipper.h: Similarly.
338         * config/convex/convex.h: Similarly.
339         * config/d30v/d30v.h: Similarly.
340         * config/dsp16xx/dsp16xx.h: Similarly.
341         * config/elxsi/elxsi.h: Similarly.
342         * config/fr30/fr30.h: Similarly.
343         * config/h8300/h8300.h: Similarly.
344         * config/i370/i370.h: Similarly.
345         * config/i386/i386.h: Similarly.
346         * config/i860/i860.h: Similarly.
347         * config/i960/i960.h: Similarly.
348         * config/ia64/ia64.h: Similarly.
349         * config/m32r/m32r.h: Similarly.
350         * config/m68hc11/m68hc11.h: Similarly.
351         * config/m68k/m68k.h: Similarly.
352         * config/m88k/m88k.h: Similarly.
353         * config/mcore/mcore.h: Similarly.
354         * config/mips/mips.h: Similarly.
355         * config/mn10200/mn10200.h: Similarly.
356         * config/mn10300/mn10300.h: Similarly.
357         * config/ns32k/ns32k.h: Similarly.
358         * config/pa/pa.h: Similarly.
359         * config/pdp11/pdp11.h: Similarly.
360         * config/pj/pj.h: Similarly.
361         * config/romp/romp.h: Similarly.
362         * config/rs6000/rs6000.h: Similarly.
363         * config/sh/sh.h: Similarly.
364         * config/sparc/sparc.h: Similarly.
365         * config/v850/v850.h: Similarly.
366         * config/vax/vax.h: Similarly.
367         * config/we32k/we32k.h: Similarly.
368
369 2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>
370
371         * doc/c-tree.texi: Document representation of attributes.
372
373 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
374
375         * doc/tm.texi: Update some places for the rename of target to
376         targetm.  Fix typo.
377
378 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
379
380         * target.h (struct gcc_target): Add insert_attributes.
381         * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
382         (TARGET_INITIALIZER): Update.
383         * tree.c, tree.h (default_insert_attributes): New function.
384         Update comments on other default functions to refer to targetm,
385         not target.
386         * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
387         TARGET_INSERT_ATTRIBUTES.
388         (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
389         * c-common.c (decl_attributes): Use targetm.insert_attributes.
390         Don't use PRAGMA_INSERT_ATTRIBUTES.
391         * Makefile.in (c-common.o): Depend on $(TARGET_H).
392         * c-decl.c (start_decl, start_function): Don't call
393         SET_DEFAULT_DECL_ATTRIBUTES.
394         * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
395         * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
396         declare.
397         * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
398         (c4x_check_attribute): Avoid modifying attribute list itself.
399         (c4x_set_default_attributes): Rename to c4x_insert_attributes.
400         Make static.
401         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
402         * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
403         declare.
404         * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
405         (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
406         Make static.
407         * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
408         * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
409         declare.
410         * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
411         (v850_set_default_decl_attr): Rename to v850_insert_attributes.
412         Adjust parameters.  Make static.
413
414 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
415
416         * c-common.c (decl_attributes): Only take a single attributes
417         parameter.
418         * c-common.h (decl_attributes): Update prototype.
419         * c-decl.c (start_decl, start_function): Only take a single
420         attributes parameter.  Update calls to decl_attributes.
421         (finish_struct, finish_enum): Update calls to decl_attributes.
422         (push_parm_decl): Expect unified list of attributes.  Update call
423         to decl_attributes.
424         * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
425         notype_nested_function, component_declarator,
426         component_notype_declarator, label): Update calls to
427         decl_attributes.
428         (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
429         lists that are passed to push_parm_decl.
430         * c-tree.h (start_function, start_decl): Update prototypes.
431         * config/sh/sh-protos.h, config/sh/sh.c
432         (sh_pragma_insert_attributes): Only take a single attributes
433         parameter.
434         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
435         * doc/tm.texi (INSERT_ATTRIBUTES): Update.
436         * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
437         build_module_descriptor, generate_static_references,
438         generate_strings, build_selector_translation_table,
439         generate_descriptor_table, generate_protocols,
440         generate_ivars_list, generate_dispatch_table,
441         generate_protocol_list, generate_category,
442         generate_shared_structures, really_start_method, add_objc_decls,
443         generate_classref_translation_entry): Update calls to start_decl
444         and start_function.
445         (build_tmp_function_decl, start_method_def): Unify attribute lists
446         that are passed to push_parm_decl.
447
448 2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>
449
450         * final.c (no_asm_to_stream): New.
451         (final_scan_insn): Use target structures for prologue ends
452         and epilogue starts.
453         * output.h (no_asm_to_stream): New.
454         * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
455         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
456         (TARGET_ASM_OUT): Update.
457         * target.h (struct gcc_target): New members function_end_prologue
458         and function_begin_epilogue.
459         * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
460         * config/alpha/alpha-protos.h (output_end_prologue): Delete.
461         * config/alpha/alpha.c (output_end_prologue): Rename to
462         alpha_output_function_end_prologue.  Use in target struct
463         and make static.
464         * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
465         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
466         * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
467         ia64_output_function_end_prologue.  Use in target struct
468         and make static.
469         (ia64_function_prologue, ia64_funciton_epilogue): Rename
470         mistyped prototypes.
471         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
472         * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
473         Delete.
474         * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
475         an use in target struct, make static.
476         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
477         Delete.
478
479 2001-07-08  Richard Henderson  <rth@redhat.com>
480
481         * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
482
483 2001-07-08  Richard Henderson  <rth@redhat.com>
484
485         * config/i386/i386.md: Remove constraints strings from define_split
486         and define_peephole2 patterns.
487         (eh_return_si, eh_return_di): Split eh_return_1 for modes.
488         (eh_return): Use them.
489
490 2001-07-08  Richard Henderson  <rth@redhat.com>
491
492         * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
493         Document MD_FALLBACK_FRAME_STATE_FOR.
494
495 2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
496
497         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
498         Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
499         elimination.
500         * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
501
502 2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
503
504         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
505         of the label inside NAME as opposed to just the end of NAME.
506
507 2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>
508
509         * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
510         * config/alpha/alpha.c (alpha_init_machine_status,
511         alpha_mark_machine_status, alpha_free_machine_status): Delete.
512         (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
513         (vms_valid_decl_attribute_p): Make static, conditionally compile.
514         * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
515
516 2001-07-06  Stan Shebs  <shebs@apple.com>
517
518         * target.h (targetm): Rename global from "target", so as not to
519         conflict with local variables.
520         * c-decl.c: Ditto.
521         * c-typeck.c: Ditto.
522         * final.c: Ditto.
523         * tree.c: Ditto.
524         * cp/decl.c: Ditto.
525         * cp/decl2.c: Ditto.
526         * cp/typeck.c: Ditto.
527         * 1750a/1750a.c: Ditto.
528         * a29k/a29k.c: Ditto.
529         * arc/arc.c: Ditto.
530         * arm/arm.c: Ditto.
531         * avr/avr.c: Ditto.
532         * clipper/clipper.c: Ditto.
533         * convex/convex.c: Ditto.
534         * d30v/d30v.c: Ditto.
535         * dsp16xx/dsp16xx.c: Ditto.
536         * elxsi/elxsi.c: Ditto.
537         * fr30/fr30.c: Ditto.
538         * h8300/h8300.c: Ditto.
539         * i370/i370.c: Ditto.
540         * i386/i386.c: Ditto.
541         * i860/i860.c: Ditto.
542         * i960/i960.c: Ditto.
543         * ia64/ia64.c: Ditto.
544         * m32r/m32r.c: Ditto.
545         * m68hc11/m68hc11.c: Ditto.
546         * m68k/m68k.c: Ditto.
547         * m88k/m88k.c: Ditto.
548         * mips/mips.c: Ditto.
549         * ns32k/ns32k.c: Ditto.
550         * pa/pa.c: Ditto.
551         * pdp11/pdp11.c: Ditto.
552         * romp/romp.c: Ditto.
553         * rs6000/rs6000.c: Ditto.
554         * sh/sh.c: Ditto.
555         * sparc/sparc.c: Ditto.
556         * vax/vax.c: Ditto.
557         * we32k/we32k.c: Ditto.
558         * doc/tm.texi: Update the manual to match.
559
560 2001-07-06  Richard Henderson  <rth@redhat.com>
561
562         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
563         DWARF2_UNWIND_INFO not just whether it is defined.
564
565 2001-07-06  Diego Novillo  <dnovillo@redhat.com>
566
567         * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
568         call to simplify_binary_operation returns a new pattern.
569
570 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
571
572         * glimits.h (__SHRT_MAX__): New.
573         (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
574         (SHRT_MAX): Define in terms of __SHRT_MAX__.
575
576 2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>
577
578         * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
579         avoid warnings.
580
581 2001-07-06  Richard Henderson  <rth@redhat.com>
582
583         * bitmap.c (bitmap_release_memory): Move adjacent to the
584         allocation functions.
585         (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
586         the implementation.  Binary search for the set bit.
587         (bitmap_union_of_diff): Allocate the temporary on the stack
588         instead of using xmalloc.
589
590 2001-07-06  Richard Henderson  <rth@redhat.com>
591
592         * genrecog.c (validate_pattern): Warn for constraints in
593         define_{expand,split,peephole2}.  Remove strict_low_part
594         before looking up match_dup.
595
596 2001-07-06  DJ Delorie  <dj@redhat.com>
597
598         * doc/gcc.texi (Makefile): Rename to be a more general purpose
599         chapter about various build hints and history.  Add section
600         talking about the various types of native and cross builds.
601
602 2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>
603
604         * Makefile.in (final.o): Depend on target.h.
605         * final.c: Include target.h.
606         (default_function_pro_epilogue): New.
607         (final_start_function): Use target structure for function prologues.
608         (final_end_function): Use target structure for function epilogues.
609         * fold-const.c (real_hex_to_f): Constify s and p.
610         * output.h (default_function_pro_epilogue): New.
611         * real.h (real_hex_to_f): Update prototype.
612         * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
613         TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
614         (TARGET_INITIALIZER): Update.
615         * target.h (gcc_target): Add struct asm_out.
616         * doc/tm.texi: Update.
617
618 config:
619         Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
620         TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
621         in cpu/cpu.c, or rename old functions consistently.  Take
622         a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
623         redundant macros and prototypes.  Make new functions static.
624
625         * 1750a/1750a.c: Similarly.
626         * 1750a/1750a.h: Similarly.
627         * a29k/a29k-protos.h: Similarly.
628         * a29k/a29k.c: Similarly.
629         * a29k/a29k.h: Similarly.
630         * arc/arc-protos.h: Similarly.
631         * arc/arc.c: Similarly.
632         * arc/arc.h: Similarly.
633         * arm/arm-protos.h: Similarly.
634         * arm/arm.c: Similarly.
635         * arm/arm.h: Similarly.
636         * avr/avr-protos.h: Similarly.
637         * avr/avr.c: Similarly.
638         * avr/avr.h: Similarly.
639         * clipper/clipper-protos.h: Similarly.
640         * clipper/clipper.c: Similarly.
641         * clipper/clipper.h: Similarly.
642         * convex/convex.c: Similarly.
643         * convex/convex.h: Similarly.
644         * d30v/d30v-protos.h: Similarly.
645         * d30v/d30v.c: Similarly.
646         * d30v/d30v.h: Similarly.
647         * d30v/d30v.md: Similarly.
648         * dsp16xx/dsp16xx-protos.h: Similarly.
649         * dsp16xx/dsp16xx.c: Similarly.
650         * dsp16xx/dsp16xx.h: Similarly.
651         * elxsi/elxsi.c: Similarly.
652         * elxsi/elxsi.h: Similarly.
653         * fr30/fr30.c: Similarly.
654         * fr30/fr30.md: Similarly.
655         * h8300/h8300-protos.h: Similarly.
656         * h8300/h8300.c: Similarly.
657         * h8300/h8300.h: Similarly.
658         * i370/i370-protos.h: Similarly.
659         * i370/i370.c: Similarly.
660         * i370/i370.h: Similarly.
661         * i386/i386.c: Similarly.
662         * i386/osf1elf.h: Similarly.
663         * i386/osfrose.h: Similarly.
664         * i860/i860-protos.h: Similarly.
665         * i860/i860.c: Similarly.
666         * i860/i860.h: Similarly.
667         * i960/i960-protos.h: Similarly.
668         * i960/i960.c: Similarly.
669         * i960/i960.h: Similarly.
670         * ia64/ia64-protos.h: Similarly.
671         * ia64/ia64.c: Similarly.
672         * ia64/ia64.h: Similarly.
673         * m32r/m32r-protos.h: Similarly.
674         * m32r/m32r.c: Similarly.
675         * m32r/m32r.h: Similarly.
676         * m68hc11/m68hc11-protos.h: Similarly.
677         * m68hc11/m68hc11.c: Similarly.
678         * m68hc11/m68hc11.h: Similarly.
679         * m68k/crds.h: Similarly.
680         * m68k/dpx2.h: Similarly.
681         * m68k/m68k-protos.h: Similarly.
682         * m68k/m68k.c: Similarly.
683         * m68k/m68k.h: Similarly.
684         * m68k/news.h: Similarly.
685         * m88k/m88k-protos.h: Similarly.
686         * m88k/m88k.c: Similarly.
687         * m88k/m88k.h: Similarly.
688         * mips/mips-protos.h: Similarly.
689         * mips/mips.c: Similarly.
690         * mips/mips.h: Similarly.
691         * ns32k/merlin.h: Similarly.
692         * ns32k/ns32k.c: Similarly.
693         * ns32k/ns32k.h: Similarly.
694         * ns32k/tek6000.h: Similarly.
695         * pa/pa-protos.h: Similarly.
696         * pa/pa.c: Similarly.
697         * pa/pa.h: Similarly.
698         * pdp11/2bsd.h: Similarly.
699         * pdp11/pdp11-protos.h: Similarly.
700         * pdp11/pdp11.c: Similarly.
701         * pdp11/pdp11.h: Similarly.
702         * romp/romp-protos.h: Similarly.
703         * romp/romp.c: Similarly.
704         * romp/romp.h: Similarly.
705         * rs6000/rs6000-protos.h: Similarly.
706         * rs6000/rs6000.c: Similarly.
707         * rs6000/rs6000.h: Similarly.
708         * rs6000/sysv4.h: Similarly.
709         * sh/sh-protos.h: Similarly.
710         * sh/sh.c: Similarly.
711         * sh/sh.h: Similarly.
712         * sparc/sparc-protos.h: Similarly.
713         * sparc/sparc.c: Similarly.
714         * sparc/sparc.h: Similarly.
715         * vax/vax.c: Similarly.
716         * vax/vax.h: Similarly.
717         * vax/vms.h: Similarly.
718         * we32k/we32k.c: Similarly.
719         * we32k/we32k.h: Similarly.
720
721 Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)
722
723         * basic-block.h (first_insn_after_basic_block_note): Declare.
724         * flow.c (first_insn_after_basic_block_note): Define.  Moved
725         from...
726         * ssa.c (first_insn_after_basic_block_note): Remove.
727         * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
728         necessary.
729         (ssa_eliminate_dead_code): Properly update the CFG and PHI
730         nodes when we find a dead conditional branch.  Insert BARRIERs
731         after any blocks with no successors, but which do not have
732         any BARRIERs.
733
734 2001-07-06  Zack Weinberg  <zackw@stanford.edu>
735
736         * varray.c (varray_check_failed): Use internal_error.
737
738 2001-07-05  Andrew Haley  <aph@redhat.com>
739
740         * Makefile.in (LIB2_DIVMOD_FUNCS): New.
741         (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
742         * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
743
744 2001-07-02  Jason Merrill  <jason_merrill@redhat.com>
745
746         * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
747         reference if the target constant is also a SYMBOL_REF.
748
749 2001-07-05  Eric Christopher  <echristo@redhat.com>
750
751         * config/mips/mips.h (MASK_MIPS3900): Remove.
752         (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
753         MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
754         (TARGET_MIPS3900): Change to use mips_arch.
755         (TARGET_MIPS4000): New.
756         (TARGET_MIPS4100): New.
757         (TARGET_MIPS4300): New.
758         (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
759         (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
760         for -mipsX.
761         (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
762         (ISA_HAS_BRANCHLIKELY): To here.
763         (CC1_CPU_SPEC):  New.
764         (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
765         (mips_arch_string): Declare.
766         (mips_arch): Declare.
767         (TARGET_OPTIONS): Add -march and -mtune.
768
769         * config/mips/mips.c (mips_arch_string): New.
770         (mips_arch): New.
771         (override_options): Handle -march for codegen and -mtune
772         for scheduling. Use mips_arch. Move tx39 target default here.
773         (mips_parse_cpu): Move error message to override_options.
774
775         * config/mips/r3900.h (TARGET_DEFAULT): Remove.
776
777         * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
778
779         * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
780         (MIPS Options): Ditto.  Change mcpu entry to historical text.
781
782 2001-07-05  H.J. Lu  (hjl@gnu.org)
783
784         * config/mips/mips.c (mips_parse_cpu): New function to parse
785         -march=*/-mcpu=*.
786
787 2001-07-05  Jim Wilson  <wilson@redhat.com>
788
789         * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
790         * config/ia64/t-ia64: Likewise.
791         (LIB1ASMFUNCS): Update comment.
792
793 2001-07-05  David Edelsohn  <edelsohn@gnu.org>
794
795         * doc/install.texi (Install GCC: Binaries): Fix typo.
796
797 2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
798
799         * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
800         reference using the stack pointer, adjust it since we push Y
801         temporarily.
802         ("*ashrsi3"): Likewise.
803         ("*lshrsi3"): Likewise.
804
805 2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
806
807         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
808         when -fomit-frame-pointer is used.
809
810 2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>
811
812         * flow.c: Reverse Jan Hubicka's patch of 02July2001.
813         (try_redirect_by_replacing_jump): Reverse updating properly the
814         count and frequency information.  Reverse removing cc0 setter.
815         (forwarder_block_p): Reverse fixing for fallthru blocks.
816
817 2001-07-05  DJ Delorie  <dj@redhat.com>
818
819         * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
820         (translate_options): If the above is defined, use it to map
821         given options to new options.
822         * doc/tm.texi: Document it.
823
824 2001-07-05  Brad Lucier <lucier@math.purdue.edu>
825             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
826
827         * doc/invoke.texi (Optimize Options): Document that -fgcse may
828         cause programs using computed gotos to run more slowly.
829
830 2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
831
832         * doc/install.texi (Specific): Markup, spelling and typo fixes.
833         Fixed sorting.
834         Consistently require binutils 2.11.2, not prereleases.
835         (Specific, decstation-*): Canonicalize as mips-dec-*.
836         (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
837         always necessary.
838         (Specific, m68k-altos): Removed reference to README.altos, deleted.
839         (Specific, mips-*): Reword MIPS C compiler requirements.
840         (Specific, powerpc*-*-*): New, mention --with-cpu once.
841         (Specific, sunv5): Removed, obsolete.
842
843 2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>
844
845         * dwarf2out.c (output_loc_list): Use an all ones mask for
846         .text asm output and don't rely on long long
847         literals. Reformat some long lines.
848
849 2001-07-05  Andreas Jaeger  <aj@suse.de>
850
851         * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
852         section.
853
854 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
855
856         * dwarf2out.c (dwarf2out_define): Update comment.
857         (dwarf2out_undef): Ditto.
858         (dwarf2out_start_source_file): Ditto.
859         (dwarf2out_end_source_file): Ditto.
860         (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
861         since we never call the start/end debug hook for the primary file.
862
863 2001-07-04  Kazu Hirata  <kazu@hxi.com>
864
865         * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
866         from shll.
867
868 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
869
870         * cppinit.c (remove_dup_dirs): Inform if a system include
871         directory is being reordered.
872         * doc/invoke.texi (Directory Options): GCC warns if you hide a
873         system include.
874         * doc/cpp.texi (Search Paths): Likewise.
875         * doc/gcc.texi (Interoperation): Remove information about
876         -I/usr/include.
877
878 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
879
880         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
881         (VARRAY_TOP_CHAR_PTR): Likewise.
882
883 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
884
885         * gcc.c (process_command): Don't assign elements of a const char*.
886
887 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
888
889         * emit-rtl.c (change_address): Don't abort if invalid address while
890         reload is in progress.
891
892 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
893
894         * c-lex.c (cb_file_change): Pass line number to
895         debug_start_source_file.
896         (cb_undefine): Pass correct line number to debug_undef.
897
898         * toplev.c (debug_start_source_file): Add line number to
899         parameters. Pass it along to dwarf2out_start_source_file.
900         (decode_g_option): Stop resetting debug level back to normal when
901         we change debug formats, unless the current level is
902         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
903         3).
904
905         * toplev.h (debug_start_source_file): Add line number to
906         parameters.
907
908         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
909         parameters.
910
911         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
912         parameters.
913         Output debug_macinfo data for starting file if requested.
914         (dwarf2out_end_source_file): Output debug_macinfo data for ending
915         file if requested.
916         (dwarf2out_define): Output debug_macinfo data for defining a macro
917         if requested.
918         (dwarf2out_undef): Output debug_macinfo data for undefining a
919         macro if requested.
920         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
921         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
922         (macinfo_section_label): New. DWARF2 macro info section label.
923         (dwarf2out_init): If we want macro info, output the start label
924         for the section.
925         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
926         attribute to the compilation unit die pointing to the macro info.
927
928 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
929
930         * dwarf2out.c (new_loc_list): Move to inside #ifdef
931         DWARF2_DEBUGGING_INFO.
932         (add_loc_descr_to_loc_list): Ditto.
933         (output_loc_list): Ditto.
934         Also, fix thinko in curr not being initialized.
935         (gen_internal_sym): Ditto.
936
937 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
938
939         * emit-rtl.c (replace_equiv_address): New function.
940         * expr.h (replace_equiv_address): New declaration.
941         * explow.c (validize_mem): Call it instead of change_address and
942         also call if -fforce-addr and address is constant.
943         * expr.c: Replace more calls to change_address with adjust_address
944         and/or replace_equiv_address or to validize_mem.
945         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
946         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
947         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
948         * config/i370/i370.md, config/i860/i860.md: Likewise.
949         * config/i960/i960.md, config/mips/mips.c: Likewise.
950         * config/mips/mips.md, config/pa/pa.md: Likewise.
951         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
952         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
953
954 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
955
956         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
957
958         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
959         function.
960
961 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
962
963         * doc/include: New directory.
964         * doc/fdl.texi: Move to doc/include/fdl.texi.
965         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
966         * doc/include/funding.texi, doc/include/gpl.texi: New files.
967         * doc/gcc.texi: Use funding.texi and gpl.texi.
968         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
969         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
970         Update dependencies and use -I $(docdir)/include.
971
972 2001-07-04  Anthony Green  <green@redhat.com>
973
974         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
975
976 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
977
978         * doc/install.texi (sparc64-*-*): Remove garbage.
979
980 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
981
982         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
983         Fix typo in last change to use adjust_address.
984
985 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
986
987         * doc/install.texi (Specific): Update information for *-*-solaris*.
988
989 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
990
991         * explow.c (plus_constant_wide): Reinitialize Y for restart.
992
993 2001-07-03  Stan Shebs  <shebs@apple.com>
994
995         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
996         case for flag_no_mach_text_sections.
997         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
998         * config/darwin.c (flag_no_mach_text_sections): Remove.
999         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
1000
1001 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1002
1003         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
1004         and avoid checking for constant as first operand.
1005         * recog.c (find_constant_term_loc): No longer static.
1006         (adj_offettable_operand): Delete.
1007         * rtl.h (adj_offsettable_operand): Delete declaration.
1008         (find_constant_term): Add declaration.
1009         * caller-save.c: Replace calls to adj_offsettable_operand with calls
1010         to adjust_address.
1011         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
1012         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
1013         * config/i386/i386.c, config/i386/i386.md: Likewise.
1014         * config/i860/i860.c, config/i960/i960.c: Likewise.
1015         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
1016         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
1017         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
1018         * config/mips/mips.c, config/mips/mips.md: Likewise.
1019         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
1020         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
1021         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
1022         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
1023         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
1024         * config/ns32k/ns32k.md: Likewise.
1025
1026 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
1027
1028         * rtl.c (copy_rtx): Handle 'T' format letter.
1029         * gensupport.c (collect_insn_data): Likewise.
1030         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
1031
1032 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1033
1034         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
1035         -B option.  Use 'dir' not 'foo' as example directory name.
1036
1037 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1038
1039         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1040         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
1041
1042 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1043
1044         * doc/cppinternals.texi: Improve formatting and logical markup.
1045
1046 2001-07-03  Andreas Jaeger  <aj@suse.de>
1047
1048         * Makefile.in (insn-recog.o): Add dependency on reload.h.
1049
1050         * genrecog.c (write_header): Include reload.h for prototypes in
1051         insn-recog.c.
1052
1053 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1054
1055 config:
1056         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
1057         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
1058         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
1059         i386_pe_valid_type_attribute_p): Add.
1060         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
1061         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
1062
1063 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1064
1065         * explow.c (plus_constant_wide, case LO_SUM): New case.
1066         (plus_constant_for_output_wide): Delete.
1067         * rtl.h (plus_constant_for_output): Delete.
1068         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
1069         instead of plus_constant_for_output.
1070         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
1071         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
1072         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
1073         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
1074         * config/sparc/sparc.md: Likewise.
1075         Convert some change_address calls to adjust_address.
1076
1077 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1078
1079         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
1080         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
1081         documentation of -std and -Wwrite-strings.
1082
1083 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
1084
1085         * cse.c (canon_hash): Don't register registers in very small
1086         register classes, as extending their lifetime might cause
1087         reload to fail.
1088
1089 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
1090
1091         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
1092
1093         * flow.c (forwarder_block_p): Fix for fallthru blocks.
1094         (try_redirect_by_replacing_jump): Update properly the count
1095         and frequency information.
1096
1097 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
1098
1099         * toplev.c (dump_file_index): Move SSA dumps just after first
1100         jump dump.
1101         (dump_file): Corresponding changes.
1102         (rest_of_compilation): Move SSA path to just after the first
1103         jump pass.
1104         * doc/gcc.texi (Passes): Update due to movement of SSA path.
1105         * doc/invoke.texi: Update dump file #s as they were completely
1106         out of date with reality.
1107
1108 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
1109
1110         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
1111
1112         * expr.c (emit_move_insn_1): Deal with non-default
1113         STACK_PUSH_CODE.
1114
1115         * expr.c (emit_single_push_insn): Fix warning.
1116
1117 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
1118
1119         * expr.c (emit_move_insn_1): Avoid modifying
1120         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
1121
1122 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1123
1124         * emit-rtl.c (adjust_address): New function.
1125         * expr.h (adjust_address): Add declaration.
1126         * builtins.c: Replace some calls to change_address with calls to it
1127         or to validize_mem.
1128         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
1129         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
1130         * config/arm/arm.c, config/convex/convex.c: Likewise.
1131         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
1132         * config/i386/i386.c, config/i386/i386.md: Likewise.
1133         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
1134         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
1135         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
1136         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
1137         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
1138
1139 2001-07-02  Jim Wilson  <wilson@redhat.com>
1140
1141         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
1142
1143 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
1144
1145         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
1146         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
1147
1148 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
1149
1150         * cppinit.c (lang_defaults): New table.
1151         (set_lang): Just read from lang_defaults into the live options
1152         structure.
1153
1154 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
1155
1156         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
1157         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
1158         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
1159
1160 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1161
1162         * doc/install.texi: Various spelling and markup fixes.
1163         (Installing GCC): Component specific installation instructions are
1164         gone.
1165         Fix reference.
1166         Warn about removing old install dir in the presence of shared libs.
1167         (Configuration): Invoke with options target to match configure
1168         --help.
1169         Consistently refer to gas, gld pathnames.
1170         Invert --enable-multilib documentation.
1171         Remove references to old compiler versions.
1172
1173 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1174
1175         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
1176
1177 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1178
1179         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
1180         section.
1181         (Specific, mips*-sgi-irix5): Note IDO download.
1182         Reworded MIPS C hints.
1183         Use GNU as instead of GAS.
1184         Markup fixes.
1185         Removed SGI Freeware reference, IRIX 6 only.
1186         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
1187         Note N64 library requirement/workaround.
1188         Update O32 hints.
1189         Complete list of structure passing bug victims.
1190
1191 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1192
1193         * doc/install.texi: Remove CVS Id.
1194
1195 2001-07-02  Andreas Jaeger  <aj@suse.de>
1196
1197         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
1198         (find_inherently_necessary): Remove unused variable.
1199
1200 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
1201
1202         * c-common.h (TDI_inlined): New ast dump phase.
1203         (dump_flag_name): New function.
1204         * c-dump.c (dump_files): Add inlined phase.
1205         (dump_flag_name): Define.
1206         * doc/invoke.texi (-fdump-ast-inlined): Document.
1207
1208 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1209
1210         * stor-layout.c (layout_decl): Revert change to handling of alignment
1211         in packed types.
1212
1213 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1214
1215         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
1216         for FIELD_DECL.
1217
1218 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
1219
1220         * doc/tm.texi (FUNCTION_ARG): Document that the last call
1221         is special.
1222
1223 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
1224
1225         * tlink.c (recompile_files): Remove COMPILER_PATH and
1226         LIBRARY_PATH from the environment.
1227
1228 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
1229
1230         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
1231         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
1232         enumerators.
1233         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
1234
1235         * c-parse.in (OBJC_STRING): Kill.
1236         (objc_string): Decompose to [objc_string] '@' STRING.
1237         (reswords): Take the leading '@' off all the Objective C keywords.
1238         (objc_rid_sans_at): Kill.
1239         (init_reswords): Don't initialize it.
1240         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
1241         (_yylex): Kill reconsider label.  Look ahead one token after
1242         an '@'; if we get an identifier, check whether it's an
1243         Objective C @-keyword.  If so, return the keyword.  Otherwise,
1244         put back the token and return the '@' as a terminal.
1245
1246         * cpplib.c (lex_macro_node): Remove unnecessary check for
1247         leading '@' on identifier.  Clarify control flow and commentary.
1248
1249 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1250
1251         * cse.c (new_label_ref): Variable deleted.
1252         (insert): Remove set of new_label_ref.
1253         (check_for_label_ref): New function.
1254         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
1255
1256 See ChangeLog.5 for earlier changes.