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