1 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
3 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
4 blocks, the BB_REACHABLE is now set, rather than aux being
5 non-NULL. Update the test to reflect this.
7 2001-08-28 Eric Christopher <echristo@redhat.com>
9 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10 config/mips/crti.asm: Ditto.
12 2001-08-28 Eric Christopher <echristo@redhat.com>
13 Richard Henderson <rth@redhat.com>
15 * c-pragma.h (add_weak): Move prototype from here...
16 * output.h (add_weak): ... to here.
17 * varasm.c (add_weak): Fix typo.
18 * config/mips/crti.asm: New file.
19 * config/mips/crtn.asm: Ditto.
20 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
21 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
22 (INVOKE__main): Ditto.
23 (INIT_SECTION_ASM_OP): New.
24 (FINI_SECTION_ASM_OP): Ditto.
25 (STARTFILE_SPEC): Add crti.
26 (ENDFILE_SPEC): Add crtn.
27 * config/mips/elf64.h: Same.
28 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
30 * config/mips/vxworks.h: Ditto.
31 * config/mips/t-elf: Support crti and crtn.
33 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
35 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
38 2001-08-28 Richard Henderson <rth@redhat.com>
40 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
41 (one_cmplbi2 splitter): Remove redundant test.
43 2001-08-28 Dale Johannesen <dalej@apple.com>
45 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
47 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
49 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
51 2001-08-28 Stan Shebs <shebs@apple.com>
53 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
54 (UNALIGNED_SHORT_ASM_OP): Define.
55 (UNALIGNED_INT_ASM_OP): Define.
57 2001-08-28 Will Cohen <wcohen@redhat.com>
59 * config/rs6000/rs6000.md (store_multiple): Correct RTL
60 generation for first set.
62 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
64 * flow.c (redirect_edge_succ_nodup): Return new edge.
65 (try_simplify_condjump): Use new edge.
66 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
68 * cse.c (cse_basic_block): Skip note instructions.
70 2001-08-27 Richard Henderson <rth@redhat.com>
72 * combine.c (combine_simplify_rtx): Don't reverse condition
73 if there is no reverse for the condition.
74 (simplify_comparison): Don't simplify subregs from INT to FP.
76 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
77 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
78 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
79 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
80 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
81 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
83 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
85 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
86 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
88 (adddi_dilshr32, adddi_dishl32): Only data register can be
89 source for mem destination.
91 * expmed.c (store_bit_field): Ignore adjustment to bitpos
92 and use bitnum to decide about register move.
94 2001-08-27 Richard Henderson <rth@redhat.com>
96 * genattr.c (main): Emit state_t even when not doing scheduling.
98 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
99 Richard Henderson <rth@redhat.com>
101 * gcse.c (reg_first_set, reg_last_set): Replace with ...
102 (reg_avail_info, current_bb): ... these.
103 (oprs_unchanged_p, record_last_reg_set_info): Use them.
104 (compute_hash_table): Likewise.
106 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
108 * flow.c (verify_flow_info): Use checksums to verify edges.
110 2001-08-27 Richard Henderson <rth@redhat.com>
112 * genautomata.c (expand_automata): Always create a description.
114 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
116 * optabs.c (expand_binop): Correctly handle the carry in multiword
117 add/subtract operations.
119 2001-08-27 Fred Fish <fnf@be.com>
121 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
124 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
126 * reload.c (find_reloads_toplev): Back out this change:
128 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
130 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
131 mem if the address is a mode_dependent_address_p.
133 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
135 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
136 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
137 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
140 * genattr.c (main): New variable num_insn_reservations. Increase
141 it if there is DEFINE_INSN_RESERVATION. Output automaton based
142 pipeline hazard recognizer interface.
144 * genattrtab.h: New file.
146 * genattrtab.c: Include genattrtab.h.
147 (attr_printf, check_attr_test, make_internal_attr,
148 make_numeric_value): Move protypes into genattrtab.h. Define them
150 (num_dfa_decls): New global variable.
151 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
152 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
153 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
154 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
156 * genautomata.c: New file.
158 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
160 * sched-int.h: (curr_state): Add the external definition for
161 automaton pipeline interface.
162 (haifa_insn_data): Add comments for members blockage and units.
164 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
165 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
166 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
167 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
168 TARGET_SCHED_DFA_POST_CYCLE_INSN,
169 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
170 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
172 (TARGET_SCHED): Use the new macros.
174 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
175 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
176 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
177 dfa_bubble): New members in gcc_target.sched.
179 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
180 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
181 (insn_queue): Redefine it as pointer to array.
182 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
184 (max_insn_queue_index_macro_value): New variable.
185 (curr_state, dfa_state_size, ready_try): New varaibles for
187 (ready_element, ready_remove, max_issue): New function prototypes
188 for automaton interface.
189 (choose_ready): New function prototype.
190 (insn_unit, blockage_range): Add comments.
191 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
192 FUNCTION_UNITS_SIZE == 0.
193 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
194 actual_hazard, potential_hazard): Add comments.
195 (insn_cost): Use cost -1 as undefined value. Remove
196 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
198 (ready_element, ready_remove): New functions for automaton
200 (schedule_insn): Add new code for automaton pipeline interface.
201 (queue_to_ready): Add new code for automaton pipeline interface.
202 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
203 (debug_ready_list): Print newline when the queue is empty.
204 (max_issue): New function for automaton pipeline interface.
205 (choose_ready): New function.
206 (schedule_block): Add new code for automaton pipeline interface.
207 Print ready list before scheduling each insn.
208 (sched_init): Add new code for automaton pipeline interface.
209 Initiate insn cost by -1.
210 (sched_finish): Free the current automaton state and finalize
211 automaton pipeline interface.
213 * sched-rgn.c: Include target.h.
214 (init_ready_list, new_ready, debug_dependencies): Add new code for
215 automaton pipeline interface.
217 * sched-vis.c: Include target.h.
218 (get_visual_tbl_length): Add code for automaton interface.
219 (target_units, print_block_visualization): Add comments.
221 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
222 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
223 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
224 (getruntime.o, genautomata.o): New entries.
225 (genattrtab.o): Add new dependency file genattrtab.h.
226 (genattrtab): Add new dependencies. Link it with `libm.a'.
227 (getruntime.o, hashtab.o): New entries for canadian cross.
229 * doc/md.texi: Description of automaton based model.
231 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
233 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
234 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
235 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
236 TARGET_SCHED_DFA_POST_CYCLE_INSN,
237 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
238 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
239 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
241 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
242 MAX_DFA_ISSUE_RATE): New macro descriptions.
244 * doc/contrib.texi: Add dfa based scheduler contribution.
246 * doc/gcc.texi: Add more information about genattrtab.
248 2001-08-27 Diego Novillo <dnovillo@redhat.com>
250 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
253 2001-08-27 Richard Henderson <rth@redhat.com>
255 * function.c (expand_function_end): Don't init arg_pointer_save_area.
256 (get_arg_pointer_save_area): New. Create an init it here.
257 (fix_lexical_addr): Use it.
258 * function.h: Declare it.
259 * builtins.c (expand_builtin_setjmp_receiver): Use it.
260 * stmt.c (expand_nl_goto_receiver): Use it.
262 2001-08-27 Richard Henderson <rth@redhat.com>
264 * final.c (final_scan_insn): Don't enter APP_ON mode for
267 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
268 alignment for assemble_integer for DW_EH_PE_aligned.
269 * except.c (output_function_exception_table): Likewise.
271 2001-08-26 Andreas Jaeger <aj@suse.de>
273 * c-tree.h: Add prototyp for c_sizeof_nowarn.
275 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
277 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
279 2001-08-27 Alan Modra <amodra@bigpond.net.au>
281 * config/rs6000/rs6000.c (mask_operand): Rewrite without
283 (mask64_operand): Likewise.
284 (rldic_operand): Delete.
285 (includes_lshift64_p): Delete.
286 (includes_rldic_lshift_p): New function.
287 (includes_rldicr_lshift_p): New function.
288 (print_operand): Don't call rldic_operand in case 'W'.
289 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
290 (includes_lshift64_p): Remove.
291 (includes_rldic_lshift_p): Declare.
292 (includes_rldicr_lshift_p): Declare.
293 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
294 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
295 Replace match_operand rldic_operand predicate with
296 const_int_operand. Replace includes_lshift64_p condition with
297 includes_rldic_lshift_p.
298 <ashldi3_internal 64 bit rldicr patterns>: New.
300 2001-08-27 Andreas Jaeger <aj@suse.de>
302 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
303 * errors.c: Likewise.
305 * dwarf2asm.c: Likewise.
306 * doprint.c (checkit): Likewise.
307 * diagnostic.c: Likewise.
308 * collect2.c: Likewise.
310 * c-semantics.c (build_stmt): Likewise.
311 * c-format.c (status_warning): Likewise.
312 * c-errors.c (pedwarn_c99): Likewise.
313 * builtins.c (validate_arglist): Likewise.
314 * config/pj/pj.c (pj_printf): Likewise.
315 * fix-header.c: Likewise.
317 * gcov.c (fnotice): Likewise.
318 * gensupport.c (message_with_line): Likewise.
319 * mips-tfile.c: Likewise.
320 * protoize.c (notice): Likewise.
321 * read-rtl.c (fatal_with_file_and_line): Likewise.
322 * rtl-error.c: Likewise.
323 * tradcpp.c: Likewise.
325 * cp/tree.c (build_min_nt): Likewise.
326 (build_min): Likewise.
327 * cp/lex.c: Likewise.
328 * cp/errfn.c: Likewise.
329 * cp/rtti.c (create_pseudo_type_info): Likewise.
331 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
333 * df.c (df_uses_record): Return after recording all uses
336 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
338 * df.c (df_insn_modify): Realloc the INSN table here, if
339 necessary, here, too.
341 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
343 * config/mips/mips.c (mips_function_value): Handle complex return
346 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
348 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
350 * reload.c (make_memloc): Copy result if it is still
351 reg_equiv_memory_loc[regno] on return.
352 (subst_reloads) [ENABLE_CHECKING]: Check that none of
353 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
354 reg_equiv_mem are modified by the substitutions.
356 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
358 * predict.c (expensive_function_p): New.
359 * rtl.h (expensive_function_p): Declare.
360 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
361 (use_fast_prologue_epilogue): New static variable.
362 (expand_prologue): Set it; emit short prologues if unset.
363 (expand_epilogue): Likewise.
365 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
367 * config.gcc: Add stormy16-*-elf case.
368 * config/stormy16/stormy-abi: New file.
369 * config/stormy16/stormy16-lib2.c: New file.
370 * config/stormy16/stormy16-protos.h: New file.
371 * config/stormy16/stormy16.c: New file.
372 * config/stormy16/stormy16.h: New file.
373 * config/stormy16/stormy16.md: New file.
374 * config/stormy16/t-stormy16: New file.
376 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
378 * i386.h (no-accumulate-outgoing-args): Use proper mask.
380 2001-08-24 David Edelsohn <edelsohn@gnu.org>
382 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
383 descriptor members are pointer size, not constant 4.
384 * config/rs6000/rs6000.md (define_splits): Remove more unused
387 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
389 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
391 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
393 * cp/rtti.c (VPARAMS): Fix parameter.
395 2001-08-24 Zack Weinberg <zackw@panix.com>
397 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
399 (mode_for_extraction): No need for #ifdefs. Add default-case abort
401 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
402 in if controlling use of insv.
403 (extract_bit_field): Likewise, for extv and extzv.
405 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
407 * i386.md (movcc peep2): Fix load of 0.
409 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
411 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
412 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
414 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
416 * c-pragma.h: Move weak_syms and weak_decls...
417 * varasm.c: ...here. Now static.
418 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
419 depend on HANDLE_PRAGMA_WEAK.
421 * c-common.c (c_alignof, c_alignof_expr): Move here...
422 * c-typeck.c: ...from here.
423 * c-tree.h, c-common.h: Adjust.
425 2001-08-23 Bernd Schmidt <bernds@redhat.com>
427 * config/ia64/ia64.c (rws_update): If !pred, set write_count
428 instead of incrementing it.
430 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
431 asm ready, don't try to move them all into the same array element.
433 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
435 * function.c (thread_prologue_and_epilogue_insns): Avoid
436 fallthru flag on edge to exit.
438 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
440 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
443 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
445 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
446 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
447 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
450 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
452 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
453 replace "GNU CC" with "GCC".
455 2001-08-23 Richard Henderson <rth@redhat.com>
457 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
458 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
459 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
460 Need GR between FR and not GR_AND_FR.
461 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
462 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
463 AR regs before GR regs.
464 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
465 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
466 (REGISTER_MOVE_COST): Update.
467 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
469 2001-08-23 Richard Henderson <rth@redhat.com>
471 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
474 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
476 * reload1.c (emit_reload_insns): Don't look for notes
477 on a NULL store_insn.
479 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
481 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
482 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
483 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
484 format specifier warnings.
485 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
487 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
489 * config/i386/i386-protos.h: Correct declaration of
490 i386_pe_asm_named_section.
492 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
494 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
496 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
498 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
500 * cpperror.c (print_location): Don't show _Pragma.
501 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
502 and file change callback generation here.
503 (stack_include_file): Update use of cpp_push_buffer.
504 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
505 (struct cpp_buffer): Remove type, pfile members.
506 * cppinit.c (cpp_handle_option): Use free_chain.
507 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
508 (skip_escaped_newlines, get_effective_char, lex_percent): Take
509 a cpp_reader rather than a cpp_buffer.
510 (skip_escaped_newlines, get_effective_char, skip_block_comment,
511 skip_line_comment, parse_string, lex_percent, lex_dot,
512 _cpp_lex_token): Update accordingly.
513 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
515 (cpp_push_buffer): Update prototype.
516 (run_directive): Update use of cpp_push_buffer.
517 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
518 handle_assertion): Update use of run_directive.
519 * cpplib.h (enum cpp_buffer_type): Remove.
520 (cpp_push_buffer): Update prototype.
521 * fix-header.c (read_scan_file): Update.
523 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
525 * gcc.c (struct prefix_list): Change prefix to const char *.
527 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
529 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
531 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
533 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
536 * jump.c (squeeze_notes): Take parms by reference. Handle END being
539 * ifcvt.c (dead_or_predicable): Adjust.
540 * loop.c (find_and_verify_loops): Adjust.
541 * stmt.c (expand_end_case): Adjust.
542 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
543 head and end insn pointers in the basic block, not just local copies.
544 (merge_blocks_move_predecessor_nojumps): Likewise.
546 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
548 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
549 bitmap.h, builtin-types.def, builtins.c, builtins.def,
550 c-aux-info.c, c-common.c, c-common.def, c-common.h,
551 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
552 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
553 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
554 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
555 conditions.h, config.gcc, configure.frag, configure.in,
556 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
557 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
558 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
559 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
560 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
561 emit-rtl.c, errors.c, errors.h, except.c, except.h,
562 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
563 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
564 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
565 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
566 gencheck.c, gencodes.c, genconfig.c, genemit.c,
567 genextract.c, genflags.c, gengenrtl.c, genmultilib,
568 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
569 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
570 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
571 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
572 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
573 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
574 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
575 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
576 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
577 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
578 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
579 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
580 params.h, predict.c, predict.def, predict.h, prefix.c,
581 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
582 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
583 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
584 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
585 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
586 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
587 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
588 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
589 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
590 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
591 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
592 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
593 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
594 xcoffout.h: replace "GNU CC" with "GCC".
596 2001-08-21 Richard Henderson <rth@redhat.com>
598 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
599 (final_scan_insn): Consider jump tables data even if we have no
600 independant text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
602 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
603 (ASM_OUTPUT_CASE_END): Remove.
604 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
605 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
606 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
608 2001-08-21 Richard Henderson <rth@redhat.com>
610 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
611 at barrier insns. Emit stop bits before barriers.
613 * flow.c (flow_find_cross_jump): Don't consider unconditional
614 return insns for commoning.
616 * final.c (compute_alignments): Fix typo.
618 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
619 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
620 (store_bit_field): Use mode_for_extraction more places.
621 (extract_bit_field): Likewise.
623 2001-08-21 Zack Weinberg <zackw@panix.com>
625 * caller-save.c: Don't include insn-codes.h.
626 (reg_save_code, reg_restore_code): Make arrays of int.
627 All uses updated to match.
628 (insert_save, insert_restore): No need to initialize "code"
629 variable upon declaration.
630 * Makefile.in: update dependencies; fix typo in clean rule.
632 2001-08-21 Richard Henderson <rth@redhat.com>
634 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
635 (merge_if_block): Handle fallout from same.
637 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
639 * builtins.c (type_to_class): Fix typo in last change.
641 2001-08-21 Richard Henderson <rth@redhat.com>
643 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
644 ia64_asm_output_label.
646 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
647 copy of gp while the real gp register contains garbage.
649 2001-08-21 Zack Weinberg <zackw@panix.com>
651 * expmed.c (mode_for_extraction): New function.
652 (store_bit_field, extract_bit_field): Use it.
653 * expr.h: Prototype it and provide an enum for its first argument.
655 * combine.c, function.c, recog.c: Don't include insn-codes.h.
656 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
657 and digging through the insn_data tables.
658 * Makefile.in: Update dependencies.
660 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
662 * cppfiles.c (stack_include_file): line-map.c now handles include
664 (handle_missing_handler): Similarly.
665 (_cpp_execute_include): Similarly.
666 (_cpp_pop_file_buffer): Similarly.
667 * cpphash.h (struct cpp_reader): Remove system_include_depth,
668 buffer_stack_depth and include_depth.
669 * cpplib.c (do_include_common): line-map.c now handles include depth.
670 (cpp_push_buffer): Similarly.
671 (_cpp_pop_buffer): Similarly.
672 * cppmacro.c (builtin_macro): Update.
673 * line-map.c (init_line_maps): Set depth.
674 (add_line_map): Increment "used" earlier. Update and use the
676 (trace_include): Use the include depth.
677 * line-map.h (struct line_maps): New member depth.
679 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
681 * cppfiles.c (stack_include_file): Don't handle -H here.
682 * cppinit.c (cpp_start_read): Set include tracing after
683 cpp_post_options and after stacking the main file.
684 * line-map.c (trace_include): New.
685 (init_line_maps, add_line_map): Update.
686 * line-map.h (struct line_maps): New member trace_includes.
688 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
690 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
691 * cppfiles.c (stack_include_file): Only stack a file if there
692 is something to do. Return a boolean indicating whether a
693 buffer was stacked or not.
694 (_cpp_execute_include): Similarly.
695 (_cpp_read_file): Similarly.
696 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
698 2001-08-21 Sam Steingold <sds@gnu.org>
700 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
701 (RECACHE): keep obufp_before_macroname up to date
703 2001-08-21 Zack Weinberg <zackw@panix.com>
705 * stmt.c: Don't include insn-codes.h.
706 (expand_end_case): Machine specific logic moved to expr.c.
707 No need to worry about __builtin_classify_type.
708 (check_for_full_enumeration_handling, emit_case_nodes):
711 * builtins.o (expand_builtin_classify_type): Split up so code
712 can be shared with fold_builtin_classify_type.
713 (type_to_class, fold_builtin_classify_type): New functions.
714 (fold_builtins): Handle __builtin_classify_type.
716 * expr.c (do_tablejump): Now static.
717 (case_values_threshold, try_casesi, try_tablejump): New;
718 code mostly from stmt.c (expand_end_case).
719 (expr.h): Update prototypes.
721 * Makefile.in (stmt.o): Update dependencies.
723 2001-08-21 Will Cohen <wcohen@redhat.com>
725 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
726 declaration of variable i.
727 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
728 declaration of variable i.
730 2001-08-21 Richard Henderson <rth@redhat.com>
732 * crtstuff.c: Fix thinko last change. Move list tails to start
733 of CRT_END section. Tidy ifdefs.
734 (__EH_FRAME_BEGIN__): Always static for ELF.
735 (__do_global_ctors_1): Rename from __frame_dummy.
736 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
737 name change; don't hide __EH_FRAME_BEGIN__.
739 2001-08-21 Richard Henderson <rth@redhat.com>
741 * gdbinit.in: Move break on exit after break on fancy_abort.
743 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
746 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
748 * cpphash.h (_cpp_push_next_buffer): New.
749 * cppinit.c (do_includes): Remove.
750 (push_include, free_chain, _cpp_push_next_buffer): New.
751 (cpp_start_read): Use them to rework command line option handling.
752 (cpp_handle_option): Combine handling of -include and -imacros.
753 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
754 appropriate. Always insert missing \n at EOF.
755 * cpplib.c (start_directive): Get the directive position right.
756 * cppmain.c (cb_file_change): Always print the first line, unless
759 2001-08-20 Andreas Jaeger <aj@suse.de>
761 * profile.c (compute_branch_probabilities): Remove extra new-line
763 * flow.c (verify_flow_info): Likewise.
765 2001-08-20 Diego Novillo <dnovillo@redhat.com>
767 * basic-block.h (basic_block): Add new field 'flags'.
768 (BB_REACHABLE): Define.
769 (expunge_block): Declare.
770 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
771 (EXIT_BLOCK_PTR): Ditto.
772 (expunge_block): Remove static declaration.
773 (cleanup_cfg): Clear bb->aux on every basic block.
774 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
775 computing reachability.
776 (delete_unreachable_blocks): Delete block b if b->flags has
779 2001-08-20 Diego Novillo <dnovillo@redhat.com>
781 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
783 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
785 * sparc.c (sparc_variable_issue): Fix typo in last change.
787 2001-08-20 Richard Henderson <rth@redhat.com>
789 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
791 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
793 * pa.h (RETURN_IN_MEMORY): Improve comment.
795 2001-08-20 Janis Johnson <janis187@us.ibm.com>
797 * doc/invoke.texi (Profiling options): Clarify the interactions
798 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
800 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
802 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
805 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
807 * gcc.c (make_relative_prefix): Allocate a sufficiently large
810 2001-08-20 Richard Henderson <rth@redhat.com>
812 * final.c (end_final): Fix typo last change.
814 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
816 * cppinit.c (init_standard_includes): The returned buffer
817 is already malloc-ed.
818 * gcc.c (add_prefix): Similarly.
819 * prefix.c (translate_name): Update to support clear buffer
821 (update_path): Similarly. Be sure to free any newly allocated
822 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
824 * prefix.h (update_path): Update prototype and document.
825 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
826 up and update to new buffer ownership rules.
827 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
829 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
831 * final.c (compute_alignments): New function.
832 (init_insn_lengths): Do not care label_align.
833 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
834 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
835 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
836 (shorted_branches): Realloc label_align array; do
837 not call init_insn_lengths; Do not care about loop alignments.
838 * output.h (compute_alignments): Declare.
839 * toplev.c (rest_of_compilation): Call compute_alignments.
840 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
842 * predict.c (block_info_def): Add npredecesors, remove nvisited;
843 change visited to tovisit.
844 (propagate_freq): Use faster traversing algorithm.
845 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
846 to tovisit; reverse meaning.
848 * predict.c (struct block_info_def): Remove nvisited.
849 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
850 (estimate_bb_frequencies): Call mark_dfs_back_edges.
852 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
854 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
855 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
856 (TARGET_FUSED_MADD): New.
857 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
858 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
859 the multiply-add instructions.
861 2001-08-19 Richard Henderson <rth@redhat.com>
863 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
864 is aligned to pointer size.
866 2001-08-19 Richard Henderson <rth@redhat.com>
868 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
869 display markers during final schedule.
871 2001-08-19 Richard Henderson <rth@redhat.com>
873 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
875 2001-08-19 Richard Henderson <rth@redhat.com>
877 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
879 (ASM_NAME_TO_STRING): Remove.
880 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
881 in the same string. Remove support for expressions.
883 2001-08-19 Richard Henderson <rth@redhat.com>
885 * config/i386/i386.md (tablejump): Make an expander; handle
886 pic relative addressing here.
887 (tablejump_1): Rename from tablejump_pic.
890 2001-08-19 Richard Henderson <rth@redhat.com>
892 * regclass.c (fix_register): Fix typo.
894 2001-08-18 Richard Henderson <rth@redhat.com>
896 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
897 (struct _Unwind_Context): Expand br_loc to hold it.
898 (uw_frame_state_for): Handle leaf functions better.
899 (uw_update_reg_address): Update for br_loc change.
901 2001-08-18 Richard Henderson <rth@redhat.com>
903 * crtstuff.c: Move list heads before code that uses them.
904 (__JCR_LIST__): Remove initial null.
905 (frame_dummy, __frame_dummy): Do java registration here ...
906 (__do_global_ctors_aux): ... not here.
908 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
909 (__do_global_dtors_aux): Update to match.
910 (__JCR_LIST__, __do_jv_register_classes): New.
912 * config/ia64/crtend.asm (__JCR_END__): New.
913 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
914 instead of an indirect LTOFF22 reloc.
916 2001-08-18 Richard Henderson <rth@redhat.com>
918 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
919 * regclass.c (init_reg_sets_1): Fix typo.
920 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
921 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
922 (ia64_compute_frame_size): Make ar.unat live when in use.
923 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
924 for ar.pfs; remove ar.unat handling.
925 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
927 (PREDICATE_CODES): Add ar_pfs_reg_operand.
928 * config/ia64/ia64-protos.h: Update decls.
929 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
930 (sibcall_pic): Likewise.
932 2001-08-18 Richard Henderson <rth@redhat.com>
934 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
935 pred_rel_mutex when searching for insn_group_barrier.
936 * config/ia64/ia64.md (cycle_display): Combine the expander
939 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
940 bit before asm as needed.
942 2001-08-18 Richard Henderson <rth@redhat.com>
944 * timevar.def (TV_MACH_DEP): New.
945 * toplev.c (rest_of_compilation): Use it.
946 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
948 2001-08-18 Zack Weinberg <zackw@panix.com>
950 * unwind-dw2.c (execute_stack_op): Add default aborts to
951 the inner switches to prevent warnings.
953 2001-08-18 Richard Henderson <rth@redhat.com>
955 * timevar.h (struct timevar_time_def): Change element type to float.
956 (ticks_to_msec, clocks_to_msec): Likewise.
957 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
958 (get_time): Likewise.
959 (timevar_print): Adjust zero check and printing to match.
961 2001-08-18 Zack Weinberg <zackw@panix.com>
963 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
964 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
965 Eliminate overfull or underfull hboxes.
967 2001-08-18 Zack Weinberg <zackw@panix.com>
969 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
971 2001-08-18 Zack Weinberg <zackw@panix.com>
973 * haifa-sched.c: Convert to target hooks. Macros replaced
974 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
975 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
976 MD_SCHED_FINISH, and HAVE_cycle_display.
977 * target-def.h (TARGET_SCHED_ADJUST_COST,
978 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
979 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
980 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
981 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
982 New hook #defines to be overridden.
983 (TARGET_SCHED): Bring them all together.
984 (TARGET_INITIALIZER): Update.
985 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
986 instead of 'struct rtx_def *' throughout.
987 (struct sched): New set of hooks for the scheduler.
988 * Makefile.in (haifa-sched.o): Depend on target.h.
989 * doc/tm.texi: Document the new scheduler hooks, together in
990 their own section, instead of scattered around.
991 Fix a bunch of underfull/overfull hboxes.
993 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
994 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
995 sparc.h: Don't define any of the old scheduler macros.
997 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
998 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
999 sparc.c: Create hook functions from code extracted from
1000 corresponding target header, or make existing hooks static, as
1001 appropriate. Set the appropriate entries in targetm.
1003 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
1004 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
1005 rs6000-protos.h, s390-protos.h, sparc-protos.h:
1006 Remove prototypes for functions which are now static.
1008 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
1009 related gunk; the Haifa scheduler is now the only choice.
1011 2001-08-18 Zack Weinberg <zackw@panix.com>
1013 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
1014 * genopinit.c: Put floating point divide insns in sdiv_optab.
1015 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
1016 * config/gofast.h, config/c4x/c4x.h,
1017 config/ia64/hpux_longdouble.h, config/mips/mips.h,
1018 config/pa/long_double.h, config/rs6000/sysv4.h,
1019 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
1020 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
1021 (init_optabs): Use init_optabv for overflow-trapping optabs.
1022 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
1023 cmp_optab RTX codes so have_insn_for can find them.
1025 * optabs.c (expand_simple_binop, expand_simple_unop,
1026 have_insn_for, gen_sub3_insn): New interfaces.
1027 * expr.h: Prototype new functions.
1028 (enum optab_methods): Move here from optabs.h.
1030 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
1031 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
1032 Use new functions instead of working directly with optabs.
1033 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
1034 unroll.c: Don't include optabs.h.
1035 * caller-save.c, combine.c, function.c, stmt.c: Just include
1036 insn-codes.h, not optabs.h.
1037 * Makefile.in: Update dependencies.
1039 * combine.c (make_compound_operation, simplify_comparison):
1040 Fix typos testing for this or that instruction.
1042 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1044 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
1045 generating libgcc.a.
1047 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1049 * except.c (TYPE_HASH): Delete.
1051 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
1054 * tree.c (TYPE_HASH): Delete.
1056 * tree.h (TYPE_HASH): Define.
1058 2001-08-18 Graham Stott <grahams@redhat.com>
1060 * config/mips/mips.md (adddi3_internal_2+1): Remove contraints from
1062 (adddi3_internal_2+2): Likewise.
1063 (eh_set_lr_di+1): Likewise.
1065 2001-08-17 Richard Henderson <rth@redhat.com>
1067 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1068 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
1069 * dwarf2asm.c: ... here.
1070 * dwarfout.c: Remove them.
1072 * varasm.c (assemble_integer): Add align parameter.
1073 (assemble_real, output_constant, output_constructor): Likewise.
1074 * output.h: Update decls.
1075 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
1076 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
1077 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
1078 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
1079 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
1082 * final.c (end_final): Abort profile block generation if we
1083 havn't layed it out properly.
1084 * output.h (assemble_eh_integer): Remove stale decl.
1085 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
1087 (assemble_integer): Handle unaligned data.
1088 (assemble_real): Abort on unaligned data.
1089 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
1091 (default_dtor_section_asm_out_destructor): Use assemble_align.
1092 (default_named_section_asm_out_constructor): Likewise.
1093 (default_ctor_section_asm_out_constructor): Likewise.
1094 * config/darwin.c (machopic_asm_out_constructor): Likewise.
1095 (machopic_asm_out_destructor): Likewise.
1096 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
1097 (nextstep_asm_out_destructor): Likewise.
1098 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
1099 (vms_asm_out_destructor): Likewise.
1101 2001-08-17 Richard Henderson <rth@redhat.com>
1103 * config/mips/iris6.h (TARGET_IRIX6): New.
1104 (current_section_name, current_section_flags): New.
1105 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
1106 (MAX_OFILE_ALIGNMENT): New.
1107 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
1108 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
1109 (copy_file_data): Split out from
1110 (mips_asm_file_end): ... here.
1111 (mips_asm_file_start): Remove extra .section directive. Use
1112 tmpfile instead of mips_make_temp_file.
1113 (mips_unique_section): Use const char * as needed for warnings.
1114 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
1115 re-add align parameter.
1116 (iris6_asm_named_section): New.
1117 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
1118 (iris6_asm_output_align, iris6_section_align_1): New.
1119 (iris6_asm_file_start, iris6_asm_file_end): New.
1120 * config/mips/mips-protos.h: Update decls.
1122 2001-08-17 Janis Johnson <janis187@us.ibm.com>
1124 * doc/install.texi (Install GCC): Add links to build status pages.
1126 (Final install): Ditto; request updates for specific info
1128 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
1130 * cpperror.c (print_location): Don't take a file name; use the
1132 (_cpp_begin_message): Similarly.
1133 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
1134 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
1135 (cpp_pedwarn_with_file_and_line): Remove.
1136 * cppfiles.c (stack_include_file): Update; set filename to stdin
1137 here when appropriate.
1138 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
1139 (_cpp_begin_message): Don't take a file name.
1140 * cppinit.c: Add comment.
1141 * cpplex.c: Fix end-of-directive indicator.
1142 * cpplib.c: Don't include intl.h.
1143 (run_directive, do_diagnostic): Update.
1144 (do_line): Update to not use nominal_fname.
1145 (cpp_push_buffer): Don't take a filename.
1146 * cpplib.h (struct ht): Remove.
1147 (cpp_push_buffer): Don't take a filename.
1148 (cpp_pedwarn_with_file_and_line): Remove.
1149 * cppmacro.c (struct cpp_macro): Remove file.
1150 (builtin_macro): Update.
1151 (_cpp_create_definition): Update.
1152 * cppmain.c: Correct comment.
1153 * fix-header.c (read_scan_file): Update.
1155 2001-08-17 Kazu Hirata <kazu@hxi.com>
1157 * sbitmap.c: Fix comment formatting.
1158 * sched-deps.c: Likewise.
1159 * sibcall.c: Likewise.
1160 * simplify-rtx.c: Likewise.
1162 * ssa-ccp.c: Likewise.
1163 * stor-layout.c: Likewise.
1164 * timevar.c: Likewise.
1165 * toplev.c: Likewise.
1166 * unwind-dw2.c: Likewise.
1167 * unwind-dw2-fde.c: Likewise.
1168 * varasm.c: Likewise.
1170 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
1172 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
1173 or larger than an integer in memory.
1175 2001-08-17 Zack Weinberg <zackw@panix.com>
1177 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
1178 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
1179 * rtl.h: Don't forward-declare union tree_node here. Don't
1180 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
1181 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
1182 and tree respectively.
1183 * tree.h: Don't forward-declare struct rtx_def here. Don't
1184 typedef tree here. Change all uses of struct rtx_def *,
1185 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
1186 and tree respectively.
1188 2001-08-17 Richard Henderson <rth@redhat.com>
1190 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
1191 config/mips/openbsd.h: Fix typos last change.
1193 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1195 * doc/invoke.texi (Optimize Options): The default for
1196 -finline-limit is 600.
1198 2001-08-17 Richard Henderson <rth@redhat.com>
1200 * varasm.c (text_section): Allow TEXT_SECTION to override the
1201 printing of TEXT_SECTION_ASM_OP.
1202 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
1203 (DATA_SECTION, BSS_SECTION): Remove.
1204 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
1205 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
1206 Rename from s/_NAME//.
1207 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
1208 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
1209 (TEXT_SECTION): ... here. New.
1210 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
1211 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
1212 * config/mips/openbsd.h: Likewise.
1213 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
1214 (mips_asm_file_end): Likewise test.
1215 (mips_output_function_epilogue): Likewise. Switch back to data
1216 section after emitting the function.
1218 * doc/tm.texi (Sections): Document TEXT_SECTION.
1220 2001-08-17 Richard Henderson <rth@redhat.com>
1222 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
1223 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
1225 2001-08-17 Richard Henderson <rth@redhat.com>
1227 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
1228 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
1229 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
1230 Add aligned attribute.
1232 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
1234 * config/sh/sh.md: Add modes to unspecs in first insn to match
1235 those in the second.
1237 * Makefile.in: Fix collect2 copy for Cygwin.
1239 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
1241 Install the proper patch.
1242 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
1243 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
1244 (expand_function_start): Likewise.
1245 * stmt.c (expand_decl): Likewise.
1246 * varasm.c (make_decl_rtx): Likewise.
1248 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
1250 * final.c: Undo my previous accidental checkin.
1251 * output.h: Likewise.
1252 * tm.texi: Likewise.
1254 2001-08-16 Richard Henderson <rth@redhat.com>
1256 * varasm.c (named_section_flags): Remove align parameter.
1257 * varasm.c, dwarf2out.c: Update all callers.
1258 * output.h: Update prototypes.
1260 * target.h (target.asm_out.named_section): Remove align parameter.
1261 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
1262 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
1263 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
1264 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
1265 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
1267 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
1268 (get_named_section_flags, set_named_section_flags): New.
1269 (named_section_flags): Use them.
1270 (named_section): Do decl vs section flags check here...
1271 (default_section_type_flags): ... not here.
1272 (init_varasm_once): Create in_named_htab.
1273 (resolve_unique_section): Mark reloc unused.
1275 2001-08-16 Richard Henderson <rth@redhat.com>
1277 * varasm.c (force_const_mem): Keep pool alignment in bits.
1278 (output_constant_pool): Use assemble_align.
1280 2001-08-16 Zack Weinberg <zackw@panix.com>
1282 * doc/tm.texi: Remove extra @table command.
1284 2001-08-16 Zack Weinberg <zackw@panix.com>
1286 * final.c (shorten_branches): Clear the end of the label_align
1287 array only if we made it larger. Break up messy expressions
1290 * diagnostic.c (internal_error): Check for error recursion
1291 before doing ICE suppression.
1293 * timevar.c: Timing variables now count in milliseconds.
1294 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
1295 (get_time): Not here.
1296 (timevar_print): Don't print any timer whose user, cpu, and
1297 wall times are all zero as displayed.
1298 * timevar.h: Update comment aboout units. Make timevar
1301 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
1303 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
1304 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
1305 (expand_function_start): Likewise.
1306 * stmt.c (expand_decl): Likewise.
1307 * varasm.c (make_decl_rtx): Likewise.
1309 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
1311 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
1312 (finalize_record_size): Don't set TYPE_USER_ALIGN.
1314 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1316 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
1319 2001-08-16 Andreas Jaeger <aj@suse.de>
1321 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
1324 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
1326 * rtl.h (only_sets_cc0_p): New prototype.
1327 * jump.c (sets_cc0_p): Handle INSN.
1328 (only_sets_cc0_p): New function.
1329 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
1330 (tidy_fallthru_edge): Likewise.
1331 * integrate.c (copy_insn_list): Likewise.
1332 * unroll.c (unroll_loop): Likewise.
1333 (copy_loop_body): Likewise.
1335 2001-08-15 Jason Eckhardt <jle@redhat.com>
1337 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
1339 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
1341 * predict.c (struct block_info_def): Remove nvisited.
1342 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
1343 (estimate_bb_frequencies): Call mark_dfs_back_edges.
1345 * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
1346 (ix86_adjust_cost): Teach scheduler that latency to load operand can
1349 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
1351 * predict.def: Update hitrates.
1353 2001-08-15 Richard Henderson <rth@redhat.com>
1355 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
1357 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
1359 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
1360 note from its associated jump.
1362 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1364 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
1365 also on 64-bit s390x targets.
1367 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
1369 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
1371 (arm_expand_prologue): Handled nested functions which take a
1372 variable argument list.
1373 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
1374 macro with an invocation of
1375 arm_compute_initial_elimination_offset.
1376 * config/arm/arm-protos.h: Prototype
1377 arm_compute_initial_elimination_offset.
1379 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1381 * doc/install.texi (Specific, avr): Fix markup.
1382 (Specific, c4x): Ditto.
1384 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1386 * predict.c (dump_prediction): Change `bool' parameter to `int'.
1388 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1390 * Makefile.in (OBJS): Add rtl-error.o
1391 (rtl-error.o): New rule.
1392 (diagnostic.o): Adjust dependency.
1393 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
1394 error_for_asm, _fatal_insn, _fatal_insn_not_found,
1395 warning_for_asm): Move to...
1396 rtl-error.c: ...here. New file.
1398 2001-08-14 Richard Henderson <rth@redhat.com>
1400 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
1401 if USING_SJLJ_EXCEPTIONS.
1403 2001-08-14 Steve Ellcey <sje@cup.hp.com>
1405 * tlink.c (scan_linker_output): Check string for unsatisfied in
1406 addition to undefined and unresolved.
1408 2001-08-14 Graham Stott <grahams@redhat.com>
1410 * libgcc2.c (*): Replace EH_FRAME_SECTION with
1411 EH_FRAME_SECTION_NAME.
1413 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
1415 * genattrtab.c (simplify_test_exp_in_temp): New function.
1416 (simplify_test_exp): Avoid explicit use of temporary obstack.
1417 (simplify_cond, insert_right_side, evaluate_eq_attr,
1418 simplify_and_tree, simplify_or_tree, eliminate_known_true):
1419 Use simplify_test_exp_in_temp.
1420 (optimize_attrs): Iterate until expression stabilizes.
1422 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
1424 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
1425 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
1427 2001-08-13 Richard Henderson <rth@redhat.com>
1429 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
1430 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
1431 * config/arm/conix-elf.h: Likewise.
1433 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
1435 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
1437 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
1439 * gcse.c (hash_scan_set): Expressions that are set as part of
1440 jump instructions are not available.
1442 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
1444 * config/s390/s390.c (print_operand, s390_function_prologue,
1445 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
1447 2001-08-13 Richard Henderson <rth@redhat.com>
1449 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
1450 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
1451 * doc/tm.texi (Exception Region Output): Document it.
1453 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
1455 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
1456 DWARF2 instead of stabs by default.
1458 2001-08-13 David Edelsohn <edelsohn@gnu.org>
1460 * config/rs6000/rs6000.c: Include optabs.h.
1462 2001-08-13 David Edelsohn <edelsohn@gnu.org>
1464 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
1465 save/restore routines.
1466 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
1468 2001-08-13 Andreas Jaeger <aj@suse.de>
1470 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
1471 the english is correct.
1473 2001-08-13 Zack Weinberg <zackw@panix.com>
1475 * expr.h: Split out optab- and libfunc-related code to...
1476 * optabs.h, libfuncs.h: ... these new headers.
1478 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
1480 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
1482 * mkconfig.sh: Don't include insn-codes.h from config.h.
1484 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
1485 enum insn_code is available. Move reload_in_optab and
1486 reload_out_optab array declarations to optabs.h.
1487 * regmove.c (gen_add3_insn): Move to optabs.c, export from
1488 there, prototype in expr.h.
1489 * gencodes.c: Cleanup: zap global variables, don't use
1490 printf where puts will do, don't bother defining MAX_INSN_CODE
1491 which nothing uses, let CODE_FOR_nothing get its value implicitly.
1493 * genemit.c, genopinit.c: Include optabs.h in generated file.
1494 * genoutput.c: Include insn-codes.h in generated file.
1495 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
1496 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
1497 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
1498 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
1499 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
1500 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
1502 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
1503 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
1504 config/m88k/m88k.c, config/sparc/sparc.c:
1506 * reload.c: Include expr.h and optabs.h before reload.h.
1507 * config/alpha/alpha.c: Include tree.h before reload.h.
1508 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
1509 and reload.h in that order.
1510 * config/sparc/sparc.c: Include debug.h.
1511 * recog.c: Include insn-codes.h.
1513 2001-08-13 Andreas Jaeger <aj@suse.de>
1515 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
1518 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1520 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
1521 * gcc.c (init_spec): Fix typo in comment.
1522 * varasm.c (data_section): Fix typo in comment.
1524 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
1526 * predict.c (dump_prediction): New argument "USED".
1527 (combine_predictions_for_insn): Determine the used heuristics,
1528 output the case no heuristic applied.
1529 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
1531 2001-08-13 Andreas Jaeger <aj@suse.de>
1533 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
1536 2001-08-13 Kazu Hirata <kazu@hxi.com>
1538 * jump.c: Fix formatting.
1540 2001-08-13 Kazu Hirata <kazu@hxi.com>
1542 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
1545 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
1547 * loop.c (check_dbra_loop): Use condjump_label to compute
1550 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
1551 to better document the files they're in.
1553 2001-08-12 Zack Weinberg <zackw@panix.com>
1555 * recog.h (struct insn_operand_data): Shrink 'mode' field
1558 2001-08-12 Kazu Hirata <kazu@hxi.com>
1560 * gcc.c: Fix comment formatting.
1561 * gccspec.c: Likewise.
1564 * genemit.c: Likewise.
1565 * gengenrtl.c: Likewise.
1566 * genrecog.c: Likewise.
1567 * gensupport.c: Likewise.
1568 * ggc-page.c: Likewise.
1569 * global.c: Likewise.
1570 * graph.c: Likewise.
1571 * ifcvt.c: Likewise.
1572 * integrate.c: Likewise.
1574 * libgcc2.c: Likewise.
1576 * mbchar.c: Likewise.
1577 * optabs.c: Likewise.
1578 * predict.c: Likewise.
1579 * prefix.c: Likewise.
1580 * profile.c: Likewise.
1581 * protoize.c: Likewise.
1583 * recog.c: Likewise.
1584 * regclass.c: Likewise.
1585 * regmove.c: Likewise.
1586 * reg-stack.c: Likewise.
1587 * reload1.c: Likewise.
1588 * resource.c: Likewise.
1589 * rtlanal.c: Likewise.
1592 2001-08-12 Kazu Hirata <kazu@hxi.com>
1594 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
1595 a tree representing a constant is passed to the macro.
1597 2001-08-12 Richard Henderson <rth@redhat.com>
1599 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
1600 (rs6000_elf_asm_out_destructor): New.
1601 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
1602 (DTORS_SECTION_ASM_OP): Remove.
1603 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
1604 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
1606 2001-08-12 David Edelsohn <edelsohn@gnu.org>
1609 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1610 * gcc.c (set_collect_gcc_options): New function, split out from
1612 Ignore elided switches.
1613 (do_spec_1): Invoke before executing command.
1614 (set_input): Export.
1615 Move declaration ...
1616 * gcc.h (set_input): ... here.
1617 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
1620 2001-08-12 Richard Henderson <rth@redhat.com>
1622 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
1623 thinko wrt TARGET_RELOCATABLE.
1625 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
1627 * fix-header.c (cb_file_change): Update prototype.
1629 2001-08-11 Zack Weinberg <zackw@panix.com>
1631 * toplev.c (set_float_handler): Make static.
1632 * toplev.h: Don't prototype set_float_handler.
1634 * simplify-rtx.c: Don't include setjmp.h.
1635 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
1637 (simplify_unary_operation, simplify_binary_operation): Use them,
1638 via do_float_handler.
1640 * fold-const.c: Don't include setjmp.h.
1641 (exact_real_inverse_1): New function.
1642 (exact_real_inverse): Use it, via do_float_handler.
1644 * varasm.c: Don't include setjmp.h.
1645 (assemble_real_1): New function.
1646 (assemble_real): Use it, via do_float_handler.
1647 Call internal_error if we get a trap here.
1649 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
1650 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
1652 2001-08-11 Zack Weinberg <zackw@panix.com>
1654 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
1655 STACK_BOUNDARY if not already defined.
1657 * calls.c, function.c, reload1.c, explow.c: Don't default
1658 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
1659 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
1661 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
1664 * doc/tm.texi: Document that STACK_BOUNDARY is required;
1665 clarify difference between it and PREFERRED_STACK_BOUNDARY.
1667 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
1669 * cppmacro.c (enter_macro_context): Push macro expansions even
1672 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1674 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
1675 (rs6000_elf_section_type_flags): Actually return a value.
1677 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
1679 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
1680 Clean up code: add missing comments and prototypes, fix warnings,
1681 remove obsolete code, fix spacing to conform to coding style.
1683 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
1685 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
1686 and TARGET_ASM_CLOSE_PAREN.
1687 (regclass_map): CC register belongs to class NO_REGS.
1688 (legitimize_pic_address): Don't generate unnecessary moves
1689 (to avoid confusing loop optimization).
1690 (check_and_change_labels): Replace jump_long by indirect_jump.
1691 (s390_final_chunkify): Don't start a new literal pool on section
1692 switch in 64-bit code.
1693 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
1695 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
1696 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
1697 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
1699 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
1700 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
1701 (CONST_COSTS): Fixed incorrect costs.
1703 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
1704 Use emit_jump instead of emit_jump_insn (gen_jump).
1705 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
1706 (to avoid confusing flow analysis).
1707 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
1708 (casesi, casesi_jump): New.
1709 (jump_long): Removed. Functionality merged into indirect_jump.
1710 (indirect_jump): Accept address_operand, not just register_operand.
1711 (cjump_long, icjump_long): Use same logic as indirect_jump.
1712 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
1713 Fixed broken setjmp/longjmp handling.
1714 (do_builtin_setjmp_setup): Removed.
1716 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
1717 broken GNU as versions that don't accept .quad with large
1718 negative values. Use hexadecimal output instead.
1719 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
1720 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
1721 FUNCTION_EPILOGUE): Removed. Now in targetm.
1723 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
1725 * config/s390/fixdfdi.h: Add missing copyright statement.
1726 Fix type conflicts on 64-bit. Add missing SFmode routines.
1728 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
1731 2001-08-11 Richard Henderson <rth@redhat.com>
1733 * rtl.h (REG_EH_RETHROW): Remove.
1734 * rtl.c (reg_note_name): Update.
1735 * combine.c (distribute_notes): Don't check for it.
1737 2001-08-11 Richard Henderson <rth@redhat.com>
1739 * combine.c (distribute_notes): Place REG_SETJMP.
1741 2001-08-11 Richard Henderson <rth@redhat.com>
1743 * doc/extend.texi (Arrays and pointers implementation): Discourage
1744 relying on sign-extension of pointers.
1746 2001-08-11 H.J. Lu <hjl@gnu.org>
1748 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
1750 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
1751 RDATA_SECTION_ASM_OP.
1753 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1755 * doc/install.texi (Specific, c4x): Fix cross-reference to the
1756 main manual to work both for info and HTML versions.
1758 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
1759 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1761 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
1762 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
1763 (struct cpp_pool): New member first.
1764 * cppinit.c (append_include_chain): Plug memory leaks.
1765 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
1766 Allocate pragma structures from the (aligned) macro pool to
1767 avoid leaking memory.
1768 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
1769 so we don't leak memory.
1770 * hashtable.c (ht_destroy): New.
1771 * hashtable.h (ht_destroy): New.
1773 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
1774 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1776 * c-lex.c (map): Make const.
1777 (cb_file_change): Update for callback passing a line map.
1778 Don't assume we have a previous map. Remove sanity check
1779 about popping too many files.
1780 * cpperror.c (print_location): Make map const.
1781 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
1782 (cpp_make_system_header): Similarly.
1783 (search_from): Similarly.
1784 (_cpp_execute_include): Don't remember where we came from.
1785 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
1786 (struct cpp_reader): Make map const.
1787 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
1788 * cpplib.c (do_line): Update; line maps now hold sysp.
1789 (cpp_push_buffer): Similarly.
1790 (_cpp_do_file_change): Similarly; callback with map instead.
1791 (cpp_get_line_maps): Constify return value.
1792 (_cpp_pop_buffer): Update.
1793 * cpplib.h (struct cpp_file_change): Remove.
1794 (struct cpp_callbacks): Update.
1795 (cpp_get_line_maps): Constify return value.
1796 * cppmacro.c (_cpp_create_definition): Update.
1797 * cppmain.c (struct printer): Constify map.
1798 (maybe_print_line): Similarly.
1799 (print_line): Similarly. Deduce flags 1 and 2 here.
1800 (cb_file_change): Update.
1801 * line-map.c (free_line_maps): Warn regardless.
1802 (add_line_map): Return pointer to const. When passed NULL to_file
1803 with LC_LEAVE, use the obvious values for the return point so the
1804 caller doesn't have to figure them out.
1805 (lookup_line): Return pointer to const.
1806 (print_containing_files): Take pointer to const.
1807 * line-map.h (struct line_map): New members reason, sysp.
1808 (add_line_map): Return pointer to const.
1809 (lookup_line): Similarly.
1810 (print_containing_files): Take pointer to const.
1812 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
1813 Richard Henderson <rth@redhat.com>
1815 * regmove.c (regmove_optimize): Avoid setting a register twice in
1818 2001-08-10 Richard Henderson <rth@redhat.com>
1820 * doc/extend.texi (Arrays and pointers implementation): Document
1821 behavior of pointer/integer conversion.
1823 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
1825 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
1827 2001-08-10 Richard Henderson <rth@redhat.com>
1829 * doc/extend.texi (C Implementation): New chapter.
1830 * doc/gcc.texi (Top): Link it in.
1832 2001-08-10 Andrew Cagney <ac131313@redhat.com>
1834 * doc/install.texi (Specific): Fix CVS merge botch.
1836 2001-08-10 Richard Henderson <rth@redhat.com>
1838 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
1839 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
1841 2001-08-10 Zack Weinberg <zackw@stanford.edu>
1843 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
1844 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
1845 this macro is now required.
1847 * cselib.c (cselib_process_insn), flow.c (propagate_block),
1848 loop.c (find_and_verify_loops), reload.c (reload): Check
1849 for rtx code of CALL_INSN, not CALL, when deciding if we
1850 need to check for REG_SETJMP note.
1852 * gcse.c (compute_hash_table, compute_store_table): Update
1853 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
1856 * config/avr/avr.c: Fix typo.
1857 * config/convex/convex.c (expand_movstr): Use adjust_address.
1858 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
1860 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
1861 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
1863 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
1864 Do define STACK_BOUNDARY.
1865 * config/i370/i370.c: Include expr.h.
1866 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
1867 config/pa/som.h, config/v850/v850.h: Take in_ctors and
1868 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
1869 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
1870 * config/m88k/m88k.c: Include c-tree.h after expr.h.
1871 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
1872 * config/romp/romp.c: Include expr.h after tree.h.
1874 (output_fpop): Use xmalloc, not oballoc.
1875 * config/we32k/we32k.c: Include expr.h.
1877 2001-08-10 Kazu Hirata <kazu@hxi.com>
1879 * config/h8300/h8300.h: Fix formatting.
1881 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
1883 * c-common.h (RETURN_NULLIFIED_P): Lose.
1884 * c-semantics.c (genrtl_return_stmt): Don't check it.
1886 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
1888 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
1889 (mips_annotate_frame_insn): New function.
1890 (mips_emit_frame_related_store): New function.
1891 (save_restore_insns): Don't mark instructions that set up the base
1892 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
1893 the store instructions instead.
1894 (mips_expand_prologue): If the stack size is moved into a temporary
1895 register, do not mark that move as frame-related. Add a
1896 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
1898 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
1900 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
1901 stack slot as unchanging if current_function_calls_eh_return.
1903 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
1905 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
1906 access the second half of the TFmode scratch operand.
1908 2001-08-10 Anthony Green <green@redhat.com>
1910 * java/class.c (emit_register_classes): Conditionalize code on
1913 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1915 * doc/install.texi (Specific, avr): Fix cross-reference to the
1916 main manual to work both for info and HTML versions.
1918 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1920 * stmt.c (expand_null_return_1): Remove code to generate simple returns
1921 and "use_goto" argument.
1922 (expand_null_return, expand_value_return): Update all callers.
1923 * function.c (expand_function_end): Remove code to generate simple
1925 * config/vax/vax.md (epilogue): New expander for function return.
1926 * doc/md.texi (epilogue): Remove "if defined".
1928 2001-08-09 Zack Weinberg <zackw@stanford.edu>
1930 * Makefile.in: Partially revert my previous change:
1931 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
1932 of the hashtab.o and safe-ctype.o rules.
1934 2001-08-09 Richard Henderson <rth@redhat.com>
1936 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
1937 (USE_COLLECT2): Remove duplicate definition.
1938 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
1939 (use_collect2): Remove dead code.
1940 * configure.in (use_collect2): Remove will_use_collect2 and
1941 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
1942 * configure: Rebuild.
1944 * target.h (targetm.asm_out.constructor): New.
1945 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
1946 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
1947 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
1948 * varasm.c (in_ctors, in_dtors): New.
1949 (assemble_constructor, assemble_destructor): Remove.
1950 (default_stabs_asm_out_destructor): New.
1951 (default_named_section_asm_out_destructor): New.
1952 (dtors_section, default_dtor_section_asm_out_destructor): New.
1953 (default_stabs_asm_out_constructor): New.
1954 (default_named_section_asm_out_constructor): New.
1955 (ctors_section, default_ctor_section_asm_out_constructor): New.
1956 * output.h: Update declarations.
1957 * c-decl.c (c_expand_body): Use target hooks instead of
1958 assemble_constructor and assemble_destructor.
1959 * profile.c (output_func_start_profiler): Likewise.
1960 * objc/objc-act.c (finish_objc): Likewise.
1961 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
1962 for the constructor.
1963 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
1965 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
1966 (DTORS_SECTION_ASM_OP): Likewise.
1967 (__CTOR_LIST__): Use attribute section when possible.
1968 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
1970 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
1971 ASM_OUTPUT_CONSTRUCTOR.
1973 * config/darwin.c (machopic_asm_out_constructor): New.
1974 (machopic_asm_out_destructor): New.
1975 * config/darwin-protos.h: Update declarations.
1976 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
1977 (ASM_OUTPUT_DESTRUCTOR): Remove.
1978 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
1979 * config/nextstep.c (nextstep_asm_out_constructor): New.
1980 (nextstep_asm_out_destructor): New.
1981 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
1982 (ASM_OUTPUT_DESTRUCTOR): Remove.
1983 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
1984 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
1985 ASM_OUTPUT_*STRUCTOR.
1986 * config/i386/aix386ng.h: Likewise.
1988 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
1989 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
1990 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
1991 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
1992 * config/lynx.h: Likewise.
1993 * config/netware.h: Likewise.
1994 * config/psos.h: Likewise.
1995 * config/alpha/alpha-interix.h: Likewise.
1996 * config/alpha/elf.h: Likewise.
1997 * config/arc/arc.h: Likewise.
1998 * config/arm/aof.h: Likewise.
1999 * config/arm/coff.h: Likewise.
2000 * config/arm/elf.h: Likewise.
2001 * config/c4x/c4x.h: Likewise.
2002 * config/h8300/h8300.h: Likewise.
2003 * config/i386/cygwin.h: Likewise.
2004 * config/i386/djgpp.h: Likewise.
2005 * config/i386/i386-coff.h: Likewise.
2006 * config/i386/i386-interix.h: Likewise.
2007 * config/i386/sco5.h: Likewise.
2008 * config/i386/vsta.h: Likewise.
2009 * config/i386/win32.h: Likewise.
2010 * config/i960/i960-coff.h: Likewise.
2011 * config/ia64/sysv4.h: Likewise.
2012 * config/m68hc11/m68hc11.h: Likewise.
2013 * config/m68k/coff.h: Likewise.
2014 * config/m68k/mot3300.h: Likewise.
2015 * config/m88k/m88k.h: Likewise.
2016 * config/mcore/mcore-pe.h: Likewise.
2017 * config/mcore/mcore.h: Likewise.
2018 * config/mips/elf.h: Likewise.
2019 * config/mips/elf64.h: Likewise.
2020 * config/mips/iris6.h: Likewise.
2021 * config/pa/pa64-hpux.h: Likewise.
2022 * config/rs6000/sysv4.h: Likewise.
2023 * config/sh/sh.h: Likewise.
2024 * config/sparc/litecoff.h: Likewise.
2026 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
2027 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
2028 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
2029 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2030 (ASM_OUTPUT_DESTRUCTOR): Remove.
2031 * config/a29k/a29k.c: Move include of tree.h.
2032 * config/a29k/udi.h: Delete file.
2033 * config/alpha/alpha.c (vms_asm_out_constructor): New.
2034 (vms_asm_out_destructor): New.
2035 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
2036 (EXTRA_SECTION_FUNCTIONS): Likewise.
2037 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
2038 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2039 * config/c4x/c4x.c: Move include of tree.h.
2040 * config/clipper/clipper.c (clix_asm_out_constructor): New.
2041 (clix_asm_out_destructor): New.
2042 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2043 (ASM_OUTPUT_DESTRUCTOR): Remove.
2044 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2045 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2046 (TARGET_ASM_CONSTRUCTOR): New.
2047 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
2048 (sco_asm_out_constructor): New.
2049 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
2050 * config/i386/svr3gas.h: Remove stack grows up code.
2051 Remove code duplicated from i386/sysv3.h.
2052 (TARGET_ASM_CONSTRUCTOR): New.
2053 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
2054 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
2055 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2056 (TARGET_ASM_CONSTRUCTOR): New.
2057 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
2058 (m68hc11_asm_out_destructor): New.
2059 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
2060 (TARGET_ASM_DESTRUCTOR): New.
2061 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
2062 * config/m68k/dpx2.h: Properly undef all the bits inherited from
2063 config/svr3.h pertaining to section manipulation.
2064 * config/m68k/dpx2g.h: Remove #if 0 code.
2065 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
2066 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
2067 (ASM_OUTPUT_CONSTRUCTOR): Remove.
2068 (TARGET_ASM_CONSTRUCTOR): New.
2069 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
2070 (m88k_svr3_asm_out_constructor): New.
2071 (m88k_svr3_asm_out_destructor): New.
2072 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2073 (ASM_OUTPUT_DESTRUCTOR): Remove.
2074 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2075 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
2076 * config/rs6000/aix.h: Likewise.
2077 * config/mips/rtems64.h: Don't undef removed constructor related bits.
2078 * config/mips/vxworks.h: Likewise.
2079 * config/rs6000/lynx.h: Likewise.
2080 * config/sh/elf.h: Likewise.
2081 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
2082 (DTORS_SECTION_ASM_OP): New.
2083 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2084 (ASM_OUTPUT_DESTRUCTOR): Remove.
2085 * config/sparc/sol2-sld-64.h: Likewise.
2086 * config/vax/vax.c (vms_asm_out_constructor): New.
2087 (vms_asm_out_destructor): New.
2088 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2089 (ASM_OUTPUT_DESTRUCTOR): Remove.
2090 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2092 * doc/tm.texi (@node Initialization): Update.
2094 2001-08-09 Richard Henderson <rth@redhat.com>
2096 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
2097 (__do_global_dtors_aux): Use gp-relative static data to avoid
2098 one dynamic relocation.
2099 (__do_frame_setup): Register Java classes.
2100 * config/alpha/crtend.asm (__JCR_END__): New.
2102 2001-08-09 Zack Weinberg <zackw@stanford.edu>
2104 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
2105 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
2106 (GEN, STAGESTUFF): Add new files.
2107 (insn-constants.h, s-constants, tm-preds.h, s-preds,
2108 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
2109 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
2110 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
2111 as well as insn-codes.h and insn-flags.h in config.h; and no
2112 extra headers in tconfig.h and hconfig.h.
2114 * gencodes.c: Eliminate code to generate predicate declarations
2115 or #defines for md-file constants.
2116 * genconstants.c, genpreds.c: New files.
2118 * i386.md: Re-order guard expressions such that TARGET_64BIT
2119 comes first, when this permits better optimization. Add
2120 TARGET_64BIT to more x86-64 patterns. Add comment explaining
2121 why this is desirable.
2123 2001-08-09 Jakub Jelinek <jakub@redhat.com>
2125 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
2126 (find_fde_for_dso): Remove.
2127 (_Unwind_IteratePhdrCallback): New.
2128 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
2129 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
2131 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2133 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
2134 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
2136 2001-08-09 Graham Stott <grahams@redhat.com>
2138 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
2139 (vis_no_unit): Use it.
2140 (visualize_no_unit): Add the insn only if room exists.
2142 2001-08-09 Graham Stott <grahams@redhat.com>
2144 * predict.c (estimate_probability): Replace magic numbers with
2145 appropriate enumeration.
2147 2001-08-09 Graham Stott <grahams@redhat.com>
2149 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
2151 (EXTRACT_FLAGS): Likewise.
2153 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
2155 * config/mips/mips.c (mips_legitimate_address_p): Check for
2156 CONST_INT in last patch.
2158 2001-08-08 Anthony Green <green@redhat.com>
2160 * java/class.c (emit_register_classes): Use assemble_jcr if
2161 possible. Keep the original mechanism as a fallback.
2162 * defaults.h (JCR_SECTION_NAME): Define if we have named section
2163 and weak symbol support.
2164 * crtstuff.c (__JCR_LIST__): Define.
2165 (__JCR_END__): Define.
2166 (_Jv_RegiserClasses): Define weak symbol if possible.
2167 (__do_global_ctors_aux): Register classes for ELF targets with
2168 weak symbol support.
2170 2001-08-08 Kazu Hirata <kazu@hxi.com>
2172 * dbxout.c: Fix comment formatting.
2173 * dependence.c: Likewise.
2175 * diagnostic.c: Likewise.
2176 * dominance.c: Likewise.
2177 * doprint.c: Likewise.
2178 * dwarf2out.c: Likewise.
2179 * dwarfout.c: Likewise.
2180 * emit-rtl.c: Likewise.
2181 * except.c: Likewise.
2182 * explow.c: Likewise.
2183 * expmed.c: Likewise.
2186 * fold-const.c: Likewise.
2187 * function.c: Likewise.
2189 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2191 * global.c (retry_global_alloc): Avoid shadowing allocno.
2193 2001-08-08 Mark Mitchell <mark@codesourcery.com>
2195 * except.c (remove_fixup_regions): Fix typo.
2197 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
2199 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
2200 unsigned HOST_WIDE_INT to avoid warning.
2201 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
2202 * flow.c (set_block_for_new_insns): Likewise.
2204 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
2206 * sibcall.c (return_value_pseudo): New static variable.
2207 (skip_copy_to_return_value): Handle return_value_pseudo.
2208 (call_ends_block_p): Ensure that return_value_pseudo is set.
2209 (optimize_sibling_and_tail_recursive_call): Discover the
2210 load of pseudo return value in alternate exit block.
2212 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
2214 * calls.c (ECF_ALWAYS_RETURN): New constant.
2215 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
2216 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
2217 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
2218 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
2219 * rtl.c (reg_note_name): New name.
2220 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
2222 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
2224 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
2226 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
2228 * alias.c (get_alias_set): Return a previously calculated
2229 alias set for a VAR_DECL.
2230 * function.c (gen_mem_addressof): Calculate the alias set before
2233 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
2235 * predict.def: Set hitrates according our experimental run.
2237 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
2239 * i386.h (HARD_REGNO_RENAME_OK): New macro.
2241 2001-08-08 H.J. Lu <hjl@gnu.org>
2243 * config/mips/mips.c (mips_unique_section): New. Copied from
2246 * config/mips/mips-protos.h (mips_unique_section): New
2249 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
2251 * config/mips/little.h: New. Generic little endian mips
2252 targets. Only mips*-*-linux* is converted to use it so far.
2254 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
2255 (WCHAR_TYPE): Defined
2256 (WCHAR_TYPE_SIZE): Likewise.
2257 (INIT_SUBTARGET_OPTABS): Likewise.
2258 (BSS_SECTION_ASM_OP): Likewise.
2259 (SBSS_SECTION_ASM_OP): Likewise.
2260 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
2261 (ASM_DECLARE_OBJECT_NAME): Likewise.
2262 (UNIQUE_SECTION): Likewise.
2263 (EXTRA_SECTIONS): Likewise.
2264 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2265 (ASM_OUTPUT_DESTRUCTOR): Likewise.
2266 (ASM_OUTPUT_DEF): Likewise.
2267 (HANDLE_SYSV_PRAGMA): Removed.
2268 (NO_IMPLICIT_EXTERN_C): Likewise.
2269 (TARGET_MEM_FUNCTIONS): Likewise.
2270 (STARTFILE_SPEC): Likewise.
2271 (ENDFILE_SPEC): Likewise.
2272 (LIB_SPEC): Likewise.
2273 (INVOKE__main): Likewise.
2274 (CTOR_LIST_BEGIN): Likewise.
2275 (CTOR_LIST_END): Likewise.
2276 (DTOR_LIST_BEGIN): Likewise.
2277 (DTOR_LIST_END): Likewise.
2278 (SET_ASM_OP): Likewise.
2279 (ASM_OUTPUT_SOURCE_LINE): Likewise.
2280 (ASM_OUTPUT_DEF): Likewise.
2281 (ASM_OUTPUT_IDENT): Likewise.
2283 * config/mips/mips.h (ASM_SPEC): Undefine before define.
2284 (CPLUSPLUS_CPP_SPEC): Likewise.
2285 (ASM_APP_ON) Redefine only if not defined.
2286 (ASM_APP_OFF): Likewise.
2287 (ASM_OUTPUT_SOURCE_LINE): Likewise.
2288 (ASM_OUTPUT_IDENT): Likewise.
2290 * config.gcc: Update tm_file for Linux/mips.
2292 2001-08-08 Bernd Schmidt <bernds@redhat.com>
2294 * cselib.c (cselib_record_sets): If insn is predicated, turn
2295 sources into IF_THEN_ELSEs.
2297 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
2298 Turn into define_insn_and_split.
2300 * sched-deps.c: Include "cselib.h".
2301 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
2302 Use cselib to turn memory addresses into VALUEs.
2303 (sched_analyze): Call cselib_init/cselib_finish if necessary.
2304 * sched-int.h (struct sched_info): New member USE_CSELIB.
2305 * sched-ebb.c (ebb_sched_info): Initialize it.
2306 * sched-rgn.c (rgn_sched_info): Likewise.
2307 * Makefile.in (sched-deps.o): Update dependencies.
2309 * cselib.h (cselib_subst_to_values): Declare.
2310 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
2311 that have no value and autoincs to be handled by generating a new
2314 2001-08-08 Graham Stott <grahams@redhat.com>
2316 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
2317 within fixed length SEQUENCE.
2319 2001-08-08 Graham Stott <grahams@redhat.com>
2321 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
2322 (diagnostic_prefixing_rule): Likewise.
2323 (diagnostic_line_cutoff): Likewise.
2324 (diagnostic_kind_count): Likewise.
2326 2001-08-08 Graham Stott <grahams@redhat.com>
2328 * alias.c (find_base_decl): Delete redundent assignment.
2330 2001-08-08 Graham Stott <grahams@redhat.com>
2332 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
2333 (abs): Uppercase and paranthesize macro parameter.
2334 (MEM_DEPENDENCY): Add whitespace.
2336 2001-08-08 Graham Stott <grahams@redhat.com>
2338 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
2339 failure check for CONST_INT
2341 2001-08-08 Graham Stott <grahams@redhat.com>
2343 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
2344 (libcall_dead_p): Likewise.
2346 (mark_used_regs): Constify fmt.
2347 (find_use_as_address): Likewise.
2349 2001-08-08 Graham Stott <grahams@redhat.com>
2351 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
2354 2001-08-08 Graham Stott <grahams@redhat.com>
2356 * combine.c (combine_simplify_rtx): Update comment and
2357 remove erroneous test.
2359 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
2361 * cppinit.c (cpp_finish): Pop the final buffer without comment.
2362 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
2363 take care to avoid multiple no-newline at EOF warnings in that
2366 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
2368 * calls.c (expand_call): Do not emit INSN_SETJMP note.
2369 (emit_library_call_value_1): Likewise.
2370 (emit_call_1): Emit REG_SETJMP note.
2371 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
2373 * cselib.c (cselib_process_insn): Likewise.
2374 * flow.c (propagate_block): Likewise.
2375 * loop.c (find_and_verify_loops): Likewise.
2376 * reload.c (find_equiv_regs): Likewise.
2377 * reload1.c (reload): Likewise.
2378 * resource.c (mark_referenced_resources,
2379 mark_set_resources): Likewise.
2380 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
2381 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
2382 * haifa-sched.c (unlink_other_notes): Likewise.
2383 (reemit_notes): Likewise.
2384 * sched-ebb.c (sched_ebb): Likewise.
2385 * sched-rgc.c (sched_region): Likewise.
2386 * rtl.c (note_insn_name): Likewise.
2387 (reg_note_name): Add REG_SETJMP
2388 * rtl.h (reg_note): Add REG_SETJMP.
2389 (insn_note): Remove NOTE_INSN_SETJMP.
2391 * profile.c (branch_prob): Add fake edges for setjmp.
2393 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
2395 * config.gcc: Quote target_cpu_default2 correctly for
2396 powerpc*-*-* targets.
2398 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
2400 * cpplib.h, line-map.h: Update comments.
2401 * cppmain.c (printer_init): Move inline.
2402 (maybe_print_line, print_line): Take a map pointer.
2403 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
2404 (cb_file_change): Don't use prior value of print.map.
2406 2001-08-07 David Edelsohn <edelsohn@gnu.org>
2408 * doc/install.texi: Document fine-grained multilib configuration.
2410 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
2412 * rtlanal.c (find_first_parameter_load): Call note_stores
2413 only on the instructions.
2415 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
2417 * alias.c (nonlocal_mentioned_p):
2418 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
2419 * calls.c (emit_call_1): Likewise.
2420 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
2421 * cselib.c (cselib_process_insn): Likewise.
2422 * df.c (df_insns_modify): Likewise.
2423 * flow.c (need_fake_edge_p): Likewise.
2424 (propagate_one_insn): Likewise.
2425 * haifa-sched.c (reemit_notes): Likewise.
2426 * integrate.c (copy_insn_list): Likewise.
2427 * jump.c (delete_prior_computation): Likewise.
2428 * local-alloc.c (validate_equiv_mem): Likewise.
2429 * loop.c (scan_loop): Likewise.
2430 * predict.c (estimate_probability): Likewise.
2431 * reload.c (reload): Likewise.
2432 * sched-deps (sched_analyze): Likewise.
2433 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
2434 * gcse.c (compute_hash_table): Likewise.
2435 (mark_call): Likewise.
2436 (store_killed_in_insn): Likewise.
2438 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
2440 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
2442 2001-08-06 Richard Henderson <rth@redhat.com>
2444 * varasm.c (assemble_gc_entry): Remove.
2445 * output.h: Likewise.
2447 2001-08-06 Richard Henderson <rth@redhat.com>
2449 * varasm.c (assemble_constructor): Take a symbol_ref and a
2450 priority instead of a bare string. Move priority handling
2451 here from cp/decl2.c.
2452 * output.h: Update decls.
2454 * c-decl.c (c_expand_body): Update calls to assemble_constructor
2455 and assemble_destructor.
2456 * profile.c (output_func_start_profiler): Likewise.
2457 * objc/objc-act.c (finish_objc): Likewise.
2458 (build_module_descriptor): Return the symbol not the symbol name.
2460 2001-08-06 David Edelsohn <edelsohn@gnu.org>
2462 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
2463 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
2464 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
2465 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
2466 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
2467 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
2469 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
2471 * cpperror.c (print_containing_files): Moved to line-map.c.
2472 (print_location): line-map.c handles re-listing or otherwise.
2473 * cpphash.h (struct lexer_state): Remove next_bol.
2474 (struct cpp_buffer): Remove include_stack_listed.
2475 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
2476 Remove faked buffer handling.
2477 (_cpp_do_file_change): Tweak.
2478 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
2479 * cppmain.c (struct printer): Remove filename.
2480 (print_line, cb_file_change): Update accordingly.
2481 * line-map.c: Include intl.h.
2482 (init_line_maps): Initialize last_listed.
2483 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
2484 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
2485 (print_containing_files): New.
2486 * line-map.h (struct line_maps): New member last_listed.
2487 (print_containing_files, INCLUDED_FROM): New.
2488 * Makefile.in: Update.
2489 * po/POTFILES.in: Add line-map.c.
2491 2001-08-06 Richard Henderson <rth@redhat.com>
2493 * except.c (convert_from_eh_region_ranges_1): Never mark
2494 USE or CLOBBER insns as throwing.
2496 * expr.c (store_constructor): Don't clobber memory targets.
2498 2001-08-06 Andreas Jaeger <aj@suse.de>
2500 * profile.c (branch_prob): Remove unused variable insn.
2502 * Makefile.in (local-alloc.o): Add dependency on except.h.
2504 * local-alloc.c: Include except.h for can_throw_internal prototype.
2506 2001-08-06 Richard Henderson <rth@redhat.com>
2508 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
2509 * function.c (expand_main_function): Implement it.
2510 * doc/tm.texi: Document it.
2512 2001-08-06 Stan Shebs <shebs@apple.com>
2514 * doc/install.texi: Document powerpc-*-darwin* details.
2516 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
2518 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
2519 (ASM_CPU_SPEC): Move back to rs6000.h
2520 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
2522 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
2524 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
2527 * config/rs6000/linux64.h: Ditto.
2529 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
2530 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
2533 Remove accidently readded definitions of FUNCTION_PROLOGUE,
2534 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
2536 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
2539 2001-08-05 Richard Henderson <rth@redhat.com>
2541 * local-alloc.c (update_equiv_regs): Do not move insns that
2544 2001-08-05 Jan Hubicka <jh@suse.cz>
2546 * Makefile.in (reload1.o): Add dedendancy on except.h
2547 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
2549 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
2550 indicating wehther edges has been cleaned up.
2551 * reload1.c: Inlucde except.h
2552 (fixup_abnormal_edges): Accept deleted insns.
2553 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
2556 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
2558 * cpplib.c (do_line): Correct line number after pop_buffer.
2560 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
2562 PR preprocessor/3824
2563 * line-map.c: Update comments.
2564 * line-map.h: Update comments.
2565 * tradcif.y: Don't consider large numbers unsigned.
2567 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
2569 PR preprocessor/3081
2570 * c-lex.c (map): New.
2571 (cb_file_change): Update map and use it.
2572 (cb_def_pragma, cb_define, cb_undef): Use map and line.
2573 (c_lex): Update to use map.
2574 * cpperror.c (print_location): Move to using logical line numbers.
2575 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
2576 (cpp_make_system_header): Similarly.
2577 (_cpp_execute_include): Stop line numbering hacks. Store the
2578 line we will return to.
2579 * cpphash.h (CPP_BUF_LINE): Remove.
2580 (struct cpp_buffer): Remove lineno and pseudo_newlines.
2581 Add map and return_to_line.
2582 (_cpp_do_file_change): Update.
2583 * cppinit.c (cpp_start_read): Update line kludge.
2584 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
2585 (trigraph_ok): Use logical line numbers for diagnostics.
2586 (skip_block_comment): Likewise.
2587 (skip_whitespace): Likewise.
2588 (skip_line_comment): Use pfile->line instead.
2589 (_cpp_lex_token): Update to use logical line numbering exclusively.
2590 Handle BOL locally. Accept new lines in directives, but keep
2591 pfile->line decremented. Diagnostics use logical lines. Update
2593 * cpplib.c (SEEN_EOL): New.
2594 (skip_rest_of_line, check_eol): Use it.
2595 (end_directive): Increase line number when accepting the newline
2596 at the end of a directive.
2597 (run_directive): Simplify.
2598 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
2599 (_cpp_do_file_change): Update to take buffer line number as an
2600 argument, and store the current map in the cpp_reader. Remove
2601 line number kludges.
2602 (_cpp_do__Pragma): Restore output position after a _Pragma.
2603 (cpp_push_buffer): Don't set output line or lineno.
2604 (_cpp_pop_buffer): Transfer more info from a faked buffer.
2605 Remove line kludge. Set output_line.
2606 * cppmacro.c (builtin_macro): Update handling of __LINE__.
2607 (parse_arg): Use logical lines.
2608 (save_lookahead_token): Save EOFs too now.
2609 * cppmain.c (struct printer): Fix comments.
2610 (printer_init): Simplify, let caller do errors.
2611 (scan_translation_unit, check_multiline_token, dump_macro): Update.
2612 (maybe_print_line): Simplify.
2613 (print_line): Don't print a linemarker if -P.
2614 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
2615 (cb_file_change): Simplify.
2616 * line-map.h (LAST_SOURCE_LINE): Fix.
2617 (CURRENT_LINE_MAP): New.
2619 2001-08-05 Bernd Schmidt <bernds@redhat.com>
2621 * doloop.c (doloop_modify_runtime): Properly compute number of
2622 iterations if loop was unrolled.
2624 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
2625 if their CSELIB_VAL_PTRs are.
2627 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
2628 (setup_spill_pointers): Initialize it.
2629 (spill_restore_mem): Set it.
2630 (do_spill, do_restore): Use it to add REG_INC note.
2631 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
2633 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
2634 asms if other insns are available.
2636 * config/ia64/ia64.c (condop_operator): New predicate.
2637 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
2638 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
2641 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
2642 temporary register than directly using a MEM.
2644 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
2646 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
2647 parameter in last change.
2649 2001-08-04 Zack Weinberg <zackw@panix.com>
2651 * sparc.md: Don't use #if inside C test expression.
2653 2001-08-04 Richard Henderson <rth@redhat.com>
2655 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
2657 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
2659 * cpphash.h (struct cpp_reader): New member directive_line.
2660 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
2661 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
2662 do_pragma): Pass line to callbacks.
2663 (start_directive): Record line of directive.
2664 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
2665 cb_include): Similarly.
2666 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
2669 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
2671 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
2674 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
2676 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
2678 * reload1.c (fixup_abnormal_edges): New static function.
2681 * flow.c (need_fake_edge_p): New function.
2682 (flow_call_edges_add): Fix handling of noreturn and sibbling calls;
2683 avoid call insn to be very last insn in the insn stream.
2685 * profile.c (branch_prob): Call flow_call_edges_add instead of
2686 doing that by hand; cleanup cfg to re-merge basic blocks once
2689 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2691 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
2692 are also on line-map.h.
2693 * cppfiles.c (stack_include_file): Update.
2694 * cpphash.h (struct cpp_buffer): New member return_at_eof.
2695 (_cpp_pop_buffer): New.
2696 * cppinit.c (cpp_destroy, cpp_finish): Update.
2697 (do_includes): Mark each buffer to return at EOF.
2698 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
2699 return as requested.
2700 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
2701 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
2702 * cpplib.h (cpp_pop_buffer): Remove.
2703 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
2704 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
2706 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
2708 (do_preprocessing): Update.
2709 * fix-header.c (read_scan_file): Update. No need to pop buffers.
2710 * c-parse.in (_yylex): Similarly.
2711 * scan-decls.c (scan_decls): Similarly.
2712 * line-map.h: Update comments.
2714 * objc/Make-lang.in (objc-act.o): Update dependencies.
2716 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2718 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
2719 and soft register for operand 0.
2720 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
2722 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2724 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
2725 register for operand 0.
2726 ("bitcmpqi_z_used"): Allow memory for operand 0.
2727 (split "bitcmpqi"): New split to handle address reg as operand 1.
2729 2001-08-04 Andreas Jaeger <aj@suse.de>
2731 * gcse.c: Revert Daniel's last patch.
2733 2001-08-03 Zack Weinberg <zackw@stanford.edu>
2735 * sparc-protos.h: Add prototypes for fp_zero_operand and
2737 * sh-protos.h: Add prototype for fpul_operand.
2739 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
2741 * doc/extend.texi (Other Builtins): Fix typo in last change.
2743 2001-08-03 Richard Henderson <rth@redhat.com>
2745 * target.h (gcc_target): Add asm_out.named_section,
2746 section_type_flags, have_named_sections.
2747 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
2748 (TARGET_HAVE_NAMED_SECTIONS): New.
2749 (TARGET_SECTION_TYPE_FLAGS): New.
2751 * Makefile.in (toplev.o): Depend on TARGET_H.
2752 (varasm.o, dbxout.o): Likewise.
2753 * c-common.c (decl_attributes): Check targetm.have_named_sections
2754 instead of ifdef ASM_OUTPUT_SECTION_NAME.
2755 * dbxout.c (dbxout_function_decl): Likewise.
2756 (dbxout_function_end): Likewise.
2757 * toplev.c (compile_file): Likewise.
2758 * varasm.c (exception_section): Likewise.
2759 * cp/decl2.c (finish_objects): Likewise.
2761 * defaults.h (EH_FRAME_SECTION): Remove.
2762 (EH_FRAME_SECTION_ASM_OP): Remove.
2763 (EH_FRAME_SECTION_NAME): New.
2764 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
2765 (UNIQUE_SECTION_P): Remove.
2766 * dwarf2out.c (SECTION_FORMAT): Remove.
2767 (ASM_OUTPUT_SECTION): Remove.
2768 (output_call_frame_info): Use named_section_flags.
2769 (output_comp_unit, dwarf2out_start_source_file): Likewise.
2770 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
2771 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
2772 * varasm.c (in_eh_frame, eh_frame_section): Remove.
2773 (named_section_flags): New.
2774 (named_section): Use it and targetm.section_type_flags.
2775 (resolve_unique_section): New.
2776 (assemble_start_function): Use it.
2777 (asm_emit_uninitialised, assemble_variable): Likewise.
2778 (default_section_type_flags): New.
2779 (default_no_named_section, default_elf_asm_named_section): New.
2780 (default_coff_asm_named_section, default_pe_asm_named_section): New.
2781 * output.h: Update varasm.c decls.
2782 (SECTION_*): New flags.
2784 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
2785 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
2787 * config/elfos.h (UNIQUE_SECTION_P): Remove.
2788 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
2789 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
2790 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
2791 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
2792 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
2793 * config/mips/elf.h, config/mips/elf64.h: Likewise.
2794 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
2795 * config/pa/pa64-hpux.h,
2797 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
2798 (TARGET_ASM_NAMED_SECTION): New.
2799 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
2800 * config/alpha/vms.h, config/arm/coff.h: Likewise.
2801 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
2802 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
2803 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
2804 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
2805 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
2806 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
2807 * config/i386/sco5.h, config/i386/win32.h: Likewise.
2808 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
2809 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
2810 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
2811 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
2812 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
2813 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
2814 * config/sparc/sysv4.h: Likewise.
2816 * config/nextstep.h: Error until named sections implemented.
2818 * config/a29k/a29k.c (a29k_asm_named_section): New.
2819 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
2820 (vms_section_type_flags, vms_asm_named_section): New.
2821 * config/arm/arm.c (arm_elf_asm_named_section): New.
2822 * config/avr/avr.c (asm_output_section_name): Remove.
2823 * config/avr/avr-protos.h: Update.
2824 * config/c4x/c4x.c (c4x_asm_named_section): New.
2825 * config/h8300/h8300.c (h8300_asm_named_section): New.
2826 * config/i386/i386.c (sco_asm_named_section): New.
2827 * config/i386/winnt.c (SECTION_PE_SHARED): New.
2828 (i386_pe_section_type_flags): New.
2829 (i386_pe_asm_named_section): New.
2830 * config/i386/i386-protos.h: Update.
2831 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
2832 * config/mcore/mcore.c (mcore_asm_named_section): New.
2833 * config/mips/mips.c (iris6_asm_named_section): New.
2834 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
2835 instead of UNIQUE_SECTION_P.
2836 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
2837 (xcoff_asm_named_section): New.
2838 * config/sh/sh.c (sh_asm_named_section): New.
2839 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
2841 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
2842 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
2843 (EH_FRAME_SECTION_NAME): New.
2844 (EXCEPTION_SECTION): New.
2845 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
2846 (DEBUG_*_SECTION): Remove.
2847 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
2848 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
2849 (EH_FRAME_SECTION_ASM_OP): Remove.
2851 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
2852 (ASM_OUTPUT_SECTION_NAME): Remove.
2853 (TARGET_ASM_NAMED_SECTION): New.
2854 (TARGET_HAVE_NAMED_SECTIONS): New.
2855 (TARGET_SECTION_TYPE_FLAGS): New.
2856 (EH_FRAME_SECTION_ASM_OP): Remove.
2857 (EH_FRAME_SECTION_NAME): New.
2859 2001-08-03 Zack Weinberg <zackw@stanford.edu>
2861 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
2862 for complex expressions when cfun == 0.
2863 * doc/extend.texi: Document that __builtin_constant_p can be
2864 used in data initializers as well as functions.
2866 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
2868 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
2869 variable I locally, instead of expecting a declaration in the
2872 2001-08-03 Richard Henderson <rth@redhat.com>
2874 * except.c (collect_one_action_chain): Add an explicit cleanup
2875 action if regions surrounding a catch were encoded entirely
2876 within the call-site entry.
2878 2001-08-03 Richard Henderson <rth@redhat.com>
2880 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
2881 don't take REGNO of a non-register.
2883 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2885 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
2886 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
2887 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
2888 (__gthread_mutex_init_function): New function for mutex initialization.
2890 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
2892 * Makefile.in: Revert screwed up commit.
2894 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2896 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
2897 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
2898 merged by linker script to get a final _exit().
2899 (__do_global_dtors): New for destructor handling in specific exit
2901 (__do_global_ctors): New for constructors in specific install section.
2902 (__map_data_section): Map data sections before running constructors.
2903 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
2904 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
2905 (DTORS_SECTION_ASM_OP): Likewise.
2906 (CTORS_SECTION_FUNCTION): Define to force a reference to
2908 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
2910 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
2912 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
2914 * Makefile.in: Add df.h to gcse.c dependencies.
2916 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2918 * varasm.c (output_constant_def_contents): Use for the length of a
2919 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
2920 depending on which is larger.
2922 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
2924 * gcse.c: Include df.h for use as a dataflow analyzer.
2926 Declaration of reg_set_info: gone.
2927 New df_analyzer variable used by store motion.
2928 (reg_set_info): Deleted.
2929 (mark_mem_regs): New function, analyze regs used by a mem.
2930 (store_ops_ok): Use dataflow analyzer results to determine if
2931 necessary regs are changed in the block.
2932 (find_moveable_store): Remove check for symbol ref, we can handle
2933 much more complex expressions now.
2934 (compute_store_table): Remove most of the code, it's unnecessary
2935 now that the dataflow analyzer records the info for us.
2936 (store_killed_after): Add parameter to say whether to do the
2937 store_ops_okay test, used to speed up testing when we already know
2938 the answer, and just want to know if the store itself was killed.
2939 (build_store_vector): Largely rewritten to calculate the various
2940 vectors properly, and somewhat optimized.
2941 (store_motion): Init the df_analyzer, get REG_DEF chains.
2942 Also handle trapping expressions (since mems almost always trap)
2943 (simple_mem): Redefine what a simple mem is.
2945 2001-08-03 DJ Delorie <dj@redhat.com>
2947 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
2948 set from a constant part of the condition.
2950 2001-08-01 Andrew Cagney <ac131313@redhat.com>
2952 * mkdeps.c (deps_add_default_target): Make local variable
2953 ``start'' a const char pointer.
2954 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
2956 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2958 * doc/install.texi (Configuration): Fix markup.
2959 (Specific, i?86-*-udk): Likewise.
2960 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
2962 Document --enable-threads and --enable-libgcj status.
2963 (Specific, mips-sgi-irix*): Canonicalize triples.
2964 (Specific, mips-sgi-irix5): Warn about problems with this config.
2965 Mention required GNU as patch.
2966 Native assembler problems are fixed.
2967 (Specific, mips-sgi-irix6): Update O32 ABI support status.
2968 Document --enable-threads and --enable-libgcj status.
2970 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
2972 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
2975 2001-08-03 Richard Henderson <rth@redhat.com>
2977 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
2980 2001-08-03 Richard Henderson <rth@redhat.com>
2982 * rtlanal.c (find_first_parameter_load): Stop if we
2983 reach a CODE_LABEL at BOUNDARY.
2985 2001-08-03 Richard Henderson <rth@redhat.com>
2987 * config/alpha/alpha.md (force_movdi): New insn.
2988 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
2989 Tweek FRP marking of VMS prologue insns.
2990 * config/alpha/vms.h (EPILOGUE_USES): New.
2992 2001-08-02 Richard Henderson <rth@redhat.com>
2994 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
2996 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
2998 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
2999 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
3000 config/convex/convex.h, config/d30v/d30v.c,
3001 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3002 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
3003 config/mips/mips.h, config/mn10200/mn10200.h,
3004 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
3005 config/v850/v850.h, config/vax/openbsd.h,
3006 config/vax/openbsd1.h, config/vax/ultrix.h,
3007 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
3008 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
3009 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
3010 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
3011 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
3012 in comments and documentation.
3014 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3018 * Makefile.in (line-map.o): New.
3019 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
3020 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
3021 * cpperror.c (print_containing_files): Similarly.
3022 (print_location): Update. Don't output a space before _Pragma.
3023 * cppfiles.c (stack_include_file): Set to line 1 immediately.
3024 (stack_include_filee, cpp_make_system_header): Update.
3025 (_cpp_execute_include): Get logical line number right for calling
3026 as-yet-unterminated #include.
3027 * cpphash.h (struct cpp_reader): Add line_maps.
3028 (_cpp_do_file_change): Update.
3029 * cppinit.c (cpp_create_reader): Initialize line maps.
3030 (cpp_destroy): Destroy line maps.
3031 (cpp_start_read): Get logical line number right.
3032 * cpplex.c (parse_string): Only warn once for multi-line strings.
3033 Use boolean variable for null warning.
3034 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
3036 (do_include_common): End the directive early.
3037 (do_line): Don't warn about out-of-range lines in preprocessed
3038 source. Update. Remove unused variables.
3039 (_cpp_do_file_change): Update for new line mapping.
3040 (pragma_cb): New typedef.
3041 (cpp_register_pragma): Stop looking ahead before calling the
3043 (do_pragma_system_header): End directive early.
3044 (cpp_get_line_maps): New.
3045 (cpp_pop_buffer): Fudge logical line. Update.
3046 * cpplib.h: Include line-map.h
3047 (enum cpp_fc_reason): Remove.
3048 (struct cpp_file_change): Update.
3049 (cpp_get_line_maps): New.
3050 * cppmain.c (struct_printer): New member map.
3051 (cb_file_change): Update for new mappings.
3052 * fix-header.c (cb_file_change): Similarly.
3054 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
3056 * Makefile.in (libgcc.mk): Define mkinstalldirs.
3057 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
3059 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
3061 * config/vax/vax.c: include expr.h.
3063 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
3065 * Makefile.in ($(srcdir)/configure): Only rebuild in
3067 ($(srcdir)/config.in): Only define in maintainer mode.
3068 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
3070 2001-08-02 David Edelsohn <edelsohn@gnu.org>
3072 * doc/install.texi (Install GCC: Binaries): Update Bull info.
3074 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3076 * gcc.c (set_collect_gcc_options): New function, split out from
3078 Ignore elided switches.
3079 (do_spec_1): Invoke before executing command.
3080 (set_input): Export.
3081 Move declaration ...
3082 * gcc.h (set_input): ... here.
3083 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
3086 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
3089 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
3091 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
3093 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
3095 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
3096 for the unnamed instructions it expands to.
3098 2001-08-02 Richard Henderson <rth@redhat.com>
3100 * regclass.c (call_really_used_regs): Conditionally define.
3101 (init_reg_sets_1): Don't use it if not defined.
3102 (fix_register): Similarly, don't set it.
3104 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3106 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
3107 Correct comment that had been missed in the previous change.
3109 2001-08-01 Stan Shebs <shebs@apple.com>
3111 * config/darwin.c (machopic_stub_name): Try matching by name.
3112 (update_stubs): New function.
3113 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
3116 2001-08-01 Richard Henderson <rth@redhat.com>
3118 * except.c (output_function_exception_table): Use assemble_align.
3119 * varasm.c (assemble_eh_label): Remove.
3120 (assemble_eh_align, assemble_eh_integer): Remove.
3122 2001-08-01 Robert Lipe <robertl@caldera.com>
3124 * dwarfout.c: Remove reference to README.DWARF.
3126 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
3128 * regclass.c (call_really_used_regs): New array for registers which
3129 are actually used by a call.
3130 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
3132 (fix_register): Set call_really_used too.
3133 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
3134 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
3136 2001-08-01 Richard Henderson <rth@redhat.com>
3138 * read-rtl.c (read_name): Consider \r whitespace.
3140 2001-07-11 Andrew Cagney <ac131313@redhat.com>
3142 * config.gcc: Recognize powerpc-*-netbsd*.
3144 * doc/install.texi (Host/target specific installation notes for
3145 GCC): Mention powerpc-*-netbsd*.
3147 * config/rs6000/netbsd.h: New file.
3148 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
3149 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
3150 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
3151 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
3152 (TARGET_VERSION): Redefine.
3154 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
3155 mcall-netbsd as a match for mcall-sysv.
3156 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
3157 (ncrti.S, ncrtn.S): New targets.
3158 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
3160 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
3161 "netbsd' as a V4 ABI.
3162 (ASM_SPEC): Check for -mcall-netbsd.
3163 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
3164 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
3165 (LIB_SPEC, ENDFILE_SPEC): Ditto.
3166 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
3167 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
3168 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
3169 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
3171 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
3172 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
3174 2001-08-01 Mark Kettenis <kettenis@gnu.org>
3176 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
3177 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
3178 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
3179 including "unwind-pe.h".
3181 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
3183 * rs6000.md (define_splits): Kill unused constraints.
3185 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
3186 Jan Hubicka <jh@suse.cz>
3188 * function.c (thread_prologue_and_epilogue_insns): Kill code
3189 dealing with non-existent CFG.
3191 2001-08-01 Kazu Hirata <kazu@hxi.com>
3193 * alias.c: Fix comment formatting.
3194 * bitmap.c: Likewise.
3195 * builtins.c: Likewise.
3196 * calls.c: Likewise.
3197 * c-common.c: Likewise.
3198 * c-decl.c: Likewise.
3199 * c-dump.c: Likewise.
3200 * c-lex.c: Likewise.
3201 * collect2.c: Likewise.
3202 * combine.c: Likewise.
3203 * conflict.c: Likewise.
3204 * cppfiles.c: Likewise.
3205 * cppinit.c: Likewise.
3206 * cpplex.c: Likewise.
3207 * cpplib.c: Likewise.
3208 * cppmacro.c: Likewise.
3209 * cppspec.c: Likewise.
3210 * c-pragma.c: Likewise.
3211 * crtstuff.c: Likewise.
3213 * cselib.c: Likewise.
3214 * c-semantics.c: Likewise.
3215 * c-typeck.c: Likewise.
3217 2001-08-01 H.J. Lu <hjl@gnu.org>
3219 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
3221 2001-08-01 H.J. Lu <hjl@gnu.org>
3223 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
3225 2001-08-01 Ziemowit Laski <zlaski@apple.com>
3227 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
3228 contextualizing Objective-C class name lookup by the lexer.
3229 (typespec_reserved_nonattr): Disable ObjC class name lookup after
3231 (protocoldef): Add support for forward @protocol declarations.
3232 (yylexname): Suppress ObjC class name lookup in certain contexts;
3233 re-enable after lookup is complete.
3234 (_yylex): Re-enable ObjC class name lookup when certain
3235 punctuation marks are seen.
3237 * objc/objc-act.c (check_protocol_recursively): New function used
3238 for finding circular dependencies in protocols.
3239 (objc_declare_protocols): New function for handling forward
3240 @protocol declarations.
3241 (receiver_is_class_object): Detect the case when 'self' is used
3242 inside of a class method.
3243 (build_message_expr): Issue a warning if class method is desired
3244 but instance method is found instead.
3245 (conforms_to_protocol): Streamline.
3246 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
3247 protocol Foo, even if 'Bar foo' does not.
3248 (check_protocols): Streamline.
3249 (start_protocol): Add checks for circular and duplicate protocol
3251 (encode_aggregate_within): For typedefs of structs, encode the
3253 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
3254 (objc_declare_protocols): New prototype.
3256 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3258 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
3259 * cpplex.c (handle_newline): Update prototype. Maintain logical
3261 (skip_escaped_newlines, skip_block_comment, parse_string):
3263 (_cpp_lex_token): Update, and store token position within the token.
3264 * cpplib.h (struct cpp_token): Add line and column entries.
3265 * cppmacro.c (replace_args): Position stringified tokens correctly.
3267 2001-08-01 Andreas Jaeger <aj@suse.de>
3269 * basic-block.h: Add prototype for last_loop_beg_note.
3271 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
3273 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
3274 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
3276 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
3277 while handling WITH_CLEANUP_EXPR node. Use second operand calling
3278 expand_decl_cleanup.
3279 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
3281 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
3282 operand while calling simple_cst_equal.
3283 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
3284 operand is the cleanup expression, the third is the RTL_EXPR.
3285 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
3287 2001-07-31 Jeff Sturm <jsturm@one-point.com>
3289 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
3291 2001-07-31 matthew green <mrg@eterna.com.au>
3293 * config.gcc (i386-*-netbsdelf): New description.
3294 * config/i386/netbsd-elf.h: New file.
3296 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
3298 * loop.c (check_dbra_loop): Use single_set to compute
3301 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
3303 PowerPC reorg and support for powerpc64-*-linux*.
3305 Also fixes emitting of constants on 32 bit and 64 bit
3308 * config.gcc: powerpc64-*-linux* is a new target.
3309 Things that needed aix.h now also include xcoff.h
3311 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
3313 Move AIX specific stuff into aix.h.
3314 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
3315 with more than just XCOFF now.
3316 (SET_ASM_OP): Remove, now defined where needed.
3317 (FUNCTION_PROLOGUE): New macro definition.
3318 (FUNCTION_EPILOGUE): New macro definition.
3319 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
3321 * config/rs6000/xcoff.h: New file.
3323 * config/rs6000/linux64.h: New file.
3325 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
3327 2001-07-31 Alan Modra <amodra@bigpond.net.au>
3329 * rs6000.c (print_operand_address): Handle ELF syntax.
3330 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
3331 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
3332 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
3334 2001-07-31 David Edelsohn <edelsohn@gnu.org>
3336 * rs6000.c (rs6000_override_options): Only disable
3337 flag_function_sections for XCOFF.
3338 (exact_log2_cint_operand): New predicate.
3339 (reg_or_{add,sub}_cint64_operand): New predicates.
3340 (add_operand): Compare CONST_INT with fewer function calls.
3341 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
3342 (print_operand, case 'p'): Ensure positive operand.
3343 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
3344 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
3345 (PREDICATE_CODES): Add new predicates.
3346 * rs6000.md (addsi3): Split 32-bit constants more correctly.
3347 (divsi3, modsi3): Ensure positive power-of-2.
3348 (adddi3): Use new predicate. Split 32-bit constants more
3349 correctly. Re-arrange splitter to handle any constant.
3350 (subdi3): Use new predicate.
3351 (divdi3, moddi3): Ensure positive power-of-2.
3352 (movdi): Use rs6000_emit_set_const.
3353 (load_toc_v4_pic_di): Delete.
3355 2001-07-31 Graham Stott <grahams@redhat.com>
3357 * function.c (pad_below): Revert 2001-07-26 patch.
3359 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
3361 * reg-stack (convert_regs_1): Fix best edge condition.
3363 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
3365 * jump.c (duplicate_loop_exit_test): Better test for jumps
3366 entering the loop; create loop pre_header.
3368 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
3370 * doc/install.texi: Add s390 and s390x as new targets.
3371 * doc/invoke.texi: Add documantation of S/390 and zSeries
3373 * doc/md.texi: Add documantation of S/390 and zSeries constraints.
3375 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
3377 * config/m68k/m68k.md: Replace all general_operand with
3378 nonimmediate_operand for all destinations.
3379 * config/m68k/m68k.c (not_sp_operand): Likewise.
3381 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
3383 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
3385 2001-07-30 Richard Henderson <rth@redhat.com>
3387 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
3388 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
3390 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
3392 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
3393 Add missing doc strings
3394 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
3395 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
3397 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
3399 * i386.c (ix86_output_main_function_alignment_hack): New function.
3400 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
3402 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
3403 edges by EDGE_DFS_BACK flag.
3404 (dump_edge_info): Add dfs_back flag.
3405 * basic-block.h (EDGE_DFS_BACK): New constant.
3406 (mark_dfs_back_edges): Declare.
3407 * alias.c (loop_p): Remove.
3408 (mark_constant_function): Use mark_dfs_back_edges.
3410 * reg-stack.c (block_info_def): Add predecesors counter and stack_out.
3411 (reg_to_stack): Call mark_dfs_back_edges; count the predecesors.
3412 (compensate_edge): Break out from ...
3413 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
3414 (convert_regs_2): Set block_done once block is really done;
3415 Do updating of the predecesors counts.
3417 * toplev.c (rest_of_compilation): Recompute block_for_insn
3418 before post-reload cfg_cleanup.
3419 * function.c (thread_prologue_epilogue_insns):
3420 Call set_block_for_new_insns when emitting prologue directly.
3422 2001-07-30 Andreas Jaeger <aj@suse.de>
3424 * jump.c: Add prototype for mark_modified_reg.
3426 * cse.c (set_live_p): Add unused attribute.
3428 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
3430 (scan_for_source_files): Use long for count to avoid overflow.
3431 (output_data): Likewise.
3432 (output_data): Don't use string concatatenation to silence gcc
3435 * predict.c: Fix typos and grammar.
3437 * gcse.c (insert_insn_end_bb): Remove unused variables.
3439 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
3441 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
3442 (attempt_auto_inc): LIkewise.
3443 (mark_used_reg): Likewise.
3444 (try_pre_increment_1): Likewise.
3445 * regclass.c (regclass): Likewise.
3446 * global.c (allocno_compare): Update comment; change scaling factor.
3447 * local-alloc.c (QTY_CMP_PRI): Likewise.
3448 * regs.h (REG_FREQ_FROM_BB): New.
3449 (REG_FREQ_MAX): Likewise.
3451 2001-07-30 H.J. Lu <hjl@gnu.org>
3453 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
3456 2001-07-30 H.J. Lu (hjl@gnu.org)
3458 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
3459 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
3460 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
3462 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
3464 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
3465 as -mthumb-interwork when -mcpu=arm7 is specified.
3467 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
3469 * predict.def (noreturn, loop branch, loop exit): Mark as first
3472 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
3474 * combine.c (try_combine): Avoid barrier after noop jumps.
3476 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3478 * cpphash.h (struct cpp_reader): Remove import_warning.
3479 * cpplib.c (skip_rest_of_line): Don't bother turning off
3481 (parse_include): Move include handling to...
3482 (do_include_common): ... here. Move import warning from...
3483 (do_import): ... here.
3484 (do_pragma_poison): Don't do a callback for poison identifiers.
3485 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
3486 * cppmain.c (setup_callbacks): Similarly.
3488 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
3490 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
3491 handle multiple sets.
3492 * except.c (sjlj_mark_call_sites): .... here.
3493 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
3495 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
3497 Suggested by Richard Henderson and Richard Kenner:
3498 * combine.c (recog_for_combine): Use the fake recog
3499 only if instruction does not match.
3500 * rtl.h (NOOP_MOVE_INSN_CODE): New.
3501 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
3503 * combine.c (try_combine): Discover noop jump as direct jump.
3505 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
3507 * df.c (df_rd_global_compute): Add successors to worklist, not
3509 (df_ru_global_compute): Ditto.
3511 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
3513 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
3514 increment REG_N_SETS.
3516 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
3518 * sbitmap.h: New prototype for sbitmap_a_xor_b.
3520 * sbitmap.c (sbitmap_a_xor_b): New function.
3521 ifdef the basic block stuff on IN_GCC.
3523 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3525 * cppexp.c (parse_defined): Always record the macro name.
3526 (lex): Don't worry about identifiers, or special-case
3528 (_cpp_parse_expr): Figure out at the end of the routine
3529 whether we saw a valid !defined() expression.
3530 * cppfiles.c (stack_include_file): Update for mi_valid.
3531 (_cpp_pop_file_buffer): Similarly.
3532 * cpplex.c (_cpp_lex_token): Similarly.
3533 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
3534 mi_if_not_defined, mi_lexed): Remove.
3536 * cpplib.c (do_if): Simplify.
3537 (do_endif, push_conditional, _cpp_handle_directive): Update
3538 for renaming of mi_state to mi_valid.
3540 * cpp.texi: Add index entries for digraphs, and add comment
3541 that C++ refers to them as alternative tokens.
3543 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
3545 * basic-block.h (CLEANUP_PRE_LOOP): New.
3546 * except.c (finish_eh_generation): Update call of cleanup_cfg.
3547 * sibcall.c (optimize_sibling_calls): Likewise.
3548 * toplev.c (rest_of_compilation): Likewise.
3549 * flow.c (try_forward_edges): Take argument MODE;
3550 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
3551 (try_optimize_cfg): Update call of try_forward_edges.
3553 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
3554 Jan Hubicka <jh@suse.cz>
3556 * (validate_replace_rtx_1): Fix simplification of MINUS.
3558 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
3560 PR preprocessor/3669
3561 * cppinit.c (init_dependency_output): Turn off dump requests
3562 if sending dependencies to stdout.
3564 2001-07-28 Richard Henderson <rth@redhat.com>
3566 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
3569 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
3571 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
3573 2001-07-28 Kazu Hirata <kazu@hxi.com>
3575 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
3576 is VAR_DECL first to prevent an ICE.
3578 2001-07-28 Richard Henderson <rth@redhat.com>
3580 * varasm.c (immed_real_const_1): Don't elide special cases for
3582 (clear_const_double_mem): Clear const_tiny_rtx too.
3584 2001-07-28 Richard Henderson <rth@redhat.com>
3586 * dwarf2out.c (dw_val_class_offset): New.
3587 (struct dw_ranges_struct, dw_ranges_ref): New.
3588 (ranges_table, ranges_table_allocated): New.
3589 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
3590 (add_AT_offset, add_ranges, output_ranges): New.
3591 (print_die, output_die): Handle dw_val_class_offset.
3592 (attr_checksum, size_of_die, value_format): Likewise.
3593 (gen_lexical_block_die): Handle non-contiguous blocks.
3594 (gen_block_die): Likewise.
3595 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
3596 if needed. Dump the ranges table.
3597 * final.c (final_start_function): Remove unnecessary notes and
3598 rebuild the block tree before numbering the blocks.
3599 * function.c (reorder_blocks_0): Walk the existing block tree
3600 to unmark all blocks.
3601 (reorder_blocks_1): Create block fragments when duplicate block
3603 (reorder_fix_fragments): New.
3604 (reorder_blocks): Call it.
3605 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
3607 2001-07-28 Richard Henderson <rth@redhat.com>
3609 * emit-rtl.c (adjust_address): Make a copy of the memory address.
3611 2001-07-28 Richard Henderson <rth@redhat.com>
3613 * flow.c (add_to_mem_set_list): New function.
3614 (init_propagate_block_info): Use it.
3615 (mark_set_1): Likewise.
3616 (insn_dead_p): Canonicalize memory address for dead store
3617 comparison. Allow wider mode stores to kill narrower mode stores.
3618 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
3619 (invalidate_mems_from_set): Don't handle MEMs.
3621 2001-07-28 Kazu Hirata <kazu@hxi.com>
3623 * config/h8300/h8300.h: Fix formatting.
3625 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
3627 * basic-block.h (EDGE_FREQUENCY): New macro.
3628 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
3630 * flow.c (find_sub_basic_blocks): Likewise.
3631 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
3632 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
3634 * predict.c (DEF_PREDICTOR): New argument FLAGS.
3635 (HITRATE): New macro.
3636 (PRED_FLAG_FIRST_MATCH): New constant.
3637 (predictor_info): New field flgags.
3638 (combine_predictions_for_insn): Use DS theory to combine
3639 probabilities; set the edge probabilities when finished.
3640 (estimate_probability): Avoid duplicated matches
3641 of LOOP_BRANCH heuristics for nested loops; update comment.
3642 * predict.def: Add flags for each prediction, set probabilities
3643 according to B&L paper.
3644 * predict.h (DEF_PREDICTOR): New argument FLAGS.
3646 * profile.c (compute_branch_probabilities): Cleanup way the edge
3647 probabilities are computed and REG_BR_PROB notes are dropped; if
3648 values does not match, emit error.
3649 (init_branch_prob): Do error instead of warning when profile driven
3650 feedback is missing or corrupt.
3652 2001-07-27 DJ Delorie <dj@redhat.com>
3654 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
3655 against a constant, try to adjust the compare to have the desired
3656 constant in it so that min/max optimizations happen more often.
3658 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
3660 * flow.c (last_loop_beg_note): New function.
3661 (redirect_edge_and_branch): Use it.
3662 (split_edge): Likewise.
3664 * alias.c (loop_p): Avoid uninitialized memory access.
3666 * flow.c (try_forward_edges): Avoid accessing freed memory.
3668 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
3671 2001-07-26 Andrew Haley <aph@redhat.com>
3672 Joern Rennecke <amylaar@redhat.com>
3674 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
3675 (SUBTARGET_CPP_ENDIAN_SPEC): New.
3676 (SUBTARGET_CPP_SPEC): New.
3678 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
3679 (SUBTARGET_CPP_PTR_SPEC): New.
3680 (CPP_DEFAULT_CPU_SPEC): New.
3681 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
3682 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
3683 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
3684 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
3685 (SUBTARGET_CPP_SPEC): Define as an empty string.
3687 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3689 * doc/install.texi (Configuration): Properly link the host
3690 specific instructions also when generating HTML.
3692 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
3694 * flow.c (redirect_edge_and_branch_force): Test
3695 target->global_live_at_start.
3697 2001-07-26 Richard Henderson <rth@redhat.com>
3699 * simplify-rtx.c (avoid_constant_pool_reference): Export.
3700 * rtl.h (avoid_constant_pool_reference): Declare it.
3701 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
3702 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
3704 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
3706 * rtl.h (cleanup_barriers): Declare.
3707 * jump.c (cleanup_barriers): New function.
3708 * toplev.c (rest_of_compilation): Call cleanup_barriers
3709 before loop optimizer and after bb_reorder.
3711 * flow.c (back_edge_of_syntactic_loop_p): New.
3712 (split_edge): Use it.
3714 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3716 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
3718 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
3720 * cse.c (cse_process_notes): Replace any registers if the address
3723 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
3725 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
3726 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
3727 (propagate_block): Update prototype.
3728 * flow.c (update_life_info): Simplify the CFG and
3729 recalculate the global regs which are alive when
3730 removing dead code during a global update.
3731 (propagate_block): Return non-zero if an INSN is
3734 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3736 * Makefile.in (LIBICONV): Define.
3738 2001-07-26 Catherine Moore <clm@redhat.com>
3740 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
3741 of conditional to avoid tree checking errors.
3743 2001-07-26 Kazu Hirata <kazu@hxi.com>
3745 * regmove.c (regmove_optimize): Don't replace a reg with
3746 another reg of a different mode.
3748 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
3750 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
3751 limit length of dependancy flush list.
3752 * params.h (MAX_PENDING_LIST_LENGTH): Define.
3753 * sched-int.h (struct deps): Add pending_flush_length field.
3754 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
3755 has 1 element in it.
3756 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
3757 (sched_analyze): After a jump, if the pending memory flush list is too
3758 large, flush the pending lists.
3759 (init_deps): Initialize pending_flush_length to 0.
3760 * doc/invoke.texi (max_pending_list_length): Document parameter.
3762 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
3764 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
3765 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
3766 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
3768 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3770 * cpphash.h (struct_lexer_state): Delete was_skipping.
3771 Move skipping here from struct cpp_reader.
3772 * cpplex.c (parse_identifier): Update.
3773 (_cpp_lex_token): Don't skip tokens in a directive.
3774 * cpplib.c (struct if_stack): Update.
3775 (start_directive, end_directive): Don't change skipping state.
3776 (_cpp_handle_directive): Update.
3777 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
3778 (do_else, do_endif): Update; only check for excess tokens if not
3779 in a skipped conditional block.
3780 (push_conditional): Update for new struct if_stack.
3782 2001-07-26 Graham Stott <grahams@redhat.com>
3784 * function.c (locate_and_pad_parm): Also pad initial offset
3785 so that the total argument size also includes the padding.
3787 2001-07-26 Graham Stott <grahams@redhat.com>
3789 * gensupport.c (alter_output_for_insn): Correct enable checking failure
3790 change XSTR to XTMPL.
3792 (process_one_cond_exec): Likewise
3794 2001-07-25 Richard Henderson <rth@redhat.com>
3796 * varasm.c (assemble_variable): Create DECL_RTL before setting
3799 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
3801 * predict.c (estimate_probability): Avoid duplicated predictions.
3803 * loop.c (find_and_verify_loops): Grok multiple barriers.
3805 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3807 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
3809 * dbxout.c: Consistently use putc instead of fputc.
3810 (print_wide_int): New function; call instead of direct fprintf.
3811 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
3812 (dbxout_type_fields, dbxout_type_method_1): Likewise.
3813 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
3814 (print_int_cst_octal): Likewise.
3815 (print_octal): Show we wrote characters.
3816 (dbxout_type): Set have_used_extensions in more places.
3818 2001-07-25 Catherine Moore <clm@redhat.com>
3820 * config/v850/v850.c (v850_va_arg): Use addr
3821 instead of valist to build incr.
3823 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
3825 * flow.c (delete_dead_jumptables): New function.
3826 (life_analyzis): Call it.
3827 * bb-reorder.c (skip_insns_after_block): Handle contradictory
3830 2001-07-25 Richard Henderson <rth@redhat.com>
3832 * except.c (reachable_handlers): Handle a region being removed
3833 out from under a RESX.
3835 2001-07-25 Richard Henderson <rth@redhat.com>
3837 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
3838 swap GE/GT if it is an fp comparison.
3840 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
3842 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
3845 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
3847 * ssa.c (rename_insn_1): Do not wrap an assignment to a
3848 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
3851 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
3853 (visit_expression): When attempting to simplify an expression,
3854 retrieve any modes for arguments before they are simplified
3857 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
3858 Janis Johnson <janis@us.ibm.com>
3860 * stmt.c (expand_goto): A nonlocal goto can be a call too.
3861 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
3862 pointer parameters to match documented usage of nonlocal_goto.
3863 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
3864 parameters to their correct order.
3865 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
3866 parameters to their correct order.
3868 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
3870 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
3872 2001-07-25 Jan Hubicka <jh@suse.cz>
3873 Richard Henderson <rth@redhat.com>
3875 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
3877 (make_edges): New argument update_p; populate the edge cache if set.
3878 (find_basic_blocks): Update make_edges invocation.
3880 2001-07-24 Joel Sherrill <joel@OARcorp.com>
3882 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
3884 2001-07-24 Joel Sherrill <joel@OARcorp.com>
3886 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
3887 -Acpu and -Amachine.h.
3888 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
3889 Corrected header to say ELF not a.out.
3890 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
3891 when given -msoft-float.
3893 2001-07-24 Joel Sherrill <joel@OARcorp.com>
3895 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
3896 extra multilib parts like arm-elf.
3897 (i960-*-coff*, i960-*-rtems): Should not use collect2.
3898 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
3899 crtfini.o as extra multilib parts.
3901 2001-07-24 Joel Sherrill <joel@OARcorp.com>
3903 * configure.in: Add rtems as a supported thread model.
3904 * gthr-rtems.h: Add missing entry point __gthread_active_p.
3905 * configure: Rebuilt.
3907 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
3909 * stor-layout.c (get_mode_alignment): make it work when
3910 BITS_PER_UNIT is not a power of two.
3911 * builtins.c (get_pointer_alignment): Likewise.
3913 2001-07-24 Richard Henderson <rth@redhat.com>
3915 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
3916 the retrieved constant into the expected mode.
3918 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
3920 * flow.c (try_simplify_condjump): Avoid duplicated edges.
3921 (verify_flow_info): Check for duplicated edges; clarify
3924 * flow.c (block_label): Update basic_block_for_insn.
3925 (commit_edge_insertions): Call compute_bb_for_insn.
3927 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
3930 * flow.c (redirect_edge_and_branch,
3931 try_optimize_cfg): Use redirect_edge_succ_nodup
3932 (redirect_edge_succ_nodup): New.
3933 * basic_block.h (redirect_edge_succ_nodup): Declare.
3935 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
3938 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
3940 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
3941 (try_crossjump_to_edge): Update commetns.
3942 (try_crossjump_bb): Likewise.
3944 2001-07-24 Richard Henderson <rth@redhat.com>
3946 * combine.c (distribute_notes): Move set of need_refresh
3947 for noop_move_p down to catch all cases.
3949 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
3951 * recog.c (split_all_insns_noflow): New.
3952 * rtl.h (split_all_insns_noflow): Declare.
3953 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
3954 * m68hc11.c (m68hc11_reorg): Likewise.
3955 * sh.c (machine_dependent_reorg): Likewise.
3956 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
3959 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
3961 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
3962 (ashlsi3_n splitter): Likewise.
3963 (lshrsi3_n splitter): Likewise.
3965 (GOTaddr2picreg): Make const SImode.
3966 (sym_label2reg): Likewise.
3967 (symGOT2reg): Likewise.
3968 (symGOTOFF2reg) Likewise.
3970 (casesi_worker_0): Make unspec SImode.
3972 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
3974 * config/sh/sh.c (barrier_align): Check that an operand really is
3975 an insn before extracting its INSN_CODE.
3977 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
3979 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
3982 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
3983 for SImode to prevent overflow.
3985 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3987 * config/mips/irix6-libc-compat.c: New file.
3988 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
3989 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
3992 2001-07-24 lars brinkhoff <lars@nocrew.org>
3994 * rtl.texi (REG_POINTER): Document.
3995 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
3996 QFmode, HFmode, TQFmode, QCmode, and HCmode.
3998 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
4000 * flow.c (delete_noop_moves): Do not confuse libcall regions.
4002 2001-07-23 Richard Henderson <rth@redhat.com>
4004 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
4006 2001-07-23 Kazu Hirata <kazu@hxi.com>
4008 * config/h8300/h8300-protos.h: Add a prototype for
4009 general_operand_dst_push.
4010 * config/h8300/h8300.c (general_operand_dst_push): New.
4011 * config/h8300/h8300.h (OK_FOR_T): New.
4012 (EXTRA_CONSTRAINT): Use it.
4013 * config/h8300/h8300.md (movqi_push): Remove and integrate into
4014 the existing movqi pattern.
4015 (movhi_push): Likewise.
4017 * reload.c: Fix comment typos.
4019 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
4021 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
4023 2001-07-23 H.J. Lu (hjl@gnu.org)
4025 * doc/extend.texi: Update __builtin_return_address and
4026 __builtin_frame_address.
4028 2001-07-23 Richard Henderson <rth@redhat.com>
4030 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
4032 * config/i386/i386.md: New setcc+movzbl peephole2.
4034 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4036 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
4037 * objc/objc-act.c: Include debug.h.
4038 (synth_module_prologue): Save and restore debug hooks too.
4040 2001-07-23 lars brinkhoff <lars@nocrew.org>
4042 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
4043 and C4X_FLOAT_FORMAT.
4044 (BOOL_TYPE_SIZE): Document.
4046 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
4048 * unroll.c (loop_iterations): Fix miscalculation of initial
4051 2001-07-13 Andrew Haley <aph@redhat.com>
4053 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
4054 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
4055 * config/sh/sh.c (sh_can_redirect_branch): New function.
4056 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
4057 * reorg.c (steal_delay_list_from_target): Use
4058 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
4060 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
4062 * flow.c (try_simplify_condjump): Unlink insn chain on
4063 fallthru edge; use can_fallthru.
4065 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
4067 * basic-block.h (find_sub_basic_block): Declare.
4068 * flow.c (make_edges): New arguments MIN and MAX;
4069 (find_sub_basic_blocks): Revamp to use make_edges
4070 and purge_dead_edges.
4071 (find_basic_blocks): Update call of find_sub_basic_block.
4073 * recog.c (split_all_insns): Always expect CFG to be consistent;
4074 call find_sub_basic_blocks in case something has changed.
4075 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
4078 * basic-block.h (delete_noop_moves): Declare.
4079 * combine.c (combine_instructions): Call it.
4080 (recog_for_combine): Tolerate noop moves
4081 (distribute_notes): Force refresh when register dies at noop move.
4082 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
4084 (life_analysis): Update delete_noop_moves call.
4085 (set_noop_p): Move too ...
4086 * rtlanal.c (noop_move_p): ... here.
4087 * rtl.h (noop_move_p): Declare.
4089 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
4090 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
4092 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
4093 (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded.
4095 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
4097 * reload.c (push_reload): Fix typo in comment.
4098 (find_reloads_address): Ditto.
4099 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
4101 2001-07-22 Richard Henderson <rth@redhat.com>
4103 * flow.c: Grammar check and clarify a lot of comments.
4104 (try_simplify_condjump): Rename variables to be clearer.
4105 (try_forward_edges): Skip complex and fallthru edges.
4106 Rearrange tests to avoid duplicate checks.
4107 (flow_find_cross_jump): Likewise.
4108 (outgoing_edges_match): Allow match if neither branch has
4109 probability data. Loosen probability match to 5%.
4110 (try_crossjump_to_edge): Hoist repeated indirection into
4112 (try_crossjump_bb): Don't check complex edges. Eliminate
4113 redundant crossjump tests.
4114 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
4115 checks before more expensive checks.
4117 2001-07-22 Richard Henderson <rth@redhat.com>
4119 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
4120 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
4123 2001-07-22 Richard Henderson <rth@redhat.com>
4125 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
4126 (const_sint32_operand): Likewise.
4127 * m68k.md (anon mulsi pattern): Use const_int_operand not
4128 const_sint32_operand.
4129 (umulsi3_highpart): Zero extend a constant input.
4130 (smulsi3_highpart): Don't bother checking SImode constant.
4131 (const_umulsi3_highpart): Give op3 DImode.
4132 (const_smulsi3_highpart): Likewise.
4134 2001-07-22 Richard Henderson <rth@redhat.com>
4136 * flow.c (split_block): Make sure bb_note is included in the
4137 new block when splitting before a label.
4139 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
4141 * basic-block.h (redirect_edge_and_branch_force,
4142 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
4143 * flow.c (redirect_edge_and_branch_force,
4144 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
4145 (redirect_edge_and_branch_force): Fix copying of lifeness information.
4146 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
4147 * ifcvt.c (dead_or_predictable): Take BB as an new destionation
4148 instead of label; update CFG after transformation.
4149 (find_if_case_1): Update call, use redirect_edge_and_branch_force
4150 for finishing the transformation; handle even case where ELSE
4151 does not follow THEN.
4152 (find_if_case_2): Update call of dead_or_predictable; simplify
4155 * emit-rtl.c (split_branch_probability): New global variable.
4156 (try_split): Take care to set split_branch_probability and
4157 create REG_BR_PROB note for new jump insns.
4158 * md.texi (define_split): Document new feature.
4160 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
4162 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
4164 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
4165 (asm_out_file): Remove redundant declaration.
4166 (assemble_asm): Remove old #if 0 block.
4167 (assemble_variable): Remove end of function; debug output is
4168 now handled with global_decl. Remove old #if 0 block. Update.
4169 Remove saved_in_section and associated no-op code.
4170 * Makefile.in (varasm.o): Correct dependencies.
4172 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
4174 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
4175 the definition in defaults.h.
4177 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
4179 * jump.c: Update comments.
4180 (delete_barrier_successors, delete_unreferenced_labels,
4181 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
4182 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
4183 jump_optimize, jump_optimize_minimal): Kill.
4184 (rebuild_jump_labels): Move code from jump_optimize_1.
4185 (purge_line_number_notes): Likewise.
4186 (copy_loop_headers): Likewise.
4187 * reg-stack.c: Update comment.
4189 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
4190 JUMP_AFTER_REGSCAN): Kill.
4191 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
4192 purge_line_number_notes and copy_loop_headers.
4194 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
4195 Richard Henderson <rth@redhat.com>
4197 * dbxout.c (dbxout_global_decl): New.
4198 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
4199 * sdbout.c (sdbout_finish): New.
4200 (sdbout_debug_hooks): Use it, add comments.
4201 (sdbout_global_decl): Defer initialised public vars to
4203 * varasm.c (assemble_variable): Don't output debug information
4204 for file-scope variables.
4206 2001-07-22 Richard Henderson <rth@redhat.com>
4208 * config/alpha/alpha.c (get_trap_mode_suffix): New.
4209 (get_round_mode_suffix): New.
4210 (print_operand): Use them for [/]. Remove support for [&'`()+].
4211 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
4212 * config/alpha/alpha.md (attr round_suffix): New.
4213 (attr trap_suffix): New.
4214 (all insns): Set them appropriately. Use %/ instead of the
4217 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4219 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
4221 2001-07-22 Richard Henderson <rth@redhat.com>
4223 * regrename.c (regrename_optimize): Compute nregs for each
4224 potential target register.
4226 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
4227 Richard Henderson <rth@redhat.com>
4229 * dbxout.c (dbxout_global_decl): New.
4230 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
4231 * sdbout.c (sdbout_finish): New.
4232 (sdbout_debug_hooks): Use it, add comments.
4233 (sdbout_global_decl): Defer initialised public vars to
4235 * varasm.c (assemble_variable): Don't output debug information
4236 for file-scope variables.
4238 2001-07-21 H.J. Lu (hjl@gnu.org)
4240 * config/mips/mips.c (mips_cpu): Moved into ...
4241 (override_options): Here.
4243 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
4245 (mips_cpu): Removed.
4247 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4249 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
4250 ("iorqi3"): Likewise.
4251 ("xorqi3"): Likewise.
4252 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
4253 ("*subhi3_sp): Likewise.
4254 ("*subhi3"): Likewise.
4255 ("extendhisi2"): Accept D, X and Y as source operand to avoid
4258 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
4260 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
4261 * config/freebsd.h: Likewise.
4262 * config/linux.h: Likewise.
4263 * config/openbsd.h: Likewise.
4264 * config/alpha/linux-elf.h: Likewise.
4265 * config/arm/linux-elf.h: Likewise.
4266 * config/d30v/d30v.h: Likewise.
4267 * config/fr30/fr30.h: Likewise.
4268 * config/ia64/aix.h: Likewise.
4269 * config/ia64/ia64.h: Likewise.
4270 * config/mips/linux.h: Likewise.
4271 * config/pj/pj.h: Likewise.
4272 * config/rs6000/linux.h: Likewise.
4273 * config/sparc/linux.h: Likewise.
4274 * config/sparc/linux64.h: Likewise.
4276 2001-07-20 Bruce Korb <bkorb@gnu.org>
4278 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
4279 because getc() and char* may disagree on signedness.
4281 2001-07-20 Richard Henderson <rth@redhat.com>
4283 * doc/rtl.texi (REG_DEAD): Update for current semantics.
4285 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
4286 insns to delete in the presence of cc0 in a jump insn.
4288 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
4289 Jan Hubicka <jh@suse.cz>
4291 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
4292 of doing the change by hand.
4294 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
4296 * rtlanal.c (set_noop_p): Return true for noop jumps.
4298 * expr.c (emit_single_push_insn): Add call to push expander.
4299 * expr.h (optab_index): Add OTI_push
4300 (push_optab): New constant.
4301 * genopinit.c (optabs): Add push_optab.
4302 * optabs.c (init_optab): Init push optab.
4303 * md.texi (push??1): Document
4305 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4307 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
4308 expand to emit the pattern; put a REG_INC note for push/pop
4310 ("movdf", "movdf_internal"): Likewise.
4311 ("movsi", "movsi_internal"): Likewise.
4312 ("movsf", "movsf_internal"): Likewise.
4313 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
4315 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4317 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
4320 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
4322 * params.def: Change default max inline insns to 100.
4324 2001-07-20 Diego Novillo <dnovillo@redhat.com>
4326 * combine.c (combine_simplify_rtx): Generate a new shift operation
4327 when simplifying the first operand of a (neg (ashift)) expression.
4329 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4331 * regclass.c (N_REG_INTS): Use only 32 bits per element.
4333 2001-07-20 Kelley Cook <kelley.cook@home.com>
4335 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
4336 information. Move rest into ...
4337 (*-*-solaris): ... here. Eliminate redundant information and
4338 reword necessary packages section. Delete 4.x assembler bug info.
4339 (sparc-sun-*): Merge into ...
4340 (sparc-sun-sunos*): here.
4342 2001-07-20 Catherine Moore <clm@redhat.com>
4344 * config/v850/v850.md (casesi): Generate LABEL_REF
4347 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
4349 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
4350 * i386.c (ix86_zero_extend_to_Pmode): Make global.
4351 * i386.md (strclrsi expander): Use it.
4353 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
4355 * integrate.c (copy_insn_list): handle
4356 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
4357 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
4358 identically as to CODE_LABEL.
4360 * fold-const (fold): Convert A/B/C to A/(B*C) and
4363 * except.c (connect_post_landing_pads): Delete the RESX insns.
4365 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
4367 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
4369 * config/mips/mips.md (nmadd/nmsub): Use macro.
4371 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
4373 * cppinit.c (remove_dup_dir): Make static.
4374 (remove_dup_dirs): Make static. Only warn about preempting a
4375 system directory with a non-system directory.
4377 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
4379 * ifcvt.c (noce_try_store_flag_constants): Correct order
4380 of parameters to trunc_int_for_mode.
4382 2001-07-19 Mark Mitchell <mark@codesourcery.com>
4384 * reorg.c (fill_simple_delay_slots): If an instruction might throw
4385 an exception that will be caught within this function, do not fill
4386 its delay slot with any subsequent instruction.
4388 2001-07-19 Steve Ellcey <sje@cup.hp.com>
4390 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
4391 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
4392 pointer extension instruction.
4393 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
4394 * simplify-rtx.c (simplify_unary_operation) Likewise.
4395 * explow.c (convert_memory_address) Check value of
4396 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
4398 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
4399 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
4400 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
4401 Add Multilib Support.
4402 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
4403 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
4404 Add Multilib Support.
4405 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
4407 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
4408 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
4409 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
4411 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
4413 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
4414 old and new operands in `<', `3' and `b'.
4416 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
4418 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
4419 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
4420 (toplev.o): Don't depend on xcoffout.h.
4421 * c-decl.c: Include debug.h
4422 (duplicate_decls): Use debug hook.
4423 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
4424 (dbx_debug_hooks, xcoff_debug_hooks): Update.
4425 (dbxout_types): Remove.
4426 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
4427 * debug.c (do_nothing_debug_hooks): Update.
4428 (debug_true_tree, debug_nothing_rtx): New.
4429 * debug.h (struct rtx_def): New.
4430 (struct gcc_debug_hooks): New hooks ignore_block,
4431 outlining_inline_function and label.
4432 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
4433 dwarf2out_frame_finish): New.
4434 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
4435 Make static, update prototype.
4436 (dwarf2_debug_hooks): Update.
4437 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
4438 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
4439 * dwarfout.c (dwarf_debug_hooks): Update.
4440 * emit-rtl.c: Include debug.h.
4441 (remove_unnecessary_notes): Use debug hook.
4442 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
4443 (final_scan_insn): Use debug hook.
4444 * integrate.c (output_inline_function): Use debug hook.
4445 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
4446 (sdb_debug_hooks): Update.
4447 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
4448 * toplev.c: Don't include xcoffout.h.
4449 (note_outlining_of_inline_function, debug_ignore_block): Remove.
4450 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
4452 * tree.h (dwarf2out_do_frame): Remove.
4454 2001-07-19 Catherine Moore <clm@cygnus.com>
4456 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
4458 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
4460 * reload1.c (eliminate_regs_in_insn): When updating a set
4461 to the frame pointer to the hardware frame pointer, perform
4462 the update always not just when REPLACE is set.
4464 * reload1.c (choose_reload_regs): Don't inherit a reload
4465 that crosses multiple registers if registers past the first
4466 don't fit in the desired class.
4468 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
4469 when negating constants.
4471 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
4473 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
4474 * doc/tree.texi: Ditto.
4476 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
4477 Jakub Jelinek <jakub@redhat.com>
4479 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
4480 (extract_cie_info): Handle "eh" augmentation properly,
4482 (struct frame_state, __frame_state_for): New.
4484 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4486 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
4487 HANDLE_SYSV_PRAGMA): Define.
4488 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
4490 (copy_object): Caller changed.
4492 2001-07-19 Andreas Schwab <schwab@suse.de>
4494 * configure.in (assembler dwarf2 debug_line support): Define nop
4496 * configure: Regenerated.
4498 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
4500 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
4502 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
4503 to conditionally compiled block.
4504 (dbx_debug_hooks, xcoff_debug_hooks): Update.
4505 * dbxout.h (dbxout_function): Remove.
4506 * debug.c (do_nothing_debug_hooks): Update.
4507 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
4508 global_decl, deferred_inline_function.
4509 * dwarf2out.c (dwarf2_debug_hooks): Update.
4510 (dwarf2out_global_decl): New.
4511 * dwarfout.c: Don't include dwarfout.h.
4512 (dwarfout_global_decl, dwarfout_function_decl,
4513 dwarfout_deferred_inline_function): New.
4514 (dwarf_debug_hooks): Update.
4515 * dwarfout.h: Remove.
4516 * final.c: Don't include dwarfout.h.
4517 * sdbout.c (sdbout_global_decl): New.
4518 (sdbout_debug_hooks): Update.
4519 * toplev.c: Don't include dwarfout.h.
4520 (check_global_declarations, rest_of_compilation): Use new debug hooks.
4521 (note_deferral_of_defined_inline_function): Remove.
4522 * toplev.h (note_deferral_of_defined_inline_function): Remove.
4523 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
4524 * ch/lex.c: Don't include dwarfout.h.
4525 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
4526 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
4527 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
4528 * cp/optimize.c: Include debug.h.
4529 (maybe_clone_body): Use debug hook.
4530 * cp/semantics.c: Include debug.h.
4531 (expand_body): Use debug hook.
4532 * po/POTFILES.in: Remove dwarfout.h.
4534 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
4536 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
4537 * c-parse.in (yyerror, _yylex): Similarly.
4538 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
4539 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
4541 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
4542 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
4544 2001-07-18 Jeff Sturm <jsturm@one-point.com>
4546 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
4547 in-class declaration at -g1. Fixes c++/2814.
4549 2001-07-18 Richard Henderson <rth@redhat.com>
4551 * doc/md.texi (reload_in/out): Document restrictions in predicates
4552 and constraints for these patterns. Document empty string matching
4555 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4557 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
4559 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
4561 * cse.c: Undo my previous patch.
4563 2001-07-18 Tom Tromey <tromey@redhat.com>
4566 * configure: Rebuilt.
4567 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
4569 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
4571 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
4572 Jan Hubicka <jh@suse.cz>
4574 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
4575 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
4576 * jump.c (mark_jump_label): Do not forward branches.
4578 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
4580 * cse.c (delete_trivially_dead_insns): Delete the libcall block
4581 when return value is unused.
4583 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
4585 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
4587 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
4589 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
4590 on error. We can't blindly return the result of
4591 pthread_mutex_trylock because it returns a positive number on
4592 error, while we must return -1 on error.
4593 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
4595 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
4597 2001-07-18 Andreas Jaeger <aj@suse.de>
4599 * integrate.c (output_inline_function): Correct type of debug_hooks.
4601 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
4603 * combine.c (combine_simplify_rtx): DIV can be treated
4604 associatively for floats if unsafe math optimisations are enabled.
4606 2001-07-17 Richard Henderson <rth@redhat.com>
4608 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
4610 2001-07-17 Richard Henderson <rth@redhat.com>
4612 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
4613 don't force the function address into a register.
4614 (expand_call, emit_library_call_value_1): Update callers.
4615 * builtins.c (expand_builtin_apply): Likewise.
4616 * expr.h (prepare_call_address): Update decl.
4618 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
4620 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
4622 * config/i386/chorus.h: Move up.
4623 * config/sparc/chorus.h: Likewise.
4624 * config/rs6000/chorus.h: Likewise.
4625 * config/chorus.h: Moved here.
4627 2001-07-17 Andreas Schwab <schwab@suse.de>
4629 * configure.in (assembler eh_frame optimization): Handle big
4631 * configure: Regenerated.
4633 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
4635 * expr.c (epxand_expr): Convert divisions into multiplications by
4636 reciprocals if -ffast-math.
4638 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
4640 * dbxout.c (dbxout_really_begin_function): Rename to
4641 dbxout_begin_function.
4642 (dbx_debug_hooks, xcoff_debug_hooks): Update.
4643 (dbxout_begin_function): Remove.
4644 (dbxout_function): Update.
4645 (dbxout_source_line): Update prototype.
4646 * dbxout.h (dbxout_begin_function): Remove.
4647 * debug.c (do_nothing_debug_hooks): Update.
4648 (debug_nothing_tree): Update.
4649 (debug_nothing_charstar_rtx): Remove.
4650 * debug.h (union tree_node): Declare.
4651 (struct rtx_def): Remove.
4652 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
4653 begin_function. Change source_line prototype.
4654 (debug_nothing_tree): New.
4655 (debug_nothing_charstar_rtx): Delete.
4656 (dwarf2out_begin_prologue): Moved from ...
4658 * dwarf2out.c (dwarf2_debug_hooks): Update.
4659 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
4660 debug info, call dwarf2out_source_line.
4661 (dwarf2out_souce_line): Update prototype.
4662 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
4663 Change prototype, make static.
4664 (dwarfout_source_line): Update prototype.
4665 (dwarf_debug_hooks): Update.
4666 * dwarfout.h (dwarfout_begin_function): Remove.
4667 * final.c (final_start_function, final_scan_insn): Use appropriate
4668 debug hooks, update to use notice_source_line.
4669 (output_source_line): Rename notice_source_line. Don't call the
4670 source_line debug hook.
4671 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
4672 make static, update prototype.
4673 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
4675 (sdbout_end_prologue): New.
4676 (sdbout_source_line): Update prototype.
4677 (sdbout_debug_hooks): Update.
4678 (sdbout_symbol): Remove unused var.
4679 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
4681 * varasm.c: Include debug.h.
4682 (assemble_start_function): Use begin_function debug_hook.
4683 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
4684 update with prototype.
4685 (xcoffout_source_line): Update prototype.
4686 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
4688 (xcoffout_source_line): Update prototype.
4690 2001-07-17 Richard Henderson <rth@redhat.com>
4692 * c-typeck.c (build_binary_op): Do not shorten unsigned
4693 right shift after sign extension.
4695 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
4697 * combine.c (combine_simplify_rtx): Attempt to simplify
4698 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
4700 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
4701 (simplify_binary_operation, simplify_unary_operation,
4702 simplify_relational_operation): Use it.
4704 * combine.c (combine_simplify_rtx): Don't do associative law
4705 on divisions; allow associative law on floats.
4707 2001-07-17 H.J. Lu <hjl@gnu.org>
4708 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4710 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
4711 ASM_OUTPUT_WEAK_ALIAS are defined.
4712 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
4713 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
4715 * config/mips/iris5.h: ... here.
4716 (HANDLE_SYSV_PRAGMA): Defined as 1.
4717 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
4718 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
4721 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
4723 * c-parse.in (all_prefix_attributes): New variable.
4724 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
4725 (maybe_resetattrs): New production.
4726 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
4727 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
4728 notype_initdcl, nested_function, notype_nested_function,
4729 component_decl, components, components_notype,
4730 component_declarator, component_notype_declarator,
4731 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
4732 ivars, mydecl, myparm): Update. Avoid prefix attributes just
4733 after a comma being applied to more than one declarator.
4734 * doc/extend.texi (Attribute Syntax): Update. Remove
4735 documentation of bugs that are no longer present.
4737 2001-07-13 Eric Christopher <echristo@redhat.com>
4739 * config/mips/mips.h: Change TUNE_MIPS* options to use
4741 (EXTRA_SPECS): Add cc1_cpu_spec.
4742 * config/mips/mips.md (muldf3): Fix typo.
4744 2001-07-16 Richard Henderson <rth@redhat.com>
4746 * config/m68k/m68k.c: Include expr.h and reload.h.
4747 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
4748 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
4750 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
4751 Richard Henderson <rth@redhat.com>
4753 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
4754 (insn_live_p): Fix fall off end of function.
4755 (dead_libcall_p): Remove COUNTS argument; update callers.
4756 (delete_trivially_dead_insns): Remove unused variables.
4758 2001-07-17 Andreas Jaeger <aj@suse.de>
4760 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
4763 * lcm.c (optimize_mode_switching): Avoid warning for unused
4764 variable if !NORMAL_MODE.
4766 * flow.c (try_crossjump_to_edge): Remove unused variable.
4768 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4770 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
4771 atexit declaration in stdlib.h.
4773 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
4775 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
4777 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
4779 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
4780 * except.c (finish_eh_generation): Update call of cleanup_cfg;
4781 do rebuild_jump_labels instead of jump_optimize
4782 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
4783 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
4784 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
4786 * flow.c: Include timevar.h
4787 (find_basic_block): Push/pop timevar;
4788 (cleanup_cfg): Likewise.
4789 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
4790 * Makefile: Add dependencies on timevar.h
4792 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
4793 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
4795 * rtl.h (delete_trivially_dead_insns): Add new parameter.
4796 * toplev.c (rest_of_compilation): Update calls.
4797 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
4798 (delete_trivially_dead_insns): ... here; accept new argument
4799 preserve_basic_blocks; preserve basic blocks if set.
4801 * reg-stack.c (stack_regs_mentioned): Return 0 if
4802 stack_regs_mentioned_data is not initialized.
4803 (reg_to_stack): Make stack_regs_mentioned survive after the
4804 reg-stack is completted; do not call cleanup_cfg.
4805 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
4806 make cleanup_cfg after bb-reorder to output to debug file.
4808 2001-07-16 Richard Henderson <rth@redhat.com>
4810 * regclass.c (init_reg_sets): Use only 32 bits per initializer
4811 from int_reg_class_contents.
4813 2001-07-16 Richard Henderson <rth@redhat.com>
4815 * hard-reg-set.h (regs_invalidated_by_call): Declare.
4816 * regclass.c (regs_invalidated_by_call): Move from cse.c.
4817 (init_reg_sets_1): Move initialization from cse_main.
4818 * cse.c (regs_invalidated_by_call): Move to regclass.c.
4819 (cse_main): Move its initialization also.
4820 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
4821 * flow.c (propagate_one_insn): Likewise.
4822 * gcse.c (compute_hash_table): Likewise.
4823 (compute_kill_rd, compute_store_table): Likewise.
4824 * sched-deps.c (sched_analyze_1): Likewise.
4826 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
4828 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
4831 2001-07-16 Steve Ellcey <sje@cup.hp.com>
4833 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
4834 in if statement so we don't access undefined memory.
4836 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
4838 * gcse.c: Update comment at top.
4839 Update comment on mem handling.
4840 mem_last_set, mem_first_set, mem_set_in_block: gone.
4841 Declaration of reg_set_info: gone.
4842 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
4843 pointless with load_killed_in_block_p (they are *more*
4844 conservative then it, not less, and less accurate).
4845 (oprs_not_set_p): Ditto.
4846 (alloc_gcse_mem): Don't allocate mem_set_in_block
4847 (free_gcse_mem): Don't free it, either.
4848 (record_last_mem_set_info): Update comment in front, remove
4849 mem_*set_* stuff. Note the reason we don't handle stores directly
4851 (compute_hash_table): Update comments to reflect reality. Remove
4852 mem_*set_* references.
4853 (reset_opr_set_tables): Remove mem_*set_* references.
4855 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
4856 (mark_clobber): Ditto (on both parts, we double set here too).
4857 (expr_killed_p): Remove mem_set_in_block test.
4858 (compute_transp): Remove mem_set_in_block test.
4860 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
4861 of edge, and removal of phi alternative to dump file.
4862 (ssa_ccp_substitute_constants): Add note about register now being
4863 constant, and which uses were replaced in what insns to dump file.
4865 2001-07-16 Andreas Jaeger <aj@suse.de>
4867 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
4868 variables of type HOST_WIDEST_INT.
4870 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
4871 (__bb_exit_func): Correct type of count_max to avoid overflow.
4872 (num_digits): Handle long long argument.
4874 * combine.c (gen_lowpart_for_combine): Remove unused variable.
4876 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4878 * output.h (sdb_begin_function_line): Restore as an extern
4880 * sdbout.c (sdb_begin_function_line): Make extern.
4882 2001-07-15 Richard Henderson <rth@redhat.com>
4884 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
4885 * genrecog.c (maybe_both_true_mode): New.
4886 (maybe_both_true_2): Use it.
4887 (write_switch): Don't put Pmode in a switch.
4888 * rtl.c (mode arrays): Don't explicitly size them.
4890 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
4892 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
4893 handling; move unconditional splitting before mode switching.
4895 * i386.md (type): Add fistp type.
4896 (i387, length_attr, scheduling definitions): Handle this type.
4897 (fix_trunc?f?i2): Revamp to use mode switching.
4898 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
4899 * i386.h (fp_cw_mode): New enum
4900 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
4901 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
4903 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4905 * Makefile.in (integrate.o): Add debug.h.
4906 * integrate.c (debug.h): Add.
4907 (output_inline_function): Save, reset, and restore debug_hooks.
4909 2001-07-15 Richard Henderson <rth@redhat.com>
4911 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
4912 instead of COMPARE for the EQUIV expression.
4914 2001-07-15 Richard Henderson <rth@redhat.com>
4916 * flow.c (redirect_edge_and_branch_force): Initialize
4917 global_live_at_start and global_live_at_end.
4918 (allocate_bb_life_data): Export.
4919 * basic-block.h (allocate_bb_life_data): Declare.
4920 * toplev.c (rest_of_compilation): Call it.
4922 2001-07-15 Richard Henderson <rth@redhat.com>
4924 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
4925 (alpha_tablejump_best_label): New.
4926 * config/alpha/alpha-protos.h: Declare them.
4927 * config/alpha/alpha.md: Use braced strings for code blocks.
4928 (tablejump_osf): Break out add with r29.
4929 (tablejump_osf_internal): Remove.
4930 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
4931 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
4933 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
4935 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
4938 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
4940 * i386-protos.h (ix86_split_fp_branch): Update prototype.
4941 (ix86_fp_jump_nontrivial_p): New.
4942 * i386.md (fp_jcc_?): Update call of split_fp_branch;
4943 use ix86_fp_jump_nontrivial_p.
4944 * i386.c (ix86_fp_jump_nontrivial_p): New.
4945 (ix86_split_fp_branch): Accept code instead of rtx.
4946 (ix86_expand_compare): Expand comparison early in case
4947 doing so is resonably cheap.
4949 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
4951 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
4953 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
4954 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
4956 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
4958 * dbxout.c (dbxout_source_line): Make static, update prototype.
4959 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
4960 (dbxout_init, dbxout_finish, dbxout_source_line,
4961 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
4962 * dbxout.h (dbxout_source_line): Delete.
4963 * debug.c (debug_nothing_file, debug_nothing_file_int,
4964 debug_nothing_file_charstar_rtx): New.
4965 (do_nothing_debug_hooks): Update.
4966 (debug_nothing_void, debug_nothing_charstar_rtx,
4967 dwarf2out_end_epilogue): New.
4968 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
4969 * debug.h (struct rtx_def): Declare.
4970 (gcc_debug_hooks): New hooks source_line, end_epilogue
4972 (debug_nothing_void, debug_nothing_charstar_rtx,
4973 dwarf2out_end_epilogue): New.
4974 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
4975 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
4976 (dwarf2_debug_hooks): Update.
4977 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
4978 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
4979 * dwarf2out.h (dwarf2out_source_line): Remove.
4980 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
4981 Make static, update prototype.
4982 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
4983 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
4984 (dwarf_debug_hooks): Update.
4985 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
4986 dwarfout_end_function): Remove.
4987 * final.c (profile_function): Use debug hooks for ending functions
4989 (output_source_line, final_end_function): Update prototype,
4991 (final_start_function, final_scan_insn): Update.
4992 * output.h (sdb_begin_function_line): Remove.
4993 (final_end_function): Update prototype.
4994 * sdbout.c (sdb_begin_function_line): Make static.
4995 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
4996 (sdbout_source_line): New.
4997 (sdbout_end_epilogue, sdbout_end_function): Make static, update
4999 (sdb_debug_hooks): Update.
5000 (sdbout_init, sdbout_source_line,
5001 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
5002 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
5003 * toplev.c (compile_file, rest_of_compilation): Update.
5004 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
5005 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
5006 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
5007 Update for prototype changes.
5008 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
5009 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
5011 2001-07-15 Richard Henderson <rth@redhat.com>
5013 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
5014 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
5015 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
5016 * config/alpha/alpha.c: Likewise.
5017 * config/alpha/alpha.md: Likewise.
5018 * config/alpha/alpha32.h: Likewise.
5019 * config/alpha/vms.h: Likewise.
5022 2001-07-14 Richard Henderson <rth@redhat.com>
5024 * config/alpha/alpha.md: Use define_constants for unspec values.
5025 Substitute throughout.
5027 2001-07-14 Tim Josling <tej@melbpc.org.au>
5029 * tree.def (EXPON_EXPR) remove. Never supported anyway.
5031 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
5033 * pa.md: Remove unused constraints from define_split's.
5035 2001-04-14 Richard Henderson <rth@redhat.com>
5037 * ifcvt.c (find_cond_trap): Test for exit block.
5039 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
5041 Re-install recently reverted patch.
5042 * emit-rtl.c (try_split): Update mark_jump_label call.
5043 * flow.c (find_sub_basic_blocks): Likewise.
5044 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
5046 (mark_all_labels): Kill second parameter.
5047 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
5048 (rebuild_jump_labels, jump_optimize_minimal): Update call
5050 (jump_optimize_1): Kill crossjumping code.
5051 (mark_jump_label): Kill cross_jump parameter.
5052 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
5053 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
5054 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
5056 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
5058 (dump_file_info): Likewise.
5059 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
5060 reorganize passes to do reg-stack first, bb-reorder second.
5061 * invoke.texi (-d letters doc): Remove the jump2 pass.
5063 2001-07-14 Richard Henderson <rth@redhat.com>
5065 * ifcvt.c (find_cond_trap): New.
5066 (find_if_header): Call it.
5067 (merge_if_block): Relax existing jump sanity check.
5068 * jump.c (jump_optimize_1): Remove conditional trap handling.
5070 2001-07-14 Alan Modra <amodra@bigpond.net.au>
5072 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
5074 (insn_refs_are_delayed): Correct comment.
5075 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
5076 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
5077 instead of r31. Make associated insn !TARGET_64BIT, and
5078 provide an additional 64-bit insn that clobbers r2.
5080 (udivsi3): Likewise.
5082 (umodsi3): Likewise.
5084 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
5086 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
5088 * flow.c (redirect_edge_and_branch_force, split_edge,
5089 try_crossjump_to_edge): Use set_block_for_new_insns.
5090 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
5092 2001-07-13 H.J. Lu (hjl@gnu.org)
5094 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
5097 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
5099 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
5101 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
5103 * c-common.c (decl_attributes): Take a pointer to the node to
5104 which attributes are to be attached, and a flags argument.
5105 * c-common.h (enum attribute_flags): New.
5106 (decl_attributes): Update prototype.
5107 * c-decl.c (start_decl, push_parm_decl, finish_struct,
5108 finish_enum, start_function): Update calls to decl_attributes.
5109 * c-parse.in (component_declarator, component_notype_declarator,
5110 label): Update calls to decl_attributes.
5112 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
5114 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
5115 * config/avr/avr.c (legitimate_address_p): Return value changed
5116 from letter to register classes. For better debugging.
5118 2001-07-13 Kazu Hirata <kazu@hxi.com>
5120 * jump.c (reversed_comparison_code_parts): Fix comment typos.
5122 2001-07-13 H.J. Lu (hjl@gnu.org)
5124 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
5126 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
5128 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
5129 correctly for shared configurations.
5130 * config/t-libgcc-pic: New.
5131 * config/{i386,m68k,sparc}/t-openbsd: New.
5132 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
5133 Support -shared. Support debugging libraries with -g.
5134 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
5135 frame information does not emit pointer diffs.
5136 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
5139 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
5141 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
5143 2001-07-13 David Edelsohn <edelsohn@gnu.org>
5145 * combine.c (try_combine): Ensure const_int pow2 is positive.
5147 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
5149 * config.gcc: Add configuration for s/390.
5150 * config/s390/s390.c: New. Subroutines for code generation.
5151 * config/s390/s390.h: New. Definitions for s/390.
5152 * config/s390/s390-protos.h: New. Prototypes.
5153 * config/s390/linux.h: New. Definitions for linux for s/390.
5154 * config/s390/linux64.h: New. Definitions for linux for zSeries.
5155 * config/s390/t-linux: New. Makefile fragment.
5156 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
5157 * config/s390/fixdfdi.h: New. Fix L_fix*di.
5159 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
5161 * emit-rtl.c (try_split): Update mark_jump_label call.
5162 * flow.c (find_sub_basic_blocks): Likewise.
5163 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
5165 (mark_all_labels): Kill second parameter.
5166 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
5167 (rebuild_jump_labels, jump_optimize_minimal): Update call
5169 (jump_optimize_1): Kill crossjumping code.
5170 (mark_jump_label): Kill cross_jump parameter.
5171 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
5172 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
5173 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
5175 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
5177 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
5178 reorganize passes to do reg-stack first, bb-reorder second.
5179 * invoke.texi (-d letters doc): Remove the jump2 pass.
5181 2001-07-12 Steve Ellcey <sje@cup.hp.com>
5183 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
5185 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
5187 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
5189 (verify_flow_info): Make diagnostics prettier.
5191 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
5193 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
5195 * flow.c (outgoing_edges_match): Return early if condition reversal
5198 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
5200 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
5201 (mips_move_2words): When splitting a move into two instructions,
5202 prefix the second address operand with '%D'.
5204 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
5206 * Makefile.in (final.o): Depend on debug.h.
5207 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
5208 (dbx_debug_hooks): Add new hooks.
5209 (xcoff_debug_hooks): New.
5210 * debug.c (debug_nothing_file_int_int): New.
5211 (do_nothing_debug_hooks): Update.
5212 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
5213 (debug_nothing_file_int_int): New.
5214 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
5215 static, update prototype.
5216 (dwarf2_debug_hooks): Update.
5217 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
5218 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
5219 static, update prototype.
5220 (dwarf_debug_hooks): Update.
5221 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
5222 * final.c: Include debug.h.
5223 (final_scan_insn): Use debug hooks when beginning and ending blocks.
5224 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
5225 static, update prototype.
5226 (sdb_debug_hooks): Update.
5227 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
5228 * toplev.c: Distinguish between xcoff and dbx.
5230 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
5231 Call all debug hooks, not just dwarf ones.
5233 2001-07-11 Timothy Wall <twall@redhat.com>
5235 * config.gcc: Add configuration for AIX5/IA64.
5236 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
5237 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
5238 support prefix/suffix code.
5239 * config/ia64/t-aix: New. Makefile fragment.
5240 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
5242 2001-07-11 Kazu Hirata <kazu@hxi.com>
5244 * recog.c (validate_change): Fix a comment typo.
5246 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
5248 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
5249 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
5251 * dbxout.c (dbx_debug_hooks): Add new hooks.
5252 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
5254 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
5256 * dbxout.h (dbxout_start_new_source_file,
5257 dbxout_resume_previous_source_file): Delete.
5258 * debug.c (do_nothing_debug_hooks): Add new hooks.
5259 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
5260 (debug_nothing_int_charstar, debug_nothing_int): New.
5261 * debug.h (gcc_debug_hooks): New hooks define, undef,
5262 start_source_file and end_source_file.
5263 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
5264 (debug_nothing_int_charstar, debug_nothing_int): New.
5265 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
5266 the conditionally compiled section.
5267 (dwarf2out_start_source_file, dwarf2out_end_source_file,
5268 dwarf2out_define, dwarf2out_undef): Make static.
5269 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
5270 dwarf2out_define, dwarf2out_undef): Remove.
5271 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
5272 (dwarfout_start_source_file, dwarfout_end_source_file,
5273 dwarfout_define, dwarfout_undef): Make static.
5274 (dwarfout_start_source_file_check,
5275 dwarfout_end_source_file_check): New.
5276 (dwarfout_define, dwarfout_finish): Update.
5277 * dwarfout.h (dwarfout_start_new_source_file,
5278 dwarfout_resume_previous_source_file, dwarfout_define,
5279 dwarfout_undef): Remove.
5280 * sdbout.c (sdb_debug_hooks): Add new hooks.
5281 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
5283 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
5284 make static, take an arg.
5285 * sdbout.h (sdbout_start_new_source_file,
5286 sdbout_resume_previous_source_file): Delete.
5287 * toplev.c (debug_start_source_file, debug_end_source_file,
5288 debug_define, debug_undef): Delete.
5289 * toplev.h (debug_start_source_file, debug_end_source_file,
5290 debug_define, debug_undef): Delete.
5292 * java/jcf-parse.c: Include debug.h.
5293 (parse_class_file): Update to use debug hooks directly.
5294 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
5296 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5298 * alias.c (set_mem_alias_set): New function.
5299 * rtl.h (set_mem_alias_set): Declare it.
5300 * builtins.c (expand_builtin_return_addr): Call it instead of
5301 using MEM_ALIAS_SET accessor.
5302 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
5303 (get_memory_rtx, expand_builtin_va_arg): Likewise.
5304 (expand_builtin_va_copy):Likewise.
5305 * caller-save.c (setup_save_areas): Likewise.
5306 * calls.c (compute_argument_addresses): Likewise.
5307 * explow.c (set_mem_attributes): Likewise.
5308 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
5309 (expand_assignment, store_constructor_field, store_field): Likewise.
5310 (expand_expr_unaligned): Likewise.
5311 * function.c (assign_stack_temp_for_type): Likewise.
5312 (put_reg_into_stack, gen_mem_addressof): Likewise.
5313 * ifcvt.c (noce_try_cmove_arith): Likewise.
5314 * reload1.c (reload, alter_reg): Likewise.
5315 * config/alpha/alpha.c (get_aligned_mem): Likewise.
5316 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
5317 (alpha_expand_unaligned_store): Likewise
5318 (alpha_expand_unaligned_load_words): Likewise.
5319 (alpha_expand_unaligned_store_words): Likewise.
5320 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
5321 (alpha_expand_epilogue): Likewise.
5322 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
5323 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
5324 * config/i386/i386.c (legitimize_pic_address): Likewise.
5325 * config/i960/i960.c (setup_incoming_varargs): Likewise.
5326 * config/ia64/ia64.c (spill_restore_mem): Likewise.
5327 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
5328 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
5329 * config/mips/mips.c (mips_va_arg): Likewise.
5330 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
5331 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5332 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
5333 (setup_incoming_varargs, rs6000_va_arg): Likewise.
5334 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
5335 (rs6000_emit_epilogue): Likewise.
5336 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
5337 * config/sparc/sparc.c (sparc_va_arg): Likewise.
5338 * config/v850/v850.c (v850_va_arg): Likewise.
5340 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
5342 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
5343 when fallthru edge is present.
5344 (mege_blocks): Handle case where creation of jump insn
5347 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
5348 CLEANUP_POST_REGSTACK): New constants.
5349 * except.c (finish_eh_generation): Update call of cleanup_cfg,
5350 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
5351 * output.h (cleanup_cfg): Update prototype.
5352 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
5353 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
5354 cleanup_cfg call; kill missleading comment.
5355 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
5356 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
5357 parameter; control optimizations performed using it.
5358 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
5359 try_crossjump_bb): New functions.
5361 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5363 * pa.c (pa_output_function_prologue): Delete prototype. Make function
5365 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
5366 pa_output_function_prologue.
5367 * pa-protos.h (pa_output_function_prologue): New prototype.
5369 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5371 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
5372 and low to get correct sign extension in low+high test.
5374 2001-07-11 Janis Johnson <janis@us.ibm.com>
5376 * gcov.c (arcdata): Use gcov_type to fix branch percentage
5377 for large hit count.
5379 * profile.c (branch_prob): Fix .bbg info for computed gotos
5382 2001-07-11 Mark Mitchell <mark@codesourcery.com>
5384 * stmt.c (parse_output_constraint): New function, split out
5386 (expand_asm_operands): ... here. Use parse_output_constraint.
5387 * tree.h (parse_output_constraint): Declare it.
5389 2001-07-11 Richard Henderson <rth@redhat.com>
5391 * bitmap.c: Comment some functions; fiddle whitespace.
5392 (bitmap_free): Don't export.
5393 (bitmap_element_allocate): Use memset.
5394 * bitmap.h (bitmap_free): Don't declare.
5396 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
5398 * gcse.c, lcm.c, sched-deps.c:
5399 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
5401 * flow.c (flow_loops_find): Free dom if we found no loops, since
5402 we aren't going to save it.
5404 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
5407 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
5409 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
5411 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5413 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
5414 #ifndef DWARF2_DEBUGGING_INFO.
5416 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
5418 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
5420 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
5422 * config/mips/mips.c (gen_int_relational): Tell the caller not to
5423 reverse a branch if a NE comparison is implemented with GTU.
5425 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
5426 H.J. Lu <hjl@gnu.org>
5428 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
5430 (call_internal2): Likewise.
5431 (call_value_internal1): Likewise.
5432 (call_value_internal2): Likewise.
5433 (call_value_multiple_internal1): Likewise.
5434 (call_value_multiple_internal2): Likewise.
5436 2001-07-10 Kazu Hirata <kazu@hxi.com>
5438 * calls.c (emit_library_call_value_1): Fix a comment typo.
5439 * dwarf2out.c (mem_loc_descriptor): Likewise.
5440 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
5442 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
5444 * simplify-rtx.c (simplify_subreg): Fix typo in comment
5446 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5448 * recog.c (offsettable_address_p): Handle LO_SUM case.
5449 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
5450 instead of plus_constant.
5452 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5454 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
5455 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
5457 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5459 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
5460 adjust_address_nv instead of plus_constant.
5462 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
5464 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
5465 dwarf2out.o): Depend on debug.h, wrap long lines.
5466 * dbxout.c: Include debug.h.
5467 (dbx_debug_hooks): New.
5468 (dbxout_init): Make static, take just 2 args.
5469 (dbxout_finish): Make static.
5470 * dbxout.h (dbxout_init, dbxout_finish): Delete.
5471 * debug.c: New file.
5472 * debug.h: New file.
5473 * dwarf2out.c: Include debug.h.
5474 (dwarf2_debug_hooks): New.
5475 (dwarf2out_init): Make static.
5476 (dwarf2out_finish): Make static, take 2 args.
5477 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
5478 * dwarfout.c: Include debug.h.
5479 (dwarf_debug_hooks): New.
5480 (dwarfout_init): Make static.
5481 (dwarfout_finish): Make static, take 2 args.
5482 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
5483 * sdbout.c: Include debug.h.
5484 (sdb_debug_hooks): New.
5485 (sdbout_init): Make static, take 2 args.
5486 * sdbout.h (sdbout_init): Delete.
5487 * toplev.c: Include debug.h.
5489 (compile_file): Set deubg_hooks based on command line options.
5490 Use the hooks unconditionally rather than conditional compilation.
5492 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
5494 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
5495 first_insn_after_basic_block_note instead.
5497 * df.c (df_bb_refs_unlink): #if 0 out for now.
5499 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
5501 * ssa.h: Add prototype for ssa_const_prop
5502 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
5503 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
5504 (ssa_fast_dce): Remove unused variable
5506 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5508 * diagnostic.c (finish_diagnostic): Rename to
5509 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
5512 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
5514 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
5517 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
5518 (dump_file): Only pad the demangled name with spaces if the
5519 mangled name was padded with spaces.
5521 2001-07-10 Bernd Schmidt <bernds@redhat.com>
5523 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
5526 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5528 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
5529 extraction if no direct load if either EXPAND_CONST_ADDRESS or
5532 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
5533 whether can put offset inside LO_SUM to check mode alignment, not size.
5535 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5537 * doc/tm.texi (Misc): Fix thinko.
5539 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
5541 * regmove.c (replace_in_call_usage): Fix warnings.
5542 * sched-deps.c (add_dependence): Fix warnings.
5543 * simplify-rtx.c (simplify_subreg): Likewise.
5544 Return NULL_RTX instead of NULL.
5546 * reg-stack.c (emit_swap_insn): Eliminate warnings.
5547 (subst_asm_stack_regs): Likewise.
5549 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
5552 * dwarf2out.c (output_call_frame_info): Declare i as int.
5553 (build_abbrev_table): Declare n_alloc as int.
5554 (dwarf2out_finish): Initialize die.
5555 * except.c: Declare sjlj_funcdef_number as unsigned.
5556 (connect_post_landing_pads): Declare j as unsigned.
5557 (convert_to_eh_region_ranges): Initialize call_site.
5558 (output_function_exception_table): Initialize tt_format_size.
5559 * expr.c (move_by_pieces_1): Initialize to1.
5560 (store_constructor): Initialize minelt and maxelt.
5561 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
5562 * function.c (instantiate_decls): Avoid signed/unsigned warning.
5564 * c-decl.c (combine_parm_decls): Unused, remove.
5565 * c-tree.h: Remove prototype for combine_parm_decls.
5567 * reload.c (push_reload): Fix warning.
5568 (regno_clobbered_p): Likewise.
5569 * reload1.c (replace_pseudos_in_call_usage): Likewise.
5570 (reload_combine): Likewise.
5572 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
5573 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
5575 * bitmap.c (bitmap_operation): Change user.
5576 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
5578 2001-07-10 Eric Christopher <echristo@redhat.com>
5580 * config/mips/mips.c (override_options): Fix typo.
5582 2001-07-09 Stan Shebs <shebs@apple.com>
5584 * target.h (struct gcc_target): New fields init_builtins and
5586 * target-def.h (TARGET_INIT_BUILTINS): New macro.
5587 (TARGET_EXPAND_BUILTIN): New macro.
5588 (TARGET_INITIALIZER): Add them.
5589 * builtins.c: Include target.h.
5590 (expand_builtin): Use targetm.expand_builtin.
5591 (default_init_builtins): New function.
5592 (default_expand_builtin): New function.
5593 * expr.h (default_init_builtins): Declare.
5594 (default_expand_builtin): Declare.
5595 * c-common.c (c_common_nodes_and_builtins): Use
5596 targetm.init_builtins.
5597 * defaults.h (MD_INIT_BUILTINS): Remove.
5598 * Makefile.in (builtins.o): Depend on target.h.
5600 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
5601 (TARGET_EXPAND_BUILTIN): Define.
5602 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
5603 (MD_EXPAND_BUILTIN): Remove.
5605 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
5606 (TARGET_EXPAND_BUILTIN): Define.
5607 (c4x_init_builtins): Make endlink arg a local.
5608 (c4x_print_operand): Fix typos in adjust_address usages.
5609 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
5610 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
5611 (MD_EXPAND_BUILTIN): Remove.
5613 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
5614 (TARGET_EXPAND_BUILTIN): Define.
5615 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
5616 (ix86_init_builtins): Call new function only if TARGET_MMX.
5617 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
5618 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
5619 (MD_EXPAND_BUILTIN): Remove.
5621 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
5622 (TARGET_EXPAND_BUILTIN): Define.
5623 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
5624 (MD_EXPAND_BUILTIN): Remove.
5626 * doc/tm.texi: Document these changes.
5628 2001-07-09 Diego Novillo <dnovillo@redhat.com>
5630 * basic-block.h (tree_node): Forward declare if needed.
5631 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
5632 (BLOCK_HEAD_TREE): Define.
5633 (BLOCK_END_TREE): Define.
5634 (struct loops): Rename field 'tree' to 'tree_root'.
5635 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
5637 (flow_loops_tree_build): Rename reference to field 'tree' to
5639 (flow_loops_level_compute): Ditto.
5640 * predict.c (estimate_bb_frequencies): Ditto.
5641 * tree.h (struct tree_common): Add field 'aux'.
5643 2001-07-09 Stan Shebs <shebs@apple.com>
5645 * config/darwin.c (darwin_encode_section_info): Don't mark any
5646 DECL_EXTERNAL node as defined.
5648 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
5650 * pa.c (pa_init_machine_status, pa_mark_machine_status,
5651 pa_free_machine_status, hppa_init_pic_save): Delete.
5652 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
5653 (hppa_profile_hook): Use hppa_pic_save_rtx.
5654 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
5655 hppa_init_pic_save): Delete.
5656 (hppa_pic_save_rtx): Declare.
5657 * pa.md (call, call_value, sibcall, sibcall_value,
5658 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
5660 2001-07-09 Kazu Hirata <kazu@hxi.com>
5662 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
5663 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
5665 2001-07-09 Andreas Jaeger <aj@suse.de>
5667 * output.h: Add declaration of final_forward_branch_p.
5669 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
5671 * varray.c: Include errors.h for internal_error and trim_filename
5674 * Makefile.in (varray.o): Add errors.h.
5676 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
5678 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
5679 * optabs.c (have_add2_insn): Check whether the add insn chosen
5680 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
5681 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
5683 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
5685 * Makefile.in (OBJS): Add ssa-ccp.o
5686 (ssa-ccp.o): Add dependencies.
5687 * toplev.c (DFI_ssa_ccp): New dump file enum.
5688 (dump_file): Add entry for dumping after SSA CCP.
5689 (flag_ssa_ccp): New flag variable.
5690 (f_options): Add -fssa-ccp.
5691 (rest_of_compilation): Run SSA CCP if requested.
5692 * timevar.def (TV_SSA_CCP): New timevar.
5693 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
5694 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
5695 Fix minor typo in SSA DCE documentation.
5696 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
5697 Add documentation for new dump option. Renumber dump files
5700 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
5702 * emit-rtl.c (gen_highpart_mode): New.
5703 * rtl.h (gen_highpart_mode): Declare.
5704 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
5705 operand can be VOIDmode constant.
5707 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
5709 * flow.c (redirect_edge_and_branch_force): New.
5710 (can_fallthru): Ensure that basic blocks are succeeding.
5711 (try_optimize_cfg): Do not delete basic block if it is the last one.
5713 * flow.c (try_redirect_by_replacing_jump): Do not remove
5714 jumps with side effects, unlink chain on fallthru edge;
5715 set block for new jump instruction; avoid basic block to
5716 over by line number note.
5718 * flow.c (try_simplify_condjump): Verify that the condjump
5719 is not always falling trought.
5722 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
5724 * flow.c (forwarder_block_p): Fix for fallthru blocks.
5725 (try_redirect_by_replacing_jump): Update properly the count
5726 and frequency information.
5728 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5730 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
5731 address that is a LO_SUM specially.
5732 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
5734 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
5736 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
5737 (operand_subword): Use them.
5738 (change_address_1): Renamed from change_address; new arg VALIDATE.
5739 * expr.h: Reflect above changes; change_address now macro.
5740 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
5742 * cselib.c (add_mem_for_addr): Likewise.
5743 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
5744 * regmove.c (try_apply_stack_adjustment): Likewise.
5745 * reload.c (push_reload, make_memloc): Likewise.
5746 * reload1.c (eliminate_regs): Likewise.
5747 * simplify-rtx.c (simplify_replace_rtx): Likewise.
5748 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
5750 * combine.c (make_extraction, simplify_shift_const): Likewise.
5751 (gen_lowpart_for_combine): Likewise.
5752 * cse.c (gen_lowpart_if_possible): Likewise.
5753 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
5754 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
5755 * optabs.c (gen_move_insn): Likewise.
5756 * reload1.c (alter_reg): Likewise.
5757 * simplify-rtx.c (simplify_subreg): Likewise.
5758 * stmt.c (expand_anon_union_decl): Likewise.
5759 * recog.c (validate_replace_rtx_1): Likewise.
5761 * Makefile.in (recog.o): Add $(EXPR_H).
5762 * explow.c (stabilize): Call replace_equiv_address.
5763 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
5764 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
5766 2001-07-03 Andrew Haley <aph@redhat.com>
5768 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
5769 the mode of the memory location.
5771 2001-07-09 Bo Thorsen <bo@suse.co.uk>
5773 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
5775 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
5777 * final.c (output_addr_const): Use target opening and
5778 closing parentheses.
5779 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
5780 defaults, add to TARGET_ASM_OUT.
5781 * target.h (struct gcc_target): Add open_paren and close_paren.
5782 * doc/md.texi: Update.
5783 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
5784 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
5785 TARGET_ASM_CLOSE_PAREN.
5786 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
5788 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
5790 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
5791 * config/a29k/a29k.h: Similarly.
5792 * config/alpha/alpha.h: Similarly.
5793 * config/arc/arc.h: Similarly.
5794 * config/arm/aof.h: Similarly.
5795 * config/arm/aout.h: Similarly.
5796 * config/avr/avr.h: Similarly.
5797 * config/c4x/c4x.h: Similarly.
5798 * config/clipper/clipper.h: Similarly.
5799 * config/convex/convex.h: Similarly.
5800 * config/d30v/d30v.h: Similarly.
5801 * config/dsp16xx/dsp16xx.h: Similarly.
5802 * config/elxsi/elxsi.h: Similarly.
5803 * config/fr30/fr30.h: Similarly.
5804 * config/h8300/h8300.h: Similarly.
5805 * config/i370/i370.h: Similarly.
5806 * config/i386/i386.h: Similarly.
5807 * config/i860/i860.h: Similarly.
5808 * config/i960/i960.h: Similarly.
5809 * config/ia64/ia64.h: Similarly.
5810 * config/m32r/m32r.h: Similarly.
5811 * config/m68hc11/m68hc11.h: Similarly.
5812 * config/m68k/m68k.h: Similarly.
5813 * config/m88k/m88k.h: Similarly.
5814 * config/mcore/mcore.h: Similarly.
5815 * config/mips/mips.h: Similarly.
5816 * config/mn10200/mn10200.h: Similarly.
5817 * config/mn10300/mn10300.h: Similarly.
5818 * config/ns32k/ns32k.h: Similarly.
5819 * config/pa/pa.h: Similarly.
5820 * config/pdp11/pdp11.h: Similarly.
5821 * config/pj/pj.h: Similarly.
5822 * config/romp/romp.h: Similarly.
5823 * config/rs6000/rs6000.h: Similarly.
5824 * config/sh/sh.h: Similarly.
5825 * config/sparc/sparc.h: Similarly.
5826 * config/v850/v850.h: Similarly.
5827 * config/vax/vax.h: Similarly.
5828 * config/we32k/we32k.h: Similarly.
5830 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
5832 * doc/c-tree.texi: Document representation of attributes.
5834 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
5836 * doc/tm.texi: Update some places for the rename of target to
5839 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
5841 * target.h (struct gcc_target): Add insert_attributes.
5842 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
5843 (TARGET_INITIALIZER): Update.
5844 * tree.c, tree.h (default_insert_attributes): New function.
5845 Update comments on other default functions to refer to targetm,
5847 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
5848 TARGET_INSERT_ATTRIBUTES.
5849 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
5850 * c-common.c (decl_attributes): Use targetm.insert_attributes.
5851 Don't use PRAGMA_INSERT_ATTRIBUTES.
5852 * Makefile.in (c-common.o): Depend on $(TARGET_H).
5853 * c-decl.c (start_decl, start_function): Don't call
5854 SET_DEFAULT_DECL_ATTRIBUTES.
5855 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
5856 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
5858 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
5859 (c4x_check_attribute): Avoid modifying attribute list itself.
5860 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
5862 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
5863 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
5865 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
5866 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
5868 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
5869 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
5871 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
5872 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
5873 Adjust parameters. Make static.
5875 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
5877 * c-common.c (decl_attributes): Only take a single attributes
5879 * c-common.h (decl_attributes): Update prototype.
5880 * c-decl.c (start_decl, start_function): Only take a single
5881 attributes parameter. Update calls to decl_attributes.
5882 (finish_struct, finish_enum): Update calls to decl_attributes.
5883 (push_parm_decl): Expect unified list of attributes. Update call
5885 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
5886 notype_nested_function, component_declarator,
5887 component_notype_declarator, label): Update calls to
5889 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
5890 lists that are passed to push_parm_decl.
5891 * c-tree.h (start_function, start_decl): Update prototypes.
5892 * config/sh/sh-protos.h, config/sh/sh.c
5893 (sh_pragma_insert_attributes): Only take a single attributes
5895 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
5896 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
5897 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
5898 build_module_descriptor, generate_static_references,
5899 generate_strings, build_selector_translation_table,
5900 generate_descriptor_table, generate_protocols,
5901 generate_ivars_list, generate_dispatch_table,
5902 generate_protocol_list, generate_category,
5903 generate_shared_structures, really_start_method, add_objc_decls,
5904 generate_classref_translation_entry): Update calls to start_decl
5906 (build_tmp_function_decl, start_method_def): Unify attribute lists
5907 that are passed to push_parm_decl.
5909 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
5911 * final.c (no_asm_to_stream): New.
5912 (final_scan_insn): Use target structures for prologue ends
5913 and epilogue starts.
5914 * output.h (no_asm_to_stream): New.
5915 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
5916 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
5917 (TARGET_ASM_OUT): Update.
5918 * target.h (struct gcc_target): New members function_end_prologue
5919 and function_begin_epilogue.
5920 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
5921 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
5922 * config/alpha/alpha.c (output_end_prologue): Rename to
5923 alpha_output_function_end_prologue. Use in target struct
5925 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
5926 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
5927 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
5928 ia64_output_function_end_prologue. Use in target struct
5930 (ia64_function_prologue, ia64_funciton_epilogue): Rename
5931 mistyped prototypes.
5932 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
5933 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
5935 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
5936 an use in target struct, make static.
5937 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
5940 2001-07-08 Richard Henderson <rth@redhat.com>
5942 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
5944 2001-07-08 Richard Henderson <rth@redhat.com>
5946 * config/i386/i386.md: Remove constraints strings from define_split
5947 and define_peephole2 patterns.
5948 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
5949 (eh_return): Use them.
5951 2001-07-08 Richard Henderson <rth@redhat.com>
5953 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
5954 Document MD_FALLBACK_FRAME_STATE_FOR.
5956 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5958 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
5959 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
5961 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
5963 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
5965 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
5966 of the label inside NAME as opposed to just the end of NAME.
5968 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
5970 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
5971 * config/alpha/alpha.c (alpha_init_machine_status,
5972 alpha_mark_machine_status, alpha_free_machine_status): Delete.
5973 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
5974 (vms_valid_decl_attribute_p): Make static, conditionally compile.
5975 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
5977 2001-07-06 Stan Shebs <shebs@apple.com>
5979 * target.h (targetm): Rename global from "target", so as not to
5980 conflict with local variables.
5982 * c-typeck.c: Ditto.
5986 * cp/decl2.c: Ditto.
5987 * cp/typeck.c: Ditto.
5988 * 1750a/1750a.c: Ditto.
5989 * a29k/a29k.c: Ditto.
5993 * clipper/clipper.c: Ditto.
5994 * convex/convex.c: Ditto.
5995 * d30v/d30v.c: Ditto.
5996 * dsp16xx/dsp16xx.c: Ditto.
5997 * elxsi/elxsi.c: Ditto.
5998 * fr30/fr30.c: Ditto.
5999 * h8300/h8300.c: Ditto.
6000 * i370/i370.c: Ditto.
6001 * i386/i386.c: Ditto.
6002 * i860/i860.c: Ditto.
6003 * i960/i960.c: Ditto.
6004 * ia64/ia64.c: Ditto.
6005 * m32r/m32r.c: Ditto.
6006 * m68hc11/m68hc11.c: Ditto.
6007 * m68k/m68k.c: Ditto.
6008 * m88k/m88k.c: Ditto.
6009 * mips/mips.c: Ditto.
6010 * ns32k/ns32k.c: Ditto.
6012 * pdp11/pdp11.c: Ditto.
6013 * romp/romp.c: Ditto.
6014 * rs6000/rs6000.c: Ditto.
6016 * sparc/sparc.c: Ditto.
6018 * we32k/we32k.c: Ditto.
6019 * doc/tm.texi: Update the manual to match.
6021 2001-07-06 Richard Henderson <rth@redhat.com>
6023 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
6024 DWARF2_UNWIND_INFO not just whether it is defined.
6026 2001-07-06 Diego Novillo <dnovillo@redhat.com>
6028 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
6029 call to simplify_binary_operation returns a new pattern.
6031 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6033 * glimits.h (__SHRT_MAX__): New.
6034 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
6035 (SHRT_MAX): Define in terms of __SHRT_MAX__.
6037 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
6039 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
6042 2001-07-06 Richard Henderson <rth@redhat.com>
6044 * bitmap.c (bitmap_release_memory): Move adjacent to the
6045 allocation functions.
6046 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
6047 the implementation. Binary search for the set bit.
6048 (bitmap_union_of_diff): Allocate the temporary on the stack
6049 instead of using xmalloc.
6051 2001-07-06 Richard Henderson <rth@redhat.com>
6053 * genrecog.c (validate_pattern): Warn for constraints in
6054 define_{expand,split,peephole2}. Remove strict_low_part
6055 before looking up match_dup.
6057 2001-07-06 DJ Delorie <dj@redhat.com>
6059 * doc/gcc.texi (Makefile): Rename to be a more general purpose
6060 chapter about various build hints and history. Add section
6061 talking about the various types of native and cross builds.
6063 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
6065 * Makefile.in (final.o): Depend on target.h.
6066 * final.c: Include target.h.
6067 (default_function_pro_epilogue): New.
6068 (final_start_function): Use target structure for function prologues.
6069 (final_end_function): Use target structure for function epilogues.
6070 * fold-const.c (real_hex_to_f): Constify s and p.
6071 * output.h (default_function_pro_epilogue): New.
6072 * real.h (real_hex_to_f): Update prototype.
6073 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
6074 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
6075 (TARGET_INITIALIZER): Update.
6076 * target.h (gcc_target): Add struct asm_out.
6077 * doc/tm.texi: Update.
6080 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
6081 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
6082 in cpu/cpu.c, or rename old functions consistently. Take
6083 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
6084 redundant macros and prototypes. Make new functions static.
6086 * 1750a/1750a.c: Similarly.
6087 * 1750a/1750a.h: Similarly.
6088 * a29k/a29k-protos.h: Similarly.
6089 * a29k/a29k.c: Similarly.
6090 * a29k/a29k.h: Similarly.
6091 * arc/arc-protos.h: Similarly.
6092 * arc/arc.c: Similarly.
6093 * arc/arc.h: Similarly.
6094 * arm/arm-protos.h: Similarly.
6095 * arm/arm.c: Similarly.
6096 * arm/arm.h: Similarly.
6097 * avr/avr-protos.h: Similarly.
6098 * avr/avr.c: Similarly.
6099 * avr/avr.h: Similarly.
6100 * clipper/clipper-protos.h: Similarly.
6101 * clipper/clipper.c: Similarly.
6102 * clipper/clipper.h: Similarly.
6103 * convex/convex.c: Similarly.
6104 * convex/convex.h: Similarly.
6105 * d30v/d30v-protos.h: Similarly.
6106 * d30v/d30v.c: Similarly.
6107 * d30v/d30v.h: Similarly.
6108 * d30v/d30v.md: Similarly.
6109 * dsp16xx/dsp16xx-protos.h: Similarly.
6110 * dsp16xx/dsp16xx.c: Similarly.
6111 * dsp16xx/dsp16xx.h: Similarly.
6112 * elxsi/elxsi.c: Similarly.
6113 * elxsi/elxsi.h: Similarly.
6114 * fr30/fr30.c: Similarly.
6115 * fr30/fr30.md: Similarly.
6116 * h8300/h8300-protos.h: Similarly.
6117 * h8300/h8300.c: Similarly.
6118 * h8300/h8300.h: Similarly.
6119 * i370/i370-protos.h: Similarly.
6120 * i370/i370.c: Similarly.
6121 * i370/i370.h: Similarly.
6122 * i386/i386.c: Similarly.
6123 * i386/osf1elf.h: Similarly.
6124 * i386/osfrose.h: Similarly.
6125 * i860/i860-protos.h: Similarly.
6126 * i860/i860.c: Similarly.
6127 * i860/i860.h: Similarly.
6128 * i960/i960-protos.h: Similarly.
6129 * i960/i960.c: Similarly.
6130 * i960/i960.h: Similarly.
6131 * ia64/ia64-protos.h: Similarly.
6132 * ia64/ia64.c: Similarly.
6133 * ia64/ia64.h: Similarly.
6134 * m32r/m32r-protos.h: Similarly.
6135 * m32r/m32r.c: Similarly.
6136 * m32r/m32r.h: Similarly.
6137 * m68hc11/m68hc11-protos.h: Similarly.
6138 * m68hc11/m68hc11.c: Similarly.
6139 * m68hc11/m68hc11.h: Similarly.
6140 * m68k/crds.h: Similarly.
6141 * m68k/dpx2.h: Similarly.
6142 * m68k/m68k-protos.h: Similarly.
6143 * m68k/m68k.c: Similarly.
6144 * m68k/m68k.h: Similarly.
6145 * m68k/news.h: Similarly.
6146 * m88k/m88k-protos.h: Similarly.
6147 * m88k/m88k.c: Similarly.
6148 * m88k/m88k.h: Similarly.
6149 * mips/mips-protos.h: Similarly.
6150 * mips/mips.c: Similarly.
6151 * mips/mips.h: Similarly.
6152 * ns32k/merlin.h: Similarly.
6153 * ns32k/ns32k.c: Similarly.
6154 * ns32k/ns32k.h: Similarly.
6155 * ns32k/tek6000.h: Similarly.
6156 * pa/pa-protos.h: Similarly.
6157 * pa/pa.c: Similarly.
6158 * pa/pa.h: Similarly.
6159 * pdp11/2bsd.h: Similarly.
6160 * pdp11/pdp11-protos.h: Similarly.
6161 * pdp11/pdp11.c: Similarly.
6162 * pdp11/pdp11.h: Similarly.
6163 * romp/romp-protos.h: Similarly.
6164 * romp/romp.c: Similarly.
6165 * romp/romp.h: Similarly.
6166 * rs6000/rs6000-protos.h: Similarly.
6167 * rs6000/rs6000.c: Similarly.
6168 * rs6000/rs6000.h: Similarly.
6169 * rs6000/sysv4.h: Similarly.
6170 * sh/sh-protos.h: Similarly.
6171 * sh/sh.c: Similarly.
6172 * sh/sh.h: Similarly.
6173 * sparc/sparc-protos.h: Similarly.
6174 * sparc/sparc.c: Similarly.
6175 * sparc/sparc.h: Similarly.
6176 * vax/vax.c: Similarly.
6177 * vax/vax.h: Similarly.
6178 * vax/vms.h: Similarly.
6179 * we32k/we32k.c: Similarly.
6180 * we32k/we32k.h: Similarly.
6182 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
6184 * basic-block.h (first_insn_after_basic_block_note): Declare.
6185 * flow.c (first_insn_after_basic_block_note): Define. Moved
6187 * ssa.c (first_insn_after_basic_block_note): Remove.
6188 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
6190 (ssa_eliminate_dead_code): Properly update the CFG and PHI
6191 nodes when we find a dead conditional branch. Insert BARRIERs
6192 after any blocks with no successors, but which do not have
6195 2001-07-06 Zack Weinberg <zackw@stanford.edu>
6197 * varray.c (varray_check_failed): Use internal_error.
6199 2001-07-05 Andrew Haley <aph@redhat.com>
6201 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
6202 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
6203 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
6205 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
6207 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
6208 reference if the target constant is also a SYMBOL_REF.
6210 2001-07-05 Eric Christopher <echristo@redhat.com>
6212 * config/mips/mips.h (MASK_MIPS3900): Remove.
6213 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
6214 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
6215 (TARGET_MIPS3900): Change to use mips_arch.
6216 (TARGET_MIPS4000): New.
6217 (TARGET_MIPS4100): New.
6218 (TARGET_MIPS4300): New.
6219 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
6220 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
6222 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
6223 (ISA_HAS_BRANCHLIKELY): To here.
6224 (CC1_CPU_SPEC): New.
6225 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
6226 (mips_arch_string): Declare.
6227 (mips_arch): Declare.
6228 (TARGET_OPTIONS): Add -march and -mtune.
6230 * config/mips/mips.c (mips_arch_string): New.
6232 (override_options): Handle -march for codegen and -mtune
6233 for scheduling. Use mips_arch. Move tx39 target default here.
6234 (mips_parse_cpu): Move error message to override_options.
6236 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
6238 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
6240 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
6241 (MIPS Options): Ditto. Change mcpu entry to historical text.
6243 2001-07-05 H.J. Lu (hjl@gnu.org)
6245 * config/mips/mips.c (mips_parse_cpu): New function to parse
6248 2001-07-05 Jim Wilson <wilson@redhat.com>
6250 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
6251 * config/ia64/t-ia64: Likewise.
6252 (LIB1ASMFUNCS): Update comment.
6254 2001-07-05 David Edelsohn <edelsohn@gnu.org>
6256 * doc/install.texi (Install GCC: Binaries): Fix typo.
6258 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6260 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
6261 reference using the stack pointer, adjust it since we push Y
6263 ("*ashrsi3"): Likewise.
6264 ("*lshrsi3"): Likewise.
6266 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6268 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
6269 when -fomit-frame-pointer is used.
6271 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
6273 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
6274 (try_redirect_by_replacing_jump): Reverse updating properly the
6275 count and frequency information. Reverse removing cc0 setter.
6276 (forwarder_block_p): Reverse fixing for fallthru blocks.
6278 2001-07-05 DJ Delorie <dj@redhat.com>
6280 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
6281 (translate_options): If the above is defined, use it to map
6282 given options to new options.
6283 * doc/tm.texi: Document it.
6285 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
6286 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6288 * doc/invoke.texi (Optimize Options): Document that -fgcse may
6289 cause programs using computed gotos to run more slowly.
6291 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6293 * doc/install.texi (Specific): Markup, spelling and typo fixes.
6295 Consistently require binutils 2.11.2, not prereleases.
6296 (Specific, decstation-*): Canonicalize as mips-dec-*.
6297 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
6299 (Specific, m68k-altos): Removed reference to README.altos, deleted.
6300 (Specific, mips-*): Reword MIPS C compiler requirements.
6301 (Specific, powerpc*-*-*): New, mention --with-cpu once.
6302 (Specific, sunv5): Removed, obsolete.
6304 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
6306 * dwarf2out.c (output_loc_list): Use an all ones mask for
6307 .text asm output and don't rely on long long
6308 literals. Reformat some long lines.
6310 2001-07-05 Andreas Jaeger <aj@suse.de>
6312 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
6315 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
6317 * dwarf2out.c (dwarf2out_define): Update comment.
6318 (dwarf2out_undef): Ditto.
6319 (dwarf2out_start_source_file): Ditto.
6320 (dwarf2out_end_source_file): Ditto.
6321 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
6322 since we never call the start/end debug hook for the primary file.
6324 2001-07-04 Kazu Hirata <kazu@hxi.com>
6326 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
6329 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
6331 * cppinit.c (remove_dup_dirs): Inform if a system include
6332 directory is being reordered.
6333 * doc/invoke.texi (Directory Options): GCC warns if you hide a
6335 * doc/cpp.texi (Search Paths): Likewise.
6336 * doc/gcc.texi (Interoperation): Remove information about
6339 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
6341 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
6342 (VARRAY_TOP_CHAR_PTR): Likewise.
6344 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6346 * gcc.c (process_command): Don't assign elements of a const char*.
6348 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6350 * emit-rtl.c (change_address): Don't abort if invalid address while
6351 reload is in progress.
6353 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
6355 * c-lex.c (cb_file_change): Pass line number to
6356 debug_start_source_file.
6357 (cb_undefine): Pass correct line number to debug_undef.
6359 * toplev.c (debug_start_source_file): Add line number to
6360 parameters. Pass it along to dwarf2out_start_source_file.
6361 (decode_g_option): Stop resetting debug level back to normal when
6362 we change debug formats, unless the current level is
6363 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
6366 * toplev.h (debug_start_source_file): Add line number to
6369 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
6372 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
6374 Output debug_macinfo data for starting file if requested.
6375 (dwarf2out_end_source_file): Output debug_macinfo data for ending
6377 (dwarf2out_define): Output debug_macinfo data for defining a macro
6379 (dwarf2out_undef): Output debug_macinfo data for undefining a
6381 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
6382 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
6383 (macinfo_section_label): New. DWARF2 macro info section label.
6384 (dwarf2out_init): If we want macro info, output the start label
6386 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
6387 attribute to the compilation unit die pointing to the macro info.
6389 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
6391 * dwarf2out.c (new_loc_list): Move to inside #ifdef
6392 DWARF2_DEBUGGING_INFO.
6393 (add_loc_descr_to_loc_list): Ditto.
6394 (output_loc_list): Ditto.
6395 Also, fix thinko in curr not being initialized.
6396 (gen_internal_sym): Ditto.
6398 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6400 * emit-rtl.c (replace_equiv_address): New function.
6401 * expr.h (replace_equiv_address): New declaration.
6402 * explow.c (validize_mem): Call it instead of change_address and
6403 also call if -fforce-addr and address is constant.
6404 * expr.c: Replace more calls to change_address with adjust_address
6405 and/or replace_equiv_address or to validize_mem.
6406 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
6407 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
6408 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
6409 * config/i370/i370.md, config/i860/i860.md: Likewise.
6410 * config/i960/i960.md, config/mips/mips.c: Likewise.
6411 * config/mips/mips.md, config/pa/pa.md: Likewise.
6412 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
6413 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
6415 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6417 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
6419 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
6422 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
6424 * doc/include: New directory.
6425 * doc/fdl.texi: Move to doc/include/fdl.texi.
6426 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
6427 * doc/include/funding.texi, doc/include/gpl.texi: New files.
6428 * doc/gcc.texi: Use funding.texi and gpl.texi.
6429 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
6430 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
6431 Update dependencies and use -I $(docdir)/include.
6433 2001-07-04 Anthony Green <green@redhat.com>
6435 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
6437 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6439 * doc/install.texi (sparc64-*-*): Remove garbage.
6441 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
6443 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
6444 Fix typo in last change to use adjust_address.
6446 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6448 * doc/install.texi (Specific): Update information for *-*-solaris*.
6450 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6452 * explow.c (plus_constant_wide): Reinitialize Y for restart.
6454 2001-07-03 Stan Shebs <shebs@apple.com>
6456 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
6457 case for flag_no_mach_text_sections.
6458 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
6459 * config/darwin.c (flag_no_mach_text_sections): Remove.
6460 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
6462 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6464 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
6465 and avoid checking for constant as first operand.
6466 * recog.c (find_constant_term_loc): No longer static.
6467 (adj_offettable_operand): Delete.
6468 * rtl.h (adj_offsettable_operand): Delete declaration.
6469 (find_constant_term): Add declaration.
6470 * caller-save.c: Replace calls to adj_offsettable_operand with calls
6472 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
6473 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
6474 * config/i386/i386.c, config/i386/i386.md: Likewise.
6475 * config/i860/i860.c, config/i960/i960.c: Likewise.
6476 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
6477 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
6478 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
6479 * config/mips/mips.c, config/mips/mips.md: Likewise.
6480 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
6481 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
6482 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
6483 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
6484 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
6485 * config/ns32k/ns32k.md: Likewise.
6487 2001-07-03 Zack Weinberg <zackw@stanford.edu>
6489 * rtl.c (copy_rtx): Handle 'T' format letter.
6490 * gensupport.c (collect_insn_data): Likewise.
6491 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
6493 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
6495 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
6496 -B option. Use 'dir' not 'foo' as example directory name.
6498 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6500 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6501 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
6503 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
6505 * doc/cppinternals.texi: Improve formatting and logical markup.
6507 2001-07-03 Andreas Jaeger <aj@suse.de>
6509 * Makefile.in (insn-recog.o): Add dependency on reload.h.
6511 * genrecog.c (write_header): Include reload.h for prototypes in
6514 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
6517 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
6518 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
6519 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
6520 i386_pe_valid_type_attribute_p): Add.
6521 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
6522 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
6524 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6526 * explow.c (plus_constant_wide, case LO_SUM): New case.
6527 (plus_constant_for_output_wide): Delete.
6528 * rtl.h (plus_constant_for_output): Delete.
6529 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
6530 instead of plus_constant_for_output.
6531 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
6532 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
6533 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
6534 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
6535 * config/sparc/sparc.md: Likewise.
6536 Convert some change_address calls to adjust_address.
6538 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
6540 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
6541 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
6542 documentation of -std and -Wwrite-strings.
6544 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
6546 * cse.c (canon_hash): Don't register registers in very small
6547 register classes, as extending their lifetime might cause
6550 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
6552 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
6554 * flow.c (forwarder_block_p): Fix for fallthru blocks.
6555 (try_redirect_by_replacing_jump): Update properly the count
6556 and frequency information.
6558 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
6560 * toplev.c (dump_file_index): Move SSA dumps just after first
6562 (dump_file): Corresponding changes.
6563 (rest_of_compilation): Move SSA path to just after the first
6565 * doc/gcc.texi (Passes): Update due to movement of SSA path.
6566 * doc/invoke.texi: Update dump file #s as they were completely
6567 out of date with reality.
6569 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
6571 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
6573 * expr.c (emit_move_insn_1): Deal with non-default
6576 * expr.c (emit_single_push_insn): Fix warning.
6578 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
6580 * expr.c (emit_move_insn_1): Avoid modifying
6581 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
6583 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6585 * emit-rtl.c (adjust_address): New function.
6586 * expr.h (adjust_address): Add declaration.
6587 * builtins.c: Replace some calls to change_address with calls to it
6589 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
6590 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
6591 * config/arm/arm.c, config/convex/convex.c: Likewise.
6592 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
6593 * config/i386/i386.c, config/i386/i386.md: Likewise.
6594 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
6595 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
6596 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
6597 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
6598 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
6600 2001-07-02 Jim Wilson <wilson@redhat.com>
6602 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
6604 2001-07-02 Steve Ellcey <sje@cup.hp.com>
6606 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
6607 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
6609 2001-07-02 Zack Weinberg <zackw@stanford.edu>
6611 * cppinit.c (lang_defaults): New table.
6612 (set_lang): Just read from lang_defaults into the live options
6615 2001-07-02 Zack Weinberg <zackw@stanford.edu>
6617 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
6618 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
6619 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
6621 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6623 * doc/install.texi: Various spelling and markup fixes.
6624 (Installing GCC): Component specific installation instructions are
6627 Warn about removing old install dir in the presence of shared libs.
6628 (Configuration): Invoke with options target to match configure
6630 Consistently refer to gas, gld pathnames.
6631 Invert --enable-multilib documentation.
6632 Remove references to old compiler versions.
6634 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6636 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
6638 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6640 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
6642 (Specific, mips*-sgi-irix5): Note IDO download.
6643 Reworded MIPS C hints.
6644 Use GNU as instead of GAS.
6646 Removed SGI Freeware reference, IRIX 6 only.
6647 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
6648 Note N64 library requirement/workaround.
6650 Complete list of structure passing bug victims.
6652 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6654 * doc/install.texi: Remove CVS Id.
6656 2001-07-02 Andreas Jaeger <aj@suse.de>
6658 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
6659 (find_inherently_necessary): Remove unused variable.
6661 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
6663 * c-common.h (TDI_inlined): New ast dump phase.
6664 (dump_flag_name): New function.
6665 * c-dump.c (dump_files): Add inlined phase.
6666 (dump_flag_name): Define.
6667 * doc/invoke.texi (-fdump-ast-inlined): Document.
6669 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6671 * stor-layout.c (layout_decl): Revert change to handling of alignment
6674 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6676 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
6679 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
6681 * doc/tm.texi (FUNCTION_ARG): Document that the last call
6684 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
6686 * tlink.c (recompile_files): Remove COMPILER_PATH and
6687 LIBRARY_PATH from the environment.
6689 2001-07-01 Zack Weinberg <zackw@stanford.edu>
6691 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
6692 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
6694 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
6696 * c-parse.in (OBJC_STRING): Kill.
6697 (objc_string): Decompose to [objc_string] '@' STRING.
6698 (reswords): Take the leading '@' off all the Objective C keywords.
6699 (objc_rid_sans_at): Kill.
6700 (init_reswords): Don't initialize it.
6701 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
6702 (_yylex): Kill reconsider label. Look ahead one token after
6703 an '@'; if we get an identifier, check whether it's an
6704 Objective C @-keyword. If so, return the keyword. Otherwise,
6705 put back the token and return the '@' as a terminal.
6707 * cpplib.c (lex_macro_node): Remove unnecessary check for
6708 leading '@' on identifier. Clarify control flow and commentary.
6710 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6712 * cse.c (new_label_ref): Variable deleted.
6713 (insert): Remove set of new_label_ref.
6714 (check_for_label_ref): New function.
6715 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
6717 See ChangeLog.5 for earlier changes.