OSDN Git Service

bbf33a0beabf9606d995c354afbe31d151e20012
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-07-17  Andreas Jaeger  <aj@suse.de>
2
3         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
4         x86-64 pic support.
5
6         * lcm.c (optimize_mode_switching): Avoid warning for unused
7         variable if !NORMAL_MODE.
8
9         * flow.c (try_crossjump_to_edge): Remove unused variable.
10
11 2001-07-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12
13         * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
14         atexit declaration in stdlib.h.
15
16 2001-07-16  Richard Begg  <Richard.Begg@colesmyer.com.au>
17
18         * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
19
20 Mon Jul 16 22:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
21
22         * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
23         * except.c (finish_eh_generation): Update call of cleanup_cfg;
24         do rebuild_jump_labels instead of jump_optimize
25         * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
26         * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
27         * flow.c (try_optimize_cfg): Remove unneeded code_labels.
28
29         * flow.c: Include timevar.h
30         (find_basic_block): Push/pop timevar;
31         (cleanup_cfg): Likewise.
32         * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
33         * Makefile: Add dependencies on timevar.h
34
35         * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
36         (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
37
38         * rtl.h (delete_trivially_dead_insns): Add new parameter.
39         * toplev.c (rest_of_compilation): Update calls.
40         * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
41         (delete_trivially_dead_insns): ... here; accept new argument
42         preserve_basic_blocks; preserve basic blocks if set.
43
44         * reg-stack.c (stack_regs_mentioned): Return 0 if
45         stack_regs_mentioned_data is not initialized.
46         (reg_to_stack): Make stack_regs_mentioned survive after the
47         reg-stack is completted; do not call cleanup_cfg.
48         * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
49         make cleanup_cfg after bb-reorder to output to debug file.
50
51 2001-07-16  Richard Henderson  <rth@redhat.com>
52
53         * regclass.c (init_reg_sets): Use only 32 bits per initializer
54         from int_reg_class_contents.
55
56 2001-07-16  Richard Henderson  <rth@redhat.com>
57
58         * hard-reg-set.h (regs_invalidated_by_call): Declare.
59         * regclass.c (regs_invalidated_by_call): Move from cse.c.
60         (init_reg_sets_1): Move initialization from cse_main.
61         * cse.c (regs_invalidated_by_call): Move to regclass.c.
62         (cse_main): Move its initialization also.
63         * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
64         * flow.c (propagate_one_insn): Likewise.
65         * gcse.c (compute_hash_table): Likewise.
66         (compute_kill_rd, compute_store_table): Likewise.
67         * sched-deps.c (sched_analyze_1): Likewise.
68
69 Mon Jul 16 18:07:07 2001  J"orn Rennecke <amylaar@redhat.com>
70
71         * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
72         gen_rtx_SET.
73
74 2001-07-16  Steve Ellcey <sje@cup.hp.com>
75
76         * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
77         in if statement so we don't access undefined memory.
78
79 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
80
81         * gcse.c: Update comment at top.
82         Update comment on mem handling.
83         mem_last_set, mem_first_set, mem_set_in_block: gone.
84         Declaration of reg_set_info: gone.
85         (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
86         pointless with load_killed_in_block_p (they are *more*
87         conservative then it, not less, and less accurate).
88         (oprs_not_set_p): Ditto.
89         (alloc_gcse_mem): Don't allocate mem_set_in_block
90         (free_gcse_mem): Don't free it, either.
91         (record_last_mem_set_info): Update comment in front, remove
92         mem_*set_* stuff. Note the reason we don't handle stores directly
93         here.
94         (compute_hash_table): Update comments to reflect reality. Remove
95         mem_*set_* references.
96         (reset_opr_set_tables): Remove mem_*set_* references.
97         (mark_call): Ditto.
98         (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
99         (mark_clobber): Ditto (on both parts, we double set here too).
100         (expr_killed_p): Remove mem_set_in_block test.
101         (compute_transp): Remove mem_set_in_block test.
102
103         * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
104         of edge, and removal of phi alternative to dump file.
105         (ssa_ccp_substitute_constants): Add note about register now being
106         constant, and which uses were replaced in what insns to dump file.
107
108 2001-07-16  Andreas Jaeger  <aj@suse.de>
109
110         * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
111         variables of type HOST_WIDEST_INT.
112
113         * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
114         (__bb_exit_func): Correct type of count_max to avoid overflow.
115         (num_digits): Handle long long argument.
116
117         * combine.c (gen_lowpart_for_combine): Remove unused variable.
118
119 2001-07-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
120
121         * output.h (sdb_begin_function_line): Restore as an extern
122         variable.
123         * sdbout.c (sdb_begin_function_line): Make extern.
124
125 2001-07-15  Richard Henderson  <rth@redhat.com>
126
127         * machmode.def (Pmode): Redefine if GENERATOR_FILE.
128         * genrecog.c (maybe_both_true_mode): New.
129         (maybe_both_true_2): Use it.
130         (write_switch): Don't put Pmode in a switch.
131         * rtl.c (mode arrays): Don't explicitly size them.
132
133 Sun Jul 15 14:07:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
134
135         * toplev.c (rest_of_compilation): Fix register_life_up_to_date
136         handling; move unconditional splitting before mode switching.
137
138         * i386.md (type): Add fistp type.
139         (i387, length_attr, scheduling definitions): Handle this type.
140         (fix_trunc?f?i2): Revamp to use mode switching.
141         (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
142         * i386.h (fp_cw_mode): New enum
143         (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
144         MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
145
146 Sun Jul 15 12:53:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
147
148         * Makefile.in (integrate.o): Add debug.h.
149         * integrate.c (debug.h): Add.
150         (output_inline_function): Save, reset, and restore debug_hooks.
151
152 2001-07-15  Richard Henderson  <rth@redhat.com>
153
154         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
155         instead of COMPARE for the EQUIV expression.
156
157 2001-07-15  Richard Henderson  <rth@redhat.com>
158
159         * flow.c (redirect_edge_and_branch_force): Initialize
160         global_live_at_start and global_live_at_end.
161         (allocate_bb_life_data): Export.
162         * basic-block.h (allocate_bb_life_data): Declare.
163         * toplev.c (rest_of_compilation): Call it.
164
165 2001-07-15  Richard Henderson  <rth@redhat.com>
166
167         * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
168         (alpha_tablejump_best_label): New.
169         * config/alpha/alpha-protos.h: Declare them.
170         * config/alpha/alpha.md: Use braced strings for code blocks.
171         (tablejump_osf): Break out add with r29.
172         (tablejump_osf_internal): Remove.
173         (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
174         use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
175
176 Sun Jul 15 00:53:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
177
178         * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
179         of the movable.
180
181         * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
182
183         * i386-protos.h (ix86_split_fp_branch): Update prototype.
184         (ix86_fp_jump_nontrivial_p): New.
185         * i386.md (fp_jcc_?): Update call of split_fp_branch;
186         use ix86_fp_jump_nontrivial_p.
187         * i386.c (ix86_fp_jump_nontrivial_p): New.
188         (ix86_split_fp_branch): Accept code instead of rtx.
189         (ix86_expand_compare): Expand comparison early in case
190         doing so is resonably cheap.
191
192 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
193
194         * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
195         not 'machine'.
196         (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
197         (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
198
199 2001-07-15  Neil Booth  <neil@daikokuya.demon.co.uk>
200
201         * dbxout.c (dbxout_source_line): Make static, update prototype.
202         (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
203         (dbxout_init, dbxout_finish, dbxout_source_line,
204         dbxout_begin_block, dbxout_end_block): Update for new prototypes.
205         * dbxout.h (dbxout_source_line): Delete.
206         * debug.c (debug_nothing_file, debug_nothing_file_int,
207         debug_nothing_file_charstar_rtx): New.
208         (do_nothing_debug_hooks): Update.
209         (debug_nothing_void, debug_nothing_charstar_rtx,
210         dwarf2out_end_epilogue): New.
211         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
212         * debug.h (struct rtx_def): Declare.
213         (gcc_debug_hooks): New hooks source_line, end_epilogue
214         and end_function.
215         (debug_nothing_void, debug_nothing_charstar_rtx,
216         dwarf2out_end_epilogue): New.
217         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
218         * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
219         (dwarf2_debug_hooks): Update.
220         (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
221         dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
222         * dwarf2out.h (dwarf2out_source_line): Remove.
223         * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
224         Make static, update prototype.
225         (dwarfout_init, dwarfout_finish, dwarfout_source_line,
226         dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
227         (dwarf_debug_hooks): Update.
228         * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
229         dwarfout_end_function): Remove.
230         * final.c (profile_function): Use debug hooks for ending functions
231         and epilogues.
232         (output_source_line, final_end_function): Update prototype,
233         use debug hooks.
234         (final_start_function, final_scan_insn): Update.
235         * output.h (sdb_begin_function_line): Remove.
236         (final_end_function): Update prototype.
237         * sdbout.c (sdb_begin_function_line): Make static.
238         (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
239         (sdbout_source_line): New.
240         (sdbout_end_epilogue, sdbout_end_function): Make static, update
241         prototypes.
242         (sdb_debug_hooks): Update.
243         (sdbout_init, sdbout_source_line,
244         sdbout_begin_block, sdbout_end_block): Update for new prototypes.
245         * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
246         * toplev.c (compile_file, rest_of_compilation): Update.
247         * tree.h (dwarf2out_end_epilogue): Move to debug.h.
248         * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
249         xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
250         Update for prototype changes.
251         * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
252         xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
253
254 2001-07-15  Richard Henderson  <rth@redhat.com>
255
256         * config/alpha/alpha.h (TARGET_ABI_OSF): New.
257         (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
258         * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
259         * config/alpha/alpha.c: Likewise.
260         * config/alpha/alpha.md: Likewise.
261         * config/alpha/alpha32.h: Likewise.
262         * config/alpha/vms.h: Likewise.
263         (OPEN_VMS): Remove.
264
265 2001-07-14  Richard Henderson  <rth@redhat.com>
266
267         * config/alpha/alpha.md: Use define_constants for unspec values.
268         Substitute throughout.
269
270 2001-07-14  Tim Josling  <tej@melbpc.org.au>
271
272         * tree.def (EXPON_EXPR) remove. Never supported anyway.
273
274 2001-07-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
275
276         * pa.md: Remove unused constraints from define_split's.
277
278 2001-04-14  Richard Henderson  <rth@redhat.com>
279
280         * ifcvt.c (find_cond_trap): Test for exit block.
281
282 Sun Jul 15 00:50:20 CEST 2001  Jan Hubicka  <jh@suse.cz>
283
284         Re-install recently reverted patch.
285         * emit-rtl.c (try_split): Update mark_jump_label call.
286         * flow.c (find_sub_basic_blocks): Likewise.
287         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
288         jump_back_p): Kill.
289         (mark_all_labels): Kill second parameter.
290         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
291         (rebuild_jump_labels, jump_optimize_minimal): Update call
292         of jump_optimize_1.
293         (jump_optimize_1): Kill crossjumping code.
294         (mark_jump_label): Kill cross_jump parameter.
295         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
296         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
297         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
298          splitting.
299         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
300         DFI_bpro.
301         (dump_file_info): Likewise.
302         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
303         reorganize passes to do reg-stack first, bb-reorder second.
304         * invoke.texi (-d letters doc): Remove the jump2 pass.
305
306 2001-07-14  Richard Henderson  <rth@redhat.com>
307
308         * ifcvt.c (find_cond_trap): New.
309         (find_if_header): Call it.
310         (merge_if_block): Relax existing jump sanity check.
311         * jump.c (jump_optimize_1): Remove conditional trap handling.
312
313 2001-07-14  Alan Modra  <amodra@bigpond.net.au>
314
315         * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
316         millicode.
317         (insn_refs_are_delayed): Correct comment.
318         * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
319         * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
320         instead of r31.  Make associated insn !TARGET_64BIT, and
321         provide an additional 64-bit insn that clobbers r2.
322         (divsi3): Likewise.
323         (udivsi3): Likewise.
324         (modsi3): Likewise.
325         (umodsi3): Likewise.
326
327 Sat Jul 14 02:58:38 CEST 2001  Jan Hubicka  <jh@suse.cz>
328
329         * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
330
331         * flow.c (redirect_edge_and_branch_force, split_edge,
332         try_crossjump_to_edge): Use set_block_for_new_insns.
333         * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
334
335 2001-07-13  H.J. Lu  (hjl@gnu.org)
336
337         * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
338         the correct patch.
339
340 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
341
342         Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
343
344 2001-07-13  Joseph S. Myers  <jsm28@cam.ac.uk>
345
346         * c-common.c (decl_attributes): Take a pointer to the node to
347         which attributes are to be attached, and a flags argument.
348         * c-common.h (enum attribute_flags): New.
349         (decl_attributes): Update prototype.
350         * c-decl.c (start_decl, push_parm_decl, finish_struct,
351         finish_enum, start_function): Update calls to decl_attributes.
352         * c-parse.in (component_declarator, component_notype_declarator,
353         label): Update calls to decl_attributes.
354
355 Fri Jul 13 23:04:00 2001  Denis Chertykov  <denisc@overta.ru>
356
357         * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
358         * config/avr/avr.c (legitimate_address_p): Return value changed
359         from letter to register classes. For better debugging.
360
361 2001-07-13  Kazu Hirata  <kazu@hxi.com>
362
363         * jump.c (reversed_comparison_code_parts): Fix comment typos.
364
365 2001-07-13  H.J. Lu  (hjl@gnu.org)
366
367         * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
368
369 2001-07-13  Marc Espie  <espie@cvs.openbsd.org>
370
371         * config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
372         correctly for shared configurations.
373         * config/t-libgcc-pic:  New.
374         * config/{i386,m68k,sparc}/t-openbsd:  New.
375         * config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
376         Support -shared.  Support debugging libraries with -g.
377         * config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
378         frame information does not emit pointer diffs.
379         * config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
380         emit pointer diffs.
381
382 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
383
384         Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
385
386 2001-07-13  David Edelsohn  <edelsohn@gnu.org>
387
388         * combine.c (try_combine): Ensure const_int pow2 is positive.
389
390 2001-07-13  Hartmut Penner  <hpenner@de.ibm.com>
391
392         * config.gcc: Add configuration for s/390.
393         * config/s390/s390.c: New. Subroutines for code generation.
394         * config/s390/s390.h: New. Definitions for s/390.
395         * config/s390/s390-protos.h: New. Prototypes.
396         * config/s390/linux.h: New. Definitions for linux for s/390.
397         * config/s390/linux64.h: New. Definitions for linux for zSeries.
398         * config/s390/t-linux: New. Makefile fragment.
399         * config/s390/s390.md: New. Machine description for s/390 and zSeries.
400         * config/s390/fixdfdi.h: New. Fix L_fix*di.
401
402 Fri Jul 13 14:46:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
403
404         * emit-rtl.c (try_split): Update mark_jump_label call.
405         * flow.c (find_sub_basic_blocks): Likewise.
406         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
407         jump_back_p): Kill.
408         (mark_all_labels): Kill second parameter.
409         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
410         (rebuild_jump_labels, jump_optimize_minimal): Update call
411         of jump_optimize_1.
412         (jump_optimize_1): Kill crossjumping code.
413         (mark_jump_label): Kill cross_jump parameter.
414         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
415         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
416         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
417          splitting.
418         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
419         DFI_bpro.
420         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
421         reorganize passes to do reg-stack first, bb-reorder second.
422         * invoke.texi (-d letters doc): Remove the jump2 pass.
423
424 2001-07-12  Steve Ellcey <sje@cup.hp.com>
425
426         * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
427
428 Thu Jul 12 17:57:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
429
430         * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
431         basic blocks.
432         (verify_flow_info): Make diagnostics prettier.
433
434 Thu Jul 12 16:48:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
435
436         * flow.c (find_basic_blocks_1): Do not emit NOP after call.
437
438         * flow.c (outgoing_edges_match): Return early if condition reversal
439         failed.
440
441 2001-07-06  Richard Sandiford  <rsandifo@redhat.com>
442
443         * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
444         (mips_move_2words): When splitting a move into two instructions,
445         prefix the second address operand with '%D'.
446
447 2001-07-12  Neil Booth  <neil@daikokuya.demon.co.uk>
448
449         * Makefile.in (final.o): Depend on debug.h.
450         * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
451         (dbx_debug_hooks): Add new hooks.
452         (xcoff_debug_hooks): New.
453         * debug.c (debug_nothing_file_int_int): New.
454         (do_nothing_debug_hooks): Update.
455         * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
456         (debug_nothing_file_int_int): New.
457         * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
458         static, update prototype.
459         (dwarf2_debug_hooks): Update.
460         * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
461         * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
462         static, update prototype.
463         (dwarf_debug_hooks): Update.
464         * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
465         * final.c: Include debug.h.
466         (final_scan_insn): Use debug hooks when beginning and ending blocks.
467         * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
468         static, update prototype.
469         (sdb_debug_hooks): Update.
470         * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
471         * toplev.c: Distinguish between xcoff and dbx.
472
473         * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
474         Call all debug hooks, not just dwarf ones.
475
476 2001-07-11  Timothy Wall  <twall@redhat.com>
477
478         * config.gcc: Add configuration for AIX5/IA64.
479         * config/ia64/aix.h: New.  AIX5/IA64-specific configuration.
480         * config/ia64/crt[in].asm: New.  Generic static ctor/dtor
481         support prefix/suffix code.
482         * config/ia64/t-aix: New.  Makefile fragment.
483         * config/ia64/unwind-aix.c: New.  Unwind table entry lookup.
484
485 2001-07-11  Kazu Hirata  <kazu@hxi.com>
486
487         * recog.c (validate_change): Fix a comment typo.
488
489 2001-07-11  Neil Booth  <neil@daikokuya.demon.co.uk>
490
491         * Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
492         * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
493         hooks directly.
494         * dbxout.c (dbx_debug_hooks): Add new hooks.
495         (dbxout_start_new_source_file): Rename dbxout_start_source_file,
496         make static.
497         (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
498         make static.
499         * dbxout.h (dbxout_start_new_source_file,
500         dbxout_resume_previous_source_file): Delete.
501         * debug.c (do_nothing_debug_hooks): Add new hooks.
502         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
503         (debug_nothing_int_charstar, debug_nothing_int): New.
504         * debug.h (gcc_debug_hooks): New hooks define, undef,
505         start_source_file and end_source_file.
506         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
507         (debug_nothing_int_charstar, debug_nothing_int): New.
508         * dwarf2out.c (dwarf2_debug_hooks): Add new hooks.  Move into
509         the conditionally compiled section.
510         (dwarf2out_start_source_file, dwarf2out_end_source_file,
511         dwarf2out_define, dwarf2out_undef): Make static.
512         * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
513         dwarf2out_define, dwarf2out_undef): Remove.
514         * dwarfout.c (dwarf_debug_hooks): Add new hooks.
515         (dwarfout_start_source_file, dwarfout_end_source_file,
516         dwarfout_define, dwarfout_undef): Make static.
517         (dwarfout_start_source_file_check,
518         dwarfout_end_source_file_check): New.
519         (dwarfout_define, dwarfout_finish): Update.
520         * dwarfout.h (dwarfout_start_new_source_file,
521         dwarfout_resume_previous_source_file, dwarfout_define,
522         dwarfout_undef): Remove.
523         * sdbout.c (sdb_debug_hooks): Add new hooks.
524         (sdbout_start_new_source_file): Rename sdbout_start_source_file,
525         make static.
526         (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
527         make static, take an arg.
528         * sdbout.h (sdbout_start_new_source_file,
529         sdbout_resume_previous_source_file): Delete.
530         * toplev.c (debug_start_source_file, debug_end_source_file,
531         debug_define, debug_undef): Delete.
532         * toplev.h (debug_start_source_file, debug_end_source_file,
533         debug_define, debug_undef): Delete.
534
535         * java/jcf-parse.c: Include debug.h.
536         (parse_class_file): Update to use debug hooks directly.
537         * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
538
539 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
540
541         * alias.c (set_mem_alias_set): New function.
542         * rtl.h (set_mem_alias_set): Declare it.
543         * builtins.c (expand_builtin_return_addr): Call it instead of
544         using MEM_ALIAS_SET accessor.
545         (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
546         (get_memory_rtx, expand_builtin_va_arg): Likewise.
547         (expand_builtin_va_copy):Likewise.
548         * caller-save.c (setup_save_areas): Likewise.
549         * calls.c (compute_argument_addresses): Likewise.
550         * explow.c (set_mem_attributes): Likewise.
551         * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
552         (expand_assignment, store_constructor_field, store_field): Likewise.
553         (expand_expr_unaligned): Likewise.
554         * function.c (assign_stack_temp_for_type): Likewise.
555         (put_reg_into_stack, gen_mem_addressof): Likewise.
556         * ifcvt.c (noce_try_cmove_arith): Likewise.
557         * reload1.c (reload, alter_reg): Likewise.
558         * config/alpha/alpha.c (get_aligned_mem): Likewise.
559         (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
560         (alpha_expand_unaligned_store): Likewise
561         (alpha_expand_unaligned_load_words): Likewise.
562         (alpha_expand_unaligned_store_words): Likewise.
563         (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
564         (alpha_expand_epilogue): Likewise.
565         * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
566         * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
567         * config/i386/i386.c (legitimize_pic_address): Likewise.
568         * config/i960/i960.c (setup_incoming_varargs): Likewise.
569         * config/ia64/ia64.c (spill_restore_mem): Likewise.
570         * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
571         * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
572         * config/mips/mips.c (mips_va_arg): Likewise.
573         * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
574         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
575         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
576         (setup_incoming_varargs, rs6000_va_arg): Likewise.
577         (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
578         (rs6000_emit_epilogue): Likewise.
579         * config/sh/sh.c (sh_builtin_saveregs): Likewise.
580         * config/sparc/sparc.c (sparc_va_arg): Likewise.
581         * config/v850/v850.c (v850_va_arg): Likewise.
582
583 Wed Jul 11 21:27:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
584
585         * flow.c (merge_blocks_move_successor_nojumps): Do not crash
586         when fallthru edge is present.
587         (mege_blocks): Handle case where creation of jump insn
588         is required.
589
590         * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
591         CLEANUP_POST_REGSTACK): New constants.
592         * except.c (finish_eh_generation): Update call of cleanup_cfg,
593         * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
594         * output.h (cleanup_cfg): Update prototype.
595         * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
596         * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
597         cleanup_cfg call; kill missleading comment.
598         * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
599         * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
600         parameter; control optimizations performed using it.
601         (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
602         try_crossjump_bb): New functions.
603
604 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
605
606         * pa.c (pa_output_function_prologue): Delete prototype.  Make function
607         extern.
608         * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
609         pa_output_function_prologue.
610         * pa-protos.h (pa_output_function_prologue): New prototype.
611
612 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
613
614         * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
615         and low to get correct sign extension in low+high test.
616
617 2001-07-11  Janis Johnson <janis@us.ibm.com>
618
619         * gcov.c (arcdata): Use gcov_type to fix branch percentage
620         for large hit count.
621
622         * profile.c (branch_prob): Fix .bbg info for computed gotos
623         and C++ EH code.
624
625 2001-07-11  Mark Mitchell  <mark@codesourcery.com>
626
627         * stmt.c (parse_output_constraint): New function, split out
628         from ...
629         (expand_asm_operands): ... here.  Use parse_output_constraint.
630         * tree.h (parse_output_constraint): Declare it.
631
632 2001-07-11  Richard Henderson  <rth@redhat.com>
633
634         * bitmap.c: Comment some functions; fiddle whitespace.
635         (bitmap_free): Don't export.
636         (bitmap_element_allocate): Use memset.
637         * bitmap.h (bitmap_free): Don't declare.
638
639 2001-07-11  Daniel Berlin  <dan@cgsoftware.com>
640
641         * gcse.c, lcm.c, sched-deps.c:
642         s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
643
644         * flow.c (flow_loops_find): Free dom if we found no loops, since
645         we aren't going to save it.
646
647         * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
648         done.
649
650 Wed Jul 11 09:00:48 2001  Jeffrey A Law  (law@cygnus.com)
651
652         * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
653
654 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
655
656         * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
657         #ifndef DWARF2_DEBUGGING_INFO.
658
659 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
660
661         * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
662
663 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
664
665         * config/mips/mips.c (gen_int_relational): Tell the caller not to
666         reverse a branch if a NE comparison is implemented with GTU.
667
668 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
669             H.J. Lu  <hjl@gnu.org>
670
671         * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
672         constant addresses.
673         (call_internal2): Likewise.
674         (call_value_internal1): Likewise.
675         (call_value_internal2): Likewise.
676         (call_value_multiple_internal1): Likewise.
677         (call_value_multiple_internal2): Likewise.
678
679 2001-07-10  Kazu Hirata  <kazu@hxi.com>
680
681         * calls.c (emit_library_call_value_1): Fix a comment typo.
682         * dwarf2out.c (mem_loc_descriptor): Likewise.
683         * config/i386/i386.c (ix86_expand_aligntest): Likewise.
684
685 2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
686
687         * simplify-rtx.c (simplify_subreg): Fix typo in comment
688
689 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
690
691         * recog.c (offsettable_address_p): Handle LO_SUM case.
692         * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
693         instead of plus_constant.
694
695 2001-07-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
696
697         * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
698         fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
699
700 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
701
702         * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
703         adjust_address_nv instead of plus_constant.
704
705 2001-07-10  Neil Booth  <neil@daikokuya.demon.co.uk>
706
707         * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
708         dwarf2out.o): Depend on debug.h, wrap long lines.
709         * dbxout.c: Include debug.h.
710         (dbx_debug_hooks): New.
711         (dbxout_init): Make static, take just 2 args.
712         (dbxout_finish): Make static.
713         * dbxout.h (dbxout_init, dbxout_finish): Delete.
714         * debug.c: New file.
715         * debug.h: New file.
716         * dwarf2out.c: Include debug.h.
717         (dwarf2_debug_hooks): New.
718         (dwarf2out_init): Make static.
719         (dwarf2out_finish): Make static, take 2 args.
720         * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
721         * dwarfout.c: Include debug.h.
722         (dwarf_debug_hooks): New.
723         (dwarfout_init): Make static.
724         (dwarfout_finish): Make static, take 2 args.
725         * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
726         * sdbout.c: Include debug.h.
727         (sdb_debug_hooks): New.
728         (sdbout_init): Make static, take 2 args.
729         * sdbout.h (sdbout_init): Delete.
730         * toplev.c: Include debug.h.
731         (debug_hooks): New.
732         (compile_file): Set deubg_hooks based on command line options.
733         Use the hooks unconditionally rather than conditional compilation.
734
735 Tue Jul 10 09:04:45 2001  Jeffrey A Law  (law@cygnus.com)
736
737         * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
738         first_insn_after_basic_block_note instead.
739
740         * df.c (df_bb_refs_unlink): #if 0 out for now.
741
742 2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com
743
744         * ssa.h: Add prototype for ssa_const_prop
745         * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
746         (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
747         (ssa_fast_dce): Remove unused variable
748
749 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
750
751         * diagnostic.c (finish_diagnostic): Rename to
752         diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
753         calls thourghout.
754
755 2001-07-10  Jason Merrill  <jason_merrill@redhat.com>
756
757         * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
758         .loc support.
759
760         * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
761         (dump_file): Only pad the demangled name with spaces if the
762         mangled name was padded with spaces.
763
764 2001-07-10  Bernd Schmidt  <bernds@redhat.com>
765
766         * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
767         edge detection.
768
769 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
770
771         * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
772         extraction if no direct load if either EXPAND_CONST_ADDRESS or
773         EXPAND_INITIALIZER.
774
775         * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
776         whether can put offset inside LO_SUM to check mode alignment, not size.
777
778 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
779
780         * doc/tm.texi (Misc): Fix thinko.
781
782 2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
783
784         * regmove.c (replace_in_call_usage): Fix warnings.
785         * sched-deps.c (add_dependence): Fix warnings.
786         * simplify-rtx.c (simplify_subreg): Likewise.
787         Return NULL_RTX instead of NULL.
788
789         * reg-stack.c (emit_swap_insn): Eliminate warnings.
790         (subst_asm_stack_regs): Likewise.
791
792         * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
793         warnings.
794
795         * dwarf2out.c (output_call_frame_info): Declare i as int.
796         (build_abbrev_table): Declare n_alloc as int.
797         (dwarf2out_finish): Initialize die.
798         * except.c: Declare sjlj_funcdef_number as unsigned.
799         (connect_post_landing_pads): Declare j as unsigned.
800         (convert_to_eh_region_ranges): Initialize call_site.
801         (output_function_exception_table): Initialize tt_format_size.
802         * expr.c (move_by_pieces_1): Initialize to1.
803         (store_constructor): Initialize minelt and maxelt.
804         * flow.c (mark_regs_live_at_end): Declare i as unsigned.
805         * function.c (instantiate_decls): Avoid signed/unsigned warning.
806
807         * c-decl.c (combine_parm_decls): Unused, remove.
808         * c-tree.h: Remove prototype for combine_parm_decls.
809
810         * reload.c (push_reload): Fix warning.
811         (regno_clobbered_p): Likewise.
812         * reload1.c (replace_pseudos_in_call_usage): Likewise.
813         (reload_combine): Likewise.
814
815         * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
816         * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
817         warnings.
818         * bitmap.c (bitmap_operation): Change user.
819         * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
820
821 2001-07-10  Eric Christopher  <echristo@redhat.com>
822
823         * config/mips/mips.c (override_options): Fix typo.
824
825 2001-07-09  Stan Shebs  <shebs@apple.com>
826
827         * target.h (struct gcc_target): New fields init_builtins and
828         expand_builtin.
829         * target-def.h (TARGET_INIT_BUILTINS): New macro.
830         (TARGET_EXPAND_BUILTIN): New macro.
831         (TARGET_INITIALIZER): Add them.
832         * builtins.c: Include target.h.
833         (expand_builtin): Use targetm.expand_builtin.
834         (default_init_builtins): New function.
835         (default_expand_builtin): New function.
836         * expr.h (default_init_builtins): Declare.
837         (default_expand_builtin): Declare.
838         * c-common.c (c_common_nodes_and_builtins): Use
839         targetm.init_builtins.
840         * defaults.h (MD_INIT_BUILTINS): Remove.
841         * Makefile.in (builtins.o): Depend on target.h.
842
843         * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
844         (TARGET_EXPAND_BUILTIN): Define.
845         * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
846         (MD_EXPAND_BUILTIN): Remove.
847
848         * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
849         (TARGET_EXPAND_BUILTIN): Define.
850         (c4x_init_builtins): Make endlink arg a local.
851         (c4x_print_operand): Fix typos in adjust_address usages.
852         * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
853         * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
854         (MD_EXPAND_BUILTIN): Remove.
855
856         * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
857         (TARGET_EXPAND_BUILTIN): Define.
858         (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
859         (ix86_init_builtins): Call new function only if TARGET_MMX.
860         * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
861         * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
862         (MD_EXPAND_BUILTIN): Remove.
863
864         * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
865         (TARGET_EXPAND_BUILTIN): Define.
866         * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
867         (MD_EXPAND_BUILTIN): Remove.
868
869         * doc/tm.texi: Document these changes.
870
871 2001-07-09  Diego Novillo  <dnovillo@redhat.com>
872
873         * basic-block.h (tree_node): Forward declare if needed.
874         (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
875         (BLOCK_HEAD_TREE): Define.
876         (BLOCK_END_TREE): Define.
877         (struct loops): Rename field 'tree' to 'tree_root'.
878         * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
879         'end_tree'.
880         (flow_loops_tree_build): Rename reference to field 'tree' to
881         'tree_root'.
882         (flow_loops_level_compute): Ditto.
883         * predict.c (estimate_bb_frequencies): Ditto.
884         * tree.h (struct tree_common): Add field 'aux'.
885
886 2001-07-09  Stan Shebs  <shebs@apple.com>
887
888         * config/darwin.c (darwin_encode_section_info): Don't mark any
889         DECL_EXTERNAL node as defined.
890
891 2001-07-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
892
893         * pa.c (pa_init_machine_status, pa_mark_machine_status,
894         pa_free_machine_status, hppa_init_pic_save): Delete.
895         (hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
896         (hppa_profile_hook): Use hppa_pic_save_rtx.
897         * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
898         hppa_init_pic_save): Delete.
899         (hppa_pic_save_rtx): Declare.
900         * pa.md (call, call_value, sibcall, sibcall_value,
901         builtin_setjmp_receiver): Use hppa_pic_save_rtx.
902
903 2001-07-09  Kazu Hirata  <kazu@hxi.com>
904
905         * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
906         * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
907
908 2001-07-09  Andreas Jaeger  <aj@suse.de>
909
910         * output.h: Add declaration of final_forward_branch_p.
911
912         * config/i386/i386.c (output_fix_trunc): Remove unused variable.
913
914         * varray.c: Include errors.h for internal_error and trim_filename
915         declarations.
916
917         * Makefile.in (varray.o): Add errors.h.
918
919 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
920
921         * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
922         * optabs.c (have_add2_insn): Check whether the add insn chosen
923         really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
924         * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
925
926 Mon Jul  9 13:26:40 2001  Jeffrey A Law  (law@cygnus.com)
927
928         * Makefile.in (OBJS): Add ssa-ccp.o
929         (ssa-ccp.o): Add dependencies.
930         * toplev.c (DFI_ssa_ccp): New dump file enum.
931         (dump_file): Add entry for dumping after SSA CCP.
932         (flag_ssa_ccp): New flag variable.
933         (f_options): Add -fssa-ccp.
934         (rest_of_compilation): Run SSA CCP if requested.
935         * timevar.def (TV_SSA_CCP): New timevar.
936         * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
937         * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
938         Fix minor typo in SSA DCE documentation.
939         * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
940         Add documentation for new dump option.  Renumber dump files
941         appropriately.
942
943 Mon Jul  9 21:36:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
944
945         * emit-rtl.c (gen_highpart_mode): New.
946         * rtl.h (gen_highpart_mode): Declare.
947         * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
948         operand can be VOIDmode constant.
949
950 Mon Jul  9 17:23:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
951
952         * flow.c (redirect_edge_and_branch_force): New.
953         (can_fallthru): Ensure that basic blocks are succeeding.
954         (try_optimize_cfg): Do not delete basic block if it is the last one.
955
956         * flow.c (try_redirect_by_replacing_jump): Do not remove
957         jumps with side effects, unlink chain on fallthru edge;
958         set block for new jump instruction; avoid basic block to
959         over by line number note.
960
961         * flow.c (try_simplify_condjump): Verify that the condjump
962         is not always falling trought.
963
964         Re-install patch:
965         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
966
967         * flow.c (forwarder_block_p): Fix for fallthru blocks.
968         (try_redirect_by_replacing_jump): Update properly the count
969         and frequency information.
970
971 Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
972
973         * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
974         address that is a LO_SUM specially.
975         * explow.c (plus_constant_wide, case LO_SUM): Deleted.
976
977         * c-lang.c (start_cdtor): Remove extra parameter from start_function.
978
979         * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
980         (operand_subword): Use them.
981         (change_address_1): Renamed from change_address; new arg VALIDATE.
982         * expr.h: Reflect above changes; change_address now macro.
983         * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
984         making MEM.
985         * cselib.c (add_mem_for_addr): Likewise.
986         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
987         * regmove.c (try_apply_stack_adjustment): Likewise.
988         * reload.c (push_reload, make_memloc): Likewise.
989         * reload1.c (eliminate_regs): Likewise.
990         * simplify-rtx.c (simplify_replace_rtx): Likewise.
991         * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
992         adjust_addess.
993         * combine.c (make_extraction, simplify_shift_const): Likewise.
994         (gen_lowpart_for_combine): Likewise.
995         * cse.c (gen_lowpart_if_possible): Likewise.
996         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
997         * expr.c (expand_expr, case COMPONENT_REF): Likewise.
998         * optabs.c (gen_move_insn): Likewise.
999         * reload1.c (alter_reg): Likewise.
1000         * simplify-rtx.c (simplify_subreg): Likewise.
1001         * stmt.c (expand_anon_union_decl): Likewise.
1002         * recog.c (validate_replace_rtx_1): Likewise.
1003         (expr.h): Include.
1004         * Makefile.in (recog.o): Add $(EXPR_H).
1005         * explow.c (stabilize): Call replace_equiv_address.
1006         * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
1007         * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
1008
1009 2001-07-03  Andrew Haley  <aph@redhat.com>
1010
1011         * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
1012         the mode of the memory location.
1013
1014 2001-07-09  Bo Thorsen  <bo@suse.co.uk>
1015
1016         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
1017
1018 2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>
1019
1020         * final.c (output_addr_const): Use target opening and
1021         closing parentheses.
1022         * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
1023         defaults, add to TARGET_ASM_OUT.
1024         * target.h (struct gcc_target): Add open_paren and close_paren.
1025         * doc/md.texi: Update.
1026         * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
1027         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
1028         TARGET_ASM_CLOSE_PAREN.
1029         * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
1030         Override.
1031         * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
1032         Override.
1033         * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
1034         * config/a29k/a29k.h: Similarly.
1035         * config/alpha/alpha.h: Similarly.
1036         * config/arc/arc.h: Similarly.
1037         * config/arm/aof.h: Similarly.
1038         * config/arm/aout.h: Similarly.
1039         * config/avr/avr.h: Similarly.
1040         * config/c4x/c4x.h: Similarly.
1041         * config/clipper/clipper.h: Similarly.
1042         * config/convex/convex.h: Similarly.
1043         * config/d30v/d30v.h: Similarly.
1044         * config/dsp16xx/dsp16xx.h: Similarly.
1045         * config/elxsi/elxsi.h: Similarly.
1046         * config/fr30/fr30.h: Similarly.
1047         * config/h8300/h8300.h: Similarly.
1048         * config/i370/i370.h: Similarly.
1049         * config/i386/i386.h: Similarly.
1050         * config/i860/i860.h: Similarly.
1051         * config/i960/i960.h: Similarly.
1052         * config/ia64/ia64.h: Similarly.
1053         * config/m32r/m32r.h: Similarly.
1054         * config/m68hc11/m68hc11.h: Similarly.
1055         * config/m68k/m68k.h: Similarly.
1056         * config/m88k/m88k.h: Similarly.
1057         * config/mcore/mcore.h: Similarly.
1058         * config/mips/mips.h: Similarly.
1059         * config/mn10200/mn10200.h: Similarly.
1060         * config/mn10300/mn10300.h: Similarly.
1061         * config/ns32k/ns32k.h: Similarly.
1062         * config/pa/pa.h: Similarly.
1063         * config/pdp11/pdp11.h: Similarly.
1064         * config/pj/pj.h: Similarly.
1065         * config/romp/romp.h: Similarly.
1066         * config/rs6000/rs6000.h: Similarly.
1067         * config/sh/sh.h: Similarly.
1068         * config/sparc/sparc.h: Similarly.
1069         * config/v850/v850.h: Similarly.
1070         * config/vax/vax.h: Similarly.
1071         * config/we32k/we32k.h: Similarly.
1072
1073 2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>
1074
1075         * doc/c-tree.texi: Document representation of attributes.
1076
1077 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1078
1079         * doc/tm.texi: Update some places for the rename of target to
1080         targetm.  Fix typo.
1081
1082 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1083
1084         * target.h (struct gcc_target): Add insert_attributes.
1085         * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
1086         (TARGET_INITIALIZER): Update.
1087         * tree.c, tree.h (default_insert_attributes): New function.
1088         Update comments on other default functions to refer to targetm,
1089         not target.
1090         * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
1091         TARGET_INSERT_ATTRIBUTES.
1092         (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
1093         * c-common.c (decl_attributes): Use targetm.insert_attributes.
1094         Don't use PRAGMA_INSERT_ATTRIBUTES.
1095         * Makefile.in (c-common.o): Depend on $(TARGET_H).
1096         * c-decl.c (start_decl, start_function): Don't call
1097         SET_DEFAULT_DECL_ATTRIBUTES.
1098         * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
1099         * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
1100         declare.
1101         * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
1102         (c4x_check_attribute): Avoid modifying attribute list itself.
1103         (c4x_set_default_attributes): Rename to c4x_insert_attributes.
1104         Make static.
1105         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
1106         * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
1107         declare.
1108         * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
1109         (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
1110         Make static.
1111         * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
1112         * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
1113         declare.
1114         * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
1115         (v850_set_default_decl_attr): Rename to v850_insert_attributes.
1116         Adjust parameters.  Make static.
1117
1118 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
1119
1120         * c-common.c (decl_attributes): Only take a single attributes
1121         parameter.
1122         * c-common.h (decl_attributes): Update prototype.
1123         * c-decl.c (start_decl, start_function): Only take a single
1124         attributes parameter.  Update calls to decl_attributes.
1125         (finish_struct, finish_enum): Update calls to decl_attributes.
1126         (push_parm_decl): Expect unified list of attributes.  Update call
1127         to decl_attributes.
1128         * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
1129         notype_nested_function, component_declarator,
1130         component_notype_declarator, label): Update calls to
1131         decl_attributes.
1132         (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
1133         lists that are passed to push_parm_decl.
1134         * c-tree.h (start_function, start_decl): Update prototypes.
1135         * config/sh/sh-protos.h, config/sh/sh.c
1136         (sh_pragma_insert_attributes): Only take a single attributes
1137         parameter.
1138         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
1139         * doc/tm.texi (INSERT_ATTRIBUTES): Update.
1140         * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
1141         build_module_descriptor, generate_static_references,
1142         generate_strings, build_selector_translation_table,
1143         generate_descriptor_table, generate_protocols,
1144         generate_ivars_list, generate_dispatch_table,
1145         generate_protocol_list, generate_category,
1146         generate_shared_structures, really_start_method, add_objc_decls,
1147         generate_classref_translation_entry): Update calls to start_decl
1148         and start_function.
1149         (build_tmp_function_decl, start_method_def): Unify attribute lists
1150         that are passed to push_parm_decl.
1151
1152 2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>
1153
1154         * final.c (no_asm_to_stream): New.
1155         (final_scan_insn): Use target structures for prologue ends
1156         and epilogue starts.
1157         * output.h (no_asm_to_stream): New.
1158         * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
1159         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
1160         (TARGET_ASM_OUT): Update.
1161         * target.h (struct gcc_target): New members function_end_prologue
1162         and function_begin_epilogue.
1163         * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
1164         * config/alpha/alpha-protos.h (output_end_prologue): Delete.
1165         * config/alpha/alpha.c (output_end_prologue): Rename to
1166         alpha_output_function_end_prologue.  Use in target struct
1167         and make static.
1168         * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
1169         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
1170         * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
1171         ia64_output_function_end_prologue.  Use in target struct
1172         and make static.
1173         (ia64_function_prologue, ia64_funciton_epilogue): Rename
1174         mistyped prototypes.
1175         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
1176         * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
1177         Delete.
1178         * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
1179         an use in target struct, make static.
1180         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
1181         Delete.
1182
1183 2001-07-08  Richard Henderson  <rth@redhat.com>
1184
1185         * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
1186
1187 2001-07-08  Richard Henderson  <rth@redhat.com>
1188
1189         * config/i386/i386.md: Remove constraints strings from define_split
1190         and define_peephole2 patterns.
1191         (eh_return_si, eh_return_di): Split eh_return_1 for modes.
1192         (eh_return): Use them.
1193
1194 2001-07-08  Richard Henderson  <rth@redhat.com>
1195
1196         * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
1197         Document MD_FALLBACK_FRAME_STATE_FOR.
1198
1199 2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1200
1201         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
1202         Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
1203         elimination.
1204         * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
1205
1206 2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
1207
1208         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
1209         of the label inside NAME as opposed to just the end of NAME.
1210
1211 2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>
1212
1213         * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
1214         * config/alpha/alpha.c (alpha_init_machine_status,
1215         alpha_mark_machine_status, alpha_free_machine_status): Delete.
1216         (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
1217         (vms_valid_decl_attribute_p): Make static, conditionally compile.
1218         * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
1219
1220 2001-07-06  Stan Shebs  <shebs@apple.com>
1221
1222         * target.h (targetm): Rename global from "target", so as not to
1223         conflict with local variables.
1224         * c-decl.c: Ditto.
1225         * c-typeck.c: Ditto.
1226         * final.c: Ditto.
1227         * tree.c: Ditto.
1228         * cp/decl.c: Ditto.
1229         * cp/decl2.c: Ditto.
1230         * cp/typeck.c: Ditto.
1231         * 1750a/1750a.c: Ditto.
1232         * a29k/a29k.c: Ditto.
1233         * arc/arc.c: Ditto.
1234         * arm/arm.c: Ditto.
1235         * avr/avr.c: Ditto.
1236         * clipper/clipper.c: Ditto.
1237         * convex/convex.c: Ditto.
1238         * d30v/d30v.c: Ditto.
1239         * dsp16xx/dsp16xx.c: Ditto.
1240         * elxsi/elxsi.c: Ditto.
1241         * fr30/fr30.c: Ditto.
1242         * h8300/h8300.c: Ditto.
1243         * i370/i370.c: Ditto.
1244         * i386/i386.c: Ditto.
1245         * i860/i860.c: Ditto.
1246         * i960/i960.c: Ditto.
1247         * ia64/ia64.c: Ditto.
1248         * m32r/m32r.c: Ditto.
1249         * m68hc11/m68hc11.c: Ditto.
1250         * m68k/m68k.c: Ditto.
1251         * m88k/m88k.c: Ditto.
1252         * mips/mips.c: Ditto.
1253         * ns32k/ns32k.c: Ditto.
1254         * pa/pa.c: Ditto.
1255         * pdp11/pdp11.c: Ditto.
1256         * romp/romp.c: Ditto.
1257         * rs6000/rs6000.c: Ditto.
1258         * sh/sh.c: Ditto.
1259         * sparc/sparc.c: Ditto.
1260         * vax/vax.c: Ditto.
1261         * we32k/we32k.c: Ditto.
1262         * doc/tm.texi: Update the manual to match.
1263
1264 2001-07-06  Richard Henderson  <rth@redhat.com>
1265
1266         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
1267         DWARF2_UNWIND_INFO not just whether it is defined.
1268
1269 2001-07-06  Diego Novillo  <dnovillo@redhat.com>
1270
1271         * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
1272         call to simplify_binary_operation returns a new pattern.
1273
1274 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
1275
1276         * glimits.h (__SHRT_MAX__): New.
1277         (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
1278         (SHRT_MAX): Define in terms of __SHRT_MAX__.
1279
1280 2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>
1281
1282         * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
1283         avoid warnings.
1284
1285 2001-07-06  Richard Henderson  <rth@redhat.com>
1286
1287         * bitmap.c (bitmap_release_memory): Move adjacent to the
1288         allocation functions.
1289         (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
1290         the implementation.  Binary search for the set bit.
1291         (bitmap_union_of_diff): Allocate the temporary on the stack
1292         instead of using xmalloc.
1293
1294 2001-07-06  Richard Henderson  <rth@redhat.com>
1295
1296         * genrecog.c (validate_pattern): Warn for constraints in
1297         define_{expand,split,peephole2}.  Remove strict_low_part
1298         before looking up match_dup.
1299
1300 2001-07-06  DJ Delorie  <dj@redhat.com>
1301
1302         * doc/gcc.texi (Makefile): Rename to be a more general purpose
1303         chapter about various build hints and history.  Add section
1304         talking about the various types of native and cross builds.
1305
1306 2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>
1307
1308         * Makefile.in (final.o): Depend on target.h.
1309         * final.c: Include target.h.
1310         (default_function_pro_epilogue): New.
1311         (final_start_function): Use target structure for function prologues.
1312         (final_end_function): Use target structure for function epilogues.
1313         * fold-const.c (real_hex_to_f): Constify s and p.
1314         * output.h (default_function_pro_epilogue): New.
1315         * real.h (real_hex_to_f): Update prototype.
1316         * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
1317         TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
1318         (TARGET_INITIALIZER): Update.
1319         * target.h (gcc_target): Add struct asm_out.
1320         * doc/tm.texi: Update.
1321
1322 config:
1323         Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
1324         TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
1325         in cpu/cpu.c, or rename old functions consistently.  Take
1326         a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
1327         redundant macros and prototypes.  Make new functions static.
1328
1329         * 1750a/1750a.c: Similarly.
1330         * 1750a/1750a.h: Similarly.
1331         * a29k/a29k-protos.h: Similarly.
1332         * a29k/a29k.c: Similarly.
1333         * a29k/a29k.h: Similarly.
1334         * arc/arc-protos.h: Similarly.
1335         * arc/arc.c: Similarly.
1336         * arc/arc.h: Similarly.
1337         * arm/arm-protos.h: Similarly.
1338         * arm/arm.c: Similarly.
1339         * arm/arm.h: Similarly.
1340         * avr/avr-protos.h: Similarly.
1341         * avr/avr.c: Similarly.
1342         * avr/avr.h: Similarly.
1343         * clipper/clipper-protos.h: Similarly.
1344         * clipper/clipper.c: Similarly.
1345         * clipper/clipper.h: Similarly.
1346         * convex/convex.c: Similarly.
1347         * convex/convex.h: Similarly.
1348         * d30v/d30v-protos.h: Similarly.
1349         * d30v/d30v.c: Similarly.
1350         * d30v/d30v.h: Similarly.
1351         * d30v/d30v.md: Similarly.
1352         * dsp16xx/dsp16xx-protos.h: Similarly.
1353         * dsp16xx/dsp16xx.c: Similarly.
1354         * dsp16xx/dsp16xx.h: Similarly.
1355         * elxsi/elxsi.c: Similarly.
1356         * elxsi/elxsi.h: Similarly.
1357         * fr30/fr30.c: Similarly.
1358         * fr30/fr30.md: Similarly.
1359         * h8300/h8300-protos.h: Similarly.
1360         * h8300/h8300.c: Similarly.
1361         * h8300/h8300.h: Similarly.
1362         * i370/i370-protos.h: Similarly.
1363         * i370/i370.c: Similarly.
1364         * i370/i370.h: Similarly.
1365         * i386/i386.c: Similarly.
1366         * i386/osf1elf.h: Similarly.
1367         * i386/osfrose.h: Similarly.
1368         * i860/i860-protos.h: Similarly.
1369         * i860/i860.c: Similarly.
1370         * i860/i860.h: Similarly.
1371         * i960/i960-protos.h: Similarly.
1372         * i960/i960.c: Similarly.
1373         * i960/i960.h: Similarly.
1374         * ia64/ia64-protos.h: Similarly.
1375         * ia64/ia64.c: Similarly.
1376         * ia64/ia64.h: Similarly.
1377         * m32r/m32r-protos.h: Similarly.
1378         * m32r/m32r.c: Similarly.
1379         * m32r/m32r.h: Similarly.
1380         * m68hc11/m68hc11-protos.h: Similarly.
1381         * m68hc11/m68hc11.c: Similarly.
1382         * m68hc11/m68hc11.h: Similarly.
1383         * m68k/crds.h: Similarly.
1384         * m68k/dpx2.h: Similarly.
1385         * m68k/m68k-protos.h: Similarly.
1386         * m68k/m68k.c: Similarly.
1387         * m68k/m68k.h: Similarly.
1388         * m68k/news.h: Similarly.
1389         * m88k/m88k-protos.h: Similarly.
1390         * m88k/m88k.c: Similarly.
1391         * m88k/m88k.h: Similarly.
1392         * mips/mips-protos.h: Similarly.
1393         * mips/mips.c: Similarly.
1394         * mips/mips.h: Similarly.
1395         * ns32k/merlin.h: Similarly.
1396         * ns32k/ns32k.c: Similarly.
1397         * ns32k/ns32k.h: Similarly.
1398         * ns32k/tek6000.h: Similarly.
1399         * pa/pa-protos.h: Similarly.
1400         * pa/pa.c: Similarly.
1401         * pa/pa.h: Similarly.
1402         * pdp11/2bsd.h: Similarly.
1403         * pdp11/pdp11-protos.h: Similarly.
1404         * pdp11/pdp11.c: Similarly.
1405         * pdp11/pdp11.h: Similarly.
1406         * romp/romp-protos.h: Similarly.
1407         * romp/romp.c: Similarly.
1408         * romp/romp.h: Similarly.
1409         * rs6000/rs6000-protos.h: Similarly.
1410         * rs6000/rs6000.c: Similarly.
1411         * rs6000/rs6000.h: Similarly.
1412         * rs6000/sysv4.h: Similarly.
1413         * sh/sh-protos.h: Similarly.
1414         * sh/sh.c: Similarly.
1415         * sh/sh.h: Similarly.
1416         * sparc/sparc-protos.h: Similarly.
1417         * sparc/sparc.c: Similarly.
1418         * sparc/sparc.h: Similarly.
1419         * vax/vax.c: Similarly.
1420         * vax/vax.h: Similarly.
1421         * vax/vms.h: Similarly.
1422         * we32k/we32k.c: Similarly.
1423         * we32k/we32k.h: Similarly.
1424
1425 Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)
1426
1427         * basic-block.h (first_insn_after_basic_block_note): Declare.
1428         * flow.c (first_insn_after_basic_block_note): Define.  Moved
1429         from...
1430         * ssa.c (first_insn_after_basic_block_note): Remove.
1431         * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
1432         necessary.
1433         (ssa_eliminate_dead_code): Properly update the CFG and PHI
1434         nodes when we find a dead conditional branch.  Insert BARRIERs
1435         after any blocks with no successors, but which do not have
1436         any BARRIERs.
1437
1438 2001-07-06  Zack Weinberg  <zackw@stanford.edu>
1439
1440         * varray.c (varray_check_failed): Use internal_error.
1441
1442 2001-07-05  Andrew Haley  <aph@redhat.com>
1443
1444         * Makefile.in (LIB2_DIVMOD_FUNCS): New.
1445         (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
1446         * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
1447
1448 2001-07-02  Jason Merrill  <jason_merrill@redhat.com>
1449
1450         * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
1451         reference if the target constant is also a SYMBOL_REF.
1452
1453 2001-07-05  Eric Christopher  <echristo@redhat.com>
1454
1455         * config/mips/mips.h (MASK_MIPS3900): Remove.
1456         (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
1457         MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
1458         (TARGET_MIPS3900): Change to use mips_arch.
1459         (TARGET_MIPS4000): New.
1460         (TARGET_MIPS4100): New.
1461         (TARGET_MIPS4300): New.
1462         (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
1463         (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
1464         for -mipsX.
1465         (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
1466         (ISA_HAS_BRANCHLIKELY): To here.
1467         (CC1_CPU_SPEC):  New.
1468         (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
1469         (mips_arch_string): Declare.
1470         (mips_arch): Declare.
1471         (TARGET_OPTIONS): Add -march and -mtune.
1472
1473         * config/mips/mips.c (mips_arch_string): New.
1474         (mips_arch): New.
1475         (override_options): Handle -march for codegen and -mtune
1476         for scheduling. Use mips_arch. Move tx39 target default here.
1477         (mips_parse_cpu): Move error message to override_options.
1478
1479         * config/mips/r3900.h (TARGET_DEFAULT): Remove.
1480
1481         * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
1482
1483         * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
1484         (MIPS Options): Ditto.  Change mcpu entry to historical text.
1485
1486 2001-07-05  H.J. Lu  (hjl@gnu.org)
1487
1488         * config/mips/mips.c (mips_parse_cpu): New function to parse
1489         -march=*/-mcpu=*.
1490
1491 2001-07-05  Jim Wilson  <wilson@redhat.com>
1492
1493         * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
1494         * config/ia64/t-ia64: Likewise.
1495         (LIB1ASMFUNCS): Update comment.
1496
1497 2001-07-05  David Edelsohn  <edelsohn@gnu.org>
1498
1499         * doc/install.texi (Install GCC: Binaries): Fix typo.
1500
1501 2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1502
1503         * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
1504         reference using the stack pointer, adjust it since we push Y
1505         temporarily.
1506         ("*ashrsi3"): Likewise.
1507         ("*lshrsi3"): Likewise.
1508
1509 2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1510
1511         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
1512         when -fomit-frame-pointer is used.
1513
1514 2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>
1515
1516         * flow.c: Reverse Jan Hubicka's patch of 02July2001.
1517         (try_redirect_by_replacing_jump): Reverse updating properly the
1518         count and frequency information.  Reverse removing cc0 setter.
1519         (forwarder_block_p): Reverse fixing for fallthru blocks.
1520
1521 2001-07-05  DJ Delorie  <dj@redhat.com>
1522
1523         * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
1524         (translate_options): If the above is defined, use it to map
1525         given options to new options.
1526         * doc/tm.texi: Document it.
1527
1528 2001-07-05  Brad Lucier <lucier@math.purdue.edu>
1529             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1530
1531         * doc/invoke.texi (Optimize Options): Document that -fgcse may
1532         cause programs using computed gotos to run more slowly.
1533
1534 2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1535
1536         * doc/install.texi (Specific): Markup, spelling and typo fixes.
1537         Fixed sorting.
1538         Consistently require binutils 2.11.2, not prereleases.
1539         (Specific, decstation-*): Canonicalize as mips-dec-*.
1540         (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
1541         always necessary.
1542         (Specific, m68k-altos): Removed reference to README.altos, deleted.
1543         (Specific, mips-*): Reword MIPS C compiler requirements.
1544         (Specific, powerpc*-*-*): New, mention --with-cpu once.
1545         (Specific, sunv5): Removed, obsolete.
1546
1547 2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>
1548
1549         * dwarf2out.c (output_loc_list): Use an all ones mask for
1550         .text asm output and don't rely on long long
1551         literals. Reformat some long lines.
1552
1553 2001-07-05  Andreas Jaeger  <aj@suse.de>
1554
1555         * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
1556         section.
1557
1558 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
1559
1560         * dwarf2out.c (dwarf2out_define): Update comment.
1561         (dwarf2out_undef): Ditto.
1562         (dwarf2out_start_source_file): Ditto.
1563         (dwarf2out_end_source_file): Ditto.
1564         (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
1565         since we never call the start/end debug hook for the primary file.
1566
1567 2001-07-04  Kazu Hirata  <kazu@hxi.com>
1568
1569         * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
1570         from shll.
1571
1572 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
1573
1574         * cppinit.c (remove_dup_dirs): Inform if a system include
1575         directory is being reordered.
1576         * doc/invoke.texi (Directory Options): GCC warns if you hide a
1577         system include.
1578         * doc/cpp.texi (Search Paths): Likewise.
1579         * doc/gcc.texi (Interoperation): Remove information about
1580         -I/usr/include.
1581
1582 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
1583
1584         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
1585         (VARRAY_TOP_CHAR_PTR): Likewise.
1586
1587 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1588
1589         * gcc.c (process_command): Don't assign elements of a const char*.
1590
1591 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1592
1593         * emit-rtl.c (change_address): Don't abort if invalid address while
1594         reload is in progress.
1595
1596 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
1597
1598         * c-lex.c (cb_file_change): Pass line number to
1599         debug_start_source_file.
1600         (cb_undefine): Pass correct line number to debug_undef.
1601
1602         * toplev.c (debug_start_source_file): Add line number to
1603         parameters. Pass it along to dwarf2out_start_source_file.
1604         (decode_g_option): Stop resetting debug level back to normal when
1605         we change debug formats, unless the current level is
1606         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
1607         3).
1608
1609         * toplev.h (debug_start_source_file): Add line number to
1610         parameters.
1611
1612         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
1613         parameters.
1614
1615         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
1616         parameters.
1617         Output debug_macinfo data for starting file if requested.
1618         (dwarf2out_end_source_file): Output debug_macinfo data for ending
1619         file if requested.
1620         (dwarf2out_define): Output debug_macinfo data for defining a macro
1621         if requested.
1622         (dwarf2out_undef): Output debug_macinfo data for undefining a
1623         macro if requested.
1624         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
1625         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
1626         (macinfo_section_label): New. DWARF2 macro info section label.
1627         (dwarf2out_init): If we want macro info, output the start label
1628         for the section.
1629         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
1630         attribute to the compilation unit die pointing to the macro info.
1631
1632 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
1633
1634         * dwarf2out.c (new_loc_list): Move to inside #ifdef
1635         DWARF2_DEBUGGING_INFO.
1636         (add_loc_descr_to_loc_list): Ditto.
1637         (output_loc_list): Ditto.
1638         Also, fix thinko in curr not being initialized.
1639         (gen_internal_sym): Ditto.
1640
1641 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1642
1643         * emit-rtl.c (replace_equiv_address): New function.
1644         * expr.h (replace_equiv_address): New declaration.
1645         * explow.c (validize_mem): Call it instead of change_address and
1646         also call if -fforce-addr and address is constant.
1647         * expr.c: Replace more calls to change_address with adjust_address
1648         and/or replace_equiv_address or to validize_mem.
1649         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
1650         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
1651         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
1652         * config/i370/i370.md, config/i860/i860.md: Likewise.
1653         * config/i960/i960.md, config/mips/mips.c: Likewise.
1654         * config/mips/mips.md, config/pa/pa.md: Likewise.
1655         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
1656         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
1657
1658 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1659
1660         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
1661
1662         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
1663         function.
1664
1665 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1666
1667         * doc/include: New directory.
1668         * doc/fdl.texi: Move to doc/include/fdl.texi.
1669         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
1670         * doc/include/funding.texi, doc/include/gpl.texi: New files.
1671         * doc/gcc.texi: Use funding.texi and gpl.texi.
1672         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
1673         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
1674         Update dependencies and use -I $(docdir)/include.
1675
1676 2001-07-04  Anthony Green  <green@redhat.com>
1677
1678         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
1679
1680 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1681
1682         * doc/install.texi (sparc64-*-*): Remove garbage.
1683
1684 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
1685
1686         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
1687         Fix typo in last change to use adjust_address.
1688
1689 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1690
1691         * doc/install.texi (Specific): Update information for *-*-solaris*.
1692
1693 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1694
1695         * explow.c (plus_constant_wide): Reinitialize Y for restart.
1696
1697 2001-07-03  Stan Shebs  <shebs@apple.com>
1698
1699         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
1700         case for flag_no_mach_text_sections.
1701         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
1702         * config/darwin.c (flag_no_mach_text_sections): Remove.
1703         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
1704
1705 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1706
1707         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
1708         and avoid checking for constant as first operand.
1709         * recog.c (find_constant_term_loc): No longer static.
1710         (adj_offettable_operand): Delete.
1711         * rtl.h (adj_offsettable_operand): Delete declaration.
1712         (find_constant_term): Add declaration.
1713         * caller-save.c: Replace calls to adj_offsettable_operand with calls
1714         to adjust_address.
1715         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
1716         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
1717         * config/i386/i386.c, config/i386/i386.md: Likewise.
1718         * config/i860/i860.c, config/i960/i960.c: Likewise.
1719         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
1720         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
1721         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
1722         * config/mips/mips.c, config/mips/mips.md: Likewise.
1723         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
1724         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
1725         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
1726         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
1727         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
1728         * config/ns32k/ns32k.md: Likewise.
1729
1730 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
1731
1732         * rtl.c (copy_rtx): Handle 'T' format letter.
1733         * gensupport.c (collect_insn_data): Likewise.
1734         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
1735
1736 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1737
1738         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
1739         -B option.  Use 'dir' not 'foo' as example directory name.
1740
1741 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1742
1743         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1744         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
1745
1746 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1747
1748         * doc/cppinternals.texi: Improve formatting and logical markup.
1749
1750 2001-07-03  Andreas Jaeger  <aj@suse.de>
1751
1752         * Makefile.in (insn-recog.o): Add dependency on reload.h.
1753
1754         * genrecog.c (write_header): Include reload.h for prototypes in
1755         insn-recog.c.
1756
1757 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1758
1759 config:
1760         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
1761         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
1762         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
1763         i386_pe_valid_type_attribute_p): Add.
1764         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
1765         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
1766
1767 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1768
1769         * explow.c (plus_constant_wide, case LO_SUM): New case.
1770         (plus_constant_for_output_wide): Delete.
1771         * rtl.h (plus_constant_for_output): Delete.
1772         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
1773         instead of plus_constant_for_output.
1774         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
1775         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
1776         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
1777         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
1778         * config/sparc/sparc.md: Likewise.
1779         Convert some change_address calls to adjust_address.
1780
1781 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1782
1783         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
1784         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
1785         documentation of -std and -Wwrite-strings.
1786
1787 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
1788
1789         * cse.c (canon_hash): Don't register registers in very small
1790         register classes, as extending their lifetime might cause
1791         reload to fail.
1792
1793 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
1794
1795         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
1796
1797         * flow.c (forwarder_block_p): Fix for fallthru blocks.
1798         (try_redirect_by_replacing_jump): Update properly the count
1799         and frequency information.
1800
1801 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
1802
1803         * toplev.c (dump_file_index): Move SSA dumps just after first
1804         jump dump.
1805         (dump_file): Corresponding changes.
1806         (rest_of_compilation): Move SSA path to just after the first
1807         jump pass.
1808         * doc/gcc.texi (Passes): Update due to movement of SSA path.
1809         * doc/invoke.texi: Update dump file #s as they were completely
1810         out of date with reality.
1811
1812 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
1813
1814         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
1815
1816         * expr.c (emit_move_insn_1): Deal with non-default
1817         STACK_PUSH_CODE.
1818
1819         * expr.c (emit_single_push_insn): Fix warning.
1820
1821 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
1822
1823         * expr.c (emit_move_insn_1): Avoid modifying
1824         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
1825
1826 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1827
1828         * emit-rtl.c (adjust_address): New function.
1829         * expr.h (adjust_address): Add declaration.
1830         * builtins.c: Replace some calls to change_address with calls to it
1831         or to validize_mem.
1832         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
1833         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
1834         * config/arm/arm.c, config/convex/convex.c: Likewise.
1835         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
1836         * config/i386/i386.c, config/i386/i386.md: Likewise.
1837         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
1838         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
1839         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
1840         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
1841         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
1842
1843 2001-07-02  Jim Wilson  <wilson@redhat.com>
1844
1845         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
1846
1847 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
1848
1849         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
1850         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
1851
1852 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
1853
1854         * cppinit.c (lang_defaults): New table.
1855         (set_lang): Just read from lang_defaults into the live options
1856         structure.
1857
1858 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
1859
1860         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
1861         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
1862         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
1863
1864 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1865
1866         * doc/install.texi: Various spelling and markup fixes.
1867         (Installing GCC): Component specific installation instructions are
1868         gone.
1869         Fix reference.
1870         Warn about removing old install dir in the presence of shared libs.
1871         (Configuration): Invoke with options target to match configure
1872         --help.
1873         Consistently refer to gas, gld pathnames.
1874         Invert --enable-multilib documentation.
1875         Remove references to old compiler versions.
1876
1877 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1878
1879         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
1880
1881 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1882
1883         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
1884         section.
1885         (Specific, mips*-sgi-irix5): Note IDO download.
1886         Reworded MIPS C hints.
1887         Use GNU as instead of GAS.
1888         Markup fixes.
1889         Removed SGI Freeware reference, IRIX 6 only.
1890         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
1891         Note N64 library requirement/workaround.
1892         Update O32 hints.
1893         Complete list of structure passing bug victims.
1894
1895 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1896
1897         * doc/install.texi: Remove CVS Id.
1898
1899 2001-07-02  Andreas Jaeger  <aj@suse.de>
1900
1901         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
1902         (find_inherently_necessary): Remove unused variable.
1903
1904 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
1905
1906         * c-common.h (TDI_inlined): New ast dump phase.
1907         (dump_flag_name): New function.
1908         * c-dump.c (dump_files): Add inlined phase.
1909         (dump_flag_name): Define.
1910         * doc/invoke.texi (-fdump-ast-inlined): Document.
1911
1912 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1913
1914         * stor-layout.c (layout_decl): Revert change to handling of alignment
1915         in packed types.
1916
1917 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1918
1919         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
1920         for FIELD_DECL.
1921
1922 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
1923
1924         * doc/tm.texi (FUNCTION_ARG): Document that the last call
1925         is special.
1926
1927 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
1928
1929         * tlink.c (recompile_files): Remove COMPILER_PATH and
1930         LIBRARY_PATH from the environment.
1931
1932 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
1933
1934         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
1935         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
1936         enumerators.
1937         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
1938
1939         * c-parse.in (OBJC_STRING): Kill.
1940         (objc_string): Decompose to [objc_string] '@' STRING.
1941         (reswords): Take the leading '@' off all the Objective C keywords.
1942         (objc_rid_sans_at): Kill.
1943         (init_reswords): Don't initialize it.
1944         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
1945         (_yylex): Kill reconsider label.  Look ahead one token after
1946         an '@'; if we get an identifier, check whether it's an
1947         Objective C @-keyword.  If so, return the keyword.  Otherwise,
1948         put back the token and return the '@' as a terminal.
1949
1950         * cpplib.c (lex_macro_node): Remove unnecessary check for
1951         leading '@' on identifier.  Clarify control flow and commentary.
1952
1953 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1954
1955         * cse.c (new_label_ref): Variable deleted.
1956         (insert): Remove set of new_label_ref.
1957         (check_for_label_ref): New function.
1958         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
1959
1960 See ChangeLog.5 for earlier changes.