OSDN Git Service

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