OSDN Git Service

* sh.c (prepare_scc_operands): Abort if no compare insn is available.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2
3         * sh.c (prepare_scc_operands): Abort if no compare insn is available.
4         (find_barrier, gen_block_redirect, split_branches): Fix indentation.
5         (calc_live_regs): Likewise.
6
7 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8
9         * sh.md (fpu_single, fp_mode): New attributes.
10
11 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12
13         * loop.c (current_loop_info): Renamed from loop_info_data
14         and changed to a pointer.
15         (loop_optimize): Allocate loop_info structure for each loop
16         and initialise to zero.
17         (scan_loop): Set current_loop_info.
18
19         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
20         on iteration_var.
21
22 2000-01-19  Richard Henderson  <rth@cygnus.com>
23
24         * stupid.c: Die die die.
25         * Makefile.in (OBJS): Remove stupid.o.
26         (stupid.o): Likewise.
27
28         * except.c (emit_eh_context): Don't emit USEs for stupid.
29         * explow.c (probe_stack_range): Likewise.
30         * flags.h (obey_regdecls): Remove.
31         * flow.c (find_basic_blocks): Don't run try_merge_blocks
32         when not optimizing.
33         (life_analysis): Limit data collection when not optimizing.
34         (mark_regs_live_at_end): Always mark the return value registers.
35         (mark_used_regs): Remove dummy RETURN case.
36         (print_rtl_with_bb): Don't consult obey_regdecls.
37         * function.c (use_variable, use_variable_after): Remove.
38         (assign_parms): Consult optimize not obey_regdecls.
39         (expand_function_start): Don't emit USEs for stupid.
40         (expand_function_end): Likewise.
41         * global.c (build_insn_chain): Export.
42         * integrate.c (expand_inline_function): Kill return-value USE
43         handling code.
44         * jump.c (jump_optimize_1): Do simple jump optimizations and
45         dead code elimination.
46         (calculate_can_reach_end): Remove check_deleted argument.
47         (delete_insn): Patch out insns even when not optimizing.
48         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
49         * rtl.h (use_variable, use_variable_after): Remove declarations.
50         (build_insn_chain): Declare.
51         * stmt.c (expand_value_return): Don't emit USEs for stupid.
52         (expand_end_bindings): Likewise.
53         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
54         * toplev.c (obey_regdecls): Remove.
55         (rest_of_compilation): Don't set it.  Kill stupid in favour of
56         flow1, local-alloc, and reload.
57         (main): Don't set obey_regdecls.
58
59         * config/nextstep.c (handle_pragma): Likewise.
60
61         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
62
63         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
64
65 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
66
67         * alpha-protos.h: PROTO -> PARAMS.
68         * alpha.c: Likewise.
69         * elf.h: Likewise.
70         * h8300.c: Likewise.
71         * i386-protos.h: Likewise.
72         * i386.c: Likewise.
73         * m32r-protos.h: Likewise.
74         * m32r.c: Likewise.
75         * mips.c: Likewise.
76         * mips.md: Likewise.
77         * gmon-sol2.c: Likewise.
78         * sparc.c: Likewise.
79
80 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
81
82         * ns32k-protos.h: New file.
83
84         * ns32k.c: Fix compile time warnings.
85         
86         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
87         warnings.
88
89         * ns32k.md: Likewise.
90
91 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
92
93         * vax-protos.h: New file.
94
95         * vax.c: Fix compile time warnings.
96         
97         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
98         warnings.
99
100         * vax.md: Likewise.
101
102         * vaxv.md: Likewise.
103
104 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
105
106         * romp-protos.h: New file.
107
108         * romp.c: Fix compile time warnings.
109         
110         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
111         warnings.
112
113         * romp.md: Likewise.
114
115 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
116
117         * we32k-protos.h: New file.
118
119         * we32k.c: Fix compile time warnings.
120         
121         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
122         warnings.
123
124 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
125
126         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
127
128         * except.c (eh_regs): Likewise.
129
130         * final.c (output_operand): Likewise.
131
132         * fold-const.c (target_isinf, target_isnan): Likewise.
133
134 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
135
136         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
137         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
138
139         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
140         when optimize_size.
141         (clrstrsi): Rewrite.
142         (strsethi, strsetqi): New expanders.
143         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
144         (cmpstrsi): Emit compare insn before cmpstrsi_1
145         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
146         (strlensi_1): Likewise.
147         (cmpstrsi_1): Likewise; do not output compare.
148         (strlen expander): Do not unroll when optimizing for size.
149         (*subsi3_carry): Rename to subsi3_carry
150         (addqi3_cc): New pattern.
151         * i386.h (processor_costs): Add move_ratio field.
152         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
153         * i386.c (*_cost): Set move_ratio.
154         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
155         (x86_expand_strlensi_1): Rewrite the main loop.
156
157 2000-01-17  Richard Henderson  <rth@cygnus.com>
158
159         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
160         * cse.c (find_comparison_args, fold_rtx): Likewise.
161         * integrate.c (subst_constants): Likewise.
162         * loop.c (get_condition): Likewise.
163
164         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
165
166         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
167
168 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
169
170         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
171         (RESTORE_WARN_FLAGS): Unpack it.
172         Change semantic type of extension to ttype.
173         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
174         * c-parse.y, c-parse.c, objc/objc-parse.y, 
175         objc/objc-parse.c: Regenerate.
176
177 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
178
179         * fixinc/fixlib.c: Add copyright notice.
180         (compile_re): New function.
181         * fixinc/fixlib.h: Prototype compile_re.
182
183         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
184         Use compile_re to compile regular expressions.
185
186         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
187         where the pattern matched.
188
189         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
190         use 'replace'.
191         (ultrix_ansi_compat): Likewise.
192         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
193         add egrep test.
194         (interactv_add2, interactv_add3): Delete.
195         (x11_sprintf): Don't use filename glob.
196         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
197         Regenerate.
198
199 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
200
201         * print-rtl.c: PROTO -> PARAMS.
202         * real.c: Likewise.
203         * reg-stack.c: Likewise.
204         * resource.c: Likewise.
205         * sdbout.h: Likewise.
206         * simplify-rtx.c: Likewise.
207         * stor-layout.c: Likewise.
208         * stupid.c: Likewise.
209         * xcoffout.c: Likewise.
210         * xcoffout.h: Likewise.
211
212 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
213
214         * toplev.c: PROTO -> PARAMS.
215         * toplev.h: Likewise.
216         * tree.c: Likewise.
217         * tree.h: Likewise.
218         * unroll.c: Likewise.
219         * varasm.c: Likewise.
220         * varray.c: Likewise.
221         * varray.h: Likewise.
222
223 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
224
225         * reload.c: PROTO -> PARAMS.
226         * reload.h: Likewise.
227         * reload1.c: Likewise.
228         * reorg.c: Likewise.
229         * resource.h: Likewise.
230         * rtl.c: Likewise.
231         * rtl.h: Likewise.
232         * rtlanal.c: Likewise.
233         * sbitmap.h: Likewise.
234         * sdbout.c: Likewise.
235         * stack.h: Likewise.
236         * stmt.c: Likewise.
237         * system.h: Likewise.
238
239 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
240
241         * machmode.h: PROTO -> PARAMS.
242         * mbchar.h: Likewise.
243         * mips-tdump.c: Likewise.
244         * mips-tfile.c: Likewise.
245         * optabs.c: Likewise.
246         * output.h: Likewise.
247         * prefix.c: Likewise.
248         * profile.c: Likewise.
249         * protoize.c: Likewise.
250         * real.h: Likewise.
251         * recog.c: Likewise.
252         * recog.h: Likewise.
253         * regclass.c: Likewise.
254         * regmove.c: Likewise.
255         * regs.h: Likewise.
256
257 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
258
259         * ggc-common.c: PROTO -> PARAMS.
260         * ggc-page.c: Likewise.
261         * ggc-simple.c: Likewise.
262         * ggc.h: Likewise.
263         * global.c: Likewise.
264         * graph.c: Likewise.
265         * gthr-win32.h: Likewise.
266         * haifa-sched.c: Likewise.
267         * halfpic.h: Likewise.
268         * integrate.c: Likewise.
269         * integrate.h: Likewise.
270         * jump.c: Likewise.
271         * lcm.c: Likewise.
272         * local-alloc.c: Likewise.
273         * loop.c: Likewise.
274         * loop.h: Likewise.
275
276 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
277
278         * genattr.c: PROTO -> PARAMS.
279         * genattrtab.c: Likewise.
280         * gencheck.c: Likewise.
281         * gencodes.c: Likewise.
282         * genconfig.c: Likewise.
283         * genemit.c: Likewise.
284         * genextract.c: Likewise.
285         * genflags.c: Likewise.
286         * gengenrtl.c: Likewise.
287         * genopinit.c: Likewise.
288         * genoutput.c: Likewise.
289         * genpeep.c: Likewise.
290         * genrecog.c: Likewise.
291
292 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
293
294         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
295
296 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
297
298         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
299         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
300         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
301         * configure, config.in: Rebuilt.
302
303 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
304
305         * config/i386/i386.md: Add peephole to merge successive stack
306         adjusts. 
307
308 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
309
310         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
311         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
312         when walking backwards to find all the parameter loads when
313         the basic block ends in a call.
314
315 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
316
317         * loop.c (this_loop_info): Delete.
318         (uid_loop): Add in place of uid_loop_num.  All uses updated.
319         (loop_number_exit_count): Delete and replace with entry in loop
320         structure.  All uses updated.
321         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
322         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
323         (loop_outer_loop): Likewise.
324         (loop_invalid, loop_number_exit_labels): Likewise.
325         (loop_used_count_register): Delete and replace with entry in 
326         loop_info structure.
327         (find_and_verify_loops): Add loops argument.
328         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
329         loop_end, etc. arguments with loop structure pointer.  All callers
330         changed.
331         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
332         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
333         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
334         (insert_bct): Likewise.
335         (basic_induction_var): New argument level.
336         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
337         vtop, and cont.  Add used_count_register.
338         (uid_loop): Delete declaration.
339         (loop_number_exit_count): Likewise.
340         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
341         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
342         (loop_outer_loop, loop_used_count_register): Likewise.
343         (loop_invalid, loop_number_exit_labels): Likewise.
344         (unroll_loop): Replace loop_start and loop_end arguments
345         with loop structure pointer.
346         (loop_precondition_p, loop_iterations): Likewise.
347         Include basic-block.h.
348         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
349         with loop structure pointer.
350         (loop_precondition_p, loop_iterations): Likewise.
351         * basic-block.h (struct loop): New entries vtop, cont,
352         cont_dominator, start, end, top, scan_start, exit_labels,
353         exit_count.  
354         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
355
356 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
357
358         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
359
360 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
361
362         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
363
364 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
365
366         * pdp11-protos.h: New file.
367
368         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
369         time warnings.
370         
371         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
372         warnings.
373         
374         * pdp11.md: Likewise.
375
376         * 2bsd.h: Likewise.
377
378 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
379
380         * mn10300-protos.h: New file.
381
382         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
383         time warnings.
384         
385         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
386         warnings.
387         
388         * mn10300.md: Likewise.
389
390 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
391
392         * mn10200-protos.h: New file.
393
394         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
395         time warnings.
396         
397         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
398         warnings.
399         
400         * mn10200.md: Likewise.
401
402 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
403
404         * h8300-protos.h: New file.
405
406         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
407         time warnings.
408         
409         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
410         warnings.
411         
412         * h8300.md: Likewise.
413
414 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
415
416         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
417         (asm_emit_uninitialised): Likewise.
418
419 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
420
421         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
422         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
423
424 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
425
426         * config/mips/mips.c (override_options): Don't turn on extra
427         alignment for mips16.
428
429 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
430
431         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit 
432         eabi, and make sure queued POSTINCREMENT rtl is emitted at 
433         the right point.
434
435 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
436
437         * builtins.c (PAD_VARARGS_DOWN): Define. 
438         (std_expand_builtin_va_arg): Use the above macro.
439         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
440         * tm.texi (Register Arguments): Document the above macro.
441         
442 2000-01-14  Nick Clifton  <nickc@cygnus.com>
443
444         * emit-rtl.c (emit_insn): If checking is enabled, make sure
445         that this function has not been used to emit a jump
446         instruction.
447
448         * jump.c (return_jump_1): Cope with being passed a null rtx.
449
450 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
451
452         * eh-common.h: PROTO -> PARAMS.
453         * emit-rtl.c: Likewise.
454         * errors.c: Likewise.
455         * errors.h: Likewise.
456         * except.c: Likewise.
457         * except.h: Likewise.
458         * explow.c: Likewise.
459         * expmed.c: Likewise.
460         * expr.c: Likewise.
461         * expr.h: Likewise.
462         * final.c: Likewise.
463         * fix-header.c: Likewise.
464         * flow.c: Likewise.
465         * fold-const.c: Likewise.
466         * function.c: Likewise.
467         * function.h: Likewise.
468         * gcc.c: Likewise.
469         * gcov-io.h: Likewise.
470         * gcov.c: Likewise.
471         * gcse.c: Likewise.
472
473 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
474
475         * sh-protos.h: New file.
476
477         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
478         Add static prototypes.  Fix compile time warnings.
479         
480         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
481         * sh.md: Likewise.
482         * elf.h: Likewise.
483
484 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
485
486         * arc-protos.h: New file.
487
488         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
489         time warnings.
490         
491         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
492         warnings.
493         
494         * arc.md: Likewise.
495
496 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
497
498         * dsp16xx-protos.h: New file.
499
500         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
501         time warnings.
502         
503         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
504         warnings.
505         
506         * dsp16xx.md: Likewise.
507
508 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
509
510         * convex-protos.h: New file.
511
512         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
513         time warnings.
514         
515         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
516         warnings.
517
518 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
519
520         * elxsi-protos.h: New file.
521
522         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
523         time warnings.
524         
525         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
526         warnings.
527         
528         * elxsi.md: Likewise.
529
530 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
531
532         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
533         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
534         match the comment for MIPS16.
535
536 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
537
538         * flow.c (split_edge): Do not call set_block_for_insn if we
539         do not have a basic_block_for_insn structure.
540
541         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
542         and destination functions are 32bit aligned within the trampoline.
543         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
544         (TRAMPOLINE_ALIGNMENT): Define.
545
546         * cse.c (cse_insn): When changing (set (pc) (reg)) to
547         (set (pc) (label_ref)), verify the change creates a valid insn.
548
549         * fr30.c (call_operand): Tighten and rework to match rules for
550         call RTL expressions.
551         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
552         * fr30.md (call patterns): Improve constraints.
553
554 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
555
556         * fr30.c (fr30_expand_epilogue): Revert last change.
557         Use emit_jump_insn for the return insn.
558
559 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
560                           Stan Cox  <scox@cygnus.com>
561
562         * predict.c: New file. Preliminary infrastructure work for static
563         branch prediction and basic block reordering.
564         * basic-block.h: Add prototype for estimate_probability.
565         * Makefile.in: Add rules for predict.o.
566
567 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
568
569         * fixincludes (va_list): Use __not_va_list__ for the dummy.
570         * fixinc/*: Likewise.
571
572 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
573
574         * cccp.c: PROTO -> PARAMS.
575         * cexp.y: Likewise.
576         * collect2.c: Likewise.
577         * combine.c: Likewise.
578         * convert.h: Likewise.
579         * cse.c: Likewise.
580         * dbxout.c: Likewise.
581         * dbxout.h: Likewise.
582         * diagnostic.c: Likewise.
583         * doprint.c: Likewise.
584         * dwarf2out.c: Likewise.
585         * dwarf2out.h: Likewise.
586         * dwarfout.c: Likewise.
587         * dwarfout.h: Likewise.
588         * dyn-string.h: Likewise.
589
590 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
591
592         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
593         macro conditionals guarding use.
594
595         * dwarf2out.c: Include "tm_p.h".
596
597         * function.c (locate_and_pad_parm): Mark parameter with
598         ATTRIBUTE_UNUSED.
599         (expand_function_end): Likewise for variable `context'.
600
601         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
602
603 2000-01-13  Nick Clifton  <nickc@cygnus.com>
604
605         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
606         register to prevent compile time warnings.
607
608 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
609
610         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
611         to avoid -Wtraditional warning.
612
613 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
614
615         * 1750a-protos.h: New file.
616
617         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
618         time warnings.
619         
620         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
621         warnings.
622         
623         * 1750a.md: Likewise.
624
625 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
626
627         * a29k-protos.h: New file.
628
629         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
630         time warnings.
631         
632         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
633         warnings.
634
635 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
636
637         * clipper-protos.h: New file.
638
639         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
640         time warnings.
641         
642         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
643         warnings.
644
645 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
646
647         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
648
649 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
650
651         * configure.in (--enable-new-gxx-abi): New option.
652         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
653         * Makefile.in (GXX_ABI_FLAG): New variable.
654         * configure: Regenerate.
655
656 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
657
658         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
659         * tm.texi (FORCE_STRUCT_BLK): Document.
660         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
661
662 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
663
664         * config/ns32k/ns32k.md: Revert Jan 9 change.
665
666         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
667         to a mode-test, if the predicate is address_operand.
668
669 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
670
671         * combine.c (if_then_else_cond): Be careful about what kinds
672         of RTL expressions are passed to operand_subword.
673
674         * flow.c (split_edge): If we have to insert a new jump, make
675         sure to associate it with a basic block.
676
677         * flow.c (commit_one_edge_insertion): A block with one successor
678         can end in a JUMP_INSN that is not a simplejump.
679
680 2000-01-12  Robert Lipe  <robertl@sco.com>
681
682         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
683         (BUILD_VA_LIST_TYPE): Define.
684         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
685         with crtstuff.c.
686
687 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
688
689         * cccp.c (do_pragma): Add cast to (char *).
690
691 2000-01-12  Richard Henderson  <rth@cygnus.com>
692             Fred Fish  <fnf@be.com>
693             Jason Merrill  <jason@cygnus.com>
694
695         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
696         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
697         * i386/beos-elf.h, i386/beos-pe.h: New files.
698
699         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
700         * cross-make (SYSTEM_HEADER_DIR): Define using
701         CROSS_SYSTEM_HEADER_DIR.
702
703         * gcc.c (LIBRARY_PATH_ENV): Provide default.
704         (process_command): Use it.
705         (main): Likewise.  Kill trailing = from env vars.
706         (build_search_list): Put it back.
707         * collect2.c (main): Use LIBRARY_PATH_ENV.
708
709         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
710         * toplev.c: Use NEED_DECLARATION_ENVIRON.
711
712         * tm.texi (Frame Layout): Document SMALL_STACK.
713         * c-common.c (c_common_nodes_and_builtins): Check it.
714
715         * system.h: Undef alloca after including glibc's <stdlib.h>,
716         if USE_C_ALLOCA is defined.
717
718         * gcc.c (set_input): New fn.
719         (main): After all input files are compiled, reset the input file
720         info to the first.
721
722         * aclocal.m4 (rindex, index): If already defined, don't attempt
723         to redefine.
724
725         * ginclude/varargs.h: (__va_list__): Define ifndef.
726         * ginclude/stdarg.h: Likewise.
727
728         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int 
729         instead of unsigned char.
730
731         * hash.h (true, false, boolean): Undef before enum.
732
733         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
734         proper type of "HOST_WIDE_INT *", rather than their natural type of
735         "unsigned HOST_WIDE_INT *".
736
737 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
738
739         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
740
741         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
742
743         * regclass.c (choose_hard_reg_mode): Likewise.
744
745         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
746
747         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
748
749 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
750
751         * c-common.c: PROTO -> PARAMS.
752         * c-common.h: Likewise.
753         * c-decl.c: Likewise.
754         * c-iterate.c: Likewise.
755         * c-lang.c: Likewise.
756         * c-lex.c: Likewise.
757         * c-lex.h: Likewise.
758         * c-parse.in: Likewise.
759         * c-pragma.c: Likewise.
760         * c-pragma.h: Likewise.
761         * c-tree.h: Likewise.
762         * c-typeck.c: Likewise.
763         * objc/objc-act.c: Likewise.
764         * objc/objc-act.h: Likewise.
765
766 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
767
768         * m88k-protos.h: New file.
769
770         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
771         time warnings.
772         
773         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
774         
775         * m88k.md: Likewise.
776
777         * tekXD88.h: Likewise.
778
779 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
780
781         * m68k-protos.h: New file.
782
783         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
784         time warnings.
785         
786         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
787         
788         * mot3300.h: Likewise.
789
790 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
791
792         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
793         extract_bitlst.
794         (extract_bitlist): Declare bitlen.
795
796 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
797
798         * cccp.c: Accept and ignore -lang-fortran.
799
800         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
801         qualifiers don't match at any level of pointerness.
802
803 2000-01-12  Robert Lipe  <robertl@sco.com>
804
805         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
806
807 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
808
809         * reload1.c (reload_reg_unavailable): New static variable.
810         (reload_reg_free_p): Test it.
811         (reload_reg_free_for_value_p): Test it instead of
812         reload_reg_used.
813         (choose_reload_regs_init): Compute it.
814
815 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
816
817         * reorg.c (fill_slots_from_thread): Check modified_in_p
818         before replacing.
819
820 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
821
822         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
823         these nodes even if INTERNALS is not set.
824
825 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
826
827         * gcse.c (delete_null_pointer_checks_1): Cope when
828         get_condition cannot determine the condition.
829
830 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
831  
832        * toplev.h (set_message_length): Declare.
833  
834        * diagnostic.c (obstack_chunk_alloc): Define macro.
835        (obstack_chunk_free): Likewise.
836        (struct output_buffer): New data structure.
837        (vmessage): Remove.
838        (output_maximum_width): New variable.
839        (doing_line_wrapping, set_message_length, init_output_buffer,
840        get_output_prefix, output_space_left, emit_output_prefix,
841        output_newline, output_append, output_puts, dump_output,
842        vbuild_message_string, build_message_string, build_location_prefix,
843        voutput_notice, output_printf, line_wrapper_printf,
844        vline_wrapper_message_with_location):  New functions. Implement
845        automatic line wrapping.
846        (v_message_with_decl): Make it handle automatic line wrapping.
847        (v_error_with_file_and_line): Likewise.
848        (v_warning_with_file_and_line): Likewise.
849        (announce_function): Likewise.
850        (default_print_error_function): Likewise.
851         
852 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
853
854         * cpplib.h (struct cpp_options): Change lang_asm to char.
855         Add lang_fortran.
856         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
857         done in cpp_handle_option now.
858         (initialize_builtins): Take out special case code used only by
859         __STDC_VERSION__.
860         (cpp_handle_option): Turn off trigraphs and trigraph warnings
861         if -traditional.  Recognize -lang-fortran and set
862         lang_fortran, also turn off cplusplus_comments.
863         (print_help): Document -lang-fortran.
864         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
865         lang_asm. Ignore all directives other than `# 123 "file"' if
866         CPP_PREPROCESSED.
867         (cpp_get_token): If -traditional, don't recognize directives
868         unless the # is in column 1.
869         (parse_string): If lang_fortran or lang_asm, silently
870         terminate strings ('' or "") at end of line.
871         Remove unnecessary braces.
872
873 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
874             Richard Henderson  <rth@cygnus.com>
875
876         * resource.c (mark_referenced_resources): Mark a set strict_low_part
877         as used.
878         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
879         strict_low_part when possible.
880
881 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
882
883         * alias.c: PROTO -> PARAMS.
884         * basic-block.h: Likewise.
885         * bitmap.c: Likewise.
886         * bitmap.h: Likewise.
887         * builtins.c: Likewise.
888         * c-aux-info.c: Likewise.
889         * caller-save.c: Likewise.
890         * calls.c: Likewise.
891
892 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
893
894         * Makefile.in (toplev.o): Depend on regs.h.
895
896         * output.h (tdesc_section): Prototype.
897
898         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
899
900         * sdbout.c: Include "tm_p.h".
901
902         * toplev.c: Include "regs.h".
903
904 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
905
906         * unroll.c (unroll_loop): Add EH support.
907
908 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
909
910         * pa-protos.h: New file.
911
912         * pa.c: Include recog.h and tm_p.h.
913         (compute_zdepwi_operands, compute_movstrsi_length,
914         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
915         find_addr_reg, import_milli): Add static prototypes.
916         (pa_cpu_string, pa_arch_string): Constify a char*.
917         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
918         (read_only_operand): Add argument `mode'.
919         (singlemove_string, output_move_double, output_fp_move_double,
920         output_block_move, output_and, output_ior, output_ascii,
921         remove_useless_addtr_insns, milli_names, output_mul_insn,
922         output_div_insn, output_mod_insn, output_arg_descriptor,
923         output_cbranch, output_bb, output_bvb, output_dbra, ,
924         output_millicode_call, output_call, hppa_encode_label,
925         output_parallel_movb, output_parallel_addb): Constify a char*.
926         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
927         (output_parallel_addb): Remove extra arg to `constrain_operands'
928
929         * pa.h:  Move all prototypes to pa-protos.h.
930         (pa_cpu_string, pa_arch_string): Constify a char*.
931         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
932
933         * pa.md: Call `function_label_operand' with mode argument.
934         Likewise for `read_only_operand'.
935         Fix nesting of parens in call to `symbolic_operand'.
936         
937 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
938
939         * i860-protos.h: New file.
940
941         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
942         time warnings.
943         
944         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
945         
946         * i860.md: Likewise.
947
948 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
949
950         * i386.md (movstrsi expander): Rewrite.
951         (movstrsi_1 insn): Deleted.
952         (strmovhi, strmovqi expander): New expanders.
953         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
954         * i386.c (x86_single_stringop): New global variable.
955         * i386.h (x86_single_stringop): Declare.
956         (TARGET_SINGLE_STRINGOP): New macro.
957
958 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
959
960         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
961         integer vararg POSTINCREMENT before the destination of the jump
962         for the hard fp case. 
963         (function_arg_pass_by_reference): Pass a copy of CUM to 
964         FUNCTION_ARG.
965         
966         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
967         for CONSTANT_ADDRESS_P above while loop for subreg.
968
969 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
970
971         * flow.c (propagate_block): When a prologue/epilogue insn
972         is marked dead, unconditionally clear libcall_is_dead and
973         insn_is_dead, and only dump rtl if warnings aren't being
974         suppressed.
975
976 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
977
978         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
979         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
980         (FIXED_REGISTERS): Set dirflag as fixed.
981         (CALL_USED_REGISTERS): Set dirflag as used.
982         (REG_ALLOC_ORDER): Set dirflag as last one.
983         (DIRFLAG_REG): New macro.
984         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
985         (HI_REGISTER_NAMES): Add dirflag.
986         (DEBUF_PRINT_REG): Handle dirflag.
987         * i386.md (type attribute): New cld and str types.
988         (length_opcode attribute): Set cld and str to 1.
989         (memory attribute): Set str to unknown - it is not clear from the
990         patterns.
991         (pent_np function unit): Prefixed string operations takes 12 cycles
992         minimally; cld takes 2 cycles.
993         (ppro_uops attribute): Str is "many" and cld is "few".
994         (ppro_p0 unit): Handle cld here.
995         (k6_alux unit): Handle cld and str types.
996         (k6_load unit): It is ocupied by str opcodes.
997         (k6_store unit): It is ocupied by str opcodes.
998         (athlon_decode): Str is vector decoded.
999         (athlon_ieu): Handle str and cld.
1000         (cld pattern): New.
1001         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
1002         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
1003         cmpstrsi_nz_1 insn): Do not output cld instruction
1004
1005 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
1006
1007         * gcc.texi (G++ and GCC): Add Java and Chill.
1008         (Bug Critera): Don't list languages.
1009
1010         * gcc.texi (Incompatibilities): No longer claim most C compilers
1011         are K&R.
1012
1013         * gcc.texi (G++ and GCC): Update other front-ends list.
1014
1015 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
1016
1017         * i386.c (ix86_expand_setcc): Fix typo.
1018         (ix86_expand_movcc): Similarly.
1019
1020         * Band-aid until haifa's bitset implementation is nuked.
1021         * haifa-sched.c (extract_bitlst): New parameter for size of the
1022         bitset in bits.  All callers changed.  Avoid looking at undefined
1023         bits in the bitset.
1024         (edgeset_bitsize): New variable.
1025         (schedule_region): Initialize edgeset_bitsize.
1026
1027 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1028
1029         * Makefile.in (optabs.o): Depend on real.h
1030         (resource.o): Depend on insn-attr.h
1031
1032         * builtins.c (result_vector): Wrap prototype in macro conditions
1033         governing definition and use.
1034
1035         * c-common.c: Include tm_p.h.
1036
1037         * c-lex.c: Likewise.
1038
1039         * elfos.h: Constify a char*.
1040
1041         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
1042         (get_attr_length, shorten_branches, profile_after_prologue): Mark
1043         parameter with ATTRIBUTE_UNUSED.
1044
1045         * fold-const.c (exact_real_inverse): Wrap variable `i' in
1046         CHECK_FLOAT_VALUE.
1047
1048         * haifa-sched.c (schedule_insns): Mark parameter with
1049         ATTRIBUTE_UNUSED.
1050
1051         * optabs.c: Include real.h.
1052
1053         * real.h (ereal_atof): Add prototype arguments.
1054
1055         * resource.c: Include insn-attr.h.
1056
1057         * sdbout.c (sdbout_queue_anonymous_type,
1058         sdbout_dequeue_anonymous_types): Wrap in macro
1059         SDB_ALLOW_FORWARD_REFERENCES.
1060         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
1061         ATTRIBUTE_UNUSED.
1062
1063         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
1064
1065         * stupid.c: Include tm_p.h.
1066
1067         * tree.c (real_value_from_int_cst): Mark parameter with
1068         ATTRIBUTE_UNUSED.
1069
1070 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1071
1072         * i960-protos.h: New file.
1073
1074         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
1075         time warnings.
1076         
1077         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
1078
1079 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1080
1081         * combine.c (expand_field_assignment): Do not discard SUBREGs
1082         while computing nonzero_bits.
1083
1084 2000-01-09  Nick Clifton  <nickc@cygnus.com>
1085
1086         * config/arm/arm.c: Fix compile time warnings about signed vs
1087         unsigned constants.
1088         * config/arm/arm.h: Fix compile time warnings about signed vs
1089         unsigned constants.
1090
1091 2000-01-09  Philip Blundell  <philb@gnu.org>
1092
1093         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
1094         than `ldm' with only one register.
1095         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with 
1096         only one register.
1097
1098         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
1099         clobbered.
1100
1101 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
1102
1103         * config/ns32k/ns32k.md (load or push effective address): Operand 1
1104         must have SImode.
1105
1106 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1107
1108         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1109         assignment used as truth value.
1110
1111         * function.c (assign_temp): Mark parameter `dont_promote' with
1112         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
1113         PROMOTE_FOR_CALL_ONLY.
1114
1115         * genrecog.c (write_subroutine): Mark variable `operands' with
1116         ATTRIBUTE_UNUSED.
1117
1118         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
1119         ATTRIBUTE_UNUSED.
1120
1121         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
1122         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
1123
1124         * toplev.c (note_deferral_of_defined_inline_function): Likewise
1125         for `decl'.
1126
1127 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1128
1129         * config/c4x.h: Tidy up comments.
1130         * config/c4x.c: Likewise.
1131
1132 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
1133
1134         * fold-const.c (lshift_double, rshift_double): Handle
1135         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
1136
1137 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1138
1139         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
1140         in prepare_function_start().
1141
1142 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
1143
1144         * config/v850/v850.c (expand_epilogue): Interrupt functions no
1145         longer allocate extra stack for function calls.
1146
1147 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1148
1149         * config/c4x/c4x.md (*subqf3_set): Fix typo.
1150
1151 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1152         
1153         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
1154
1155 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
1156
1157         * rs6000.c (processor_target_table): Add power3 as alias for 630.
1158         * aix43.h: Revert Aug 2 change.
1159         (HAS_INIT_SECTION): Define, not visible yet.
1160         (LD_INIT_SWITCH): Define, not visible yet.
1161         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
1162
1163         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
1164
1165         * collect2.c (main): Expand ld2 size further.
1166         (export_object_lst): Cast assignment to avoid warning.
1167         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
1168         (scan_prog_file, COFF): Do not collect initialization or
1169         finalization functions generated for entire shared object if
1170         init/fini support present.
1171
1172 2000-01-07  Nick Clifton  <nickc@cygnus.com>
1173
1174         * config/elfos.h: Tidy up formatting of marcos.  Make sure
1175         that .section directives are always prefixed by a tab.
1176
1177         * config/svr4.h: Add #include "elfos.h" and remove duplicate
1178         definitions.
1179
1180 2000-01-07  Matt Austern  <austern@sgi.com>
1181
1182         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
1183         expon.
1184
1185 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
1186
1187         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
1188         crtstuff.c.
1189         (crtbegin.o, s-crtS): Likewise.
1190
1191 2000-01-06  Richard Henderson  <rth@cygnus.com>
1192
1193         * alpha.md (adddi_2+1): Limit offset such that it will be
1194         loadable with a single ldah+lda pair.
1195         (adddi_2+2): Explicitly fail split if we can't make it work.
1196
1197 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
1198
1199         * protoize.c: Conditionally include unistd.h.
1200         (IS_SAME_PATH_CHAR): New macro.
1201         (IS_SAME_PATH): New macro.
1202         (CPLUS_FILE_SUFFIX): New macro.
1203         (cplus_suffix): New static variable.
1204         (is_abspath): New static function.
1205         (in_system_include_dir): Handle DOS style pathnames.
1206         (file_could_be_converted): Likewise.
1207         (file_normally_convertible): Likewise.
1208         (directory_specified_p): Likewise.
1209         (file_excluded_p): Likewise.
1210         (abspath): Likewise.
1211         (shortpath): Likewise.
1212         (referenced_file_is_newer): Likewise.
1213         (save_def_or_dec): Likewise.
1214         (do_processing): Likewise.
1215         (main): Likewise.
1216         (edit_file): Likewise. Use rename instead of link.
1217         (rename_c_file): Likewise. Don't rename syscalls file.
1218         (munge_compile_params): Define null device for DOS based systems.
1219         (process_aux_info_file): Use binary mode if appliable.
1220         (edit_file): Likewise.
1221         * invoke.texi (Running Protoize): Document C++ suffixes used. 
1222   
1223         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
1224         IS_DIR_SEPARATOR macros.
1225         * collect2.c: Likewise.
1226         * cppinit.c: Likewise.
1227         * dwarf2out.c: Likewise.
1228         * gcc.c: Likewise.
1229         * gcov.c: Likewise.
1230         * prefix.c: Likewise.
1231         * rtl.c: Likewise.
1232         * toplev.c: Likewise.
1233         * system.h: And move to here.
1234
1235         * prefix.c (update_path): Fix typo in variable name.
1236
1237 2000-01-06  Richard Henderson  <rth@cygnus.com>
1238
1239         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
1240         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
1241         (count_reg_sets_1, count_reg_references): Likewise.
1242         (flow_loops_level_compute): Start counting actual loop depth at 1.
1243         (flow_loops_find): Likewise.
1244         * local-alloc.c (update_equiv_regs): Likewise.
1245         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
1246
1247 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1248  
1249        * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
1250        FIRST_PSEUDO_REGISTER 
1251        * dwarf2out.c: Don't include frame.h    
1252        * dwarfout.c: Likewise
1253        * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
1254        frame.h 
1255         
1256 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
1257
1258         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1259         dead registers.
1260
1261         * i386.c (movsf splitter): Fix typo in my last checkin.
1262
1263 2000-01-05  Nick Clifton  <nickc@cygnus.com>
1264
1265         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
1266         own definition of this macro.
1267         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
1268         flag_data_sections or UNIQUE_SECTION_P are true.
1269
1270         * tm.texi (UNIQUE_SECTION): Document that it can be called for
1271         unitialised data decls.
1272
1273         * config/i386/winnt.c (i386_pe_unique_section): Cope with
1274         being called for uninitialised data.
1275
1276         * config/i386/interix.c (i386_pe_unique_section): Cope with
1277         being called for uninitialised data.
1278
1279         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
1280         for uninitialised data. 
1281
1282         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
1283         for uninitialised data. 
1284
1285         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
1286         for uninitialised data. 
1287
1288         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
1289         (UNIQUE_SECTION_P): Always generate a unique section if
1290         flag_data_sections is true.
1291         (UNIQUE_SECTION): Also generate unique sections for
1292         uninitialised data.
1293         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
1294         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
1295         named_section(). 
1296         
1297 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1298
1299         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
1300         SI, or DI.
1301
1302 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1303         
1304         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
1305         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
1306         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
1307         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
1308         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
1309
1310         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
1311
1312 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
1313
1314         * c-decl.c (finish_enum): Simplify code to determine minimum and
1315         maximum values of the enum, and calculate the type.  Remove check
1316         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
1317         the DECL_INITIAL of each enumeration constant with a copy converted
1318         to the enumeration type.  When updating variant types, don't bother
1319         updating the type itself.
1320
1321         * c-typeck.c (build_binary_op): Simplify conditional expressions
1322         when weeding out spurious signed-unsigned warnings.  Add new
1323         spurious warning category: if the unsigned quantity is an enum
1324         and its maximum value fits in signed_type(result_type).  Update
1325         commentary.
1326         (build_conditional_expr): Warn here if one alternative is signed
1327         and the other is unsigned.
1328
1329 2000-01-05  Nick Clifton  <nickc@cygnus.com>
1330
1331         * config/fr30/fr30.h: Remove extraneous comments.
1332
1333 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
1334
1335         * reload1.c (choose_reload_regs): When disabling a reload, also
1336         set reload_spill_index to -1.
1337
1338 2000-01-04  Joel Sherrill (joel@OARcorp.com>
1339
1340         * configure.in (m68*-*-rtemscoff*): New target, formal name for
1341         old m68*-*-rtems*.
1342         (m68*-*-rtemself*): New target.
1343         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
1344         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
1345         (sparc*-*-rtemself*): New target.
1346         (sparc*-*-rtems*): Now elf not a.out.
1347         * config/i386/rtems.h: Include config/rtems.h.
1348         * config/i386/rtemself.h: Include config/rtems.h.
1349         * config/i960/rtems.h: Include config/rtems.h.
1350         * config/m68k/rtems.h: Include config/rtems.h.
1351         * config/m68k/rtemself.h: Include config/rtems.h.
1352         * config/mips/rtems64.h: Include config/rtems.h.
1353         * config/pa/rtems.h: Include config/rtems.h.
1354         * config/rs6000/rtems.h: Include config/rtems.h.
1355         * config/sh/rtems.h: Include config/rtems.h.
1356         * config/sh/rtemself.h: Include config/rtems.h.
1357         * config/sparc/rtems.h: Include config/rtems.h.
1358         * config/sparc/rtemself.h: Include config/rtems.h
1359
1360 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
1361
1362         * final.c (shorten_branches): Correctly compute length of
1363         asms without operands.
1364  
1365 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
1366
1367         * configure.in: Add pj target.
1368         * configure: Regenerate.
1369         * config/pj: New directory.
1370         * config/pj/lib1funcs.S: New file.
1371         * config/pj/linux.h: New file.
1372         * config/pj/pj.c: New file.
1373         * config/pj/pj.md: New file.
1374         * config/pj/pjl.h: New file.
1375         * config/pj/t-pj: New file.
1376         * config/pj/xm-pj.h: New file
1377
1378 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
1379
1380         * toplev.c (rest_of_compilation): Run shorten-branches before
1381         reg-stack for now.
1382
1383 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1384
1385         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of 
1386         macros so that they're consistent with their names.
1387         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1388         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1389
1390 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1391
1392         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
1393         modified inadvertently.
1394
1395 2000-01-04  Joel Sherrill <joel@OARcorp.com>
1396
1397         * configure.in (v850*-*-rtems*): New target.
1398         * configure: Regenerate.
1399         * config/v850/rtems.h: New file.
1400
1401 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1402
1403         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
1404         (__gthread_key_create): Likewise. 
1405         (__gthread_key_dtor):  Likewise.
1406         (__gthread_once): Fix logic.
1407         (__gthread_key_delete): Cast away constness.
1408
1409         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
1410         * invoke.texi: Document.
1411         * i386/mingw32.h (CPP_SPEC): Use.
1412         (LIBGCC_SPEC): Likewise.
1413         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
1414
1415 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
1416
1417         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
1418         (HANDLE_PRAGMA_PACK): Undefine.
1419         (SLOW_UNALIGNED_ACCESS): Define.
1420
1421 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
1422
1423         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1424         to default definition.
1425         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
1426         (store_fixed_bit_field): Call macro with word_mode and alignment.
1427         (extract_bit_field): Call macro with relevant mode and alignment.
1428         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1429         to default definition.
1430         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
1431         and alignment.
1432         (move_by_pieces_ninsns): Likewise.
1433         (clear_by_pieces): Likewise.
1434         (emit_push_insn): Likewise.
1435         (store_field): Call macro with relevant mode and alignment.
1436         (expand_expr): Likewise.
1437         (expand_expr_unaligned): Likewise.
1438
1439         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
1440         (SLOW_UNALIGNED_ACCESS): Define.
1441         (CASE_VECTOR_MODE): Always use 32-bit offsets.
1442         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
1443         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
1444         (toc_section): Likewise and .toc pseudo-op.
1445         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
1446         64-bit mode.
1447         (TEXT_SECTION_ASM_OP): Likewise.
1448         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
1449         32-bit offsets.
1450
1451         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
1452         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
1453         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
1454         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
1455         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
1456
1457 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
1458
1459         * regclass.c: Revert my Jan 4 change to loop cost computation.
1460
1461 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1462
1463         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
1464         compilation.
1465
1466 2000-01-04  Stan Cox  <scox@cygnus.com>
1467
1468         * haifa-sched.c (build_control_flow): Change unreachable simple
1469         loop test to check if current block has only one predecessor.
1470         (find_rgns): Initialize degree.  Use dest as degree index, not src.
1471
1472 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1473
1474         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
1475
1476         * calls.c (expand_call): Likewise for
1477         `old_stack_arg_under_construction'.
1478
1479         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
1480
1481         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
1482         `save_constant'.
1483
1484         * gcc.c (execute): Likewise for `ut' and `st'.
1485
1486         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
1487
1488         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
1489
1490         * jump.c (jump_optimize_1): Likewise for `temp2'.
1491
1492         * local-alloc.c (block_alloc): Likewise for `r1'.
1493
1494         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
1495
1496         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
1497         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
1498         
1499         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
1500         and `set2'.
1501
1502         * reload.c (find_reloads): Likewise for `goal_alternative_number'
1503         and `goal_earlyclobber'.
1504
1505         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
1506
1507         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
1508
1509         * stupid.c (stupid_life_analysis): Likewise for `chain'.
1510
1511         * unroll.c (copy_loop_body): Likewise for `copy'.
1512
1513         * varasm.c (output_constructor): Likewise for `byte'.   
1514
1515 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1516
1517         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
1518         all FP constants for constant->reg moves.
1519         (ix86_split_to_parts): Try to convert memory address into immediate
1520         when available in the constant pool.
1521         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
1522         moves.
1523         (LEGITIMATE_CONSTANT_P): Return 1.
1524         * i386.md (pushsf): New splitter to convert constant pool memory
1525         reference to immediate.
1526         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
1527         reload.
1528
1529 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
1530
1531         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
1532         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
1533         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
1534         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
1535         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
1536
1537 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
1538
1539         * ginclude/stdbool.h:  Support compilation as C++.
1540
1541 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1542
1543         * fold-const.c (make_range): Don't try to reverse an unbounded range.
1544
1545 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
1546
1547         * regclass.c (regclass): Properly compute loop_cost.  Adjust
1548         comments.
1549
1550         * regclass.c: Fix minor whitespace problems.
1551
1552 2000-01-03  Anthony Green  <green@cygnus.com>
1553         
1554         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
1555         Restore the pic register if required.
1556
1557 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1558
1559         * c-common.c (format_char_info): Update comment.
1560         (check_format_info): Recognize 'z' modifier in the same way 'Z'
1561         was recognized.  Emit warning for formats new in ISO C99 only
1562         if flag_isoc9x is not set.
1563
1564 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
1565
1566         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
1567
1568 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1569
1570         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
1571         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
1572         (make_compound_operation): Choose cheaper alternative between
1573         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
1574
1575         * regclass.c (op_costs): Remove global variable.
1576         (record_reg_classes): New parameter "op_costs" and "reg_pref".
1577         (record_operand_costs): Break out from ...
1578         (scan_one_insn): ... here.
1579         (dump_regclass): Make dumps nicer.
1580         (regclass): Dump preferrences choosed and changes done during passes.
1581
1582 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1583
1584         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
1585
1586 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1587
1588         * config/sparc/sparc.c (gen_df_reg): New function.
1589         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
1590         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
1591         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
1592         movtf_cc_reg_sp64+1): Use it.
1593
1594 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
1595
1596         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
1597         copied LABEL_DECLs.
1598
1599 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1600
1601         * config/i386/i386.c (ix86_expand_unary_operator): Function
1602         definition made void.
1603         (ix86_expand_binary_operator): Update outdated preceding comment.
1604         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
1605         prototype.
1606
1607         * config/i386/i386.c (override_options): Fix option-name typo.
1608
1609 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
1610
1611         * system.h (CEIL): Define.
1612         * builtins.c (CEIL): Remove.
1613         * expmed.c (CEIL): Likewise.
1614         * expr.c (CEIL): Likewise.
1615         * stor-layout.c (CEIL): Likewise.
1616         
1617 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1618
1619         * expr.c (store_constructor_field): Fix typo introduced with last
1620         gcc2 merge.
1621
1622 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
1623
1624         * tree.h (BINFO_N_BASETYPES): New macro.
1625
1626 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
1627
1628         * expmed.c (emit_store_flag): Prevent losing a pending stack
1629         adjust the same way we prevent losing queued increments.
1630
1631 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1632
1633         * function.c (update_temp_slot_address): Handle case where sum of
1634         temporary address plus offset in register is a valid address.
1635
1636 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
1637
1638         * genrecog.c (change_state) Corrected typo.
1639
1640 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1641
1642         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
1643         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
1644         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
1645
1646 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1647
1648         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
1649         case, expand GT comparisons correctly.  Fix a comment before this
1650         part of the code.
1651
1652 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1653
1654         * dwarfout.c: Include "frame.h" 
1655         * dwarf2out.c: Likewise.
1656         * Makefile.in (dwarfout.o): Depend on frame.h
1657         (dwarf2out.o): Likewise.
1658
1659 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
1660
1661         Restore i386 binary compatibility in Dwarf EH info.
1662         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
1663         value of FIRST_PSEUDO_REGISTER.
1664         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
1665         (struct frame_state): Use DWARF_FRAME_REGISTERS.
1666         * dwarfout.c (output_reg_number): Ditto.
1667         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
1668         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
1669
1670 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
1671
1672         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
1673         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
1674         (<hack>_RE_CT): not needed
1675         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
1676         rewritten to scan the file text once only
1677         "template<..." test added
1678         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
1679         (is_cxx_header): declaration added
1680         * fixinc/fixtests.c(is_cxx_header): removed
1681         (apply_fix_p_t): removed
1682         (double_slash_test): is_cxx_header is only called once now
1683         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
1684         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
1685         within the templates.
1686         The borken spelling of "broken" was fixed.
1687         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
1688         The default level depends on FIXINC_DEBUG.
1689
1690 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1691
1692         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
1693         Otherwise provide a declaration for atexit.
1694         (init_dummy): Make sure dummy call to atexit is nevertheless
1695         called with correct number of args.
1696
1697         * frame.c: Update comments referring to other files.
1698         
1699         * libgcc2.c: Likewise.
1700
1701 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1702
1703         * cse.c (free_element, get_element): Remove unused prototypes.
1704
1705         * fold-const.c (extract_muldiv): Initialize variables `op0' and
1706         `op1'.
1707
1708         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
1709         `else' clauses.
1710
1711 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
1712
1713         * configure.in,configure: case arm for mn10200-*-* now sets
1714         float_format=i32 so that float.h will correctly claim "double"
1715         to be 32 bits. Ran autoconf to generate configure from .in file.
1716
1717 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
1718
1719         * pa.md (conditional zero): If op1 is a register, force it into
1720         the same register as op0.
1721
1722 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
1723
1724         * tree.h (BINFO_BASETYPES): Improve documentation.
1725
1726 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1727
1728         * configure.in (--enable-checking): Use a more portable `for'
1729         loop syntax.
1730
1731 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1732
1733         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
1734         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
1735
1736         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
1737         Delete files.
1738
1739         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
1740         Delete descriptions.
1741
1742         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
1743         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
1744         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
1745         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
1746         xm-svr4.h: Remove all instances of sys_siglist handling.
1747
1748 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
1749
1750         * config/sparc/sparc.md (cmp_zero_qi,
1751         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
1752         cmp_zero_extendqidi2_andcc_set): New patterns.
1753
1754 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
1755
1756         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
1757         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
1758         (fpgnulib.c, xfgnulib.c): Add rules.
1759         * m68k/t-mot3300-gas: Likewise.
1760
1761 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
1762
1763         * configure.in: Avoid [[ by using test and changequote.  Add
1764         changequote required by 1999-12-14 change.
1765         * configure: Rebuild.
1766
1767 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
1768
1769         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
1770
1771 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
1772
1773         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
1774         * flow.c (find_use_as_address): Likewise.
1775         * function.c (fixup_var_refs_1): Likewise.
1776         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
1777         * jump.c (invert_exp, redirect_exp): Likewise.
1778         * loop.c (replace_call_address): Likewise.
1779         (count_nonfixed_reads): Likewise.
1780         * rtlanal.c (modified_between_p): Likewise.
1781         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
1782         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
1783         * unroll.c (remap_split_bivs): Likewise.
1784
1785 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1786
1787         * diagnostic.c (v_message_with_decl): Use .* format specifier
1788         instead of building the format specifier width manually.
1789
1790         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
1791         determining whether to provide a prototype.  Remove the
1792         sys_siglist clause in the conditional.
1793
1794 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1795
1796         * fold-const.c (operand_equal_p): Use memcmp to compare string
1797         constants.
1798         Suggested by D. J. Bernstein
1799
1800 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
1801
1802         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
1803         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
1804         compiling libgcc2.
1805         * config/mips/mips.h (TARGET_64BIT): Likewise.
1806         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
1807         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
1808         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
1809         dsps.  Give routines proper names if SI/DI modes are not used.
1810         * longlong.h: Use DWunion instead of DIunion.
1811
1812 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
1813
1814         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
1815         GC_CHECKING, GC_ALWAYS_COLLECT.
1816         * configure.in: Allow --enable-checking with an argument
1817         listing check modes to enable.
1818         * config.in, configure: Rebuilt.
1819         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
1820         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
1821         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
1822         ENABLE_GC_ALWAYS_COLLECT.
1823         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
1824         throughout.
1825         * tree.h, tree.c: Change ENABLE_CHECKING to
1826         ENABLE_TREE_CHECKING throughout.
1827
1828 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1829
1830         * fold-const.c (fold_truthop): Properly check for FP RHS.
1831
1832 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
1833
1834         * toplev.h (note_deferall_of_defined_inline_function): Declare.
1835         * toplev.c (note_deferral_of_defined_inline_function): New
1836         function, split out from ...
1837         (rest_of_compilation): ... here.  Use it.
1838         
1839 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1840
1841         * expr.c (store_constructor): Don't call clear_storage if size is
1842         variable.
1843
1844 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1845
1846         * Makefile.in (toplev.o): Depend on loop.h.
1847
1848         * dwarfout.c: Include tm_p.h.
1849
1850         * emit-rtl.c (restore_emit_status): Mark parameter with
1851         ATTRIBUTE_UNUSED.
1852
1853         * final.c (final_scan_insn): Likewise.
1854
1855         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
1856         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
1857         flow_depth_first_order_compute, flow_loop_pre_header_find,
1858         flow_loop_tree_node_add, flow_loops_tree_build,
1859         flow_loop_level_compute, flow_loops_level_compute,
1860         flow_loop_outside_edge_p): Add prototypes.
1861         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
1862
1863         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
1864         Mark with ATTRIBUTE_NORETURN.
1865
1866         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
1867
1868         * local-alloc.c (no_conflict_p): Likewise.
1869
1870         * loop.c (insert_bct): Hide definitions of variables with hidden
1871         usage.
1872         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
1873
1874         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
1875         with ATTRIBUTE_UNUSED.
1876         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
1877         (reg_scan): Likewise.
1878         
1879         * reload.c (find_reloads): Remove unused variables `changed'.
1880
1881         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
1882         away const-ness.
1883         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
1884         Remove unused variable `insn'.
1885         
1886         * toplev.c: Include loop.h.
1887         (report_file_and_line): Remove unnecessary prototype.
1888
1889         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
1890
1891         * unroll.c (biv_total_increment): Likewise.
1892         
1893 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1894
1895         * reload1.c (emit_input_reload_insns): Restore old behaviour
1896         wrt. 'special' reloads.
1897
1898 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
1899
1900         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
1901         hash.h.  (cse.c): Don't depend on hashtab.h.
1902
1903         * cse.c: Don't include hashtab.h.
1904         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
1905         of dead functions.
1906         * ggc-simple.c: Don't include hash.h.
1907
1908 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
1909
1910         * dwarf2out.c (add_abstract_origin_attribute): Call
1911         gen_abstract_function on our function context.
1912
1913 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
1914
1915         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
1916
1917 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1918
1919         * config/c4x/c4x.c (c4x_address_cost): Add statement to default 
1920         case in switch.
1921
1922 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1923
1924         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
1925         constraints to "a!r".
1926
1927 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
1928
1929         * Makefile.in (calls.o): Depend on function.h.
1930         (alias.o): Likewise.
1931
1932 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
1933
1934         * reload1.c (emit_reload_insns): Break out code and variables into...
1935         (input_reload_insns, other_input_address_reload_insns,
1936         other_input_reload_insns, input_address_reload_insns,
1937         inpaddr_address_reload_insns, output_reload_insns,
1938         output_address_reload_insns, outaddr_address_reload_insns,
1939         operand_reload_insns, other_operand_reload_insns,
1940         other_output_reload_insns): ... new static variables, and...
1941         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
1942         do_output_reload): ... new functions.
1943
1944 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1945
1946         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
1947
1948 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1949
1950         * md.texi: Add c4x constraints documentation.
1951
1952 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1953
1954         * config/i386/dgux.c (struct option): Rename to
1955         lang_independent_option.
1956         (struct m_options): Add description field.
1957         (output_options): Rename option type, add sep declaration, output
1958         ix86_cpu_string and ix86_arch_string only if set.
1959         (output_file_start): Rename option type.
1960
1961 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
1962
1963         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
1964         stmp-int-hdrs.
1965         (libgcc2.a): Similarly.
1966
1967 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
1968
1969         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
1970         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
1971         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
1972
1973 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
1974
1975         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
1976         Remove redundant initialization of "frexpon" and "expon".
1977
1978 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1979
1980         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
1981
1982         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
1983         (store_constructor_field, expand_expr): Pass new arg.
1984
1985 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
1986
1987         * Makefile.in (explow.o): Depend on function.h.
1988         
1989         * stor-layout.c (set_sizetype): Fix typo.
1990         
1991 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
1992
1993         * function.c (cfun): Renamed from current_function.  All users
1994         changed.
1995         * function.h (cfun): Rename declaration as well.
1996
1997         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
1998         to be of type regset_head, not regset.  All users changed by adding
1999         address operator.
2000         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
2001
2002 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2003
2004         * config/c4x/rtems.h: New file.
2005
2006 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
2007
2008         * reload1.c (spill_failure): Take class of failed reload as argument
2009         and print it.  Caller changed.
2010                 
2011 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2012
2013         * rs6000.h (SUBTARGET_DEFAULT): New macro.
2014         (TARGET_SWITCHES): Allow subtargets to default switches.
2015         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
2016
2017 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
2018
2019         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
2020         in a main program.
2021
2022 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
2023
2024         * cccp.c (main): Define __STDC_VERSION__ as necessary.
2025         * cppinit.c (cpp_handle_option): Likewise.
2026
2027         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
2028         determine when to define.
2029
2030 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
2031
2032         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
2033         cmove with mismatched test and data modes.
2034
2035 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
2036
2037         * c-typeck.c (c_expand_start_case): Don't warn for long switch
2038         in system headers.
2039
2040 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2041
2042         * alias.c: Minor reformatting.
2043         * flow.c: Likewise.
2044         * regs.h: Likewise.
2045         * stor-layout.c: Likewise.
2046         * fold-const.c: Likewise.
2047         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
2048         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
2049         not arg itself.
2050         (size_int_wide): Cache nodes even if garbage collecting.
2051         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
2052         of SAVE_EXPR has no side effects.
2053         * cse.c: Move a comment.
2054         * tree.c: Minor reformatting.
2055         (int_size_in_bytes): Return -1 if constant overflows.
2056
2057 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2058
2059         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
2060
2061 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
2062
2063         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
2064         after any change to c-parse.in, even if objc-parse.y didn't
2065         change.  Oops.
2066
2067 1999-12-18  David S. Miller  <davem@redhat.com>
2068
2069         * toplev.c (rest_of_compilation): Restore BLOCK tree
2070         reconstruction and branch shortening changes lost in
2071         December 18th change.
2072
2073 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
2074
2075         * config/arm/linux-elf.h: Change all instances of 
2076         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
2077         * config/arm/uclinux-elf.h: Likewise.
2078
2079 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
2080
2081         * toplev.c (notice, vmessage, v_message_with_file_and_line,
2082         v_message_with_decl, file_and_line_for_asm,
2083         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
2084         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
2085         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
2086         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
2087         pfatal_with_name, fatal_io_error, need_error_newline,
2088         last_error_function, last_error_tick, announce_function,
2089         default_print_error_function, print_error_function,
2090         report_error_function, fnotice, error_with_file_and_line,
2091         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
2092         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
2093         warning_with_decl, warning_for_asm, warning, pedwarn,
2094         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
2095         diagnostic.c
2096         (compile_file): Use fnotice instead of notice.  Adjust call.
2097
2098         * diagnostic.c: New file.
2099
2100         * Makefile.in (OBJS): Include diagnostic.o
2101         (diagnostic.o): Define dependence.
2102
2103 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2104
2105         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
2106         Tweak formatting.
2107
2108 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2109         
2110         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
2111
2112 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
2113
2114         * fixtests.c (is_cxx_header): New fn, split out of
2115         double_slash_test.
2116         (else_endif_label): Allow "#endif // comment" in C++ headers,
2117         as determined by is_cxx_header.
2118         * fixfixes.c (else_endif_label_fix): Update comment.
2119         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
2120         a tty.
2121         * genfixes: Correct double thinko in commandline parsing.
2122         * hackshell.tpl: Generate correct sh syntax for bypass
2123         entries.
2124
2125         * inclhack.def (all): Whenever an inserted preprocessor
2126         conditional is split over multiple lines, use double
2127         backslashes in this file so the fixed header will be readable.
2128
2129         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
2130         and add bypass entry for correct version of this header.
2131         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
2132         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
2133
2134         (hpux8_bogus_inlines): New fix, split from...
2135         (ultrix_atof_param) ... here.
2136         (math_expression): Add bypass entry keyed to glibc comment
2137         indicating the problem has been dealt with; disable
2138         unnecessary sed operations; update commentary.
2139         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
2140         add select and bypass entries, simplify shell operation.
2141         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
2142
2143         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
2144          ultrix_atof_param): Add select entry.
2145         (stdio_va_list, sunos_mather_decl): Add bypass entry.
2146         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
2147         comments with the fixes they describe.
2148
2149         * c-parse.in (string action): Do not warn about ANSI string
2150         concatenation in system headers.  Affects C parser only.
2151         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
2152
2153 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
2154
2155         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
2156         compiling libgcc2 the macro depends always on arch cpp defines.
2157
2158 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
2159
2160         * loop.c (insert_loop_mem): Don't record MEMs from inside 
2161         EXPR_LISTs.
2162
2163 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
2164
2165         * regclass.c (regclass): Do not use flowgraph when not optimizing.
2166
2167         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
2168         notes too, create one when replacement failed, attempt to simplify
2169         resulting notes.
2170         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
2171         or REG_EQUIV notes.
2172
2173 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
2174
2175         * crtstuff.c (__dso_handle): Declare.
2176         (__cxa_finalize): Likewise.
2177         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
2178         non-NULL.
2179
2180         * invoke.texi: Document -fuse-cxa-atexit.
2181         
2182         * tree.h (ptr_type_node): Document.
2183         (const_ptr_type_node): Likewise.
2184
2185 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2186
2187         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
2188         (optimize_reg_copy_2): Likewise.
2189         (optimize_reg_copy_3): Likewise.
2190         (fixup_match_2): Likewise.
2191         (regmove_optimize): Likewise.
2192         (fixup_match_1): Liekwise.
2193
2194         * i386.md (HI to SImode promoting splitters): Rewrite.
2195         (pushsf mem peep2): New.
2196         (testhi to andhi peep2): Remove.
2197         * i386.h (x86_promote_QImode): New.
2198         (TARGET_PROMOTE_QImode): New.
2199         (PREDICATE_CODES): Add promotable_binary_operator.
2200         * i386.c (x86_promote_QImode0: New.
2201         (promotable_binary_operator): New.
2202         * i386-protos.h (promotable_binary_operator): New.
2203
2204         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
2205         condition.
2206         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
2207
2208 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
2209
2210         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
2211         * function.c (insert_block_after_note): Remove.
2212         (retrofit_block): Likewise.
2213         (identify_blocks): Fix indentation.
2214         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
2215         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
2216         * function.h (insert_block_after_note): Remove prototype.
2217         (retrofit_block): Likewise.
2218         * integrate.c (expand_inline_function): Don't call
2219         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
2220         just expand_start_bindings.  Use the block_map to remap old
2221         NOTE_BLOCKs to new ones.
2222         (integrate_decl_tree): Keep track of remapped blocks.
2223         * integrate.h (struct inline_remap): Add block_map.
2224         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
2225         NOTE_BLOCK on the notes.
2226         (expand_start_bindings): Rename to ...
2227         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
2228         (expand_end_bindings): Set NOTE_BLOCK.
2229         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
2230         reconstruct the BLOCK tree.
2231         * tree.h (expand_start_bindings): Macroize.  Call ...
2232         (expand_start_bindings_and_block): New function.
2233         
2234 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
2235
2236         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
2237         to match the format.
2238
2239 1999-12-16  David S. Miller  <davem@redhat.com>
2240
2241         * expr.c (emit_move_insn_1): Only emit clobbers if one of
2242         the outputs is a SUBREG.
2243         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
2244         change.
2245
2246         * config/sparc/sparc.c (epilogue_renumber): Add default case
2247         to switch stmt.
2248
2249 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2250
2251         * toplev.c (rest_of_compilation): Run branch shortening after
2252         reg-stack.
2253
2254         * regclass.c (loop_depth): Remove
2255         (scan_one_insn): Do not handle LOOP_NOTE insns.
2256         (regclass): Go through basic blocks and set loop_cost
2257
2258 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
2259
2260         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
2261
2262 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2263
2264         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
2265         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
2266         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
2267
2268 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
2269
2270         * loop.c (insert_loop_mem): Ignore memory clobbers.
2271
2272         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
2273         to (OP A B).
2274
2275 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
2276
2277         * profile.c: Remove redundant #include "output.h".
2278
2279         * h8300.md (HImode preinc peephole): Fix typo.
2280
2281 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
2282
2283         * function.c (retrofit_block): Abort if we don't find a suitable insn.
2284         (insert_block_after_note): Abort if we don't have a previous block.
2285         Remove FN parameter.
2286         * function.h: Adjust.
2287
2288 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
2289
2290         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
2291         argument more than once.
2292
2293 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
2294
2295         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
2296
2297 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
2298
2299         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
2300
2301 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2302
2303         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
2304         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
2305         update stack_alignment_needed.
2306         (prepare_function_start): Initialize stack_alignment_needed
2307         * function.h (struct function): Add field stack_alignment_needed.
2308
2309 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2310
2311         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
2312         Handle live_throughout / dead_or_set instead of live_before /
2313         live_after.
2314         (save_call_clobbered_regs): Get register livenessinformation from
2315         chain->live_throughout.
2316         (add_stored_regs): New function.
2317         (insert_restore, insert_save): Add restored / saved registers to
2318         dead_or_set.
2319         * global.c (reg_dies): New parameter chain.
2320         (reg_becomes_live): Third parameter is regs_set now.
2321         Changed all callers.
2322         (reg_dies): New parameter chain.  Changed all callers.
2323         (build_insn_chain): Set live_throughout instead of
2324         live_before / live_after.
2325         * reload.h (struct insn_chain): Replace members live_before /
2326         live_after with live_throughout / dead_or_set.
2327         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
2328         instead of live_before / live_after.
2329         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
2330         (order_regs_for_reload, find_reg, finish_spills): Likewise.
2331         (choose_reload_regs_init): Likewise.
2332         * stupid.c (current_chain, find_clobbered_regs): Delete.
2333         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
2334         instead of chain->live_before / chain->live_after.
2335         (mark_hard_ref): New function.
2336         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
2337
2338 1999-12-15  David S. Miller  <davem@redhat.com>
2339
2340         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
2341
2342 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2343
2344         * flow.c (calculate_loop_depth): Make global, remove prototype,
2345         rewrite to use new loop infrastructure.
2346         (find_basic_block): Remove calculate_loop_depth call.
2347         * toplev.c (rest_of_compilation): Call find_basic_block.
2348         * output.h (calculate_loop_depth): Declare.
2349
2350         * flow.c (dump_flow_info): Dump loop_depth.
2351         (flow_loops_nodes_find): Increase loop_depth for basic block in the
2352         body.
2353         (flow_loops_find): Initialize the loop_depth for each basic block.
2354
2355 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
2356
2357         * tree.c (decl_function_context): Handle virtual functions.
2358
2359         * tlink.c (scan_linker_output): Don't look in demangled name when
2360         looking for linker output keywords.
2361
2362         * dwarfout.c (output_type): We can defer namespace-scope classes.
2363
2364 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
2365
2366         * regclass.c (record_reg_classes): Update comment for merging
2367         register class preferences in reg->reg copies.  Tighten conditions
2368         for merging register class preferences in reg->reg copies.
2369
2370 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
2371
2372         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
2373
2374 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
2375
2376         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
2377         (INIT_SECTION_ASM_OP): Delete.
2378         (FINI_SECTION_ASM_OP): Delete.
2379         (STARTFILE_SPEC): Define to hold just crtbegin.o.
2380
2381 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
2382
2383         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
2384         the abstract origin wasn't emitted.
2385
2386         * dwarf2out.c (class_scope_p): New fn.
2387         (gen_subprogram_die): Use it.
2388         (gen_variable_die): Use it.  Tweak logic.
2389         (gen_struct_or_union_type_die): Check context_die to determine
2390         if we're function-local.
2391         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
2392
2393 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2394
2395         * loop.c (check_dbra_loop): Can't reverse a biv that has
2396         maybe_multiple set.
2397
2398 1999-12-14  Nick Clifton  <nickc@cygnus.com>
2399
2400         * config/arm/arm.c: Add support for -mcpu=arm720 command line
2401         switch. 
2402
2403 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2404
2405         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
2406         for givs made from biv increments.
2407
2408 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
2409
2410         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
2411         * alpha.c (override_options): Recognize -mcpu=ev67.
2412         * alpha.h (CPP_CPU_EV67_SPEC): New.
2413         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
2414         (EXTRA_SPECS): Update.
2415
2416 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
2417
2418         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
2419         appropriate for -lang-c89 and -std=*.
2420         * cppinit.c (cpp_handle_option): Likewise.
2421         (new_pending_define): New, split out from cpp_handle_option.
2422         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
2423         or enable trigraphs for -ansi/-std=*.
2424
2425         * ginclude/stdarg.h (__va_copy): New.
2426         (va_copy): Don't define for C89.
2427
2428 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
2429
2430         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
2431         for long long multiply-accumulate.
2432
2433 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2434
2435         * regclass.c (scan_one_insn): Set loop_cost to 1 when
2436         optimizing for size.
2437
2438 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2439
2440         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
2441         if something changed.  Back out that part of yesterday's changes.
2442
2443         * loop.c (loop_max_reg): New static variable.
2444         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
2445         max_reg_num.
2446         (scan_loop): Call reg_scan_update whenever we may have added new
2447         registers, and update loop_max_reg.
2448
2449 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2450
2451         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
2452         when source does not die.
2453
2454         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
2455
2456 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
2457
2458         * config/sparc/linux64.h (TARGET_LIVE_G0,
2459         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
2460         variants on Linux.
2461         * config/sparc/linux.h (TARGET_LIVE_G0,
2462         TARGET_BROKEN_SAVERESTORE): Likewise.
2463         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2464         TARGET_BROKEN_SAVERESTORE): Likewise.
2465
2466         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
2467         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
2468         not %g2.
2469         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
2470         as sparc64 block profiling register.
2471         * config/sparc/sparc.c (sparc_override_options): Allow block
2472         profiling with -m32.
2473         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
2474         profiling register.
2475         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
2476         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
2477         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
2478
2479         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
2480         for sparc64.
2481         * config/sparc/sparc.h: Likewise.
2482         * config/sparc/xm-sysv4-64.h: Likewise.
2483         * config/float-sparc.h: Likewise.
2484         * glimits.h: Likewise.
2485         * longlong.h: Likewise.
2486
2487         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
2488         (ASM_IDENTIFY_GCC): Remove.
2489
2490 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2491
2492         * combine.c (combine_simplify_rtx): Don't make shared rtl.
2493         (simplify_logical): Likewise.
2494
2495 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
2496
2497         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
2498         * cppfiles.c (INO_T_EQ): Likewise.
2499
2500 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
2501
2502         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
2503         * i386/mingw32.h (LIB_SPEC): Likewise.
2504         (STARTFILE_SPEC): Likewise.
2505         * i386/uwin.h (LIB_SPEC): Likewise.
2506         (STARTFILE_SPEC): Likewise.
2507
2508         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
2509         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
2510
2511 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
2512
2513         * combine.c (combine_simplify_rtx): Fix order of checks for
2514         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
2515         
2516 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
2517
2518         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out 
2519         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
2520
2521 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
2522
2523         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
2524         defined.
2525         * regclass.c (inv_reg_alloc_order): New array.
2526         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
2527
2528         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
2529         counted_for_groups, counted_for_nongroups.  Add fields rld and
2530         n_reloads.
2531         * reload.c (push_secondary_reload): Don't set nongroup field of
2532         new reloads.
2533         (push_reload): Likewise.
2534         (find_reloads): Delete code to compute nongroup fields.
2535         * reload1.c (reload_insn_firstobj): New static variable.
2536         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
2537         users changed.
2538         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
2539         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
2540         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
2541         functions.
2542         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
2543         functions.
2544         (struct hard_reg_n_uses): Deleted.
2545         (potential_reload_regs): Deleted.
2546         (init_reload): Initialize spilled_pseudos and pseudos_counted.
2547         (reload): Don't try to allocate reload registers if we already know
2548         we have to make another pass.  Call select_reload_regs.  Free memory
2549         starting with reload_firstobj when starting another pass.
2550         Don't allocate spilled_pseudos.
2551         (calculate_needs_all_insns): Call copy_reloads for an insn that
2552         needs reloads; don't call calculate_needs.
2553         (spill_cost): New static array.
2554         (used_spill_regs_local): New static variable.
2555         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
2556         to compute potential_reload_regs.
2557         (find_reload_regs): Completely rewritten to use find_reg.
2558         (allocate_reload_reg): Don't test counted_for_groups or
2559         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
2560         all cllers changed.
2561         (choose_reload_regs): Add fallback code that uses the existing
2562         register allocation from find_reload_regs.
2563
2564 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
2565
2566         * flow.c (create_edge_list): Cast xmalloc return value.
2567
2568 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
2569
2570         * doprnt.c: Remove incorrect comment closure.
2571
2572         * cse.c: Fix a few minor whitespace goofs.
2573
2574 1999-12-13  Don Bowman  <don@pixstream.com>
2575
2576         * mips/vxworks.h: Fix problem with comment termination.
2577         (EXTRA_SECTIONS): Add in_sbss.
2578         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
2579
2580 1999-12-12  David S. Miller  <davem@redhat.com>
2581
2582         * cse.c (struct cse_reg_info): Add hash_next member,
2583         reorder rest of struct for better packing on 64-bit
2584         hosts.
2585         (cse_reg_info_tree): Kill.
2586         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
2587         REGHASH_FN): New custom pow2 hash mechanism.
2588         (NBUCKETS): Kill.
2589         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
2590         use a pow2 hash table.
2591         (get_cse_reg_info): Rework to use new REGHASH.
2592         (new_basic_block): Likewise, use HASH_SIZE, and inline
2593         free_element call.
2594         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
2595         and inline free_element call.
2596         (lookup_as_function, insert, flush_hash_table, invalidate,
2597         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
2598         invalidate_for_call, use_related_value, find_comparison_args,
2599         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
2600         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
2601         get_element): Kill.
2602         
2603 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
2604
2605         * cse.c (cse_basic_block): Free qty_table consistently.
2606
2607 1999-12-12  David S. Miller  <davem@redhat.com>
2608             Jakub Jelinek    <jakub@redhat.com>
2609
2610         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
2611         SUBREGs by hand, gen the appropriate hard reg directly.
2612         (movtf reg/mem split): Likewise and alter_subreg on destination
2613         if necessary.
2614         (movtf mem/reg split): Similarly.
2615         (movdf_cc_sp64): Rename from hidden pattern.
2616         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
2617         (movtf_cc_sp64, following split): New pattern and splitter.
2618         (movdf_cc_reg_sp64): Rename from hidden pattern.
2619         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
2620         TARGET_HARD_QUAD.
2621         (movtf_cc_reg_sp64, following split): New pattern and splitter.
2622
2623 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
2624
2625         * loop.c (load_mems): Don't hoist written floating point mem
2626         if -ffloat-store.
2627         
2628 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
2629
2630         * except.h (struct eh_queue): Add `next' pointer.
2631         (struct eh_status): Make x_ehqueue a pointer.
2632         (push_ehqueue):  Declare.
2633         (pop_ehqueue): Likewise.
2634         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
2635         pointer.
2636         (expand_fixup_region_end): Likewise.
2637         (expand_leftover_cleanups): Likewise.
2638         (push_ehqueue): Define.
2639         (pop_ehqueue): Likewise.
2640         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
2641         than doing it inline.
2642         (expand_start_all_catch):  Adjust now that ehqueue is a
2643         pointer.
2644         (mark_eh_queue): Mark all level of the queue.
2645         (mark_eh_status):  Adjust now that ehqueue is a
2646         pointer.
2647         (init_eh_for_function): Allocate ehqueue.
2648         (free_eh_status): Free it.
2649         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
2650         expansion for a fixup.
2651
2652 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2653
2654         * gthr-single.h (__gthread_active_p): Add prototype arguments.
2655
2656         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
2657         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
2658         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
2659         function_ptr, getpagesize, __enable_execute_stack,
2660         __enable_execute_stack, __clear_insn_cache,
2661         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
2662         _cleanup, _exit, __default_terminate, __terminate_func,
2663         __terminate, __empty, __throw, new_eh_context,
2664         eh_context_initialize, eh_context_static, eh_context_specific,
2665         get_eh_context, __get_eh_context, __get_eh_info,
2666         init_reg_size_table, eh_threads_initialize,
2667         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
2668         __unwinding_cleanup, throw_helper, __throw, __rethrow,
2669         __pure_virtual): Add prototype arguments.       
2670         (__bb_exit_func): Cast a sizeof to long when comparing against one.
2671         Cast a signed value to unsigned long when comparing against one.
2672         (new_eh_context): Wrap in _GTHREADS macro.
2673         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
2674         declaration.
2675         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
2676         (throw_helper): Initialize variables `handler_p' and `pc_p'.
2677         
2678 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2679
2680         * combine.c (record_promoted_value): Remove unused variable
2681         `links2'.
2682
2683         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
2684
2685         * global.c (record_conflicts): Likewise for `j'.
2686
2687         * genoutput.c (output_insn_data): Don't unnecessarily cast away
2688         const-ness.
2689
2690 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2691
2692         * i386-protos.h (output_387_binary_op, output_fix_trunc,
2693         output_fp_compare): Constify a char*.
2694
2695         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
2696         static prototypes.
2697         (override_options, ix86_comp_type_attributes, print_operand,
2698         output_387_binary_op, output_fix_trunc, output_fp_compare):
2699         Constify a char*.
2700         (ix86_sched_reorder): Mark parameter `clock_var' with
2701         ATTRIBUTE_UNUSED.
2702
2703         * i386.h (DEBUG_PRINT_REG): Constify a char*.
2704
2705 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2706
2707         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
2708         operand, for use in the Java front-end.
2709
2710 1999-12-10  Ben Collins  <bcollins@debian.org>
2711
2712         * configure.in: Fix typo for "-64" in 64bit as check.
2713         * configure: Rebuilt.
2714         
2715 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2716
2717         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
2718         appropriate.
2719
2720 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2721
2722         * c-parse.in (string): With -Wtraditional, warn if ANSI string
2723         concatenation is utilized.
2724
2725         * invoke.texi (-Wtraditional): Document it.
2726
2727 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2728
2729         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
2730         Cast a ptrdiff_t to long and pass it to printf with %ld.
2731
2732 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
2733
2734         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
2735         68881, we have no 68881 registers at all.
2736         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
2737         value in a 68881 register if it is available.
2738
2739 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
2740
2741         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
2742         for long long multiply-accumulate.
2743
2744 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
2745
2746         * loop.c (insert_loop_mem): Undo last change.
2747
2748 1999-12-10  David S. Miller  <davem@redhat.com>
2749
2750         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
2751         New functions.
2752         * config/sparc/sparc-protos.h: Add them.
2753         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
2754         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
2755         constraints which use those helpers.
2756         (EXTRA_CONSTRAINT): Use this new macro.
2757         * md.texi: Update sparc target constraints documentation.
2758         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
2759         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
2760         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
2761         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
2762         (movsf high/lo_sum split): Rework for new patterns.
2763         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
2764
2765 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
2766
2767         * c-common.c (c_common_nodes_and_builtins): 
2768         Create __builtin_ptrdiff_t and __builtin_size_t.
2769
2770 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
2771
2772         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
2773
2774 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2775
2776         * regclass.c (globalize_reg): Re-instate test that allows
2777         fixed registers to be declared as a variable even after functions
2778         are defined.
2779
2780 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2781
2782         * i386.md (cpu attribute): Add "athlon".
2783         (athlon_decode): New attribute.
2784         (Athlon scheduling units definitions): New.
2785         (fcmp and shld patterns): Set athlon_decode to "vector".
2786         * i386.c (athlon_cost): New.
2787         (m_ATHLON): New.
2788         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
2789         x86_use_sahf): Set for Athlon.
2790         (x86_use_fiop): Unset for Athlon.
2791         (override_options): Define Athlon alignments and "athlon" name.
2792         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
2793         * i386.h (TARGET_ATHLON): New.
2794         (enum processor_type): Add PROCESSOR_ATHLON.
2795         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
2796         for CPU_DEFAULT==5
2797         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
2798
2799 1999-12-09  Andreas Jaeger  <aj@suse.de>
2800
2801         * loop.c (record_biv): Declare parameter as int.
2802
2803         * config/i386/i386-protos.h: Declare long_memory_operand.
2804
2805 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
2806
2807         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
2808         EXPR_WITH_FILE_LOCATION.
2809
2810 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
2811
2812         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
2813         in expander.
2814
2815         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
2816
2817         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
2818         updating code.
2819
2820 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
2821
2822         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
2823         default on linux64 again.
2824         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
2825         models for multilibing.
2826         * genmultilib: Accept | as alternative separator within a set in
2827         MULTILIB_OPTIONS.
2828
2829         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
2830
2831         * calls.c (precompute_arguments): Make sure initial_value contains
2832         value pseudo which CSE expects.
2833         * cse.c (struct set): New entry orig_src.
2834         (cse_insn): Set it early on entry, use it for libcall EQUIV note
2835         replacement.
2836
2837 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
2838
2839         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
2840
2841 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
2842
2843         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
2844
2845 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
2846
2847         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
2848         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
2849
2850         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
2851         if TARGET_ARCH32.
2852
2853         * longlong.h: Merge in changes from glibc.
2854         Also don't clobber %g2 register in 32bit SPARC assembly, so that
2855         -mno-app-regs libgcc can be compiled.
2856         * libgcc2.c: Add defines so that the updated longlong.h
2857         can be used in libgcc2.a. Also, make sure on most architectures
2858         (at least on all which have optimized code in longlong.h defined
2859         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
2860
2861 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2862
2863         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
2864         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
2865         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
2866         is GNU ld.
2867         * configure: Rebuilt.
2868
2869 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
2870
2871         * alpha.c (secondary_reload_class): For !BWX, sub-simode
2872         outputs require a register.
2873
2874 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
2875
2876         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
2877         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
2878         functions like dptoul will be resolved.
2879         (libgcc2.a): Make sure that the object files from DPBIT are named
2880         differently (prefix `_dp') from those that would be coming from
2881         FPBIT.
2882
2883 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
2884
2885         * configure.in: When target is sparc* and tm_file contains 64,
2886         test for 64bit support in assembler.  If not supported, remove
2887         sparc/t-sol2-64 from target-dependent Makefile fragments.
2888         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
2889         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
2890         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
2891         * acconfig.h (AS_SPARC64_FLAG): Added.
2892         * configure, config.in: Rebuilt.
2893         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
2894         support.  Use AS_SPARC64_FLAG.
2895
2896 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
2897
2898         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
2899         suitable for holding OFmode values so that gcc works with complex
2900         quad long doubles.
2901         (hard_64bit_mode_classes): Likewise.
2902
2903         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
2904         so that it is actually matched.
2905         (sethi_di_medlow): Likewise.
2906
2907         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
2908         as legitimate constant if -mvis.
2909         * config/sparc/sparc.md (movtf): Likewise.
2910         (clear_sf): Use const_double_operand.
2911         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
2912
2913         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
2914         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
2915         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
2916         routines, _Qp_* cannot be handled like that now.
2917         (INIT_TARGET_OPTABS): Likewise.
2918         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
2919         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
2920         sparc_emit_float_lib_cmp if ARCH64 and soft float.
2921         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
2922         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
2923         divtf3, sqrttf3): New expanders.
2924         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
2925         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
2926         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
2927         non-_hq patterns.
2928
2929         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
2930         * configure: Rebuilt.
2931         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
2932         -mcpu is given and we're doing 64bit compiles.
2933
2934 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
2935
2936         * loop.h (struct induction): Add multi_insn_incr.
2937         * loop.c (basic_induction_var): New multi_insn_incr argument.
2938         Set it if we search back through previous insns for the biv.
2939         (record_biv): New multi_insn_incr argument; fill in struct induction.
2940         (strength_reduce): Discard an iv with multiple bivs, any of
2941         which require multiple insns to increment.
2942
2943 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2944
2945         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
2946         documentation.
2947         
2948 1999-12-06  David S. Miller  <davem@redhat.com>
2949
2950         * combine.c (check_promoted_subreg): Do not conditionalize this upon
2951         PROMOTE_FUNCTION_RETURN.
2952
2953 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
2954
2955         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
2956         and handle REG_UNUSED note on insn.
2957
2958         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
2959         inner_mask instead of mask.
2960
2961 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
2962
2963         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
2964         zero if there was an error.
2965
2966 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
2967
2968         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
2969         output string.
2970
2971         * longlong.h: Fix clobbers in SPARC asm statements.
2972
2973         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
2974         valid sethi operations when TARGET_ARCH64.
2975
2976         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
2977         always use move_by_pieces to avoid infinite recursion.
2978         (restore_fixed_argument_area): Likewise.
2979
2980         * combine.c (check_promoted_subreg, record_promoted_value): New
2981         functions.
2982         (combine_instructions): Use them to retain nonzero and sign bit
2983         information after SUBREGs are eliminated by optimizations in
2984         this pass if PROMOTE_FUNCTION_RETURN.
2985
2986         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
2987         .register declaration. Don't use variables with __ prefixes.
2988
2989 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2990
2991         * fold-const.c (optimize_bit_field_compare): Only use one mode
2992         for both RHS and LHS in non-constant case.
2993
2994 1999-12-06  Nathan Sidwell  <nathan@acm.org>
2995
2996         * frame.c (start_fde_sort): Only allocate erratic array, if
2997         linear one was allocated. Return allocated flag.
2998         (fde_insert): Only insert, if there's a valid array.
2999         (fde_end_sort): Split, sort and merge if linear and erratic
3000         arrays exist, else just sort linear one.
3001         (search_fdes): New function. Linear search through original fde
3002         structure.
3003         (frame_init): Permit multiple initializations. Cope with
3004         memory shortages.
3005         (find_fde): Fallback on linear search, if failed to sort array.
3006         (__deregister_frame_info): Only free sorted array, if we
3007         allocated it.
3008
3009 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
3010
3011         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
3012
3013 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
3014
3015         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
3016
3017 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
3018
3019         * tree.h (special_function_p): Declare.
3020         * calls.c (special_function_p): Make it global.  Don't take `name'
3021         as a parameter.  Fix typo in 1999-11-28 change.
3022         (expand_cal): Adjust.
3023
3024 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
3025
3026         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
3027         * tree.h (EXPR_WFL_FILENAME): Define in terms of
3028         EXPR_WFL_FILENAME_NODE.
3029         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
3030         the TREE_CHAIN.
3031         * print-tree.c (print_note): Print TREE_PRIVATE and
3032         TREE_PROTECTED.
3033         
3034         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
3035         the original die cannot be found.
3036
3037         * varray.h (varray_head_tag): Add elements_used.
3038         (VARRAY_PUSH): New macro.
3039         (VARRAY_POP): Likewise.
3040         (VARRAY_TOP): Likewise.
3041         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
3042         types. 
3043         * varray.c (varray_init): Initialize elements_used.
3044         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
3045         (INTEGRATE_H): New variable.
3046         (integrate.o): Depend on INTEGRATE_H.
3047         (unroll.o): Likewise.
3048         
3049         * function.h (insert_block_after_note): Declare.
3050         * function.c (insert_block_after_note): Split out from ...
3051         (retrofit_block): ... here.
3052
3053         * stmt.c (expand_fixup): Fix typo in comment.
3054
3055 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3056
3057         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
3058         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
3059         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
3060         (regmove_optimize, fixup_match_1): Likewise.
3061
3062 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3063
3064         * flow.c (flow_loops_dump): Add missing argument when calling
3065         flow_loop_nested_p.
3066
3067 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
3068             Greg McGary  <gkm@gnu.org>
3069
3070         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
3071         (init_attributes): Add A_NO_LIMIT_STACK.
3072         (decl_attributes): Handle A_NO_LIMIT_STACK.
3073         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
3074         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
3075         Handle stack bounds checking.
3076         * flags.h (flag_stack_check): Use the word 'probe' rather than
3077         'check', because the flag doesn't actually cause any checking to
3078         be done.
3079         * function.c (expand_function_start): Set
3080         current_function_limit_stack.
3081         * function.h (struct function): Add limit_stack.
3082         (current_function_limit_stack): Define.
3083         * invoke.texi (Code Gen Options): Document new options.
3084         * rtl.h: Declare stack_limit_rtx.
3085         * toplev.c (stack_limit_rtx): New variable.
3086         (decode_f_option): Handle new options -fstack-limit-register=REG,
3087         -fstack-limit-symbol=IDENT, -fno-stack-limit.
3088         (main): Add stack_limit_rtx as GC root.
3089         * tree.h (DECL_NO_LIMIT_STACK): New macro.
3090         (struct tree_decl): New member no_limit_stack.
3091
3092         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
3093         stack_limit_rtx.
3094         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
3095         (conditional_trap+1): Get new mnemonic correct.
3096         (conditional_trap+2): New pattern for DImode traps.
3097
3098         * config/m68k/m68k.c (output_function_prologue): Handle
3099         stack_limit_rtx.
3100         * config/m68k/m68k.md (trap): New insn.
3101         (conditional_trap): New insn.
3102         * md.texi (Standard Names): Document `trap' and
3103         `conditional_trap'.
3104         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
3105         so a cc0 setter doesn't get emitted at some random place in the
3106         function.
3107
3108         * config/i960/i960.md (trap): New insn.
3109         (conditional_trap): New expander.
3110         (conditional_trap+1, conditional_trap+2): New insns for signed
3111         and unsigned cases.
3112         * config/i960/i960.c (i960_function_prologue): Use 
3113         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
3114
3115 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
3116                           Geoffrey Keating  <geoffk@cygnus.com>
3117
3118         * flags.h (warn_padded, warn_packed): Add global var decls.
3119         * toplev.c (warn_padded, warn_packed): Add global var defns.
3120         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
3121         * stor-layout.c (layout_record): Add local variable `type'
3122         to hold often-used TREE_TYPE (field).  Add local variable
3123         `unpacked_align' to hold alignment that would be in force
3124         if no `packed' attribute were present.  Warn if `packed' attribute
3125         is unnecessary, or even harmful.  Warn when gcc inserts padding
3126         to satisfy alignment requirements of members.  Use NULL_TREE
3127         when checking whether var_size is set.
3128         * invoke.texi: Document new flags.
3129
3130 1999-12-03  Nathan Sidwell  <nathan@acm.org>
3131
3132         * frame.c (fde_split): Reimplement to avoid variable sized array.
3133
3134 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3135
3136         * combine.c (try_combine): Before fixing up LOG_LINKS for the
3137         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
3138
3139 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
3140
3141         * invoke.texi: Document the mips option -mno-crt0
3142
3143 1999-12-02  Mike Karr  <mkarr@mathworks.com>
3144
3145         * cccp.c (argdata): Added free_ptr member.
3146         (macroexpand): Initialize free_ptr of each argument. When an
3147         argument's buffers are freed, if the argument's free_ptr corresponds
3148         to a buffer on the input stack, then return the free_ptr to that stack
3149         frame, otherwise, free it.
3150         (macarg): If an argument begins and ends on the same input stack level,
3151         then transfer the free_ptr of that buffer to the argument in case
3152         the stack is popped during the processing of a subsequent argument.
3153
3154 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
3155
3156         * loop.c (note_reg_stored): New function.
3157         (struct note_reg_stored_arg): New structure.
3158         (try_copy_prop): Change to be more conservative; only replace within
3159         one extended basic block and stop replacing if a store to the
3160         replacement reg is seen.
3161
3162 1999-12-02  Nick Clifton  <nickc@cygnus.com>
3163
3164         * config/fp-bit.c: Initialise all fields of the NAN
3165         constants. 
3166
3167         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
3168         to HANDLE_PRAGMA.
3169
3170 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
3171
3172         * i386.md (extend?f?f2): Force the input into a register, not
3173         the output.
3174
3175 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
3176
3177         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
3178         regclass' sake.
3179         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
3180         alternative because setting up 64bit constant is usually costly,
3181         especially when reload is in progress or completed.
3182         (movdf_const_intreg_sp64): Likewise.
3183         (movdf_const_intreg split): Fix building up constants when
3184         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
3185
3186 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
3187
3188         * combine.c (if_then_else_cond): Use const_true_rtx instead of
3189         const1_rtx for return values in EQ/NE comparison against (const_int 0)
3190         case.
3191
3192         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
3193         (asm_file_start): Emit .am33 into assembly file when compiling for
3194         the AM33.
3195         (print_operand_address): Handle POST_INC addresses.
3196         (can_use_return_insn, initial_offset): Check AM33 registers too.
3197         (expand_prologue): Check & save AM33 registers too.
3198         (expand_epilogue): Similarly.
3199         (secondary_reload_class): Handle AM33 specific secondary reloads.
3200         (output_tst): Emit efficient code for the AM33 too.
3201         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
3202         (TARGET_SWITCHES): Add -mam33 switch.
3203         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
3204         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
3205         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
3206         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
3207         (enum reg_class, REG_CLASS_NAMES): Likewise.
3208         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
3209         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
3210         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
3211         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
3212         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
3213         (HAVE_POST_INCREMENT): Define.
3214         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
3215         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
3216         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
3217         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
3218         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
3219         (zero_extend to SI from QI/HI): Likewise.
3220         (sign_extend to SI from QI/HI): Likewise.
3221         (mulsidi3, umulsidi3): New patterns for the AM33.
3222         (tstsi with zero extension from QI/HI): Add AM33 variants.
3223         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
3224         (return_internal_regs, store_movm): Handle new AM33 registers.
3225         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
3226         (LIBGCC, INSTALL_LIBGCC): Likewise.
3227         * invoke.texi: Document new flags.
3228
3229 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3230
3231         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
3232         (addsi3_carry): Likewise.
3233         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
3234         (sbbsi3_carry): Likewise.
3235         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
3236         (mulhi3): Likewise.
3237         (test?i_1): Ensure that only one operand is memory.
3238         (conditional move patterns): likewise.
3239         (shift and rotate patterns): Rewrite to expander, add
3240         "binary_operator_ok" to the condition.
3241
3242         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
3243         * i386.h (procesor_costs): Add movzbl_load field.
3244         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
3245         non-Q registers, accept DImode registers anywhere.
3246         (Q_CLASS_P): New.
3247         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
3248         * i386.c (*_cost): Set value for movxbl_load field.
3249
3250         * (addsi): New add to lea splitter.
3251         (ashlsi): Likewise.
3252         (lea to add/shift peep2): New.
3253
3254 1999-12-01  Mark Salter <msalter@cygnus.com>
3255
3256         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
3257         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
3258         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
3259
3260 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3261
3262         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
3263         * i386.md (movsi_xor): New.
3264         (movsi_or): New.
3265         (movsi_1, movhi_1, movqi_1): Remove.
3266         (movsi_2): Rename to movsi_1.
3267         (movhi_2): Rename to movhi_1.
3268         (movqi_2): Rename to movqi_1.
3269         (movdi_1): Remove; remove splitter.
3270         (movdi_2): Rename to movdi_1.
3271         (divmodsi4 splitter): Do not emit clobbers for move patterns.
3272         (long move peep2): Do not create QI or HI mode mov0s
3273         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
3274
3275         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
3276         rewrite splitters.
3277
3278         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
3279         (abs?f2_if): Likewise.
3280
3281 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
3282
3283         * ggc.h (ggc_test_and_set_mark): New macro.
3284         (ggc_mark_rtx): Use ggc_test_and_set_mark.
3285         (ggc_mark_tree): Likewise.
3286         (ggc_mark_rtvec): Likewise.
3287         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion. 
3288
3289 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
3290
3291         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
3292         containing types.
3293         (decl_scope_table): Just an array of trees now.
3294         (push_decl_scope): Simplify.
3295         (dwarf2out_init): Adjust.
3296         (local_scope_p): New fn.
3297         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
3298         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
3299         (gen_typedef_die): Likewise.
3300         (gen_lexical_block_die): Don't call push/pop_decl_scope.
3301         (gen_inlined_subroutine_die): Likewise.
3302         (gen_abstract_function): Set current_function_decl temporarily.
3303         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
3304         Handle block extern declarations.  Don't call push/pop_decl_scope.
3305         (gen_decl_die): Fix logic for block externs.
3306
3307 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3308
3309         * calls.c (special_function_p): Remove `realloc' and add `strdup'
3310         to the list of functions which have attribute malloc by default.
3311
3312 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3313
3314         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
3315         integer constant does not match the traditional type, limit the
3316         warnings to cases where the base of the type is ten.
3317
3318         * invoke.texi (-Wtraditional): Document it.
3319
3320 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3321
3322         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
3323         * rs6000.md: Only access a CONST_INT with INTVAL
3324
3325 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
3326
3327         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
3328         (compute_nearerout): Likewise.
3329         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
3330         size_t to unsigned long for formatting.
3331
3332 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
3333
3334         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
3335         Allow the user to override call-used/fixed state of %g2-5
3336         registers from the command line (with the exception of %g4 for
3337         embedded model).
3338         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
3339         there is a higher chance of having a leaf function.
3340         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
3341         for ARCH64 which has %ccr register.
3342         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
3343         patterns.
3344         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
3345         insn accept into delay slot any insn which does not use %[ol]
3346         registers.  Accept some LO_SUM and shift left by 1 for the normal
3347         restore case.
3348         (output_function_epilogue): Likewise.
3349         (epilogue_renumber): Added argument which inhibits any renumbering
3350         and just tests if the rtx does not use any %[ol] registers.
3351         (output_return): Reflect above change.
3352
3353 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
3354
3355         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
3356         aggregate passing for sizes <= 16 bytes.
3357
3358 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
3359
3360         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
3361         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
3362         * reload.c (find_dummy_reload): Likewise.
3363         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
3364         * reload1.c (reload_as_needed): Likewise.
3365         * stupid.c (stupid_find_reg): Likewise.
3366         * tm.texi (Obsolete Register Macros): Delete section.
3367         * gmicro.h: Remove all traces of the two macros.
3368         * i386.h: Likewise.
3369         * m88k.h: Likewise.
3370         * mips.h: Likewise.
3371
3372 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
3373
3374         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
3375         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
3376         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
3377         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
3378         units for the sparclite86x chip.
3379         (flush): Revert October 14th change; add SImode specifically.
3380         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
3381         * invoke.texi: Document it.
3382
3383 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
3384
3385         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
3386         psimode_truncation_operand.
3387
3388         * config/mn10200/mn10200.c (psimode_truncation_operand): New
3389         function.  Return true if the operand is either a MEM valid
3390         for a PSImode address or not a MEM at all.
3391
3392         * config/mn10200/mn10200.md (truncsipsi2): Use
3393         psimode_truncation_operand.
3394
3395 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3396
3397         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
3398         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
3399         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
3400         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
3401         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
3402         (flow_loop_level_compute, low_loops_level_compute): Likewise.
3403         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
3404         * basic-block.h: Protect from multiple inclusion.
3405         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
3406         (struct loops, struct loop): Define structures.
3407         * sbitmap.c (sbitmap_a_subset_b_p): New function.
3408         * sbitmap.h: Protect from multiple inclusion.
3409         (sbitmap_a_subset_b_p): Add prototype.
3410         * Makefile.in (LOOP_H): New macro.
3411         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
3412
3413 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
3414
3415         * cppinit.c (CAT): The argument list of this macro may not contain
3416         spaces !
3417
3418 1999-11-29  David S. Miller  <davem@redhat.com>
3419
3420         Move quantity tables and register equivalence chains into
3421         per-qty and per-register structure arrays respectively.
3422         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
3423         qty_const_insn, qty_comparison_code, qty_comparison_const,
3424         qty_comparison_qty): Delete, replace with...
3425         (qty_table): this structure table.
3426         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
3427         (reg_eqv_table): this structure table.
3428         (make_new_qty): Add argument MODE.  Caller updated.
3429         Update to use qty_table and reg_eqv_table.
3430         (make_regs_eqv, delete_reg_equiv, insert_regs,
3431         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
3432         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
3433         cse_process_notes, cse_main, cse_basic_block): Likewise.
3434
3435 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3436
3437         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
3438         operation if C is negative.
3439         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
3440         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
3441         law for some divisions if constant is negative and change other
3442         divisions to the opposite rounding.
3443
3444         * expr.c (store_constructor_field): If bit position is not multiple
3445         of alignment of TARGET's mode, use BLKmode.
3446
3447         * expr.c (expand_expr_unaligned): Add more code from full case
3448         that is needed when OP0 is in a register.
3449
3450 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3451
3452         * dwarfout.c (field_byte_offset): Size can be zero if there was
3453         an error.
3454
3455 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
3456
3457         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
3458         (associate_trees): Delete unused var TEM.
3459         (extract_muldiv): Delete unused var CANCEL_P.
3460                         
3461         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
3462         (target_isinf, target_isnan, target_negative): Add return types to
3463         function definitions.
3464
3465 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
3466
3467         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
3468         * fixinc/hackshell.tpl: ditto
3469         * fixinc/fixtests.c(double_slash_test): more C++ header testing
3470         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
3471
3472 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
3473
3474         * reload.c (push_reload): When looking for a register to put into
3475         reg_rtx, make sure all hard regs in a multi-reg register are in the
3476         right class and nonfixed.
3477
3478         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
3479         pending_read_insns, pending_write_insns, pending_read_mems,
3480         pending_write_mems, pending_list_length, last_pending_memory_flush,
3481         last_function_call, sched_before_next_call): Move static variables
3482         into a structure.
3483         (bb_ prefixed versions): Replace with single array bb_deps.
3484         (struct deps): New structure.
3485         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
3486         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
3487         argument of type "struct deps *"; use that instead of global
3488         variables.  All callers changed.
3489         (init_rgn_data_dependencies): Delete function.
3490         (init_rtx_vector): Delete function.
3491         (init_deps): New function.
3492
3493         (free_pending_lists): Simplify, we always use the bb_deps array even
3494         if only one basic block.
3495         (compute_block_backward_dependences): Likewise.
3496         (schedule_region): Likewise.
3497
3498         (propagate_deps): New function, broken out of
3499         compute_block_backward_dependences.
3500         (compute_block_backward_dependences): Use it.
3501
3502         * alpha.md: Delete useless patterns that tried to work around
3503         register elimination problems.
3504
3505         * unroll.c (loop_iterations): Don't abort if iteration variable
3506         was made by loop.
3507
3508         From Joern Rennecke:
3509         * reload1.c (reloads_conflict): Reverse test comparing operand
3510         numbers when testing for conflict between output/outaddr reloads.
3511
3512 1999-11-29  David S. Miller  <davem@redhat.com>
3513
3514         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
3515         arg.
3516         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
3517
3518 1999-11-28  Robert Lipe  <robertl@cygnus.com>
3519
3520         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
3521         table from .fini into .dtor.                                
3522
3523 1999-11-28  Anthony Green  <green@cygnus.com>
3524
3525         * tree.h (struct tree_decl): Add malloc_flag.
3526         (DECL_IS_MALLOC): Define.
3527         * c-common.c (attrs): Add A_MALLOC attribute.
3528         (init_attributes): Add this attribute to the table.
3529         (decl_attributes): Handle malloc attribute.
3530         * calls.c (special_function_p): Check for the malloc attribute.
3531         * extend.texi (Function Attributes): Document malloc attribute.
3532
3533 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
3534
3535         * pa.md (reload shift-add patterns): Remove.
3536
3537 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3538
3539         * reorg.c (dbr_schedule) Print more statistics. Corrected
3540         problem when printing info when 3 delay slots are filled.
3541
3542 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
3543
3544         * combine.c (setup_incoming_promotions): Pass an outgoing
3545         regno to FUNCTION_ARG_REGNO_P which it expects.
3546
3547 1999-11-28  Andreas Jaeger  <aj@suse.de>
3548
3549         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
3550
3551 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
3552
3553         * cccp.c (do_include): Avoid initialization of automatic variable.
3554
3555         * integrate.c (mark_stores): Function definition made void, to match
3556         previous declaration.
3557         * regclass.c (dump_regclass): Ditto.
3558         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
3559
3560 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3561
3562         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
3563         known to be multiple of divisor.
3564
3565         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
3566
3567         * combine.c (try_combine): Add code to try to merge a set of a
3568         two-word pseudo to a constant with a setting of one of those words
3569         to a constant.
3570
3571         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
3572         (split_tree): Completely rework to make more general.
3573         (make_range, fold): Call negate_expr.
3574         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
3575         (fold, associate): Call new split_tree and associate_trees.
3576         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
3577
3578 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
3579
3580         * loop.c (try_copy_prop): Avoid GNU C extension.
3581
3582 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
3583
3584         * except.c (init_eh_for_function): Still zero eh_return_context,
3585         eh_return_stack_adjust, and eh_return_handler.
3586
3587         * except.h (eh_status): Adjust documentation for x_protect_list.
3588         (begin_protect_partials): New function.
3589         * except.c (enqueue_eh_entry): Fix formatting.
3590         (get_first_handler): Add consistency check.
3591         (add_partial_entry): Adjust usage of protect_list.
3592         (emit_cleanup_handler): Save and restore ehqueue.
3593         (expand_start_all_catch): Add comment.
3594         (begin_protect_partials): New function.
3595         (end_protect_partials): Adjust usage of protect_list.
3596         (init_eh_for_function): Use xcalloc.
3597
3598 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3599
3600         * c-common.c (check_format_info): Don't call a variadic function
3601         with a non-literal format string.
3602
3603         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
3604
3605         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
3606         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
3607         Likewise.
3608
3609         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
3610         Likewise.
3611
3612         * collect2.c (collect_wait): Likewise.
3613
3614         * dbxout.c (dbxout_type): Likewise.
3615
3616         * gcc.c (do_spec_1): Likewise.
3617
3618         * genemit.c (gen_insn, gen_expand): Likewise.
3619
3620         * genrecog.c (write_switch, write_subroutine): Likewise.
3621
3622         * mips-tfile.c (catch_signal, botch): Likewise.
3623
3624         * print-rtl.c (print_rtx): Likewise.
3625
3626         * toplev.c (default_print_error_function, report_error_function,
3627         _fatal_insn): Likewise.
3628
3629 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
3630
3631         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
3632
3633 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3634
3635         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
3636         operations when needed.
3637         * i386.md (fop_?f_comm): New.
3638         (fop_?f_1): Do not accept commutative operands.
3639
3640 1999-11-25  Andreas Jaeger  <aj@suse.de>
3641
3642         * config/mips/mips.md (casesi_internal): Add missing brace.
3643
3644 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
3645
3646         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
3647         (splice_child_die): Handle moving a child DIE from the declaration
3648         DIE of a class to its specification.
3649         (gen_struct_or_union_type_die): Use 'complete' consistently.
3650         (gen_decl_die): Generate the virtual context DIE first.
3651         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
3652
3653 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
3654
3655         * config/mips/mips.md (call_value_multiple_interanal1): New.
3656
3657 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
3658
3659         * dwarf2out.c (free_AT, free_die): New fns.
3660         (remove_children): Call them.
3661         (output_line_info): Disable removal of duplicate notes.
3662
3663         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
3664         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
3665         means pretend the type isn't defined.
3666         Don't defer emitting types.
3667         (gen_type_die_for_member): New fn.
3668         (gen_decl_die): Call it.
3669         (splice_child_die): New fn.
3670         (gen_member_die): Call it rather than generate duplicate dies.
3671
3672         Defer emitting information for the abstract instance of an inline
3673         until we either inline it or emit an out-of-line copy.
3674         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
3675         from output_inline_function if DECL_ABSTRACT is also set.
3676         (block_ultimate_origin): Likewise.
3677         (gen_abstract_function): New fn.
3678         (gen_decl_die, gen_inlined_subroutine_die): Call it.
3679         (gen_subprogram_die):  An abstract instance is not a declaration
3680         just because it doesn't match current_function_decl.  Don't abort
3681         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
3682         has an abstract origin.
3683         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
3684         abstract instance here.
3685
3686 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
3687
3688         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
3689         where we need to reload fpul from a system register.
3690
3691 1999-11-24  Andreas Jaeger  <aj@suse.de>
3692
3693         * config/mips/linux.h (CPP_PREDEFINES): Added.
3694         (LINK_SPEC): Remove -Y since this is only needed on sparc.
3695
3696 1999-11-24  Andreas Jaeger  <aj@suse.de>
3697
3698         * config/mips/linux.h (TARGET_VERSION): Added.
3699         (HANDLE_SYSV_PRAGMA): Added.
3700         (DEFAULT_VTABLE_THUNKS): Added.
3701
3702 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3703
3704         * local-alloc.c (qty): New structure and static variable.
3705         (qty_phys_reg): Remove, all references changed to qty.
3706         (qty_n_refs): Likewise.
3707         (qty_min_class): Likewise.
3708         (qty_birth): Likewise.
3709         (qty_death): Likewise.
3710         (qty_size): Likewise.
3711         (qty_mode): Likewise.
3712         (qty_n_calls_crossed): Likewise.
3713         (qty_alternate_class): Likewise.
3714         (qty_changes_size): Likewise.
3715         (qty_first_reg): Likewise.
3716         (alloc_qty): Rename variable QTY to QTYNO.
3717         (finf_free_reg): Likewise.
3718         (local_alloc): Allocate qty, do not allocate the removed variables.
3719
3720 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
3721
3722         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
3723         when -membedded-pic is passed.
3724
3725         * config/mips/mips.md (casesi): Handle 64-bit case too.
3726         (casesi_internal_di): New insn.
3727
3728         * config/mips/mips.c (embedded_pic_offset): Always make the
3729         embedded-pic subtractions relative to the name of the current
3730         function by use of the magic string "..CURRENT_FUNCTION".
3731         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
3732
3733 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
3734
3735         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
3736         of (const_int 0), when what we really care about is
3737         whether it's a zero constant anyway.
3738         (div_trap_mips16): Likewise.
3739
3740 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
3741
3742         * loop.c (loop_optimize): Always find_loop_tree_blocks and
3743         unroll_block_trees when generating debuggable code.
3744
3745         * tree.h (unsave_expr_1): New function.
3746         (lang_unsave): New variable.
3747         (get_callee_fndecl): New function.
3748         * tree.c (unsave_expr_now_r): New function.
3749         (lang_unsave): Define.
3750         (unsave_expr_1): Likewise.
3751         (unsave_expr_now_r): Split out from unsave_expr_now.
3752         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
3753         call unsave_expr_now_r.
3754         (get_callee_fndecl): Define.
3755
3756         * Makefile.in (gencheck): Don't depend on lang_tree_files.
3757         (gencheck.o): Do depend on lang_tree_files.
3758
3759         * integrate.h (copy_decl_for_inlining): New declaration.
3760         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
3761         (copy_decl_for_inlining): New function.
3762         (integrate_parm_decls): Use it.
3763         (integrate_decl_tree): Likewise.
3764
3765 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
3766
3767         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split 
3768         the second two from the first.
3769         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
3770         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
3771         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than 
3772         ISA_HAS_FP4.
3773         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
3774         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
3775         ISA_HAS_FP4.
3776
3777 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
3778
3779         * pa.md (call_internal_symref, call_value_internal_symref): No mode
3780         needed on the address operand.
3781         * pa.c (call_operand_address): Check for the correct mode.
3782
3783 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
3784
3785         * loop.c: Include "basic-block.h".
3786         (try_copy_prop, replace_loop_reg): New functions.
3787         (load_mems): Detect registers that just hold copies of the hoisted
3788         mem, and call try_copy_prop to eliminate them.
3789         * Makefile.in (loop.o): Update dependencies.
3790
3791 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
3792
3793         * Makefile.in (gencheck.o): Depend on gencheck.h.
3794         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
3795         (insn-peep.o): Depend on except.h and function.h.
3796         (insn-attrtab.o): Depend on RECOG_H.
3797         (insn-output.o): Depend on toplev.h and flags.h.
3798         (gengenrtl.o): Depend on real.h.
3799         (gen-protos.o): Depend on cpplib.h and cpphash.h.
3800         Unify all dependencies to be on RECOG_H rather than recog.h.
3801
3802 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3803
3804         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
3805         * configure.in: Try building a bi-arch 32/64-bit compiler on
3806         sparc-*-solaris2.7 and higher.
3807         * configure: Rebuild.
3808
3809 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
3810
3811         * config/freebsd.h: New, FreeBSD architecture independent file.
3812         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
3813         independent pieces.
3814         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
3815         directly by i386/freebsd.h.
3816         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
3817         independent configuration file.
3818         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
3819         directly by i386/freebsd.h.
3820         * configure: Rebuilt.
3821
3822         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
3823         which is in the user's namespace.
3824         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
3825         `i386' which is not in our namespace.
3826
3827 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
3828
3829         * invoke.texi (ARM Options): Add in -mno-alignment-traps
3830
3831 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
3832
3833         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
3834         (add_dwarf_attr, add_child_die): Just push onto the front.
3835         (reverse_die_lists): New fn.
3836         (add_sibling_attributes): Use it.
3837         (push_decl_scope): Reorganize.
3838         (add_name_and_src_coords_attributes): Don't set file and line for
3839         an artificial decl.
3840         (gen_subprogram_die): An artificial function doesn't need to match
3841         file and line.
3842         (gen_compile_unit_die): Return the generated die.  Only add 
3843         AT_comp_dir if the filename is relative.
3844         (remove_AT): Simplify loop.  Also free string values.
3845         (output_die): A DIE ref can't be null.
3846         (output_value_format, value_format): Take a dw_attr_ref.
3847         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
3848         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3849         AT_addr, AT_lbl): New fns.
3850         (various): Use them.
3851         (various): Constify.
3852
3853 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3854
3855         * combine.c (combine_simplify_rtx): When handling a SUBREG,
3856         take SUBREG_WORD into account.
3857         (if_then_else_cond): Likewise.
3858
3859 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
3860
3861         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising 
3862         clause from BSD license, pursuant with
3863
3864           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
3865
3866 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
3867
3868         * loop.c (load_mems): Reformat slightly.
3869         * basic-block.h (regset_head): New typedef.
3870         (INIT_REG_SET): New macro.
3871
3872 1999-11-22  Bruce Korb  <autogen@linuxbox.com
3873
3874         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
3875         (mips-dec-bsd*): non-functional code
3876         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
3877
3878         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
3879         added three replacement fixes
3880         (no_double_slash): removed comments that are not (any longer) pertinent
3881         (bad_lval): this fix currently runs against many files.
3882         The comment seems to indicate that we should select for files
3883         containing 'pragma extern_prefix'.
3884
3885         * fixinc/fixinc.x86-linux-gnu: deleted
3886         * fixinc/inclhack.sh:  regen
3887         * fixinc/fixincl.x:  regen
3888         * fixinc/fixincl.sh:  regen
3889
3890 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
3891
3892         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
3893         its code is INSN and it has no notes.
3894
3895 1999-11-22  Andrew Haley  <aph@cygnus.com>
3896
3897         * varasm.c (function_defined): Remove.
3898         (make_function_rtl): Don't set function_defined.
3899         (make_decl_rtl): Remove global register warning.
3900         * regclass.c (no_global_reg_vars): New variable.
3901         (globalize_reg): Warn if function has already been defined.
3902         (regclass_init): Set no_global_reg_vars.
3903
3904 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3905
3906         * regclass.c (reg_pref): New structure and static variable
3907         (prefclass): Delete.
3908         (altclass): Delete.
3909         (all uses of prefclass and altclass): Use reg_pref instead.
3910
3911 1999-11-21  Nick Clifton  <nickc@cygnus.com>
3912
3913         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
3914         -malignment-traps. 
3915         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
3916         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3917         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3918
3919 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
3920
3921         * varasm.c (output_constructor): Solve problem with long long
3922         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
3923
3924 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3925
3926         * global.c (allocno): New structure and static variable.
3927         (allocno_reg): Remove, all references replaced by allocno.
3928         (allocno_size): Likewise.
3929         (hard_reg_conflicts): Likewise.
3930         (hard_reg_preferences): Likewise.
3931         (hard_reg_copy_preferences): Likewise.
3932         (hard_reg_full_preferences): Likewise.
3933         (regs_someone_prefers): Likewise.
3934         (allocno_calls_crossed): Likewise.
3935         (allocno_n_refs): Likewise.
3936         (allocno_live_length): Likewise.
3937         (find_reg): Rename ALLOCNO to NUM.
3938
3939         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
3940         references updated.
3941         (may_move_out_cost): New variable.
3942         (init_reg_sets_1): Initialize may_move_out_cost.
3943         (record_reg_classes): Use may_move_out_cost.
3944
3945         * regclass.c (dump_regclass): New function.
3946         (regclass): New parameter DUMP, call DUMP_REGCLASS.
3947         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
3948         pass rtl_dump_file to regclass.
3949         * rtl.h (regclass): Update prototype.
3950
3951 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3952
3953         * i386.md (neg, not and abs patterns): Revmap to use
3954         ix86_expand_unary_operator and ix86_unary_operator_ok.
3955         (add?f and sub?f expanders): Force operand 1 to register.
3956         * i386.c (ix86_expand_unary_operator): Rewrite.
3957         (ix86_unary_operator_ok): Ensure that memory operands
3958         match real opcode.
3959         (ix86_binary_operator_ok): Do not allow operand 1 to
3960         come into memory and operand 0 not.
3961         (ix86_expand_binary_operator): Ensure that
3962         src1 is not non-matching memory.
3963
3964         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
3965         to support integer registers and memory.
3966         (abss?2_integer): Likewise.
3967
3968         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
3969         (REG_CLASS_NAMES): Likewise.
3970         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
3971         and GENERAL_REGS.
3972         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
3973         (movsf): Likewise; unify 4th and 5th alternative.
3974         (pushdf): Likewise.
3975         (movdf_1): Likewise; rename to movdf_integer.
3976         (pushxf): Likewise; rename to pushxf_integer; fix output template;
3977         remove redundant splitter.
3978         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
3979         (movdf_nointeger): New.
3980         (movxf_nointeger): New.
3981         (pushxf_nointeger): New.
3982
3983         * i386.md (extend?f?f): Split to expander and pattern, refuse two
3984         memory operands in patterns.
3985         (fop*): Refuse two memory operands.
3986
3987         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
3988         on !TARGET_USE_CLTD CPUs.
3989
3990 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
3991
3992         * extend.texi: Document C++ restricted pointers and references. 
3993
3994 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
3995
3996         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
3997         (invalidate_skipped_set): Call it unconditionally.
3998         (cse_set_around_loop): Likewise.
3999
4000 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
4001
4002         * rtl.texi (mem): Add documentation for alias-set argument 
4003         to RTX `mem'.
4004
4005 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4006
4007         * i386.h (struct_processor_costs): New fields int_load, int_store,
4008         fp_move, fp_load and fp_store
4009         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
4010         fp->int moves
4011         (MEMORY_MOVE_COST): New macro.
4012         * i386.c (386_cost): Define new fields.
4013         (i486_cost): Likewise.
4014         (pentium_cost): Likewise.
4015         (pentiumpro_cost): Likewise.
4016         (k6_cost): Likewise.
4017
4018 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
4019                           Geoffrey Keating  <geoffk@cygnus.com>
4020
4021         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
4022
4023         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
4024         MASK_ALIGN_INT.
4025         
4026         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
4027         (TARGET_STRICT_ALIGNMENT): New macro.
4028         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
4029         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
4030         * invoke.texi (M680x0 Options): Document -mstrict-align.
4031
4032 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
4033                           Richard Henderson  <rth@cygnus.com>
4034
4035         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
4036         (ix86_split_long_move): Declare.
4037         * i386.c (split_xf, ix86_split_movdi): Remove.
4038         (ix86_split_to_parts, ix86_split_long_move): New.
4039         * i386.md (dimode move splitters): Use ix86_split_long_move.
4040         (dfmode move splitters): Likewise.
4041         (xfmode move splitters): Likewise.
4042         (movsf_1): Allow F->r.
4043         (movdf_1, movxf_1): Allow F->ro.
4044
4045 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
4046
4047         * except.h (struct eh_entry): Add goto_entry_p.
4048         (eh_region_from_symbol): Remove prototype.
4049         * except.c (find_func_region_from_symbol): New function.
4050         (emit_cleanup_handler): Likewise.
4051         (eh_region_from_symbol): Make it static.
4052         (add_new_handler): Verify the argument.
4053         (find_func_region): Update comment.
4054         (expand_eh_region_end): Expand handlers here, rater than waiting
4055         until expand_leftover_cleanups or start_all_catch.
4056         (expand_leftover_cleanups): Don't expand here.
4057         (expand_start_all_catch): Or here.
4058         (expand_rethrow): Check the return value from find_func_region.
4059         * function.c (expand_function_end): Emit the catch_clauses.
4060         
4061 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
4062
4063         * integrate.c (expand_inline_function): Add necessary check for NULL.
4064
4065 1999-11-18  Nick Clifton  <nickc@cygnus.com>
4066
4067         * toplev.c (main): Correctly detect an unrecognised option.
4068
4069         * cppinit.c (cpp_handle_option): Do not claim to have consumed
4070         a -f option if it has not been recognised.
4071
4072 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
4073
4074         * basic-block.h (update_life_extent): Remove trailing comma on
4075         enumeration type list.
4076
4077 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4078
4079         * varasm.c (output_constructor) Solved problem with long long
4080         bitfields. Corrected calculating this_time and shift. Also
4081         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
4082
4083 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
4084
4085         * flow.c (split_edge): Take looping structure into account when
4086         determining where to put the new block note.
4087
4088 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
4089
4090         * Makefile.in (ggc-none.o): Provide host specific version if
4091         needed.
4092
4093 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
4094
4095         * cse.c (delete_trivially_dead_insns): Identify no-op insns
4096         containing subregs too.
4097
4098 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
4099
4100         * invoke.texi: Add documentation for -muninit-const-in-rodata.
4101         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
4102         (TARGET_UNINIT_CONST_IN_RODATA): Define.
4103         (text_section): Add switches -munint-const-in-rodata and
4104         -mno-uninit-const-in-rodata.
4105         (ASM_OUTPUT_COMMON): Remove.
4106         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
4107         const objects should be placed in read-only data. Otherwise declare
4108         them in common.
4109
4110 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
4111
4112         * jump.c (jump_optimize_1): Revert last change.
4113
4114 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
4115
4116         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
4117         test if optimizing for size.
4118
4119 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
4120
4121         * Makefile.in (toplev.o): Depend on except.h.
4122         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
4123
4124 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4125
4126         * i386.md (divmodsi4): Rewrite to expander.
4127         (*divmodsi4_nocltd): New.
4128         (*divmodsi4_cltd): New.
4129         (divmodsi4 splitter): Handle the case when input comes in edx.
4130         (udivmodhi4): Do not use constraints in exander.
4131         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
4132
4133 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
4134
4135         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
4136         for the common case.
4137
4138 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
4139
4140         * explow.c (hard_function_value): Add outgoing argument.
4141         * expr.h (hard_function_value): Declare it.
4142         * calls.c (expand_call, emit_library_call_value): Update callers.
4143         * function.c (aggregate_value_p): Ditto.
4144         (diddle_return_value): Must look at the outgoing registers
4145         on archs with register windows.
4146
4147 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
4148
4149         * alpha.c (alpha_build_va_list): Use make_lang_type and
4150         initialize TYPE_NAME for the va_list record.
4151
4152         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
4153
4154         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
4155         for printing.
4156         * ggc.h (struct ggc_statistics): Rearrange elements for better
4157         packing on 64-bit hosts.
4158         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
4159         (compute_nearerout): Likewise.
4160
4161 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
4162
4163         * config/rs6000/rs6000.c (first_reg_to_save): Save
4164         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
4165
4166 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
4167
4168         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
4169         notion of nesting to find the DIE for a type or function.
4170         DIEs can go in limbo even if we got a context_die.
4171         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
4172         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
4173         for local type.
4174         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
4175         (gen_type_die): Writing out the context doesn't cause member class
4176         template instantiations to be written out as well.
4177
4178 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
4179
4180         * rs6000.h (ASM_OUTPUT_DEF): New.
4181         Based on proposed addition from David Edelsohn.
4182
4183 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
4184             Bruce Korb  <autogen@linuxbox.com>
4185
4186         * fixinc/inclhack.def
4187         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
4188         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
4189                 in net/inet.h.
4190         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
4191         (svr4_endian): enabled with SVR5
4192         (svr4_mkdev): simplified syntax and enabled with SVR5
4193
4194 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
4195
4196         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
4197         * configure: Rebuilt.
4198         * config/t-freebsd-thread: New file.
4199
4200 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
4201
4202         * i386.c (ix86_decompose_address): Verify the base is a REG
4203         before trying to examine its register number.
4204
4205         * basic-block.h: Remove all #defines and prototypes related to
4206         integer lists.
4207         (free_bb_mem, compute_preds_succs): Remove prototype.
4208         * rtl.h (free_bb_mem): Remove prototype.
4209         * flow.c (alloc_int_list_node); Remove function.
4210         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
4211         (compute_preds_succs, free_bb_mem): Likewise.
4212         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
4213         * toplev.c (rest_of_compilation): Likewise.
4214         * haifa-sched.c (build_control_flow): Use flow generated edge
4215         list to build the haifa specific edge list.
4216         (find_rgns): Use new CFG data structures instead of pred/succ lists.
4217         (schedule_insns): Do not build pred/succ lists anymore.  Instead
4218         build the edge table.
4219
4220         * basic-block.h (dump_bb_data): Remove declaration.
4221         * flow.c (dump_bb_data): Remove function.
4222         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
4223         (sbitmap_union_of_predsucc): Likewise.
4224
4225         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
4226         argument.  All callers changed.
4227         (delete_null_pointer_checks_1): No longer need to compute the
4228         pred/succ lists.
4229
4230         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
4231         All callers changed.
4232         (pre_expr_reaches_here_p_work): Likewise.
4233         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
4234         * lcm.c (compute_laterin): Fix initialization of LATER.
4235         (compute_nearerout): Similarly for NEARER.
4236
4237 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4238
4239         * cse.c (set_nonvarying_address_components): Delete unused function.
4240         (refers_to_p): Likewise.
4241
4242 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
4243
4244         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
4245         needed.
4246
4247 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4248
4249         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
4250         definition in do while (0).
4251
4252 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
4253
4254         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
4255
4256 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
4257
4258         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
4259
4260 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
4261
4262         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
4263         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
4264         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
4265         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
4266
4267         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
4268         saved on the stack.  Output more accurate stack frame statistics
4269         into assembler file.
4270
4271 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
4272
4273         * genextract.c (record_insn_name): New function.
4274         (get_insn_name): No longer a stub.
4275         (main): Call record_insn_name for each insn.  After each label
4276         written, print the insn name in a comment.
4277
4278 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4279
4280         * output.h (const_section, init_section, fini_section): Add
4281         prototypes.
4282
4283         * alpha/elf.h (const_section): Delete declaration.
4284
4285         * svr4.h (const_section): Likewise.
4286
4287 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
4288
4289         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
4290         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
4291         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
4292         expressions.
4293         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
4294         variable-sized array bounds.
4295         
4296 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
4297
4298         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
4299         ASM_OUTPUT_LABEL.
4300
4301 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4302
4303         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
4304         addresses the same way GO_IF_LEGITIMATE_INDEX does. 
4305
4306 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4307
4308         * cse.c (hash_arg_in_struct): Delete.
4309         (struct table_elt): Delete elt in_struct.
4310         (struct set): Delete elt src_in_struct.
4311         (merge_equiv_classes): Don't set either hash_arg_in_struct or
4312         the corresponding in_struct elts.
4313         (canon_hash): Likewise.
4314         (safe_hash): Likewise.
4315         (find_best_addr): Likewise.
4316         (record_jump_cond): Likewise.
4317         (cse_insn): Likewise.
4318
4319 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
4320
4321         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
4322
4323         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
4324         unsigned types.
4325
4326 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
4327
4328         * function.c (diddle_return_value): Put back check that the DECL_RTL
4329         for the function is a register.
4330
4331         * function.c (diddle_return_value): Use hard_function_value to
4332         get an rtx suitable for use in the USE/CLOBBER insn.
4333
4334         * global.c (global_conflicts): Update comments.
4335         (record_conflicts): No need to record conflicts between pseudos here.
4336
4337 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
4338
4339         * fixinc/fixincl.c: Added verbose levels for status messages
4340
4341 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4342
4343         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
4344         operand as argument to expand_and or expand_binop.
4345
4346 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
4347
4348         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
4349         gcc_add_string_root.
4350
4351 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
4352
4353         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
4354
4355 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
4356
4357         * flow.c (compute_flow_dominators): Initially put all blocks on
4358         the worklist.
4359         * lcm.c (compute_antinout_edge, compute_available): Similarly.
4360         * gcse.c (compute_cprop_avinout): Remove.
4361         (compute_cprop_data): Use compute_available.
4362         (delete_null_pointer_checks_1): Use compute_available.
4363
4364         * basic-block.h (compute_available): Returns a void now.
4365         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
4366         to return a value anymore.
4367         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
4368         worklists.  Fix boundary cases. Compute maximal solutions.
4369         (compute_laterin, compute_nearerout): Similarly.
4370
4371         * dwarf2out.c (add_AT_location_description): Allow
4372         (mem (plus (pseudo) (...)) too.
4373
4374 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
4375
4376         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
4377
4378 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
4379                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4380
4381         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
4382
4383         * gansidecl.h: Likewise.
4384
4385         * rtl.c: Likewise.
4386
4387         * rtl.h: Likewise.
4388
4389         * toplev.h: Likewise.
4390
4391         * tree.c: Likewise.
4392
4393         * tree.h: Likewise.
4394
4395         * varray.c: Likewise.
4396
4397         * varray.h: Likewise.
4398
4399 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
4400
4401         * gcov.c (struct arcdata): Add hits and total, remove prob.
4402         (output_branch_counts): New.
4403         (process_args): Set output_branch_counts if -c.
4404         (calculate_branch_probs): Store hits and total instead of
4405         percentage.
4406         (output_data): Emit counts if output_branch_counts is true.
4407         * gcov.texi (Invoking Gcov): Document -c switch..
4408
4409 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
4410
4411         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
4412         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
4413
4414 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
4415
4416         * invoke.texi (C Dialect Options): Add missing builtins from
4417         c-common.c to list.
4418         * extend.texi (Other Builtins): Copy to this list.
4419
4420 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4421
4422         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
4423         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
4424         redundant bitmap.h.
4425
4426 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
4427
4428         * flow.c (compute_flow_dominators): No longer treat basic block 0
4429         or (n_basic_blocks - 1) specially.  Clear the AUX field before
4430         starting computation of doms/pdoms.  Fix initial state for pdoms.
4431
4432 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4433
4434         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
4435         match rtl.o's: added ggc.h and toplev.h
4436         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
4437         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
4438         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
4439
4440 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
4441
4442         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
4443         from HAVE_DOS_BASED_FILESYSTEM.
4444         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
4445         HAVE_DOS_BASED_FILESYSTEM.
4446         (main): Likewise.
4447         (split_directories): Only special-case DOS file names if
4448         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
4449         instead of explicit tests.  Conditionalize on !VMS.
4450         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
4451         tests.  Conditionalize on !VMS.
4452         (process_command): Only use make_relative_prefix if !VMS.
4453         (free_split_directories): Conditionalize on !VMS.
4454         (DIR_UP): Conditionalize on !VMS.
4455
4456 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4457
4458         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
4459
4460 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4461
4462         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
4463         case.
4464
4465 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
4466
4467         * invoke.texi (Environment Variables): Document relative path
4468         lookup.
4469         * gcc.c (DIR_UP): If not defined, define as "..".
4470         (standard_bindir_prefix): New static, holds target location to
4471         install binaries.
4472         (split_directories): New function to split a filename into
4473         component directories.
4474         (free_split_directories): New function, release memory allocated
4475         by split_directories.
4476         (make_relative_prefix): New function, make a relative pathname if
4477         the compiler is not in the expected location.
4478         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
4479         can figure out an appropriate prefix from argv[0].
4480         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
4481         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
4482         STANDARD_BINDIR_PREFIX.
4483
4484 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4485
4486         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
4487         in c4x.c.
4488         * config/c4x/c4x.h: Moved prototypes to c4x.h.
4489         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
4490         c4x_secondary_memory_needed) Delete.
4491         (fp_zero_operand): Add mode argument.
4492
4493 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
4494
4495         * reload1.c (reload_reg_free_for_value_p): Don't use a register
4496         that is in reload_reg_used.
4497
4498 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
4499
4500         * config/arm/arm-protos.h: New file: Prototypes for functions
4501         defined in arm.c and pe.c.
4502         * config/arm/arm.h: Fix compile time warnings.
4503         * config/arm/arm.c: Fix compile time warnings.
4504         * config/arm/pe.h: Fix compile time warnings.
4505         * config/arm/aout.h: Fix compile time warnings.
4506
4507 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
4508
4509         * config/m32r/m32r-protos.h: New file: Prototypes for functions
4510         defined in m32r.c
4511         
4512         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
4513         Add support for subtargets.
4514         Add prototypes for new predicates.
4515         Add scheduling macros.
4516         
4517         * config/m32r/m32r.c: Fix compile time warnings.
4518         (int8_operand): New predicate function.
4519         (reg_or_cmp_int16_operand): New predicate function.
4520         (extend_operand): New predicate function.
4521         (m32r_adjust_code): New scheduling function.
4522         (m32r_adjust_priorty): New scheduling function.
4523         (m32r_sched_init): New scheduling function.
4524         (m32r_sched_reorder): New scheduling function.
4525         (m32r_sched_variable_issue): New scheduling function.
4526         (direct_return): New codegen function.
4527         (m32r_not_same_reg): New rtl testsing function.
4528         
4529         * config/m32r/m32r.md: Fix compile time warnings.
4530         Add support for pre decrement and post increment memory
4531         references.
4532         Add S<cc> patterns.
4533         Add fabs patterns.
4534         
4535 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4536
4537         * global.c (EXECUTE_IF_CONFLICT): Don't define.
4538         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
4539         (find_reg): Likewise.
4540
4541 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
4542
4543         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
4544         to avoid assembler errors.
4545
4546 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
4547
4548         * config/v850/v850-protos.h: New file: Prototypes for functions
4549         defined in v850.c
4550         * config/v850/v850.h: Move prototypes to v850-protos.h
4551         * config/v850/v850.c: Move prototypes to v850-protos.h
4552         * config/v850/v850.md: Fix compile time warnings.
4553
4554         * config/fr30/fr30-protos.h: New file: Prototypes for functions
4555         defined in fr30.c
4556         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
4557         * config/fr30/fr30.c: Fix compile time warnings.
4558         * config/fr30/fr30.md: Fix compile time warnings.
4559
4560 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
4561
4562         * tree.h (get_containing_scope): Declare it.
4563         * tree.c (get_containing_scope): New fucntion.
4564         (decl_function_context): Use it.
4565         * toplev.c (rest_of_compilation): Use get_containing_scope.
4566
4567 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4568
4569         * Makefile.in (rtl.o): Depend on toplev.h.
4570
4571 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
4572
4573         * cse.c (delete_trivially_dead_insns): Replace alloca with
4574         xmalloc/xcalloc.
4575         * except.c (update_rethrow_references): Likewise.
4576         (init_eh_nesting_info): Likewise.
4577         * function.c (identify_blocks): Likewise.
4578         * gcse.c (dump_hash_table): Likewise.
4579         * graph.c (print_rtl_graph_with_bb): Likewise.
4580         * loop.c (combine_movables): Likewise.
4581         (move_movables): Likewise.
4582         (count_loop_regs_set): Likewise.
4583         (strength_reduce): Likewise.
4584         * profile.c (compute_branch_probabilities): New function, split
4585         out from ...
4586         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
4587         * regclass.c (regclass): Likewise.
4588         * regmove.c (regmove_optimize): Likewise.
4589         * toplev.c (compile_file): Likewise.
4590         (main): Don't mess with the stack rlimit.
4591         
4592 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
4593
4594         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
4595         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
4596
4597 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
4598
4599         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
4600
4601 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
4602
4603         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
4604         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
4605         macro expansion.
4606
4607 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
4608
4609         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
4610
4611 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
4612
4613         * gcse.c (post_dominators): Kill.
4614         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
4615         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
4616         pass in a pdom array since we do not need pdoms.
4617         * haifa-sched.c (schedule_insns): Similarly.
4618         * flow.c (compute_dominators): Remove dead function.
4619         (compute_flow_dominators): Do not compute doms or pdoms if the
4620         caller does not request them.  Split up loop to build doms and
4621         pdoms.  Use a worklist to compute doms and pdoms.
4622         * basic-block.h (compute_dominators): Remove prototype.
4623
4624 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
4625
4626         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
4627         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
4628         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
4629         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
4630         (cant_move, fed_by_spec_load, is_load_insn): Remove.
4631         (schedule_region): Remove unused variable.
4632         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
4633
4634 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
4635
4636         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
4637         (update_equiv_regs): Likewise.
4638         (block_alloc): Likewise.
4639         * reg-stack.c (reg_to_stack): Likewise.
4640         (convert_regs_2): Likewise.
4641         * reload1.c (reload_as_needed): Likewise.
4642         
4643 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
4644
4645         * Makefile.in (dbxout.o): Depend on ggc.h.
4646         (dwarf2out.o): Likewise.
4647         (xcoffout.o): Likewise.
4648         * dbxout.c: Include ggc.h.
4649         (dbxout_init): Register lastfile as a root.
4650         * dwarf2out.c: Include ggc.h.
4651         (dwarf2out_line): Register lastfile as a root.
4652         * xcoffout.c: Include ggc.h.
4653         (xcoffout_source_line): Register xcoff_lastfile as a root.
4654
4655 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
4656
4657         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
4658
4659 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
4660
4661         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
4662         defined.
4663         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
4664
4665 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4666
4667         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
4668         (EXECUTE_IF_CONFLICT): Likewise.
4669         (ALLOCNO_LIVE_P): Avoid signed division.
4670         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
4671         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
4672         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
4673
4674 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
4675
4676         * haifa-sched.c (schedule_block): Don't crash if there's no
4677         next insn for an interblock movement.
4678         (add_branch_dependences): Don't allow clobber insns to move either.
4679
4680 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
4681
4682         * i386.c (split_xf): New.
4683         * i386-protos.h: Declare it.
4684         * i386.md (movxf_1): Add general regs alternatives.
4685         (movxf_1+1): New splitter for same.
4686
4687 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
4688
4689         * function.c (purge_addressof_1): Add missing return values.
4690
4691 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
4692
4693         * function.c (is_addressof): New function.  Returns true if
4694         the given piece of RTL is an ADDRESSOF.
4695         (purge_addressof_1): Make boolean.  Return false if the
4696         ADDRESSOFs could not be purged.
4697         (purge_addressof): If ADDRESSOFs could not be purged from the
4698         notes attached to an insn, remove the offending note(s),
4699         unless they are attached to a libcall.
4700
4701 1999-11-05  Andreas Jaeger  <aj@suse.de>
4702
4703         * genoutput.c (null_operand =): Initialize all fields.
4704
4705         * errors.h: Add extern to prototypes.
4706
4707 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
4708
4709         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
4710         * configure: Rebuilt.
4711
4712 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4713
4714         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
4715         (mirror_conflicts): New function.
4716         (global_alloc): Call it.
4717         (expand_preferences): Remove redundant CONFLICTP test.
4718         (find_reg, dump_conflicts): Likewise.
4719         (prune_preferences): Process conflicts one word at a time.
4720
4721 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
4722
4723         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
4724         instead of an explicit loop.
4725
4726 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
4727
4728         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
4729         if REG_RETVAL check succeeds, then put classp in src_elt.
4730
4731 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
4732
4733         * function.c (pad_to_arg_alignment): Only update argument_pad
4734         if the argument's alignment is greater than STACK_BOUNDARY.
4735
4736 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
4737
4738         * bitmap.h (BITMAP_XFREE): New.
4739         * flow.c (life_analysis): Use it.
4740         (life_analysis_1): Free blocks.
4741
4742         * combine.c (undo_commit): New.
4743         (try_combine): Use it.  Don't zap undobuf.undos.
4744         (combine_instructions): Don't zap undobuf.undos; free the
4745         undobuf.frees list.
4746
4747         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
4748
4749         * stmt.c (cost_table_): New.
4750         (estimate_case_costs): Use it instead of xmalloc.
4751
4752         * toplev.c (compile_file): Reuse dumpname memory instead
4753         of strdup'ing it.
4754
4755 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
4756
4757         * reg-stack.c (convert_regs_1): Initialize target_stack->top
4758         after verifying an EH edge.
4759
4760         * haifa-sched.c (init_rgn_data_dependences): Correctly
4761         size bb_pending_lists_length when zeroing.
4762
4763 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
4764
4765         * function.c (diddle_return_value): New.
4766         (expand_function_end): Use it.
4767         * stmt.c (expand_null_return): Likewise.
4768         (expand_value_return): Likewise.
4769
4770         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
4771
4772         * reload1.c (reload): Don't remove return value clobbers.
4773
4774 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
4775
4776         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
4777
4778 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
4779
4780         * cse.c (cse_main): Use xmalloc, not alloca.
4781         (cse_basic_block): Likewise.
4782         * local-alloc.c (local_alloc): Likewise.
4783
4784 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
4785                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4786
4787         * rtl.c: Include toplev.h.
4788         (fatal): Remove declaration.
4789
4790 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
4791
4792         * haifa-sched.c (schedule_block): Fix thinko.
4793
4794 1999-11-03  James McKelvey <mckelvey@fafnir.com>
4795
4796         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
4797         S_IR* defined values
4798
4799 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
4800
4801         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
4802         call `malloc' instead.
4803
4804 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
4805
4806         * flags.h (flag_renumber_insns): Declare.
4807         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
4808         renumbering table.
4809         * rtl.h (renumber_insns): Change prototype.
4810         * toplev.c (flag_renumber_insns): Define.
4811         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
4812         
4813 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
4814
4815         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
4816         and fpsqrtd.  Use them and create fdiv function unit to more
4817         accurately represent fpu sqrt pipeline semantics on UltraSparc.
4818         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
4819
4820 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
4821
4822         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
4823         3 on UltraSparc.
4824         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
4825         insn into ready list, do not use just a raw swap.
4826
4827 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
4828
4829         * rtl.h (renumber_insns): New function.
4830         (remove_unnecessary_notes): Likewise.
4831         * emit-rtl.c (renumber_insns): Define.
4832         (remove_unncessary_notes): Likewise.
4833         * toplev.c (rest_of_compilation): Remove dead code.
4834         Use renumber_insns and remove_unncessary_notes.
4835
4836         * gcse.c (struct null_pointer_info): New type.
4837         (get_bitmap_width): New function.
4838         (current_block): Remove.
4839         (nonnull_local): Likewise.
4840         (nonnull_killed): Likewise.
4841         (invalidate_nonnull_info): Take a null_pointer_info as input.
4842         (delete_null_pointer_checks_1): New function.
4843         (delete_null_pointer_checks): Use it.
4844
4845         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
4846         (split_edges): Likewise.
4847         (schedule_block): Likewise.
4848         (compute_block_backward_dependencies): Likewise.
4849         (schedule_region): Likewise.
4850         (schedule_insns): Likewise.
4851         
4852 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
4853
4854         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
4855         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
4856         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
4857         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
4858         * jump.c (delete_unreferenced_labels): Don't delete if
4859         LABEL_ALTERNATE_NAME is set.
4860         * print-rtl.c (print_rtx): Dump alternate name.
4861         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
4862         * rtl.h (LABEL_ALTERNATE_NAME): Define.
4863         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
4864         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
4865
4866 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4867
4868         * fix-header.c (recognized_extern, recognized_function): Constify
4869         a char*.
4870
4871         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
4872         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4873         (compute_available): Remove unused variable `last'.
4874         (compute_nearerout): Remove unused variable `temp_bitmap'.
4875         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4876         Remove unused variable `x'.
4877
4878         * scan.h (recognized_function, recognized_extern): Constify a
4879         char*.
4880
4881         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
4882
4883 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4884
4885          * varasm.c (decode_rtx_const): Use XSTR to access the string
4886          of a SYMBOL_REF.
4887
4888 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
4889
4890         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
4891
4892 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4893
4894         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
4895
4896 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
4897
4898         * pa.c (ireg_operand): New function.
4899         * pa.h (PREDICATE_CODES): Handle ireg_operand.
4900         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
4901         Fix out of date comment.
4902
4903         * pa.md (negdi2): Turn into expander + anonymous pattern.
4904
4905         * reload.c (find_reloads): Fix typos in recent change.
4906
4907         * dwarf2out.c: Do not include ctype.h.
4908
4909 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4910
4911         * regclass.c (record_reg_classes): Always use may_move_cost when
4912         seeing how operand fits with various register classes.
4913
4914 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
4915
4916         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
4917         * toplev.c: Revert Nov 1 13:22 change.
4918
4919 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
4920
4921         * config/pa/pa.md (height reduction patterns): Add checks for
4922         overlapping operands to avoid semantic-destroying splits for 
4923         height reduction patterns.
4924
4925 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4926
4927         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
4928         have been an hyphen, fixed.
4929         * configure: Rebuilt.
4930
4931 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
4932
4933         * config/arm/tpe.h: Add prototypes for exported functions.
4934         * config/arm/pe.c: Fix compile time warnings.
4935         * config/arm/semi.h: Fix compile time warnings.
4936         * config/arm/arm.c: Fix compile time warnings.
4937         * config/arm/arm.h: Fix compile time warnings.
4938         * config/arm/arm.md: Fix compile time warnings.
4939         * config/arm/thumb.c: Fix compile time warnings.
4940         * config/arm/thumb.h: Fix compile time warnings.
4941         * config/arm/thumb.md: Fix compile time warnings.
4942
4943 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
4944
4945         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
4946         detection code
4947
4948         * unroll.c (unroll_loop): Remove LOOP notes when loop is
4949         completely unrolled.
4950
4951 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4952
4953         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
4954
4955 Tue Nov  2 09:43:00 1999   Catherine Moore  <clm@cygnus.com>
4956
4957         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
4958         * rtl.h (rtx_equal_p): Move prototype.
4959         * rtl.c (rtx_equal_function_value_matters): Move from 
4960         rtlanal.c
4961         (rtx_equal_p): Likewise.
4962         * rtlanal.c (rtx_equal_function_value_matters): Delete.
4963         (rtx_equal_p): Likewise.
4964
4965 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
4966
4967         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
4968         ! HAS_INIT_SECTION.
4969
4970 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
4971
4972         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
4973
4974         * pa.h (ADDR_VEC_ALIGN): Define.
4975
4976         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
4977         notes when presented with "if (foo) break; end_of_loop" and
4978         the break sequence gets moved out of the loop.
4979
4980         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
4981         Remove explicit zero initializations of entries within MAP.
4982
4983 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
4984
4985         * reg-stack.c (convert_regs_1): Handle EH edges specially.
4986
4987 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
4988
4989         * bitmap.h (BITMAP_XMALLOC): New macro.
4990         * flow.c (CLEAN_ALLOCA): Remove.
4991         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
4992         (life_analysis): Likewise.
4993         (update_life_info): Don't use CLEAN_ALLOCA.
4994         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
4995         (calculate_global_regs_live): Likewise.
4996         (print_rtl_with_bb): Likewise.
4997         (verify_flow_info): Likewise.
4998         * global.c (global_alloc): Likewise.
4999         (global_conflicts): Likewise.
5000         * integrate.c (save_for_inline_nocopy): Likewise.
5001         (expand_inline_function): Likewise.
5002         * jump.c (jump_optimize_1): Likewise.
5003         (duplicate_loop_exit_test): Likewise.
5004         (thread_jumps): Likewise.
5005         * loop.c (loop_optimize): Likewise.
5006         (combine_givs): Likewise.
5007         (recombine_givs): Likewise.
5008         * reorg.c (dbr_schedule): Likewise.
5009         * unroll.c (unroll_loop): Likewise.
5010         
5011         * combine.c (combine_instructions): Use xmalloc instead of alloca.
5012
5013 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
5014
5015         * toplev.c (rest_of_compilation): Don't optimize the CFG
5016         when rebuilding, just before dbr.
5017
5018 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5019
5020         * output.h (assemble_end_function, assemble_destructor,
5021         assemble_constructor, assemble_gc_entry, assemble_global,
5022         assemble_label, output_constant_pool) Constify a char*.
5023
5024         * varasm.c (assemble_destructor, assemble_constructor,
5025         assemble_gc_entry, assemble_end_function, assemble_global,
5026         assemble_label, output_constant_pool): Likewise.
5027
5028 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
5029
5030         * config/arm/thumb.c (thumb_expand_prologue): Add comments
5031         explaining what is goin on in this function.
5032
5033 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5034
5035         * regclass.c (record_reg_classes): In matching case, recompute
5036         costs since the direction of movement is different.
5037
5038 Sun Oct 31 21:59:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5039
5040         * resource.c (mark_target_live_regs): For unconditional branches,
5041         the resources found at the branch target should be added to the
5042         resources found so far, not intersected.
5043
5044 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
5045
5046         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
5047         old cpp's.
5048         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
5049         (sys/mman.h): Include this file only if #HAVE_MMAP.
5050         (run_compiles): Initialize `esac_fmt' with one old KR string, not
5051         with automatically concatenated ANSI strings.
5052
5053 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
5054
5055         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
5056         (DIV_ROUND_UP): Robustify.
5057         (ggc_recalculate_in_use_p): New function.
5058         (release_pages): Don't inline it.
5059         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
5060         outer contexts.
5061         (ggc_pop_context): Use ggc_recalculate_in_use_p.
5062         (clear_marks): Always save in_use_p.
5063         (sweep_pages): Use ggc_recalculate_in_use_p.
5064         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
5065         Release pages before counting statistics.
5066         
5067 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
5068
5069         * toplev.c (rest_of_compilation): Fix thinko in this change:
5070         
5071         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
5072
5073         (rest_of_compilation): If inside an inlined external function,
5074         pretend we are just being declared.
5075
5076 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
5077
5078         * flow.c (calculate_global_regs_live): Fix thinko.
5079
5080         * integrate.c (expand_inline_function): Fix bugs in previous
5081         change from Oct 28, 1999.
5082
5083 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
5084
5085         * stmt.c (expand_value_return): Fix typo in this change:
5086
5087         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5088         (expand_value_return): Correctly convert VAL when promoting function
5089         return; support RETURN_REG being a PARALLEL.
5090         
5091 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
5092
5093         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
5094
5095 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5096
5097         * hard-reg-set.h (reg_names): Constify a char*.
5098
5099         * regclass.c  (reg_names): Likewise.
5100
5101         * regs.h (reg_names): Likewise
5102
5103         * a29k/a29k.c (reg_names): Delete declaration.
5104
5105         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
5106
5107         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
5108         arc_output_function_epilogue): Likewise.
5109
5110         * elxsi/elxsi.c (reg_names): Likewise.
5111
5112         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
5113         
5114         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
5115         Likewise.
5116
5117         * m88k/m88k.c (output_function_profiler): Likewise.
5118
5119         * sparc/sparc.c (sparc_flat_output_function_prologue,
5120         sparc_flat_output_function_epilogue): Likewise.
5121
5122 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
5123
5124         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
5125         warning from -Wuninitialized and put it under -W.
5126         * function.c (uninitialized_vars_warning): Warn only when the
5127         corresponding flag is set.
5128
5129 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
5130
5131         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
5132         is nonzero and the single set does not have an elt, then assign
5133         it an elt.
5134
5135         * simplify-rtx.c: New file.
5136         * Makefile.in (OBJS): Add simplify-rtx.o
5137         (simplify-rtx.o): Add dependencies.
5138         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
5139         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
5140         (cse_gen_binary, simplify_unary_operation): Delete.
5141         (simplify_binary_operation, simplify_plus_minus): Likewise.
5142         (check_fold_consts, simplify_relation_operation): Likewise.
5143         (simplify_ternary_operation): Likewise.
5144         (delete_trivially_dead_insns): Simplify the contents of the
5145         REG_EQUAL note before trying to substitute it into the source
5146         of the reg-reg copy at the end of a libcall sequence.
5147
5148         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
5149         references/callers changed.
5150
5151         * mn10200.c (mn10200_va_arg): Force the return value into a
5152         register.
5153
5154         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
5155
5156         * cccp.c (macroexpand): Avoid out of range accesses for omitted
5157         arguments.
5158
5159 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
5160
5161         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
5162
5163 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
5164
5165         * fold-const.c (fold): Fix thinko when optimizing comparisons
5166         against -0.0.
5167
5168 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
5169
5170         * gcc.texi (Passes): Update front-end files to their current 
5171         location.
5172
5173 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
5174
5175         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
5176         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
5177         (PREDICATE_CODES): Add addition_operation.
5178         * alpha-protos.h (addition_operation): Declare.
5179         (secondary_reload_class): Likewise.
5180         * alpha.c (addition_operation): New.
5181         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
5182         * alpha.md (adddi3): Turn into expander.
5183         (*lda, *adddi_2): New.
5184         (movsf, movdf patterns): Don't preference integer regs.
5185         (movsi, movdi patterns): Don't preference fp regs.
5186
5187 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
5188
5189         * genrecog.c (write_switch): Check for duplicate CODE cases.
5190
5191 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
5192
5193         * ggc-common.c: Update pre-function commentary.
5194         * ggc-page.c: Likewise.
5195         (poison): Remove.
5196         (poison_pages): Use memset directly.
5197         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
5198         (ggc_collect): Poison before sweeping.
5199         * ggc-simple.c: Update pre-function commentary.
5200         (ggc_alloc_obj): Poison non-zeroed memory.
5201
5202 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
5203
5204         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
5205         match format string, even on 64-bit hosts.
5206         * gcc-page.c (ggc_page_print_statistics): Likewise.
5207
5208 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
5209
5210         * config/i386/i386.c (ix86_cpu): Revert last patch.
5211         * config/i386/i386.h (ix86_cpu): Ditto.
5212
5213 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
5214
5215         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
5216         TYPE_SIZE, convert type of result to sizetype.
5217
5218 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
5219
5220         * flow.c (count_or_remove_death_notes): Equate NULL with the
5221         universal set.
5222
5223         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
5224         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
5225         dbr_schedule.
5226
5227         * i386.c (pic_label_no): Delete.
5228         (ix86_attr_length_default): Don't use single_set to peek
5229         inside a parallel.
5230
5231         * recog.c (peephole2_optimize): Allow recog_next_insn to index
5232         the first insn after bb->end.
5233         * i386.md (push mem peeps): Scratch is live after evaluation
5234         of the memory.
5235         (cmp mem peep): Similarly.
5236
5237 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
5238
5239         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
5240         * function.c (pad_to_arg_alignment): Add missing braces.
5241
5242 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5243
5244         * alpha/alpha-protos.h (literal_section): Add prototype.
5245         (alpha_need_linkage, alpha_start_function,alpha_end_function):
5246         Constify a char*.
5247
5248         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
5249         prototype.
5250         (alpha_start_function, alpha_end_function, float_strings,
5251         alpha_need_linkage): Constify a char*
5252
5253         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
5254
5255         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
5256
5257         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5258
5259         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5260
5261 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5262
5263         * flow.c (debug_flow_info): Add prototype.
5264
5265         * gcc.c (main): Likewise.
5266
5267         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
5268         Likewise.
5269
5270         * reload1.c (failed_reload, set_reload_reg): Likewise.
5271         
5272         * mips-tfile.c (main): Likewise.
5273         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
5274         with ATTRIBUTE_NORETURN.
5275
5276 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
5277
5278        * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
5279        DECL is not a memory ref.
5280  
5281 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
5282
5283         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
5284         * config/i386/i386.c (ix86_cpu): Add extern attribute.
5285
5286 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
5287
5288         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
5289         * config/mips/elf64.h: ditto.
5290
5291 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
5292
5293         * expr.c (emit_push_insn): New argument alignment_pad.
5294         Update all callers.  Adjust stack pointer based on alignment pad.
5295         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
5296         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
5297         (locate_and_pad_parm): New argument alignment_pad.  Update all
5298         callers.
5299         * expr.h (emit_push_insn): Update prototype.
5300         (locate_and_pad_parm): Update prototype.
5301         * calls.c (arg_data):  Add new field alignment_pad.
5302         (initialize_argument_information): Initialize alignment_pad.
5303
5304 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
5305
5306         * except.c (free_eh_nesting_info): Free the info itself.
5307         * function.c (free_after_compilation): Don't free NULL.
5308         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
5309         (pre_edge_insert): Free inserted.
5310         * stmt.c (free_stmt_status): Don't free NULL.
5311
5312 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
5313
5314         * gcov.c (DIR_SEPARATOR): Provide default.
5315         (output_data): Add test for MS-DOS format absolute filename.
5316         (fancy_abort): Correct program name.
5317         (open_files): Open all files in binary mode.
5318         * libgcc2.c (__bb_exit_func): Likewise.
5319
5320         * profile.c (init_branch_prob): Specify binary when opening files.
5321
5322         * flags.h (flag_unwind_tables): New decl.
5323         * toplev.c (flag_unwind_table): New definition.
5324         (f_options): Add -funwind-tables.
5325         (decode_g_option): Clarify warning when unknown -g option is given.
5326         (rest_of_compilation): If inside an inlined external function,
5327         pretend we are just being declared.
5328
5329         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
5330         (dwarf2out_frame_finish): Likewise.
5331
5332 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
5333
5334         * fold-const.c (merge_ranges): If not in0, but in1, handle
5335         upper bounds equal like subset case.
5336
5337 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
5338
5339         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
5340         passed in a register but moved to the stack.
5341
5342 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
5343
5344         * gcc.c (pass_exit_codes, greatest_status): New variables.
5345         (struct option_map): Add entry for "--pass-exit-codes".
5346         (execute): Update greatest_status if error.
5347         (display_help): Add documentation for -pass-exit-codes.
5348         (process_command): Handle -pass-exit-codes.
5349         (main): Look at pass_exit_codes and greatest_status on call to exit.
5350
5351 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5352
5353         * reload.c (find_reloads): Refine test for no input reload
5354         case to not includes reloads emitted after insn.
5355
5356         * function.c (find_temp_slots_from_address): Handle sum involving
5357         a register that points to a temp slot.
5358         (update_temp_slot_address): Make recursive call if both old and
5359         new are PLUS with a common operand.
5360         * calls.c (expand_call): Mark temp slot for result as having
5361         address taken.
5362         
5363         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
5364
5365         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
5366         component as well as "BINUTILS".
5367
5368         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
5369         * integrate.c (copy_rtx_and_substitute): Likewise.
5370         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
5371         All callers changed.
5372         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
5373         
5374         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
5375         gdb extensions, write size of type; also be more consistent
5376         in using references when this is a subtype.
5377
5378         * pa.md (extv, extzv, insv): Use define_expand to reject constant
5379         that is out of range.
5380
5381         * loop.c (unknown_constant_address_altered): New variable.
5382         (prescan_loop): Initialize it.
5383         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
5384         (invariant_p, case MEM): Remove handling for volatile and readonly;
5385         check new variable if readonly.
5386         (check_dbra_loop): Chdeck unknown_constant_address_altered.
5387
5388         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
5389         (addr_affects_sp_p): Removed from note_mem_written and only
5390         define #ifdef AUTO_INC_DEC.
5391
5392         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
5393
5394         * regclass.c (record_reg_classes): Properly handle register move
5395         directions.
5396
5397         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
5398         Don't think valid if both operands are invalid.
5399         (struct constant_descriptor): New field RTL.
5400         (mark_const_hash_entry): Mark it.
5401         (record_constant{,_rtx}): Initialize it.
5402         (output_constant_def): Allocate RTL in permanent obstack and
5403         save in table.
5404         ({record,compare}_constant_1): Modes must match for
5405         CONSTRUCTOR of ARRAY_TYPE.
5406
5407         * c-common.h (initializer_constant_valid_p): Delete decl from here.
5408         * output.h (initializer_constant_valid_p): Move decl to here.
5409         * c-common.c (initializer_constant_valid_p): Delete function from here.
5410         * varasm.c (initializer_constant_valid_p): Move function to here.
5411
5412         * tree.h (STRIP_SIGN_NOPS): New macro.
5413         * fold-const.c (optimize_minmax_comparison): New function.
5414         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
5415         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
5416         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
5417         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
5418         widening conversions.
5419         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
5420         to look at size of mode, not precision of type; also add missing cases.
5421         (optimize_bit_field_compare, decode_field_reference): Don't try to
5422         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
5423
5424         * dwarf2out.c (ctype.h): Include.
5425         (dwarf2out_set_demangle_name_func): New function.
5426         (size_of_line_info): Deleted.
5427         (output_line_info): Compute size of line info table from difference
5428         of labels.
5429         (base_type_die, add_name_attribute): Call demangle function, if any.
5430         (field_byte_offset): Use bits per word for variable length fields.
5431         (gen_array_type_die): Add array name.
5432         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
5433         (dwarf2out_add_library_unit_info): New function.
5434
5435         * explow.c (set_stack_check_libfunc): New function.
5436         (stack_check_libfunc): New static variable.
5437         (probe_stack_range): Allow front-end to set up a libfunc to call.
5438
5439         * combine.c (simplify_comparison): When making comparison in wider
5440         mode, check for having commuted an AND and a SUBREG.
5441         (contains_muldiv): New function.
5442         (try_combine): Call it when dividing a PARALLEL.
5443         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
5444         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
5445         a PLUS.
5446         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
5447         use one of the CLOBBERs instead.
5448         (if_then_else_cond): If comparing against zero, just return thing
5449         being compared.
5450
5451         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
5452         Don't generate shifts and subtract if have conditional arithmetic.
5453
5454         * rtl.h (delete_barrier): New declaration.
5455         * jump.c (jump_optimize): Set up to handle conditional call.
5456         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
5457         (delete_barrier): New function.
5458
5459         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
5460
5461         * recog.c (nonmemory_operand): Accept ADDRESSOF.
5462
5463         * tree.c (build_type_attribute_variant): Push to obstack of
5464         ttype around type_hash_canon call.
5465
5466         * expr.c (placeholder_list): Move decl to file scope.
5467         (expand_expr): Don't force access to volatile just because its
5468         address is taken.
5469         If ignoring reference operations, just expand the operands.
5470         (expand_expr, case COMPONENT_REF): Propagate
5471         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
5472         Refine test for using bitfield operations vs pointer punning.
5473         (expand_expr, case CONVERT_EXPR): If converting to
5474         BLKmode UNION_TYPE from BLKmode, just return inner object.
5475         Use proper mode in store_field call.
5476         Properly set sizes of object to store and total size in store_field
5477         call for convert to union.
5478         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
5479         memory (like for ADDR_EXPR).  Also, don't put constant in register if
5480         we'll want it in memory.
5481         (readonly_fields_p): New function.
5482         (expand_expr, case INDIRECT_REF): Call it if LHS.
5483         (expand_assignment): Handle a RESULT_DECL where
5484         DECL_RTL is a PARALLEL.
5485         (do_jump, case WITH_RECORD_EXPR): New case.
5486         (get_inner_reference): Always go inside a CONVERT_EXPR
5487         and NOP_EXPR if both modes are the same.
5488         (store_field): Use bitfield operations if size of bitsize is not same
5489         as size of RHS's type.
5490         Check for bitpos not a multiple of alignment in BLKmode case.
5491         Do block move in largest possible alignment.
5492         (store_constructor): Set BITSIZE to -1 for variable size and properly
5493         in case of array of BLKmode.
5494         (expand_expr_unaligned): New function.
5495         (do_compare_and_jump): Call it.
5496
5497         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
5498         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
5499         does not include 'o'.
5500
5501         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
5502         both SET_DEST and SET_SRC reference a virtual register.
5503         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
5504
5505         * integrate.c (expand_inline_function): Handle case of setting
5506         virtual stack vars register (from built in setjmp); when parameter
5507         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
5508         (subst_constant): Add new parm, MEMONLY.
5509         (expand_inline_function, integrate_parm_decls): Pass new parm.
5510         (integrate_decl_tree): Likewise.
5511         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
5512         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
5513         (copy_rtx_and_substitute, case SET): Add explicit calls to
5514         copy_rtx_and_substitute for both sides.
5515
5516         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
5517         constraints.
5518         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
5519         within INDEX_TYPE, instead of before.
5520         (fixup_gotos): Use f->target_rtl, not the next insn,
5521         since latter may be from a later fixup.
5522         (expand_value_return): Correctly convert VAL when promoting function
5523         return; support RETURN_REG being a PARALLEL.
5524         (expand_return): When checking for result in regs and having
5525         cleanup, consider PARALLEL in DECL_RTL as being in regs.
5526
5527 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
5528
5529         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
5530         last_nominal_fname): Mark const.
5531         (struct include_hash: name, nshort, control_macro): Mark
5532         const.
5533         (struct macrodef: symnam): Mark const.
5534         (struct if_stack: fname): Mark const.
5535         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
5536         (IStable): New character-syntax array which encompasses all
5537         the old is_foo arrays.
5538         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
5539         is_space): New macros for interrogating IStable.
5540         (check_macro_name): Kill last argument.  All callers changed.
5541
5542         * cppinit.c (initialize_char_syntax): Delete.
5543         (is_idchar, is_idstart, is_hor_space, is_space,
5544         trigraph_table): Delete.
5545         (IStable): New.  Initialize with clever macros to avoid
5546         information duplication.
5547         (builtin_array): Table of builtins to get rid of explicit list
5548         in initialize_builtins.
5549         (initialize_builtins): Use builtins_array.
5550         (cpp_start_read): Call init_IStable, and set IStable['$'] if
5551         opts->dollars_in_ident.
5552
5553         * cppexp.c: Change all refs to is_xyz[] arrays to use new
5554         is_xyz() macros.
5555         (cpp_parse_expr): Avoid 'format string is not constant'
5556         warning. Use ISGRAPH to identify printable chars.
5557         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
5558         is_xyz() macros.
5559         (read_and_prescan): Map trigraphs to chars with open-coded
5560         if-else-if-... sequence, not a lookup table.
5561         * cpphash.c: Change all refs to is_xyz[] arrays to use new
5562         is_xyz() macros.
5563         * cpplib.c: Change all refs to is_xyz[] arrays to use new
5564         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
5565         (check_macro_name): Remove ability to report an invalid
5566         assertion name, which is never used.
5567         (do_line): Constify a couple of char *'s.
5568         * cppmain.c (main): Call cpp_cleanup before returning.
5569
5570 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
5571
5572         * ggc.h (struct ggc_statistics): New type.
5573         (ggc_get_size): New function.
5574         (ggc_print_statistics): Likewise.
5575         * ggc-common.c (ggc_stats): New variable.
5576         (ggc_mark_rtx_children): Keep statistics.
5577         (ggc_mark_tree_children): Likewise.
5578         (ggc_print_statistics): New function.
5579         * ggc-page.c (struct globals): Add bytes_mapped field.
5580         (alloc_anon): Update it.
5581         (release_pages): Likewise.
5582         (ggc_get_size): New function.
5583         (ggc_page_print_statistics): New function.
5584         * ggc-simple.c (ggc_get_size): New function.
5585         
5586 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
5587
5588         * flow.c (propagate_block): When the last reference to a label
5589         before an ADDR_VEC is deleted because the reference is a dead
5590         store, delete the ADDR_VEC.
5591
5592 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
5593
5594         * resource.c (find_free_register): Don't use the frame pointer
5595         if frame_pointer_needed.
5596
5597 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
5598
5599         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
5600         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
5601
5602         * config/i960/i960.c (i960_va_start): New locals base, num.
5603         Use INDIRECT_REF instead of ARRAY_REF on valist.
5604         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
5605
5606 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
5607
5608         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
5609
5610 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
5611
5612         * tree.def (PLACEHOLDER_EXPR): Update comments.
5613
5614 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5615
5616         * c-common.c (check_format_info): Avoid non-literal format string
5617         warnings when `first_arg_num' is zero.
5618
5619 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5620
5621         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
5622
5623 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
5624
5625         * arm.md (casesi_insn): Add a clobber of the condition code
5626         register.
5627
5628 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
5629
5630         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
5631         used by both cc1 and cc1plus.
5632         
5633 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
5634
5635         * config/arm/arm.c: Initialise arm_structure_size_boundary to
5636         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
5637         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
5638         to the value 32 if it has not already been defined.
5639         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
5640         Override definition in arm.h with a value of 8.
5641
5642 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
5643
5644         * c-pragma.c (push_alignment): Don't check the return value
5645         of xmalloc.
5646
5647 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
5648
5649         * sparc.h (ADJUST_COST): Fix thinko.
5650
5651 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
5652
5653         * cccp.c (rescan): Fixed obp pointer handling around call to
5654         check_expand subroutine.
5655
5656 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
5657
5658         * gcse.c (delete_null_pointer_checks): Only record non-null info
5659         for pseudos when examining stores.
5660
5661         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
5662         splitters for these patterns.  Use "#" for output templates.
5663         (addsi3_carryin_shift): New pattern.
5664
5665 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
5666
5667         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
5668         of the function return register into a plain REG until
5669         after function inlining is done.
5670
5671 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
5672
5673         * jump.c (jump_optimize_1): If we did cross-jumping, and
5674         the data will matter, rebuild the CFG.
5675         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
5676         not optimizing.  Don't run shorten_branches.
5677         * toplev.c (rest_of_compilation): Run shorten_branches after
5678         reg_to_stack.
5679
5680 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
5681
5682         * rtl.h (note_stores): Add additional paramter.
5683         * rtlanal.c (reg_set_p_1): Take additional paramter.
5684         (reg_set_last_1): Likewise.
5685         (reg_set_p): Adjust call to note_stores.
5686         (reg_set_last): Likewise.
5687         (note_stores): Pass data parameter to worker function.
5688         * alias.c (record_set): Take additional parameter.
5689         (init_alias_analysis): Pass it.
5690         * caller-save.c (mark_set_regs): Take additional parameter.
5691         (save_call_clobbered_regs): Pass NULL to note_stores.
5692         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
5693         parameter.
5694         (record_dead_and_set_regs_1): Likewise.
5695         (reg_dead_at_p_1): Likewise.
5696         (combine_instructions): Adjust calls to note_stores.
5697         (try_combine): Likewise.
5698         (record_dead_insn): Remove.
5699         (record_dead_and_set_regs): Adjust calls to note_stores.
5700         (reg_dead_at_p): Likewise.
5701         * cse.c (invalidate_skipped_set): Take additional parameter.
5702         (cse_check_loop_start): Likewise.
5703         (cse_check_loop_start_value): Remove.
5704         (cse_set_around_loop): Adjust calls to note_stores.
5705         * flow.c (notice_stack_pointer_modification): Take additional
5706         parameter.  Remove duplicate declaration.
5707         (record_volatile_insns): Adjust calls to note_stores.
5708         * gcse.c (record_set_info): Take additional parameter.
5709         (record_last_set_info): Likewise.
5710         (invalidate_nonnull_info): Likewise.
5711         (record_set_insn): Remove.
5712         (compute_sets): Adjust calls to note_stores.
5713         (last_set_insn): Remove.
5714         (compute_hash_table): Adjust calls to note_stores.
5715         (insert_insn_end_bb): Likewise.
5716         (delete_null_pointer_checks): Likewise.
5717         * global.c (mark_reg_store): Take additional parameter.
5718         (mark_reg_clobber): Likewise.
5719         (reg_becomes_live): Likewise.
5720         (global_conflicts): Adjust calls to note_stores.
5721         (build_insn_chain): Likewise.
5722         * integrate.c (note_modified_parmregs): Take additional parameter.
5723         (mark_stores): Likewise.  Make it static.
5724         (save_for_inline_nocopy): Adjust calls to note_stores.
5725         (try_constants): Likewise.
5726         * integrate.h (mark_stores): Remove declaration.
5727         * jump.c (mark_modified_reg): Take additional parameter.
5728         (thread_jumps): Adjust calls to note_stores.
5729         * local-alloc.c (validate_equiv_mem_from_store): Take additional
5730         parameter.
5731         (no_equiv): Likewise.
5732         (reg_is_set): Likewise.
5733         (validate_equiv_mem): Adjust calls to note_stores.
5734         (update_equiv_regs): Likewise.
5735         (block_alloc): Likewise.
5736         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
5737         (note_addr_stored): Take additional parameter.
5738         (note_set_pseudo_multiple_uses): Likewise.
5739         (record_initial): Likewise.
5740         (prescan_loop): Adjust calls to note_stores.
5741         (strength_reduce): Likewise.
5742         (check_dbra_loop): Likewise.
5743         * regmove.c (flags_set_1): Take additional paramter.
5744         (mark_flags_life_zones): Adjust calls to note_stores.
5745         * reload1.c (mark_not_eliminable): Take additional parameter.
5746         (forget_old_reloads_1): Likewise.
5747         (reload_cse_invalidate_rtx): Likewise.
5748         (reload_cse_check_clobber): Likewise.
5749         (reload_combine_note_store): Likewise.
5750         (move2add_note_store): Likewise.
5751         (reload): Adjust calls to note_stores.
5752         (reload_as_needed): Likewise.
5753         (emit_reload_insns): Likewise.
5754         (reload_cse_regs_1): Likewise.
5755         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
5756         (reload_combine): Adjust calls to note_stores.
5757         * resource.c (update_live_status): Take additional paramter.
5758         (mark_target_live_regs): Adjust calls to note_stores.
5759         * stupid.c (find_clobbered_regs): Take additional parameter.
5760         (stupid_life_analysis): Adjust calls to note_stores.
5761         
5762 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
5763
5764         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
5765         definition. 
5766
5767         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
5768         definition.
5769
5770         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
5771         of the variable arm_structure_size_boundary.
5772
5773 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
5774
5775         * alias.c (init_alias_analysis): Allocate reg_known_value and
5776         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
5777         and reg_seen.
5778         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
5779         * cse.c (cse_main): Call end_alias_analysis.
5780         * haifa-sched.c (schedule_insns): Likewise.
5781         * local-alloc. (update_equiv_regs): Likewise.
5782         * reload1.c (reload_cse_regs): Likewise.
5783         
5784 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5785
5786         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
5787         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
5788         mapping from MASK_FPU.
5789
5790 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
5791
5792         * sparc.md (call): Don't bound structure return size to 0xfff.
5793
5794 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
5795
5796         * resource.c (mark_target_live_regs): Check that the target
5797         insn wasn't created after compute_bb_for_insn.
5798
5799 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
5800
5801         * ggc-page.c (poison_pages): Don't be overzealous.
5802
5803 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
5804
5805         * alias.c: Update comments for ADDRESS.
5806         (nonlocal_reference_p): Look inside the ADDRESS to determine if
5807         it is a local memory reference.
5808
5809         * c-typeck.c (build_function_call): Check that the built-in
5810         function is of class BUILT_IN_NORMAL before trying to recongize
5811         it as BUILT_IN_ABS.
5812         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
5813         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
5814
5815 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
5816
5817         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
5818         of alloca.
5819         (pre_gcse): Likewise.
5820         (hoist_expr_reaches_here_p): Likewise.
5821         (hoist_code): Likewise.
5822         (pre_expr_reaches_here_p): Replace alloca with xcalloc.   Move core
5823         code to ...
5824         (pre_expr_reaches_here_p_work): ... here.
5825         (expr_reaches_here_p): Replace alloca with xcalloc.   Move core 
5826         code to ...
5827         (expr_reaches_here_p_work): ... here.
5828
5829 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
5830
5831         * resource.c (find_basic_block): Delete.
5832         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
5833         (init_resource_info): Call compute_bb_for_insn.
5834
5835 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
5836
5837         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
5838         with already adjacent blocks, but no fallthru.
5839         (merge_blocks_move_successor_nojumps): Simplify.
5840         (debug_flow_info): New.
5841
5842         * toplev.c (rest_of_compilation): Open jump1 dump file before
5843         jump and close after, as opposed to just using dump_rtl.
5844
5845 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5846
5847         * reload.h (earlyclobber_operand_p): Declare.
5848         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
5849         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
5850         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
5851         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
5852
5853 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
5854                           Richard Henderson  <rth@cygnus.com>
5855
5856         * emit-rtl.c (emit_block_insn_before): New.
5857         (emit_block_insn_after): New.
5858         * basic-block.h: Declare them.
5859
5860         * bitmap.h: Protect from multiple inclusion.
5861
5862         * recog.c (scratch_operand): Handle VOIDmode correctly.
5863
5864         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
5865
5866         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
5867         * function.c (assign_parms): Likewise.
5868         * global.c (global_conflicts): Clarify STACK_REGS commentary.
5869
5870         * reg-stack.c (max_uid): Remove.
5871         (blocks, block_begin, block_end, block_drops_in): Remove.
5872         (block_stack_in, block_out_reg_set, block_number): Remove.
5873         (struct block_info_def, BLOCK_INFO): New.
5874         (enum emit_where): New.
5875         (current_block): New.
5876         (BLOCK_NUM): Remove.
5877         (mark_regs_pat, record_label_references): Remove.
5878         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
5879         (nan): New.
5880         (goto_block_pat, print_blocks, dump_stack_info): Remove.
5881         (reg_to_stack): Simplified test for existance of fp code.  Use
5882         flow.c code.  Call shorten_branches after cross-jump opt.
5883         (check_asm_stack_operands): Renamed from record_asm_reg_life.
5884         Return false if the asm doesn't use stack regs.  Don't do life
5885         analysis on the asm.
5886         (emit_pop_insn): Replace function pointer arg `when' with
5887         enum `where'.  Update all callers.
5888         (change_stack): Likewise.  Update basic block end.
5889         (emit_swap_insn): Use current_block->head to limit reverse search
5890         for start of block.  Use emit_block_insn_after.
5891         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
5892         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
5893         structure assignment instead of bcopy.
5894         (print_stack): New.
5895         (convert_regs_entry, convert_regs_exit): New.
5896         (convert_regs_1, convert_regs_2): Split out from convert_regs.
5897         Work on basic blocks and the CFG.
5898         (convert_regs): Use them.
5899
5900         * i386.c (output_fix_trunc): Remove code for DImode input operand
5901         not at top-of-stack.
5902         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
5903         appropriate mode.
5904         (fix_truncdi_1): Allow any mode scratch.
5905
5906 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
5907
5908         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
5909         * linux.h, netbsd.h, vms.h: Not here.
5910
5911 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
5912
5913         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
5914         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
5915         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
5916         CONDITIONAL_REGISTER_USEAGE): Use them. 
5917         * config/mips/mips.c (mips_move_1word,mips_move_2words,
5918         gen_conditional_branch,override_options) : Use them.
5919         * config/mips/mips.md : Use them.
5920
5921 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
5922
5923         * i386.md (zero_extendqihi2): Use SImode register name with andl.
5924
5925 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
5926
5927         * integrate.c (function_cannot_inline_p): Don't allow inlining
5928         if setjmp is used.
5929
5930 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5931
5932         * c-parse.in (cast_expr): Constify.
5933
5934         * cccp.c (special_symbol): Likewise.
5935
5936         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
5937
5938         * dwarf2out.c (base_type_die): Likewise.
5939
5940         * global.c (allocno_compare): Likewise.
5941
5942         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
5943
5944         * regclass.c (fix_register): Likewise.
5945
5946         * rtl.h (fix_register): Likewise.
5947
5948         * stupid.c (stupid_reg_compare): Likewise.
5949
5950         * toplev.c (decode_f_option): Likewise.
5951
5952         * tree.c (build_complex_type): Likewise.
5953
5954 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
5955
5956         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
5957
5958 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5959
5960         * reload.c (find_reloads): Compute mode and nregs fields of all
5961         reloads.
5962         * reload1.c (calculate_needs_all_insns): Simplify a bit.
5963         (calculate_needs): Use precomputed mode/nregs values.
5964         (allocate_reload_reg): Likewise.
5965         Break out two...
5966         (failed_reload, set_reload_reg): ... new functions.
5967         (choose_reload_regs_init): New function, mostly broken out from...
5968         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
5969         Also lose one #if 0 block.
5970
5971 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
5972
5973         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name 
5974         substitution.
5975
5976 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
5977
5978         * tree.h (BLOCK_TYPE_TAGS): Remove.
5979         (BLOCK_END_NOTE): Likewise.
5980         (BLOCK_LIVE_RANGE_FLAG): Likewise.
5981         (BLOCK_LIVE_RANGE_START): Likewise.
5982         (BLOCK_LIVE_RANGE_END): Likewise.
5983         (tree_block): Remove live_range_flag, live_range_var_flag, and
5984         type_tags.  Remove end_note, live_range_start, and live_range_end.
5985         (remember_end_note): Remove prototype.
5986         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
5987         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
5988         remember_end_note.
5989         * ggc-common.c (ggc_mark_tree_children): Don't mark
5990         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
5991         * integrate.c (adjust_copied_decl_tree): Remove.
5992         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
5993         * stmt.c (last_block_end_note): Remove.
5994         (init_stmt): Don't add a GC root for it.
5995         (expand_fixup): Don't set it.
5996         (remember_end_note): Remove.
5997         (expand_end_bindings): Don't set last_block_end_note.
5998
5999 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6000
6001         * reload1.c (reload_reg_free_for_value_p): Show
6002         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
6003         reloads.
6004
6005 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
6006
6007         * expmed.c (extract_bit_field): Allow for the case of non-integer
6008         objects that are smaller than a word (like SFmode on a 64-bit
6009         machine).
6010
6011         * loop.c (basic_induction_var): A non-integer variable which is
6012         being set by a paradoxical subreg is probably not a biv.
6013
6014 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6015
6016         * prefix.c (translate_name) Check for empty prefix string.
6017
6018 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
6019
6020         * Makefile.in (CPP_CROSS_NAME): New variable.
6021         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
6022         xcpp.
6023         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
6024         names of the files to be uninstalled.
6025
6026 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
6027
6028         * collect2.c (IS_DIR_SEPARATOR): Define.
6029         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
6030
6031         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
6032         functions too.
6033
6034         * haifa-sched.c (add_dependence): Update the true dependency
6035         cache the first time we add a true dependence to the LOG_LINKS chain.
6036
6037 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
6038
6039         * fold-const.c (fold): Fix comment.
6040
6041 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6042
6043         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
6044         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
6045         dbxout_start_new_source_file, dbxout_source_file,
6046         dbxout_source_line, dbxout_finish, dbxout_type_fields,
6047         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
6048         Constify a char*.
6049         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
6050         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
6051         (dbxout_block): Initialize variable `blocknum'. 
6052
6053         * dbxout.h (dbxout_init, dbxout_finish,
6054         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
6055         dbxout_args, dbxout_source_line): Constify a char*.
6056
6057         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
6058         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
6059         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
6060         low_pc_attribute, high_pc_attribute, body_begin_attribute,
6061         body_end_attribute, comp_dir_attribute, sf_names_attribute,
6062         src_info_attribute, mac_info_attribute, producer_attribute,
6063         lookup_filename, generate_macinfo_entry, fundamental_type_code,
6064         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
6065         dwarfout_undef): Constify a char*.
6066         (add_incomplete_type, retry_incomplete_types): Add prototypes.
6067
6068         * dwarfout.h (dwarfout_define, dwarfout_undef,
6069         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
6070
6071 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
6072
6073         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
6074         (MULTILIB_ISA_DEFAULT): New.
6075         (MULTILIB_DEFAULTS): Use it.
6076         * config/mips/mips.c (): Remove the now unnecessary definition
6077         of MIPS_ISA_DEFAULT.
6078         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
6079         unnecessary definition.
6080
6081 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
6082
6083         * arm.md (pic_load_addr): Add constraints to operand 1.
6084
6085 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
6086
6087         * fixinc/genfixes:  Provide a means for specifying -D options to
6088         AutoGen
6089
6090 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
6091
6092         * arm.c (arm_override_options): Correct initialization of
6093         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
6094         arm_is_strong, and arm_is_6_or_7.
6095
6096         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
6097         (note_set_pseudo_multiple_uses): New function.
6098         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
6099         if a pseudo set in the loop exit is used elsewhere.
6100
6101 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
6102
6103         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
6104
6105 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
6106
6107         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
6108         a single load-address pattern.
6109
6110 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
6111
6112         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
6113         depending on whether or not line-number notes are present.
6114
6115 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6116
6117         * cccp.c (progname, file_buf, default_include, include_file,
6118         macrodef, definition, hashval, wchar_type, user_label_prefix,
6119         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
6120         expand_to_temp_buffer, is_system_include, base_name,
6121         absolute_filename, read_name_map, open_include_file,
6122         record_control_macro, check_precompiled, check_preconditions,
6123         pcfinclude, pass_thru_directive, create_definition,
6124         check_macro_name, comp_def_part, collect_expansion,
6125         check_assertion, read_token_list, assertion_install,
6126         assertion_lookup, eval_if_expression, conditional_skip,
6127         validate_else, skip_quoted_string, quote_string, macarg1,
6128         error_from_errno, install, lookup, hashf, dump_defn_1,
6129         perror_with_name, pfatal_with_name, main, trigraph_pcp,
6130         check_white_space, rescan, handle_directive, monthnames,
6131         special_symbol, do_include, remap_include_file, write_output,
6132         arglist, do_assert, do_unassert, do_line, do_error, do_once,
6133         do_ident, do_sccs, do_xifdef, skip_if_group,
6134         output_line_directive, macroexpand, macarg, change_newlines,
6135         initialize_builtins, make_definition): Constify a char*.
6136
6137         * pcp.h (stringdef): Likewise.
6138
6139 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
6140
6141         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
6142         not of pattern.
6143
6144 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
6145                           Richard Henderson  <rth@cygnus.com>
6146
6147         * alias.c: Include ggc.h.
6148         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
6149         (record_set): Verify enough room in reg_base_value.
6150         (init_alias_analysis): Allocate reg_base_value with xcalloc.
6151         Register it as a GC root.
6152         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
6153         * Makefile.in (alias.o): Depend on ggc.h.
6154
6155         * unroll.c (unroll_loop): Verify the insn before a barrier
6156         is a JUMP_INSN before checking JUMP_LABEL.
6157
6158 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6159
6160         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
6161         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
6162         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
6163         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
6164         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
6165         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
6166
6167 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6168
6169         * output.h (ctors_section, dtors_section, bss_section): Prototype.
6170
6171         * alpha/alpha-interix.h (text_section): Delete prototype.
6172         * alpha/elf.h (text_section): Likewise.
6173         * arm/linux-elf.h (text_section): Likewise.
6174         * arm/linux-telf.h (text_section): Likewise.
6175         * c4x/c4x.h (text_section): Likewise.
6176         * dsp16xx/dsp16xx.h (bss_section): Likewise.
6177         * elfos.h (text_section): Likewise.
6178         * i386/aix386ng.h (text_section): Likewise.
6179         * i386/i386-interix.h (text_section): Likewise.
6180         * i386/sco5.h (text_section): Likewise.
6181         * i386/svr3gas.h (text_section): Likewise.
6182         * nextstep.h (text_section): Likewise.
6183         * psos.h (text_section): Likewise.
6184         * ptx4.h (text_section): Likewise.
6185         * svr3.h (text_section): Likewise.
6186         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
6187
6188 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6189
6190         * final.c (peephole): Delete prototype.
6191
6192         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
6193         (pre_insert_copies): Remove unused variable `bb'.
6194
6195         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
6196         prototypes.
6197
6198         * output.h (peephole): Add prototype.
6199
6200 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
6201
6202         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
6203         -O0.
6204
6205 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
6206
6207         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
6208         for inlined declarations.
6209
6210 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
6211
6212         * arm.c (logical_binary_operator): New fucntion.
6213         * arm.h (logical_binary_operator): Declare it.
6214         (PREDICATE_CODES): Handle logical_binary_operator.
6215         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
6216         output constraints.  Add appropriate splitters.
6217         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
6218         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
6219         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
6220
6221 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6222
6223         * genoutput.c (struct operand_data): New elt eliminable.
6224         (output_operand_data): Write it.
6225         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
6226         (compare_operands): Take it into account.
6227         * recog.h (struct insn_operand_data): New elt eliminable.
6228         * reload1.c (check_eliminable_occurrences, elimination_effects): New
6229         functions.
6230         (old_asm_operands_vec, new_asm_operands_vec): Delete.
6231         (eliminate_regs): Move code that detects changes to elimination
6232         target regs into new function elimination_effects.
6233         Delete one #if 0 block.
6234         Abort for USE, CLOBBER, ASM_OPERANDS and SET. 
6235         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
6236         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
6237         Only call eliminate_regs for real operands of the insn, not for parts
6238         of its structure or parts matched by things like match_operator.
6239         Use elimination_effects and check_eliminable_occurrences.  Use
6240         copy_insn to duplicate the pattern when not in the final pass.
6241
6242 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
6243
6244         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
6245         and fld.
6246
6247 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
6248
6249         * fixinc/README: document the "mach" machine matching test
6250         * fixinc/fixfixes.c: Implement the #else/#endif label fix
6251         * fixinc/fixtests.c: Implement the #else/#endif label test
6252         * fixinc/inclhack.def: utilize these tests and fixes
6253         * fixinc/inclhack.sh:  regen
6254         * fixinc/fixincl.x:  regen
6255         * fixinc/fixincl.sh:  regen
6256
6257 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
6258
6259         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
6260         depend on ggc.h.
6261
6262 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
6263
6264         * gcc.1: Document exit codes.
6265
6266 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6267
6268         * calls.c: Include tm_p.h later, so everything we need is defined.
6269         * expr.c: Likewise.
6270         * function.c: Likewise.
6271
6272         * except.c: Include tm_p.h.
6273
6274         * sparc.c: Likewise.
6275         (dwarf2out_cfi_label): Don't prototype.
6276         (check_return_regs, epilogue_renumber,
6277         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
6278         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
6279         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
6280         ultra_schedule_insn): Add static prototype.
6281         (data_segment_operand, text_segment_operand): Call itself with the
6282         proper number of arguments.
6283         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
6284
6285         * sparc.h: Move all declarations to sparc-protos.h.
6286         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
6287         symbolic_operand.
6288
6289         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
6290
6291         * config/svr4.h (text_section, ctors_section, dtors_section): Add
6292         Prototypes.
6293         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
6294         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6295         ASM_OUTPUT_ASCII): Constify a char*.
6296         
6297         * sparc-protos.h: New file for sparc prototypes.
6298         
6299 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6300
6301         * function.c (record_insns, contains): Always declare and define.
6302         (record_insns): Mark with ATTRIBUTE_UNUSED.
6303
6304 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
6305
6306         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
6307         to .section when outputting a .bss section to deal with multiple
6308         .bss input sections (as happens with -fdata-sections)
6309         Also output %progbits, not @progbits so the assembler doesn't treat as
6310         a comment.
6311         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
6312
6313         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
6314         thumb parts even when building with non-thumb CPUs, by forcing
6315         thumb mode.     
6316
6317 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
6318
6319         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
6320         (movdf_const_intreg_sp64): Similarly.
6321
6322         * local-alloc.c (update_equiv_regs): Check the correct insn
6323         for pre-existing REG_EQUIV notes.
6324
6325 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
6326
6327         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
6328         block reached by a branch if we're not going to actually process
6329         this block.
6330
6331 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
6332
6333         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
6334         a local extern function declaration.
6335
6336 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
6337
6338         * i386.c (ix86_expand_prologue): Properly wrap USE around
6339         reg for CALL_INSN_FUNCTION_USAGE.
6340
6341 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
6342
6343         * config/mips/mips.md (movdf_internal1a): Allow floating-point
6344         move between GP_REGs.
6345
6346 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
6347
6348         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
6349         the mode size when finding out if an offset is legal.
6350
6351 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
6352
6353         * basic-block.h (PROP_*): Move constants from ...
6354         * flow.c: ... here.
6355         (compute_bb_for_insn): Free the array before reallocating.
6356         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
6357         (allocate_reg_life_data): Reset all reg variables collected by
6358         propagate_block.
6359         (get_block_head_tail): Don't convert from bb to block.
6360         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
6361         (find_insn_reg_weight): Take block not bb.
6362         (schedule_block): Don't set block num for moved insns.
6363         (schedule_region): Don't update_life_info or find_insn_reg_weight.
6364         (schedule_insns): Do it here instead.
6365         * combine.c (combine_instructions): Invoke compute_bb_for_insn
6366         before update_life_info.
6367         * recog.c (split_all_insns, peephole2_optimize): Update for
6368         new arg to update_life_info.
6369         * rtlanal.c (remove_note): Cope with NULL note.
6370         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
6371         if we did sched1.
6372
6373 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
6374
6375         * jump.c (jump_optimize_1): More accurately detect casesi insns.
6376
6377         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
6378         block records so that merge_blocks_nomove will clean up correctly.
6379         (split_edge): Handle casesi insns.
6380
6381         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
6382
6383 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
6384
6385         * pa.md (call, call_value): Do not emit a blockage after restoring
6386         the PIC register.
6387
6388 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
6389
6390         * c-typeck.c (c_expand_asm_operands): Fix typo.
6391
6392 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6393
6394         * arm.c (fpu_rhs_operand): Verify modes.
6395         (fpu_add_operand): Likewise.
6396         (di_operand): Likewise.
6397         (soft_df_operand): Likewise.
6398
6399 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
6400
6401         * arm.c (arm_return_in_memory): APCS rules state that the elements
6402         of a structure returned in a register must be 'integer-like'.
6403
6404 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
6405
6406         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
6407         in the source tree when the generated targets are out of date
6408         * fixinc/genfixes: Alter it to run individual fixes for make.
6409         * fixinc/README: rewrite
6410         * fixinc/inclhack.def: moved initial comments to README
6411
6412 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
6413
6414         * toplev.c (main): Do not generate an error message if an
6415         unrecognised command line switch is recognisable by another
6416         language.  If extra_warnings are enabled, then generate a
6417         warning message instead.
6418
6419 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6420
6421         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
6422         (insert_pack_attributes): Delete prototype.
6423
6424         * c-pragma.c (default_alignment): New static variable.
6425         (push_alignment): Initialize to current effective alignment.
6426         (pop_alignment): Use to set new alignment.
6427         (insert_pack_attributes): Delete function.
6428         (handle_pragma_token): Set default_alignment as well each time 
6429         a #pragma pack(<n>) is encountered.
6430
6431 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
6432
6433         * reg-stack.c (stack_result): Aggregates are not returned in
6434         stack registers.
6435
6436 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
6437
6438         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
6439
6440 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
6441
6442         * basic-block.h (set_block_num): Declare.
6443         * flow.c (update_life_info): Don't call compute_bb_for_insn
6444         or free_basic_block_vars.
6445         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
6446         (insn_orig_block): Remove.
6447         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
6448         (schedule_block): Keep BLOCK_NUM up-to-date.
6449         (schedule_insns): Use compute_bb_for_insn.
6450         * recog.c (split_all_insns): Likewise.
6451         (peephole2_optimize): Likewise.
6452
6453 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
6454
6455         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
6456         if the pic register is used.
6457
6458 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6459
6460         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
6461         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
6462         if that tests TREE_PERMANENT.
6463
6464 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
6465
6466         * cse.c (invalidate_for_call): Do not remove memory references from
6467         the table here.  It's handled elsewhere.
6468
6469         * haifa-sched.c (add_dependence): Protect references to the
6470         true dependency cache with #ifdef INSN_SCHEDULING.
6471         (remove_dependence): Similarly.
6472
6473         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
6474         to the cfg code that this is a return instruction.
6475         * mn10300.md (return_internal): Similarly.
6476
6477         * combine.c (get_last_value): If the last set of a register
6478         is after subst_low_cuid, then we can not use it to determine
6479         the register's last value.
6480
6481 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
6482
6483         * Makefile.in: Back out previous change.
6484         
6485 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
6486
6487         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
6488
6489         * haifa-sched.c (add_dependence): Only check/update the cache
6490         if it exists.
6491         (remove_dependence): Likewise.
6492         (schedule_insns): Only create the true_dependency_cache if the
6493         average number of instructions in a basic block is very large.
6494
6495 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
6496
6497         * Makefile.in (ggc-common.o): Depend on genrtl.h.
6498         (ggc-simple.o): Likewise.
6499         (ggc-page.o): Likewise.
6500
6501 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
6502
6503         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
6504         Prototype for exported functions.
6505         (pre_lcm, pre_rev_lcm): Remove prototypes.
6506         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
6507         (compute_available): Move to lcm.c, and change parameter order.
6508         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
6509         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
6510         (gcse_main): No longer call compute_preds_succs.  Rebuild the
6511         set table after reach pre pass.
6512         (pre_insert_map, pre_delete_map, edge_list): New.
6513         (alloc_pre_mem): Allocate edge vectors.
6514         (free_pre_mem): Delete edge vectors.
6515         (compute_pre_data): Call new edge based lcm routines.
6516         (process_insert_insn): New function.
6517         (insert_insn_end_bb): Use it.
6518         (pre_edge_insert): New function.
6519         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
6520         needed.
6521         (pre_insert_copies): Revamp using new edge based lcm outputs.
6522         (pre_delete): Likewise.
6523         (one_pre_gcse_pass): Insert & remove fake edges to the exit
6524         block.
6525         (compute_code_hoist_vbeinout): New new edge based routines.
6526         * lcm.c: Remove all the old LCM functions.  Replace with new ones
6527         that work with the new cfg datastructures and work with edges
6528         instead of blocks.
6529
6530 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6531
6532         * reload.h (struct reload): Add new fields "mode" and "nregs".
6533         * reload1.c: Change all occurrences of reload_mode and reload_nregs
6534         to reference the "mode" and "nregs" field within struct reload.
6535
6536 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
6537
6538         * haifa-sched.c (true_dependency_cache): New.
6539         (add_dependence): Use the true dependency cache to avoid expensive
6540         walks down the LOG_LINKS dependency list.  Add entries to the
6541         cache as necessary.
6542         (remove_dependence): Remove entries from the true dependency cache
6543         as needed.
6544         (schedule_insns): Allocate and initialize and free the true
6545         dependency cache.
6546
6547         * haifa-sched.c (schedule_insns): Do not remove inter-block
6548         dependencies anymore.
6549
6550 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
6551
6552         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
6553         * i386/t-winnt: Likewise.
6554
6555 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
6556
6557         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
6558
6559 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
6560
6561         * Makefile.in (LANGUAGES): Omit "proto".
6562         (clean): Remove stale comment about removing unprotoize.c.
6563
6564 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6565
6566         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
6567         using arithmetic on void pointers.
6568
6569 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
6570
6571         * haifa-sched.c (compute_block_forward_dependencies): Only check
6572         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
6573
6574 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
6575
6576         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
6577         (expr_equiv_p): Reject memories with different alias sets.
6578
6579 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
6580
6581         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
6582         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
6583         (f_options): Add "bounded-pointers" and "bounds-check" entries.
6584         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
6585         (lang_init): Set default for flag_bounds_check if still "unspecified".
6586
6587 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6588
6589         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
6590
6591 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6592
6593         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
6594         instructions.
6595
6596 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6597
6598         * config/c4x/c4x.md (*db_noclobber, 
6599         *decrement_and_branch_until_zero_noclobber): New patterns and 
6600         associated splitters.
6601
6602 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6603
6604         * config/c4x/c4x.md (parallel instruction patterns): Rework
6605         constraints to keep reload happy.
6606
6607 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6608
6609         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
6610         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
6611         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
6612         Add new patterns and associated post-reload splitters.
6613
6614 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6615
6616         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
6617
6618 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6619
6620         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
6621         if appropriate.
6622         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
6623
6624 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6625
6626         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
6627         memory mode.
6628
6629 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
6630
6631         * pa.c (move_operand): Rely on memory_address_p to determine the
6632         validity of non-indexed memory addresses.
6633         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
6634         operand in DFmode and SFmode when generating PA2.0 code.
6635
6636 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
6637
6638         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
6639
6640 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
6641
6642         * mips.c (function_prologue): Fix argument types.
6643         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
6644         (casesi_internal): Write to the scratch register.
6645
6646 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
6647
6648         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
6649         to U_CHAR **.
6650         (parse_charconst): Delete unnecessary cast when calling
6651         cpp_parse_escape.
6652         (cpplib.h): Kill prototype of cpp_parse_escape.
6653
6654 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
6655
6656         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
6657         * unroll.c (unroll_loop): Cast return value of alloca.
6658         * i370/i370.c: Include function.h and toplev.h.
6659         (i370_label_scan): Remove c++ commented abort.
6660         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
6661         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
6662         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
6663         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
6664
6665 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
6666
6667         * config/t-freebsd: Do not override USER_H.
6668         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
6669
6670 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
6671                           Mumit Khan  <khan@xraylith.wisc.edu>
6672
6673         * c-parse.in (component_decl): Support anonymous struct/union.
6674         (%expect): Update.
6675         * c-parse.y: Regenerate.
6676         * c-parse.c: Likewise.
6677         * objc/objc-parse.y: Likewise.
6678         * objc/objc-parse.c: Likewise.
6679         * c-decl.c (finish_struct): Don't sort the fields.
6680         (field_decl_cmp): Delete unused function.
6681
6682 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
6683
6684         * sparc.md (movsf_const_intreg): Revert last constraint change.
6685         (movdf_const_intreg_sp32): Likewise.
6686
6687 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
6688
6689         * cse.c: Include hashtab.h instead of splay-tree.h
6690         (struct cse_reg_info): No longer use variant union.  Add new
6691         field "regno".  All references changed to avoid union.
6692         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
6693         (free_cse_reg_info): Remove.
6694         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
6695         (get_cse_reg_info): Revamp to use expandable hash tables instead
6696         of splay trees.  Initialize new fields in cse_reg_info structure.
6697         (new_basic_block): Similarly.
6698
6699 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
6700
6701         * genrecog.c (message_with_line): Prototype.
6702         (validate_pattern): Pass along the set for the dest, not a flag.
6703         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
6704         Check for PC/CC0 as sources.
6705         (nodes_identical): Check for children position match before 
6706         allowing the combination.
6707
6708         * rtl.c (read_rtx): Track line number across \\\n.
6709
6710 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
6711
6712         * mips.h (SPECIAL_MODE_PREDICATES): New.
6713         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
6714         (movdi+1, movsi+1): Add output reload constraint.
6715         (casesi_internal): Likewise.  Fix commentary.
6716         (return_internal): Use pmode_register_operand.
6717
6718 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
6719
6720         * 1750a.md (movstrqi): Add missing output reload constraint.
6721         (call_value): Likewise.
6722         * a29k.md (cpxxx patterns): Add missing match_operator mode.
6723         (jmpfdec): Add missing inout reload constraint.
6724         * elxsi.md (addsi patterns): Add missing output reload constraint.
6725         (move from sp): Use @ alternates.
6726         (call_value): No constraint on output.
6727         * fr30.md (movsi_pop): Add missing output reload constraint.
6728         (movsf_constant_store): Likewise.
6729         (splits): Remove constraints.
6730         (subsi3): Add missing mode.
6731         * i370.md (cmpstrsi+1): Add missing output reload constraint.
6732         (call_value): Likewise.
6733         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
6734         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
6735         * m32r.md (movsicc_internal): Add output reload constraint.
6736         (movstrsi_internal): Add inout reload constraints.
6737         * m88k.h (reg_names): Don't declare.
6738         (SPECIAL_MODE_PREDICATES): New.
6739         * m88k.md (*): Use register_operand not reg_or_0_operand
6740         on destinations.
6741         * mn10200.h (PREDICATE_CODES): New.
6742         * ns32k.md (ffs pattern): Add output reload constraint.
6743         * pdp11.md (sob pattern): Add inout reload constraint.
6744         * sh.md (splits): Remove constraints.
6745         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
6746         * v850.md (pattern_is_ok_for_epilogue): Likewise.
6747         * vax.md (jgequ pattern): Add inout reload constraint.
6748
6749 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
6750
6751         * configure.in (djgpp): Revert previous patch.
6752         * configure: Rebuit.
6753         * config/i386/djgpp.h: Revert previous patch.
6754
6755 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
6756
6757         * fixinc/inclhack.def: Restore patch lost during last merge of
6758         "no_bogosity" branch.
6759         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
6760
6761 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
6762
6763         * fixincludes: Add a HPUX 11 fix for inttypes.h.
6764         * fixinc/inclhack.def: Same.
6765         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
6766
6767 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
6768
6769         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
6770         as the base of a PLUS.
6771
6772 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6773
6774         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
6775         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
6776         
6777 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
6778
6779         * pa.md (post_stw+1): Use pmode_register_operand.
6780         (dcacheflush, icacheflush): Likewise.
6781
6782         * i386.md (movstricthi_1): Allow r/r.
6783
6784 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
6785
6786         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
6787         to (not (and (arg0) (arg1))). Similary for and.
6788
6789         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
6790         fallthrough to associate code.
6791         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
6792         bits in common.
6793
6794         * combine.c (simplify_logical): Convert XOR to IOR if operands have
6795         no bits in common; remove XOR to ROTATE conversion.
6796
6797 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6798
6799         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
6800
6801 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6802
6803         * config/c4x/c4x.c (dst_operand): New.
6804         (PREDICATE_CODES): Update.
6805         * config/c4x/c4x.h (dst_operand): Declare it.
6806         * config/c4x/c4x.md:  Define mode for each unspec usage.
6807         (move patterns):  Use dst_operand predicate instead of src_operand.
6808         (movqi_update, movqf_update): Delete.
6809
6810 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
6811
6812         * recog.c (pmode_register_operand): New.
6813         * recog.h: Declare it.
6814         * genrecog.c (pred_codes): Likewise.
6815         (special_mode_pred_table): Likewise.
6816         (validate_pattern): Don't warn no mode for address_operand.
6817
6818         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
6819         if the operand is not insn-like.
6820
6821 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
6822                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
6823
6824         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
6825
6826 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
6827
6828         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
6829         instead of general_operand in a SET_DEST.  Use const_double_operand
6830         instead of an explicit test against CONST_DOUBLE.
6831         (movsf_const_lo): Add missing register mode.
6832         (goto_handler_and_restore): Add auxiliary test for Pmode.
6833         (flush): Adjust to use address_operand.
6834         (return_sf_no_fpu): Add missing output constraint.
6835
6836 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
6837
6838         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
6839         for call return value.
6840         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
6841
6842 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
6843
6844         * toplev.c (main): Only warn about options for other languages.
6845         * collect2.c (main): Pass -w to sub-gcc.
6846
6847 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
6848
6849         * flow.c (propagate_block): Add call-clobbered registers to
6850         significant too.
6851
6852         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
6853         zapping mem_set_list.
6854         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
6855         (mark_set_1, mark_used_regs): Likewise.
6856
6857 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
6858
6859         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
6860
6861 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6862
6863         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
6864         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
6865         options. Also add a new item "C-only Warning Options" to the
6866         option summary.
6867
6868 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
6869
6870         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
6871         from multiple calls.
6872
6873 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
6874
6875         * i386.md (call value patterns): Move to the end of the file.
6876         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
6877
6878 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
6879
6880         * configure.in (djgpp configuration): Define extra_objects..
6881         * configure: Rebuilt.
6882         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
6883         (DTORS_SECTION_ASM_OP): Define.
6884         (INIT_SECTION_ASM_OP): Define.
6885         (FINI_SECTION_ASM_OP): Define.
6886         (DATA_SECTION_ASM_OP): Define.
6887         (TEXT_SECTION_ASM_OP): Define.
6888         (EH_FRAME_SECTION_ASM_OP): Define.
6889         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
6890         (STARTFILE_SPEC): Add crtbegin.o.
6891         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
6892         to here from LINK_COMMAND_SPEC.
6893         (DO_GLOBAL_CTORS_BODY): Define.
6894         (CRTSTUFF_USE_FINI_SECTION): Define
6895         (HAS_INIT_SECTION): Delete.
6896
6897 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
6898
6899         * Makefile.in (all.cross): Depend on xcpp$(exeext).
6900
6901 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
6902
6903         * pa.h (PREDICATE_CODES): New.
6904
6905         * genrecog.c (validate_pattern): Condense the destination
6906         non-lvalue message.
6907
6908 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
6909
6910         * alpha.md (call-1): Supply missing mode for operator.
6911         (*): Add missing output reload constraints.  Remove constraints
6912         from define_splits.
6913
6914         * i386.h (SPECIAL_MODE_PREDICATES): New.
6915         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
6916         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
6917         (addsi_lea_3): Add missing mode for op 3.
6918         (prologue_set_got, prologue_get_pc): Add missing modes.
6919         (*) Add missing output reload constraints.
6920
6921 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
6922
6923         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
6924         check for member bit-size overflow and use var_size if it occurs.
6925         (layout_record): Use bitsize_int() to define the type size in bits.
6926         Likewise for computation and assignment to DECL_FIELD_BITPOS.
6927         (layout_decl): Likewise when assigning to DECL_SIZE.
6928
6929 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
6930
6931         * genrecog.c (validate_pattern): Typo last change.  Verify
6932         that output operands have output reloads.
6933
6934 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
6935
6936         * genrecog.c (special_mode_pred_table): New.
6937         (NUM_SPECIAL_MODE_PREDS): New.
6938         (find_operand): New.
6939         (validate_pattern): New argument `insn'.  Warn for assignment to
6940         any predicate accepting non-lvalues.  Conditionaly warn for
6941         match_operand without a mode.  Try much harder to match source
6942         and destination modes on a set.
6943         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
6944
6945 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
6946
6947         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
6948
6949 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
6950
6951         * combine.c (simplify_logical): Recognize xor pattern that encodes
6952         rotation.
6953
6954 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6955
6956         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
6957         alignment.
6958
6959 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
6960
6961         * ggc-page.c (MAP_FAILED): Provide default.
6962
6963 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
6964
6965         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
6966         * sparc.h (PREDICATE_CODES): Update.
6967
6968 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
6969
6970         * alpha.c (some_ni_operand): New.
6971         * alpha-protos.h: Declare it.
6972         * alpha.h (PREDICATE_CODES): Update.
6973         * alpha.md (sXaddq reload insns): Use some_ni_operand 
6974         for SET_DEST instead of some_operand.
6975
6976 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
6977                           Jim Wilson  <wilson@cygnus.com>
6978
6979         * genrecog.c (maybe_both_true_2): Don't compare modes of
6980         two DT_pred tests.
6981         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
6982         after find_afterward.
6983         (debug_decision_1): Dump next and afterward codes.
6984
6985 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
6986
6987         * rtl.c (dump_and_abort): Remove.
6988         (fatal_with_file_and_line): New.
6989         (fatal_expected_char): New.
6990         (read_rtx_lineno, read_rtx_filename): New.
6991         (read_skip_spaces): Track line number.
6992         (read_name): Use fatal_with_file_and_line.
6993         (read_rtx): Use fatal_expected_char.  Track line number.
6994         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
6995
6996         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
6997         if it isn't a CODE_LABEL.
6998
6999         * genattr.c (main): Set read_rtx_filename.
7000         * genattrtab.c (main): Likewise.
7001         * gencodes.c (main): Likewise.
7002         * genconfig.c (main): Likewise.
7003         * genemit.c (main): Likewise.
7004         * genextract.c (main): Likewise.
7005         * genflags.c (main): Likewise.
7006         * genopinit.c (main): Likewise.
7007         * genoutput.c (main): Likewise.
7008         * genpeep.c (main): Likewise.
7009
7010         * genrecog.c (decision_test.u.insn): Add `lineno'.
7011         (pattern_lineno, error_count): New variables.
7012         (message_with_line): New.
7013         (add_to_sequence): Break out checking code to ...
7014         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
7015         (merge_insn): Use message_with_line.
7016         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
7017         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
7018
7019 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7020
7021         * expr.c (store_constructor): Clear union if constructor is empty.
7022
7023 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
7024
7025         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
7026         Add !endian checks.  Change %{...} to %(...).
7027
7028 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
7029
7030         * i386.md (*addsi3_cc): Renamed from addcsi3.
7031         (*addsi3_carry): Renamed from addxsi3.
7032         (*subsi3_cc): Renamed from subcsi3.
7033         (*subsi3_carry): Renamed from subxsi3.
7034         (*xorqi_cc_1): Renamed from xorcqi_1.
7035         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
7036         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
7037
7038 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
7039
7040         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
7041         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
7042
7043 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
7044
7045         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
7046         climb up the chain of insns.
7047
7048 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
7049
7050         * genrecog.c (write_subroutine): Careful for null trees.
7051         (process_tree): Don't elide empty functions.
7052
7053 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
7054
7055         * Makefile.in (genrtl.o): Depend on ggc.h.
7056         * configure.in (valloc): Probe for it.
7057         (with-gc): Use ggc-page if valloc present.
7058         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
7059         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
7060         (ggc_alloc_string): Moved from ggc-page.c.
7061         * ggc-none.c (ggc_alloc_obj): New.
7062         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
7063         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
7064         (struct globals): Likewise for dev_zero_fd.
7065         (init_ggc): Likewise for it's initialization.
7066         (ggc_allocated_p): Move careful dereference from ...
7067         (ggc_lookup_page_table): ... here.  Delete.
7068         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
7069         (alloc_anon): Use valloc if no mmap.
7070         (release_pages): Use free if using valloc.
7071         (ggc_alloc_obj): Renamed from alloc_obj.
7072         (ggc_set_mark): Renamed from mark_obj.
7073         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
7074         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
7075         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
7076         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete. 
7077         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
7078         (ggc_collect): Use fp printing instead of our own rounding.
7079         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
7080         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
7081         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
7082         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
7083         (struct ggc_string, struct ggc_any): Delete.
7084         (offsetof): Provide default definition.
7085         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
7086         (PTR_KEY): New.
7087         (struct ggc_mem): New, from corpse of ggc_any.
7088         (struct ggc_status): Delete.
7089         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
7090         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
7091         (n_strings_collected, n_anys_collected): Delete.
7092         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
7093         (ggc_alloc_string, ggc_alloc): Delete.
7094         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
7095         (ggc_free_string, ggc_free_any): Delete.
7096         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
7097         (ggc_compare_addresses, ggc_mark_string): Delete.
7098         (ggc_mark_string_if_gcable, ggc_mark): Delete.
7099         (search_data): Delete.
7100         (struct globals): New.
7101         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.   
7102         (tree_insert, tree_lookup): New.
7103         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
7104         (clear_marks, sweep_objs): New.
7105         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
7106         (init_ggc): Set allocated_last_gc.
7107         (ggc_push_context): Gut.  Use G.context.
7108         (ggc_pop_context): Likewise.
7109         (ggc_pop_context_1): New.
7110         (debug_ggc_tree): New.
7111         (debug_ggc_balance, tally_leaves): New.
7112         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
7113         (ggc_mark_string_if_gcable): Remove decl.
7114         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
7115         (ggc_mark_rtvec_children): New.
7116         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
7117         (ggc_mark_if_gcable): New decl.
7118         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
7119         (ggc_alloc_tree, ggc_alloc): Likewise.
7120         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
7121         (ggc_alloc_obj): New decl.
7122         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
7123         (ggc_alloc_tree, ggc_alloc): Likewise.
7124         (ggc_set_mark): New decl.
7125         * rtl.h (struct rtx_def): Remove gc_mark.
7126         (struct rtvec_def): Likewise.
7127         * tree.h (struct tree_common): Likewise.
7128
7129 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
7130
7131         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
7132         float_format and thread_file definitions.
7133         * configure: Rebuilt.
7134
7135 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
7136
7137         * extend.texi (Function Names): Document types of function names.
7138
7139 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7140
7141         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
7142         an earlyclobbered output conflict with RELOAD_INPUT reloads.
7143
7144 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7145
7146         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
7147
7148 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7149
7150         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
7151
7152 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
7153
7154         * collect2.c (main): Do prelimnary link on AIX if rflag.
7155
7156 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7157
7158         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
7159         __CTOR_LIST__ in opposite order, which is the correct order for sorted
7160         constructors.
7161         (__do_global_dtors): similarly for __DTOR_LIST__.
7162
7163 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7164                                 Diego Novillo <dnovillo@cygnus.com>
7165
7166         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
7167         FPUL_REGS.
7168
7169 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
7170
7171         * fixincl/*: Merged "no_bogosity" branch
7172         * fixincl/fixlib.h: protect against doubly defining t_bool
7173         * fixincl/server.h: protect against doubly defining t_bool
7174
7175 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
7176
7177         * genoutput.c: Include toplev.h.
7178
7179 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
7180
7181         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7182         Undef.
7183         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
7184         * configure: Regenerate.
7185
7186 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
7187
7188         * gcse.c (delete_null_pointer_checks): Returns void.
7189
7190 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7191
7192         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
7193         * emit-rtl.c (copy_insn_1): Likewise.
7194
7195 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
7196
7197         * config/mips/mips.c (mips_build_va_list): Correct
7198         TREE_CHAIN setting when hard-float.
7199         (mips_va_start): Use corrected setting.
7200         (mips_va_arg): Likewise.  Also pass a tree to build of
7201         POSTINCREMENT_EXPR rather than a naked 'int'.
7202
7203 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
7204
7205         * ggc.h (ggc_push_context): Fix comment.
7206         (ggc_pop_context): Likewise.
7207         (mark_string_if_gcable): Likewise.
7208         * ggc-common.c (ggc_mark_rtx_children): Use
7209         ggc_mark_string_if_gcable.
7210         * ggc-page.c (ggc_lookup_page_table): New function.
7211         (ggc_allocated_p): Likewise.
7212         (mark_obj): Fix formatting.
7213         (ggc_mark_string_if_gcable): New function.
7214         * ggc-simple.c (ggc_allocated_strings): New variable.
7215         (ggc_strings_used): Likewise.
7216         (ggc_compare_addresses): New function.
7217         (ggc_pop_context): Pop the `any' memory too.
7218         (ggc_mark_string_if_gcable): New function.
7219         (ggc_collect): Initialize and tear down ggc_allocated_strings.
7220         
7221 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
7222
7223         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
7224         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
7225         * rs6000.c (expand_block_move): Match movstrsi_?reg register
7226         changes.
7227
7228 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
7229
7230         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
7231         (sched_reg_live_length, sched_reg_basic_block): Delete.
7232         (current_block_num, bb_live_regs, old_live_regs): Delete.
7233         (dead_notes, struct sometimes): Delete.
7234         (sched_note_set, birthing_insn_p): Delete.
7235         (adjust_priority): Gut useless reg lifetime code.
7236         (create_reg_dead_note, attach_deaths): Delete.
7237         (attach_deaths_insn, new_sometimes_live): Delete.
7238         (finish_sometimes_live): Delete.
7239         (find_pre_sched_live, find_post_sched_live): Delete.
7240         (update_reg_usage): Delete.
7241         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
7242         (schedule_insns): Delete reg lifetime code.
7243         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
7244         (unlink_other_notes): Adjust REG_NOTE commentary.
7245         (reemit_notes): Use REG_SAVE_NOTE.
7246         (schedule_block): Likewise.
7247         (schedule_region): Allocate bitmap of blocks in region.  Use
7248         count_or_remove_death_notes.  Use update_life_info.
7249
7250         * rtl.h (REG_SAVE_NOTE): New.
7251         * rtl.c (reg_note_name): Update.
7252         
7253 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
7254
7255         * combine.c (refresh_blocks, need_refresh): New.
7256         (combine_instructions): Allocate refresh_blocks.  Invoke
7257         update_life_info if needed.
7258         (distribute_notes): Mark refresh_blocks instead of installing
7259         USE insns.
7260         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
7261         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
7262
7263         * Makefile.in (recog.o): Depend on basic-block.h.
7264
7265 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
7266
7267         * genrecog.c (add_to_sequence): Thinko last change: delete
7268         shadowing allow_const_int variable.
7269
7270 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7271
7272         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
7273         __GNUC__ and __GNUC_MINOR__.
7274
7275         * gansidecl.h: Likewise.
7276
7277         * rtl.c: Likewise.
7278         
7279         * rtl.h: Likewise.
7280
7281         * toplev.h: Likewise.
7282
7283         * tree.c: Likewise.
7284
7285         * tree.h: Likewise.
7286
7287         * varray.c: Likewise.
7288
7289         * varray.h: Likewise.
7290
7291 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7292
7293         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
7294         use one before a jump table.
7295
7296         * rtl.def (ADDRESS): Change documentation to match reality.
7297         * md.texi: Don't document it.
7298         * gmicro.md (load address pattern): Use 'p' constraint, delete use
7299         of ADDRESS rtx.
7300
7301         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
7302
7303 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
7304
7305         * genrecog.c (add_to_sequence): Move allow_const_int test outside
7306         known predicate block; default allow_const_int true.
7307         (debug_decision_list): New.
7308
7309 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
7310
7311         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
7312
7313 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
7314
7315         * gcse.c (gcse_main): Avoid global optimizations if we have a
7316         large number of basic blocks and the ratio of edges to blocks
7317         is high.
7318         (delete_null_pointer_checks): Likewise.
7319
7320 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
7321
7322         * c-common.c (check_format_info): Warn if format string isn't a
7323         string literal.
7324
7325 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7326
7327         * configure.in (arm*-*-*): Don't let autoconf remove brackets
7328         * configure: regenerate
7329
7330 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
7331
7332         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
7333         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
7334         (peepholes): Re-enable.
7335
7336 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
7337
7338         * Makefile.in (flow.o): Depend on TREE_H.
7339         * basic-block.h (REG_SET_EQUAL_P): New.
7340         (XOR_REG_SET): New.
7341         (n_edges): Declare.
7342         (free_regset_vector): Remove declaration.
7343         (flow_delete_insn_chain): Declare.
7344         (enum update_life_extent): New.
7345         (update_life_info, count_or_remove_death_notes): Declare.
7346         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
7347         Verify register live at bb->global_live_at_start before adding USE.
7348         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
7349         (CLEAN_ALLOCA): New.
7350         (n_edges): New. 
7351         (PROP_*): New flags.
7352         (find_basic_blocks_1): Use alloc_EXPR_LIST.
7353         (clear_edges): Zero n_edges.
7354         (make_edge): Increment n_edges.
7355         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
7356         (flow_delete_insn_chain): Export.
7357         (delete_block): Decrement n_edges.
7358         (merge_blocks_nomove): Likewise.
7359         (life_analysis): Give life_analysis_1 PROP flags.
7360         (verify_wide_reg_1, verify_wide_reg): New.
7361         (verify_local_live_at_start): New.
7362         (update_life_info): Rewrite to call into propogate_block.
7363         (mark_reg): New.
7364         (mark_regs_live_at_end): After reload, if epilogue as rtl, 
7365         always mark stack pointer.  Conditionally mark PIC register.
7366         After reload, mark call-saved registers, return regsiters.
7367         (life_analysis_1): Accept PROP flags not remove_dead_code.
7368         Call mark_regs_live_at_end before zeroing regs_ever_live.
7369         Use calculate_global_regs_live.  Copy global_live_at_end before
7370         calling final propagate_block.  Zero reg_next_use on exit.
7371         (calculate_global_regs_live): New.
7372         (allocate_bb_life_data): Don't allocate bb->local_set.
7373         (init_regset_vector, free_regset_vector): Remove.
7374         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
7375         Test flags before every operation.  Warn if prologue/epilogue insn
7376         would have been deleted.
7377         (mark_set_regs, mark_set_1): Accept and use FLAGS. 
7378         Use alloc_EXPR_LIST.
7379         (mark_used_regs): Accept and use FLAGS, not FINAL.
7380         Remove special handling for RETURN.
7381         (try_pre_increment): Use alloc_EXPR_LIST.
7382         (dump_flow_info): Dump n_edges.
7383         (unlink_insn_chain, split_hard_reg_notes): Remove.
7384         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
7385         (find_insn_with_note, new_insn_dead_notes): Remove.
7386         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
7387         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
7388         (replace_insns): Remove.
7389         (count_or_remove_death_notes): New.
7390         (verify_flow_info): Abort on error after all checks.
7391         (remove_edge): Decrement n_edges.
7392         (remove_fake_edges): Tweek format.
7393         * haifa-sched.c (schedule_insns): Use split_all_insns.
7394         * output.h (update_life_info): Remove declaration.
7395         * recog.c (split_all_insns): From the corpse of split_block_insns,
7396         do the whole function block by block.  Use update_life_info.
7397         (recog_last_allowed_insn): New.
7398         (recog_next_insn): Mind it.
7399         (peephole2_optimize): Set it.  Walk backwards through blocks.
7400         Use update_life_info.
7401         * rtl.h (update_flow_info, replace_insns): Remove declarations.
7402         (split_all_insns): Declare.
7403         * toplev.c (rest_of_compilation): Thread prologue before flow2.
7404         Use split_all_insns.
7405
7406         * i386.md (or -1 peep2s): Disable.
7407
7408 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
7409
7410         * config/mips/mips.md (movstrsi+[123]) : Combine these into
7411         a single pattern.  Scrap the 'd' versions as unnecessary. 
7412
7413         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
7414         tablejump_mips162,tablejump_internal4): The operands to a
7415         label_ref must be VOIDmode.
7416
7417 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7418
7419         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
7420
7421 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
7422
7423         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
7424
7425 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
7426
7427         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
7428         cache every function if ggc_p.
7429
7430 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7431
7432         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
7433         instead of copy_rtx.  Accept sequences that contain asm statements.
7434         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
7435         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
7436         orig_asm_operands_vector, copy_asm_operands_vector,
7437         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
7438         variables.
7439         * rtl.h (copy_insn, copy_insn_1): Declare.
7440
7441 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7442
7443         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
7444
7445         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
7446         arguments to `current_file_function_operand'.
7447
7448         * genrecog.c: Include hard-reg-set.h and resource.h in the
7449         generated output file.
7450
7451         * real.c: Include tm_p.h.
7452
7453 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7454
7455         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
7456         output operand.
7457
7458 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
7459
7460         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
7461         before the fctiwz insn.
7462
7463 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7464                           Mark Mitchell  <mark@codesourcery.com>
7465
7466         * tree.c (make_lang_type_fn): New funtion pointer.
7467         (make_lang_type): Call it.
7468         * tree.h (make_lang_type): Declare.
7469         (make_lang_type_fn): Likewise.
7470         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
7471
7472 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
7473
7474         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
7475         make sure that HIGH instructions are copied into BASE_REGS.
7476
7477 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
7478
7479         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
7480
7481 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
7482
7483         * c-decl.c (finish_struct): Use simpler method of
7484         removing elements of a singly-linked list.
7485
7486 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
7487
7488         * alpha.md (peephole2's): Comment out peephole2's that generate
7489         buggy code.
7490
7491 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
7492
7493         * genrecog.c (add_to_sequence): Disable mode check for
7494         wildcard matches.
7495
7496 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7497
7498         * ggc-simple.c (init_ggc): Set empty_string.
7499
7500 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
7501
7502         * configure.in: Detect mmap.  Add --with-gc=foo to select
7503         garbage collector; default to page if mmap available.
7504         * Makefile.in (GGC): Substitute.
7505
7506 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
7507
7508         * c-decl.c (ggc_p): Enable.
7509
7510 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7511
7512         * flow.c (verify_flow_info): Make it extern & unconditionally define.
7513
7514 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
7515
7516         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
7517         string for little-endian-data.
7518
7519 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
7520
7521         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
7522         case somebody tries to compile --enable-checking code with gcc
7523         1.34 or such.
7524
7525 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
7526
7527         * genrecog.c (add_to_sequence): Verify operand to label_ref is
7528         VOIDmode.
7529
7530 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
7531
7532         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
7533         * jump.c (jump_optimize_1): Document why.
7534
7535 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7536
7537         * collect2.c (scan_prog_file, scan_libraries): Prototype function
7538         pointers and casts for `int_handler' and `quit_handler'.
7539
7540         * flow.c (verify_flow_info, split_hard_reg_notes,
7541         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
7542         remove_edge, remove_fake_successors): Add static prototypes.
7543         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
7544         (mark_set_1): Initialize variable `regno'.
7545         (unlink_insn_chain): Likewise for variable `curr'.
7546         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
7547
7548         * loop.c (strength_reduce): Initialize variable
7549         `unrolled_insn_copies'.
7550         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
7551         prototypes.  Change these functions to take const PTR parameters
7552         to avoid prototype conflict when used as the comparson argument
7553         for qsort.
7554         (check_dbra_loop): Initialize variable `comparison_val'.
7555
7556         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
7557         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
7558         (find_valid_class): Initialize variable `best_class'.
7559         (find_reloads): Call memcpy, not bcopy.
7560
7561         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
7562         (hard_reg_use_compare): Don't needlessly cast away const.
7563         (reload_reg_class_lower): Likewise.
7564         (choose_reload_regs): Initialize variable `regno'.
7565
7566 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
7567
7568         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
7569
7570 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
7571
7572         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
7573         ({,d}discard): Add forward declarations.  Declare parameter as
7574         unused.
7575         (main_without_main): Explicitly declare return type to be int.
7576         (memcpy): Properly declare.
7577
7578         * libgcc2.c (toplevel): If inhibit_libc is defined and not
7579         building the trampoline support, declare malloc, free, and
7580         atexit.
7581         (__clear_cache): Mark arguments as potentially unused.
7582         
7583         * frame.c (toplevel): If inhibit_libc is defined, declare
7584         malloc and free.
7585
7586 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
7587
7588         * flow.c (make_edge): Accept an optional 2D bitmap in which
7589         to cache edge existence.  Update all callers.
7590         (make_label_edge, make_eh_edge): Pass through the edge cache.
7591         (make_edges): Provide the cache.
7592
7593 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7594
7595         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
7596         a char*.
7597         (local_mbtowc): Change the type of variable `i' from int to size_t.
7598
7599         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
7600         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
7601
7602 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
7603
7604         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
7605         after other includes that define the appropriate types.  Include
7606         tm_p.h for getting user prototypes.
7607         * ggc-callbacks.c (toplevel): Ditto.
7608         * ggc-none.c (toplevel): Ditto.
7609         * gcc-page.c (toplevel): Ditto.
7610         * ggc-simple.c (toplevel): Ditto.
7611
7612 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
7613                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
7614
7615         * config/mips/mips.c (mips_move_2words): Split doubles if
7616         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
7617
7618 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
7619
7620         * genrecog.c (struct decision_test): New.
7621         (struct decision): Remove test-related members, sort the rest by size.
7622         (IS_SPLIT): Simplify.
7623         (new_decision, new_decision_test): New.
7624         (add_to_sequence): Use them.  No special handling for args of
7625         non-MATCH codes.
7626         (maybe_both_true): Renamed from not_both_true; return sense changed.
7627         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
7628         of maybe_both_true and adjusted for decision_test.
7629         (position_merit): Remove.
7630         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
7631         (merge_accept_insn): New, broken out of merge_trees.
7632         (merge_trees): Use them.  No special case for c_test; no node
7633         splitting; use test type instead of position_merit.
7634         (factor_tests): New.
7635         (simplify_tests): New.
7636         (break_out_subroutines): Don't write code now.
7637         (find_afterward): New.
7638         (write_afterward, write_switch, write_cond): New.
7639         (write_action, is_unconditional): New.
7640         (write_node): New.  Use them.
7641         (write_tree_1): Rewrite.  Use the new functions above.
7642         (write_tree): Remove afterward processing.
7643         (write_subroutine): Simplify function variant emission.
7644         (write_subroutines): New.
7645         (same_codes, clear_codes): Remove.
7646         (same_modes, clear_modes): Remove.
7647         (write_header): New, broken out of main.
7648         (make_insn_sequence): Use new_decision and new_decision_test.
7649         (process_tree): New, broken out of main.
7650         (main): Adjust for merge_trees interface change. 
7651         Don't #define operands in the output file.
7652         (record_insn_name): New, broken out of make_insn_sequence.
7653         (debug_decision_2, debug_decision_1, debug_decision_0): New.
7654         (debug_decision): New.
7655
7656 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
7657
7658         * resource.c (find_free_register): Mark class_str argument const.
7659         * resource.h: Update prototype to match.
7660
7661         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
7662         * i386.md: Give all anonymous insns names.
7663
7664 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
7665
7666         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
7667         blocks.
7668
7669 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
7670
7671         * toplev.c (dbr_sched_time): Unconditional.
7672         (peephole2_time): New.
7673         (compile_file): Add pass numbers to all of the dump file suffixes.
7674         Dump peephole2_time.  Don't dump times for non-applicable passes.
7675         (rest_of_compilation): Add pass numbers to dump file suffixes.
7676         Conditionalize calls to the scheduler.
7677         * invoke.texi: Update.
7678
7679 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
7680
7681         * flow.c (make_edges): Fix insn iteration.
7682         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
7683         (find_basic_blocks_1): Fix spelling mistake.
7684
7685 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
7686
7687         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
7688         always have side-effects.  Use memset not bzero.
7689         (make_node): Likewise.
7690
7691 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
7692
7693         * stmt.c (expand_anon_union_decl): When any of the elements of the
7694         union is addressable, so is the entire union.
7695
7696 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
7697
7698         * sbitmap.c (sbitmap_ones): Don't set too many bits.
7699
7700         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
7701         * bitmap.c (bitmap_operation): Return true iff TO changed.
7702         (bitmap_equal_p): New.
7703         (bitmap_bit_p): Tidy arithmetic.
7704         (debug_bitmap_file): Likewise.
7705
7706 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
7707
7708         * toplev.c (rest_of_compilation): Turn on cse_not_expected
7709         before cse2 instead of after.
7710
7711 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
7712
7713         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
7714         register offsets. 
7715
7716 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7717
7718         * cppinit.c (is_idchar initializer): Loosen tests to accept
7719         gcc 2.>6 and >2.
7720
7721 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
7722
7723         * mips.md: Define conditional move patterns for floating point
7724         operands and DI mode conditions.
7725
7726 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
7727
7728         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
7729         always have side-effects.
7730
7731 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
7732
7733         * mn10200.c (asm_file_start): Fix typo.
7734
7735         * cppinit.c (is_idchar initializer): Tighten tests for when
7736         to put the table into initialized memory.
7737
7738         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
7739         not an array of rtunion.
7740         * gcc-page.c (ggc_alloc_rtvec): Similarly.
7741         * gcc-simple (ggc_free_rtvec): Similarly.
7742
7743         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
7744         of rtunions.
7745
7746         * mbchar.h: Add missing #endif.
7747
7748         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
7749         (FPBIT, DPBIT): Define.
7750
7751 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7752
7753         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
7754
7755         * profile.c (instrument_arcs, output_gcov_string,
7756         tablejump_entry_p): Add static prototypes.
7757         (output_gcov_string): Constify a char*.
7758         
7759         * regmove.c (replacement_quality, fixup_match_2): Add static
7760         prototypes.
7761
7762         * resource.h (reg_dead_p): Add extern prototype.
7763
7764         * rtl.c (trim_filename): Add static prototype.
7765
7766         * scan-decls.c (skip_to_closing_brace): Likewise.
7767
7768         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
7769         (expand_end_case): Initialize variable `range'.
7770         (emit_case_nodes): Remove unused prototype `rtx_fn'.
7771
7772         * varasm.c (asm_emit_uninitialised): Add static prototype.
7773         (asm_emit_uninitialised, assemble_variable): Mark parameter with
7774         ATTRIBUTE_UNUSED.
7775
7776 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7777
7778         * cpplib.c (if_directive_nameo): Add static prototype.
7779
7780         * cse.c (cse_insn): Remove unused variable `p'.
7781
7782         * except.c (create_rethrow_ref, push_entry,
7783         receive_exception_label, new_eh_region_entry, find_func_region,
7784         clear_function_eh_region, process_nestinfo): Add static prototypes.
7785         (get_reg_for_handler): Hide definition.
7786         (process_nestinfo): Initialize variable `extra_handlers'.
7787
7788         * expr.h (expand_builtin_longjmp): Add extern prototype.
7789
7790         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
7791
7792         * function.c (prepare_function_start): Likewise.
7793         (pop_function_context_from): Mark parameter `context' with
7794         ATTRIBUTE_UNUSED.
7795         (push_temp_slots_for_block, flush_addressof): Hide definition.
7796         
7797         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
7798         solve_program_flow_graph, calculate_branch_probs,
7799         function_summary, main, fancy_abort): Add prototypes.
7800
7801         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
7802         (add_hash): Constify a char*.
7803
7804         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
7805         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
7806         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
7807
7808         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
7809
7810         * lists.c (free_list, zap_lists): Likewise.
7811
7812 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7813
7814         * alias.c (nonlocal_reference_p): Add static prototype.
7815
7816         * bitmap.c (bitmap_element_allocate): Prototype args in function
7817         pointer cast.
7818
7819         * builtins.c (stabilize_va_list): Add static prototype.
7820         (expand_builtin_va_arg): Constify a char*.
7821         
7822         * c-lex.c (getch, put_back, extend_token_buffer_to,
7823         read_line_number, token_getch, token_put_back): Add static
7824         prototypes.
7825
7826         * c-parse.gperf (hash, is_reserved_word): Likewise.
7827
7828         * cccp.c (is_dir_separator): Likewise.
7829
7830 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7831
7832         * graph.h: New file to prototype functions exported by graph.c.
7833
7834         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
7835
7836         * graph.c: Include graph.h.
7837
7838         * toplev.c: Likewise.  Remove redundant prototypes.
7839
7840 Sat Oct  2 11:28:33 1999   Krister Walfridsson <cato@df.lth.se>
7841
7842         * invoke.texi: Removed duplicated description for -Q.
7843
7844 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
7845
7846         * extend.texi: Grammar fix in __extension__ text.
7847
7848 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
7849
7850         * md.texi (define_peephole2): New section.
7851
7852 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
7853
7854         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
7855         (mov $-1 to or peepholer): Enable for pentium when optimizing for
7856         speed.
7857
7858 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
7859
7860         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
7861
7862 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
7863
7864         * i386.md (ffs expander): Emit Pentium friendly code for
7865         TARGET_PENTIUM.
7866
7867 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
7868
7869         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES 
7870         for non-trees.
7871         (build1): Likewise.
7872         
7873 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7874
7875         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
7876
7877 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
7878
7879         * config/m68k/m68k.c (use_return_insn): Return false if the pic
7880         register is in use.
7881
7882 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7883
7884         * md.texi (No Constraints): Delete section.
7885         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
7886         * final.c (final_scan_insn): We always have register constraints.
7887         * genattrtab.c: Don't include "insn-config.h".
7888         (write_attr_case): We always have register constraints.
7889         * genconfig.c (register_constraint_flag): Delete.
7890         (walk_insn_part): Don't check whether we have register constraints.
7891         (main): Don't write out "#define REGISTER_CONSTRAINTS".
7892         * genoutput.c (have_constraints): Delete.
7893         (main): Don't set it.
7894         (output_operand_data): We always have constraints.
7895         (scan_operands): Likewise.
7896         (compare_operands): Likewise.
7897         * local-alloc.c (block_alloc): We always have constraints.
7898         (requires_inout): Always compile this function.
7899         * recog.c (extract_insn): We always have constraints.
7900         (constrain_operands, reg_fits_class_p): Always compile these
7901         functions.
7902         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
7903         fields.
7904         (struct insn_operand_data): Likewise.
7905         * regclass.c (regclass): We always have constraints.
7906         (record_reg_classes, copy_cost, record_address_regs,
7907         auto_inc_dec_reg_p): Always compile these functions.
7908         * regmove.c (regmove_optimize): We always have constraints.
7909         * reload.c (find_reloads): Likewise.
7910         * reload1.c (reload): Likewise.
7911         (reload_cse_simplify_operands): Likewise.
7912         * i860.c (output_delay_insn): Likewise.
7913
7914 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
7915
7916         * iris6.h (BUILD_VA_LIST_TYPE): Define.
7917
7918 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7919
7920         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
7921         for the va_list record.
7922
7923 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
7924
7925         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
7926         prologues.
7927
7928 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
7929
7930         * alias.c: Include insn-flags.h.
7931         * Makefile.in (alias.o): Update.
7932
7933 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
7934
7935         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
7936         to LTU and GEU.  Handle more cases using sbb.
7937
7938 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
7939
7940         * i386.md (truncatexfdf splitters): Do not use subreg.
7941         (fop XFmode patterns): Fix mode in operand testing.
7942
7943 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
7944
7945         * jump.c (jump_optimize_1): Amend last change to test only the
7946         form of the operand, not the insn.
7947
7948         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
7949         not register_operand to determine when B may need preloading.
7950
7951 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
7952
7953         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
7954         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
7955         (call-value patterns): Move to end of file.
7956         (*): Remove mode from label_ref in (pc) context.
7957         (movstrqi): Use memory not general_operand for BLKmode operands.
7958         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode 
7959         to register_operand operands.
7960         (peep2 patterns): Convert from commented-out peephole patterns.
7961
7962 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7963
7964         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
7965         to BUILT_IN_INIT_DWARF_REG_SIZES.
7966         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
7967         Renamed from BUILT_IN_DWARF_REG_SIZE; call
7968         expand_builtin_init_dwarf_reg_sizes.
7969         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
7970         with __builtin_init_dwarf_reg_size_table.
7971         * dwarf2out.c (struct reg_size_range): Delete.
7972         (expand_builtin_init_dwarf_reg_sizes): New function.
7973         (expand_builtin_dwarf_reg_size): Delete.
7974         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
7975         (expand_builtin_dwarf_reg_size): Don't declare.
7976         * libgcc2.c (dwarf_reg_size_table_initialized): New.
7977         (dwarf_reg_size_table): New.
7978         (init_reg_size_table): New function.
7979         (copy_reg): Use dwarf_reg_size_table.
7980         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
7981         before use.
7982
7983 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
7984
7985         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): 
7986         Correctly build argument list to constructor and destructor functions.
7987
7988 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
7989
7990         * c-tree.h (warn_float_equal): Declare.
7991         * c-decl.c (warn_float_equal): Define.
7992         (c_decode_option): Recognize -W[no-]float-equal.
7993         * c-typeck.c (build_binary_op): Conditionally warn
7994         about equality tests of floating point types.
7995         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
7996         * invoke.texi: Add docs for -Wfloat-equal warning.
7997
7998 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
7999
8000         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
8001         generating RTL directly.
8002         * mips.h (INIT_TARGET_OPTABS): Likewise.
8003         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
8004
8005         * expr.h (init_mov_optab): Delete declaration
8006
8007         * h8300.c (WORD_REG_USED): Update to avoid useless register
8008         saves in interrupt functions and functions which never return.
8009
8010         * cse.c (struct set): Delete inner_dest_loc field. 
8011         (cse_insn): Remove assignments to inner_dest_loc field.
8012
8013 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
8014
8015         * ggc-page.c: Don't include <unistd.h> etc taken care of
8016         by "system.h".  Include <sys/mman.h> afterward.
8017
8018 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
8019
8020         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
8021         ggc_alloc_string.
8022
8023 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
8024
8025         * xcoffout.c (xcoffout_declare_function): Add documentation.
8026         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
8027         TARGET_64BIT.  Compare constant to -1, not bit pattern.
8028         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
8029         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
8030         gen_movsi typos.
8031
8032 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
8033
8034         * dwarf2out.c (add_abstract_origin_attribute): Abort if
8035         origin_die is NULL.
8036         (gen_inlined_enumeration_type_die): Do not abort if the type has
8037         not been writeen out.
8038         (gen_inlined_structure_type_die): Do not abort if the type has
8039         not been writeen out.
8040         (gen_inlined_union_type_die): Do not abort if the type has
8041         not been writeen out.
8042         (gen_tagged_type_instantiation_die): Do not abort if the type
8043         has not been written out.
8044
8045 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8046
8047         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
8048         call it.
8049         * reg-stack.c (straighten_stack): Copy hard reg set with
8050         COPY_HARD_REG_SET.
8051
8052 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
8053
8054         * builtins.c (stabilize_va_list): Stabilize array type va_list
8055         to a pointer type, not the base record type.
8056         (expand_builtin_va_copy): Dereference the pointers explicitly;
8057         use the correct size for the copy.
8058
8059         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
8060         (rs6000_va_arg): Likewise.
8061
8062 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
8063
8064         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
8065
8066 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
8067
8068         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
8069         field.
8070         (DECL_BUILT_IN_CLASS): Adjust accordingly.
8071
8072 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
8073
8074         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
8075         (init_ggc): Use it instead of a constant.
8076         (ggc_collect): Bound allocated_last_gc by it.
8077
8078 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
8079
8080         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
8081         with va_list.
8082
8083 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
8084
8085         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
8086         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
8087         * configure:  Regen.
8088         * config/mips/openbsd.h:  New, OpenBSD little endian target.
8089         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
8090         * config/mips/xm-openbsd.h:  New, OpenBSD host.
8091
8092 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
8093
8094         * config/m68k/m68k.c (output_function_prologue,
8095         output_function_epilogue): Use
8096         current_function_uses_pic_offset_table instead of regs_ever_live
8097         to decide whether to save/restore pic register.
8098         (legitimize_pic_address): Don't modify regs_ever_live any more.
8099
8100 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
8101
8102         * function.h (struct function): Add x_dont_save_pending_sizes_p.
8103         * stor-layout.c (variable_size): Don't add sizes to the pending
8104         sizes list if x_dont_save_pending_sizes_p is set.
8105         
8106 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
8107
8108         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
8109         for symbolic_operand().
8110         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
8111
8112 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8113
8114         * combine.c (gen_rtx_combine): Add missing call to va_end().
8115
8116         * final.c (asm_fprintf): Likewise.
8117
8118         * genattrtab.c (attr_rtx): Likewise.
8119
8120 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
8121
8122         * cse.c: Update comments.
8123         (cse_insn): When converting a conditional/computed jump into
8124         an unconditional jump, always make sure a BARRIER immediately
8125         follows the converted jump.  Do not delete unreachable code.
8126         (cse_basic_block): Do not delete unreachable code.
8127         * toplev.c (rest_of_compilation): Move call to 
8128         delete_trivially_dead_insns after the conditional call to
8129         jump_optimize.
8130
8131 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8132
8133         * collect2.c (make_temp_file): Don't prototype.
8134
8135         * gcc.c (make_temp_file): Likewise.
8136
8137         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
8138
8139 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
8140
8141         * varasm.c (asm_emit_uninitialised): New function: Generate
8142         the assembler statements necessary to declare an uninitialised 
8143         variable.
8144         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
8145         variable.
8146         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
8147         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
8148         section.
8149         (assemble_variable): Use asm_emit_uninitialised to emit an
8150         uninitialised variable.
8151
8152 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
8153
8154         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
8155         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
8156         <geoffk@cygnus.com>.
8157
8158 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8159
8160         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
8161         * c-common.h (builtin_function): Don't declare.
8162
8163         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
8164         DECL_BUILT_IN.
8165         (pushdecl): Likewise.
8166         (finish_decl): Likewise.
8167         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
8168         int.  All callers changed.
8169         Set the builtin's DECL_BUILT_IN_CLASS.
8170         * tree.h (enum built_in_class): New.
8171         (enum built_in_function): Delete NOT_BUILT_IN.
8172         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
8173         in a union.
8174         (DECL_SET_FUNCTION_CODE): Likewise.
8175         (DECL_BUILT_IN_CLASS): New macro.
8176         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
8177         (struct tree_decl): Split builtin function code field into a
8178         struct.
8179         (builtin_function): Declare.
8180
8181 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
8182
8183         * optabs.c (init_traps): Fix typo in last change.
8184
8185 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
8186
8187         * toplev.c (rest_of_decl_compilation): Update comment.
8188
8189 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
8190
8191         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
8192         in .sbss if appropriate.
8193         (EXTRA_SECTION_FUNCTIONS): Add sbss.
8194         (SBSS_SECTION_ASM_OP): New macro.
8195         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
8196         (EXTRA_SECTIONS): Add in_sbss.
8197         * config/mips/mips.h: Prototype sbss_section.
8198
8199 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
8200
8201         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
8202         to disappear.
8203
8204 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
8205
8206         * optabs.c (init_traps): Register trap_rtx as a GC root.
8207
8208 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8209
8210         * config/mips/mips.c (function_arg_pass_by_reference): Define
8211         unconditionally, since it's called unconditionally.
8212
8213 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
8214
8215         * toplev.c (documented_lang_options): Add -fshort-wchar.
8216         * c-decl.c (c_decode_option): Likewise.
8217         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
8218         for wchar_t.
8219         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
8220         * gcc.c (default_compilers): If -fshort-wchar, 
8221         override __WCHAR_TYPE__.
8222         * tm.texi (C Dialect Options): Add -fshort-wchar.
8223
8224         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
8225         symbol for a variable.
8226
8227         * cpplib.h (CPP_PREPROCESSED): New macro.
8228         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
8229         we're seeing this input for a second time.
8230
8231 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
8232
8233         * emit-rtl.c (init_emit_once): Initialize modes first.
8234
8235 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
8236
8237         * config/i386/i386.c (pic_label_name): Change to char pointer.
8238         (global_offset_table): New variable.
8239         (load_pic_register): Fill global_offset_table if it hasn't
8240         already been done.  Allocate pic_label_name dynamically.
8241         * ggc.h (empty_string): New variable.
8242         * ggc-simple.c (empty_string): Likewise.
8243         (init_ggc): Allocate empty_string and add as root.
8244         * stmt.c (digit_strings): New variable.
8245         (init_stmt): Add last_block_end_note as root.  Allocate and
8246         initialize digit_strings. 
8247         (expand_asm_operands): Use empty_string instead of string
8248         constant.  Use digit_strings instead of string constants.
8249         * profile.c (init_arc_profiler): Allocate string with
8250         ggc_alloc_string instead of xmalloc.
8251         (output_func_start_profiler): Likewise.
8252         * c-typeck.c (digest_init): Check if init is error_mark_node.
8253
8254 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
8255                           Richard Henderson  <rth@cygnus.com>
8256
8257         * ggc-page.c: New file.
8258         * Makefile.in (ggc-page.o): New.
8259
8260 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
8261
8262         * invoke.texi: Document -fdelete-null-pointer-checks
8263         * toplev.c (flag_delete_null_pointer_checks): New.
8264         (f_options): Add entry for -fdelete-null-pointer-checks.
8265         (rest_of_compilation): Conditionalize null pointer check
8266         elimination on flag_delete_null_pointer_checks.
8267         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
8268
8269 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
8270
8271         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
8272         copyright notice and special exception to GPL.
8273
8274 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8275
8276         * abi64.h (mips_function_value): Add prototype arguments.
8277
8278         * mips-protos.h: New file with mips prototypes.
8279
8280         * mips.c: Include "tm_p.h".
8281         (mktemp, lookup_name): Add prototype arguments.
8282         (extern_list, string_constant, mips_fill_delay_slot,
8283         mips_output_external, mips_output_external_libcall,
8284         mips_output_filename, mips_declare_object, function_prologue,
8285         mips_expand_prologue, function_epilogue, mips16_constant,
8286         build_mips16_function_stub, mips_output_conditional_branch):
8287         Constify a char*.
8288         (mips_va_start): Remove unused variable `u'.
8289         (mips_va_arg): Cast value to unsigned when comparing against one.
8290         (trace): Delete.
8291         (save_restore_insns, mips_expand_prologue): Add missing arg in
8292         call to `large_int'.
8293
8294         * mips.h: Move prototypes to mips-protos.h.
8295         (data_section, memory_address_p, rdata_section,
8296         readonly_data_section, simple_epilogue_p, text_section): Delete
8297         prototypes delcared elsewhere.
8298         (mips_epilogue_delay_slots, print_options): Delete unused decls.
8299         (trace): Delete.
8300         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
8301
8302         * mips.md: Delete extra args in call to `mips_move_2words'.
8303
8304         * xm-iris6.h (alloca): Add prototype argument.
8305
8306         * genpeep.c: Include "tm_p.h" in generated output file.
8307
8308 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8309
8310         * basic-block.h (find_edge_index): Change parameters.
8311         * flow.c (verify_edge_list): Pass basic_block parameters to
8312         find_edge_index instead of integers.
8313
8314 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
8315
8316         * combine.c (simplify_comparison): Use an unsigned shift to adjust
8317         the constant.
8318
8319 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
8320
8321         * gcc.1: Fix a formatting error.
8322
8323 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8324
8325         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
8326         i786, mn10200, mn10300, pdp11, v850.
8327
8328 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
8329
8330         * libgcc2.c (num_digits): Add prototype with 
8331         __attribute__((const)).
8332         (__terminate): Add prototype.
8333
8334 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
8335
8336         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
8337
8338         * alpha/alpha.c (print_operand): Fix type of `code'.
8339         (alpha_output_filename): Constify.
8340         * alpha/alpha.h: Move all function declarations ...
8341         * alpha/alpha-protos.h: ... here.  New file.
8342         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
8343         (SECTION_FUNCTION_TEMPLATE): Likewise.
8344
8345 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8346
8347         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
8348         * expr.c (expand_expr): Likewise.
8349         (do_jump): Likewise.
8350         (do_store_flag): Pass ccp_store_flag to can_compare_p.
8351         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
8352         accessor macros.
8353         (enum can_compare_purpose): New.
8354         (can_compare_p): Adjust prototype.
8355         (prepare_cmp_insn, prepare_operand): Declare.
8356         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
8357         * optabs.c (cmp_available_p): Deleted.
8358         (expand_abs): Pass ccp_jump to can_compare_p.
8359         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
8360         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
8361         Call can_compare_p rather than cmp_available_p.
8362         (prepare_operand): No longer static.
8363         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
8364         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
8365         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
8366         sequence to use emit_cmp_and_jump_insns.
8367         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
8368
8369 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
8370
8371         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
8372         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
8373         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
8374         (plus (reg) (const_int 0))
8375         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
8376         
8377 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
8378
8379         * rs6000.c (expand_block_move): DImode loads and stores require
8380         word-aligned displacements.  Increment address registers with
8381         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
8382
8383 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
8384
8385         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
8386         is no name for the base type, rather than segfault.  If we are
8387         writing out a complex integer type, use DW_ATE_lo_user.
8388
8389         * expr.c (emit_move_insn_1): If we are copying a complex that fits
8390         in one word or less (complex char, complex short, or on 64 bit
8391         systems complex float) to/from a hard register, copy it through
8392         memory instead of dying in gen_{real,imag}part.  If we have a
8393         short complex type, prevent inlining since it allocates stack
8394         memory.
8395
8396         * tree.c (build_complex_type): If we are writing dwarf2 output,
8397         generate a name for complex integer types.
8398
8399 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8400
8401         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
8402         * flow.c (remove_edge): Remove extra whitespace.
8403         (remove_fake_edges): Fix comment.
8404         (add_noreturn_fake_exit_edges): Use the correct name.
8405
8406 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
8407
8408         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
8409         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
8410         (clean): Depend on INTL_CLEAN.
8411         (maintainer-clean): Adjust.
8412
8413 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8414
8415         * configure.in (AC_PREREQ): Bump to 2.13.
8416         (AC_C_STRINGIZE): Call this instead of using a custom macro.
8417
8418         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
8419
8420         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
8421
8422         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
8423
8424         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
8425         (HAVE_STRINGIZE): Define.
8426
8427 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
8428
8429         * c-parse.in: save and restore warn_pointer_arith on __extension__
8430         along with pedantic.
8431         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
8432         Set the type of extension to itype rather than $<itype>1 kludge.
8433         * extend.texi (Alternate Keywords): Adjust documentation.
8434         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
8435
8436 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
8437
8438         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
8439         most assembler templates.
8440
8441         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
8442         FP loads and stores.
8443         (following_call): Always return zero for the PA8000.
8444         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
8445         FP loads and stores.
8446         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
8447
8448         * pa.h (BRANCH_COST): Define.
8449
8450         * pa.md (return, return_internal): Use bve for PA2.0.
8451
8452         * pa.md (fused multiply): Add variants which reduce height for the
8453         fused multiply, but which still generate 2 insns.
8454         (fnegabs): Similarly.
8455
8456         * pa.md (subsi3): Turn into an expander.  Create two anonymous
8457         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
8458         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
8459
8460         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
8461         for TARGET_PA_20.
8462         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
8463         code generation.
8464         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
8465         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
8466
8467         * regclass.c (init_regs): Add "top_of_stack" as a garbage
8468         collection root.
8469
8470         * flow.c (record_active_eh_regions): Terminate loop after finding
8471         the last insn in the last basic block.
8472
8473 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8474
8475         * config/c4x/c4x.md: Delete parallel instruction peepholes.
8476
8477 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8478
8479         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
8480
8481 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8482
8483         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
8484         splitting to not use output template.
8485
8486 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8487
8488         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
8489         * config/c4x/c4x.c (c4x_va_start): New function.
8490
8491 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
8492
8493         * genrecog.c (not_both_true): Handle correctly cases when called for
8494         tests with different positions in the insn.
8495
8496 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8497
8498         * machmode.h (HOST_PTR_PRINTF): Move from here ...
8499
8500         * system.h (HOST_PTR_PRINTF): ... to here.
8501
8502         * mips-tfile.c: Don't include machmode.h.
8503
8504         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
8505         (mips-tfile.o): Don't depend on machmode.h.
8506
8507 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8508
8509         * haifa-sched.c (sched_analyze): Rename local variable `region' to
8510         avoid conflicts with typedef struct `region' at the top level scope.
8511
8512 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
8513
8514         * basic-block.h (basic_block): Add eh_beg, eh_end.
8515         * flow.c (entry_exit_blocks): Update.
8516         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
8517         Call new functions.
8518         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
8519         lists.c functions to allocate insn lists.
8520         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
8521         edge creation ...
8522         (make_eh_edge): ... here.  New.
8523         (move_stray_eh_region_notes): New.
8524         (record_active_eh_regions): New.
8525         (delete_unreachable_blocks): Split out block merging ...
8526         (try_merge_blocks): ... here.  New.
8527         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
8528         Dump debugging data.
8529         (merge_blocks_move_successor_nojumps): Likewise.
8530         (merge_blocks): Use eh_beg+eh_end to validate block movement.
8531
8532 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8533
8534         * extend.texi (Bound member functions): Document unbound pmf
8535         conversion.
8536
8537 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8538
8539         * flow.c (split_edge): Handle insertion on a fallthrough edge which
8540         has the EXIT_BLOCK as a dest.
8541
8542 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8543
8544         * flow.c (remove_edge): New function to remove an edge from the 
8545         flow graph.
8546         (remove_fake_successors): New function to remove fake successor edges.
8547         (remove_fake_edges): New function to remove all fake edges from the
8548         flow graph.
8549         (add_fake_exit_edges): New function to add fake edges from all blocks
8550         with no successors to the exit block.
8551         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add 
8552         prototypes for new functions.
8553
8554 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8555
8556         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
8557         Use Pmode to determine whether to output .dword or .word.
8558
8559 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
8560
8561         * tree.c (built_in_filename): New variable.
8562         (BUILT_IN_FILENAME): New macro.
8563         (init_tree_codes): Allocate built_in_filename.
8564         (make_node): Use built_in_filename instead of string constant.
8565
8566 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
8567
8568         * configure.in: Add fr30 target.
8569         * configure: Regenerate.
8570         * config/fr30: New directory.
8571         * config/fr30/crti.asm: New file.
8572         * config/fr30/fr30.c: New file.
8573         * config/fr30/crtn.asm: New file.
8574         * config/fr30/fr30.h: New file.
8575         * config/fr30/fr30.md: New file.
8576         * config/fr30/lib1funcs.asm: New file.
8577         * config/fr30/t-fr30: New file.
8578         * config/fr30/xm-fr30.h: New file.
8579
8580 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
8581
8582         * flow.c (merge_blocks_move_successor_nojumps): Delete the
8583         BARRIER at the end of the successor, not the BARRIER before
8584         the successor.
8585
8586         * pa.c (pa_add_gc_roots): Fix thinko in last change.
8587
8588 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
8589
8590         * stmt.c (any_pending_cleanups): Don't crash when 
8591         current_function->stmt is unset.
8592
8593 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8594
8595         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
8596         other initializations that may use it for relative offsets.
8597
8598 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8599
8600         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
8601         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
8602         * config/i386/sol2dbg.h: Removed.
8603         * config/i386/sol2gas.h: New file, to enable gas work-around.
8604         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
8605         Don't use sol2dbg.h.
8606         * configure: Rebuilt.
8607
8608 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
8609
8610         * invoke.texi (-fthis-is-variable): Remove documentation.
8611
8612 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
8613
8614         * basic-block.h (compute_bb_for_insn): Declare.
8615         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
8616         to use; set size of basic_block_for_insn directly.
8617         (find_basic_blocks): Update.
8618
8619 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8620
8621         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
8622
8623 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8624
8625         * crtstuff.c (ON_EXIT): Delete empty macro definition.
8626         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
8627
8628 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
8629
8630         * c-decl.c (c_decode_option): Extend comment.
8631
8632 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
8633
8634         * toplev.c (progname): Make 'const char *'
8635         (flag_print_mem): Move out of main.
8636         (version_flag): Move out of main.
8637         (filename): Move out of main.
8638         (debug_args): Remove g prefix from options.
8639         (documented_lang_options): Remove cpplib specific options.
8640         (display_help): Add g prefix to debug options.
8641         (check_lang_option): Delete this function.
8642         (decode_d_option): New function: Decode -d... option.
8643         (decode_f_option): New function: Decode -f... option.
8644         (decode_W_option): New function: Decode -W... option.
8645         (decode_g_option): New function: Decode -g... option.
8646         (independent_decode_option): New function: Decode a language
8647         independent command line option.
8648         (main): Invoke lang_decode_option and then
8649         independent_decode_option on each command line option in
8650         turn. 
8651
8652 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
8653
8654         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
8655          * fold-const.c (fold_range_test): Do not try to fold the range
8656          test if the rhs or lhs has side effects.
8657
8658         * basic-block.h (compute_flow_dominators): Declare.
8659
8660         * gcse.c (alloc_code_hoist_mem): New function.
8661         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
8662         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
8663         (hoist_code, one_code_hoisting_pass): Likewise.
8664         (gcse_main): If optimizing for size, then hoist expressions
8665         computed in multiple dominated basic blocks.
8666
8667         * gcse.c (invalid_nonnull_info): New function.
8668         (delete_null_pointer_checks): Likewise.
8669         * rtl.h (delete_null_pointer_checks): Declare.
8670         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
8671
8672         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
8673         (merge-blocks_move_successor_nojumps): Likewise.
8674         (merge_blocks): Allow merging of some blocks, even if it requires
8675         physical movement of the blocks, but not if it requires new jumps.
8676
8677         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
8678         Callers and prototype changed.
8679         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
8680
8681 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8682
8683         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
8684         -YP when both -p and -pg are present.  From i386/sol2.h.
8685
8686 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8687
8688         * Makefile.in (distclean): Delete tm_p.h.
8689         * configure.in: Create a new file, "tm_p.h", from a list in
8690         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
8691         "i386/i386-protos.h".
8692
8693         * alias.c: Include "tm_p.h".
8694         * c-typeck.c: Likewise.
8695         * calls.c: Likewise.
8696         * cse.c: Likewise.
8697         * emit-rtl.c: Likewise.
8698         * explow.c: Likewise.
8699         * expmed.c: Likewise.
8700         * expr.c: Likewise.
8701         * final.c: Likewise.
8702         * flow.c: Likewise.
8703         * fold-const.c: Likewise.
8704         * function.c: Likewise.
8705         * gcse.c: Likewise.
8706         * global.c: Likewise.
8707         * haifa-sched.c: Likewise.
8708         * integrate.c: Likewise.
8709         * jump.c: Likewise.
8710         * local-alloc.c: Likewise.
8711         * loop.c: Likewise.
8712         * optabs.c: Likewise.
8713         * recog.c: Likewise.
8714         * reg-stack.c: Likewise.
8715         * regclass.c: Likewise.
8716         * regmove.c: Likewise.
8717         * reload.c: Likewise.
8718         * reload1.c: Likewise.
8719         * reorg.c: Likewise.
8720         * resource.c: Likewise.
8721         * stmt.c: Likewise.
8722         * stor-layout.c: Likewise.
8723         * toplev.c: Likewise.
8724         * tree.c: Likewise.
8725         * unroll.c: Likewise.
8726         * genattrtab.c (main): Make generated file include "tm_p.h".
8727         * genemit.c (main): Likewise.
8728         * genoutput.c (main): Likewise.
8729         * genrecog.c (main): Likewise.
8730
8731         * i386.h: Delete all prototypes.
8732         * i386.c: Include "tm_p.h".
8733         (ix86_attr_length_default): Call constant_call_address_operand
8734         with correct number of arguments.
8735         * i386-protos.h: New file.
8736         * i386.md (unnamed patterns): Call constant_call_address_operand
8737         with correct number of arguments.
8738         (exception_receiver): Call load_pic_register with correct number
8739         of arguments.
8740
8741 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
8742
8743         * c-pragma.c (mark_align_stack): Dereference the void* properly.
8744
8745 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
8746
8747         * rtl.h (insns_safe_to_move_p): New function.
8748         * loop.c (find_and_verify_loops): Use it.
8749         * rtlanal.c (insns_safe_to_move_p): Define it.
8750
8751 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
8752
8753         * c-pragma.c: Include ggc.h.
8754         * Makefile.in (c-pragma.o): Update.
8755
8756 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8757
8758         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
8759         (LIB_SPEC): Likewise.
8760         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
8761         Reindent -YP/-p/-pg.
8762         Copied from config/sparc/sol2.h.
8763
8764 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
8765
8766         * c-pragma.c (mark_align_stack): New.
8767         (init_pragma): New.
8768         * c-pragma.h (init_pragma): Declare it.
8769         * c-lex.c (init_parse): Call it.
8770
8771 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8772
8773         * configure.in: Pick up thread library on Solaris/x86 just
8774         like on Solaris/sparc.
8775         * configure: Rebuilt.
8776
8777 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
8778
8779         * rtl.h (global_rtx_index): New enum.
8780         (global_rtl): Change to array of rtx.
8781         (pc_rtx, cc0_rtx): Redefine accordingly.
8782         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
8783         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
8784         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
8785         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
8786         (const_int_rtx): Change to array of rtx.
8787         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
8788         accordingly. 
8789         * emit-rtl.c (global_rtl): Change to array of rtx.
8790         (const_int_rtx): Change to aray of rtx.
8791         (gen_rtx_CONST_INT): Redefine accordingly.
8792         (init_emit_once): Allocate and initialize global_rtl.  Likewise
8793         for const_int_rtx.  Add both as GC roots.
8794         * genattrtab.c (global_rtl): Update declaration.
8795
8796 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
8797
8798         * Makefile (USER_H): Add iso646.h back.
8799
8800 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
8801
8802         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
8803         zapping the LOG_LINKS of sched_before_next_call.
8804
8805         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
8806         * pa.c (insn_refs_are_delayed): Renamed from
8807         insn_sets_and_refs_are_delayed.
8808
8809 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
8810
8811         * functiion.h (struct function): Add x_whole_function_mode_p.
8812         (retrofit_block): Declare.
8813         * function.c (retrofit_block): New function.
8814         (identify_blocks): Add assertions.  Allow an incomplete set of
8815         block notes if we're still generating code for the function.
8816         * integrate.c: Include loop.h.
8817         (expand_inline_function): Call find_loop_tree_blocks to map block
8818         notes to blocks when in whole-function mode.  Use retrofit_block
8819         to insert new BLOCKs for the inlined function, rather than
8820         insert_block.
8821         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
8822         * Makefile.in (integrate.o): Depend on loop.h.
8823
8824 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
8825
8826         * tree.h (warn_about_unused_variables): Declare.
8827         * stmt.c (warn_about_unused_variables): New function, split out
8828         from ...
8829         (expand_end_bindings): Here.
8830
8831 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
8832
8833         * stmt.c (preserve_subexpressions_p): Don't crash when
8834         current_function->stmt is unset.
8835
8836 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
8837
8838         * stmt.c (expand_start_bindings): Allow callers to pass a flag
8839         indicating that no NOTE_INSN_BLOCK_BEG note is required.
8840         (expand_start_target_temps): Use it.
8841         * except.c (expand_eh_region_start_for_decl): Likewise.
8842         * expr.c (expand_expr): Likewise.
8843
8844 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8845
8846         * fold-const.c (operand_equal_p): Pay attention to side effects.
8847
8848 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
8849
8850         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
8851         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
8852
8853         * tlink.c (scan_linker_output): Look for keywords before accepting
8854         a mangled name in quotes.
8855
8856 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
8857
8858         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
8859         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
8860
8861 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
8862
8863         * alpha.md: Revert Thu Nov 26 change that came in through the
8864         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
8865         Avoid earlyclobber when possible.
8866
8867 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8868
8869         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
8870
8871         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
8872         Define HAVE_ON_EXIT.
8873
8874 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8875
8876         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
8877         CTYPE_CONV in all ctype macros.
8878
8879         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
8880         from system.h.
8881
8882         * cexp.y (initialize_random_junk): Likewise.
8883
8884         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
8885
8886         * i370.c (handle_pragma): Likewise.
8887
8888         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
8889
8890         * v850.c (override_options): Likewise.
8891
8892         * doprint.c (_doprnt): Likewise.
8893
8894         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
8895         Likewise.
8896
8897         * fixinc/server.c (load_data): Likewise.
8898
8899         * fold-const.c (real_hex_to_f): Likewise.
8900
8901         * genattr.c (write_upcase, gen_attr): Likewise.
8902
8903         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
8904         write_upcase): Likewise.
8905
8906         * genemit.c (print_code): Likewise.
8907
8908         * genopinit.c (gen_insn): Likewise.
8909
8910         * genpeep.c (print_code): Likewise.
8911
8912         * genrecog.c (print_code): Likewise.
8913
8914         * optabs.c (init_libfuncs): Likewise.
8915
8916 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
8917
8918         * haifa-sched.c (sched_analyze): Keep the list of notes organized
8919         in pairs.
8920         (reemit_notes): Likewise.
8921
8922 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
8923
8924         * ggc.h (ggc_root): Move to ggc-common.c.
8925         (roots): Remove.
8926         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
8927         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
8928         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
8929         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
8930         * ggc-common.c (ggc_root): Move from ggc.h.
8931         (roots): Declare, static.
8932         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
8933         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
8934         null or check/set mark bit.
8935         (ggc_mark_roots): New.
8936         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
8937
8938 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
8939
8940         * m32r.c: Include toplev.h.
8941         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
8942         (gen_compare): Rename swap_p to must_swap to match uses.
8943         Add default abort case.
8944         (m32r_output_function_epilogue): Remove unused variables.
8945         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
8946         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
8947         define to empty parameter list.  Update all uses.
8948         (predicate decls): Use enum machine_mode not int.
8949         * m32r.md (movsi): Call abort, not fatal_insn.
8950         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
8951
8952 1999-09-14  Andrew Haley  <aph@cygnus.com>
8953
8954         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
8955         use $0 instead of 0.
8956
8957 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8958
8959         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
8960         computation out of loop over hard regs.
8961
8962 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
8963
8964         * function.c (identify_blocks): Don't shadow a variable in an 
8965         outer scope.
8966         * integrate.c (integrate_decl_tree): Don't use pushlevel,
8967         pushdecl, or poplevel to build up the new BLOCK tree.
8968         (expand_inline_function): Likewise.
8969         (integrate_parm_decls): Likewise.
8970
8971 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
8972
8973         * c-typeck.c (qualify_type): Merge qualifiers from both types.
8974
8975 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
8976
8977         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
8978         * invoke.texi: Document this change.
8979
8980 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
8981
8982         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
8983         Free the struct.
8984         (mark_emit_status): Renamed from mark_emit_state.
8985         * except.c (mark_eh_status): Renamed from mark_eh_state.
8986         Check not null before marking.
8987         (free_eh_status): New.
8988         * expr.c (mark_expr_status, free_expr_status): New.
8989         * function.c (free_machine_status): New.
8990         (free_after_parsing): New.
8991         (free_after_compilation): Move bits to free_after_parsing; call
8992         free_eh_status, free_expr_status; zero the marked members of the
8993         function state.
8994         (prepare_function_start): No can_garbage_collect. 
8995         Call init_eh_for_function.
8996         (expand_dummy_function_end): Free up current_function state.
8997         (mark_function_status): Renamed from mark_function_state.
8998         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
8999         * function.h (struct function): No can_garbage_collect.
9000         (free_machine_status, free_after_parsing): Declare.
9001         (free_eh_status, free_expr_status): Declare.
9002         * ggc.h (mark_expr_status): Declare.
9003         * stmt.c (free_stmt_status): Free the struct.
9004         (mark_stmt_status): Renamed from mark_stmt_state.
9005         (init_stmt): Don't call init_eh.
9006         (init_stmt_for_function): Don't call init_eh_for_function.
9007         * toplev.c (compile_file): Call init_eh.
9008         (rest_of_compilation): Free basic block info before ggc_collect.
9009         Call free_after_parsing; conditionally call free_after_compilation.
9010         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
9011         Check not null before marking.
9012         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
9013
9014 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
9015
9016         * c-lex.c (yylex): Initialize warn.
9017
9018 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
9019
9020         * pa.c (emit_move_sequence): Properly set the mode of the scratch
9021         register when performing secondary reloads for the SAR register.
9022
9023 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
9024
9025         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
9026         (NOTE_BLOCK): New macro.
9027         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
9028         * function.h (identify_blocks): Change prototype.
9029         * function.c (identify_blocks): Simplify.
9030         (reorder_blocks): Likewise.
9031         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a 
9032         NOTE_INSN_BLOCK_{BEG,END}.
9033         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
9034         the list of saved notes if the note isn't a
9035         NOTE_INSN_BLOCK_{BEG,END}.
9036         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
9037         NOTE_BLOCK_NUMBER.
9038         (reemit_notes): Adjust recreation of notes to reflect new saved
9039         note structure.
9040         * print-rtl.c (print_rtx): Print the address of the BLOCK when
9041         printing a block note.
9042         * stmt.c (block_vector): Remove.
9043         (find_loop_tree_blocks): Simplify.
9044         (unroll_block_trees): Likewise.
9045         * tree.h (reorder_block): Change prototype.
9046         
9047 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
9048
9049         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
9050         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
9051         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
9052         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
9053         (atexit, exit): Simplify.
9054         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
9055         * config/lots: Remove defns of HAVE_ATEXIT.
9056
9057 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
9058
9059         * calls.c (precompute_arguments): Fix typo in comment.
9060         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
9061         TARGET_EXPR.
9062
9063 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
9064
9065         * dsp16xx.c (override_options): Fix typos in GC root registration.
9066
9067 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
9068
9069         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
9070         from config/svr4.h.
9071         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
9072         (FUNCTION_PROFILER): Redefine appropriately for Linux.
9073         (CC1_SPEC): Likewise.
9074
9075 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9076
9077         * genattr.c (main): Add extern prototype.  Call return, not exit.
9078         * genattrtab.c (main): Likewise.
9079         * gencheck.c (main): Likewise.
9080         * gencodes.c (main): Likewise.
9081         * genconfig.c (main): Likewise.
9082         * genemit.c (main): Likewise.
9083         * genextract.c (main): Likewise.
9084         * genflags.c (main): Likewise.
9085         * gengenrtl.c (main): Likewise.
9086         * genopinit.c (main): Likewise.
9087         * genoutput.c (main): Likewise.
9088         * genpeep.c (main): Likewise.
9089         * genrecog.c (main): Likewise.
9090         
9091         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
9092         * genattrtab.c (get_insn_name): Likewise.
9093         * gencodes.c (get_insn_name): Likewise.
9094         * genconfig.c (get_insn_name): Likewise.
9095         * genemit.c (get_insn_name): Likewise.
9096         * genextract.c (get_insn_name): Likewise.
9097         * genflags.c (get_insn_name): Likewise.
9098         * genopinit.c (get_insn_name): Likewise.
9099         * genpeep.c (get_insn_name): Likewise.
9100         
9101         * gencheck.c (usage): Add static prototype.
9102         * genextract.c (print_path): Constify a char*.
9103         * genopinit.c (optabs): Likewise.
9104         * genoutput.c (operand_data, data, output_predicate_decls,
9105         compare_operands): Likewise.
9106         * genrecog.c (write_tree): Add default case in switch.
9107
9108 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9109
9110         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
9111
9112         * print-rtl.c (get_insn_name): Remove prototype.
9113
9114         * toplev.h (progname): Declare const.
9115
9116         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
9117         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
9118         dump_sched_info, dump_local_alloc, regset_release_memory,
9119         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
9120         error_with_file_and_line, error_with_decl, error_for_asm, error,
9121         fatal, warning_with_file_and_line, warning_with_decl, warning,
9122         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
9123         Remove redundant prototypes.
9124
9125         (notice, check_lang_option, report_file_and_line, vnotice,
9126         mark_file_stack): Add static prototype.
9127         (set_fatal_function): Add prototype.
9128         (vnotice, report_file_and_line, set_fatal_function,
9129         check_lang_option): Constify a char*.
9130         (main): Prototype.  Call return, not exit.
9131
9132 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9133
9134         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
9135
9136         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
9137
9138         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
9139
9140         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
9141
9142 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9143
9144         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
9145         behave as if it's zero in all cases.
9146         (expand_function_start): Adjust call to assign_parms.
9147         * tree.h (assign_parms): Adjust prototype.
9148         * objc/objc-act.c (hack_method_prototype): Adjust call to
9149         assign_parms.
9150
9151 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
9152
9153         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
9154         arg_pointer_rtx fixed if the argument pointer register is
9155         not fixed.
9156         (NONZERO_BASE_PLUS_P): Likewise.
9157
9158 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
9159
9160         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
9161         match_insn2 to match_insn.
9162         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
9163
9164 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
9165
9166         * Makefile.in (USER_H): Remove va-foo.h.
9167
9168         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
9169         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
9170         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
9171         va-spur.h,va-v850.h}: Remove.
9172
9173 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
9174
9175         * sparc/sparc.md (eligible_for_return_delay): New attribute.
9176         (in_return_delay): Use it instead of match_insn.
9177
9178 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9179
9180         * config/alpha/va_list.h (va-alpha.h): Do not include.
9181         (__gnuc_va_list): Typedef as in varargs.h.
9182
9183 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
9184
9185         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
9186         DECL_LIVE_RANGE_RTL.
9187
9188 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
9189
9190         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
9191         not NOTE_BLOCK_NUMBER.
9192         (expand_eh_region_end): Likewise.
9193         (find_exception_handler_labels): Likewise.
9194         (scan_region): Likewise.
9195         (exception_optimize): Likewise.
9196         (update_rethrow_references): Likewise.
9197         (set_insn_eh_region): Likewise.
9198         * final.c (final_scan_insn): Likewise.
9199         * flow.c (make_edges): Likewise.
9200         * integrate.c (expand_inline_function): Likewise.
9201         * print-rtl.c (print_rtx): Likewise.
9202
9203 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
9204
9205         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
9206         terms of builtin functions and types.
9207
9208         * mips.c (mips_build_va_list): New.
9209         (mips_va_start, mips_va_arg): New.
9210         * mips.h (BUILD_VA_LIST_TYPE): New.
9211         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9212
9213         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
9214         (sh_build_va_list, sh_va_start, sh_va_arg): New.
9215         * sh.h (BUILD_VA_LIST_TYPE): New.
9216         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9217
9218 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
9219
9220         * recog.h (struct recog_data): Make dup_num, operand_address_p,
9221         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
9222         (struct insn_data): Likewise with n_operands, n_dups, 
9223         n_alternatives, output_format.
9224         * regclass.c (scan_one_insn): Cast n_operands to int before
9225         arithmetic inside comparison.
9226
9227 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
9228
9229         * toplev.c (compile_function): Unconditionally emit nop.
9230
9231 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9232
9233         * haifa-sched.c (actual_hazard): Move declaration of variable
9234         `this_cost' into the scope where it is used.
9235
9236 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9237
9238         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
9239         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
9240         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
9241
9242         * genrecog.c (make_insn_sequence): Call memset, not bzero.
9243
9244         * jump.c (find_insert_position): Don't declare or define unless
9245         !HAVE_conditional_arithmetic.
9246         (returnjump_p_1, delete_prior_computation): Add static prototypes.
9247
9248         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
9249         
9250         * recog.c (offsettable_address_p): Prototype function pointer.
9251         (preprocess_constraints): Call memset, not bzero.
9252         
9253         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
9254         (gcc_obstack_init): Don't declare.
9255         (fix_sizetype): Add static prototype.
9256         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
9257         (tree_cons): Call memset, not bzero.
9258
9259         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
9260         definition in macro ASM_WEAKEN_LABEL.
9261         (mark_const_hash_entry): Add static prototype.
9262
9263 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9264
9265         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
9266
9267         * unroll.c (find_common_reg_term, subtract_reg_term,
9268         loop_find_equiv_value): Add static prototypes.
9269         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
9270         (copy_loop_body): Remove unreachable break statement.
9271         
9272         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
9273
9274         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
9275         
9276 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9277
9278         Undo some changes from the gcc2 merge:
9279         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
9280         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
9281         pointers.
9282
9283         Undo this change:
9284         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
9285         * emit-rtl.c (gen_lowpart_common): Disable optimization of
9286         initialized float-int union if the value is a NaN.
9287
9288 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9289
9290         * gthr-win32.h: New file.
9291
9292         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
9293         shared as a valid attribute.
9294         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
9295         * extend.texi: Document `shared' variable attribute.
9296
9297 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
9298
9299         * configure.in: Handle --enable-threads on FreeBSD.
9300         * configure: Rebuit.
9301
9302 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9303
9304         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add 
9305         thread support.
9306         * configure: Rebuilt.
9307
9308 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
9309                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
9310                           Rosimildo DaSilva <rdasilva@connecttel.com>
9311
9312         * configure.in (m68k-*-rtemscoff*): Added.
9313         * configure.in (mips64orion-*-rtems*): Converted to ELF.
9314         * configure.in (sparc-*-rtemsaout*): Added as alias for old
9315         sparc-rtems configuration.
9316         * configure.in (sparc-*-rtemself*): Added.
9317         * configure.in (sparc-*-rtems*): Now ELF not a.out.
9318         * config/i386/rtems.h: Added comment.
9319         * config/sparc/rtemself.h: New file.
9320
9321         * configure.in (m68k-rtemself): Added.
9322         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
9323         and DWARF_DEBUGGING_INFO.
9324         * config/m68k/crti.s: New file.
9325         * config/m68k/crtn.s: New file.
9326         * config/m68k/t-crtstuff: New file.
9327         * config/m68k/rtemself.h: New file.
9328
9329         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
9330         global ctor/dtor and C++ exception handling.
9331         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
9332         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
9333         ENDFILE_SPEC.
9334         * config/i386/t-rtems-i386: New File.
9335
9336 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
9337
9338         * stmt.c (expand_end_case): Return right away if the case stack is
9339         empty.
9340
9341 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
9342
9343         * Makefile.in (version.c): Remove rule incorrectly brought in from
9344         the gcc2 merge.
9345
9346 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
9347
9348         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
9349         * msdos/top.sed:  Take into account a prepended $(SHELL) to
9350         move-if-change.
9351         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
9352
9353         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
9354
9355 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9356
9357         * regmove.c (fixup_match_1): Don't change an unchanging register.
9358         (stable_but_for_p): Renamed to:
9359         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
9360         Changed all callers.
9361
9362 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
9363
9364         * loop.c (strength_reduce): Don't call reg_used_between_p if the
9365         insn from BL2 is after the insn from BL.
9366
9367 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
9368
9369         * recog.h (INSN_OUTPUT_FORMAT_*): New.
9370         (struct insn_data): Merge `template' and `outfun' into `output'.
9371         Add `output_format'.
9372         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
9373         (struct data): Remove `outfun'; add `output_format'.
9374         (name_for_index): Remove declaration.
9375         (output_insn_data): Handle output formats.
9376         (process_template): Emit the bare array for @.
9377         (gen_expand, gen_split): Set output_format to NONE.
9378         * output.h (get_insn_template): Declare.
9379         * final.c (get_insn_template): New.
9380         (final_scan_insn): Use it.
9381         * toplev.c (compile_file): Likewise.
9382
9383         * c4x/c4x.c (c4x_process_after_reload): Likewise.
9384         * i860/i860.c (output_delayed_branch): Likewise.
9385         (output_delay_insn): Likewise.
9386
9387 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9388
9389         * rtl.c (obstack_alloc_rtx): Removed.
9390
9391 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
9392
9393         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
9394
9395 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
9396
9397         * i386.c (call_insn_operand): Reject const_int.
9398         (expander_call_insn_operand): Use call_insn_operand.
9399
9400 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9401
9402         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
9403
9404 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
9405
9406         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
9407         Use DImode operation.
9408
9409 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
9410
9411         * gcc.c: Include sys/resource.h.
9412         (report_times): New flag.
9413         (execute):  If report_times is set, calculate and report the
9414         CPU time consumed by each subprocess.
9415
9416         (rus, prus): New globals.
9417         (option_map): Add --time.
9418         (display_help): Document -time.
9419         (process_command): Set report_times if -time is given.
9420         Turn off -pipe if -time is given.
9421
9422         * invoke.texi: Document new option -time.
9423
9424         * configure.in: Check for getrusage.  Check if we have to
9425         prototype getrusage.
9426         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
9427         * configure: Regenerate.
9428         * config.in: Regenerate.
9429
9430 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
9431
9432         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
9433         fields.
9434
9435 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
9436
9437         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
9438         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
9439         (nan): Return _thenan_sf or _thenan_df as appropriate.
9440         (L_thenan_sf): Define _thenan_sf.
9441         (L_thenan_df): Define _thenan_df.
9442
9443         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
9444         (DPBIT_FUNCS): Add _thenan_df.
9445
9446 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
9447
9448         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
9449         TYPE_SIZE_UNIT.
9450
9451 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9452
9453         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
9454
9455         * gcc.h: New file.
9456         (lang_specific_driver): Don't take a function pointer parameter.
9457         All callers changed.
9458
9459         * gcc.c: Include gcc.h.
9460         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
9461         lang_specific_extra_outfiles, fatal): Don't declare.
9462         (multilib_defaults_raw): Constify.
9463         (read_specs): Call memset, rather than bzero.
9464         (main): Call return, not exit.
9465         (lookup_compiler): Call memcpy, not bcopy.
9466         (fatal): Make extern.
9467
9468         * cppspec.c: Include gcc.h.
9469         (lang_specific_driver): Initialize variable `quote'.  Constify a
9470         char*.  All calls to the function pointer parameter now
9471         explicitly call `fatal'.
9472
9473         * gccspec.c (lang_specific_driver): Include gcc.h.
9474
9475 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
9476
9477         * arm.c (note_invalid_constants): Use recog_data.operand_type
9478         for recog_op_type.
9479
9480 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9481
9482         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
9483         Declare.
9484
9485         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
9486         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9487         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9488         reload_secondary_in_reload, reload_secondary_out_reload,
9489         reload_secondary_in_icode, reload_secondary_out_icode,
9490         reload_reg_rtx, reload_when_needed): Delete declarations.
9491         (struct reload): New structure.
9492         (rld): Declare new array.
9493         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
9494         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9495         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9496         reload_secondary_in_reload, reload_secondary_out_reload,
9497         reload_secondary_in_icode, reload_secondary_out_icode,
9498         reload_reg_rtx, reload_when_needed): Delete definitions.
9499         (rld): New array.
9500         (whole file): Replace uses of the deleted arrays with uses of rld.
9501         * reload1.c (whole file): Replace uses of the deleted arrays with
9502         uses of rld.
9503         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
9504         explicit loops, not with bcopy.
9505
9506 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
9507
9508         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
9509         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
9510         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
9511         insn_name): Delete and consolidate into new structures.
9512         (insn_operand_predicate_fn): New.
9513         (insn_output_fn): New.
9514         (insn_gen_fn): New.
9515         (struct insn_operand_data): New.
9516         (struct insn_data): New.
9517         (insn_data): New.
9518         (OUT_FCN): Update for insn_data change.
9519         * builtins.c (expand_builtin_strlen): Likewise.
9520         (expand_builtin_memcmp): Likewise.
9521         * combine.c (make_extraction, simplify_comparison): Likewise.
9522         * cse.c (canon_reg, cse_insn): Likewise.
9523         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
9524         * expmed.c (store_bit_field, extract_bit_field): Likewise.
9525         (emit_store_flag): Likewise.
9526         * expr.c (convert_move, emit_block_move): Likewise.
9527         (clear_storage, emit_push_insn, expand_increment): Likewise.
9528         (do_store_flag): Likewise.
9529         * expr.h (GEN_FCN): Likewise.
9530         (insn_gen_function): Die.
9531         * final.c (final_scan_insn): Update for insn_data change.
9532         (output_asm_name): Likewise.
9533         * function.c (fixup_var_refs_1): Likewise.
9534         * loop.c (check_dbra_loop): Likewise.
9535         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
9536         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
9537         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
9538         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
9539         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
9540         * regmove.c (gen_add3_insn): Likewise.
9541         * reload.c (push_secondary_reload, combine_reloads): Likewise.
9542         (find_reloads, find_reloads_address_1): Likewise.
9543         (debug_reload_to_stream): Likewise.
9544         * reload1.c (emit_reload_insns, gen_reload): Likewise.
9545         * stmt.c (expand_end_case): Likewise.
9546         * toplev.c (compile_file): Likewise.
9547
9548         * c4x/c4x.c (c4x_process_after_reload): Likewise.
9549         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9550
9551         * print-rtl.c (insn_name_ptr): Remove declaration.
9552         (get_insn_name): Declare.
9553         (print_rtx): Use it.
9554         * genoutput.c (insn_name_ptr): Remove.
9555         (next_operand_number): New.
9556         (struct operand_data): New.
9557         (null_operand, odata, odata_end): New.
9558         (struct data): Use struct operand_data.
9559         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
9560         (get_insn_name): Renamed from name_for_index.
9561         (output_prologue): Define NO_MD_PROTOTYPES.
9562         (output_predicate_decls): Break out from output_epilogue.
9563         Iterate over the operands list.
9564         (output_operand_data): Break out from output_epilogue.  Emit
9565         just the operands list.
9566         (output_insn_data): Break out from output_epilogue.  Emit just
9567         the insn data.
9568         (output_epilogue): Remove.
9569         (output_get_insn_name): New.
9570         (constraints, op_n_alternatives, predicates, address_p): Die.
9571         (modes, strict_low, seen): Die.
9572         (scan_operands): Take new param `d' instead of writing to 
9573         seven global variables.
9574         (compare_operands): New.
9575         (place_operands): New.
9576         (validate_insn_alternatives): Update for struct data change.
9577         (gen_insn): Don't zero or copy 7 global arrays.  Update for
9578         scan_operands; call place_operands.
9579         (gen_peephole, gen_expand, gen_split): Likewise.
9580         (main): Update for new output routines.
9581
9582         * genattr.c (insn_name_ptr): Remove.
9583         (get_insn_name): New function.
9584         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
9585         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
9586         * genrecog.c: Likewise.
9587
9588         * alpha.md (adddi3): Make `pattern' array static.
9589
9590 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9591
9592         * config/c4x/c4x.h (c4x_rpts_cycles_string,
9593         c4x_cpu_version_string): Constify char *.
9594         * config/c4x/c4x.c (c4x_rpts_cycles_string,
9595         c4x_cpu_version_string): Likewise.
9596
9597 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
9598
9599         * tree.c (save_tree_status): Revert 10 Sep change.
9600         (restore_tree_status): Likewise.  Call obstack_free with NULL 
9601         before freeing the obstack proper.
9602
9603 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
9604
9605         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
9606
9607         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
9608         surrounding context.
9609
9610 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
9611
9612         * tree.c (type_hash_canon): Put all types in the hash-table, when
9613         GC'ing.
9614
9615 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
9616
9617         * recog.h (struct recog_data, recog_data): New.
9618         (recog_foo variables): Kill.
9619         * recog.c (recog_operand, recog_operand_loc): Kill.
9620         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
9621         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
9622         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
9623         (recog_data): Define.
9624         (extract_insn): Update all recog_foo references to use recog_data.
9625         (preprocess_constraints, constrain_operands): Likewise.
9626         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
9627         * genattrtab.c (main): Likewise.
9628         * genextract.c (main): Likewise.
9629         * genoutput.c: Likewise.
9630         * genrecog.c (write_subroutine, main): Likewise.
9631         * local-alloc.c (block_alloc): Likewise.
9632         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
9633         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
9634         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
9635         * reload.c (find_reloads, find_reloads_toplev): Likewise.
9636         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
9637         (reload_cse_simplify_operands): Likewise.
9638
9639         * arc/arc.c (arc_final_prescan_insn): Likewise.
9640         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
9641         * h8300/h8300.c (notice_update_cc): Likewise.
9642         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
9643         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9644         * mn10200/mn10200.c (notice_update_cc): Likewise.
9645         * mn10300/mn10300.c (notice_update_cc): Likewise.
9646         * romp/romp.c (update_cc): Likewise.
9647         * sparc/sparc.c (check_pic): Likewise.
9648         * v850/v850.c (notice_update_cc): Likewise.
9649
9650         * genemit.c (main): Don't declare recog_operand.
9651
9652 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
9653
9654         * ggc.h (rtvec_def): Forward declare.
9655         (tree_node): Likewise.
9656         (ggc_root): Define.
9657         (roots): Declare.
9658         (ggc_set_mark_rtx): Add prototype.
9659         (ggc_set_mark_rtvec): Likewise.
9660         (ggc_set_mark_tree): Likewise.
9661         * ggc-simple.c (ggc_root): Don't define.
9662         (roots): Don't declare.
9663         (ggc_mark_rtx): Remove.
9664         (ggc_mark_rtvec): Likewise.
9665         (ggc_mark_tree): Likewise.
9666         (ggc_mark_varray): Likewise.
9667         (ggc_mark_tree_hash_table_entry): Likewise.
9668         (ggc_mark_tree_hash_table): Likewise.
9669         (ggc_set_mart_rtx): New function.
9670         (ggc_set_mark_rtvec): Likewise.
9671         (ggc_set_mark_tree): Likewise.
9672         (ggc_add_root): Remove.
9673         (ggc_add_rtx_root): Likewise.
9674         (ggc_remove_tree_root): Likewise.
9675         (ggc_add_string_root): Likewise.
9676         (ggc_add_tree_varray_root): Likewise.
9677         (ggc_add_tree_hash_table_root): Likewise.
9678         (ggc_del_root): Likewise.
9679         (ggc_mark_rtx_ptr): Likewise.
9680         (ggc_mark_tree_ptr): Likewise.
9681         (ggc_mark_string_ptr): Likewise.
9682         (ggc_mark_tree_varray_ptr): Likewise.
9683         (ggc_mark_tree_hash_table_ptr): Likewise.
9684         * ggc-common.c: New file.
9685         * Makefile.in (OBJS): Add ggc-common.o.
9686         (ggc-common.o): List dependencies.
9687
9688 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
9689
9690         * cppalloc.c (xstrdup): Use memcpy.
9691         * cpperror.c (cpp_print_containing_files): Don't use
9692         cpp_notice.
9693         * cpplib.c (conditional_skip): Set temp->lineno.
9694         (do_endif): Make error message less obscure.
9695         (if_directive_name): New function.
9696         (cpp_get_token [case EOF]): Unwind the if stack and generate
9697         error messages for each unterminated conditional in this file.
9698         (parse_string):  Do not behave differently if -traditional.
9699
9700 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
9701
9702         * builtins.c (expand_builtin_va_arg): Cope with an array-type
9703         va_list decomposing to pointer-type.
9704         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
9705         (rs6000_va_arg): Likewise.
9706
9707 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
9708
9709         * except.c (start_dynamic_handler): Compute size using
9710         STACK_SAVEAREA_MODE.
9711
9712 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9713
9714         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
9715         include directory headers.  Don't define strrchr.  Don't provide
9716         my_* replacement functions.  Prefer PTR over `pointer_type'.
9717         Don't prototype system functions.  Don't redefine getopt.
9718
9719         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
9720         safe_read, safe_write, save_pointers, restore_pointers,
9721         is_id_char, in_system_include_dir, directory_specified_p,
9722         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
9723         find_corresponding_lparen, referenced_file_is_newer,
9724         save_def_or_dec, munge_compile_params, gen_aux_info_file,
9725         process_aux_info_file, identify_lineno, check_source,
9726         seek_to_line, forward_to_next_token_char, output_bytes,
9727         output_string, output_up_to, other_variable_style_function,
9728         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
9729         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
9730         find_static_definition, connect_defs_and_decs, add_local_decl,
9731         add_global_decls, needs_to_be_converted, visit_each_hash_node,
9732         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
9733         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
9734         scan_for_missed_items, edit_file, string_list_cons): Add static
9735         prototypes.
9736         (standard_exec_prefix, target_machine, target_version,
9737         default_syscalls_dir, string_list, string_list_cons, find_file,
9738         do_cleaning): Constify a char*.
9739         (safe_read, safe_write): Use PTR, not a char*.
9740         (is_id_char): Take an int, not a char.
9741         (main): Add prototype.  Call return, not exit.
9742
9743 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
9744
9745         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
9746         when comparing types.
9747
9748 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
9749
9750         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
9751         (strength_reduce): Release the varrays from the no-bivs early exit.
9752
9753         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
9754         the loop over the registers.
9755
9756         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
9757         for a new obstack.
9758         (restore_tree_status): Check that instead when freeing the obstack.
9759
9760 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
9761
9762         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
9763         as pointers.
9764
9765 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9766
9767         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
9768         operand size modifiers.
9769
9770 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9771
9772         * c-common.c (c_common_nodes_and_builtins): Don't build
9773         va_list_type_node.
9774         * c-common.h (enum c_tree_index and related accesor macros): Remove
9775         everything now declared in tree.h.
9776         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9777         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
9778         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
9779         (error_mark_node, void_type_node, char_type_node, integer_type_node,
9780         unsigned_type_node, ptr_type_node, va_list_type_node,
9781         integer_zero_node, null_pointer_node, integer_one_node): Delete.
9782         (init_decl_processing): Call build_common_tree_nodes and
9783         build_common_tree_nodes_2 instead of building their nodes here.
9784         Don't add roots for these nodes.
9785         * stor-layout.c (size_zero_node, size_one_node): Delete.
9786         (set_sizetype): Make a new node for bitsizetype each time.
9787         * tree.c (global_trees): New variable.
9788         (init_obstacks): Add a gc root for it.
9789         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9790         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
9791         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
9792         (build_common_tree_nodes): New function.
9793         (fix_sizetype): New function.
9794         (build_common_tree_nodes_2): New function.
9795         * tree.h (enum tree_index): New.
9796         (global_trees): Declare.
9797         Add accessor macros for all nodes now moved to global_trees.
9798         Delete their declarations.
9799
9800 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
9801
9802         * c-decl.c (finish_function): When processing a nested function,
9803         push and pop GC context around rest_of_compilation.
9804
9805 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
9806
9807         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
9808         Default ix86_arch to PROCESSOR_I386.
9809         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
9810         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
9811         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
9812         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
9813         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
9814         (EXTRA_SPECS): Remove deleted specs.
9815
9816 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
9817
9818         * function.c (assign_stack_local_1): Allocate from
9819         function->x_frame_offset, not frame_offset.
9820
9821 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
9822
9823         * ggc.h (lang_cleanup_tree): Remove.
9824         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
9825         * ggc-callbacks.c (lang_cleanup_tree): Remove.
9826
9827         * c-decl.c (finish_struct): Use ggc_alloc to allocate
9828         TYPE_LANG_SPECIFIC when garbage collecting.
9829         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
9830         (lang_cleanup_tree): Remove.
9831
9832 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
9833
9834         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
9835         * crtstuff.c: Not here.
9836         * dwarf2out.c: Or here.
9837         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
9838         info.
9839
9840 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
9841
9842         * function.h (free_after_compilation): Remove decl parameter.
9843         (free_varasm_status0: Likewise.
9844         (free_emit_status): Likewise.
9845         (free_stmt_status): Likewise.
9846         (free_after_compilation): Likewise.
9847         (init_lang_status): New variable.
9848         (free_lang_status): Likewise.
9849         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
9850         * function.c (init_lang_status): New variable.
9851         (free_lang_status): Likewise.
9852         (push_function_context_to): Don't set function::decl here.
9853         (free_after_copmilation): Make decl parameter implicit.  Call
9854         free_lang_status if defined.
9855         (prepare_function_start): Call init_lang_status if defined.
9856         (init_function_start): Set function::decl here.
9857         * profile.c (output_func_start_profiler): Don't call pushdecl
9858         until we've actually started the function.
9859         * stmt.c (free_stmt_status): Make decl parameter implicit.
9860         * toplev.c (rest_of_compilation): Don't pass decl to
9861         free_after_compilation.
9862         * varasm.c (free_varasm_status): Likewise.
9863
9864 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9865
9866         * except.c (call_get_eh_context): Add root when allocating static
9867         tree variable.
9868
9869 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
9870
9871         * arm.c: Include "ggc.h".
9872         (arm_add_gc_roots): New function.
9873         (arm_override_options): Call it.
9874         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
9875
9876         * arm.md (define_asm_attributes): Add a pool_range attribute.
9877
9878 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
9879
9880         * extend.texi (Volatiles): New node.
9881
9882 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
9883
9884         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
9885         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
9886         (struct ggc_any): Replace `mark' with `magic_mark'.
9887         (ggc_alloc_string): Use memcpy, not bcopy.
9888         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
9889         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
9890         (ggc_free_any): New.
9891         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
9892         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
9893         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
9894         Use IS_MARKED. Use ggc_free_any.
9895
9896 1999-09-09  Scott Bambrough <scottb@netwinder.org>
9897
9898         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
9899
9900 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
9901
9902         * toplev.c (main): Always init_ggc.
9903
9904 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
9905
9906         * except.c (find_all_handler_type_matches): Free the list if
9907         we found no matches.
9908
9909         * combine.c (SUBST): Break out to a real function do_SUBST.
9910         (SUBST_INT): Likewise.
9911         * gcse.c (free_pre_mem): Free `temp_bitmap'.
9912         (pre_insert): Free `inserted'.
9913         * loop.c (basic_induction_var): Always set `location'.
9914
9915         * function.c (expand_function_end): Add initial_trampoline as a root.
9916         * rtl.h (init_varasm_once): Declare.
9917         * toplev.c (compile_file): Call it.
9918         * ggc-simple.c (ggc_mark_string_ptr): New.
9919         (ggc_add_string_root): New.
9920         (ggc_collect): Disable collection avoidance temporarily.
9921         * ggc.h (ggc_add_string_root): Declare.
9922         * except.c (create_rethrow_ref): Use ggc_alloc_string.
9923         * optabs.c (init_libfuncs): Likewise.
9924         * varasm.c (named_section): Use ggc_alloc_string.
9925         (make_function_rtl): Likewise.
9926         (make_decl_rtl): Likewise.
9927         (assemble_static_space): Likewise.
9928         (assemble_trampoline_template): Likewise.
9929         (output_constant_def): Likewise.
9930         (force_const_mem): Likewise.
9931         (mark_const_hash_entry): New.
9932         (mark_pool_sym_hash_table): New.
9933         (mark_varasm_state): Use it.
9934         (init_varasm_once): New.
9935
9936         * expr.h (init_one_libfunc): Declare.
9937         * optabs.c (init_one_libfunc): New.
9938         (init_optabs): Use it.
9939         * config/gofast.h: Likewise.
9940         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
9941         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
9942
9943 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9944
9945         * Makefile.in (cppexp.o): Depend on cpphash.h.
9946         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
9947         Include cpphash.h.
9948         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
9949         * cpplib.c (do_define): Generalise to handle poisoned definitions,
9950         redefining poisoned identifiers, etc.
9951         (do_undef): Don't allow poisoned identifiers to be undefined.
9952         (do_pragma): Add #pragma poison.
9953         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9954
9955         * cccp.c: Add T_POISON node type.
9956         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
9957         poisoned xxx.
9958         (do_define): Generalise to handle poisoned definitions,
9959         redefining poisoned identifiers, etc.
9960         (do_undef): Don't allow poisoned identifiers to be undefined.
9961         (do_pragma): Add #pragma poison.
9962         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9963
9964         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
9965         * c-pragma.h: Add ps_poison state.  We now always have generic
9966         pragmas.
9967
9968 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
9969
9970         * ggc.h (ggc_alloc): New function.
9971         (ggc_mark): Likewise.
9972         * ggc-simple.c (ggc_any): New structure.
9973         (ggc_status): Add anys.
9974         (n_anys_collected): New variable.
9975         (ggc_alloc): Define.
9976         (ggc_mark): Likewise.
9977         (ggc_collect): Collect the anys.
9978
9979 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9980
9981         * c-decl.c (mark_binding_level): Make static to match prototype.
9982
9983 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
9984
9985         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
9986
9987 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
9988
9989         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
9990         will use into account.  Expand the max width to 5.
9991         * rtl.c: Likewise.
9992
9993 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
9994
9995         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
9996         for the rtx length.
9997
9998 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
9999
10000         * alpha.md (call value patterns): Remove the result predicates.
10001
10002 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
10003
10004         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
10005         last change.
10006
10007 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10008
10009         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
10010         changed from extern char *, to extern PTR.  Also fix typo in
10011         NEED_DECLARATION_REALLOC test.
10012
10013         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
10014
10015 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10016
10017         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
10018         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
10019         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
10020         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
10021
10022         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
10023
10024         * cccp.c (pcfinclude): Likewise.
10025
10026         * global.c (allocno_compare): Likewise.
10027
10028         * haifa-sched.c (rank_for_schedule): Likewise.
10029
10030         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
10031
10032         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
10033
10034         * stupid.c (stupid_reg_compare): Likewise.
10035
10036         * tree.c (_obstack_allocated_p): Likewise.
10037
10038         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
10039
10040 1999-09-08  Bruce Korb  autogen@linuxbox.com
10041
10042         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
10043         why "gperf -F" fails.
10044         * gcc/cp/Makefile.in: ditto
10045         * gcc/Makefile.in: ditto
10046         * gcc/java/Makefile.in: ditto
10047
10048 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
10049
10050         * lists.c: Include ggc.h.
10051         (zap_lists): New.
10052         (init_EXPR_INSN_LIST_cache): Install it.
10053
10054         * ggc-simple.c (init_ggc): Absorb the old init.
10055         (ggc_push_context): Use xcalloc.
10056         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
10057         (ggc_collect): Add [rvts] tags to the collection stats.
10058
10059 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
10060
10061         * cccp.c (main): Fix handling of -include and -imacros options.
10062
10063 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
10064
10065         * cpplib.c (cpp_push_buffer): Fix order of arguments.
10066
10067 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
10068
10069         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
10070         genrtl.c.
10071
10072 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
10073
10074         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
10075         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
10076         and SET_DEST. Update comment.
10077
10078 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10079
10080         * config/c4x/c4x.c: Include ggc.h.
10081         (c4x_add_gc_roots): New function.
10082         (c4x_override_options): Call c4x_add_gc_roots.
10083
10084 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
10085
10086         * defaults.h (TARGET_ESC): Move ...
10087         * system.h: ... here, where Linas had it in the first place.  Silly me.
10088
10089 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
10090
10091         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
10092         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
10093         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
10094         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
10095         * defaults.h (TARGET_ESC): Add default.
10096
10097 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
10098
10099         * configure.in: add i370-*-openedition, i370-*-mvs and
10100         i370-*-linux targets
10101
10102 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
10103
10104         * dsp16xxx.c: Include ggc.h
10105         (override_options): Mark GC roots.
10106         * mn10200.c: Include ggc.h.
10107         (asm_file_start): Mark GC roots.
10108         * tahoe.c: Include ggc.h.
10109         (extensible_operand): Mark GC roots.
10110
10111 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
10112
10113         * README: Add section discussing status of ELF ABI.
10114         * i370.c: Fix misc spelling mistakes.
10115         (i370_label_scan): Updated notes, exception handling.
10116         (i370_function_prolog): Simplify ELF stack handling.
10117         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
10118         (STACK_GROWS_DOWNWARD): ELF stack grows down.
10119         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
10120         * i370.md: (movdi): Add notes.
10121         (floatsidf2): Use stack not rtca for scratch float area.
10122         (iorsi3): Correct operand constraints.
10123         * x-oe: Restore TAROUTOPTS which are used by pax.
10124
10125 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
10126
10127         * rs6000.c: Include ggc.h.
10128         (rs6000_add_gc_roots): New function.
10129         (override_options): Call it.
10130
10131 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
10132
10133         * alpha.h (alpha_compare): New.
10134         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
10135         * alpha.c: Likewise for the definitions.
10136         (alpha_emit_conditional_branch): Update for alpha_compare.
10137         (alpha_emit_conditional_move): Likewise.
10138         * alpha.md (cmpdf, cmpdi): Likewise.
10139         (setcc patterns): Likewise.  Zero alpha_compare after use.
10140         (sne): Optimize (x != 0) into (0U < x).
10141
10142 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
10143
10144         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
10145         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
10146         (INIT_EXPANDERS): Remove.
10147         * alpha.c: Include ggc.h.
10148         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
10149         (alpha_init_machine_status, alpha_mark_machine_status): New.
10150         (override_options): Install them.
10151         (struct machine_function): Moved to alpha.h.
10152         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
10153         (alpha_init_expanders): Remove.
10154         (alpha_return_addr): Adjust to use current_function->machine.
10155         (alpha_ra_ever_killed): Likewise.
10156         (alpha_expand_epilogue): Likewise.
10157         * alpha.md (eh_epilogue): Likewise.
10158
10159 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
10160                           Melissa O'Neill  <oneill@cs.sfu.ca>
10161                           Geoffrey Keating  <geoffk@cygnus.com>
10162
10163         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
10164         call-used registers (call-saved registers must still be contiguous
10165         and end with r31, of course).
10166
10167 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
10168
10169         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
10170         (self_promoting_type_p): Delete.
10171         (self_promoting_args_p): Move ...
10172         * c-common.c: ... here.
10173         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
10174         (simple_type_promotes_to): New.
10175         * builtins.c (lang_type_promotes_to): New.
10176         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
10177         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
10178         * c-common.h: ... here.
10179         (self_promoting_args_p, simple_type_promotes_to): Declare.
10180         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
10181         (grokdeclarator): Likewise.
10182         * tree.h (lang_type_promotes_to): Declare.
10183
10184 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
10185
10186         Add some machine-dependent GC roots.
10187         * sparc.c: Include ggc.h.
10188         (sparc_add_gc_roots): New function.
10189         (mark_ultrasparc_pipeline_state): Likewise.
10190         (override_options): Call sparc_add_gc_roots.
10191         * pa.c: Include ggc.h.
10192         (pa_add_gc_roots): New function.
10193         (mark_deferred_plabels): Likewise.
10194         (override_options): Call pa_add_gc_roots.
10195         * mips.c: Include ggc.h.
10196         (mips_add_gc_roots): New function.
10197         (override_options): Use it.
10198
10199 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10200
10201         * cpperror.c (cpp_file_line_for_message): Constify a char*.
10202
10203         * cppexp.c (parse_number, parse_charconst, cpp_lex,
10204         cpp_parse_expr): Add static prototypes.
10205         (parse_charconst): Don't cast away const-ness.
10206         (token): Constify a char*.
10207
10208         * cppfiles.c (file_name_list, include_hash, find_include_file,
10209         finclude, initialize_input_buffer): Constify a char*.
10210         (file_cleanup, find_position): Add static prototypes.
10211
10212         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
10213         collect_expansion): Add static prototypes.
10214         (cpp_install, create_definition, monthnames): Constify a char*.
10215
10216         * cpphash.h (cpp_install): Likewise.
10217
10218         * cppinit.c (known_suffixes, default_include,
10219         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
10220         (base_name, dump_special_to_buffer, initialize_dependency_output):
10221         Add static prototypes.
10222
10223         * cpplib.c (my_strerror): Constify a char*.
10224         (null_underflow, null_cleanup, skip_comment, copy_comment,
10225         copy_rest_of_line, handle_directive, pass_thru_directive,
10226         get_directive_token, read_line_number, cpp_print_file_and_line,
10227         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
10228         v_cpp_warning_with_line, detect_if_not_defined,
10229         consider_directive_while_skipping): Add static prototypes.
10230         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
10231         cpp_pedwarn_with_file_and_line): Constify a char*.
10232
10233         * cpplib.h (cpp_options, include_hash, progname, definition,
10234         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
10235         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
10236         find_include_file, deps_output, include_hash): Constify a char*.
10237
10238         * cppmain.c (progname): Constify.
10239         (main): Add prototype.  Use return, not exit.
10240
10241         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
10242         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
10243         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
10244         check_protection): Add static prototype.
10245         (xfree): Remove.
10246         (progname, recognized_macrom, recognized_extern): Constify a char*.
10247         (main): Add prototype.
10248
10249         * gen-protos.c (progname): Constify a char*.
10250
10251 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
10252
10253         * emit-rtl.c (free_emit_status): Take decl as a parameter.
10254         (init_emit_once): Add more GC roots.
10255         * except.c (mark_func_eh_entry): New function.
10256         (mark_eh_node): Mark false_label and rethrow_label.
10257         (init_eh): Add more GC roots.
10258         * function.c (free_after_compilation): Take decl as a paramter.
10259         Call free_stmt_status.
10260         (mark_function_state): Don't assume x_parm_reg_stack_loc is
10261         non-NULL.
10262         * function.h (free_after_compilation): Change prototype.
10263         (free_varasm_status): Likewise.
10264         (free_emit_status): Likewise.
10265         (free_stmt_status): New function.
10266         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
10267         Remove, replacing with ...
10268         (ggc_status): New structure.
10269         (ggc_chain): New variable.
10270         (init_gcc): Define.
10271         (ggc_push_context): New function.
10272         (ggc_pop_context): Likewise.
10273         (ggc_alloc_rtx): Adjust for use of ggc_chain.
10274         (ggc_alloc_rtvec): Likewise.
10275         (ggc_alloc_tree): Likewise.
10276         (ggc_alloc_string): Likewise.
10277         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
10278         (ggc_mark_tree): Give language-dependent code a chance to mark
10279         `x' nodes.
10280         (ggc_mark_tree_varray): Handle empty arrays.
10281         (ggc_collect): Adjust for use of ggc_chain.  Clear
10282         bytes_alloced_since_last_gc.
10283         * ggc.h (ggc_pop_context): New function.
10284         (ggc_push_context): Likewise.
10285         * print-tree.c (print_node): Don't print obstacks when GC'ing.
10286         * stmt.c (free_stmt_status): New function.
10287         (init_stmt_for_function): Clear last_expr_value.
10288         * toplev.c (rest_of_compilation): Always call free_after_compilation.
10289         Conditionalize call to ggc_collect.
10290         (main): Call init_ggc.
10291         * tree.c (push_obstacks): Do the push, even when GC'ing.
10292         (push_obstacks_nochange): Likewise.
10293         (pop_obstacks): Liekwise.
10294         * varasm.c (free_varasm_status): Take decl as a parameter.
10295
10296 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
10297
10298         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
10299         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
10300         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
10301         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
10302
10303 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
10304
10305         * pa/x-pa-mpeix: New file for the MPE port.
10306
10307         * pa/quadlib.asm: New file for long double support.
10308
10309         * configure.in: Add hppa1.0-*-mpeix for MPE port.
10310         * configure: Rebuilt.
10311
10312 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
10313
10314         * final.c (shorten_branches): Fix last change.
10315
10316 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
10317
10318         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
10319
10320 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
10321
10322         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
10323         details.
10324
10325 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10326
10327         * c-aux-info.c (concat): Don't define.
10328
10329         * cccp.c (my_strerror): Likewise.  All callers changed to use
10330         xstrerror instead.
10331         (do_include): Call xstrdup, not xmalloc/strcpy.
10332         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
10333         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
10334
10335         * collect2.c (my_strsignal): Likewise.  All callers changed to use
10336         strsignal instead.
10337         (locatelib): Call xstrdup, not xmalloc/strcpy.
10338
10339         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
10340
10341         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
10342
10343         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
10344
10345         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
10346
10347         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
10348
10349         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
10350
10351         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
10352         malloc/realloc.
10353         (find_all_handler_type_matches): Likewise.  Don't check return
10354         value.
10355         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
10356         xmalloc, not malloc.
10357         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
10358
10359         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
10360         (init_spec): Call xcalloc, not xmalloc/bzero.
10361         (set_spec): Call xstrdup, not save_string.
10362         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
10363         (find_a_file): Call xstrdup, not xmalloc/strcpy.
10364         (process_command): Call xstrdup, not save_string.
10365         (main): Call xcalloc, not xmalloc/bzero.
10366
10367         * gcov.c (xmalloc): Don't define.
10368         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
10369         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
10370         (output_data): Call xcalloc, not xmalloc/bzero.
10371
10372         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
10373
10374         * mips-tdump.c (xmalloc): Don't define.
10375         (print_symbol): Call xmalloc, not malloc.
10376         (read_tfile): Call xcalloc, not calloc.
10377
10378         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
10379         Don't define.  All callers of xfree/my_strsignal changed to use
10380         free/strsignal instead.
10381         (allocate_cluster): Call xcalloc, not calloc.
10382
10383         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
10384         Fix memory leak, free allocated memory.
10385
10386         * prefix.c (translate_name): Call xstrdup, not save_string.
10387         (update_path): Likewise.
10388
10389         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
10390
10391         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
10392         Don't define.  Callers of xfree/savestring2 changed to use
10393         free/concat instead.
10394
10395         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
10396         (init_elim_table): Likewise.
10397
10398         * resource.c (init_resource_info): Likewise.
10399
10400         * stupid.c (stupid_life_analysis): Likewise.
10401
10402         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
10403         (open_dump_file): Call concat, not xmalloc/strcpy/...
10404         (clean_dump_file): Likewise.
10405         (compile_file): Call xstrdup, not xmalloc/strcpy.
10406
10407 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
10408
10409         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
10410         * v850.c (v850_va_arg): New.
10411
10412 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10413
10414         * haifa-sched.c: Tidy comments.
10415
10416 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10417
10418         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
10419         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
10420         $(out_object_file)): Depend on ggc.h.
10421         * c-common.c: Include "ggc.h".
10422         (combine_strings): If doing GC, use ggc_alloc_string.
10423         * c-decl.c: Include "ggc.h".
10424         (ggc_p): Define with value 0.
10425         (mark_binding_level): New function.
10426         (init_decl_processing): Add GC roots.
10427         (mark_c_function_context): New function.
10428         (lang_mark_false_label_stack): New function.
10429         (lang_mark_tree): New function.
10430         (lang_cleanup_tree): New function.
10431         * c-lang.c: Include "ggc.h".
10432         (lang_init): Call c_parse_init.
10433         * c-lex.c: Include "ggc.h".
10434         (check_linenum): If doing GC, don't copy filenames to permanent
10435         obstack.
10436         * c-parse.in: Include "ggc.h".
10437         (c_parse_init): New function.
10438         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
10439         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
10440
10441         * except.c (mark_eh_state): Mark more state.
10442         * function.c (mark_function_state): Likewise.
10443         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
10444         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
10445         * toplev.c (mark_file_stack): New function.
10446         (compile_file): If doing GC, use ggc_alloc_string on input filename.
10447         (main): Add root for input_file_stack.
10448
10449         * i386.c: Include "ggc.h".
10450         (ix86_mark_machine_status): New function.
10451         (override_options): Set mark_machine_status.
10452
10453 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10454
10455         * tree.c (copy_node): Copy node contents also if doing GC.
10456
10457 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
10458
10459         * collect2.c (scan_libraries): Fix double-thinko :-).
10460
10461 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
10462
10463         * collect2.c (scan_libraries): Fix thinko.
10464
10465         * cse.c (delete_trivially_dead_insns): Do not skip the last
10466         insn if it is a real insn.
10467
10468 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
10469
10470         * Makefile.in (ggc-simple.o): Depend on hash.h.
10471         * ggc.h (ggc_add_tree_hash_table_root): Declare.
10472         (ggc_mark_tree_varray): Likewise.
10473         (ggc_mark_tree_hash_table): Likewise.
10474         * ggc-simple.c: Include hash.h.
10475         (ggc_mark_tree_hash_table_ptr): New function.
10476         (ggc_mark_tree_hash_table_entry): Likewise.
10477         (ggc_mark_tree_hash_table): Likewise.
10478         (ggc_add_tree_hash_table_root): Likewise.
10479         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
10480         rtx, when defining fields.
10481
10482 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10483
10484         * profile.c (output_func_start_profiler): Remove apparently
10485         nonsensical call to start_sequence.
10486
10487 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
10488
10489         * clipper/clipper.c (clipper_va_start): Fix typos.
10490
10491         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
10492         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
10493         (spur_va_arg): New stub.
10494
10495         * configure.in: Comment out pyramid.
10496
10497 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
10498
10499         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
10500         don't conflict with the bits that win32, cygwin, and dgux
10501         defines.
10502
10503 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
10504                           Bernd Schmidt <bernds@cygnus.co.uk>
10505
10506         * integrate.c (function_cannot_inline_p): Do not inline
10507         functions with forced labels.
10508
10509 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
10510                           Bernd Schmidt <bernds@cygnus.co.uk>
10511                           Mark Mitchell  <mark@codesourcery.com>
10512
10513         * Makefile.in (ggc-simple.o): Depend on varray.h.
10514         (rtl.o): Depend on ggc.h.
10515         (genattrtab.o): Depend on ggc.h.
10516         (print-tree.o): Likewise.
10517         (fold-const.o): Likewise.
10518         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
10519         (make_insn_raw): Don't cache insns when GC'ing.
10520         (emit_insn_before): Likewise.
10521         (emit_insn_after): Likewise.
10522         (emit_insn): Likewise.
10523         (start_sequence): Use xmalloc to allocate the sequence_stack.
10524         (end_sequence): Add free to free it.
10525         (gen_sequence): Don't cache insns when GC'ing.
10526         (clear_emit_caches): Don't use sequence_element_free_list.
10527         (init_emit): Use xcalloc, not xmalloc+bzero.
10528         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
10529         * function.c (pop_function_context_from): Use free to free the
10530         fixup_var_refs_queue.
10531         (put_reg_into_stack): Allocate it with xmalloc.
10532         * genattrtab.c: Include ggc.h.
10533         (operate_exp): Don't use obstack_free when GC'ing.
10534         (simplify_cond): Likewise.
10535         (simplify_text_exp): Likewise.
10536         (optimize_attrs): Likewise.
10537         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
10538         GC'ing.
10539         (gencode): Generate a #include for ggc.h.
10540         * ggc-callbacks.c (ggc_p): Define it to zero.
10541         * ggc-none.c (ggc_p): Likewise.
10542         * ggc-simple.c: Include varray.h.
10543         (ggc_mark_tree_varray): New function.
10544         (ggc_add_tree_varray_root): Likewise.
10545         (ggc_mark_tree_varray_ptr): Likewise.
10546         * ggc.h (ggc_p): Declare.
10547         (varray_head_tag): Likewise.
10548         (ggc_add_tree_varray_root): Declare.
10549         * print-tree.c (print_node): Don't check for TREE_PERMANENT
10550         inconsistencies when GC'ing.
10551         * rtl.c: Include ggc.h.
10552         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
10553         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
10554         (rtx_free): Don't call obstack_free when GC'ing.
10555         * toplev.c (rest_of_compilation): Call ggc_collect after every
10556         pass, if GC'ing.
10557         * tree.c (push_obstacks): Do nothing, if GC'ing.
10558         (pop_obstacks_nochange): Likewise.
10559         (pop_obstacks): Likewise.
10560         (make_node): Use ggc_alloc_tree when GC'ing.
10561         (copy_node): Likewise.
10562         (get_identifier): Use ggc_alloc_string when GC'ing.
10563         (build_string): Likewise.
10564         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
10565         (tree_cons): Likewise.
10566         (build1): Likewise.
10567         (type_hash_canon): Don't call obstack_free when GC'ing.
10568
10569 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
10570
10571         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
10572         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
10573
10574 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
10575                           Bernd Schmidt <bernds@cygnus.co.uk>
10576                           Mark Mitchell  <mark@codesourcery.com>
10577
10578         * Makefile.in (stor-layout.o): Depend on ggc.h.
10579         (expr.o): Depend on ggc.h.
10580         (profile.o): Depend on ggc.h.
10581         (stor-layout.o): Depend on ggc.h.
10582         * emit-rtl.c (init_emit_once): Add gc roots.
10583         * expr.c: Include ggc.h.
10584         (emit_block_move): Add gc roots.
10585         (clear_storage): Likewise.
10586         * expr.h (init_stor_layout_once): New function.
10587         * profile.c: Include ggc.h.
10588         (init_arc_profiler): profiler_label is a root.
10589         * scan.c (make_sstring_space): Trust xrealloc to function
10590         correctly with first parameter NULL.
10591         * stor-layout.c: Include ggc.h.
10592         (set_sizetype): Add gc root.
10593         (init_stor_layout_once): New function.
10594         * toplev.c (compile_file): Call it.
10595
10596 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
10597                           Bernd Schmidt <bernds@cygnus.co.uk>
10598                           Mark Mitchell  <mark@codesourcery.com>
10599
10600         * Makefile.in (tree.o): Depend on ggc.h.
10601         (varasm.o): Likewise.
10602         (function.o): Likewise.
10603         (stmt.o): Likewise.
10604         (except.o): Likewise.
10605         (optabs.o): Likewise.
10606         (emit-rtl.o): Likewise.
10607         * emit-rtl.c: Include ggc.h.
10608         (sequence_element_free_list): Remove, and all references.
10609         (mark_sequence): New functions.
10610         (mark_emit_state): New function.
10611         * except.c: Include ggc.h.
10612         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
10613         (mark_tree_label_node): New functions.
10614         (mark_eh_state): New function.
10615         * function.c: Include ggc.h.
10616         (mark_temp_slot, mark_function_chain): New functions.
10617         (mark_function_state): New function.
10618         (init_function_once): New function.
10619         * function.h (init_function_once): New function.
10620         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
10621         * ggc.h (label_node): Declare.
10622         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
10623         (lang_mark_false_label_stack): New function.
10624         (mark_temp_slot): Remove declaration.
10625         (mark_function_chain): Likewise.
10626         (mark_eh_state): Adjust prototype.
10627         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
10628         Likewise.
10629         * optabs.c: Include ggc.h.
10630         (mark_optab): New function.
10631         (init_optabs): Add gc roots.
10632         * stmt.c: Include ggc.h.
10633         (mark_cond_nesting, mark_loop_nesting): New functions.
10634         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
10635         (mark_stmt_state): New function.
10636         * toplev.c (compile_file): Call init_function_once.
10637         * tree.c: Include ggc.h.
10638         (type_hash): Move declaration earlier in file.
10639         (TYPE_HASH_SIZE, type_hash_table): Likewise.
10640         (init_obstacks): Add gc roots.
10641         (mark_type_hash): New function.
10642         * varasm.c: Include ggc.h.
10643         (mark_pool_constant): New function.
10644         (mark_varasm_state): New function.
10645
10646 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10647
10648         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
10649
10650 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
10651
10652         * c-decl.c (struct language_function): Renamed from struct c_function.
10653         Delete elt NEXT.
10654         (c_function_chain): Delete.
10655         (push_c_function_context): New arg F.  Don't warn about nested
10656         functions here.  Fill LANGUAGE elt of F.  Delete code to update
10657         c_function_chain.  Don't call push_function_context.
10658         (pop_c_function_context): New arg F.  Restore from there instead of
10659         from c_function_chain.  Don't call pop_function_context.  Clear out
10660         LANGUAGE field of F when done.
10661         * c-lang.c: Include "function.h"
10662         (lang_init): Initialize save_lang_status and restore_lang_status.
10663         * c-parse.in (nested_function, nested_function_notype): Warn about
10664         nested functions.  Call push_function_context/pop_function_context
10665         instead of the _c_ variants.
10666         * c-tree.h (push_c_function_context, pop_c_function_context): Update
10667         prototype.
10668         * Makefile.in (c-lang.o): Update dependencies.
10669
10670         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
10671         regno_pointer_flag, regno_pointer_align.
10672         (gen_reg_rtx): Use xrealloc to enlarge them.
10673         (free_emit_status): New function.
10674         * function.c (mark_machine_status, mark_lang_status): New variables.
10675         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
10676         in some bits from assign_stack_local.  All callers changed to use new
10677         name.
10678         (assign_stack_local): Just call assign_stack_local_1.
10679         (free_after_compilation): New function.
10680         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
10681         (trampoline_address): Likewise.
10682         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
10683         (prepare_function_start): Explicitly clear some more variables.
10684         * function.h (struct function): New elt can_garbage_collect.
10685         (mark_machine_status, mark_lang_status): Declare variables.
10686         (free_after_compilation, free_emit_status, free_varasm_status,
10687         init_varasm_status): Declare functions.
10688         * toplev.c (rest_of_compilation): Call free_after_compilation when
10689         done with the current function.
10690         * varasm.c (free_varasm_status): New function.
10691
10692 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
10693
10694         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
10695         (EXPAND_BUILTIN_VA_ARG): Define.
10696         * sparc.c (sparc_va_start): New.
10697         (sparc_va_arg): New.
10698
10699 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10700
10701         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
10702
10703 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10704
10705         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
10706
10707 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
10708
10709         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
10710         (OBJS): Add $(GGC).
10711         (ggc-callbacks.o): New target.
10712         * ggc-callbacks.c: New file.
10713
10714 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10715
10716         * expr.h: Collapse individual optab and libfunc vars to arrays.
10717         (optab_index, libfunc_index): New enumerations.
10718         (optab_table, libfunc_table): New arrays.
10719         Add accessor macros for both.
10720
10721         * optabs.c (optab_table, libfunc_table): New.
10722         Delete declarations for individual optab and libfunc vars.
10723
10724 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
10725
10726         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
10727
10728 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
10729
10730         * Makefile.in (GGC, GGC_LIB): New.
10731         (HOST_RTL): Include ggc-none.o.
10732         (ggc-simple.o): New target.
10733         (ggc-none.o): Likewise.
10734         * tree.h (tree_common): Add gc_mark.
10735         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
10736         (struct rtvec_def): Add gc_mark.
10737         * emit-rtl.c (global_rtl): Update static initializers to contain
10738         enough initializers.
10739         * ggc.h, ggc-none.c, ggc-simple.c: New files.
10740         * toplev.c (gc_time): New variable.
10741         (all_time): New variable.
10742         (compile_file): Print gc time.
10743         (print_time): Calculate percentage of the whole.
10744
10745 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10746
10747         Change obstack memory management and varasm constant pool handling so
10748         that nested functions are treated like any other functions.
10749         * function.c (init_machine_status): New variable.
10750         (push_function_context_to): Set contains_functions for the outer
10751         function.  Don't call save_varasm_status.
10752         (pop_function_context_from): Don't call restore_varasm_status.  Don't
10753         set current_function_contains_functions.
10754         (prepare_function_start): Call init_varasm_status rather than
10755         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
10756         is non-null.
10757         * function.h (struct function) Add field varasm.  Delete fields
10758         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
10759         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
10760         (init_machine_status): Declare.
10761         (save_varasm_status, restore_varasm_status): Delete declarations.
10762         (save_tree_status, restore_tree_status): Delete last argument.
10763         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
10764         code.  All callers changed.
10765         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
10766         save_constants_in_decl_trees, restore_constants, save_constants,
10767         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
10768         functions.
10769         (inlining): New variable.
10770         (reg_map, label_map, insn_map, orig_asm_operands_vector,
10771         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
10772         variables.
10773         (save_for_inline_nocopy): Don't save constants.
10774         Don't set inl_emit field in current_function.
10775         (expand_inline_function): Use emit field, not inl_emit, of the inlined
10776         function.  Set new variable inlining before
10777         calling copy_rtx_and_substitute.
10778         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
10779         constant pool references if inlining is nonzero.
10780         Delete ADDRESS and (most of the) CONST cases.
10781         (output_inline_function): Save and restore current_function/
10782         current_function_decl.  Delete restore_constants code.  Don't call
10783         init_const_rtx_hash_table.
10784         * output.h (init_const_rtx_hash_table): Don't declare.
10785         * rtl.h (struct function): Declare.
10786         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
10787         * toplev.c (rest_of_compilation): Don't treat nested functions or
10788         functions containing them specially.  Delete all code to deal with
10789         save_for_inline_copying.
10790         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
10791         inline_obstacks): Delete variables.
10792         (save_tree_status): Lose arg CONTEXT.  All callers changed.
10793         Simply allocate a new function_maybepermanent_obstack for the new
10794         function, delete all the special cases.
10795         Don't save inline_obstacks.
10796         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
10797         Delete special handling for function_maybepermanent_obstack; simply
10798         free it if empty.
10799         Don't restore inline_obstacks.
10800         (permanent_allocation):  Delete code that frees inline_obstacks.
10801         (print_inline_obstack_statistics): Delete function.
10802         (dump_tree_statistics): Don't call it.
10803         * varasm.c (struct varasm_status): New.
10804         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
10805         last_pool, pool_offset, const_double_chain): Delete global
10806         variables, replace with accessor macros.
10807         (immed_double_const): Don't walk const_double_chain outside a
10808         function, but don't treat nested functions specially anymore.
10809         (immed_real_const_1): Likewise.
10810         (clear_const_double_mem): Don't treat nested functions specially.
10811         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
10812         (save_varasm_status, restore_varasm_status): Delete functions.
10813         (init_varasm_status): New function.
10814         (force_const_mem): Don't treat nested functions specially.
10815         (find_pool_constant): Accept new arg F, search for constants in
10816         that function's pool rather than the current one.  All callers
10817         changed.
10818         (get_pool_constant_for_function, get_pool_mode_for_function): New
10819         functions.
10820
10821         * i386.c (init_386_machine_status): New function, mostly from
10822         clear_386_stack_locals.
10823         (struct machine_functions): Rename element names to avoid name
10824         clashes.
10825         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
10826         macros, replacing global variables.
10827         (clear_386_stack_locals, save_386_machine_status,
10828         restore_386_machine_status): Delete functions.
10829         (override_options): Initialize init_machine_status.
10830         * i386.h (INIT_EXPANDERS): Delete macro.
10831         (save_386_machine_status, restore_386_machine_status,
10832         clear_386_stack_locals): Delete declarations.
10833
10834 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10835
10836         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
10837         (doloop_begin):  Simplify pattern and use emit_jump_insn.
10838         (doloop_end): Simplify pattern, switch operand order,
10839         and use emit_jump_insn.
10840
10841 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10842
10843         * function.h (struct function): Add new element LANGUAGE.
10844         (save_lang_status): Declare new variable.
10845         (restore_lang_status): Likewise.
10846         * function.c (save_lang_status): Define.
10847         (restore_lang_status): Likewise.
10848         (push_function_context_to): Call language-specific save function.
10849         (pop_function_context_from): Call language-specific restore function.
10850
10851 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
10852
10853         * i386.md (movsf_1): Check REG_P before use of REGNO.
10854         (movdf_1): Likewise.
10855         (movxf_1): Likewise.
10856         (extendsfdf2): Likewise.
10857         (extendsfxf2): Likewise.
10858         (extenddfxf2): Likewise.
10859
10860 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10861
10862         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
10863         constants into memory.
10864         (c4x_shiftable_constant): New function.
10865         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
10866         (c4x_shiftable_constant): Declare.
10867         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
10868         ashlqi3_noclobber): Add new patterns and associated splitters.
10869
10870 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
10871
10872         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
10873         * dwarf2out.c (dwarf2out_frame_init): Likewise.
10874         * final.c (shorten_branches): Likewise.
10875         * global.c (global_alloc): Likewise.
10876         * haifa-sched.c (build_control_flow): Likewise.
10877         * stmt.c (check_for_full_enumeration_handling): Likewise.
10878         (estimate_case_costs): Likewise.
10879
10880 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
10881
10882         * rtl.h (RTL_CHECKC2): Fix typo in last change.
10883
10884 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
10885
10886         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
10887         (recompute_reg_usage): Likewise.
10888         * rtlanal.c (find_regno_fusage): Likewise.
10889
10890         * rtl.c (rtl_check_failed_code1): New function.
10891         (rtl_check_failed_code2): New.
10892         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
10893         (RTL_CHECKC1, RTL_CHECKC2): New.
10894         (XC*): New accessor macros.
10895         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
10896         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
10897         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
10898         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
10899         (TRAP_*, RANGE_INFO_*): Likewise.
10900
10901 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10902
10903         * Makefile.in (tlink.o): Don't depend on toplev.h.
10904
10905         * collect2.c (c_file, o_file, export_file, import_file, ldout,
10906         output_file, nm_file_name, ldd_file_name, strip_file_name,
10907         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
10908         add_prefix, prefix_from_env, prefix_from_string, do_wait,
10909         fork_execute, maybe_unlink, add_to_list,
10910         extract_init_priority, write_list, dump_list,
10911         dump_prefix_list, write_list_with_asm, write_c_file,
10912         write_c_file_stat, write_c_file_glob, scan_prog_file,
10913         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
10914         ignore_library, extract_string, notice, dump_file, target_machine,
10915         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
10916         read_file, print_load_command): Constify a char*.
10917         (fdopen, error, fatal, fatal_perror): Don't prototype.
10918         (my_strerror): Remove.  All callers use xstrerror instead.
10919         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
10920         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
10921         to xcalloc/strcpy/strcat/...  to one call to concat.
10922         (main, scan_prog_file, scan_libraries): Use an intermediate
10923         `const char **' to build an argv array.
10924         (mapfile, libselect, libcompare, locatelib): Add prototypes.
10925
10926         * collect2.h (collect_execute, collect_wait, dump_file,
10927         file_exists): Constify a char*.
10928         (ldout, c_file_name, temporary_obstack, permanent_obstack,
10929         temporary_firstobj, vflag, debug): Add extern declarations.
10930         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
10931
10932         * tlink.c: Don't include toplev.h.
10933         (vflag, debug, ldout, c_file_name, temporary_obstack,
10934         permanent_obstack, temporary_firstobj): Don't declare.
10935         (tlink_execute, frob_extension, symbol_hash_lookup,
10936         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
10937         recompile_files, read_repo_files, demangle_new_symbols,
10938         scan_linker_output): Constify a char*.
10939         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
10940         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
10941
10942 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
10943
10944         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
10945         (relative) rather than jsr (absolute) subroutine call insns.
10946         * config/m68k/m68k-coff.h: Ditto.
10947
10948 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
10949
10950         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
10951         now rework these too.
10952         (arm_reorg): If an insn can't reach the end of the current pool,
10953         ensure that we emit that pool before the insn.
10954
10955 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
10956
10957         * tlink.c (scan_linker_output): Skip the initial underscore in
10958         a mangled name if appropriate.
10959
10960 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10961
10962         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10963         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
10964         error_with_ivar, gen_declarator, create_builtin_decl,
10965         my_build_string, generate_descriptor_table, generate_ivars_list,
10966         generate_dispatch_table, check_protocols, TAG_GETCLASS,
10967         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
10968         dump_base_name, lang_decode_option, build_encode_expr,
10969         start_class, finish_class, encode_pointer, really_start_method,
10970         gen_declaration, dump_interface, handle_class_ref, handle_impent):
10971         Constify.
10972         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
10973         Add static prototypes.
10974         (build_objc_string_decl, build_selector_reference_decl,
10975         encode_bitfield, build_class_reference_decl): Remove unused
10976         parameter, all callers changed.
10977         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
10978         (objc_printable_name): Likewise.  Change second parameter to type int.
10979         (init_objc): Use memcpy, not bcopy, to avoid casts.
10980
10981 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
10982
10983         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
10984         reg notes on a deleted insn.
10985         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
10986
10987 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
10988
10989         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
10990
10991 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10992
10993         * stmt.c (expand_asm_operands): Fix index into inout_mode when
10994         reading it.
10995
10996 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
10997
10998         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
10999         * tm.texi (MD_ASM_CLOBBERS): Document it.
11000
11001 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
11002
11003         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
11004         * except.c (expand_rethrow): Remove unused variable.
11005         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
11006         * flow.c (replace_insns): Likewise.
11007         (create_edge_list, verify_edge_list): Likewise.
11008         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
11009
11010         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
11011         is special code to run.
11012         (main): Don't define operands to emit_operand.
11013         * genrecog.c (main): Don't emit an empty peephole2_insn function.
11014
11015         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
11016
11017         * alpha/alpha.h (normal_memory_operand): Declare.
11018         (reg_no_subreg_operand): Declare.
11019         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
11020
11021 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
11022
11023         * c-parse.in (compstmt_primary_start): New, broken out of first
11024         part of compstmt handling in primary.
11025         (primary): Use it.  Add an error clause.
11026         (compstmt_nostart): Renamed from compstmt; remove all
11027         initial invocations of compstmt_start.
11028         (compstmt): New.
11029
11030 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
11031
11032         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
11033         needed.
11034
11035 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
11036
11037         * combine.c (simplify_shift_const): Remove extra semicolon.
11038         * dwarf2out.c (remove_AT): Likewise.
11039         * expmed.c (expand_mult): Likewise.
11040         * gcov.c (create_program_flow_graph): Likewise.
11041         * reorg.c (mostly_true_jump): Likewise.
11042
11043 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
11044
11045         * fold-const.c (fold_range_test): Do not try to fold the range
11046         test if the rhs or lhs has side effects.
11047
11048         * combine.c (simplify_rtx): Recognize another case of a synthesized
11049         sign extension.
11050
11051         * varasm.c (mark_constant_pool): When marking indirect references,
11052         only look at SYMBOL_REFs.
11053
11054         * except.c (expand_fixup_region_end): Do not peek at
11055         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
11056
11057 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
11058
11059         * flags.h: New variables align_loops, align_loops_log,
11060         align_jumps, align_jumps_log, align_labels, align_labels_log,
11061         align_functions, align_functions_log.
11062         * toplev.c: Define them.
11063         (f_options): Handle -falign-* when they have no argument.
11064         (main): Add logic to set variables for -falign-functions,
11065         -falign-jumps, -falign-labels, -falign-loops.
11066         Make it -fsched-verbose=<n> and -finline-limit=<n>.
11067         (display_help): Change help to match options.
11068         * final.c (LABEL_ALIGN): Default to align_labels_log.
11069         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
11070         (LOOP_ALIGN): Default to align_loops_log.
11071         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
11072         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
11073         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
11074         * varasm.c (assemble_start_function): Handle align_functions.
11075
11076         * config/sparc/sparc.h: Don't declare sparc_align_*.
11077         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
11078         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
11079         sparc.c.
11080         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
11081         it's a promise.
11082         * config/sparc/sparc.c: Delete sparc_align_loops,
11083         sparc_align_jumps, sparc_align_funcs and the corresponding string
11084         variables.
11085         (sparc_override_options): Default align_functions on ultrasparc.
11086         Delete -malign-* handling.
11087
11088         * config/mips/mips.c (override_options):  On 64-bit targets,
11089         try to align code to 64-bit boundaries.
11090         (print_operand): New substitution, %~,
11091         which aligns labels to align_labels_log.
11092         * config/mips/mips.md (div_trap_normal): Use %~.
11093         (div_trap_mips16): Likewise.
11094         (abssi): Likewise.
11095         (absdi2): Likewise.
11096         (ffssi2): Likewise.
11097         (ffsdi2): Likewise.
11098         (ashldi3_internal): Likewise.
11099         (ashrdi3_internal): Likewise.
11100         (lshrdi3_internal): Likewise.
11101         (casesi_internal): Likewise.
11102
11103 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
11104
11105         Merge new ia32 backend from the branch!
11106
11107         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
11108         See ChangeLog.P2 on new_ia32_branch for details.
11109
11110         * rtl.h (stack_regs_mentioned_p): Delete prototype.
11111         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
11112         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11113         * i386/gas.h (ASM_FILE_START): Define.
11114         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
11115         for name change of ix86_valid_decl_attribute_p.
11116         (i386_pe_valid_type_attribute_p): Similarly.
11117
11118 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
11119
11120         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
11121         to step through CC modes.
11122
11123 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11124
11125         * regmove.c (fixup_match_1): Don't move INSN in front of P if
11126         it would end up in the shadow of a live flags regsiter.
11127
11128 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11129
11130         * reload1.c: Fix many indentation problems.
11131         * reload.c: Likewise.
11132
11133 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
11134
11135         * alias.c (non_local_reference_p): Constify fmt.
11136
11137 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
11138
11139         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
11140
11141 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
11142
11143         * cse.c (delete_trivially_dead_insns): Do not delete stores to
11144         the internal_arg_pointer.
11145
11146 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
11147
11148         Merge peephole2 from new_ia32_branch:
11149         * Makefile.in (STAGESTUFF): Add *.peephole2.
11150         (mostlyclean): Likewise.
11151         (recog.o): Depend on resource.h.
11152
11153         * final.c (peephole): Conditionalize decl on HAVE_peephole.
11154         (final_scan_insn): Likewise for the invocation of peephole.
11155         * genconfig.c (main): Look for peephole and peephole2 patterns.
11156         Emit HAVE_peephole* accordingly.
11157         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
11158         * flags.h (flag_peephole2): Declare.
11159         * toplev.c: New pass peephole2.  New flag -fpeephole2.
11160
11161         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
11162         * gencodes.c (main): Likewise.
11163         * genextract.c (main): Likewise.
11164         * genoutput.c (main): Likewise.
11165         * genemit.c (max_operand_1): Look for the max scratch operand.
11166         (gen_rtx_scratch): New.
11167         (gen_exp): Use it, and pass on new arg subroutine_type.
11168         (gen_expand): Take max scratch into account.
11169         (gen_split): Emit peephole2 functions.
11170         (output_peephole2_scratch): New.
11171         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
11172         * genrecog.c (routine_type): Add PEEPHOLE2.
11173         (IS_SPLIT): New.
11174         (make_insn_sequence): Match outer parallel for peep2.  Discard
11175         top level scratches and dups.
11176         (add_to_sequence): New args insn_type and top.  Update all callers.
11177         Handle toplevel peep2 matching insns.
11178         (write_subroutine): Handle peep2.
11179         (write_tree_1): Likewise.
11180         (write_tree): Likewise.
11181         (main): Likewise.
11182         (change_state): New arg afterward.  Update all callers.
11183         Handle matching separate insns.
11184         * recog.c (recog_next_insn): New.
11185         (peephole2_optimize): New.
11186         * rtl.def (DEFINE_PEEPHOLE2): New.
11187         * resource.c (find_free_register): New argument last_insn.  Use it
11188         to find a register available through the entire span.
11189         * resource.h (find_free_register): Update prototype.
11190
11191 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
11192
11193         * i386.c (output_strlen_unroll): Don't write xops[7]
11194         label if it wasn't set.
11195
11196 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
11197
11198         * cpplib.c (struct directive): Const-ify name pointer and
11199         function pointer prototype.
11200         (validate_else, do_define, do_line, do_include, do_undef,
11201         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
11202         do_elif, do_endif, do_sccs, do_assert, do_unassert,
11203         do_warning): Const-ify second arg.
11204         (directive_table): Mark const.  Reorder entries by frequency
11205         of usage, record statistics.
11206
11207 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
11208
11209         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
11210         bounds- check RTL accesses if --enable-checking.
11211         (RTVEC_ELT): Bounds check if --enable-checking.
11212         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
11213         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
11214         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
11215         GET_NUM_ELEM.
11216         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
11217         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
11218
11219         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
11220         (NOTE_SOURCE_FILE): Use X0STR.
11221         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
11222         MEM_ALIAS_SET): Use X0INT.
11223         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
11224         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
11225         Use X0EXP.
11226         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
11227         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
11228         (rtl_check_failed_bounds, rtl_check_failed_type1,
11229         rtl_check_failed_type2, rtvec_check_failed_bounds): New
11230         functions.
11231         (fancy_abort): Fix comment.
11232
11233         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
11234         (cse_insn): Decrement LABEL_NUSES for jump target before
11235         deleting jump insn.
11236         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
11237         * final.c (alter_subreg): Compute regno before changing x to
11238         REG; set REGNO(x) after changing it.
11239         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
11240         notes containing CONST_INTs.
11241         (delete_eh_regions): Use NOTE_EH_HANDLER.
11242         * function.c (put_reg_into_stack): Make reg a MEM before
11243         initializing it.
11244         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
11245         delete insn.
11246         (gen_mem_addressof): Make reg a MEM before initializing it.
11247         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
11248         X0WINT.
11249         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
11250         deleting an insn, not after.
11251         (block_alloc): Only look at PATTERN(insn) if we have to, and
11252         only if it's format class 'i'.
11253         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
11254         CONST_INT before using its INTVAL.
11255         * print-rtl.c (print_rtx): Use X0STR.
11256         * regmove.c (fixup_match_1): Don't look at PATTERN of
11257         non-class-'i' insn chain elements.
11258         * reload.c (loc_mentioned_in_p): Take address of
11259         in->fld[1].rtx directly.
11260         * reload1.c (reload): Change reg to a MEM before initializing
11261         it.
11262         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
11263         have no names.
11264         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
11265
11266 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
11267
11268         * config/mips/mips.c (machine_dependent_reorg): Force a
11269         barrier to output the local constant pool if a barrier hasn't
11270         been found at a natural point in the instruction stream.
11271
11272 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11273
11274         * c-parse.in (language_string): Constify.
11275
11276         * dwarf2out.c (language_string): Remove declaration.
11277
11278         * dwarfout.c (language_string): Likewise.
11279
11280         * toplev.c (language_string, init_parse, finish_parse): Likewise.
11281
11282         * tree.h (language_string, init_parse, finish_parse): Declare.
11283
11284         * i386/sun386.h (language_string): Remove declaration.
11285
11286         * mips.h (language_string): Likewise.
11287
11288         * nextstep.h (language_string): Likewise.
11289
11290         * nextstep21.h (language_string): Likewise.
11291
11292         * rs6000.c (language_string): Likewise.
11293
11294 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11295
11296         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
11297         (getpwd.o): Remove target.
11298
11299         * getpwd.c: Delete file.  Its in libiberty now.
11300
11301         * dbxout.c (getpwd): Don't prototype.
11302         * dwarf2out.c (getpwd): Likewise
11303         * dwarfout.c (getpwd): Likewise
11304         * final.c (getpwd): Likewise.
11305         * protoize.c (getpwd): Likewise.
11306
11307 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11308
11309         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
11310
11311 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
11312
11313         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
11314         mark_set_resources.
11315
11316 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
11317
11318         * fixinc/Makefile.in (subdir): New.
11319         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
11320         (Makefile): New.
11321
11322 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
11323
11324         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
11325         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
11326         be shared.
11327
11328         * invoke.texi: Fix typo.
11329
11330         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
11331         changed.  Handle autoincrement addressing modes.
11332
11333         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
11334         just like we would the virtual incoming args register when
11335         integrating.
11336
11337 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
11338
11339         * rs6000.h (ASM_FILE_START): Specify complete filename, including
11340         path, in .file directive.
11341
11342 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
11343
11344         * gcc.texi (External Bugs): Remove obsolete note about Perl on
11345         SunOS.
11346
11347 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
11348
11349         * stdbool.h: Make the typedef name _Bool, with bool a #defined
11350         alias.
11351
11352 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11353
11354         * tree.c (tree_code_name): Constify a char*.
11355
11356         * tree.h (tree_code_name, decl_printable_name): Likewise.
11357
11358         * function.h (struct function): Likewise.
11359
11360         * toplev.c (decl_name, decl_printable_name): Likewise.
11361
11362         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
11363
11364         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
11365         (init_objc): Remove function pointer cast.
11366
11367 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
11368
11369         * pa.md (interspace_jump): New pattern.
11370         (builtin_longjmp): New expander.
11371
11372 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
11373
11374         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
11375         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
11376         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
11377
11378 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
11379
11380         * jump.c (delete_prior_computation): Also check calls
11381         to constant functions.  Don't bother checking for a
11382         REG_UNUSED note before adding it.
11383         (delete_computation): Handle multi-word hard registers
11384         when synthesizing missing REG_DEAD notes for a register
11385         which is both set and used by an insn.
11386
11387 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11388
11389         * loop.c (this_loop_info): New variable.
11390         (loop_has_call, loop_has_volatile, loop_has_tablejump,
11391         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
11392         All uses updated.
11393         (prescan_loop, strength_reduce): New argument loop_info.  All callers
11394         updated.
11395         (scan_loop): New variable loop_info, initialise to address of
11396         this_loop_info.
11397         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
11398         Delete variable loop_has_multiple_exit targets and replace with
11399         field in this_loop_info.
11400         (find_and_verify_loops): Rename this_loop to this_loop_num.
11401         (strength_reduce): Delete loop_iteration_info.  Replace variable
11402         loop_info with function argument of same name.
11403         (insert_bct): Rework test for loop being completely unrolled.
11404
11405         * loop.h (struct loop_info): New fields num, loops_enclosed,
11406         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
11407         has_indirect_jump, and cont.  Redefine use of unroll_number.
11408         (loop_unroll_number): Delete.
11409
11410         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
11411         field of loop_info.
11412         (loop_iterations): Delete variable vtop and instead use
11413         loop_info->vtop computed in prescan_loop.
11414
11415 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
11416
11417         * fix-header.c (main): Do not pass a null pointer to strcmp.
11418
11419 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
11420
11421         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
11422         filenames.
11423         * configure: Rebuilt.
11424
11425 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
11426
11427         * jump.c (jump_optimize_1): Do not delete assignments to
11428         internal_arg_pointer.
11429         * cse.c (delete_trivially_dead_insns): Always consider a set of
11430         the internal_arg_pointer live.
11431
11432 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
11433
11434         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
11435         (update_life_info) [REG_WAS_0]: Search the original insns rather
11436         than the new insns for the note.  Fix typos finding note_dest.
11437         If no dest found, discard the note rather than abort.
11438         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
11439         (replace_insns): Remove the old insn list after update_life_info
11440         not before.
11441
11442 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
11443
11444         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
11445         sched_analyze_insn.
11446         (sched_analyze_1): Let add_dependence care for not adding dups.
11447         (sched_analyze_2): Likewise.
11448         (add_branch_dependences): Likewise.
11449
11450 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11451
11452         * i386/winnt.c (export_list): New type.
11453         (exports_head): Rename to
11454         (export_head):  this.
11455         (i386_pe_record_exported_symbol): Add is_data flag.
11456         (i386_pe_asm_file_end): Emit directive for exported variables.
11457         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
11458         prototype.
11459         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
11460         (ASM_DECLARE_OBJECT_NAME): Likewise.
11461         (ASM_DECLARE_FUNCTION_NAME): Likewise.
11462         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11463
11464 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
11465
11466         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
11467
11468         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
11469         operand.
11470
11471 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
11472
11473         * config/openbsd.h: Define SET_ASM_OP.
11474         * tm.texi: cross-reference SET_ASM_OP in the index.
11475
11476 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
11477
11478         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
11479         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
11480         and class_narrowest_mode at compile time.  Kill init_rtl.
11481         Mark rtx_length, mode_class, mode_size, mode_unit_size,
11482         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
11483         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
11484         EXTRA_CC_NAMES.
11485         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
11486         format.
11487         * rtl.h: Declare rtx_length and rtx_format as const.
11488         * machmode.def: Define CC().  Use CC() to define CCmode.  If
11489         EXTRA_CC_MODES is defined, expand it here.
11490         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
11491         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
11492         const.  Kill all references to EXTRA_CC_MODES.
11493
11494         * toplev.c: Don't prototype or call init_rtl.
11495         * optabs.c: Don't call init_mov_optab.
11496         * genemit.c: Don't generate init_mov_optab.  Don't call
11497         init_rtl.
11498         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
11499         here.
11500         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
11501         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
11502         genrecog.c: Don't call init_rtl.
11503
11504         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
11505         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
11506         definition of EXTRA_CC_MODES.
11507
11508         * md.texi: Kill ref to EXTRA_CC_NAMES.
11509         * tm.texi: Document new way to define EXTRA_CC_MODES.
11510
11511         * genrecog.c: Do not look up the name of a define_split.
11512         (Unrelated bugfix.)
11513
11514 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
11515
11516         * config/v850/v850.md: Fix typo introduced by previous delta.
11517
11518 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11519
11520         * gcc.c (fatal): Make definition static to match prototype.
11521
11522 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11523
11524         * combine.c (get_last_value): Don't look for earlier sets if the last
11525         known set is somewhere in between the insns being combined.
11526
11527 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
11528
11529         * configure.in: Don't use shell ! to negate exit codes
11530         * configure: Regenerate
11531
11532 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
11533
11534         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
11535         the fact that ALIGN is measured in bits, not bytes.
11536
11537 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
11538
11539         * errors.c: New file; defines functions error, warning, and
11540         fatal, variables have_error and progname.
11541         * errors.h: New file; prototypes and decls for stuff in errors.c.
11542
11543         * Makefile: Add rules to build errors.o and
11544         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
11545         genopinit, genrecog, genextract, genpeep, genattr, and
11546         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
11547         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
11548         genpeep.o, genattr.o, and genoutput.o.
11549
11550         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
11551         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
11552         define or prototype fatal.  Set progname at beginning of main.
11553         * genoutput.c:  Likewise, and don't define or prototype error
11554         either.
11555
11556         * c-typeck.c (c_expand_start_case): Return immediately if exp
11557         is an ERROR_MARK.
11558         * fold-const.c (operand_equal_p): Return immediately if arg1
11559         or arg0 are ERROR_MARKs.
11560         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
11561         fields of type ERROR_MARK when calculating if the record can
11562         go in a register.
11563
11564 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
11565         with much help from Jeffrey A Law and Richard Henderson
11566
11567         * i386.md: In the 6 insns which call output_fix_trunc,
11568         earlyclobber operands[0].
11569
11570 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
11571
11572         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
11573         creating new registers.
11574
11575 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
11576
11577         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
11578         i386_reg_alloc_order, i386_regparm_string,
11579         i386_align_loops_string, i386_align_jumps_string,
11580         i386_align_funcs_string, i386_preferred_stack_boundary_string,
11581         and i386_branch_cost_string as type "const char *".
11582         * i386.c: Define all above strings as type "const char *".
11583
11584 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
11585
11586         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
11587         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
11588
11589 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
11590
11591         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
11592         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
11593
11594 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
11595
11596         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
11597         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
11598         (dwarf2out_line, dwarf2out_finish): Likewise.
11599         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
11600
11601 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11602
11603         * tree.c (lang_unsave_expr_now) : Correct return type.
11604         * tree.h (lang_unsave_expr_now) : Same.
11605
11606 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
11607
11608         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
11609         instead of duplicating code.
11610
11611 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11612
11613         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
11614
11615 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
11616
11617         * tree.h: fancy_abort always takes three args.
11618         * resource.c: Move include of system.h before toplev.h.
11619
11620 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
11621
11622         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
11623         as SYMBOL_REFs.
11624
11625 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
11626
11627         * system.h: Don't redefine abort or trim_filename.
11628         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
11629         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
11630         whether or not __FUNCTION__ is available.
11631         * tree.h: Duplicate rtl.h's definition of abort, for files
11632         that don't include rtl.h.  Delete all code to perform type
11633         checking with a compiler other than GCC.
11634         * varray.h: Delete all code to perform type checking with a
11635         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
11636         its arguments exactly once, using a statement expression.
11637         Adjust the VARRAY_<type> accessor macros to match.
11638         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
11639         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
11640         caller's location.  Define fatal_insn and fatal_insn_not_found
11641         as macros that use _fatal_insn and _fatal_insn_not_found.
11642         (fancy_abort, trim_filename): Kill prototypes.
11643
11644         * rtl.c (trim_filename): Move here from toplev.c.
11645         (fancy_abort): New function.
11646         (DIR_SEPARATOR): Provide default definition.
11647         * tree.c (tree_check_failed, tree_class_check_failed): Go
11648         through fancy_abort.
11649         (tree_check, tree_class_check, cst_or_constructor_check,
11650         expr_check): Delete.
11651         * varray.c (varray_check_failed): New function.
11652         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
11653         _fatal_insn and _fatal_insn_not_found.  Go through
11654         fancy_abort.
11655         (trim_filename, fancy_abort): Delete.
11656
11657         * builtins.c (expand_builtin_args_info): Report ICE with abort.
11658         * except.c (start_catch_handler): Report ICE with error/abort
11659         combo.
11660         * final.c (output_operand_lossage): Likewise.
11661         * flow.c (verify_flow_info): Likewise.
11662
11663         * gcc.c: Prototype fatal.
11664         * gengenrtl.c: Undef abort after including rtl.h not system.h.
11665         * genattr.c, genattrtab.c, genemit.c, genextract.c,
11666         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
11667         Don't define fancy_abort.
11668
11669 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
11670
11671         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
11672         canonization.
11673
11674 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
11675
11676         * m88k.h (VERSION_INFO2): Kill.
11677         (VERSION_STRING): Kill.
11678         (TM_RCS_ID): Kill.
11679         (VERSION_INFO1): Tidy.
11680         (TARGET_VERSION): Update.
11681         * m88k/dgux.h (VERSION_INFO2): Kill.
11682         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
11683         * m88k/luna.h (VERSION_INFO1): Tidy.
11684         * m88k/sysv4.h (VERSION_INFO1): Likewise.
11685         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
11686         (output_file_start): Adjust for death of VERSION_STRING.
11687
11688 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
11689
11690         * cpplib.c (detect_if_not_defined): New function.
11691         (do_if): Use it to detect potential once-only headers.
11692
11693 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
11694
11695         * c-common.c (combine_strings): Always set TREE_CONSTANT.
11696
11697 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11698
11699         * combine.c (nonzero_bits) : Allow single-ly set registers to be
11700         anywere in the function only if they are pseudos and set before
11701         being used (not live at the start of the function).
11702         (num_sign_bit_copies) : Same.
11703         (get_last_value_validate) : Same.
11704         (get_last_value) : Same.
11705
11706 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
11707
11708         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
11709         where N and M are constant and N is an integer multiple of M.
11710
11711 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11712
11713         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
11714         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
11715         sbitmap_union_of_preds): Add prototypes.
11716         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
11717         the intersection of successors with the new flow graph structures.
11718         (sbitmap_intersection_of_preds): New function to compute the
11719         intersection of predecessors with the new flow graph structures.
11720         (sbitmap_union_of_succs): New function to compute the union of
11721         successors with the new flow graph structures.
11722         (sbitmap_union_of_preds): New function to compute the union of
11723         predecessors with the new flow graph structures.
11724         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
11725         (expr_reaches_here_p): Use edge and basic_block structures instead
11726         of s_preds and s_succs.
11727         (compute_cprop_avinout): Use new sbitmap routines.
11728         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
11729         of s_preds and s_succs.
11730         * flow.c (compute_flow_dominators): Compute dominators using
11731         edges and basic blocks instead of s_preds and s_succs.
11732
11733 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11734
11735         * lists.c (unused_insn_list, unused_expr_list): New file for
11736         maintaining various types of lists. New statics for maintaining a
11737         cache of available INSN_LIST and EXPR_LIST nodes.
11738         (free_list): Static function for freeing a list of INSN/EXPR nodes.
11739         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
11740         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
11741         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
11742         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
11743         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
11744         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
11745         (free_INSN_LIST_node): Free an individual INSN_LIST node.
11746         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
11747         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
11748         (remove_dependence, free_pending_lists): Use new global routines.
11749         (flush_pending_lists, sched_analyze_insn): Use new global routines.
11750         (sched_analyze, compute_block_backward_dependences): Use new routines.
11751         (sched_analyze_1, sched_analyze_2): Use new routines.
11752         (schedule_insns): Use new global routines.
11753         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
11754         prototypes.
11755         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
11756         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
11757         prototypes.
11758         * toplev.c (rest_of_compilation): Initialize node cache.
11759         * Makefile.in (OBJS): Add lists.o to list of object files.
11760         (lists.o): Add dependancies.
11761
11762 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
11763
11764         * config/v850/v850.md: Fix compile time warning messages.
11765         * config/v850/v850.c: Fix compile time warning messages.
11766         * config/v850/v850.h: Fix compile time warning messages.
11767
11768 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11769
11770         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
11771         Remove unused prototype for `init_lengths'.
11772
11773 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11774
11775         * calls.c (emit_call_1): Mark parameter `stack_size' with
11776         ATTRIBUTE_UNUSED.
11777         (expand_call): Initialize variable `insn'.
11778         (emit_library_call): Likewise for variable `high_to_save'.
11779         (emit_library_call_value): Likewise.
11780         (store_one_arg): Likewise for variables `lower_bound' and
11781         `upper_bound'.
11782
11783         * combine.c (try_combine): Likewise for variables `i2_code_number'
11784         and `other_code_number'.
11785         (find_split_point): Likewise for variables `pos', `unsignedp' and
11786         `inner'.
11787         (simplify_if_then_else): Likewise for variables `op' and `c1'.
11788         (simplify_and_const_int): Remove unused variable `width'.
11789         (merge_outer_ops): Likewise.
11790
11791         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
11792         HOST_WIDE_INT' when comparing against one.
11793         (simplify_relational_operation): Likewise.
11794         (cse_insn): Initialize variables `src_eqv_volatile',
11795         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
11796
11797         * final.c (init_final): Constify parameter `filename'.
11798         (final_start_function): Mark parameter `optimize' with
11799         ATTRIBUTE_UNUSED.
11800         (profile_function): Likewise for parameters `first' and `optimize'.
11801         (output_source_line): Likewise for parameter `file'.
11802
11803         * integrate.c (subst_constants): Cast a value to `size_t' when
11804         comparing against one.
11805         (mark_stores): Initialize variable `mode'.  Cast a value to
11806         `size_t' when comparing against one.
11807
11808         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
11809
11810         * loop.c (move_movables): Initialize variable `first'.
11811         (strength_reduce): Likewise for variable `increment'.
11812         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
11813         value to `size_t' when comparing against one.
11814         (load_mems): Initialize variable `end_label'.
11815
11816         * output.h (init_final): Constify parameter.
11817
11818         * reload.c (decompose): Initialize variable `base'.
11819
11820         * reload1.c (reload): Likewise for variable `is_scalar'.
11821         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
11822         (choose_reload_regs): Initialize variable `mode'.
11823         (emit_reload_insns): Likewise for variable `store_insn'.
11824         (reload_cse_noop_set_p): Mark parameter `insn' with
11825         ATTRIBUTE_UNUSED.
11826         (reload_combine): Initialize variable `set'.
11827
11828         * unroll.c (unroll_loop): Likewise for variable `local_label'.
11829         (copy_loop_body): Cast a value to `size_t' when comparing against
11830         one.
11831
11832         * varasm.c (assemble_variable): Initialize variable `size_tree'.
11833         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
11834         (remove_from_pending_weak_list): Mark parameter `name' with
11835         ATTRIBUTE_UNUSED.
11836
11837 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11838
11839         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
11840         gcse dump file.
11841
11842 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
11843
11844         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
11845         (ASM_DECLARE_FUNCTION_NAME): Define.
11846         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
11847         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
11848         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
11849         not already defined.
11850
11851 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11852
11853         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
11854         of n_popped when call/call_value are not defined.
11855
11856 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
11857
11858         * tm.texi: GNU CC -> GCC conversion.
11859         (CC1_SPEC): Indicate it is used for all language front ends.
11860
11861 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
11862
11863         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
11864         NOTE_INSN_EH_REGION_END correctly.
11865
11866 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
11867                           Jeff Law <law@cygnus.com>
11868
11869         * loop.c (strength_reduce): Automatically unroll loops if the
11870         unrolled loop size is smaller than the rolled loop size.
11871
11872         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
11873         and delete comment that code should be rewritten.
11874
11875 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
11876
11877         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
11878         as reachable.
11879
11880         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
11881
11882 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11883
11884         * fixinc/mkfixinc.sh: Don't fix uwin headers.
11885         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
11886         (LINK_SPEC): Add -u _main when building executables.
11887         (ASM_DECLARE_FUNCTION): Update from Cygwin.
11888         (ASM_FILE_END): Use the default for ix86-pe.
11889         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
11890
11891 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
11892
11893         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
11894         and ASM_CLOSE_PAREN are empty strings.
11895
11896 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
11897                           Geoffrey Keating <geoffk@cygnus.com>
11898
11899         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
11900         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
11901         (unprotoize.o): Ditto.
11902         (test-protoize-simple): Don't define STD_PROTO_DIR.
11903         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
11904         changes to make 'test-protoize-simple' pass.
11905         (STD_PROTO_DIR): Remove define.
11906         (STANDARD_EXEC_PREFIX): Supply default define.
11907         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
11908         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
11909         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
11910         (GET_ENV_PATH_LIST): New macro.
11911         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
11912         (do_processing): Initialize default_syscalls_dir using new
11913         macros.  Use it to initialize syscalls_absolute_filename.
11914
11915 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
11916
11917         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
11918         B into a register before emit_conditional_move.
11919
11920 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
11921
11922         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
11923         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
11924         multiplicand out of (+ (* a b) (* c d)).
11925
11926 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
11927                           Richard Henderson  <rth@cygnus.com>
11928
11929         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
11930         (new_insn_dead_notes): Likewise.
11931         (update_n_sets): Likewise.
11932         (update_flow_info): Move to flow.c, renamed to update_life_info;
11933         extend to handle multiple source insns.
11934         * flow.c: Include resource.h
11935         (unlink_insn_chain): New.
11936         (split_hard_reg_notes): New.
11937         (maybe_add_dead_note): New.
11938         (maybe_add_dead_note_use): New.
11939         (find_insn_with_note): New.
11940         (new_insn_dead_notes): New.
11941         (update_n_sets): New.
11942         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
11943         (maybe_remove_dead_notes): New.
11944         (update_life_info): New.
11945         (prepend_reg_notes): New.
11946         (replace_insns): New.
11947         * output.h (update_life_info): Declare.
11948         * recog.c (split_block_insns): Use update_life_info.
11949         * resource.c (find_free_register): Use reg_alloc_order, don't use
11950         fixed regs, make sure the mode is supported, don't use new regs.
11951         (reg_dead_p): New.
11952         * rtl.h (replace_insns): Declare.
11953
11954 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
11955
11956         * expr.c (expand_expr): Cope with COND_EXPRs with one
11957         non-returning branch.
11958
11959 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
11960
11961         * expr.c (store_expr): Always pass down the target, even when not
11962         doing CSE.
11963
11964 1999-08-24  Nick Clifton  <nickc@cygnus.com>
11965
11966         * configure.in: Define target_cpu_default for v850 targets.
11967         * configure: Regenerate
11968
11969         * config/v850/v850.h (TARGET_CPU_generic): Define.
11970         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
11971         addresses are 4 byte aligned.
11972
11973         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
11974         addresses.
11975
11976 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11977
11978         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
11979         (main): Add prototypes.
11980
11981         * genattrtab.c (substitute_address, write_const_num_delay_slots,
11982         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
11983         (write_attr_get): Emit prototypes along with function definition.
11984         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
11985         (write_complex_function): Emit static prototype along with
11986         function definition.
11987
11988         * genemit.c (gen_split): Emit prototypes along with function
11989         definition.
11990
11991         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
11992         Likewise for predicates and `insn_operand_predicate'.
11993         (process_template): Emit static prototype along with function
11994         definition.
11995
11996         * genrecog.c (make_insn_sequence): Constify a char*.  Add
11997         prototypes for get_split_*().
11998         (write_subroutine): Emit prototypes along with function
11999         definition.
12000
12001 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12002
12003         * gcse.c (find_avail_set): Follow chains of register-register copies.
12004         Use oprs_not_set_p to guarantee that the returned value can be
12005         substituted.
12006         (cprop_insn): Don't verify the return value of find_avail_set with
12007         oprs_not_set_p.
12008
12009         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
12010         (cprop_cc0_jump): New function.
12011         (cprop_insn): Break out new function cprop_jump and use it.
12012         Also use cprop_cc0_jump for machines with CC0.
12013         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
12014
12015         * tree.h (current_function_calls_setjmp,
12016         current_function_calls_longjmp): Delete declarations.
12017         * dsp16xx.c: Include "function.h".
12018         * elxsi.c: Likewise.
12019         * gmicro.c: Likewise.
12020         * h8300.c: Likewise.
12021         * i370.c: Likewise.
12022         * m32r.c: Likewise.
12023         * mn10200.c: Likewise.
12024         * mn10300.c: Likewise.
12025         * ns32k.c: Likewise.
12026         * spur.c: Likewise.
12027         * v850.c: Likewise.
12028
12029         * rtl.h (rtx_equal_function_value_matters): Declare.
12030         * toplev.c (rtx_equal_function_value_matters): Don't declare.
12031         * cse.c: Likewise.
12032         * function.c: Likewise.
12033         * emit-rtl.c: Likewise.
12034
12035 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
12036
12037         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
12038         call.
12039
12040 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12041
12042         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
12043         exactly.
12044
12045 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
12046
12047         * cpp.texi: Add a node documenting macro varargs (copied
12048         from extend.texi).
12049
12050 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
12051
12052         * cppspec.c: Put a null pointer at the end of the new argv.
12053
12054 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
12055
12056         * configure.in: Remove code to select/de-select the haifa
12057         scheduler.  Every scheduled port gets haifa now.
12058         * configure: Rebuilt.
12059         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
12060         * sched.c Deleted.
12061         * Makefile.in: Corresponding changes.
12062
12063 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12064
12065         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
12066         All callers changed.
12067         (prepare_float_lib_cmp): Likewise.
12068         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
12069         * expr.h (emit_float_lib_cmp): Delete declaration.
12070         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
12071         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
12072         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
12073         specially.
12074         (cmptf): Now conditional on TARGET_HARD_QUAD.
12075
12076 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
12077
12078         * resource.c (mark_target_live_regs): Use
12079         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
12080
12081 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12082
12083         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
12084
12085         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
12086
12087         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
12088
12089 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12090
12091         * rtl.h (rtx_format): Constify a char*.
12092
12093         * rtl.c (rtx_format): Likewise.
12094         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
12095         (init_rtl): Use accessor macro, not `rtx_format'.
12096
12097         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
12098         char*.
12099
12100         * caller-save.c (mark_referenced_regs): Likewise.
12101
12102         * combine.c (subst, make_compound_operation, known_cond,
12103         gen_rtx_combine, update_table_tick, get_last_value_validate,
12104         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
12105
12106         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
12107         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
12108         count_reg_usage): Likewise.
12109
12110         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
12111         Likewise.
12112
12113         * final.c (leaf_renumber_regs_insn): Likewise.
12114
12115         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
12116         dump_edge_info, count_reg_references): Likewise.
12117
12118         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
12119         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
12120         Likewise.
12121
12122         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
12123         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
12124         add_label_notes): Likewise.
12125
12126         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
12127         clear_struct_flag, count_sub_rtxs, count_alternatives,
12128         compares_alternatives_p, contained_in_p, walk_attr_value,
12129         write_expr_attr_cache): Likewise.
12130
12131         * genconfig.c (walk_insn_part): Likewise.
12132
12133         * genemit.c (max_operand_1, gen_exp): Likewise.
12134
12135         * genextract.c (walk_rtx): Likewise.
12136
12137         * genflags.c (num_operands): Likewise.
12138
12139         * genoutput.c (scan_operands): Likewise.
12140
12141         * genpeep.c (match_rtx): Likewise.
12142
12143         * genrecog.c (add_to_sequence): Likewise.
12144
12145         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
12146         Likewise.
12147
12148         * integrate.c (save_constants, copy_for_inline,
12149         copy_rtx_and_substitute, subst_constants, restore_constants):
12150         Likewise.
12151
12152         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
12153         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
12154
12155         * local-alloc.c (contains_replace_regs, memref_referenced_p):
12156         Likewise.
12157
12158         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
12159         add_label_notes, replace_call_address, count_nonfixed_reads,
12160         invariant_p, find_single_use_in_loop, find_mem_givs,
12161         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
12162         Likewise.
12163
12164         * print-rtl.c (reg_names, print_rtx): Likewise.
12165
12166         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
12167
12168         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
12169         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
12170         print_blocks): Likewise.
12171
12172         * regclass.c (fix_register, record_address_regs,
12173         reg_scan_mark_refs): Likewise.
12174
12175         * regmove.c (stable_but_for_p): Likewise.
12176
12177         * reload.c (loc_mentioned_in_p, operands_match_p,
12178         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
12179         copy_replacements, refers_to_regno_for_reload_p,
12180         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
12181         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
12182         Likewise.
12183
12184         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
12185         delete_address_reloads_1, count_occurrences,
12186         reload_cse_mem_conflict_p, reload_combine_note_use,
12187         add_auto_inc_notes): Likewise.
12188
12189         * resource.c (mark_referenced_resources, mark_set_resources):
12190         Likewise.
12191
12192         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
12193         reg_mentioned_p, regs_set_between_p, modified_between_p,
12194         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
12195         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
12196         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
12197         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
12198
12199         * sched.c (sched_analyze_2, attach_deaths): Likewise.
12200
12201         * stupid.c (stupid_mark_refs): Likewise.
12202
12203         * unroll.c (remap_split_bivs): Likewise.
12204
12205         * varasm.c (mark_constants): Likewise.
12206
12207         * a29k/a29k.c (uses_local_reg_p): Likewise.
12208
12209         * alpha/alpha.c (summarize_insn): Likewise.
12210
12211         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
12212         eliminate_lr2ip): Likewise.
12213
12214         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
12215
12216         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
12217         reg_mentioned_in_mem): Likewise.
12218
12219         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
12220         symbolic_reference_mentioned_p): Likewise.
12221
12222         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
12223
12224         * sh/sh.c (regs_used, mark_use): Likewise.
12225
12226         * vax/vax.c (vax_rtx_cost): Likewise.
12227
12228 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12229
12230         * machmode.h (mode_name): Constify a char*.
12231
12232         * rtl.c (mode_name): Likewise.
12233
12234         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
12235
12236         * optabs.c (init_libfuncs): Constify a char*.
12237
12238         * print-tree.c (mode_name): Remove redundant declaration.
12239         (print_node): Use accessor macro, not `mode_name'.
12240
12241         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
12242         not `mode_name'.
12243         (new_spill_reg): Constify a char*.
12244
12245         * tree.c (mode_name): Remove redundant declaration.
12246
12247 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12248
12249         * rtl.c (rtx_name): Constify a char*.
12250
12251         * rtl.h (rtx_name, fix_sched_param): Likewise.
12252
12253         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
12254         (mypr): Use accessor macro, not `rtx_name'.
12255
12256         * genemit.c (print_code): Constify a char*.
12257
12258         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
12259
12260         * genpeep.c (print_code): Constify a char*.
12261
12262         * genrecog.c (print_code): Likewise.
12263
12264         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
12265         end_bb): Add static prototype.
12266         (draw_edge): Constify a char*.
12267         (end_bb): Remove unused parameter.
12268
12269         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
12270         print_block_visualization): Constify a char*.
12271
12272 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
12273
12274         * c-common.c (c_get_alias_set): Update comment.
12275
12276 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12277
12278         * linux.h (LIB_SPEC): Added.
12279
12280 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12281
12282         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
12283
12284 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
12285
12286         * tree.c (expr_check): Fix typo in last change.
12287
12288 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
12289
12290         * rtl.def (NOTE): Change format to "iuu0n".
12291         (ADDR_DIFF_VEC): Change format to "eEee0".
12292         (ADDRESSOF): Change format to "eit".
12293
12294         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
12295         (RTVEC_ELT): Change to match.
12296         (XVECEXP): Use XVEC and RTVEC_ELT.
12297         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
12298         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
12299         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
12300         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
12301         TRAP_CONDITION, TRAP_CODE): Use XEXP.
12302         (INTVAL): Use XWINT.
12303         (ADDRESSOF_DECL): Use XTREE.
12304         (SET_ADDRESSOF_DECL): Delete.
12305         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
12306         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
12307         ifdefed out since 2.6 at least.
12308         (gen_rtvec_vv): Delete prototype.
12309
12310         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
12311         not rtunion.
12312         (copy_most_rtx): Handle 't' format letter.
12313         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
12314         (gen_rtvec_vv): Delete function.  All callers changed to use
12315         gen_rtvec_v instead.
12316         * print-rtl.c (print_rtx): Move special casing of NOTEs to
12317         the '0' format letter.
12318
12319         * function.c (gen_mem_addressof): Don't use
12320         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
12321         instead.
12322         * integrate.c (copy_rtx_and_substitute): Likewise.
12323         Copy 't' slots with XTREE.
12324         (subst_constants): Treat 't' slots like '[swi]' slots.
12325         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
12326         * jump.c (rtx_equal_for_thread_p): Likewise.
12327         * rtlanal.c (rtx_equal_p): Likewise.
12328         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
12329         only four arguments.
12330         * gengenrtl.c (type_from_format): Provide correct types for
12331         'b' and 't' slots.
12332
12333
12334         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
12335         If a recent gcc is in use (always in stage2 and beyond), use
12336         statement expressions, so we don't make a function call unless
12337         the check fails.  Evaluate arguments exactly once.
12338         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
12339         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
12340         Delete.
12341         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
12342         they evaluate their arguments exactly once, irrespective of
12343         the compiler in use.
12344
12345         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
12346         is used by the currently-enabled check macros.  This is:
12347         (tree_check_failed, tree_class_check_failed): For gcc.
12348         (tree_check, tree_class_check, cst_or_constructor_check,
12349         expr_check): For other compilers.
12350
12351         * gencheck.c: Do not define any *_CHECK1 macros.
12352
12353 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
12354                           Mark Mitchell <mark@codesourcery.com>
12355
12356         * c-common.c (c_get_alias_set): Fix support for poitners and
12357         references.
12358
12359 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
12360
12361         * alias.c: Include tree.h.
12362         (nonlocal_reference_p, mark_constant_function): New functions.
12363         * flow.c (life_analysis): Call mark_constant_function.
12364         * rtl.h (mark_constant_function): Declare it.
12365
12366 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
12367
12368         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
12369         unrecognisable switches.
12370
12371 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12372
12373         * loop.c (recombine_givs): Set ix field after sorting.
12374         (recombine_givs): Remove bogus index / giv lockstep looping.
12375
12376 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12377
12378         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
12379         on CODE.
12380         (emit_store_flag_force): Use do_compare_rtx_and_jump.
12381         (do_cmp_and_jump): Formatting fixes.
12382         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
12383         do_compare_rtx_and_jump instead of compare_from_rtx.
12384         (do_compare_rtx_and_jump): New function; mostly copied from
12385         compare_from_rtx.
12386         (do_jump_for_compare): Delete.
12387         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
12388         MIN_EXPR.
12389         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
12390         of compare/do_jump_for_compare pairs.
12391         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
12392         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
12393         compare_from_rtx/do_jump_for_compare pairs.
12394         (do_jump_by_parts_equality): Likewise.
12395         (do_jump_by_parts_equality_rtx): Likewise.
12396         * expr.h (do_compare_rtx_and_jump): Declare.
12397         * optabs.c (prepare_cmp_insn): New function, contains most of the code
12398         that used to be in emit_cmp_insn.
12399         (cmp_available_p): New function.
12400         (prepare_operand): New function.
12401         (emit_cmp_and_jump_insn_1): New function, contains some code that used
12402         to be in emit_cmp_insn.
12403         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
12404         parameters to be pointers; don't emit final compare but modify some of
12405         the values pointed to by the args so the caller can perform the
12406         correct comparison.
12407         (expand_binop): Call emit_store_flag_force with signed forms of
12408         comparison code.
12409         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
12410         emit_jump_insn pair.
12411         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
12412         emit_cmp_and_jump_insn_1.  Call emit_queue.
12413         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
12414         arg.
12415         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
12416         jump sets cc0 before deleting it.
12417         * integrate.c (expand_inline_function): Likewise.
12418         * unroll.c (unroll_loop): Similar changes in several places.
12419         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
12420         before deleting it.
12421
12422 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12423
12424         * Makefile.in (insn-recog.o): Update dependencies.
12425         * genrecog.c (main): Make generated file include "function.h".
12426
12427 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
12428
12429         * cse.c (cse_insn): Call never_reached_warning when a jump is
12430         changed to be unconditional.
12431         * flags.h: Declare warn_notreached.
12432         * flow.c (delete_block): Call never_reached_warning when
12433         a block is deleted.
12434         * jump.c (delete_barrier_successors): Call never_reached_warning
12435         when we delete everything after a BARRIER.
12436         (never_reached_warning): New function.
12437         * rtl.h: Declare never_reached_warning.
12438         * toplev.c (warn_notreached): New variable.
12439         (lang_independent_options): Set warn_notreached
12440         when -Wunreachable-code.
12441         (compile_file): We need line numbers for -Wunreachable-code.
12442
12443 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
12444
12445         * haifa-sched.c (insn_unit): Fix typo on out of range test.
12446         * sched.c (insn_unit): Likewise.
12447
12448 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
12449
12450         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
12451
12452 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12453
12454         * flow.c (create_edge_list): Use xmalloc, not malloc.
12455
12456 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
12457
12458         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
12459         C-style comments.  Do not lose the character before double slash.
12460
12461 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12462
12463         * basic-block.h (struct edge_list): Stucture to maintain a vector
12464         of edges.
12465         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
12466          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
12467         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
12468         New function prototypes.
12469         * flow.c (create_edge_list): Function to create an edge list.
12470         (free_edge_list): Discards memory used by an edge list.
12471         (print_edge_list): Debug output showing an edge list.
12472         (verify_edge_list): Internal consistency check for an edge list.
12473         (find_edge_index): Function to find an edge index for a pred and succ.
12474
12475 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
12476
12477         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
12478         hashtable.
12479
12480 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
12481
12482         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
12483
12484 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12485
12486         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
12487
12488 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
12489
12490         * toplev.c (rest_of_compilation): Allow machine dependent
12491         reorganisation pass to place information into the RTL dump
12492         file if it so wishes.
12493
12494 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
12495
12496         * explow.c (hard_function_value): Use VOIDmode instead of
12497         MAX_MACHINE_MODE.
12498         * stmt.c (expand_return): Likewise.
12499         * stor-layout.c (get_best_mode): Likewise.
12500
12501         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
12502         emit call instead of emit_insn call.
12503
12504 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12505
12506         * configure.in: Handle --disable/enable-win32-registry.
12507         * install.texi: Document --disable/enable-win32-registry.
12508         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
12509         (WIN32_REGISTRY_KEY): New macro.
12510         * prefix.c: Use to enable/disable win32-specific code.
12511         (lookup_key): Use versioned key.
12512         * configure: Regenerate.
12513         * config.in: Likewise.
12514
12515 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
12516
12517         * cpplib.c (read_line_number): New fn, split out of...
12518         (do_line): Here.
12519
12520 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12521
12522         tree.c (lang_unsave_expr_now) : New.
12523         (unsave_expr_now): Call lang_unsave_expr_now.
12524         tree.h (lang_unsave_expr_now) : New.
12525
12526 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
12527
12528         * toplev.c (flag_new_exceptions): On by default.
12529
12530 1999-08-13  Michael Meissner  <meissner@cygnus.com>
12531
12532         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
12533
12534 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12535
12536         * dwarfout.c (fundamental_type_code): Return FT_boolean for
12537         INTEGER_TYPE with precision==1, it's __java_boolean.
12538
12539 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12540
12541         * global.c (prune_preferences): Move some invariants out of the
12542         inner loop.
12543
12544 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
12545
12546         * configure.in (alpha*-dec-osf*): Add osf5.
12547
12548 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
12549
12550         * configure.in: Rework handling of ARM GNU/Linux slightly.
12551         (arm*-*-linux-gnuoldld): New target.
12552         * configure: Regenerate.
12553         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
12554         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
12555         * config/arm/linux-oldld.h: New file.
12556         * config/arm/linux-elf26.h: Don't include linux-elf.h.
12557         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
12558         Don't define.
12559         * config/arm/linux-elf.h (ASM_SPEC): Define.
12560         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
12561         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
12562         for 26-bit APCS and old linker.
12563         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
12564         `arm_elf'.
12565         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
12566         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
12567         don't define `arm' or `arm_elf'.
12568         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
12569         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
12570
12571 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
12572
12573         * rtl.texi: Fix typo.
12574
12575 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
12576
12577         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
12578
12579 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
12580
12581         * extend.texi (C++ Signatures): Remove node.
12582         * invoke.texi: Remove discussion of -fhandle-signatures,
12583         signature, sigof, __signature__, and __sigof__.
12584
12585 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
12586
12587         * Makefile.in (JAVAGC): Removed.
12588
12589 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12590
12591         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12592
12593 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12594
12595         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12596
12597 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
12598
12599         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
12600         a register that is already known to be a pointer.
12601
12602 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
12603
12604         * fixinc/inclhack.tpl: Only install assert.h conditionally.
12605         * fixinc/inclhack.sh: Regenerated.
12606         * fixinc/fixincl.sh: Regenerated.
12607
12608 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
12609
12610         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
12611         Fix documentation of -ansi flag to describe its C++ behavior.
12612         Remove bogus reference to GCC 2.9.
12613
12614 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
12615
12616         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
12617         note if it is non-NULL.
12618
12619 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12620
12621         * except.h (eh_nesting_info): Add new structure defintion.
12622         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
12623         (reachable_handlers, update_rethrow_references): Add function
12624         prototypes.
12625         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
12626         a rethrow symbol instead of an integer exception region number.
12627         * flow.c (Make_edges): Use new exception nesting routines to determine
12628         which handlers are reachable from a CALL or asynchronous insn.
12629         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
12630         goto receivers.
12631         (delete_eh_regions): Update rethrow labels, and don't delete
12632         regions which are the target of a rethrow.
12633         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
12634         avoid overloading the SYMBOL_REF_USED flag.
12635         (rethrow_symbol_map): Use new rethrow_ref field.
12636         (rethrow_used): Use new rethrow_ref field.
12637         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
12638         of an integer.  Fix formatting.
12639         (output_exception_table_entry): Use new rethrow_ref field.
12640         (can_throw): Check for EH_REGION_NOTE before deciding
12641         whether a CALL can throw or not.
12642         (scan_region): Call rethrow_used() instead of accessing data structure.
12643         (update_rethrow_references): New function to make sure only regions
12644         which are still targets of a rethrow are flagged as such.
12645         (process_nestinfo): New static function to initialize a handler
12646         list for a specific region.
12647         (init_eh_nesting_info): New function to allocate and initialize
12648         the list of all EH handlers reachable from all regions.
12649         (reachable_handlers): New function to retrieve the list of handlers
12650         reachable from a specific region and insn.
12651         (free_eh_nesting_info): New function to dispose of a list of
12652         reachable handlers.
12653
12654 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12655
12656         * flow.c (split_edge): Set JUMP_LABEL field.
12657         (commit_one_edge_insertion): Set head correctly for insert_before.
12658         When inserting insns, update insn block numbers if allocated.
12659
12660 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12661
12662         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
12663         retry_incomplete_types): Add static prototype.
12664         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
12665         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
12666         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
12667         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
12668         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
12669         Constify a char*.
12670
12671         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
12672         dwarf2out_start_source_file, dwarf2out_line): Likewise.
12673
12674 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12675
12676         * output.h (assemble_name): Constify a char*.
12677
12678         * varasm.c (UNIQUE_SECTION, assemble_start_function,
12679         assemble_variable, assemble_name): Likewise.
12680
12681         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
12682
12683         * arm/pe.c (arm_pe_unique_section): Likewise.
12684
12685         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
12686
12687         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
12688
12689         * i386/interix.c (i386_pe_unique_section): Likewise.
12690
12691         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
12692
12693         * i386/winnt.c (i386_pe_unique_section): Likewise.
12694
12695         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
12696
12697         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
12698
12699         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
12700
12701         * pa/pa.c (output_call): Likewise.
12702
12703         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
12704
12705         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
12706
12707         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
12708         Likewise.
12709
12710         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
12711         Likewise.
12712
12713         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
12714
12715         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
12716         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
12717
12718         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
12719
12720 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12721
12722         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
12723
12724 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12725
12726         * tree.h (lang_identify): Constify a char*.
12727         (print_error_function): Add extern prototype.  Constify a char*.
12728
12729         * c-lang.c (lang_identify): Constify a char*.
12730
12731         * objc/objc-act.c (lang_identify): Constify a char*.
12732
12733 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12734
12735         * genpeep.c (main): Make generated file include "function.h".
12736         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
12737
12738 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12739
12740         * Makefile.in: Update dependencies.
12741         * alias.c: Include "function.h"
12742         * c-decl.c: Likewise.
12743         * caller-save.c: Likewise.
12744         * calls.c: Likewise.
12745         * combine.c: Likewise.
12746         * cse.c: Likewise.
12747         * explow.c: Likewise.
12748         * final.c: Likewise.
12749         * global.c: Likewise.
12750         * graph.c: Likewise.
12751         * local-alloc.c: Likewise.
12752         * loop.c: Likewise.
12753         * optabs.c: Likewise.
12754         * profile.c: Likewise.
12755         * recog.c: Likewise.
12756         * regclass.c: Likewise.
12757         * regmove.c: Likewise.
12758         * reload.c: Likewise.
12759         * reorg.c: Likewise.
12760         * resource.c: Likewise.
12761         * sched.c: Likewise.
12762         * stupid.c: Likewise.
12763         * config/1750a/1750a.c: Likewise.
12764         * config/a29k/a29k.c: Likewise.
12765         * config/arc/arc.c: Likewise.
12766         * config/arm/arm.c: Likewise.
12767         * config/arm/thumb.c: Likewise.
12768         * config/c4x/c4x.c: Likewise.
12769         * config/clipper/clipper.c: Likewise.
12770         * config/convex/convex.c: Likewise.
12771         * config/fx80/fx80.c: Likewise.
12772         * config/i860/i860.c: Likewise.
12773         * config/m68k/m68k.c: Likewise.
12774         * config/m88k/m88k.c: Likewise.
12775         * config/mips/mips.c: Likewise.
12776         * config/pdp11/pdp11.c: Likewise.
12777         * config/pyr/pyr.c: Likewise.
12778         * config/romp/romp.c: Likewise.
12779         * config/sh/sh.c: Likewise.
12780         * config/tahoe/tahoe.c: Likewise.
12781         * config/vax/vax.c: Likewise.
12782         * config/we32k/we32k.c: Likewise.
12783         * config/sparc/sparc.c: Include "function.h".
12784         (mem_min_alignment): Test current_function rather than
12785         regno_pointer_align.
12786         * config/pa/pa.c: Likewise.
12787         (compute_frame_size): Delete declaration of
12788         current_function_outgoing_args_size.
12789         * config/arc/arc.h (current_function_varargs): Delete declaration.
12790         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
12791         declaration.
12792         * config/i370/i370.h (current_function_outgoing_args_size): Delete
12793         declaration.
12794         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
12795         current_function_uses_pic_offset_table.
12796         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
12797         of current_function_returns_pointer.
12798         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12799         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12800         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12801         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12802         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12803         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12804         * config/m88k/m88k.c: Include "function.h"
12805         (call_used_regs, current_function_pretend_args_size,
12806         current_function_outgoing_args_size, frame_pointer_needed): Delete
12807         declarations.
12808         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
12809         declaration.
12810         * config/mips/mips.h (current_function_calls_alloca): Delete
12811         declaration.
12812         * config/mn10200/mn10200.h (current_function_needs_context,
12813         rtx_equal_function_value_matters): Delete declarations.
12814         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
12815         flag_pic): Delete declarations.
12816         * config/pa/pa.h (current_function_pretend_args_size,
12817         current_function_decl): Delete declarations.
12818         * config/pa/som.h (current_function_varargs): Delete declaration.
12819         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
12820         declaration.
12821         * config/pyr/pyr.h (current_function_pretend_args_size,
12822         current_function_args_size, current_function_calls_alloca): Delete
12823         declarations.
12824         * config/sh/sh.h (current_function_varargs): Delete declaration.
12825         * config/sparc/sparc.h (current_function_outgoing_args_size,
12826         current_function_calls_alloca, current_function_decl): Delete
12827         declarations.
12828         * config/spur/spur.h (current_function_pretend_args_size,
12829         current_function_calls_alloca): Delete declarations.
12830         * config/v850/v850.c (current_function_outgoing_args_size): Delete
12831         declaration.
12832         * config/vax/vms.h (current_function_name): Delete declaration.
12833         * gcse.c: Include "function.h".
12834         (current_function_name, current_function_calls_setjmp): Delete
12835         declarations.
12836         * haifa-sched.c: Include "function.h".
12837         (forced_labels): Delete declaration.
12838         * jump.c: Likewise.
12839         * reg-stack.c: Likewise.
12840         * reload1.c: Likewise.
12841         * genemit.c (main): Make generated file include function.h.
12842         * genoutput.c (output_prologue): Likewise.
12843
12844         * builtins.c (saveregs_value, apply_args_value): Delete variables.
12845         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
12846         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
12847         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
12848         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
12849         macros for some of them.
12850         (emit_filename, emit_lineno): Delete declarations.
12851         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
12852         regno_pointer_* variables through current_function.
12853         (gen_inline_header_rtx): Delete function.
12854         (save_emit_status): Delete function.
12855         (set_new_last_label_num): New function.
12856         (clear_emit_caches): New function.
12857         (restore_emit_status): Just clear last_labelnum and call
12858         clear_emit_caches.
12859         (get_last_insn_anywhere): Variable sequence_stack is now accessed
12860         through macro seq_stack.
12861         (add_insn_after): Likewise.
12862         (add_insn_before): Likewise.
12863         (remove_insn): Likewise.
12864         (pop_topmost_sequence): Likewise.
12865         (in_sequence_p): Likewise.
12866         (start_sequence_for_rtl_expr): Likewise.
12867         (start_sequence): Likewise, and likewise for
12868         sequence_rtl_expr/seq_rtl_expr.
12869         (push_topmost_sequence): Likewise.
12870         (end_sequence): Likewise.
12871         (init_virtual_regs): Now takes a "struct emit_status *" argument.
12872         All callers changed.  Store into that pointer instead of globals.
12873         (init_emit): Allocate emit elt of current_function.
12874         Changes for sequence_rtl_expr/sequence_stack renaming.
12875         Call clear_emit_caches instead of doing it in-line.
12876         Access regno_pointer_* variables through current_function.
12877         (init_emit_once) Don't clear sequence_stack.
12878
12879         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
12880         Delete variables.
12881         (arg_pointer_save_area): Delete declaration.
12882         (finish_expr_for_function): Renamed from init_queue; no longer static.
12883         (init_expr): Don't call init_queue.
12884         (save_expr_status, restore_expr_status): Delete functions.
12885         (expand_expr): Changes to reflect new layout of struct function.
12886         Don't access current_function_check_memory_usage when current_function
12887         is 0.
12888         * expr.h (forced_labels, save_expr_regs, saveregs_value,
12889         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
12890         current_function_outgoing_args_size, current_function_arg_offset_rtx,
12891         current_function_uses_const_pool, function_call_count,
12892         current_function_uses_pic_offset_table, nonlocal_labels,
12893         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
12894         current_function_check_memory_usage, nonlocal_goto_handler_slots,
12895         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
12896         declarations.
12897         (finish_expr_for_function): Declare.
12898         * flags.h (current_function_has_nonlocal_label,
12899         current_function_has_nonlocal_goto, current_function_is_thunk,
12900         current_function_has_computed_jump): Delete declarations.
12901         * flow.c (forced_labels): Delete declaration.
12902         * function.c (current_function_pops_args,
12903         current_function_returns_struct, current_function_returns_pcc_struct,
12904         current_function_needs_context, current_function_calls_setjmp,
12905         current_function_calls_longjmp, current_function_has_nonlocal_label,
12906         current_function_has_nonlocal_goto, current_function_is_thunk,
12907         current_function_has_computed_jump, current_function_calls_alloca,
12908         current_function_contains_functions, current_function_returns_pointer,
12909         current_function_epilogue_delay_list, current_function_args_size,
12910         current_function_pretend_args_size, current_function_arg_offset_rtx,
12911         current_function_outgoing_args_size, current_function_varargs,
12912         current_function_stdarg, current_function_args_info, cleanup_label,
12913         current_function_name, current_function_uses_const_pool,
12914         current_function_instrument_entry_exit, current_function_return_rtx,
12915         current_function_uses_pic_offset_table, nonlocal_labels,
12916         current_function_internal_arg_pointer, current_function_cannot_inline,
12917         current_function_check_memory_usage, function_call_count,
12918         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
12919         nonlocal_goto_stack_level, return_label, save_expr_regs,
12920         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
12921         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
12922         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
12923         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
12924         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
12925         Delete variables.
12926         (push_function_context_to): Don't save them.  Don't call
12927         save_storage_status, save_emit_status or save_expr_status.
12928         (pop_function_context_from): Don't restore them.  Don't call
12929         restore_storage_status or restore_expr_status.
12930         (get_func_frame_size): New function.
12931         (get_frame_size): Use it.
12932         (assign_outer_stack_local): Reflect some member name changes in struct
12933         function.
12934         (put_reg_into_stack): Likewise.
12935         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
12936         seq_rtl_expr.
12937         (fixup_var_refs): Likewise.
12938         (fix_lexical_addr): Likewise.
12939         (trampoline_address): Likewise.
12940         (prepare_function_start): Clear field inlinable of current_function.
12941         (init_function_for_compilation): New function.
12942         (expand_dummy_function_end): New function.
12943         (expand_function_end): Call finish_expr_for_function.
12944         * function.h (struct emit_status): New; fields moved here from struct
12945         function and from global variables.  Add accessor macros for some of
12946         the fields.
12947         (struct expr_status): Likewise.
12948         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
12949         (struct function): Add fields expr and emit, inlinable, inl_emit,
12950         original_arg_vector, original_decl_initial, inl_last_parm_insn,
12951         inl_max_label_num.  Add many comments.
12952         Add accessor macros for all elts of struct function that no longer
12953         have a global variable.
12954         (cleanup_label, return_label, frame_offset, tail_recursion_label,
12955         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
12956         stack_slot_list): Delete declarations.
12957         (get_func_frame_size): Declare.
12958         (save_expr_status, restore_expr_status, save_emit_status,
12959         save_storage_status, restore_storage_status): Delete declarations.
12960         (init_virtual_regs): Declare.
12961         * output.h (current_function_pops_args,
12962         current_function_returns_struct, current_function_returns_pcc_struct,
12963         current_function_needs_context, current_function_calls_setjmp,
12964         current_function_calls_longjmp, current_function_calls_alloca,
12965         current_function_has_nonlocal_label, current_function_varargs,
12966         current_function_has_computed_jump, current_function_returns_pointer,
12967         current_function_contains_functions, current_function_args_size,
12968         current_function_pretend_args_size, current_function_stdarg,
12969         current_function_outgoing_args_size, current_function_args_info,
12970         current_function_name, current_function_return_rtx,
12971         current_function_epilogue_delay_list,
12972         current_function_uses_const_pool, current_function_cannot_inline):
12973         Delete declarations.
12974         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
12975         regno_reg_rtx): Delete declaration.
12976         (REGNO_POINTER_FLAG): Delete macro.
12977         * stmt.c (expand_goto): Changes to reflect that some fields in struct
12978         function were renamed.
12979         * stor-layout.c (save_storage_status, restore_storage_status): Delete
12980         functions.
12981         * toplev.c: Include "function.h".
12982         (current_function_decl): Delete declaration.
12983         (compile_file): Call init_dummy_function_start and
12984         expand_dummy_function_end around some initializations that need to
12985         emit rtl.
12986         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
12987         Call init_function_for_compilation.
12988         * unroll.c: Include "function.h"
12989         (unroll_loop): Access regno_pointer_* variables through
12990         current_function.
12991
12992         * tree.h (struct tree_decl): Add elt f to saved_insns member.
12993         (DECL_SAVED_INSNS): use it.
12994         (expand_dummy_function_end): Declare.
12995         (init_function_for_compilation): Declare.
12996         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
12997         that it's no longer an INLINE_HEADER.
12998         (expand_call): Likewise.
12999         * integrate.c (finish_inline): Delete function.
13000         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
13001         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
13002         args.  Don't generate an INLINE_HEADER rtx, just return the arg
13003         vector.  All callers changed.
13004         (save_for_inline_copying):  Create a duplicate struct emit_status to
13005         hold the emit state for compiling the current function.  Use this and
13006         the other new fields in struct function that are for integration
13007         instead of an INLINE_HEADER.
13008         Use memcpy instead of bcopy.
13009         Store the current struct function in DECL_SAVED_INSNS of fndecl.
13010         (save_for_inline_nocopy): Similar changes, except no new emit_status
13011         is needed here.
13012         (expand_inline_function): Get information from function structure,
13013         not from an inline header rtx.
13014         (output_inline_function): Lose code to extract the necessary
13015         information from an inline header; simply put back the function
13016         structure into current_function.  Clear its inlinable elt.
13017         * rtl.def (INLINE_HEADER): Delete.
13018         * rtl.h: Delete all accessors for an INLINE_HEADER.
13019         (gen_inline_header_rtx): Delete declaration.
13020         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
13021         Delete declarations.
13022         (REGNO_POINTER_ALIGN): Delete.
13023         (clear_emit_caches): Declare.
13024         (set_new_last_label_num): Declare.
13025
13026 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
13027
13028         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
13029
13030         * except.c (expand_eh_region_start_for_decl): Always start a new block.
13031         * stmt.c (is_eh_region): Make sure current_function is present, too.
13032
13033 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
13034
13035         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
13036         for 64bit PA targets.
13037
13038         * pa.h (SELECT_SECTION): Define.
13039         * som.h (SELECT_SECTION): Delete.
13040
13041 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13042
13043         * alias.c (init_alias_analysis): Wrap call to
13044         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
13045
13046 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
13047
13048         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
13049         <sys/asm.h> contains an asm comment with an apostrophe
13050         * fixinc/inclhack.sh:  regen
13051         * fixinc/fixincl.x:  regen
13052
13053 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
13054
13055         * function.c (init_function_start): Clear prologue & epilogue.
13056         (prologue_epilogue_contains): New function.
13057         * alias.c (init_alias_analysis): Use it.
13058         * rtl.h (prologue_epilogue_contains): Declare it.
13059
13060 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
13061
13062         * jump.c (onlyjump_p): New function.
13063         * rtl.h: Declare it.
13064         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
13065         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
13066
13067 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
13068
13069         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
13070         to invert loops.  Simplify block scanning.
13071
13072 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
13073
13074         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
13075         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
13076
13077 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13078
13079         * config/sparc/liteelf.h: New file to support sparclite-elf target
13080         * config/sparc/t-sp86x: New file to support sparc86x targets
13081         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
13082         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
13083         * configure.in: Support above target triplets
13084         * configure: Regenerated
13085
13086 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
13087
13088         * fixinc/server.c (server_setup): Do not prefix function used as
13089         parameter with `&'.
13090
13091 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
13092
13093         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
13094         Remove fp reg alternatives.
13095
13096 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
13097
13098         * Makefile.in (TAROUTOPTS): Kill.
13099         (install-headers-tar): Use "xpf" for tar headerfile extraction
13100         * i370/x-oe (TAROUTOPTS): Delete.
13101         * m68k/x-apollo68 (TAROUTOPTS): Delete.
13102         * m68k/x-hp320 (TAROUTOPTS): Delete.
13103         * m68k/x-hp320g (TAROUTOPTS): Delete.
13104         * gcc.texi: Update bug reporting text.
13105
13106 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13107
13108         * reg-stack.c (change_stack) Fixed problem with negative array index.
13109
13110 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
13111
13112         * extend.texi, install.texi: Fix spelling mistakes.
13113
13114         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
13115         (s-attrtab); No longer try to use pre-made insn-attrtab file.
13116         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
13117         PREMADE_ATTRTAB_MD.
13118         * mips/t-ecoff: Likewise.
13119         * mips/t-elf: Likewise.
13120         * mips/t-mips: Likewise.
13121         * mips/t-osfrose: Likewise.
13122         * mips/t-r3900: Likewise.
13123         * mips/t-svr3: Likewise.
13124         * mips/t-svr4: Likewise.
13125         * mips/t-ultrix: Likewise.
13126
13127         * gcc.texi: Document recommend means to provide software floating
13128         point libraries in libgcc.a
13129
13130 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
13131
13132         * c-lex.c (yylex): We can have a number with no digits.
13133
13134 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
13135
13136         * jump.c (delete_prior_computation): New function, broken
13137         out of delete_computation.  Check for side effects with
13138         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
13139         multi-word hard registers.
13140         (delete_computation): Use it.  Check for side effects with
13141         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
13142         missing REG_DEAD note for a register which is both set and
13143         used by an insn.
13144
13145 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
13146
13147         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
13148         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
13149         (ASM_FILE_START): Import _mcount with the right type.
13150         (ASM_DECLARE_FUNCTION_NAME): Define.
13151         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
13152         * pa.c (output_function_prologue): Always emit the function's label
13153         here.
13154         * pa.h (TEXT_SPACE_P): Define.
13155         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13156         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
13157         * som.h (TEXT_SPACE_P): Delete.
13158         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13159         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
13160
13161 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
13162
13163         * expr.c (emit_group_load): Allow src to be a CONCAT.
13164
13165 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13166
13167         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
13168         (___mulsi3): Use '!' comment character.
13169
13170 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13171
13172         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
13173
13174 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
13175
13176         * gcc.c: Update URLs and mail addresses.
13177         * gcc.texi: Likewise.
13178
13179 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
13180
13181         * rs6000.c (current_file_function_operand): Return zero for
13182         weak functions.
13183         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
13184         weak symbols.
13185         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
13186         for weak symbols.
13187
13188 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
13189
13190         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
13191         allocate space in the stack frame for the PIC register.
13192
13193 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
13194
13195         * m68k.md (xordi3, anddi3): These patterns are not available on
13196         the coldfire.
13197
13198 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
13199
13200         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
13201         (PUT_REAL): Likewise.
13202
13203 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13204
13205         * final.c (shorten_branches): Don't add an alignment for loops
13206         that have no label inside.
13207
13208 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13209
13210         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
13211         prototypes in macro HAVE_cmpstrsi.
13212
13213         * cpplib.c (cpp_get_token): Remove unused label `op3'.
13214
13215         * emit-rtl.c (operand_subword): Remove unused variable
13216         `bits_per_word'.
13217
13218         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
13219
13220         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
13221
13222 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
13223
13224         * cpphash.c (macroexpand): Delete leading whitespace when arg
13225         is concatenated before.
13226         (unsafe_chars): Correct test for whether + and - can extend a
13227         token.
13228
13229         * cppinit.c (cpp_start_read): Do dependencies for
13230         -include/-imacros files also.
13231
13232         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
13233         tokenizing non-directive lines.
13234         (cpp_expand_to_buffer): Temporarily disable no-output mode.
13235         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
13236         the input file.
13237
13238 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
13239
13240         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
13241
13242         * c-lex.c: Sync with C++ frontend.
13243         (linemode): New variable.
13244         (parse_float): imag, conversion_errno, and type are output only.
13245         (yylex): Adjust.  Move initial '.' case into main switch.
13246         Use linemode.
13247         (handle_generic_pragma): Just deal with tokens.
13248         (readescape): Use ISXDIGIT and ISGRAPH.
13249         * c-parse.in: Add END_OF_LINE token.
13250
13251         * c-lex.c (lang_init): Generalize.
13252         (nextchar): Remove.  Replace uses with UNGETC.
13253         (skip_white_space): Handle linemode here.  Optimize for cpplib.
13254         (skip_white_space_on_line): Remove.
13255         (extend_token_buffer_to): New fn.
13256         (extend_token_buffer): Use it.
13257         (read_line_number, check_newline): Just deal with tokens.
13258         (token_getch, token_put_back): New fns.
13259         (yylex): Use them.  More cpplib optimizations.  Simplify.
13260
13261 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
13262                           Jason Merrill  <jason@yorick.cygnus.com>
13263
13264         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
13265         (consume_string): Make this smart about USE_CPPLIB.
13266         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
13267         (yylex): Rewrite to be intelligent about USE_CPPLIB.
13268         Also, clean up cases where we redundantly set token_buffer[0].
13269         (read_line_number): New fn.
13270         (ignore_escape_flag): New variable.
13271
13272 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
13273
13274         * a29k/t-a29kbare: Fix some comments.
13275         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
13276         (FPBIT, DPBIT): Define.
13277         * a29k/t-vx29k: Likewise.
13278         * arc/t-arc: Likewise.
13279         * arm/t-arm-elf: Likewise.
13280         * arm/t-bare: Likewise.
13281         * arm/t-pe: Likewise.
13282         * arm/t-pe-thumb: Likewise.
13283         * arm/t-semi: Likewise.
13284         * arm/t-thumb: Likewise.
13285         * arm/t-thumb-elf: Likewise.
13286         * arm/t-thumb-linux: Likewise.
13287         * h8300/t-h8300: Likewise.
13288         * i960/t-i960: Likewise.
13289         * i960/t-vxworks960: Likewise.
13290         * m32r/t-m32r: Likewise.
13291         * mips/t-ecoff: Likewise.
13292         * mips/t-elf: Likewise.
13293         * mips/t-r3900: Likewise.
13294         * pa/t-pro: Likewise.
13295         * rs6000/t-aix43: Likewise.
13296         * rs6000/t-beos: Likewise.
13297         * rs6000/t-newas: Likewise.
13298         * rs6000/t-ppccomm: Likewise.
13299         * rs6000/t-rs6000: Likewise.
13300         * rs6000/t-winnt: Likewise.
13301         * rs6000/t-xnewas: Likewise.
13302         * rs6000/t-xrs6000: Likewise.
13303         * sh/t-sh: Likewise.
13304         * sparc/t-elf: Likewise.
13305         * sparc/t-sparcbare: Likewise.
13306         * sparc/t-sparclite: Likewise.
13307         * sparc/t-splet: Likewise.
13308         * v850/t-v850: Likewise.
13309         * mn10200/t-mn10200: Fix comments.
13310         * mn10300/t-mn10300: Likewise.
13311
13312         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
13313         dummy operand.  Allocate a new pseudo for the dummy operand.
13314         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
13315
13316         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
13317
13318 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
13319
13320         * configure: Rebuilt.
13321         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
13322
13323 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
13324
13325         * recog.c (preproces_constraints): Zero recog_op_alt before
13326         processing the constraints.
13327
13328         * arm.c (typedef minipool_node): Renamed from pool_node.
13329         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
13330         (add_minipool_constant): New function.
13331         (dump_minipool): New function.
13332         (find_barrier): Remove special case for getting the insn size of
13333         an insn that references the constant pool.
13334         (minipool_fixup): New structure.
13335         (push_minipool_barrier): New function.
13336         (push_minipool_fix): New function.
13337         (note_invalid_constants): New function.
13338         (add_pool_constant, dump_table, fixit, broken_move): Delete.
13339         (arm_reorg): Rewrite code to fix up the constant pool into a
13340         series of mini-pools embedded in the insn stream.
13341         (arm_output_epilogue): New function, made mainly from the body
13342         of output_func_epilogue.
13343         (output_func_epilogue): Move insn generation part of epilogue code
13344         to arm_output_epilogue.
13345         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
13346         * arm.md (pool_range): New attribute.
13347         (zero_extendqidi2): Add attribute pool_range.
13348         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
13349         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
13350         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
13351         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
13352         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
13353         (epilogue): New expand.
13354         (epilogue_insn): New insn.  Call arm_output_epilogue.
13355
13356         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
13357         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
13358
13359 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
13360
13361         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13362
13363 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
13364
13365         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
13366
13367 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
13368
13369         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
13370
13371 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
13372
13373         * global.c: Fix comment.
13374
13375 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
13376
13377         * gcc.c (access_check): New static function.
13378         (find_a_file): Use it when searching a directory list.
13379         * collect2.c (find_a_file): Don't accept directories found when
13380         searching a directory list.
13381
13382 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
13383
13384         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
13385         function parameters with `&'.
13386         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
13387
13388 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
13389
13390         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
13391         or tidy_fallthru_edge if the last insn in the block is not
13392         an unconditional jump or a simple conditional jump.
13393
13394 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13395
13396         * Makefile.in (c-decl.o): Depends on defaults.h.
13397
13398 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
13399
13400         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
13401         PA1.1 and above.
13402         (CLASS_MAX_NREGS): Likewise.
13403
13404 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
13405
13406         * cse.c (cse_insn): Fix dumb thinko in last change.
13407
13408 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13409
13410         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
13411         "const char *".
13412
13413 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13414
13415         * dwarf2out.c (add_location_or_const_value_attribute): Correct
13416         test for sizes of passed and declared parameter types.
13417
13418 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13419
13420         * fixincludes: Fix the return type of bsearch, char* -> void*.
13421
13422         * fixinc/inclhack.def: Likewise.
13423
13424 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
13425
13426         * invoke.texi (-fdump-translation-unit): New option.
13427
13428 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
13429
13430         * expr.h (PROMOTE_PROTOTYPES): Move ...
13431         * defaults.h: ... to here.
13432         * c-decl.c: Include defaults.h instead of expr.h.
13433         * c-typeck.c: Include defaults.h.
13434
13435 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
13436
13437         * toplev.h (errorcount): Declare.
13438         (warningcount): Likewise.
13439         (sorrycount): Likewise.
13440         * c-lex.c (errorcount): Don't declare.
13441         * dwarf2out.c (errorcount): Don't declare.
13442
13443 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
13444
13445         * config/libgloss.h: Add a note discouraging use with ELF.
13446         * configure.in: Don't use libgloss.h for ELF targets.
13447         Always use_collect2 on a.out targets.
13448
13449 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
13450
13451         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
13452         (force_to_mode, case ASHIFTRT): Add shiftrt label.
13453
13454 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13455
13456         * loop.c (strength_reduce): When doing biv->giv conversion, update
13457         reg note of NEXT->insn.
13458
13459 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13460
13461         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
13462
13463 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13464
13465         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
13466         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
13467         Ensure expr.h is included.
13468         * c-typecheck.c (convert_arguments): Ditto.
13469
13470         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
13471
13472         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
13473         * config/convex/convex.h: Ditto.
13474         * config/dsp16xx/dsp16xx.h: Ditto.
13475         * config/fx80/fx80.h: Ditto.
13476         * config/gmicro/gmicro.h: Ditto.
13477         * config/i370/i370.h: Ditto.
13478         * config/i386/i386.h: Ditto.
13479         * config/m32r/m32r.h: Ditto.
13480         * config/m68k/m68k.h: Ditto.
13481         * config/m88k/m88k.h: Ditto.
13482         * config/mips/mips.h: Ditto.
13483         * config/pa/pa.h: Ditto.
13484         * config/pyr/pyr.h: Ditto.
13485         * config/tahoe/tahoe.h: Ditto.
13486         * config/we32k/we32k.h: Ditto.
13487
13488         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
13489         based on arch size.
13490
13491         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
13492
13493         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
13494         from comment.
13495
13496         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
13497
13498 1999-08-02  Richard Henderson  <rth@cygnus.com>
13499
13500         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
13501         for the register spill block.
13502         (m32r_va_arg): New.
13503         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
13504         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
13505
13506         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
13507         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
13508         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
13509
13510 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13511
13512         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
13513         MAX_WCHAR_TYPE defined in sparc.h.
13514         * config/sparc/linuxaout.h: Likewise.
13515         * config/sparc/linux64.h: Likewise.
13516         Also default to -mvis if CPU is UltraSPARC.
13517
13518 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13519
13520         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
13521         (RTX_OK_FOR_OLO10): Likewise.
13522         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
13523         %lo(), allow it in addresses...
13524         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
13525         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
13526         does not make sense.
13527         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
13528         (sparc_output_scratch_registers): New function.
13529         (output_function_prologue, sparc_flat_output_function_prologue): Use
13530         it.
13531         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
13532         defined.
13533         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
13534         * configure.in: Add check for .register pseudo-op support in as and
13535         check for offsetable %lo().
13536         * acconfig.h: Add templates for the above checks.
13537         * configure: Regenerate.
13538
13539 1999-08-02  Richard Henderson  <rth@cygnus.com>
13540
13541         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
13542         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
13543         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
13544
13545 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13546
13547         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
13548         reg_biv_class.
13549
13550 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13551
13552         * config/float-sparc.h: New file.
13553         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
13554         sparc-*-linux-gnu and sparc64-*-linux*.
13555
13556 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13557
13558         * rs6000.c (rs6000_va_list): Type is an array.
13559         (rs6000_va_start): Don't doubly adjust for varargs.
13560         (rs6000_va_arg): Evaluate long long GPR adjustment.
13561
13562 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
13563
13564         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
13565         -maix64 and -maix32.
13566         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
13567         LINK_SPEC): Change appropriately.
13568         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
13569         (u_short_cint_operand): Likewise.
13570         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
13571         for 64-bit hosts.
13572         * rs6000/t-aix43 (MULTILIB): Change to -m64.
13573
13574         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
13575
13576 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
13577
13578         * rs6000/rs6000.c (num_insns_constant_wide): Correct
13579         for type promotion.
13580         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
13581         (non_add_cint_operand): Likewise.
13582         (logical_operand): Likewise.
13583         (non_logical_cint_operand): Likewise.
13584         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
13585         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
13586         (rs6000_select_rtx_section): Suppress warning.
13587         (small_data_operand): Suppress warning.
13588         (rs6000_got_register): Suppress warning.
13589         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
13590         type, so `J' is generally the wrong constraint for a SImode value;
13591         use `L' instead.
13592         (andsi3_internal2): Likewise.
13593         (andsi3_internal3): Likewise.
13594         (iorsi3_internal1): Likewise.
13595         (xorsi3_internal1): Likewise.
13596         (movsi): Likewise.
13597         (movsf_softfloat): Likewise.
13598         (scc insns): Likewise.
13599         (movsi+2): Preserve sign bits of SImode constant.
13600         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
13601         (movdf+1): Sign-extend properly.
13602         (movdi_32+1): Sign-extend properly.
13603         (scc insns): Sign-extend properly.
13604
13605         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
13606         K, L, and T.
13607
13608 1999-08-02  Richard Henderson  <rth@cygnus.com>
13609
13610         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
13611         -mcpu parsing code.
13612         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
13613         * alpha.md (all fp insns): Likewise.
13614
13615 1999-08-02  Nick Clifton  <nickc@cygnus.com>
13616
13617         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
13618         already defined.
13619
13620 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
13621
13622         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
13623         pic_load_label generator directly.
13624         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
13625         No longer a named pattern.
13626
13627 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
13628
13629         * explow.c (force_reg): Call force_operand if X does not
13630         satisfy general_operand.
13631
13632 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
13633
13634         * fix-header.c (main): When testing for CONTINUED, use string
13635         equality, not pointer equality.
13636
13637 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
13638
13639         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
13640
13641 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
13642
13643         * cse.c (cse_insn): Fix loop which deletes insns after a jump
13644         that has become an unconditional jump.
13645
13646         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
13647         (output_function_epilogue): Similarly.
13648
13649 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13650
13651         * tree.h (init_dummy_function_start): Declare.
13652
13653 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13654
13655         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
13656         last_expr_type, last_expr_value, block_start_count, block_stack,
13657         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
13658         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
13659         dynamically in stmt elt of struct function for each function.
13660         (struct nesting): Rename function_call_count elt to n_function_calls,
13661         target_temp_slot_level to block_target_temp_slot_level.  All users
13662         changed.
13663         (struct stmt_status): New structure definition.
13664         Add many accessor macros for stmt_status elements which previously
13665         were global variables.
13666         (init_stmt_for_function): Allocate stmt elt for current_function.
13667         Reflect that block_start_count was renamed to
13668         current_block_start_count.
13669         (save_stmt_status, restore_stmt_status): Delete functions.
13670         (preserve_subexpressions_p): Don't access loop_stack when outside
13671         a function.
13672         (expand_start_bindings): Reflect that block_start_count was renamed to
13673         current_block_start_count.
13674         (expand_fixup): Likewise.
13675         (expand_decl): Don't access block_stack when outside a function.
13676         (expand_decl_cleanup): Likewise.
13677         (expand_dcc_cleanup): Likewise.
13678         (expand_dhc_cleanup): Likewise.
13679         (expand_anon_union_decl): Likewise.
13680         (set_file_and_line_for_stmt): New function.
13681         (in_control_zone_p): New function.
13682
13683         * function.h (struct function): Add new elt stmt.
13684         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
13685         case_stack, nesting_stack, nesting_depth, block_start_count,
13686         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
13687         emit_lineno, goto_fixup_chain.
13688         (save_eh_status, restore_eh_status, save_stmt_status,
13689         restore_stmt_status): Delete declarations.
13690         * function.c (push_function_context_to): Don't call save_stmt_status.
13691         (pop_function_context_to): Don't call restore_stmt_status.
13692         * tree.h (in_control_zone_p): Declare.
13693         * rtl.h (set_file_and_line_for_stmt): Declare.
13694
13695         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
13696         call set_file_and_line_for_stmt.
13697
13698 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
13699
13700         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
13701         Also update copyright.
13702
13703 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13704
13705         * c-pragma.c: Don't include "except.h".
13706         * emit-rtl.c: Likewise.
13707         * stor-layout.c: Likewise.
13708         * tree.c: Likewise.
13709         * varasm.c: Likewise.
13710
13711         * flow.c: Include "function.h".
13712         * tree.h (init_dummy_function_start): Declare new function.
13713
13714         * except.h (struct eh_status): New structure.
13715         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
13716         been included.
13717         (eh_return_stub_label, ehstack, catchstack, ehqueue,
13718         catch_clauses, false_label_stack, caught_return_label_stack,
13719         protect_list, current_function_ehc): Add accessor macros for the
13720         corresponding fields in current_function->eh; delete declarations
13721         for all items that used to be declared here.
13722         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
13723         catch_clauses, false_label_stack, caught_return_label_stack,
13724         protect_list, current_function_ehc): Delete variables.
13725         (init_eh_for_function): Allocate current_function->eh.
13726         (save_eh_status, restore_eh_status): Delete functions.
13727
13728         * function.h (struct function): Add fields next_global and eh.
13729         Delete all exception handling related fields.
13730         * function.c (current_function): New variable.
13731         (all_functions): New variable.
13732         (push_function_context_to): Don't allocate a struct function,
13733         use current_function instead.  Call init_dummy_function_start when
13734         outside a function.  Clear current_function before returning.
13735         (pop_function_context_from): Restore current_function.
13736         Don't free the restored struct function.
13737         (prepare_function_start): New function.
13738         (init_dummy_function_start): New function.
13739         (init_function_start): Break out some code into prepare_function_start
13740         and call it here.
13741
13742         * stmt.c (save_stmt_status): Don't call save_eh_status.
13743         (restore_stmt_status): Don't call restore_eh_status.
13744
13745         * Makefile.in: Update dependencies.
13746
13747 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
13748
13749         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
13750         of depending on a magic constant value.  Update comments.
13751         (hppa_expand_prologue): Similarly.
13752
13753         * pa.md (reload_indi, reload_outdi): Allow any register for the
13754         original reload register.
13755
13756 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
13757
13758         * cccp.c (print_help): Change marcos to macros.
13759
13760 1999-07-30  Richard Henderson  <rth@cygnus.com>
13761
13762         * c-typeck.c (initializer_constant_valid_p): Move ...
13763         * c-common.c (initializer_constant_valid_p): ... here.  Use
13764         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
13765         of label addresses.
13766         * c-common.h (initializer_constant_valid_p): Declare.
13767         * c-tree.h (initializer_constant_valid_p): Remove.
13768
13769 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
13770
13771         * config/i386/sol2-c1.asm: Align the stack.
13772         * config/i386/sol2-gc1.asm: Likewise.
13773
13774 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
13775
13776         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
13777         -Asparclite for sparc86x.
13778         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
13779         sparc86x.
13780         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
13781
13782 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
13783
13784         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
13785         the user if using the non-default arch size in BI_ARCH configuration.
13786         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
13787
13788         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
13789         Fix patterns so that they actually match.
13790         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
13791         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
13792         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
13793         TARGET_HARD_MUL32.
13794         (mulsidi3): Reflect this in the expand.
13795         (smulsi3_highpart): Only on TARGET_ARCH32.
13796         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
13797         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
13798         (umulsidi3): Reflect this in the expand.
13799         (umulsi3_highpart): Only on TARGET_ARCH32.
13800         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
13801         don't require g0 to be zero.
13802         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
13803         ({,u}divsi3): New expands.
13804         ({,u}divsi3_sp64): New patterns.
13805         (after lshrdi3_v8plus): Four new patterns to help combiner
13806         optimizing nested mixed mode shifts.
13807
13808         * config/sparc/sparc.c (sparc_override_options): Use deprecated
13809         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
13810         speed things up. Don't use them by default on plain v9 in 64bit
13811         mode, according to what SPAMv9 sais.
13812
13813         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
13814         top 32 bits of %[og][0-7] in signal handlers.
13815         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
13816
13817 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
13818
13819         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
13820         (ashlsi3): Corresponding changes.
13821
13822         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
13823
13824 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
13825
13826         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
13827
13828 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13829
13830         * arm.h (Hint): Delete macro.
13831         Substitute HOST_WIDE_INT for Hint in some prototypes.
13832         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
13833
13834 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
13835
13836         * builtins.c (expand_builtin_setjmp): Use force_operand to
13837         make sure that the buffer address is in a suitable form to be
13838         passed to force_reg.
13839
13840 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
13841
13842         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
13843         them here.
13844
13845 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
13846
13847         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
13848         proper mode in the condition string.
13849         (icacheflush, dcacheflush): Remove modes from match_operands.
13850
13851         * pa.c (emit_move_sequence): Always convert scratch_reg to the
13852         proper mode before using it.
13853
13854         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
13855         pair.
13856
13857         * pa.c (store_reg): Do not call add_high_const generator directly.
13858         (load_reg, set_reg_plus_d): Likewise.
13859         * pa.md (add_high_const): No longer a named pattern.
13860
13861         * pa.c (legitimize_address): Consistently use Pmode rather than
13862         SImode.  Do not call gen_pic2_highpart directly anymore.
13863         * pa.md (pic2_highpart): No longer a named pattern.
13864         (pic2_lo_sum): Similarly.  Reformat to make more readable.
13865
13866         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
13867         needed.
13868
13869         * README: Update.
13870
13871 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13872
13873         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
13874
13875 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
13876
13877         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
13878         and tag the spill mems.
13879         (hppa_va_start): New.
13880         (hppa_va_arg): New.
13881         * pa.h (EXPAND_BUILTIN_VA_START): New.
13882         (EXPAND_BUILTIN_VA_ARG): New.
13883
13884 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
13885
13886         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
13887         and tag the spill mems.
13888         (mn10300_va_start): New.
13889         (mn10300_va_arg): New.
13890         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
13891         (EXPAND_BUILTIN_VA_ARG): New.
13892
13893 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
13894
13895         * mn10200.c (mn10200_va_arg): New.
13896         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
13897
13898 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
13899
13900         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
13901         rather than play with TREE_INT_CST_LOW.
13902
13903 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
13904
13905         * config/arm/telf.h: Include dbxelf.h.
13906         (CPP_PREDEFINES): Only define if not already defined.
13907         (ASM_IDENTIFY_GCC): Likewise.
13908         (SUBTARGET_EXTRA_SECTIONS): Likewise.
13909         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
13910         * config/arm/thumb.h (LINK_SPEC): Only define if not already
13911         defined.
13912         (DBX_DEBUGGING_INFO): Don't define.
13913         * config/arm/linux-telf.h: New file.
13914         * config/arm/linux-tgas.h: New file.
13915         * config/arm/t-thumb-linux: New file.
13916         * config/arm/uclinux-elf.h: New file.
13917         * config/arm/uclinux-telf.h: New file.
13918         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
13919         thumb-*-uclinux): New targets.
13920         * configure: Regenerate.
13921
13922 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
13923
13924         * pa.md (post_store, pre_load): New expanders.
13925         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
13926         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
13927         need to directly generate RTL for them.
13928         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
13929         changes.
13930
13931 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
13932
13933         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
13934         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
13935         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
13936         (secndary_reload_class): Make TARGET_ELF conditional compile.
13937         (print_operand_address): Similar.
13938         (output_toc): Print all values as hex.
13939         (get_issue_rate): Rearrange and add RS64A and PPC630.
13940         * rs6000.h (processor_type): Add RS64A and PPC630.
13941         (PROCESSOR_POWERPC64): New.
13942         (PROMOTE_MODE): Use word_mode.
13943         (RTX_COSTS): Add RS64A and PPC630.
13944         * rs6000.md (scheduling information): Add lmul and ldiv
13945         representing 64-bit integer multiply and divide.  Add rs64a and
13946         PPC630 information.
13947         (ashldi3): Add support for "rldic" instruction.
13948         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
13949
13950 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
13951
13952         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
13953         instead of V8 for sparclite86x in cpu_table.
13954
13955 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13956
13957         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
13958         output_file_directive.
13959
13960 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
13961
13962         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
13963         tree for op1, not the rtl.
13964
13965 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
13966
13967         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
13968         to m88k_va_start, leaving only the register spill.
13969         (m88k_build_va_list): New.
13970         (m88k_va_start): New.
13971         (m88k_va_arg): New.
13972         * m88k.h (BUILD_VA_LIST_TYPE): New.
13973         (EXPAND_BUILTIN_VA_START): New.
13974         (EXPAND_BUILTIN_VA_ARG): New.
13975
13976 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
13977
13978         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
13979         Rename from expand_builtin_saveregs.
13980         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
13981
13982 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
13983
13984         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
13985         for the register spill block.
13986         (i960_build_va_list): New.
13987         (i960_va_start): New.
13988         (i960_va_arg): New.
13989         * i960.h (BUILD_VA_LIST_TYPE): New.
13990         (EXPAND_BUILTIN_VA_START): New.
13991         (EXPAND_BUILTIN_VA_ARG): New.
13992         * i960.md (store_multiple): Use change_address on individul mems.
13993
13994 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
13995
13996         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
13997         an ARRAY_TYPE.
13998         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
13999         (expand_builtin_va_end): Evaluate arg for side effects.
14000         * c-common.c (c_common_nodes_and_builtins): Construct a
14001         va_list_arg_type_node to handle array decomposition to pointer.
14002
14003 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
14004
14005         * except.c (start_dynamic_cleanup): Use force_operand on the
14006         buffer's address.
14007
14008 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
14009
14010         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
14011         * c4x.c (c4x_va_arg): New.
14012
14013 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
14014
14015         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
14016         has manual_pop set.
14017
14018 1999-07-26  Nathan Sidwell  <nathan@acm.org>
14019
14020         * eh-common.h (__eh_matcher): Prototype correctly.
14021
14022 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
14023
14024         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
14025         (TARGET_SINGLE_PIC_BASE): Likewise.
14026         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
14027         definitions.
14028         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
14029         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
14030         (TARGET_OPTIONS): Add -mpic-register=N.
14031         (OUTPUT_INT_ADDR_CONST): New macro.
14032         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
14033         LEGITIMATE_PIC_OPERAND_P): Likewise.
14034         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
14035         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
14036         output_addr_const directly.
14037         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
14038         ARM port.
14039         (thumb_pic_register, thumb_pic_register_string): Declare.
14040
14041         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
14042         from arm.c.
14043         (label_mentioned_p): New function: Imported from arm.c.
14044         (legitimize_pic_address): New function: Imported from arm.c.
14045         (is_pic):New function: Imported from arm.c.
14046         (thumb_finalize_pic):New function: Imported from arm.c.
14047         (add_constant): Cope with PIC constants.
14048         (fixit): Cope with PIC constants.
14049         (output_return): Do not treat the PIC register as live if
14050         TARGET_SINGLE_PIC_BASE is true.
14051         (thumb_function_prologue): Do not treat the PIC register as live if
14052         TARGET_SINGLE_PIC_BASE is true.
14053         (thumb_expand_prologue): Do not treat the PIC register as live if
14054         TARGET_SINGLE_PIC_BASE is true.
14055         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
14056         TARGET_SINGLE_PIC_BASE is true.
14057         (thumb_print_operand): Accept '|'.
14058         (thumb_override_options): Process PIC options.
14059
14060         * config/arm/thumb.md (movsi): Support PIC.
14061         (call_insn): Change "i" constraint to "X".
14062         (call_value_insn): Likewise.
14063         (consttable_4, consttable_8, consttable_end): Set and clear
14064         "making_const_table" as appropriate.
14065         (pic_load_addr, pic_add_dot_plus_four): New insns.
14066
14067         * invoke.texi (Thumb Options): Fix spelling.  Document new
14068         options -msingle-pic-base and -mpic-register=.
14069
14070 1999-07-26  Andrew Haley  <aph@cygnus.com>
14071
14072         * config/m32r/initfini.c (__init): Use a full word immediate for
14073         __fini: this allows it to be placed in any memory region.
14074
14075         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
14076         -mmodel=medium.  This is OK for all memory models.
14077
14078 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
14079
14080         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
14081         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
14082
14083 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
14084
14085         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
14086         defined.
14087
14088         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
14089
14090 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
14091
14092         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
14093         (BUILD_VA_LIST_TYPE): New.
14094         (EXPAND_BUILTIN_VA_START): New.
14095         (EXPAND_BUILTIN_VA_ARG): New.
14096         * i860.c (output_delayed_branch): Disable.
14097         (output_delay_insn): Likewise.
14098         (i860_saveregs): New.
14099         (i860_build_va_list): New.
14100         (i860_va_start): New.
14101         (i860_va_arg): New.
14102         * i860.md: Disable all peepholes using output_delayed_branch.
14103         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
14104
14105 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
14106
14107         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
14108         (BUILD_VA_LIST_TYPE): New.
14109         (EXPAND_BUILTIN_VA_START): New.
14110         (EXPAND_BUILTIN_VA_ARG): New.
14111         * clipper.c (clipper_builtin_saveregs): Only dump registers.
14112         Return the address of the save area.
14113         (clipper_build_va_list): New.
14114         (clipper_va_start): New.
14115         (clipper_va_arg): New.
14116
14117 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
14118
14119         * arc.h (EXPAND_BUILTIN_VA_START): New.
14120         (EXPAND_BUILTIN_VA_ARG): New.
14121         * arc.c (arc_setup_incoming_varargs): Set alias set of
14122         varargs save area.
14123         (arc_va_start): New.
14124         (arc_va_arg): New.
14125
14126 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
14127
14128         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
14129         (BUILD_VA_LIST_TYPE): New.
14130         (EXPAND_BUILTIN_VA_START): New.
14131         (EXPAND_BUILTIN_VA_ARG): New.
14132         * alpha.c (alpha_builtin_saveregs): Delete.
14133         (alpha_build_va_list): New.
14134         (alpha_va_start): New.
14135         (alpha_va_arg): New.
14136
14137 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
14138
14139         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
14140         column zero.
14141         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
14142         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
14143
14144         * gcc.texi: More changes related to list conversion.
14145         * invoke.texi: Likewise.
14146
14147 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
14148
14149         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
14150         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
14151         (expand_builtin_next_arg): Accept ARGLIST not EXP.
14152         (stabilize_va_list): New function.
14153         (std_expand_builtin_va_start): New function.
14154         (expand_builtin_va_start): New function.
14155         (get_varargs_alias_set): New function.
14156         (std_expand_builtin_va_arg): New function.
14157         (expand_builtin_va_arg): New function.
14158         (expand_builtin_va_end): New function.
14159         (expand_builtin_va_copy): New function.
14160         (expand_builtin): Call them.
14161         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
14162         __builtin_{varargs_start,stdarg_start,end,copy}.
14163         (build_va_arg): New function.
14164         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
14165         (build_va_arg): Declare.
14166         * c-decl.c (ptr_type_node, va_list_type_node): New.
14167         * c-parse.gperf (__builtin_va_arg): New.
14168         * c-parse.in (VA_ARG): New token.
14169         (unary_expr): Recognize it.
14170         * expr.c (expand_expr): Expand VA_ARG_EXPR.
14171         * expr.h (std_expand_builtin_va_start): Declare.
14172         (std_expand_builtin_va_arg): Declare.
14173         (expand_builtin_va_arg): Declare.
14174         (get_varargs_alias_set): Declare.
14175         * tree.def (VA_ARG_EXPR): New.
14176         * tree.h (BUILT_IN_VARARGS_START): New.
14177         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
14178         (ptr_type_node, va_list_type_node): Declare.
14179         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
14180         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
14181         * m88k.h, m88k.c: Likewise.
14182         * mn10300.h, mn10300.c: Likewise.
14183         * pa.h, pa.c: Likewise.
14184         * rs6000.h, rs6000.c: Likewise.
14185         * sh.h, sh.c: Likewise.
14186         * sparc.h, sparc.c: Likewise.
14187
14188         * emit-rtl.c (operand_subword): Copy alias set.
14189         (change_address): Likewise.
14190
14191 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
14192
14193         * pa.c (compute_frame_size): Scan all the used callee saved registers,
14194         not just the first one.
14195
14196 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
14197
14198         * config/arm/arm.h (TARGET_SWITCHES): Add
14199         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
14200         (TARGET_OPTIONS): Add -mpic-register=.
14201         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
14202         (arm_pic_register_string): Declare.
14203         (NEED_PLT_GOT): Delete, replace with ...
14204         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
14205         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
14206         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
14207         * config/arm/arm.c (arm_override_options): Add new option
14208         -mpic-register=N.
14209         (arm_pic_register_string): New variable.
14210         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
14211         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
14212         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
14213         (output_return_instruction): Likewise.
14214         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
14215         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
14216         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
14217
14218         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
14219         mention of -msched-prolog.  Document new options -msingle-pic-base
14220         and -mpic-register=.
14221
14222 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
14223
14224         * haifa-sched.c (reemit_notes): Tidy.
14225         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
14226         haifa's routine.
14227
14228 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
14229
14230         * explow.c (trunc_int_for_mode): New function.
14231         (plus_constant_wide): Use it.
14232         * combine.c (simplify_and_const_int): Likewise.
14233         (merge_outer_ops): Likewise.
14234         (simplify_shift_const): Likewise.
14235         * cse.c (simplify_unary_operation): Likewise.
14236         (simplify_binary_operation): Likewise.
14237         * emit-rtl.c (operand_subword): Likewise.
14238         * rtl.h: Declare it.
14239
14240 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14241
14242         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
14243         (use NUM_REGS instead of NUM_INTS).
14244
14245 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14246
14247         * builtins.c: New file.
14248         * expr.c (saveregs_value, apply_args_value):  Delete definition,
14249         moved into builtins.c.
14250         (string_constant): No longer static.
14251         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
14252         apply_args_size, apply_result_size, result_vector,
14253         expand_builtin_apply_args, expand_builtin_apply,
14254         expand_builtin_return): Delete functions, moved into builtins.c.
14255         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
14256         * expr.h (saveregs_value, apply_args_value): Declare variables.
14257         (expand_builtin, string_constant): Declare functions.
14258         * Makefile.in: Update to build builtin.o.
14259
14260 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14261
14262         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
14263         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
14264         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
14265         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
14266         false.
14267         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
14268         Define to zero.
14269
14270 1999-07-21  Michael Meissner  <meissner@cygnus.com>
14271
14272         * print-rtl.c (print_rtx): Print the names of the virtual
14273         registers.
14274
14275 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
14276
14277         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
14278         introduced in previous delta.
14279
14280 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14281
14282         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
14283         to avoid name clash.
14284
14285 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14286
14287         * c-lex.c (yylex) : Correct the test for overflow when lexing
14288         integer literals.
14289
14290 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
14291
14292         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
14293         (adjust_priority): Always call ADJUST_PRIORITY.
14294         (schedule_insn): Only put insns into the ready at cost 0.
14295         (schedule_block): Remove redundant initial sort.  Give clock_var
14296         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
14297         is not 0.
14298         * tm.texi (MD_SCHED_REORDER): Update docs.
14299
14300         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
14301         * sparc.c (ultra_reorder_called_this_block): Delete.
14302         (ultrasparc_sched_init): Don't set it.
14303         (ultrasparc_sched_reorder): Don't check it.
14304
14305 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
14306
14307         * rs6000.h (struct rs6000_args): Add sysv_gregno.
14308         * rs6000.c (init_cumulative_args): Init sysv_gregno.
14309         (function_arg_boundary): Align DFmode.
14310         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
14311         to get fp reg and stack overflow correct.
14312         (function_arg): Likewise.
14313         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
14314         (setup_incoming_varargs): Restructure for ABI_V4; use
14315         function_arg_advance to skip final named argument.
14316         (expand_builtin_saveregs): Properly unskip the last integer arg
14317         when doing varargs.  Adjust overflow location calculation.
14318
14319         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
14320         explicitly unsigned.
14321         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
14322         (__VA_GP_REGSAVE): Similarly.
14323         (__va_longlong_p): Delete.
14324         (__va_arg_type_violation): New declaration.
14325         (va_arg): Restructure.  Flag promotion errors.  Align double.
14326         TFmode passed by reference.
14327
14328         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
14329         in the HOST_BITS_PER_WIDE_INT > 32 case.
14330
14331 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
14332
14333         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
14334
14335 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
14336
14337         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
14338         * toplev.c (documented_lang_options): Add -fpreprocessed.
14339         * cpplib.h (struct cpp_buffer): Add preprocessed.
14340         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
14341         (cpp_start_read): Don't expand macros or emit an initial #line
14342         directive if -fpreprocessed.
14343
14344 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
14345
14346         * cpplib.h (struct cpp_buffer): Added manual_pop for
14347         better C++ tokenization.
14348         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
14349         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
14350         * c-common.c (cpp_token): Make non-static.
14351
14352 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14353
14354         * c-common.h: New file.
14355         * c-common.c (permanent_obstack): Delete unused declaration.
14356         (c_global_trees): New array.
14357         (c_common_nodes_and_builtins): New function; split off common code
14358         from init_decl_processing in both c-decl.c and cp/decl.c.
14359         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
14360         c_global_trees and accessor macros defined in c-common.h.
14361         Include c-common.h.
14362         * c-decl.c: Delete definitions for tree nodes that were replaced by
14363         c_global_trees.
14364         (init_decl_processing): Build void_list_node.
14365         Call c_common_nodes_and_builtins; delete code to generate the common
14366         builtins here.
14367         * objc/objc-act.c (build_module_descriptor): Rename variable
14368         void_list_node to avoid clash with c-common.h.
14369
14370         * Makefile.in: Update dependencies.
14371         * objc/Make-lang.in: Likewise.
14372
14373 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
14374
14375         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
14376         (UNIQUE_SECTION_P): Likewise.
14377         (UNIQUE_SECTION): Likewise.
14378
14379 1999-07-19  Linas Vepstas  <linas@linas.org>
14380
14381         * config/i370/README: New file.
14382         * config/i370/linux.h: New file.
14383         * config/i370/mvs.h: New file.
14384         * config/i370/oe.h: New file.
14385         * config/i370/t-linux: New file.
14386         * config/i370/t-mvs: New file.
14387         * config/i370/t-oe: New file.
14388         * config/i370/x-oe: New file.
14389         * config/i370/xm-linux.h: New file.
14390         * config/i370/xm-mvs.h: New file.
14391         * config/i370/xm-oe.h: New file.
14392
14393         * i370.c (label_node_t): Add first_ref_page, label_addr,
14394         label_first_ref, label_last_ref members.
14395         (mvs_need_base_reload): Renamed from mvs_label_emitted.
14396         (MAX_MVS_LABEL_SIZE): Define.
14397         (MAX_LONG_LABEL_SIZE): Define.
14398         (alias_node_t, alias_anchor, alias_number): New.
14399         (mvs_function_table): Reorder for EBCDIC.
14400         (ascebc, ebcasc): Unconditionally define.
14401         (i370_branch_dest, i370_branch_length): New functions.
14402         (i370_short_branch, i370_label_scan): New functions.
14403         (mvs_get_label): Renamed from mvs_add_label.  Search for
14404         an existing label before creating a new one.
14405         (mvs_add_label): New function.
14406         (mvs_get_label_page): New function.
14407         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
14408         over the entire list.
14409         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
14410         (mvs_check_page) [TARGET_ELF_ABI]: New function.
14411         (mvs_add_alias, mvs_need_alias): New functions.
14412         (mvs_get_alias, mvs_check_alias): New functions.
14413         (handle_pragma): New function.
14414         (mvs_function_check): New function.
14415         (unsigned_jump_follows_p): Search harder.
14416         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
14417         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
14418         * i370.h (TARGET_VERSION): Delete.
14419         (CPP_SPEC, CPP_PREDEFINES): Delete.
14420         (mvs_label_emitted): Delete.
14421         (TARGET_EBCDIC): Delete.
14422         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
14423         (HANDLE_PRAGMA): Define.
14424         (HARD_REGNO_NREGS): Handle complex modes.
14425         (HARD_REGNO_MODE_OK): Likewise.
14426         (CLASS_MAX_NREGS): Likewise.
14427         (RET_REG): Likewise.
14428         (EXTRA_CONSTRAINT): Define.
14429         (RETURN_IN_MEMORY): True for DImode.
14430         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
14431         (FUNCTION_PROFILER): Delete.
14432         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
14433         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
14434         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
14435         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
14436         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
14437         (ASM_FILE_START): Add "RMODE ANY".
14438         (ASM_OUTPUT_EXTERNAL): Check for aliases.
14439         (ASM_GLOBALIZE_LABEL): Likewise.
14440         (ASM_OUTPUT_LABELREF): Likewise.
14441         (ASM_OUTPUT_COMMON): Likewise.
14442         (PRINT_OPERAND): Handle 'K', 'W', default.
14443         (PRINT_OPERAND_ADDRESS): New.
14444         (Lots of defines): Add support for TARGET_ELF_ABI.
14445         * i370.md (attr length): New.  Define for all patterns.
14446         (*): Lots of tweeks to assembly output and constraints.
14447
14448 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
14449
14450         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
14451         Disable patterns performing SImode comparisons with SImode values
14452         if TARGET_POWERPC64 and instruction does not sign-extend or does
14453         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
14454         differ for signed quantities.
14455         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
14456         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
14457         (decrement_and_branch_on_count): Add 64-bit variant.
14458
14459 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14460
14461         * final.c (output_asm_insn): When searching for the matching string
14462         for a given dialect, don't run past the end of the list of
14463         alternatives if there are fewer alternatives in the template than
14464         dialects.
14465
14466 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
14467
14468         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
14469         Removed paragraph about compression of files and size limitation,
14470         duplicated in the FAQ.  Use gcc-patches for posting patches.
14471         * gcc.c (main): Updated URL with bug reporting instructions to
14472         gcc.gnu.org.  Removed e-mail address.
14473         * system.h (abort): Likewise.
14474
14475 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14476
14477         * Makefile.in (stmp-multilib-sub): Make the files extracted
14478         from $(LIBGCC1) writable.
14479
14480 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
14481
14482         * config/arm/aout.h: Reformat for improved readability.
14483
14484         * config/arm/arm.h: Reformat for improved readability.
14485         Replace uses of fprintf with asm_fprintf where appropriate.
14486         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
14487         function declaration assembler actions.
14488         (NUM_INTS): New macro: Convert from bytes to words.
14489         (NUM_REGS): New macro: Compute number of registers required to
14490         hold a quanitity of tyep MODE.
14491         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
14492         types.
14493         (NUM_ARG_REGS): New macro: The number of argument registers
14494         available.
14495         (ARG_REGISTER): New macro: Compute the register number of the Nth
14496         argument register.
14497         (LAST_ARG_REGNUM): New macro: The number of the last argument
14498         register.
14499         (SP_REGNUM): New macro: Register number of the stack pointer.
14500         (FP_REGNUM): New macro: Register number of the frame pointer.
14501         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
14502         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
14503         CUMULATIVE_ARGS so that it counts registers not bytes.
14504
14505         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
14506         TARGET_INTERWORK.
14507         Replace uses of fprintf with asm_fprintf where appropriate.
14508         (output_ascii_pseudo_op): Replace with version from thumb.c
14509
14510         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
14511
14512         * config/arm/elf.h (CPP_PREDEFINES): Replace with
14513         SUBTARGET_CPP_SPEC.
14514         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
14515         (ASM_FILE_START): Emit ASM_APP_OFF.
14516
14517 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
14518
14519         * pa.c (compute_frame_size): Round frame according to
14520         STACK_BOUNDARY rather than a hardwired value.
14521
14522         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
14523
14524         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
14525         of "1".
14526         * configure: Rebuilt.
14527
14528         * configure.in (hppa*-*-linux*): New configuration.
14529         * configure: Rebuilt.
14530         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
14531         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
14532         * pa/pa-linux.h: New file.
14533         * pa/t-linux: New file.
14534         * pa/xm-linux.h: New file.
14535
14536         * pa.c (hppa_legitimize_address): Change references from SImode to
14537         either Pmode or word_mode as appropriate.
14538         (emit_move_sequence, store_reg, load_reg): Likewise.
14539         (set_reg_plus_d, hppa_expand_prologue): Likewise.
14540         (output_mul_insn): Likewise.
14541         * pa.h (PROMOTE_MODE): Likewise.
14542         (INITIALZE_TRAMPOLINE): Likewise.
14543         (Pmode): Define to word_mode.
14544
14545         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
14546         value of 4.  Allocate 8 bytes for each FP register save.
14547         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
14548         value of 4.
14549         (hppa_expand_prologue): Likewise.
14550         * pa.h (PROMOTE_MODE): Likewise.
14551         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
14552         (FUNCTION_ARG_BOUNDARY): Likewise.
14553
14554         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
14555
14556         * pa.c (out_of_line_prologue_epilogue): Delete.
14557         (override_options): Remove -mspace related code.
14558         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
14559         (compute_frame_size): Only allocate space for register that
14560         actually need to be saved.
14561         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
14562         (TARGET_SWITCHES): Remove -mspace, -mno-space
14563         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
14564         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
14565         * pa/ee.asm, pa/ee_fp.asm: Delete.
14566
14567         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
14568
14569         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
14570         directive in column zero.
14571
14572 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
14573
14574         * m68k.c (output_function_prologue): Fix computation of save mask
14575         when generating PIC code.
14576
14577 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
14578
14579         * tree.c (build_type_attribute_variant): Move current_obstack restore
14580         after build_qualified_type call.
14581
14582 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
14583
14584         * configure.in: Use t-iris6, even with GNU LD.
14585         * config/mips/iris6gld.h: Fix typo in linker spec.
14586         * config/mips/t-iris6gld: Remove.
14587
14588 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
14589
14590         * rs6000.md (insv, extzv): Remove SImode dependence in named
14591         patterns.  Explicitly generate DImode RTL if PowerPC64 and
14592         operand is DImode.
14593         (insvdi): Reverse start and size in instruction template.
14594
14595 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
14596
14597         * invoke.texi: Typo fixes.
14598
14599 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
14600
14601         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
14602         handle at this time instead of silently generating incorrect code.
14603         (gen_imagpart): Likewise.
14604
14605         * reload.c (find_reloads): Emit a USE for a pseudo register without
14606         a hard register if we could not create an optional reload for the
14607         pseudo.
14608
14609 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14610
14611         * c-typeck.c (output_init_element, process_init_element):
14612         When advancing constructor_unfilled_fields for a RECORD_TYPE,
14613         check for nameless bit fields.
14614
14615 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
14616
14617         * regclass.c (scan_one_insn): Notice subregs that change the
14618         size of their operand.
14619         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
14620
14621 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
14622
14623         * configure.in (alpha*-*-*): Include alpha/t-ieee.
14624         * configure: Rebuilt.
14625         * alpha/t-ieee: New file.
14626
14627 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
14628
14629         * rs6000.c (find_addr_reg): Do not select r0 as an address
14630         register.
14631
14632 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
14633
14634         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
14635
14636 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
14637
14638         * rs6000.md (movsf): Do not force easy FP constants into memory.
14639
14640         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
14641         immed_double_const to ensure they are properly truncated then
14642         sign extended.
14643
14644 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
14645
14646         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
14647         always unless NO_DEBUG is used.  Compile this code
14648         unconditionally.
14649         (replace_symbols_in_block): Compile it unconditionally.
14650
14651 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
14652
14653         * configure.in (i?86-*-elf*): New target.
14654         * configure: Rebuilt.
14655         * i386/i386elf.h, i386/t-i386elf: New files.
14656
14657 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14658
14659         * toplev.c (main): Don't complain about saying -gdwarf.
14660         (rest_of_compilation): Remove redundant code.
14661
14662 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
14663
14664         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
14665
14666 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
14667
14668         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
14669         "Li960R:", to avoid name clash.
14670
14671 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14672
14673         * loop.c (check_dbra_loop): When reversing a loop, delete all
14674         REG_EQUAL notes referencing the reversed biv except those which are
14675         for a giv based on it.
14676
14677 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
14678
14679         * version.c: Drop "gcc-" prefix from version #.
14680
14681 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
14682
14683         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
14684         the label if we're being verbose.
14685
14686 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
14687
14688         * m68k.c (output_function_prologue): Add pic register to mask
14689         if live and flag_pic.
14690         (output_function_epilogue): Likewise.
14691
14692 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
14693
14694         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
14695         directives in column zero.
14696
14697         * pa/elf.h (ASM_FILE_START): Define.
14698         * pa/som.h (ASM_FILE_START): Include .level directives.
14699         * pa/hpux10.h (ASM_FILE_START): Delete.
14700         * pa/hpux11.h (ASM_FILE_START): Delete.
14701
14702         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
14703
14704 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14705
14706         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
14707         when reload_out equals reload_in.
14708
14709 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
14710
14711         * invoke.texi (Spec Files): New node: Describe the contents of
14712         spec files.
14713
14714 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
14715
14716         * invoke.texi (DEC Alpha Options): Put @end table at
14717         beginning of line, to avoid confusing texi2html.
14718
14719 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
14720
14721         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
14722         introduced in previous delta.
14723
14724 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14725
14726         * reload1.c (gen_reload): When synthesizing a 3 operand add
14727         sequence, improve test for when to reload OP1 into the reload
14728         register instead of OP0.
14729
14730 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
14731
14732         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
14733
14734 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
14735
14736         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
14737         string literal.
14738
14739 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
14740
14741         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
14742         (va_dcl): Use __builtin_va_alist_t.
14743
14744 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
14745
14746         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
14747         on the permanent_obstack.
14748         * dwarfout.c (output_type): Likewise.
14749
14750 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14751
14752         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14753         Merged from c-typeck.c and cp/typeck.c.
14754         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14755         Merged into c-common.
14756
14757 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
14758
14759         * c-lex.c (errorcount): Declare it.
14760         (finish_parse): Update errorcount when using CPPLIB.
14761
14762 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
14763
14764         * fixinc/inclhack.def(end_else_label): Double the backslash so
14765         sed gets a chance to see it.
14766         * fixinc/inclhack.sh: regen
14767         * fixinc/fixincl.x: regen
14768
14769 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
14770
14771         Add framework to support armv5 architecture when it becomes
14772         available:
14773
14774         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
14775         (arm_arch5): New variable.
14776         (all_architectures): Add armv5 line.
14777         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
14778         -march=armv5 is specified on the command line.
14779         (arm_arch5): Export this variable.
14780         * invoke.texi: Document new string accepted by -march= switch for
14781         ARM ports.
14782
14783         * config/arm/arm.h: Replace use of constant 12 as a register
14784         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
14785         * config/arm/arm.c: Replace use of constant 12 as a register
14786         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
14787
14788         * config/arm/elf.h: Tidy up.
14789         * config/arm/coff.h: Tidy up.
14790
14791 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
14792
14793         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
14794         * gcc/config/mips/t-iris6gld: New file.
14795         * gcc/config/mips/iris6gld.h: Likewise.
14796
14797 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14798
14799         * c-decl.c (widest_integer_literal_type_node,
14800         widest_unsigned_literal_type) : New.
14801         (init_decl_processing): Handle/use the two new types.
14802         * c-common.c (type_for_size,type_for_mode) : Same.
14803         * c-lex.c (yylex) : Same.
14804         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14805         Same.
14806         * c-tree.h (widest_integer_literal_type_node,
14807         widest_unsigned_literal_type) : New.
14808
14809 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
14810
14811         * dwarfout.c (field_byte_offset): Correctly compute the object's
14812         byte offset for the first bit of a field which crosses an alignment
14813         boundary on a !BYTES_BIG_ENDIAN target.
14814
14815 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
14816
14817         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
14818         ntohs.
14819
14820 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
14821                           Jeff Law <law@cygnus.com>
14822
14823         * ginclude/varargs.h (va_dcl): Use word_mode for type of
14824         __builtin_va_list.
14825
14826         * except.c: Include intl.h.
14827         (expand_eh_return): Set current_function_cannot_inline.
14828         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
14829         * function.h (struct function): Add eh_return_stub_label.
14830         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
14831         * Makefile.in (except.o): Depend on intl.h.
14832
14833 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
14834
14835         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
14836         same as offsettable in cases 1 and 2.
14837
14838 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
14839
14840         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
14841         (extlh, extwh): Likewise.
14842
14843 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14844
14845         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
14846
14847 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
14848
14849         * configure.in: Add arm-pe and thumb-pe targets.
14850         * configure: Regenerate.
14851
14852         * thumb.c (arm_naked_function_p): New function: Determines if
14853         a function is naked (has no gcc generated prologue/epilogue).
14854         (is_called_in_ARM_mode): Return true if the func has the
14855         interfacearm attribute.
14856         (output_return): Do not generate a return for naked functions.
14857         (thumb_function_prologue): Do not generate a prologue for
14858         naked functions.
14859         (thumb_expand_prologue): Do not generate a prologue for naked
14860         functions.
14861         (thumb_expand_epilogue): Do not generate an epilogue for naked
14862         functions.
14863         (arm_valid_machine_decl_attribute): New function, copied from
14864         arm.c:  Permit naked and interfacearm attributes.
14865
14866         * config/arm/pe.c: New file: Support code for arm-pe target.
14867         * config/arm/pe.h: New file: Header file for arm-pe target.
14868         * config/arm/tpe.h: New file: Header file for thumb-pe target.
14869         * config/arm/t-thumb-pe: New file: Makefile fragment for
14870         thumb-pe target.
14871
14872 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
14873
14874         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
14875         -fPIC or -fpic is specified.
14876
14877 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
14878
14879         * expr.c (emit_block_move): Use copy_to_mode_reg for
14880         !TARGET_MEM_FUNCTIONS case too.
14881
14882         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
14883         appropriate.
14884         * configure: Rebuilt.
14885         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
14886         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
14887         definitions made redundant by dbxelf.h inclusion.  Delete
14888         lots of definitions related to assembly output that are
14889         specific to the SOM object format.
14890         * pa.c (output_function_prologue): Do not emit the function's
14891         name for OBJ_ELF.
14892         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
14893         * pa-pro.h: Deleted.
14894         * som.h: New file with SOM specific definitions.
14895         * elf.h: New file with ELF specific definitions.
14896
14897         * elfos.h (const_section): Output a tab before assembler directives.
14898         (ctors_section, dtors_section): Likewise.
14899         (ASM_OUTPUT_SECTION_NAME): Likewise.
14900
14901         * pa/pa1.h: Delete unused file.
14902
14903 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
14904
14905         * configure.in (hppa*-hp-hpux11*): New configuration.
14906         * configure: Rebuilt.
14907         * pa/pa-hpux11.h: New file.
14908         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
14909         command line.
14910
14911         * mips.md (leasi, leadi): New patterns.
14912
14913         * expr.c (emit_block_move): Properly handle case where one of the
14914         block move arguments has a queued increment or decrement.
14915         (clear_storage): Similarly.  Fix formatting goof.
14916
14917 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
14918
14919         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
14920         semicolon from the BSD VA_LIST replacement expression.
14921
14922         * fixinc/inclhack.sh: regen
14923         * fixinc/fixincl.x: regen
14924
14925         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
14926         now use the fixincl program.
14927
14928 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
14929
14930         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
14931         case.  Also make the PIC register call_used.
14932
14933         * m68k.h (FINALIZE_PIC): Delete.
14934         * m68k.c (finalize_pic): Delete.
14935
14936 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
14937
14938         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
14939         to memory.
14940
14941 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
14942
14943         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
14944
14945 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
14946
14947         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
14948
14949 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
14950
14951         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
14952
14953 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
14954
14955         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
14956
14957 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
14958
14959         * rs6000.c (output_toc): Always use hex values for floating-point
14960         constants.  Store single-precision values in upper-half of TOC
14961         entry in 64-bit mode.
14962         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
14963         to final constraints.
14964         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
14965         (fctiwz): Improve accuracy of RTL for pattern.
14966
14967 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14968
14969         * expr.c (expand_expr): Allow RTL_EXPR's through the
14970         MAX_INTEGER_COMPUTATION_MODE checks.
14971
14972 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
14973
14974         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
14975         such that MASK_SUPPORT_ARCH is not negative.
14976
14977 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
14978
14979         * loop.c (verify_dominator): Properly handle ADDR_VEC and
14980         ADDR_DIFF_VEC insns that appear inside loops.
14981
14982 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
14983                           Jeff Law <law@cygnus.com>
14984
14985         * rs6000.md (movdf_hardfloat32): Revert previous patch.
14986         Handle LO_SUM the same as offsettable in cases 1 and 2.
14987         * rs6000.c (find_addr_reg): Revert previous patch.
14988
14989 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
14990
14991         * system.h (strstr): New external function declaration.
14992         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
14993         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
14994         * config.in, configure: Rebuilt.
14995
14996 1999-06-24  Tom Tromey  <tromey@cygnus.com>
14997
14998         * gcc.c (main): Read user-specified specs files after computing
14999         additional startfile_prefixes.
15000
15001 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
15002
15003         Revert these two patches:
15004
15005         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15006         * loop.c (strength_reduce): When doing biv->giv conversion, update
15007         reg note of NEXT->insn.
15008
15009         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15010         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15011         reg_biv_class.
15012         (recombine_givs): Set ix field after sorting.
15013
15014 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15015
15016         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
15017         for the parts of an UNSPEC / UNSPEC_VOLATILE.
15018
15019 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
15020
15021         *fixinc/inclhack.def:  Add fix development commentary
15022         (read_ret_type): reactivate and add selection clause
15023         (zzz_*): tweak output file name to match what is used in hackshell.tpl
15024         *fixinc/{fixincl.x|inclhack.sh}: regen
15025
15026 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
15027
15028         * expr.c (expand_expr): STRIP_NOPS before checking against
15029         MAX_INTEGER_COMPUTATION_MODE
15030         (check_max_integer_computation_mode): Likewise.
15031
15032 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
15033
15034         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
15035
15036 1999-06-22  Jim Wilson  <wilson@cygnus.com>
15037
15038         * expr.c (store_expr): When target is a promoted subreg, return a
15039         promoted subreg as a result.
15040
15041 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
15042
15043         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
15044         coding standards.
15045         (dwarf2out_define): Mark unused parameters appropriately.
15046         (gen_unspecified_parameters_die): Ditto.
15047         (gen_subprogram_die): Fix signed/unsigned warnings.
15048         (gen_variable_die): Ditto.
15049
15050 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
15051
15052         * fixinc/inclhack.def(end_else_label): combined else_label
15053         and endif_label and fixed the sed expression.
15054         *fixinc/{fixincl.x|inclhack.sh}: regen
15055
15056 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
15057
15058         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
15059         'x' when handling non-offsettable addresses
15060
15061 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
15062
15063         * final.c (shorten_branches): Don't try to split an insn that has
15064         been deleted.
15065
15066 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
15067
15068         * config/mips/mips.c (symbolic_expression_p): New function.
15069         (mips_select_rtx_section): Put symbolic expressions in the
15070         data section, not the read-only data section.
15071
15072 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
15073
15074         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
15075
15076 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
15077
15078         * collect2.c (main): Log frame table count.
15079         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
15080         (scan_prog_file) [COFF]: Handle frame tables.
15081
15082         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
15083         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
15084         * alpha/elf.h: Undef them again.
15085         * alpha/vms.h: Remove their definitions.
15086
15087 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15088
15089         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
15090         remove the clobber of r0 and change the REG_UNUSED note to
15091         REG_INC.
15092
15093 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
15094
15095         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
15096         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
15097         fits in HOST_WIDE_INT and one uses union to access a long constant
15098         as double.
15099
15100 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
15101
15102         * sparc.c (sparc_override_options): Don't allow profiling for
15103         code models other than medlow.
15104         (sparc_function_profiler): New function from old FUNCTION_PROFILER
15105         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
15106         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
15107         (sparc_block_profiler): Likewise.
15108         (sparc_function_block_profiler_exit): Likewise.
15109         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
15110         (FUNCTION_BLOCK_PROFILER): Likewise.
15111         (BLOCK_PROFILER): Likewise.
15112         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
15113         (MCOUNT_FUNCTION): New.
15114         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
15115         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
15116         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
15117         (MCOUNT_FUNCTION): New.
15118         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
15119         (BLOCK_PROFILER): Delete.
15120         (MCOUNT_FUNCTION): New.
15121
15122 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
15123
15124         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
15125
15126 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15127
15128         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15129         Add the macros.
15130
15131         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15132         Ditto.
15133
15134         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15135         Ditto.
15136
15137         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15138         Ditto.
15139
15140 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
15141
15142         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
15143         types.
15144
15145 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
15146
15147         * i386/djgpp.h (LIB_SPEC): New.
15148         (STARTFILE_SPEC): New.
15149
15150         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
15151
15152 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
15153
15154         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
15155         compiler flags.
15156
15157         * system.h (WSTOPSIG): New macro.
15158
15159 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15160
15161         * c-pragma.c (push_alignment): Don't ignore alignments greater than
15162         4 bytes.
15163         (insert_pack_attributes): Take into account member natural
15164         alignment.
15165
15166         * i386/winnt.c (exports_head): New static variable.
15167         (i386_pe_record_exported_symbol): New function.
15168         (i386_pe_asm_file_end): Use.
15169         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
15170         symbols to be emitted at end of assembly.
15171         (ASM_DECLARE_OBJECT_NAME): Likewise.
15172         (ASM_DECLARE_FUNCTION_NAME): Likewise.
15173
15174         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
15175         -iwithprefix.
15176
15177 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
15178
15179         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
15180         in last change.
15181
15182 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
15183
15184         * haifa-sched.c (sched_analyze_1): Use free_list instead of
15185         zapping reg_last_uses directly.
15186         (sched_analyze_2, sched_analyze_insn): Likewise.
15187         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
15188
15189 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
15190
15191         * rs6000.md (movdf_hardfloat32): Use worst case insn length
15192         attributes for cases 1 and 2.
15193
15194 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
15195
15196         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
15197         instead of set.
15198
15199 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
15200
15201         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
15202
15203 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
15204
15205         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
15206         PIC_OFFSET_TABLE_REGNUM for general alloaction.
15207         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
15208         must be stacked if it is used for PIC accesses.
15209         * arm.c (use_return_insn): Handle PIC register specially.
15210         (output_return_instruction): Likewise.
15211         (output_func_{prologue,epilogue}): Likewise.
15212         (output_expand_prologue): Likewise.
15213
15214         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
15215         (*strsi_predec): Renamed from *strqi_predec.
15216         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
15217         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
15218
15219         * arm.c (arm_override_options): Remove warning about PIC code
15220         not being supported.
15221
15222 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
15223
15224         * rs6000.c (find_addr_reg): New function.
15225         * rs6000.h (find_addr_reg): Declare.
15226         (offsettable_addr_operand): Delete.
15227         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
15228         from and stores to GPRs.
15229
15230 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
15231
15232         * alpha.c (alpha_expand_block_move): Use get_insns rather than
15233         gen_sequence as argument to emit_no_conflict_block.
15234
15235 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15236
15237         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
15238         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
15239         *fixinc/fixincl.x: regen
15240         *fixinc/inclhack.sh: regen
15241
15242 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
15243
15244         * added support for -mpcrel (PC relative addressing for m68k)
15245         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
15246         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
15247         * m68k.c (print_operand_address): Handle 32-bit PIC case.
15248         (comments for general_src_operand): Add some explanation
15249         about EXTRA_CONSTRAINTS.
15250         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
15251         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
15252         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
15253         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
15254         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
15255         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
15256         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
15257         if not already set.
15258         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
15259         * m68k.h (TARGET_PCREL): New target flag.
15260         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
15261         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
15262         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
15263         contains a SYMBOL_REF.  Relax this constraint during reload, since
15264         we want to use the predicates, not reload's built-in concept of a
15265         valid memory address, to control what insns need reloading.
15266         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
15267         operands (essentially 'g', 'm', and 's' under normal circumstances).
15268         * m68k.c (print_operand): Cause printing of pc-relative addresses
15269         to include pc register.
15270         (print_operand_address): Ditto.
15271         (general_src_operand): Accept operands that are not only
15272         general_operands, but are also valid when used as a pc-relative
15273         source.
15274         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
15275         (memory_src_operand): Similar, for memory_operands.
15276         (pcrel_address): New predicate to accept the special case of a
15277         pc-relative address.
15278         * m68k.md (many patterns): Rewrite common SImode, HImode, and
15279         QImode insns to accept *_src_operand instead of *_operand where
15280         pc-relative operands can fit.  For example, a pc-relative operand
15281         can be used as a memory source operand for addsi3, but not as a
15282         memory destination.
15283         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
15284
15285 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
15286
15287         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
15288         .thumb_set pseudo op to mark aliases of thumb functions.
15289
15290 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
15291
15292         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
15293         preference to ASM_OUTPUT_DEF, if it is defined.
15294
15295         * tm.texi: Document new, optional target macro
15296         ASM_OUTPUT_DEF_FROM_DECLS.
15297
15298 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15299
15300         * fixincludes: ISCNTL patch
15301         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
15302         (dgux_int_varargs): new for DG/UX
15303         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
15304
15305 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
15306
15307         * invoke.texi (ia32 options): Fix typo.
15308
15309 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15310
15311         * loop.c (strength_reduce): When doing biv->giv conversion, update
15312         reg note of NEXT->insn.
15313
15314 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
15315
15316         * loop.c (move_movables): Note issues with replacing REGs with
15317         SUBREGs.
15318         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
15319
15320 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
15321
15322         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
15323
15324         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
15325         the reference to `mcount' was not correct for the ELF on FreeBSD.
15326
15327 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15328
15329         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15330         reg_biv_class.
15331
15332         (recombine_givs): Set ix field after sorting.
15333
15334 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
15335
15336         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
15337         to safe to extract a subword out of a REG.
15338
15339 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15340
15341         * sh.md (mulsi3): Don't add a no-op move at the end.
15342
15343 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15344
15345         * cse.c (cse_insn): Don't put hard register source into tables for
15346         the last insn of a libcall.
15347
15348 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15349
15350         * loop.c (strength_reduce): Insert sets of derived givs at every
15351         biv increment, even if it's the only one.
15352
15353 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15354
15355         * dwarfout.c (add_incomplete_type): New fn.
15356         (output_type): Call it.
15357         (retry_incomplete_types): New fn.
15358         (dwarfout_finish): Call it.
15359
15360         From Eric Raskin <ehr@listworks.com>:
15361         (output_type): Output types for bases.
15362
15363 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
15364
15365         * mips.c (mips_output_conditional_branch): Add `break'
15366         between `default' label and `close braces'.
15367
15368 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
15369
15370         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
15371         specifications and make it realistic.
15372         (LIB_SPEC): Likewise.
15373
15374 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
15375
15376         * config/mips/mips.c (mips_secondary_reload_class): Check for
15377         (PLUS (SP) (REG)) and return appropriate register class.
15378         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
15379         Handle (PLUS (SP) (REG)).
15380         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
15381         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
15382         of emit_insn for tablejump.
15383
15384 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
15385
15386         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
15387         asm_fprintf format string by itself.
15388         (output_function_profiler): Likewise.
15389
15390 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
15391
15392         * combine.c (simplify_logical, case AND): Only call
15393         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
15394         or the constant is positive.
15395
15396 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
15397
15398         * configure.in: Fix typo in rs6000-ibm-aix4 case.
15399         * configure: Regenerate.
15400
15401 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
15402
15403         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
15404         require a sub-version #.
15405         * configure: Rebuilt.
15406
15407 1999-06-14  Robert Lipe  (robertlipe@usa.net)
15408
15409         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
15410
15411 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
15412
15413         * c-typeck.c (process_init_element): Detect excess elements in
15414         char array initializer.
15415
15416 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
15417
15418         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
15419
15420 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15421
15422         * invoke.texi (Option Summary): Add -fpermissive flag.
15423
15424 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
15425
15426         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
15427         that require PIC code sequences.
15428
15429 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
15430
15431         * configure.in: Add new target: thumb-elf.
15432         * configure: Regenerate.
15433         * config/arm/t-thumb-elf: New file: Makefile fragment for
15434         thumb-elf build.
15435         * config/arm/telf.h: New file: Header file for thumb-elf
15436         build.
15437
15438 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
15439
15440         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
15441         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
15442         initializers is some circumstances.
15443
15444         * fixinc/inclhack.def (endif_label): Add additional selector for
15445         more bogus stuff after #endif statements.
15446         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15447
15448 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15449
15450         * i386/cygwin.h (SET_ASM_OP): Define.
15451
15452 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15453
15454         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
15455
15456 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15457
15458         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
15459         latter.
15460
15461         * sh.md (ic_invalidate_line_i): Remove second alternative.
15462
15463 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15464
15465         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
15466         test for the presence of valid prototypes.  Delete bypass expr.
15467         (ioctl_fix_ctrl): Correct the selection expression.
15468         (no_double_slash): Correct quoting rules
15469         *fixinc/fixincl.x: regen
15470         *fixinc/inclhack.sh: regen
15471
15472 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
15473
15474         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
15475
15476 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15477
15478         * rs6000.md (movsi_got_internal_mem): Delete.
15479         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
15480         (GOT_TOC_REGNUM): Delete.
15481         (PIC_OFFSET_TABLE_REGNUM): Define.
15482         (FINALIZE_PIC): Disable.
15483         * rs6000.c (rs6000_got_register): New code for fixed pic register.
15484         (rs6000_replace_regno): Delete.
15485         (rs6000_finalize_pic): Likewise.
15486         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
15487
15488 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15489
15490         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
15491         is a note; use <= for the compare; advance P while it is
15492         a NOTE.
15493
15494 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
15495
15496         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
15497         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
15498
15499         * varasm.c (remove_from_pending_weak_list): Verify t->name
15500         is non-NULL before passing it to strcmp.
15501
15502 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15503
15504         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
15505         the typed arguments are not part of a comment
15506         (ioctl_fix_ctrl): Added a purpose comment
15507         *fixinc/fixincl.x: regenerate
15508         *fixinc/inclhack.sh: regenerate
15509
15510 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15511
15512         * invoke.texi: Add C4x invocation docs.
15513
15514 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15515
15516         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
15517         Define new macros.
15518         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
15519         TARGET_EXPOSE_LDP.
15520         (c4x_legitimize_reload_address): New function.
15521         * config/c4x/c4x.md: Update docs.
15522
15523 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
15524
15525         * fixincludes: Avoid removing '.'.
15526         * fixinc/fixinc.svr4: Likewise.
15527         * fixinc/fixinc.winnt: Likewise.
15528         * fixinc/inclhack.tpl: Likewise.
15529         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
15530
15531 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15532
15533         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
15534         pattern.
15535         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
15536
15537 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15538
15539         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
15540         correctly.
15541
15542 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
15543
15544         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
15545         * configure: Regenerate.
15546
15547 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
15548
15549         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
15550         values.
15551
15552 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
15553
15554         * fixinc/inclhack.def (avoid_bool): Also catch
15555         "typedef [unsigned] int bool".
15556         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15557
15558         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
15559         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
15560         * configure: Rebuilt.
15561
15562 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
15563
15564         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
15565         such that we can override its definitions if necessary.
15566         (CPP_SPEC): New define.  Support processor specific predefines via
15567         %(cpp_cpu).
15568         (CC1_SPEC): New define.  Support processor specific compiler
15569         options via %(cc1_cpu).
15570         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
15571         -static.
15572
15573 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15574
15575         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
15576         between sed's -e flag, and the open-quote following it.
15577         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15578
15579 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
15580                           Jeffrey A Law  (law@cygnus.com)
15581
15582         * varasm.c (assemble_start_function): Remove the function
15583         from the pending weak decls list when we define a function.
15584         (assemble_variable): Similarly for variables.
15585         (weak_finish): Ignore items on the list with a NULL name.
15586         (remove_from_ending_weak_list); New function to "remove" an item
15587         from the pending weak declarations list.
15588
15589 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15590
15591         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
15592
15593 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
15594
15595         * c-lex.c (GETC): Redefine to call getch.
15596         (UNGETC): Redefine to call put_back.
15597         (putback_buffer): New structure type.
15598         (putback): New static structure.
15599         (getch): New function.
15600         (put_back): New function.
15601         (yylex): Replace unused bytes from bad multibyte character.
15602
15603 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
15604
15605         * cpplib.c (do_define): Cast `alloca' return value.
15606         (do_include, do_undef, do_pragma): Likewise.
15607         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
15608         values.
15609         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
15610         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
15611
15612 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15613
15614         * sparc.md (abstf2): This should be an expand.
15615         (split after abstf2_notv9): Fix mode.
15616         (abstf2_hq_v9): New pattern.
15617         (abstf2_v9): Only use when no hard quad.
15618         (absdf2_v9): Fix if target is not the same as source.
15619         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
15620         Add correct output constraints.
15621
15622 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
15623
15624         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
15625         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
15626
15627 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
15628
15629         * mips.h (mips_output_conditional_branch): New function.
15630         (mips_adjust_insn_length): Likewise.
15631         (ASSEMBLER_SCRATCH_REGNUM): New macro.
15632         (ADJUST_INSN_LENGTH): Likewise.
15633         * mips.c (print_operand): Add `F' and `W' for floating-point
15634         comparison opcodes.
15635         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
15636         are now in bytes.
15637         (mips_adjust_insn_length): New function.
15638         (mips_output_conditional_branch): New function.
15639         * mips.md (length): Adjust attribute definition to handle
15640         conditional branches.   Change lengths to bytes, rather than
15641         instructions throughout.  Remove length attribute from
15642         instructions whose length is four bytes, and rely on the default
15643         instead.
15644         (dslot): Fix typo in comment.
15645         Reword conditional branch patterns to use
15646         mips_output_conditional_branch.
15647
15648 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15649
15650         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
15651         (LIB_SPEC): Likewise.
15652         Link with -lprof1_r for -g/-pg.
15653
15654 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
15655
15656         * loop.c (check_dbra_loop): Fix change of Jan 19.
15657
15658 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
15659
15660         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
15661         (STARTFILE_SPEC):  Define, override the svr4.h version.
15662         (ENDFILE_SPEC):  Likewise.
15663
15664 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
15665
15666         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
15667         * fixinc/fixincl.x: Regenerated.
15668         * fixinc/inclhack.sh: Regenerated.
15669
15670 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15671
15672         * sh.c (barrier_align): Don't return early for normal branch/barrier
15673         when optimizing for SH2.
15674
15675 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
15676
15677         * i386/udk.h (LINK_SPEC): Correct linker search path for
15678         system libraries.
15679
15680 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15681
15682         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
15683         (braf_label_ref_operand): Delete.
15684         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
15685         * sh.md (casesi_jump_2): Operand1 is now the inside of a
15686         label_ref, and has no predicate.
15687         The patten has a predicate to guard against invalid substitutions.
15688         (dummy_jump): Delete.
15689         (casesi): Update use of casesi_jump_2.
15690
15691 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15692
15693         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
15694         *fixinc/fixincl.x: regenerate
15695         *fixinc/inclhack.sh: regenerate
15696
15697 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
15698
15699         * dwarf2out.c (add_incomplete_type): New fn.
15700         (gen_struct_or_union_type_die): Call it.
15701         (retry_incomplete_types): New fn.
15702         (dwarf2out_finish): Call it.
15703
15704 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
15705
15706         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
15707         current block starts with a CODE_LABEL and ends with a CALL and
15708         we can not find all the argument setup instructions for the CALL.
15709
15710 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
15711
15712         Revert this change:
15713         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15714         something is a candidate for optimize_bit_field_compare.
15715
15716 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15717
15718         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
15719
15720 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
15721
15722         * alpha.c (override_options): Thinko in last patch.
15723
15724         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
15725         (LIB_SPEC): Recognize -pthread.
15726
15727 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
15728
15729         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
15730         definition in config/arm/coff.h
15731         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
15732
15733 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15734
15735         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
15736         fixes that need "file=xxx\n" prepended before invocation
15737         (start_fixer - new): starting the fixer process is complex enough
15738         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
15739         (process): uses the new routine; omit usage of putenv()
15740         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
15741         * fixinc/fixincl.x: regenerate
15742
15743 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
15744
15745         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
15746         and version #s (1.1 -> 2.96) as needed.
15747         * README.g77: Kill way out of date file in the toplevel directory.
15748
15749 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
15750
15751         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
15752         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
15753         * configure: Rebuilt.
15754         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
15755         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
15756         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
15757         (SWITCH_TAKES_ARG): Likewise.
15758         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
15759         * config/t-freebsd: Moved from config/i386/ so it can used for all
15760         FreeBSD targets.
15761
15762 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
15763
15764         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
15765
15766 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
15767
15768         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
15769         * configure: Rebuilt.
15770
15771 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
15772
15773         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
15774         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
15775         * rs6000/rs6000.c (rs6000_file_start): Use putc.
15776         (rs6000_output_load_toc_table): Same.
15777         (output_prolog, output_mi_thunk): Same.
15778         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
15779         (ASM_GLOBALIZE_LABEL): Use putc.
15780
15781 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
15782
15783         * alpha.md (reload_*_help): New patterns and splitters.
15784         (reload_*): Use them.
15785         (mov[qh]i): Likewise.
15786
15787 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
15788
15789         * cccp.c (handle_directive): Handle backslash-newlines in quoted
15790         strings correctly.
15791
15792 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
15793
15794         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
15795
15796 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
15797
15798         * flow.c (mark_regs_live_at_end, insn_dead_p,
15799         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
15800         and HARD_FRAME_POINTER_REGNUM special treatment if reload
15801         hasn't run or the frame pointer is needed.
15802         * haifa-sched.c (attach_deaths): Likewise.
15803         * sched.c (attach_deaths): Likewise.
15804
15805 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
15806
15807         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
15808         calculate_can_reach_end returns nonzero.
15809
15810         * configure.in (native gas tests): Search for an assembler in the
15811         same manner that the installed compiler will.
15812         * configure: Rebuilt.
15813         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
15814
15815         * alias.c (find_base_term): Improve handling of addresses
15816         constructed from binary operations.
15817
15818 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
15819
15820         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
15821
15822 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
15823
15824         * function.h (cleanup_label, frame_offset): Declare.
15825         (tail_recursion_label, tail_recursion_reentry): Likewise.
15826         (arg_pointer_save_area, rtl_expr_chain): Likewise.
15827         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
15828         (tail_recursion_label, tail_recursion_reentry): Likewise.
15829         (arg_pointer_save_area, rtl_expr_chain): Likewise.
15830
15831 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
15832
15833         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
15834         defined.
15835         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
15836         (MAX_OFILE_ALIGNMENT): Define.
15837
15838 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
15839
15840         * fixincl.c: Replace local include scheme with #includes of
15841         gansidecl.h and system.h.
15842         * procopen.c:  Likewise.
15843         * server.c:  Likewise.
15844
15845 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
15846
15847         * i386/t-dgux (EXTRA_PARTS): Add crti.o
15848         (crti.o): Add build rule and dependencies.
15849         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
15850
15851 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15852
15853         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
15854         (LIB_LINUX_SPEC): Likewise.
15855         (LIB_LINUX_SPEC): Add support for -pthread
15856         (CPP_OS_LINUX_SPEC): Likewise.
15857         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
15858         specified.
15859
15860 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
15861
15862         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
15863         conditional move.
15864         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
15865         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
15866         for IEEE math and CC_FCOMI.
15867         (put_jump_code): No IEEE if CC_FCOMI is set.
15868
15869 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
15870
15871         * fold-const.c (fold_truthop): Make the field reference unsigned
15872         when converting a single bit compare.
15873
15874 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15875
15876         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
15877
15878 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
15879
15880         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
15881         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
15882         version did.
15883
15884         * reload.c (push_reload): Do not call remove_address_replacements
15885         when presented with identical optional reloads.
15886
15887 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
15888
15889         * alpha.h (MASK_FIX, TARGET_FIX): New.
15890         (MASK_*): Reorganize constants.
15891         (CPP_AM_FIX_SPEC): New.
15892         (TARGET_SWITCHES): Add FIX.
15893         (EXTRA_SPECS): Likewise.
15894         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
15895         (SECONDARY_MEMORY_NEEDED): Likewise.
15896         (REGISTER_MOVE_COST): Likewise.
15897         * alpha.c (override_options): Add FIX support.  Always use
15898         ALPHA_TP_PROG for ev6.
15899         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
15900         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
15901         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
15902
15903 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
15904
15905         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15906         something is a candidate for optimize_bit_field_compare.
15907
15908 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
15909
15910         * gcc.texi (Passes): Document branch-shortening.
15911         * invoke.texi (Debugging Options): Document the fact that `-dp'
15912         outputs length information for instructions.
15913
15914 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
15915
15916         * flow.c: Revert previous delta.
15917
15918 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
15919
15920         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
15921         FRAME_POINTER_REGNUM.
15922         (mark_set_1): Ditto.
15923         (mark_used_regs): Ditto.
15924
15925 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
15926
15927         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
15928         (GOT_PCREL): New macro.  Define to 1 if not already defined.
15929         * arm/elf.h (GOT_PCREL): Define to 0.
15930         * arm.c (arm_finalize_pic): Take into account the setting of
15931         GOT_PCREL.
15932
15933 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
15934
15935         * output.h (STRIP_NAME_ENCODING): Provide default definition.
15936         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
15937
15938         * flow.c (mark_set_1): Do not record BLKmode stores as dead
15939         store elimination candidates.
15940
15941 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15942
15943         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
15944         TARGET_GAS.
15945
15946 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
15947
15948         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
15949         Add use of x-aix41-gld.
15950
15951 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15952
15953         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
15954         (ASM_OUTPUT_DESTRUCTOR): Define.
15955
15956 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
15957
15958         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
15959         last CODE_LABEL in a loop if we have previously passed a jump
15960         to the top of the loop.
15961
15962 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
15963
15964         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
15965         applying Philip's patch.
15966
15967 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
15968
15969         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
15970         are not VAR_DECLs.
15971
15972 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
15973
15974         * loop.c (strength_reduce): Grow reg_single_usage as needed.
15975
15976 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
15977
15978         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
15979         Also remove a useless comment.
15980
15981 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15982
15983         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
15984
15985 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
15986
15987         * collect2.c (main): Only generate import or export file and add
15988         to link arguments if non-empty.  Use xmalloc not alloca.
15989         (write_{export,import}_file): Delete.
15990         (write_aix_file): New function.
15991         (locatelib): Use xmalloc not malloc.
15992         (GCC_OK_SYMBOL): Do not check type if aix64.
15993
15994 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
15995
15996         Based on patch by Scott Bambrough and Pat Beirne:
15997         * config/arm/arm.c (making_const_table): New variable.
15998         * config/arm/arm.h (making_const_table): Declare.
15999         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
16000         appropriate.
16001         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
16002         Keep track of when we are building the constant table.
16003
16004 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
16005
16006         * config/arm/arm.c (arm_override_options): Fix erroneous warning
16007         message.
16008
16009 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
16010
16011         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
16012         defined.
16013
16014 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
16015
16016         * tm.texi (FUNCTION_ARG): Correct description of a stack element
16017         in a PARALLEL.
16018
16019 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
16020
16021         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
16022
16023 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16024
16025         * rs6000.c (output_mi_thunk): Enable full support again.
16026
16027 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16028
16029         * sh.h (BRANCH_COST): Define.
16030
16031 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
16032
16033         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
16034
16035 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
16036
16037         * function.c (assign_stack_local): Align stack slot propertly.
16038         (assign_outer_stack_local): Likewise.
16039
16040 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
16041
16042         * expr.h (lang_expand_constant): Declare.
16043         * toplev.c (lang_expand_constant): Define it.
16044         * varasm.c (output_constant): Use it.
16045
16046 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16047
16048         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
16049         Change function definitions to K&R style.
16050
16051 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16052
16053         * fixinc/fixincl.c: We must not ignore SIGCLD now.
16054
16055 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
16056
16057         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
16058         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
16059         (several places): omit static initialization
16060         (process): use single fd, since only the read fd is used
16061         * fixinc/gnu-regex.c: define 'const' away, if not supported
16062         * fixinc/procopen.c(several places): omit static initialization
16063         * fixinc/server.c: define 'volitile' away, if not supported
16064
16065 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
16066
16067         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
16068         asm_fprintf and %L to generate the label name.
16069         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
16070         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
16071
16072 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
16073
16074         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
16075         insn for a conditional jump can not be found.
16076
16077 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
16078
16079         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
16080         on variables in specific sections other than .sbss and .sdata.
16081
16082 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
16083
16084         * stmt.c (expand_return): Call start_cleanup_deferral and
16085         end_cleanup_deferral around conditional code.
16086
16087 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16088
16089         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
16090         filename lists.  Utilizes new "krstr" AutoGen function.
16091         * fixinc/fixincl.x: Rebuilt.
16092
16093 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
16094
16095         * i386.c (output_float_compare): Avoid GNU-C extensions.
16096
16097 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
16098
16099         * version.c: Bump to distinguish mainline tree from the
16100         gcc-2.95 branch.
16101
16102 See ChangeLog.1 for earlier changes.