OSDN Git Service

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