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