1 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
3 Re-install recently reverted patch.
4 * emit-rtl.c (try_split): Update mark_jump_label call.
5 * flow.c (find_sub_basic_blocks): Likewise.
6 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
8 (mark_all_labels): Kill second parameter.
9 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
10 (rebuild_jump_labels, jump_optimize_minimal): Update call
12 (jump_optimize_1): Kill crossjumping code.
13 (mark_jump_label): Kill cross_jump parameter.
14 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
16 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
18 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
20 (dump_file_info): Likewise.
21 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
22 reorganize passes to do reg-stack first, bb-reorder second.
23 * invoke.texi (-d letters doc): Remove the jump2 pass.
25 2001-07-14 Richard Henderson <rth@redhat.com>
27 * ifcvt.c (find_cond_trap): New.
28 (find_if_header): Call it.
29 (merge_if_block): Relax existing jump sanity check.
30 * jump.c (jump_optimize_1): Remove conditional trap handling.
32 2001-07-14 Alan Modra <amodra@bigpond.net.au>
34 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
36 (insn_refs_are_delayed): Correct comment.
37 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
38 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
39 instead of r31. Make associated insn !TARGET_64BIT, and
40 provide an additional 64-bit insn that clobbers r2.
46 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
48 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
50 * flow.c (redirect_edge_and_branch_force, split_edge,
51 try_crossjump_to_edge): Use set_block_for_new_insns.
52 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
54 2001-07-13 H.J. Lu (hjl@gnu.org)
56 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
59 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
61 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
63 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
65 * c-common.c (decl_attributes): Take a pointer to the node to
66 which attributes are to be attached, and a flags argument.
67 * c-common.h (enum attribute_flags): New.
68 (decl_attributes): Update prototype.
69 * c-decl.c (start_decl, push_parm_decl, finish_struct,
70 finish_enum, start_function): Update calls to decl_attributes.
71 * c-parse.in (component_declarator, component_notype_declarator,
72 label): Update calls to decl_attributes.
74 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
76 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
77 * config/avr/avr.c (legitimate_address_p): Return value changed
78 from letter to register classes. For better debugging.
80 2001-07-13 Kazu Hirata <kazu@hxi.com>
82 * jump.c (reversed_comparison_code_parts): Fix comment typos.
84 2001-07-13 H.J. Lu (hjl@gnu.org)
86 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
88 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
90 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
91 correctly for shared configurations.
92 * config/t-libgcc-pic: New.
93 * config/{i386,m68k,sparc}/t-openbsd: New.
94 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
95 Support -shared. Support debugging libraries with -g.
96 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
97 frame information does not emit pointer diffs.
98 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
101 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
103 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
105 2001-07-13 David Edelsohn <edelsohn@gnu.org>
107 * combine.c (try_combine): Ensure const_int pow2 is positive.
109 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
111 * config.gcc: Add configuration for s/390.
112 * config/s390/s390.c: New. Subroutines for code generation.
113 * config/s390/s390.h: New. Definitions for s/390.
114 * config/s390/s390-protos.h: New. Prototypes.
115 * config/s390/linux.h: New. Definitions for linux for s/390.
116 * config/s390/linux64.h: New. Definitions for linux for zSeries.
117 * config/s390/t-linux: New. Makefile fragment.
118 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
119 * config/s390/fixdfdi.h: New. Fix L_fix*di.
121 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
123 * emit-rtl.c (try_split): Update mark_jump_label call.
124 * flow.c (find_sub_basic_blocks): Likewise.
125 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
127 (mark_all_labels): Kill second parameter.
128 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
129 (rebuild_jump_labels, jump_optimize_minimal): Update call
131 (jump_optimize_1): Kill crossjumping code.
132 (mark_jump_label): Kill cross_jump parameter.
133 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
134 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
135 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
137 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
139 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
140 reorganize passes to do reg-stack first, bb-reorder second.
141 * invoke.texi (-d letters doc): Remove the jump2 pass.
143 2001-07-12 Steve Ellcey <sje@cup.hp.com>
145 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
147 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
149 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
151 (verify_flow_info): Make diagnostics prettier.
153 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
155 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
157 * flow.c (outgoing_edges_match): Return early if condition reversal
160 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
162 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
163 (mips_move_2words): When splitting a move into two instructions,
164 prefix the second address operand with '%D'.
166 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
168 * Makefile.in (final.o): Depend on debug.h.
169 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
170 (dbx_debug_hooks): Add new hooks.
171 (xcoff_debug_hooks): New.
172 * debug.c (debug_nothing_file_int_int): New.
173 (do_nothing_debug_hooks): Update.
174 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
175 (debug_nothing_file_int_int): New.
176 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
177 static, update prototype.
178 (dwarf2_debug_hooks): Update.
179 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
180 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
181 static, update prototype.
182 (dwarf_debug_hooks): Update.
183 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
184 * final.c: Include debug.h.
185 (final_scan_insn): Use debug hooks when beginning and ending blocks.
186 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
187 static, update prototype.
188 (sdb_debug_hooks): Update.
189 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
190 * toplev.c: Distinguish between xcoff and dbx.
192 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
193 Call all debug hooks, not just dwarf ones.
195 2001-07-11 Timothy Wall <twall@redhat.com>
197 * config.gcc: Add configuration for AIX5/IA64.
198 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
199 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
200 support prefix/suffix code.
201 * config/ia64/t-aix: New. Makefile fragment.
202 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
204 2001-07-11 Kazu Hirata <kazu@hxi.com>
206 * recog.c (validate_change): Fix a comment typo.
208 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
210 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
211 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
213 * dbxout.c (dbx_debug_hooks): Add new hooks.
214 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
216 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
218 * dbxout.h (dbxout_start_new_source_file,
219 dbxout_resume_previous_source_file): Delete.
220 * debug.c (do_nothing_debug_hooks): Add new hooks.
221 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
222 (debug_nothing_int_charstar, debug_nothing_int): New.
223 * debug.h (gcc_debug_hooks): New hooks define, undef,
224 start_source_file and end_source_file.
225 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
226 (debug_nothing_int_charstar, debug_nothing_int): New.
227 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
228 the conditionally compiled section.
229 (dwarf2out_start_source_file, dwarf2out_end_source_file,
230 dwarf2out_define, dwarf2out_undef): Make static.
231 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
232 dwarf2out_define, dwarf2out_undef): Remove.
233 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
234 (dwarfout_start_source_file, dwarfout_end_source_file,
235 dwarfout_define, dwarfout_undef): Make static.
236 (dwarfout_start_source_file_check,
237 dwarfout_end_source_file_check): New.
238 (dwarfout_define, dwarfout_finish): Update.
239 * dwarfout.h (dwarfout_start_new_source_file,
240 dwarfout_resume_previous_source_file, dwarfout_define,
241 dwarfout_undef): Remove.
242 * sdbout.c (sdb_debug_hooks): Add new hooks.
243 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
245 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
246 make static, take an arg.
247 * sdbout.h (sdbout_start_new_source_file,
248 sdbout_resume_previous_source_file): Delete.
249 * toplev.c (debug_start_source_file, debug_end_source_file,
250 debug_define, debug_undef): Delete.
251 * toplev.h (debug_start_source_file, debug_end_source_file,
252 debug_define, debug_undef): Delete.
254 * java/jcf-parse.c: Include debug.h.
255 (parse_class_file): Update to use debug hooks directly.
256 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
258 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
260 * alias.c (set_mem_alias_set): New function.
261 * rtl.h (set_mem_alias_set): Declare it.
262 * builtins.c (expand_builtin_return_addr): Call it instead of
263 using MEM_ALIAS_SET accessor.
264 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
265 (get_memory_rtx, expand_builtin_va_arg): Likewise.
266 (expand_builtin_va_copy):Likewise.
267 * caller-save.c (setup_save_areas): Likewise.
268 * calls.c (compute_argument_addresses): Likewise.
269 * explow.c (set_mem_attributes): Likewise.
270 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
271 (expand_assignment, store_constructor_field, store_field): Likewise.
272 (expand_expr_unaligned): Likewise.
273 * function.c (assign_stack_temp_for_type): Likewise.
274 (put_reg_into_stack, gen_mem_addressof): Likewise.
275 * ifcvt.c (noce_try_cmove_arith): Likewise.
276 * reload1.c (reload, alter_reg): Likewise.
277 * config/alpha/alpha.c (get_aligned_mem): Likewise.
278 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
279 (alpha_expand_unaligned_store): Likewise
280 (alpha_expand_unaligned_load_words): Likewise.
281 (alpha_expand_unaligned_store_words): Likewise.
282 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
283 (alpha_expand_epilogue): Likewise.
284 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
285 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
286 * config/i386/i386.c (legitimize_pic_address): Likewise.
287 * config/i960/i960.c (setup_incoming_varargs): Likewise.
288 * config/ia64/ia64.c (spill_restore_mem): Likewise.
289 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
290 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
291 * config/mips/mips.c (mips_va_arg): Likewise.
292 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
293 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
294 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
295 (setup_incoming_varargs, rs6000_va_arg): Likewise.
296 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
297 (rs6000_emit_epilogue): Likewise.
298 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
299 * config/sparc/sparc.c (sparc_va_arg): Likewise.
300 * config/v850/v850.c (v850_va_arg): Likewise.
302 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
304 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
305 when fallthru edge is present.
306 (mege_blocks): Handle case where creation of jump insn
309 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
310 CLEANUP_POST_REGSTACK): New constants.
311 * except.c (finish_eh_generation): Update call of cleanup_cfg,
312 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
313 * output.h (cleanup_cfg): Update prototype.
314 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
315 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
316 cleanup_cfg call; kill missleading comment.
317 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
318 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
319 parameter; control optimizations performed using it.
320 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
321 try_crossjump_bb): New functions.
323 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
325 * pa.c (pa_output_function_prologue): Delete prototype. Make function
327 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
328 pa_output_function_prologue.
329 * pa-protos.h (pa_output_function_prologue): New prototype.
331 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
333 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
334 and low to get correct sign extension in low+high test.
336 2001-07-11 Janis Johnson <janis@us.ibm.com>
338 * gcov.c (arcdata): Use gcov_type to fix branch percentage
341 * profile.c (branch_prob): Fix .bbg info for computed gotos
344 2001-07-11 Mark Mitchell <mark@codesourcery.com>
346 * stmt.c (parse_output_constraint): New function, split out
348 (expand_asm_operands): ... here. Use parse_output_constraint.
349 * tree.h (parse_output_constraint): Declare it.
351 2001-07-11 Richard Henderson <rth@redhat.com>
353 * bitmap.c: Comment some functions; fiddle whitespace.
354 (bitmap_free): Don't export.
355 (bitmap_element_allocate): Use memset.
356 * bitmap.h (bitmap_free): Don't declare.
358 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
360 * gcse.c, lcm.c, sched-deps.c:
361 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
363 * flow.c (flow_loops_find): Free dom if we found no loops, since
364 we aren't going to save it.
366 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
369 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
371 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
373 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
375 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
376 #ifndef DWARF2_DEBUGGING_INFO.
378 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
380 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
382 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
384 * config/mips/mips.c (gen_int_relational): Tell the caller not to
385 reverse a branch if a NE comparison is implemented with GTU.
387 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
388 H.J. Lu <hjl@gnu.org>
390 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
392 (call_internal2): Likewise.
393 (call_value_internal1): Likewise.
394 (call_value_internal2): Likewise.
395 (call_value_multiple_internal1): Likewise.
396 (call_value_multiple_internal2): Likewise.
398 2001-07-10 Kazu Hirata <kazu@hxi.com>
400 * calls.c (emit_library_call_value_1): Fix a comment typo.
401 * dwarf2out.c (mem_loc_descriptor): Likewise.
402 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
404 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
406 * simplify-rtx.c (simplify_subreg): Fix typo in comment
408 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
410 * recog.c (offsettable_address_p): Handle LO_SUM case.
411 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
412 instead of plus_constant.
414 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
416 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
417 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
419 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
421 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
422 adjust_address_nv instead of plus_constant.
424 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
426 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
427 dwarf2out.o): Depend on debug.h, wrap long lines.
428 * dbxout.c: Include debug.h.
429 (dbx_debug_hooks): New.
430 (dbxout_init): Make static, take just 2 args.
431 (dbxout_finish): Make static.
432 * dbxout.h (dbxout_init, dbxout_finish): Delete.
435 * dwarf2out.c: Include debug.h.
436 (dwarf2_debug_hooks): New.
437 (dwarf2out_init): Make static.
438 (dwarf2out_finish): Make static, take 2 args.
439 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
440 * dwarfout.c: Include debug.h.
441 (dwarf_debug_hooks): New.
442 (dwarfout_init): Make static.
443 (dwarfout_finish): Make static, take 2 args.
444 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
445 * sdbout.c: Include debug.h.
446 (sdb_debug_hooks): New.
447 (sdbout_init): Make static, take 2 args.
448 * sdbout.h (sdbout_init): Delete.
449 * toplev.c: Include debug.h.
451 (compile_file): Set deubg_hooks based on command line options.
452 Use the hooks unconditionally rather than conditional compilation.
454 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
456 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
457 first_insn_after_basic_block_note instead.
459 * df.c (df_bb_refs_unlink): #if 0 out for now.
461 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
463 * ssa.h: Add prototype for ssa_const_prop
464 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
465 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
466 (ssa_fast_dce): Remove unused variable
468 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
470 * diagnostic.c (finish_diagnostic): Rename to
471 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
474 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
476 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
479 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
480 (dump_file): Only pad the demangled name with spaces if the
481 mangled name was padded with spaces.
483 2001-07-10 Bernd Schmidt <bernds@redhat.com>
485 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
488 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
490 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
491 extraction if no direct load if either EXPAND_CONST_ADDRESS or
494 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
495 whether can put offset inside LO_SUM to check mode alignment, not size.
497 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
499 * doc/tm.texi (Misc): Fix thinko.
501 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
503 * regmove.c (replace_in_call_usage): Fix warnings.
504 * sched-deps.c (add_dependence): Fix warnings.
505 * simplify-rtx.c (simplify_subreg): Likewise.
506 Return NULL_RTX instead of NULL.
508 * reg-stack.c (emit_swap_insn): Eliminate warnings.
509 (subst_asm_stack_regs): Likewise.
511 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
514 * dwarf2out.c (output_call_frame_info): Declare i as int.
515 (build_abbrev_table): Declare n_alloc as int.
516 (dwarf2out_finish): Initialize die.
517 * except.c: Declare sjlj_funcdef_number as unsigned.
518 (connect_post_landing_pads): Declare j as unsigned.
519 (convert_to_eh_region_ranges): Initialize call_site.
520 (output_function_exception_table): Initialize tt_format_size.
521 * expr.c (move_by_pieces_1): Initialize to1.
522 (store_constructor): Initialize minelt and maxelt.
523 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
524 * function.c (instantiate_decls): Avoid signed/unsigned warning.
526 * c-decl.c (combine_parm_decls): Unused, remove.
527 * c-tree.h: Remove prototype for combine_parm_decls.
529 * reload.c (push_reload): Fix warning.
530 (regno_clobbered_p): Likewise.
531 * reload1.c (replace_pseudos_in_call_usage): Likewise.
532 (reload_combine): Likewise.
534 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
535 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
537 * bitmap.c (bitmap_operation): Change user.
538 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
540 2001-07-10 Eric Christopher <echristo@redhat.com>
542 * config/mips/mips.c (override_options): Fix typo.
544 2001-07-09 Stan Shebs <shebs@apple.com>
546 * target.h (struct gcc_target): New fields init_builtins and
548 * target-def.h (TARGET_INIT_BUILTINS): New macro.
549 (TARGET_EXPAND_BUILTIN): New macro.
550 (TARGET_INITIALIZER): Add them.
551 * builtins.c: Include target.h.
552 (expand_builtin): Use targetm.expand_builtin.
553 (default_init_builtins): New function.
554 (default_expand_builtin): New function.
555 * expr.h (default_init_builtins): Declare.
556 (default_expand_builtin): Declare.
557 * c-common.c (c_common_nodes_and_builtins): Use
558 targetm.init_builtins.
559 * defaults.h (MD_INIT_BUILTINS): Remove.
560 * Makefile.in (builtins.o): Depend on target.h.
562 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
563 (TARGET_EXPAND_BUILTIN): Define.
564 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
565 (MD_EXPAND_BUILTIN): Remove.
567 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
568 (TARGET_EXPAND_BUILTIN): Define.
569 (c4x_init_builtins): Make endlink arg a local.
570 (c4x_print_operand): Fix typos in adjust_address usages.
571 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
572 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
573 (MD_EXPAND_BUILTIN): Remove.
575 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
576 (TARGET_EXPAND_BUILTIN): Define.
577 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
578 (ix86_init_builtins): Call new function only if TARGET_MMX.
579 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
580 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
581 (MD_EXPAND_BUILTIN): Remove.
583 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
584 (TARGET_EXPAND_BUILTIN): Define.
585 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
586 (MD_EXPAND_BUILTIN): Remove.
588 * doc/tm.texi: Document these changes.
590 2001-07-09 Diego Novillo <dnovillo@redhat.com>
592 * basic-block.h (tree_node): Forward declare if needed.
593 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
594 (BLOCK_HEAD_TREE): Define.
595 (BLOCK_END_TREE): Define.
596 (struct loops): Rename field 'tree' to 'tree_root'.
597 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
599 (flow_loops_tree_build): Rename reference to field 'tree' to
601 (flow_loops_level_compute): Ditto.
602 * predict.c (estimate_bb_frequencies): Ditto.
603 * tree.h (struct tree_common): Add field 'aux'.
605 2001-07-09 Stan Shebs <shebs@apple.com>
607 * config/darwin.c (darwin_encode_section_info): Don't mark any
608 DECL_EXTERNAL node as defined.
610 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
612 * pa.c (pa_init_machine_status, pa_mark_machine_status,
613 pa_free_machine_status, hppa_init_pic_save): Delete.
614 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
615 (hppa_profile_hook): Use hppa_pic_save_rtx.
616 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
617 hppa_init_pic_save): Delete.
618 (hppa_pic_save_rtx): Declare.
619 * pa.md (call, call_value, sibcall, sibcall_value,
620 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
622 2001-07-09 Kazu Hirata <kazu@hxi.com>
624 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
625 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
627 2001-07-09 Andreas Jaeger <aj@suse.de>
629 * output.h: Add declaration of final_forward_branch_p.
631 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
633 * varray.c: Include errors.h for internal_error and trim_filename
636 * Makefile.in (varray.o): Add errors.h.
638 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
640 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
641 * optabs.c (have_add2_insn): Check whether the add insn chosen
642 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
643 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
645 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
647 * Makefile.in (OBJS): Add ssa-ccp.o
648 (ssa-ccp.o): Add dependencies.
649 * toplev.c (DFI_ssa_ccp): New dump file enum.
650 (dump_file): Add entry for dumping after SSA CCP.
651 (flag_ssa_ccp): New flag variable.
652 (f_options): Add -fssa-ccp.
653 (rest_of_compilation): Run SSA CCP if requested.
654 * timevar.def (TV_SSA_CCP): New timevar.
655 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
656 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
657 Fix minor typo in SSA DCE documentation.
658 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
659 Add documentation for new dump option. Renumber dump files
662 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
664 * emit-rtl.c (gen_highpart_mode): New.
665 * rtl.h (gen_highpart_mode): Declare.
666 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
667 operand can be VOIDmode constant.
669 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
671 * flow.c (redirect_edge_and_branch_force): New.
672 (can_fallthru): Ensure that basic blocks are succeeding.
673 (try_optimize_cfg): Do not delete basic block if it is the last one.
675 * flow.c (try_redirect_by_replacing_jump): Do not remove
676 jumps with side effects, unlink chain on fallthru edge;
677 set block for new jump instruction; avoid basic block to
678 over by line number note.
680 * flow.c (try_simplify_condjump): Verify that the condjump
681 is not always falling trought.
684 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
686 * flow.c (forwarder_block_p): Fix for fallthru blocks.
687 (try_redirect_by_replacing_jump): Update properly the count
688 and frequency information.
690 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
692 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
693 address that is a LO_SUM specially.
694 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
696 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
698 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
699 (operand_subword): Use them.
700 (change_address_1): Renamed from change_address; new arg VALIDATE.
701 * expr.h: Reflect above changes; change_address now macro.
702 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
704 * cselib.c (add_mem_for_addr): Likewise.
705 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
706 * regmove.c (try_apply_stack_adjustment): Likewise.
707 * reload.c (push_reload, make_memloc): Likewise.
708 * reload1.c (eliminate_regs): Likewise.
709 * simplify-rtx.c (simplify_replace_rtx): Likewise.
710 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
712 * combine.c (make_extraction, simplify_shift_const): Likewise.
713 (gen_lowpart_for_combine): Likewise.
714 * cse.c (gen_lowpart_if_possible): Likewise.
715 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
716 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
717 * optabs.c (gen_move_insn): Likewise.
718 * reload1.c (alter_reg): Likewise.
719 * simplify-rtx.c (simplify_subreg): Likewise.
720 * stmt.c (expand_anon_union_decl): Likewise.
721 * recog.c (validate_replace_rtx_1): Likewise.
723 * Makefile.in (recog.o): Add $(EXPR_H).
724 * explow.c (stabilize): Call replace_equiv_address.
725 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
726 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
728 2001-07-03 Andrew Haley <aph@redhat.com>
730 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
731 the mode of the memory location.
733 2001-07-09 Bo Thorsen <bo@suse.co.uk>
735 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
737 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
739 * final.c (output_addr_const): Use target opening and
741 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
742 defaults, add to TARGET_ASM_OUT.
743 * target.h (struct gcc_target): Add open_paren and close_paren.
744 * doc/md.texi: Update.
745 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
746 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
747 TARGET_ASM_CLOSE_PAREN.
748 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
750 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
752 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
753 * config/a29k/a29k.h: Similarly.
754 * config/alpha/alpha.h: Similarly.
755 * config/arc/arc.h: Similarly.
756 * config/arm/aof.h: Similarly.
757 * config/arm/aout.h: Similarly.
758 * config/avr/avr.h: Similarly.
759 * config/c4x/c4x.h: Similarly.
760 * config/clipper/clipper.h: Similarly.
761 * config/convex/convex.h: Similarly.
762 * config/d30v/d30v.h: Similarly.
763 * config/dsp16xx/dsp16xx.h: Similarly.
764 * config/elxsi/elxsi.h: Similarly.
765 * config/fr30/fr30.h: Similarly.
766 * config/h8300/h8300.h: Similarly.
767 * config/i370/i370.h: Similarly.
768 * config/i386/i386.h: Similarly.
769 * config/i860/i860.h: Similarly.
770 * config/i960/i960.h: Similarly.
771 * config/ia64/ia64.h: Similarly.
772 * config/m32r/m32r.h: Similarly.
773 * config/m68hc11/m68hc11.h: Similarly.
774 * config/m68k/m68k.h: Similarly.
775 * config/m88k/m88k.h: Similarly.
776 * config/mcore/mcore.h: Similarly.
777 * config/mips/mips.h: Similarly.
778 * config/mn10200/mn10200.h: Similarly.
779 * config/mn10300/mn10300.h: Similarly.
780 * config/ns32k/ns32k.h: Similarly.
781 * config/pa/pa.h: Similarly.
782 * config/pdp11/pdp11.h: Similarly.
783 * config/pj/pj.h: Similarly.
784 * config/romp/romp.h: Similarly.
785 * config/rs6000/rs6000.h: Similarly.
786 * config/sh/sh.h: Similarly.
787 * config/sparc/sparc.h: Similarly.
788 * config/v850/v850.h: Similarly.
789 * config/vax/vax.h: Similarly.
790 * config/we32k/we32k.h: Similarly.
792 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
794 * doc/c-tree.texi: Document representation of attributes.
796 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
798 * doc/tm.texi: Update some places for the rename of target to
801 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
803 * target.h (struct gcc_target): Add insert_attributes.
804 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
805 (TARGET_INITIALIZER): Update.
806 * tree.c, tree.h (default_insert_attributes): New function.
807 Update comments on other default functions to refer to targetm,
809 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
810 TARGET_INSERT_ATTRIBUTES.
811 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
812 * c-common.c (decl_attributes): Use targetm.insert_attributes.
813 Don't use PRAGMA_INSERT_ATTRIBUTES.
814 * Makefile.in (c-common.o): Depend on $(TARGET_H).
815 * c-decl.c (start_decl, start_function): Don't call
816 SET_DEFAULT_DECL_ATTRIBUTES.
817 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
818 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
820 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
821 (c4x_check_attribute): Avoid modifying attribute list itself.
822 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
824 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
825 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
827 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
828 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
830 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
831 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
833 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
834 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
835 Adjust parameters. Make static.
837 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
839 * c-common.c (decl_attributes): Only take a single attributes
841 * c-common.h (decl_attributes): Update prototype.
842 * c-decl.c (start_decl, start_function): Only take a single
843 attributes parameter. Update calls to decl_attributes.
844 (finish_struct, finish_enum): Update calls to decl_attributes.
845 (push_parm_decl): Expect unified list of attributes. Update call
847 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
848 notype_nested_function, component_declarator,
849 component_notype_declarator, label): Update calls to
851 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
852 lists that are passed to push_parm_decl.
853 * c-tree.h (start_function, start_decl): Update prototypes.
854 * config/sh/sh-protos.h, config/sh/sh.c
855 (sh_pragma_insert_attributes): Only take a single attributes
857 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
858 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
859 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
860 build_module_descriptor, generate_static_references,
861 generate_strings, build_selector_translation_table,
862 generate_descriptor_table, generate_protocols,
863 generate_ivars_list, generate_dispatch_table,
864 generate_protocol_list, generate_category,
865 generate_shared_structures, really_start_method, add_objc_decls,
866 generate_classref_translation_entry): Update calls to start_decl
868 (build_tmp_function_decl, start_method_def): Unify attribute lists
869 that are passed to push_parm_decl.
871 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
873 * final.c (no_asm_to_stream): New.
874 (final_scan_insn): Use target structures for prologue ends
876 * output.h (no_asm_to_stream): New.
877 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
878 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
879 (TARGET_ASM_OUT): Update.
880 * target.h (struct gcc_target): New members function_end_prologue
881 and function_begin_epilogue.
882 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
883 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
884 * config/alpha/alpha.c (output_end_prologue): Rename to
885 alpha_output_function_end_prologue. Use in target struct
887 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
888 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
889 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
890 ia64_output_function_end_prologue. Use in target struct
892 (ia64_function_prologue, ia64_funciton_epilogue): Rename
894 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
895 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
897 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
898 an use in target struct, make static.
899 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
902 2001-07-08 Richard Henderson <rth@redhat.com>
904 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
906 2001-07-08 Richard Henderson <rth@redhat.com>
908 * config/i386/i386.md: Remove constraints strings from define_split
909 and define_peephole2 patterns.
910 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
911 (eh_return): Use them.
913 2001-07-08 Richard Henderson <rth@redhat.com>
915 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
916 Document MD_FALLBACK_FRAME_STATE_FOR.
918 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
920 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
921 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
923 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
925 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
927 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
928 of the label inside NAME as opposed to just the end of NAME.
930 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
932 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
933 * config/alpha/alpha.c (alpha_init_machine_status,
934 alpha_mark_machine_status, alpha_free_machine_status): Delete.
935 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
936 (vms_valid_decl_attribute_p): Make static, conditionally compile.
937 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
939 2001-07-06 Stan Shebs <shebs@apple.com>
941 * target.h (targetm): Rename global from "target", so as not to
942 conflict with local variables.
949 * cp/typeck.c: Ditto.
950 * 1750a/1750a.c: Ditto.
951 * a29k/a29k.c: Ditto.
955 * clipper/clipper.c: Ditto.
956 * convex/convex.c: Ditto.
957 * d30v/d30v.c: Ditto.
958 * dsp16xx/dsp16xx.c: Ditto.
959 * elxsi/elxsi.c: Ditto.
960 * fr30/fr30.c: Ditto.
961 * h8300/h8300.c: Ditto.
962 * i370/i370.c: Ditto.
963 * i386/i386.c: Ditto.
964 * i860/i860.c: Ditto.
965 * i960/i960.c: Ditto.
966 * ia64/ia64.c: Ditto.
967 * m32r/m32r.c: Ditto.
968 * m68hc11/m68hc11.c: Ditto.
969 * m68k/m68k.c: Ditto.
970 * m88k/m88k.c: Ditto.
971 * mips/mips.c: Ditto.
972 * ns32k/ns32k.c: Ditto.
974 * pdp11/pdp11.c: Ditto.
975 * romp/romp.c: Ditto.
976 * rs6000/rs6000.c: Ditto.
978 * sparc/sparc.c: Ditto.
980 * we32k/we32k.c: Ditto.
981 * doc/tm.texi: Update the manual to match.
983 2001-07-06 Richard Henderson <rth@redhat.com>
985 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
986 DWARF2_UNWIND_INFO not just whether it is defined.
988 2001-07-06 Diego Novillo <dnovillo@redhat.com>
990 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
991 call to simplify_binary_operation returns a new pattern.
993 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
995 * glimits.h (__SHRT_MAX__): New.
996 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
997 (SHRT_MAX): Define in terms of __SHRT_MAX__.
999 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
1001 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
1004 2001-07-06 Richard Henderson <rth@redhat.com>
1006 * bitmap.c (bitmap_release_memory): Move adjacent to the
1007 allocation functions.
1008 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
1009 the implementation. Binary search for the set bit.
1010 (bitmap_union_of_diff): Allocate the temporary on the stack
1011 instead of using xmalloc.
1013 2001-07-06 Richard Henderson <rth@redhat.com>
1015 * genrecog.c (validate_pattern): Warn for constraints in
1016 define_{expand,split,peephole2}. Remove strict_low_part
1017 before looking up match_dup.
1019 2001-07-06 DJ Delorie <dj@redhat.com>
1021 * doc/gcc.texi (Makefile): Rename to be a more general purpose
1022 chapter about various build hints and history. Add section
1023 talking about the various types of native and cross builds.
1025 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
1027 * Makefile.in (final.o): Depend on target.h.
1028 * final.c: Include target.h.
1029 (default_function_pro_epilogue): New.
1030 (final_start_function): Use target structure for function prologues.
1031 (final_end_function): Use target structure for function epilogues.
1032 * fold-const.c (real_hex_to_f): Constify s and p.
1033 * output.h (default_function_pro_epilogue): New.
1034 * real.h (real_hex_to_f): Update prototype.
1035 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
1036 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
1037 (TARGET_INITIALIZER): Update.
1038 * target.h (gcc_target): Add struct asm_out.
1039 * doc/tm.texi: Update.
1042 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
1043 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
1044 in cpu/cpu.c, or rename old functions consistently. Take
1045 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
1046 redundant macros and prototypes. Make new functions static.
1048 * 1750a/1750a.c: Similarly.
1049 * 1750a/1750a.h: Similarly.
1050 * a29k/a29k-protos.h: Similarly.
1051 * a29k/a29k.c: Similarly.
1052 * a29k/a29k.h: Similarly.
1053 * arc/arc-protos.h: Similarly.
1054 * arc/arc.c: Similarly.
1055 * arc/arc.h: Similarly.
1056 * arm/arm-protos.h: Similarly.
1057 * arm/arm.c: Similarly.
1058 * arm/arm.h: Similarly.
1059 * avr/avr-protos.h: Similarly.
1060 * avr/avr.c: Similarly.
1061 * avr/avr.h: Similarly.
1062 * clipper/clipper-protos.h: Similarly.
1063 * clipper/clipper.c: Similarly.
1064 * clipper/clipper.h: Similarly.
1065 * convex/convex.c: Similarly.
1066 * convex/convex.h: Similarly.
1067 * d30v/d30v-protos.h: Similarly.
1068 * d30v/d30v.c: Similarly.
1069 * d30v/d30v.h: Similarly.
1070 * d30v/d30v.md: Similarly.
1071 * dsp16xx/dsp16xx-protos.h: Similarly.
1072 * dsp16xx/dsp16xx.c: Similarly.
1073 * dsp16xx/dsp16xx.h: Similarly.
1074 * elxsi/elxsi.c: Similarly.
1075 * elxsi/elxsi.h: Similarly.
1076 * fr30/fr30.c: Similarly.
1077 * fr30/fr30.md: Similarly.
1078 * h8300/h8300-protos.h: Similarly.
1079 * h8300/h8300.c: Similarly.
1080 * h8300/h8300.h: Similarly.
1081 * i370/i370-protos.h: Similarly.
1082 * i370/i370.c: Similarly.
1083 * i370/i370.h: Similarly.
1084 * i386/i386.c: Similarly.
1085 * i386/osf1elf.h: Similarly.
1086 * i386/osfrose.h: Similarly.
1087 * i860/i860-protos.h: Similarly.
1088 * i860/i860.c: Similarly.
1089 * i860/i860.h: Similarly.
1090 * i960/i960-protos.h: Similarly.
1091 * i960/i960.c: Similarly.
1092 * i960/i960.h: Similarly.
1093 * ia64/ia64-protos.h: Similarly.
1094 * ia64/ia64.c: Similarly.
1095 * ia64/ia64.h: Similarly.
1096 * m32r/m32r-protos.h: Similarly.
1097 * m32r/m32r.c: Similarly.
1098 * m32r/m32r.h: Similarly.
1099 * m68hc11/m68hc11-protos.h: Similarly.
1100 * m68hc11/m68hc11.c: Similarly.
1101 * m68hc11/m68hc11.h: Similarly.
1102 * m68k/crds.h: Similarly.
1103 * m68k/dpx2.h: Similarly.
1104 * m68k/m68k-protos.h: Similarly.
1105 * m68k/m68k.c: Similarly.
1106 * m68k/m68k.h: Similarly.
1107 * m68k/news.h: Similarly.
1108 * m88k/m88k-protos.h: Similarly.
1109 * m88k/m88k.c: Similarly.
1110 * m88k/m88k.h: Similarly.
1111 * mips/mips-protos.h: Similarly.
1112 * mips/mips.c: Similarly.
1113 * mips/mips.h: Similarly.
1114 * ns32k/merlin.h: Similarly.
1115 * ns32k/ns32k.c: Similarly.
1116 * ns32k/ns32k.h: Similarly.
1117 * ns32k/tek6000.h: Similarly.
1118 * pa/pa-protos.h: Similarly.
1119 * pa/pa.c: Similarly.
1120 * pa/pa.h: Similarly.
1121 * pdp11/2bsd.h: Similarly.
1122 * pdp11/pdp11-protos.h: Similarly.
1123 * pdp11/pdp11.c: Similarly.
1124 * pdp11/pdp11.h: Similarly.
1125 * romp/romp-protos.h: Similarly.
1126 * romp/romp.c: Similarly.
1127 * romp/romp.h: Similarly.
1128 * rs6000/rs6000-protos.h: Similarly.
1129 * rs6000/rs6000.c: Similarly.
1130 * rs6000/rs6000.h: Similarly.
1131 * rs6000/sysv4.h: Similarly.
1132 * sh/sh-protos.h: Similarly.
1133 * sh/sh.c: Similarly.
1134 * sh/sh.h: Similarly.
1135 * sparc/sparc-protos.h: Similarly.
1136 * sparc/sparc.c: Similarly.
1137 * sparc/sparc.h: Similarly.
1138 * vax/vax.c: Similarly.
1139 * vax/vax.h: Similarly.
1140 * vax/vms.h: Similarly.
1141 * we32k/we32k.c: Similarly.
1142 * we32k/we32k.h: Similarly.
1144 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
1146 * basic-block.h (first_insn_after_basic_block_note): Declare.
1147 * flow.c (first_insn_after_basic_block_note): Define. Moved
1149 * ssa.c (first_insn_after_basic_block_note): Remove.
1150 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
1152 (ssa_eliminate_dead_code): Properly update the CFG and PHI
1153 nodes when we find a dead conditional branch. Insert BARRIERs
1154 after any blocks with no successors, but which do not have
1157 2001-07-06 Zack Weinberg <zackw@stanford.edu>
1159 * varray.c (varray_check_failed): Use internal_error.
1161 2001-07-05 Andrew Haley <aph@redhat.com>
1163 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
1164 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
1165 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
1167 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
1169 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
1170 reference if the target constant is also a SYMBOL_REF.
1172 2001-07-05 Eric Christopher <echristo@redhat.com>
1174 * config/mips/mips.h (MASK_MIPS3900): Remove.
1175 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
1176 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
1177 (TARGET_MIPS3900): Change to use mips_arch.
1178 (TARGET_MIPS4000): New.
1179 (TARGET_MIPS4100): New.
1180 (TARGET_MIPS4300): New.
1181 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
1182 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
1184 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
1185 (ISA_HAS_BRANCHLIKELY): To here.
1186 (CC1_CPU_SPEC): New.
1187 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
1188 (mips_arch_string): Declare.
1189 (mips_arch): Declare.
1190 (TARGET_OPTIONS): Add -march and -mtune.
1192 * config/mips/mips.c (mips_arch_string): New.
1194 (override_options): Handle -march for codegen and -mtune
1195 for scheduling. Use mips_arch. Move tx39 target default here.
1196 (mips_parse_cpu): Move error message to override_options.
1198 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
1200 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
1202 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
1203 (MIPS Options): Ditto. Change mcpu entry to historical text.
1205 2001-07-05 H.J. Lu (hjl@gnu.org)
1207 * config/mips/mips.c (mips_parse_cpu): New function to parse
1210 2001-07-05 Jim Wilson <wilson@redhat.com>
1212 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
1213 * config/ia64/t-ia64: Likewise.
1214 (LIB1ASMFUNCS): Update comment.
1216 2001-07-05 David Edelsohn <edelsohn@gnu.org>
1218 * doc/install.texi (Install GCC: Binaries): Fix typo.
1220 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1222 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
1223 reference using the stack pointer, adjust it since we push Y
1225 ("*ashrsi3"): Likewise.
1226 ("*lshrsi3"): Likewise.
1228 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1230 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
1231 when -fomit-frame-pointer is used.
1233 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
1235 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
1236 (try_redirect_by_replacing_jump): Reverse updating properly the
1237 count and frequency information. Reverse removing cc0 setter.
1238 (forwarder_block_p): Reverse fixing for fallthru blocks.
1240 2001-07-05 DJ Delorie <dj@redhat.com>
1242 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
1243 (translate_options): If the above is defined, use it to map
1244 given options to new options.
1245 * doc/tm.texi: Document it.
1247 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
1248 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1250 * doc/invoke.texi (Optimize Options): Document that -fgcse may
1251 cause programs using computed gotos to run more slowly.
1253 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1255 * doc/install.texi (Specific): Markup, spelling and typo fixes.
1257 Consistently require binutils 2.11.2, not prereleases.
1258 (Specific, decstation-*): Canonicalize as mips-dec-*.
1259 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
1261 (Specific, m68k-altos): Removed reference to README.altos, deleted.
1262 (Specific, mips-*): Reword MIPS C compiler requirements.
1263 (Specific, powerpc*-*-*): New, mention --with-cpu once.
1264 (Specific, sunv5): Removed, obsolete.
1266 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
1268 * dwarf2out.c (output_loc_list): Use an all ones mask for
1269 .text asm output and don't rely on long long
1270 literals. Reformat some long lines.
1272 2001-07-05 Andreas Jaeger <aj@suse.de>
1274 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
1277 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
1279 * dwarf2out.c (dwarf2out_define): Update comment.
1280 (dwarf2out_undef): Ditto.
1281 (dwarf2out_start_source_file): Ditto.
1282 (dwarf2out_end_source_file): Ditto.
1283 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
1284 since we never call the start/end debug hook for the primary file.
1286 2001-07-04 Kazu Hirata <kazu@hxi.com>
1288 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
1291 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
1293 * cppinit.c (remove_dup_dirs): Inform if a system include
1294 directory is being reordered.
1295 * doc/invoke.texi (Directory Options): GCC warns if you hide a
1297 * doc/cpp.texi (Search Paths): Likewise.
1298 * doc/gcc.texi (Interoperation): Remove information about
1301 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
1303 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
1304 (VARRAY_TOP_CHAR_PTR): Likewise.
1306 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1308 * gcc.c (process_command): Don't assign elements of a const char*.
1310 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1312 * emit-rtl.c (change_address): Don't abort if invalid address while
1313 reload is in progress.
1315 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
1317 * c-lex.c (cb_file_change): Pass line number to
1318 debug_start_source_file.
1319 (cb_undefine): Pass correct line number to debug_undef.
1321 * toplev.c (debug_start_source_file): Add line number to
1322 parameters. Pass it along to dwarf2out_start_source_file.
1323 (decode_g_option): Stop resetting debug level back to normal when
1324 we change debug formats, unless the current level is
1325 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
1328 * toplev.h (debug_start_source_file): Add line number to
1331 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
1334 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
1336 Output debug_macinfo data for starting file if requested.
1337 (dwarf2out_end_source_file): Output debug_macinfo data for ending
1339 (dwarf2out_define): Output debug_macinfo data for defining a macro
1341 (dwarf2out_undef): Output debug_macinfo data for undefining a
1343 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
1344 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
1345 (macinfo_section_label): New. DWARF2 macro info section label.
1346 (dwarf2out_init): If we want macro info, output the start label
1348 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
1349 attribute to the compilation unit die pointing to the macro info.
1351 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
1353 * dwarf2out.c (new_loc_list): Move to inside #ifdef
1354 DWARF2_DEBUGGING_INFO.
1355 (add_loc_descr_to_loc_list): Ditto.
1356 (output_loc_list): Ditto.
1357 Also, fix thinko in curr not being initialized.
1358 (gen_internal_sym): Ditto.
1360 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1362 * emit-rtl.c (replace_equiv_address): New function.
1363 * expr.h (replace_equiv_address): New declaration.
1364 * explow.c (validize_mem): Call it instead of change_address and
1365 also call if -fforce-addr and address is constant.
1366 * expr.c: Replace more calls to change_address with adjust_address
1367 and/or replace_equiv_address or to validize_mem.
1368 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
1369 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
1370 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
1371 * config/i370/i370.md, config/i860/i860.md: Likewise.
1372 * config/i960/i960.md, config/mips/mips.c: Likewise.
1373 * config/mips/mips.md, config/pa/pa.md: Likewise.
1374 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
1375 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
1377 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1379 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
1381 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
1384 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
1386 * doc/include: New directory.
1387 * doc/fdl.texi: Move to doc/include/fdl.texi.
1388 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
1389 * doc/include/funding.texi, doc/include/gpl.texi: New files.
1390 * doc/gcc.texi: Use funding.texi and gpl.texi.
1391 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
1392 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
1393 Update dependencies and use -I $(docdir)/include.
1395 2001-07-04 Anthony Green <green@redhat.com>
1397 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
1399 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1401 * doc/install.texi (sparc64-*-*): Remove garbage.
1403 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
1405 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
1406 Fix typo in last change to use adjust_address.
1408 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1410 * doc/install.texi (Specific): Update information for *-*-solaris*.
1412 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1414 * explow.c (plus_constant_wide): Reinitialize Y for restart.
1416 2001-07-03 Stan Shebs <shebs@apple.com>
1418 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
1419 case for flag_no_mach_text_sections.
1420 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
1421 * config/darwin.c (flag_no_mach_text_sections): Remove.
1422 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
1424 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1426 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
1427 and avoid checking for constant as first operand.
1428 * recog.c (find_constant_term_loc): No longer static.
1429 (adj_offettable_operand): Delete.
1430 * rtl.h (adj_offsettable_operand): Delete declaration.
1431 (find_constant_term): Add declaration.
1432 * caller-save.c: Replace calls to adj_offsettable_operand with calls
1434 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
1435 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
1436 * config/i386/i386.c, config/i386/i386.md: Likewise.
1437 * config/i860/i860.c, config/i960/i960.c: Likewise.
1438 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
1439 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
1440 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
1441 * config/mips/mips.c, config/mips/mips.md: Likewise.
1442 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
1443 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
1444 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
1445 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
1446 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
1447 * config/ns32k/ns32k.md: Likewise.
1449 2001-07-03 Zack Weinberg <zackw@stanford.edu>
1451 * rtl.c (copy_rtx): Handle 'T' format letter.
1452 * gensupport.c (collect_insn_data): Likewise.
1453 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
1455 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1457 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
1458 -B option. Use 'dir' not 'foo' as example directory name.
1460 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1462 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1463 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
1465 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
1467 * doc/cppinternals.texi: Improve formatting and logical markup.
1469 2001-07-03 Andreas Jaeger <aj@suse.de>
1471 * Makefile.in (insn-recog.o): Add dependency on reload.h.
1473 * genrecog.c (write_header): Include reload.h for prototypes in
1476 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
1479 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
1480 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
1481 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
1482 i386_pe_valid_type_attribute_p): Add.
1483 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
1484 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
1486 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1488 * explow.c (plus_constant_wide, case LO_SUM): New case.
1489 (plus_constant_for_output_wide): Delete.
1490 * rtl.h (plus_constant_for_output): Delete.
1491 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
1492 instead of plus_constant_for_output.
1493 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
1494 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
1495 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
1496 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
1497 * config/sparc/sparc.md: Likewise.
1498 Convert some change_address calls to adjust_address.
1500 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
1502 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
1503 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
1504 documentation of -std and -Wwrite-strings.
1506 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
1508 * cse.c (canon_hash): Don't register registers in very small
1509 register classes, as extending their lifetime might cause
1512 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
1514 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
1516 * flow.c (forwarder_block_p): Fix for fallthru blocks.
1517 (try_redirect_by_replacing_jump): Update properly the count
1518 and frequency information.
1520 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
1522 * toplev.c (dump_file_index): Move SSA dumps just after first
1524 (dump_file): Corresponding changes.
1525 (rest_of_compilation): Move SSA path to just after the first
1527 * doc/gcc.texi (Passes): Update due to movement of SSA path.
1528 * doc/invoke.texi: Update dump file #s as they were completely
1529 out of date with reality.
1531 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
1533 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
1535 * expr.c (emit_move_insn_1): Deal with non-default
1538 * expr.c (emit_single_push_insn): Fix warning.
1540 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
1542 * expr.c (emit_move_insn_1): Avoid modifying
1543 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
1545 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1547 * emit-rtl.c (adjust_address): New function.
1548 * expr.h (adjust_address): Add declaration.
1549 * builtins.c: Replace some calls to change_address with calls to it
1551 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
1552 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
1553 * config/arm/arm.c, config/convex/convex.c: Likewise.
1554 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
1555 * config/i386/i386.c, config/i386/i386.md: Likewise.
1556 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
1557 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
1558 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
1559 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
1560 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
1562 2001-07-02 Jim Wilson <wilson@redhat.com>
1564 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
1566 2001-07-02 Steve Ellcey <sje@cup.hp.com>
1568 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
1569 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
1571 2001-07-02 Zack Weinberg <zackw@stanford.edu>
1573 * cppinit.c (lang_defaults): New table.
1574 (set_lang): Just read from lang_defaults into the live options
1577 2001-07-02 Zack Weinberg <zackw@stanford.edu>
1579 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
1580 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
1581 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
1583 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1585 * doc/install.texi: Various spelling and markup fixes.
1586 (Installing GCC): Component specific installation instructions are
1589 Warn about removing old install dir in the presence of shared libs.
1590 (Configuration): Invoke with options target to match configure
1592 Consistently refer to gas, gld pathnames.
1593 Invert --enable-multilib documentation.
1594 Remove references to old compiler versions.
1596 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1598 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
1600 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1602 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
1604 (Specific, mips*-sgi-irix5): Note IDO download.
1605 Reworded MIPS C hints.
1606 Use GNU as instead of GAS.
1608 Removed SGI Freeware reference, IRIX 6 only.
1609 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
1610 Note N64 library requirement/workaround.
1612 Complete list of structure passing bug victims.
1614 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1616 * doc/install.texi: Remove CVS Id.
1618 2001-07-02 Andreas Jaeger <aj@suse.de>
1620 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
1621 (find_inherently_necessary): Remove unused variable.
1623 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
1625 * c-common.h (TDI_inlined): New ast dump phase.
1626 (dump_flag_name): New function.
1627 * c-dump.c (dump_files): Add inlined phase.
1628 (dump_flag_name): Define.
1629 * doc/invoke.texi (-fdump-ast-inlined): Document.
1631 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1633 * stor-layout.c (layout_decl): Revert change to handling of alignment
1636 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1638 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
1641 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
1643 * doc/tm.texi (FUNCTION_ARG): Document that the last call
1646 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
1648 * tlink.c (recompile_files): Remove COMPILER_PATH and
1649 LIBRARY_PATH from the environment.
1651 2001-07-01 Zack Weinberg <zackw@stanford.edu>
1653 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
1654 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
1656 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
1658 * c-parse.in (OBJC_STRING): Kill.
1659 (objc_string): Decompose to [objc_string] '@' STRING.
1660 (reswords): Take the leading '@' off all the Objective C keywords.
1661 (objc_rid_sans_at): Kill.
1662 (init_reswords): Don't initialize it.
1663 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
1664 (_yylex): Kill reconsider label. Look ahead one token after
1665 an '@'; if we get an identifier, check whether it's an
1666 Objective C @-keyword. If so, return the keyword. Otherwise,
1667 put back the token and return the '@' as a terminal.
1669 * cpplib.c (lex_macro_node): Remove unnecessary check for
1670 leading '@' on identifier. Clarify control flow and commentary.
1672 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1674 * cse.c (new_label_ref): Variable deleted.
1675 (insert): Remove set of new_label_ref.
1676 (check_for_label_ref): New function.
1677 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
1679 See ChangeLog.5 for earlier changes.