OSDN Git Service

10712b4654db6cf07fb180ee50bcef1f701239f3
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2
3         * sh.md (fpu_single, fp_mode): New attributes.
4
5 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6
7         * loop.c (current_loop_info): Renamed from loop_info_data
8         and changed to a pointer.
9         (loop_optimize): Allocate loop_info structure for each loop
10         and initialise to zero.
11         (scan_loop): Set current_loop_info.
12
13         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
14         on iteration_var.
15
16 2000-01-19  Richard Henderson  <rth@cygnus.com>
17
18         * stupid.c: Die die die.
19         * Makefile.in (OBJS): Remove stupid.o.
20         (stupid.o): Likewise.
21
22         * except.c (emit_eh_context): Don't emit USEs for stupid.
23         * explow.c (probe_stack_range): Likewise.
24         * flags.h (obey_regdecls): Remove.
25         * flow.c (find_basic_blocks): Don't run try_merge_blocks
26         when not optimizing.
27         (life_analysis): Limit data collection when not optimizing.
28         (mark_regs_live_at_end): Always mark the return value registers.
29         (mark_used_regs): Remove dummy RETURN case.
30         (print_rtl_with_bb): Don't consult obey_regdecls.
31         * function.c (use_variable, use_variable_after): Remove.
32         (assign_parms): Consult optimize not obey_regdecls.
33         (expand_function_start): Don't emit USEs for stupid.
34         (expand_function_end): Likewise.
35         * global.c (build_insn_chain): Export.
36         * integrate.c (expand_inline_function): Kill return-value USE
37         handling code.
38         * jump.c (jump_optimize_1): Do simple jump optimizations and
39         dead code elimination.
40         (calculate_can_reach_end): Remove check_deleted argument.
41         (delete_insn): Patch out insns even when not optimizing.
42         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
43         * rtl.h (use_variable, use_variable_after): Remove declarations.
44         (build_insn_chain): Declare.
45         * stmt.c (expand_value_return): Don't emit USEs for stupid.
46         (expand_end_bindings): Likewise.
47         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
48         * toplev.c (obey_regdecls): Remove.
49         (rest_of_compilation): Don't set it.  Kill stupid in favour of
50         flow1, local-alloc, and reload.
51         (main): Don't set obey_regdecls.
52
53         * config/nextstep.c (handle_pragma): Likewise.
54
55         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
56
57         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
58
59 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
60
61         * alpha-protos.h: PROTO -> PARAMS.
62         * alpha.c: Likewise.
63         * elf.h: Likewise.
64         * h8300.c: Likewise.
65         * i386-protos.h: Likewise.
66         * i386.c: Likewise.
67         * m32r-protos.h: Likewise.
68         * m32r.c: Likewise.
69         * mips.c: Likewise.
70         * mips.md: Likewise.
71         * gmon-sol2.c: Likewise.
72         * sparc.c: Likewise.
73
74 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
75
76         * ns32k-protos.h: New file.
77
78         * ns32k.c: Fix compile time warnings.
79         
80         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
81         warnings.
82
83         * ns32k.md: Likewise.
84
85 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
86
87         * vax-protos.h: New file.
88
89         * vax.c: Fix compile time warnings.
90         
91         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
92         warnings.
93
94         * vax.md: Likewise.
95
96         * vaxv.md: Likewise.
97
98 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
99
100         * romp-protos.h: New file.
101
102         * romp.c: Fix compile time warnings.
103         
104         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
105         warnings.
106
107         * romp.md: Likewise.
108
109 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
110
111         * we32k-protos.h: New file.
112
113         * we32k.c: Fix compile time warnings.
114         
115         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
116         warnings.
117
118 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
119
120         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
121
122         * except.c (eh_regs): Likewise.
123
124         * final.c (output_operand): Likewise.
125
126         * fold-const.c (target_isinf, target_isnan): Likewise.
127
128 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
129
130         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
131         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
132
133         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
134         when optimize_size.
135         (clrstrsi): Rewrite.
136         (strsethi, strsetqi): New expanders.
137         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
138         (cmpstrsi): Emit compare insn before cmpstrsi_1
139         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
140         (strlensi_1): Likewise.
141         (cmpstrsi_1): Likewise; do not output compare.
142         (strlen expander): Do not unroll when optimizing for size.
143         (*subsi3_carry): Rename to subsi3_carry
144         (addqi3_cc): New pattern.
145         * i386.h (processor_costs): Add move_ratio field.
146         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
147         * i386.c (*_cost): Set move_ratio.
148         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
149         (x86_expand_strlensi_1): Rewrite the main loop.
150
151 2000-01-17  Richard Henderson  <rth@cygnus.com>
152
153         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
154         * cse.c (find_comparison_args, fold_rtx): Likewise.
155         * integrate.c (subst_constants): Likewise.
156         * loop.c (get_condition): Likewise.
157
158         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
159
160         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
161
162 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
163
164         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
165         (RESTORE_WARN_FLAGS): Unpack it.
166         Change semantic type of extension to ttype.
167         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
168         * c-parse.y, c-parse.c, objc/objc-parse.y, 
169         objc/objc-parse.c: Regenerate.
170
171 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
172
173         * fixinc/fixlib.c: Add copyright notice.
174         (compile_re): New function.
175         * fixinc/fixlib.h: Prototype compile_re.
176
177         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
178         Use compile_re to compile regular expressions.
179
180         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
181         where the pattern matched.
182
183         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
184         use 'replace'.
185         (ultrix_ansi_compat): Likewise.
186         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
187         add egrep test.
188         (interactv_add2, interactv_add3): Delete.
189         (x11_sprintf): Don't use filename glob.
190         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
191         Regenerate.
192
193 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
194
195         * print-rtl.c: PROTO -> PARAMS.
196         * real.c: Likewise.
197         * reg-stack.c: Likewise.
198         * resource.c: Likewise.
199         * sdbout.h: Likewise.
200         * simplify-rtx.c: Likewise.
201         * stor-layout.c: Likewise.
202         * stupid.c: Likewise.
203         * xcoffout.c: Likewise.
204         * xcoffout.h: Likewise.
205
206 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
207
208         * toplev.c: PROTO -> PARAMS.
209         * toplev.h: Likewise.
210         * tree.c: Likewise.
211         * tree.h: Likewise.
212         * unroll.c: Likewise.
213         * varasm.c: Likewise.
214         * varray.c: Likewise.
215         * varray.h: Likewise.
216
217 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
218
219         * reload.c: PROTO -> PARAMS.
220         * reload.h: Likewise.
221         * reload1.c: Likewise.
222         * reorg.c: Likewise.
223         * resource.h: Likewise.
224         * rtl.c: Likewise.
225         * rtl.h: Likewise.
226         * rtlanal.c: Likewise.
227         * sbitmap.h: Likewise.
228         * sdbout.c: Likewise.
229         * stack.h: Likewise.
230         * stmt.c: Likewise.
231         * system.h: Likewise.
232
233 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
234
235         * machmode.h: PROTO -> PARAMS.
236         * mbchar.h: Likewise.
237         * mips-tdump.c: Likewise.
238         * mips-tfile.c: Likewise.
239         * optabs.c: Likewise.
240         * output.h: Likewise.
241         * prefix.c: Likewise.
242         * profile.c: Likewise.
243         * protoize.c: Likewise.
244         * real.h: Likewise.
245         * recog.c: Likewise.
246         * recog.h: Likewise.
247         * regclass.c: Likewise.
248         * regmove.c: Likewise.
249         * regs.h: Likewise.
250
251 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
252
253         * ggc-common.c: PROTO -> PARAMS.
254         * ggc-page.c: Likewise.
255         * ggc-simple.c: Likewise.
256         * ggc.h: Likewise.
257         * global.c: Likewise.
258         * graph.c: Likewise.
259         * gthr-win32.h: Likewise.
260         * haifa-sched.c: Likewise.
261         * halfpic.h: Likewise.
262         * integrate.c: Likewise.
263         * integrate.h: Likewise.
264         * jump.c: Likewise.
265         * lcm.c: Likewise.
266         * local-alloc.c: Likewise.
267         * loop.c: Likewise.
268         * loop.h: Likewise.
269
270 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
271
272         * genattr.c: PROTO -> PARAMS.
273         * genattrtab.c: Likewise.
274         * gencheck.c: Likewise.
275         * gencodes.c: Likewise.
276         * genconfig.c: Likewise.
277         * genemit.c: Likewise.
278         * genextract.c: Likewise.
279         * genflags.c: Likewise.
280         * gengenrtl.c: Likewise.
281         * genopinit.c: Likewise.
282         * genoutput.c: Likewise.
283         * genpeep.c: Likewise.
284         * genrecog.c: Likewise.
285
286 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
287
288         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
289
290 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
291
292         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
293         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
294         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
295         * configure, config.in: Rebuilt.
296
297 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
298
299         * config/i386/i386.md: Add peephole to merge successive stack
300         adjusts. 
301
302 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
303
304         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
305         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
306         when walking backwards to find all the parameter loads when
307         the basic block ends in a call.
308
309 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
310
311         * loop.c (this_loop_info): Delete.
312         (uid_loop): Add in place of uid_loop_num.  All uses updated.
313         (loop_number_exit_count): Delete and replace with entry in loop
314         structure.  All uses updated.
315         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
316         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
317         (loop_outer_loop): Likewise.
318         (loop_invalid, loop_number_exit_labels): Likewise.
319         (loop_used_count_register): Delete and replace with entry in 
320         loop_info structure.
321         (find_and_verify_loops): Add loops argument.
322         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
323         loop_end, etc. arguments with loop structure pointer.  All callers
324         changed.
325         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
326         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
327         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
328         (insert_bct): Likewise.
329         (basic_induction_var): New argument level.
330         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
331         vtop, and cont.  Add used_count_register.
332         (uid_loop): Delete declaration.
333         (loop_number_exit_count): Likewise.
334         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
335         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
336         (loop_outer_loop, loop_used_count_register): Likewise.
337         (loop_invalid, loop_number_exit_labels): Likewise.
338         (unroll_loop): Replace loop_start and loop_end arguments
339         with loop structure pointer.
340         (loop_precondition_p, loop_iterations): Likewise.
341         Include basic-block.h.
342         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
343         with loop structure pointer.
344         (loop_precondition_p, loop_iterations): Likewise.
345         * basic-block.h (struct loop): New entries vtop, cont,
346         cont_dominator, start, end, top, scan_start, exit_labels,
347         exit_count.  
348         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
349
350 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
351
352         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
353
354 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
355
356         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
357
358 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
359
360         * pdp11-protos.h: New file.
361
362         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
363         time warnings.
364         
365         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
366         warnings.
367         
368         * pdp11.md: Likewise.
369
370         * 2bsd.h: Likewise.
371
372 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
373
374         * mn10300-protos.h: New file.
375
376         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
377         time warnings.
378         
379         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
380         warnings.
381         
382         * mn10300.md: Likewise.
383
384 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
385
386         * mn10200-protos.h: New file.
387
388         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
389         time warnings.
390         
391         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
392         warnings.
393         
394         * mn10200.md: Likewise.
395
396 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
397
398         * h8300-protos.h: New file.
399
400         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
401         time warnings.
402         
403         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
404         warnings.
405         
406         * h8300.md: Likewise.
407
408 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
409
410         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
411         (asm_emit_uninitialised): Likewise.
412
413 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
414
415         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
416         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
417
418 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
419
420         * config/mips/mips.c (override_options): Don't turn on extra
421         alignment for mips16.
422
423 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
424
425         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit 
426         eabi, and make sure queued POSTINCREMENT rtl is emitted at 
427         the right point.
428
429 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
430
431         * builtins.c (PAD_VARARGS_DOWN): Define. 
432         (std_expand_builtin_va_arg): Use the above macro.
433         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
434         * tm.texi (Register Arguments): Document the above macro.
435         
436 2000-01-14  Nick Clifton  <nickc@cygnus.com>
437
438         * emit-rtl.c (emit_insn): If checking is enabled, make sure
439         that this function has not been used to emit a jump
440         instruction.
441
442         * jump.c (return_jump_1): Cope with being passed a null rtx.
443
444 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
445
446         * eh-common.h: PROTO -> PARAMS.
447         * emit-rtl.c: Likewise.
448         * errors.c: Likewise.
449         * errors.h: Likewise.
450         * except.c: Likewise.
451         * except.h: Likewise.
452         * explow.c: Likewise.
453         * expmed.c: Likewise.
454         * expr.c: Likewise.
455         * expr.h: Likewise.
456         * final.c: Likewise.
457         * fix-header.c: Likewise.
458         * flow.c: Likewise.
459         * fold-const.c: Likewise.
460         * function.c: Likewise.
461         * function.h: Likewise.
462         * gcc.c: Likewise.
463         * gcov-io.h: Likewise.
464         * gcov.c: Likewise.
465         * gcse.c: Likewise.
466
467 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
468
469         * sh-protos.h: New file.
470
471         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
472         Add static prototypes.  Fix compile time warnings.
473         
474         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
475         * sh.md: Likewise.
476         * elf.h: Likewise.
477
478 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
479
480         * arc-protos.h: New file.
481
482         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
483         time warnings.
484         
485         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
486         warnings.
487         
488         * arc.md: Likewise.
489
490 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
491
492         * dsp16xx-protos.h: New file.
493
494         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
495         time warnings.
496         
497         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
498         warnings.
499         
500         * dsp16xx.md: Likewise.
501
502 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
503
504         * convex-protos.h: New file.
505
506         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
507         time warnings.
508         
509         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
510         warnings.
511
512 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
513
514         * elxsi-protos.h: New file.
515
516         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
517         time warnings.
518         
519         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
520         warnings.
521         
522         * elxsi.md: Likewise.
523
524 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
525
526         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
527         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
528         match the comment for MIPS16.
529
530 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
531
532         * flow.c (split_edge): Do not call set_block_for_insn if we
533         do not have a basic_block_for_insn structure.
534
535         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
536         and destination functions are 32bit aligned within the trampoline.
537         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
538         (TRAMPOLINE_ALIGNMENT): Define.
539
540         * cse.c (cse_insn): When changing (set (pc) (reg)) to
541         (set (pc) (label_ref)), verify the change creates a valid insn.
542
543         * fr30.c (call_operand): Tighten and rework to match rules for
544         call RTL expressions.
545         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
546         * fr30.md (call patterns): Improve constraints.
547
548 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
549
550         * fr30.c (fr30_expand_epilogue): Revert last change.
551         Use emit_jump_insn for the return insn.
552
553 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
554                           Stan Cox  <scox@cygnus.com>
555
556         * predict.c: New file. Preliminary infrastructure work for static
557         branch prediction and basic block reordering.
558         * basic-block.h: Add prototype for estimate_probability.
559         * Makefile.in: Add rules for predict.o.
560
561 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
562
563         * fixincludes (va_list): Use __not_va_list__ for the dummy.
564         * fixinc/*: Likewise.
565
566 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
567
568         * cccp.c: PROTO -> PARAMS.
569         * cexp.y: Likewise.
570         * collect2.c: Likewise.
571         * combine.c: Likewise.
572         * convert.h: Likewise.
573         * cse.c: Likewise.
574         * dbxout.c: Likewise.
575         * dbxout.h: Likewise.
576         * diagnostic.c: Likewise.
577         * doprint.c: Likewise.
578         * dwarf2out.c: Likewise.
579         * dwarf2out.h: Likewise.
580         * dwarfout.c: Likewise.
581         * dwarfout.h: Likewise.
582         * dyn-string.h: Likewise.
583
584 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
585
586         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
587         macro conditionals guarding use.
588
589         * dwarf2out.c: Include "tm_p.h".
590
591         * function.c (locate_and_pad_parm): Mark parameter with
592         ATTRIBUTE_UNUSED.
593         (expand_function_end): Likewise for variable `context'.
594
595         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
596
597 2000-01-13  Nick Clifton  <nickc@cygnus.com>
598
599         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
600         register to prevent compile time warnings.
601
602 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
603
604         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
605         to avoid -Wtraditional warning.
606
607 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
608
609         * 1750a-protos.h: New file.
610
611         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
612         time warnings.
613         
614         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
615         warnings.
616         
617         * 1750a.md: Likewise.
618
619 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
620
621         * a29k-protos.h: New file.
622
623         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
624         time warnings.
625         
626         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
627         warnings.
628
629 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
630
631         * clipper-protos.h: New file.
632
633         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
634         time warnings.
635         
636         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
637         warnings.
638
639 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
640
641         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
642
643 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
644
645         * configure.in (--enable-new-gxx-abi): New option.
646         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
647         * Makefile.in (GXX_ABI_FLAG): New variable.
648         * configure: Regenerate.
649
650 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
651
652         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
653         * tm.texi (FORCE_STRUCT_BLK): Document.
654         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
655
656 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
657
658         * config/ns32k/ns32k.md: Revert Jan 9 change.
659
660         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
661         to a mode-test, if the predicate is address_operand.
662
663 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
664
665         * combine.c (if_then_else_cond): Be careful about what kinds
666         of RTL expressions are passed to operand_subword.
667
668         * flow.c (split_edge): If we have to insert a new jump, make
669         sure to associate it with a basic block.
670
671         * flow.c (commit_one_edge_insertion): A block with one successor
672         can end in a JUMP_INSN that is not a simplejump.
673
674 2000-01-12  Robert Lipe  <robertl@sco.com>
675
676         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
677         (BUILD_VA_LIST_TYPE): Define.
678         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
679         with crtstuff.c.
680
681 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
682
683         * cccp.c (do_pragma): Add cast to (char *).
684
685 2000-01-12  Richard Henderson  <rth@cygnus.com>
686             Fred Fish  <fnf@be.com>
687             Jason Merrill  <jason@cygnus.com>
688
689         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
690         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
691         * i386/beos-elf.h, i386/beos-pe.h: New files.
692
693         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
694         * cross-make (SYSTEM_HEADER_DIR): Define using
695         CROSS_SYSTEM_HEADER_DIR.
696
697         * gcc.c (LIBRARY_PATH_ENV): Provide default.
698         (process_command): Use it.
699         (main): Likewise.  Kill trailing = from env vars.
700         (build_search_list): Put it back.
701         * collect2.c (main): Use LIBRARY_PATH_ENV.
702
703         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
704         * toplev.c: Use NEED_DECLARATION_ENVIRON.
705
706         * tm.texi (Frame Layout): Document SMALL_STACK.
707         * c-common.c (c_common_nodes_and_builtins): Check it.
708
709         * system.h: Undef alloca after including glibc's <stdlib.h>,
710         if USE_C_ALLOCA is defined.
711
712         * gcc.c (set_input): New fn.
713         (main): After all input files are compiled, reset the input file
714         info to the first.
715
716         * aclocal.m4 (rindex, index): If already defined, don't attempt
717         to redefine.
718
719         * ginclude/varargs.h: (__va_list__): Define ifndef.
720         * ginclude/stdarg.h: Likewise.
721
722         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int 
723         instead of unsigned char.
724
725         * hash.h (true, false, boolean): Undef before enum.
726
727         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
728         proper type of "HOST_WIDE_INT *", rather than their natural type of
729         "unsigned HOST_WIDE_INT *".
730
731 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
732
733         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
734
735         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
736
737         * regclass.c (choose_hard_reg_mode): Likewise.
738
739         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
740
741         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
742
743 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
744
745         * c-common.c: PROTO -> PARAMS.
746         * c-common.h: Likewise.
747         * c-decl.c: Likewise.
748         * c-iterate.c: Likewise.
749         * c-lang.c: Likewise.
750         * c-lex.c: Likewise.
751         * c-lex.h: Likewise.
752         * c-parse.in: Likewise.
753         * c-pragma.c: Likewise.
754         * c-pragma.h: Likewise.
755         * c-tree.h: Likewise.
756         * c-typeck.c: Likewise.
757         * objc/objc-act.c: Likewise.
758         * objc/objc-act.h: Likewise.
759
760 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
761
762         * m88k-protos.h: New file.
763
764         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
765         time warnings.
766         
767         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
768         
769         * m88k.md: Likewise.
770
771         * tekXD88.h: Likewise.
772
773 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
774
775         * m68k-protos.h: New file.
776
777         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
778         time warnings.
779         
780         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
781         
782         * mot3300.h: Likewise.
783
784 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
785
786         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
787         extract_bitlst.
788         (extract_bitlist): Declare bitlen.
789
790 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
791
792         * cccp.c: Accept and ignore -lang-fortran.
793
794         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
795         qualifiers don't match at any level of pointerness.
796
797 2000-01-12  Robert Lipe  <robertl@sco.com>
798
799         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
800
801 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
802
803         * reload1.c (reload_reg_unavailable): New static variable.
804         (reload_reg_free_p): Test it.
805         (reload_reg_free_for_value_p): Test it instead of
806         reload_reg_used.
807         (choose_reload_regs_init): Compute it.
808
809 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
810
811         * reorg.c (fill_slots_from_thread): Check modified_in_p
812         before replacing.
813
814 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
815
816         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
817         these nodes even if INTERNALS is not set.
818
819 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
820
821         * gcse.c (delete_null_pointer_checks_1): Cope when
822         get_condition cannot determine the condition.
823
824 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
825  
826        * toplev.h (set_message_length): Declare.
827  
828        * diagnostic.c (obstack_chunk_alloc): Define macro.
829        (obstack_chunk_free): Likewise.
830        (struct output_buffer): New data structure.
831        (vmessage): Remove.
832        (output_maximum_width): New variable.
833        (doing_line_wrapping, set_message_length, init_output_buffer,
834        get_output_prefix, output_space_left, emit_output_prefix,
835        output_newline, output_append, output_puts, dump_output,
836        vbuild_message_string, build_message_string, build_location_prefix,
837        voutput_notice, output_printf, line_wrapper_printf,
838        vline_wrapper_message_with_location):  New functions. Implement
839        automatic line wrapping.
840        (v_message_with_decl): Make it handle automatic line wrapping.
841        (v_error_with_file_and_line): Likewise.
842        (v_warning_with_file_and_line): Likewise.
843        (announce_function): Likewise.
844        (default_print_error_function): Likewise.
845         
846 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
847
848         * cpplib.h (struct cpp_options): Change lang_asm to char.
849         Add lang_fortran.
850         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
851         done in cpp_handle_option now.
852         (initialize_builtins): Take out special case code used only by
853         __STDC_VERSION__.
854         (cpp_handle_option): Turn off trigraphs and trigraph warnings
855         if -traditional.  Recognize -lang-fortran and set
856         lang_fortran, also turn off cplusplus_comments.
857         (print_help): Document -lang-fortran.
858         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
859         lang_asm. Ignore all directives other than `# 123 "file"' if
860         CPP_PREPROCESSED.
861         (cpp_get_token): If -traditional, don't recognize directives
862         unless the # is in column 1.
863         (parse_string): If lang_fortran or lang_asm, silently
864         terminate strings ('' or "") at end of line.
865         Remove unnecessary braces.
866
867 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
868             Richard Henderson  <rth@cygnus.com>
869
870         * resource.c (mark_referenced_resources): Mark a set strict_low_part
871         as used.
872         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
873         strict_low_part when possible.
874
875 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
876
877         * alias.c: PROTO -> PARAMS.
878         * basic-block.h: Likewise.
879         * bitmap.c: Likewise.
880         * bitmap.h: Likewise.
881         * builtins.c: Likewise.
882         * c-aux-info.c: Likewise.
883         * caller-save.c: Likewise.
884         * calls.c: Likewise.
885
886 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
887
888         * Makefile.in (toplev.o): Depend on regs.h.
889
890         * output.h (tdesc_section): Prototype.
891
892         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
893
894         * sdbout.c: Include "tm_p.h".
895
896         * toplev.c: Include "regs.h".
897
898 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
899
900         * unroll.c (unroll_loop): Add EH support.
901
902 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
903
904         * pa-protos.h: New file.
905
906         * pa.c: Include recog.h and tm_p.h.
907         (compute_zdepwi_operands, compute_movstrsi_length,
908         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
909         find_addr_reg, import_milli): Add static prototypes.
910         (pa_cpu_string, pa_arch_string): Constify a char*.
911         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
912         (read_only_operand): Add argument `mode'.
913         (singlemove_string, output_move_double, output_fp_move_double,
914         output_block_move, output_and, output_ior, output_ascii,
915         remove_useless_addtr_insns, milli_names, output_mul_insn,
916         output_div_insn, output_mod_insn, output_arg_descriptor,
917         output_cbranch, output_bb, output_bvb, output_dbra, ,
918         output_millicode_call, output_call, hppa_encode_label,
919         output_parallel_movb, output_parallel_addb): Constify a char*.
920         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
921         (output_parallel_addb): Remove extra arg to `constrain_operands'
922
923         * pa.h:  Move all prototypes to pa-protos.h.
924         (pa_cpu_string, pa_arch_string): Constify a char*.
925         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
926
927         * pa.md: Call `function_label_operand' with mode argument.
928         Likewise for `read_only_operand'.
929         Fix nesting of parens in call to `symbolic_operand'.
930         
931 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
932
933         * i860-protos.h: New file.
934
935         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
936         time warnings.
937         
938         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
939         
940         * i860.md: Likewise.
941
942 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
943
944         * i386.md (movstrsi expander): Rewrite.
945         (movstrsi_1 insn): Deleted.
946         (strmovhi, strmovqi expander): New expanders.
947         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
948         * i386.c (x86_single_stringop): New global variable.
949         * i386.h (x86_single_stringop): Declare.
950         (TARGET_SINGLE_STRINGOP): New macro.
951
952 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
953
954         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
955         integer vararg POSTINCREMENT before the destination of the jump
956         for the hard fp case. 
957         (function_arg_pass_by_reference): Pass a copy of CUM to 
958         FUNCTION_ARG.
959         
960         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
961         for CONSTANT_ADDRESS_P above while loop for subreg.
962
963 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
964
965         * flow.c (propagate_block): When a prologue/epilogue insn
966         is marked dead, unconditionally clear libcall_is_dead and
967         insn_is_dead, and only dump rtl if warnings aren't being
968         suppressed.
969
970 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
971
972         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
973         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
974         (FIXED_REGISTERS): Set dirflag as fixed.
975         (CALL_USED_REGISTERS): Set dirflag as used.
976         (REG_ALLOC_ORDER): Set dirflag as last one.
977         (DIRFLAG_REG): New macro.
978         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
979         (HI_REGISTER_NAMES): Add dirflag.
980         (DEBUF_PRINT_REG): Handle dirflag.
981         * i386.md (type attribute): New cld and str types.
982         (length_opcode attribute): Set cld and str to 1.
983         (memory attribute): Set str to unknown - it is not clear from the
984         patterns.
985         (pent_np function unit): Prefixed string operations takes 12 cycles
986         minimally; cld takes 2 cycles.
987         (ppro_uops attribute): Str is "many" and cld is "few".
988         (ppro_p0 unit): Handle cld here.
989         (k6_alux unit): Handle cld and str types.
990         (k6_load unit): It is ocupied by str opcodes.
991         (k6_store unit): It is ocupied by str opcodes.
992         (athlon_decode): Str is vector decoded.
993         (athlon_ieu): Handle str and cld.
994         (cld pattern): New.
995         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
996         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
997         cmpstrsi_nz_1 insn): Do not output cld instruction
998
999 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
1000
1001         * gcc.texi (G++ and GCC): Add Java and Chill.
1002         (Bug Critera): Don't list languages.
1003
1004         * gcc.texi (Incompatibilities): No longer claim most C compilers
1005         are K&R.
1006
1007         * gcc.texi (G++ and GCC): Update other front-ends list.
1008
1009 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
1010
1011         * i386.c (ix86_expand_setcc): Fix typo.
1012         (ix86_expand_movcc): Similarly.
1013
1014         * Band-aid until haifa's bitset implementation is nuked.
1015         * haifa-sched.c (extract_bitlst): New parameter for size of the
1016         bitset in bits.  All callers changed.  Avoid looking at undefined
1017         bits in the bitset.
1018         (edgeset_bitsize): New variable.
1019         (schedule_region): Initialize edgeset_bitsize.
1020
1021 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1022
1023         * Makefile.in (optabs.o): Depend on real.h
1024         (resource.o): Depend on insn-attr.h
1025
1026         * builtins.c (result_vector): Wrap prototype in macro conditions
1027         governing definition and use.
1028
1029         * c-common.c: Include tm_p.h.
1030
1031         * c-lex.c: Likewise.
1032
1033         * elfos.h: Constify a char*.
1034
1035         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
1036         (get_attr_length, shorten_branches, profile_after_prologue): Mark
1037         parameter with ATTRIBUTE_UNUSED.
1038
1039         * fold-const.c (exact_real_inverse): Wrap variable `i' in
1040         CHECK_FLOAT_VALUE.
1041
1042         * haifa-sched.c (schedule_insns): Mark parameter with
1043         ATTRIBUTE_UNUSED.
1044
1045         * optabs.c: Include real.h.
1046
1047         * real.h (ereal_atof): Add prototype arguments.
1048
1049         * resource.c: Include insn-attr.h.
1050
1051         * sdbout.c (sdbout_queue_anonymous_type,
1052         sdbout_dequeue_anonymous_types): Wrap in macro
1053         SDB_ALLOW_FORWARD_REFERENCES.
1054         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
1055         ATTRIBUTE_UNUSED.
1056
1057         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
1058
1059         * stupid.c: Include tm_p.h.
1060
1061         * tree.c (real_value_from_int_cst): Mark parameter with
1062         ATTRIBUTE_UNUSED.
1063
1064 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1065
1066         * i960-protos.h: New file.
1067
1068         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
1069         time warnings.
1070         
1071         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
1072
1073 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1074
1075         * combine.c (expand_field_assignment): Do not discard SUBREGs
1076         while computing nonzero_bits.
1077
1078 2000-01-09  Nick Clifton  <nickc@cygnus.com>
1079
1080         * config/arm/arm.c: Fix compile time warnings about signed vs
1081         unsigned constants.
1082         * config/arm/arm.h: Fix compile time warnings about signed vs
1083         unsigned constants.
1084
1085 2000-01-09  Philip Blundell  <philb@gnu.org>
1086
1087         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
1088         than `ldm' with only one register.
1089         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with 
1090         only one register.
1091
1092         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
1093         clobbered.
1094
1095 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
1096
1097         * config/ns32k/ns32k.md (load or push effective address): Operand 1
1098         must have SImode.
1099
1100 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1101
1102         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1103         assignment used as truth value.
1104
1105         * function.c (assign_temp): Mark parameter `dont_promote' with
1106         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
1107         PROMOTE_FOR_CALL_ONLY.
1108
1109         * genrecog.c (write_subroutine): Mark variable `operands' with
1110         ATTRIBUTE_UNUSED.
1111
1112         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
1113         ATTRIBUTE_UNUSED.
1114
1115         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
1116         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
1117
1118         * toplev.c (note_deferral_of_defined_inline_function): Likewise
1119         for `decl'.
1120
1121 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1122
1123         * config/c4x.h: Tidy up comments.
1124         * config/c4x.c: Likewise.
1125
1126 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
1127
1128         * fold-const.c (lshift_double, rshift_double): Handle
1129         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
1130
1131 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1132
1133         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
1134         in prepare_function_start().
1135
1136 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
1137
1138         * config/v850/v850.c (expand_epilogue): Interrupt functions no
1139         longer allocate extra stack for function calls.
1140
1141 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1142
1143         * config/c4x/c4x.md (*subqf3_set): Fix typo.
1144
1145 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1146         
1147         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
1148
1149 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
1150
1151         * rs6000.c (processor_target_table): Add power3 as alias for 630.
1152         * aix43.h: Revert Aug 2 change.
1153         (HAS_INIT_SECTION): Define, not visible yet.
1154         (LD_INIT_SWITCH): Define, not visible yet.
1155         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
1156
1157         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
1158
1159         * collect2.c (main): Expand ld2 size further.
1160         (export_object_lst): Cast assignment to avoid warning.
1161         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
1162         (scan_prog_file, COFF): Do not collect initialization or
1163         finalization functions generated for entire shared object if
1164         init/fini support present.
1165
1166 2000-01-07  Nick Clifton  <nickc@cygnus.com>
1167
1168         * config/elfos.h: Tidy up formatting of marcos.  Make sure
1169         that .section directives are always prefixed by a tab.
1170
1171         * config/svr4.h: Add #include "elfos.h" and remove duplicate
1172         definitions.
1173
1174 2000-01-07  Matt Austern  <austern@sgi.com>
1175
1176         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
1177         expon.
1178
1179 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
1180
1181         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
1182         crtstuff.c.
1183         (crtbegin.o, s-crtS): Likewise.
1184
1185 2000-01-06  Richard Henderson  <rth@cygnus.com>
1186
1187         * alpha.md (adddi_2+1): Limit offset such that it will be
1188         loadable with a single ldah+lda pair.
1189         (adddi_2+2): Explicitly fail split if we can't make it work.
1190
1191 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
1192
1193         * protoize.c: Conditionally include unistd.h.
1194         (IS_SAME_PATH_CHAR): New macro.
1195         (IS_SAME_PATH): New macro.
1196         (CPLUS_FILE_SUFFIX): New macro.
1197         (cplus_suffix): New static variable.
1198         (is_abspath): New static function.
1199         (in_system_include_dir): Handle DOS style pathnames.
1200         (file_could_be_converted): Likewise.
1201         (file_normally_convertible): Likewise.
1202         (directory_specified_p): Likewise.
1203         (file_excluded_p): Likewise.
1204         (abspath): Likewise.
1205         (shortpath): Likewise.
1206         (referenced_file_is_newer): Likewise.
1207         (save_def_or_dec): Likewise.
1208         (do_processing): Likewise.
1209         (main): Likewise.
1210         (edit_file): Likewise. Use rename instead of link.
1211         (rename_c_file): Likewise. Don't rename syscalls file.
1212         (munge_compile_params): Define null device for DOS based systems.
1213         (process_aux_info_file): Use binary mode if appliable.
1214         (edit_file): Likewise.
1215         * invoke.texi (Running Protoize): Document C++ suffixes used. 
1216   
1217         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
1218         IS_DIR_SEPARATOR macros.
1219         * collect2.c: Likewise.
1220         * cppinit.c: Likewise.
1221         * dwarf2out.c: Likewise.
1222         * gcc.c: Likewise.
1223         * gcov.c: Likewise.
1224         * prefix.c: Likewise.
1225         * rtl.c: Likewise.
1226         * toplev.c: Likewise.
1227         * system.h: And move to here.
1228
1229         * prefix.c (update_path): Fix typo in variable name.
1230
1231 2000-01-06  Richard Henderson  <rth@cygnus.com>
1232
1233         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
1234         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
1235         (count_reg_sets_1, count_reg_references): Likewise.
1236         (flow_loops_level_compute): Start counting actual loop depth at 1.
1237         (flow_loops_find): Likewise.
1238         * local-alloc.c (update_equiv_regs): Likewise.
1239         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
1240
1241 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1242  
1243        * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
1244        FIRST_PSEUDO_REGISTER 
1245        * dwarf2out.c: Don't include frame.h    
1246        * dwarfout.c: Likewise
1247        * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
1248        frame.h 
1249         
1250 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
1251
1252         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1253         dead registers.
1254
1255         * i386.c (movsf splitter): Fix typo in my last checkin.
1256
1257 2000-01-05  Nick Clifton  <nickc@cygnus.com>
1258
1259         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
1260         own definition of this macro.
1261         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
1262         flag_data_sections or UNIQUE_SECTION_P are true.
1263
1264         * tm.texi (UNIQUE_SECTION): Document that it can be called for
1265         unitialised data decls.
1266
1267         * config/i386/winnt.c (i386_pe_unique_section): Cope with
1268         being called for uninitialised data.
1269
1270         * config/i386/interix.c (i386_pe_unique_section): Cope with
1271         being called for uninitialised data.
1272
1273         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
1274         for uninitialised data. 
1275
1276         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
1277         for uninitialised data. 
1278
1279         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
1280         for uninitialised data. 
1281
1282         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
1283         (UNIQUE_SECTION_P): Always generate a unique section if
1284         flag_data_sections is true.
1285         (UNIQUE_SECTION): Also generate unique sections for
1286         uninitialised data.
1287         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
1288         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
1289         named_section(). 
1290         
1291 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1292
1293         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
1294         SI, or DI.
1295
1296 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1297         
1298         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
1299         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
1300         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
1301         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
1302         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
1303
1304         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
1305
1306 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
1307
1308         * c-decl.c (finish_enum): Simplify code to determine minimum and
1309         maximum values of the enum, and calculate the type.  Remove check
1310         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
1311         the DECL_INITIAL of each enumeration constant with a copy converted
1312         to the enumeration type.  When updating variant types, don't bother
1313         updating the type itself.
1314
1315         * c-typeck.c (build_binary_op): Simplify conditional expressions
1316         when weeding out spurious signed-unsigned warnings.  Add new
1317         spurious warning category: if the unsigned quantity is an enum
1318         and its maximum value fits in signed_type(result_type).  Update
1319         commentary.
1320         (build_conditional_expr): Warn here if one alternative is signed
1321         and the other is unsigned.
1322
1323 2000-01-05  Nick Clifton  <nickc@cygnus.com>
1324
1325         * config/fr30/fr30.h: Remove extraneous comments.
1326
1327 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
1328
1329         * reload1.c (choose_reload_regs): When disabling a reload, also
1330         set reload_spill_index to -1.
1331
1332 2000-01-04  Joel Sherrill (joel@OARcorp.com>
1333
1334         * configure.in (m68*-*-rtemscoff*): New target, formal name for
1335         old m68*-*-rtems*.
1336         (m68*-*-rtemself*): New target.
1337         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
1338         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
1339         (sparc*-*-rtemself*): New target.
1340         (sparc*-*-rtems*): Now elf not a.out.
1341         * config/i386/rtems.h: Include config/rtems.h.
1342         * config/i386/rtemself.h: Include config/rtems.h.
1343         * config/i960/rtems.h: Include config/rtems.h.
1344         * config/m68k/rtems.h: Include config/rtems.h.
1345         * config/m68k/rtemself.h: Include config/rtems.h.
1346         * config/mips/rtems64.h: Include config/rtems.h.
1347         * config/pa/rtems.h: Include config/rtems.h.
1348         * config/rs6000/rtems.h: Include config/rtems.h.
1349         * config/sh/rtems.h: Include config/rtems.h.
1350         * config/sh/rtemself.h: Include config/rtems.h.
1351         * config/sparc/rtems.h: Include config/rtems.h.
1352         * config/sparc/rtemself.h: Include config/rtems.h
1353
1354 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
1355
1356         * final.c (shorten_branches): Correctly compute length of
1357         asms without operands.
1358  
1359 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
1360
1361         * configure.in: Add pj target.
1362         * configure: Regenerate.
1363         * config/pj: New directory.
1364         * config/pj/lib1funcs.S: New file.
1365         * config/pj/linux.h: New file.
1366         * config/pj/pj.c: New file.
1367         * config/pj/pj.md: New file.
1368         * config/pj/pjl.h: New file.
1369         * config/pj/t-pj: New file.
1370         * config/pj/xm-pj.h: New file
1371
1372 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
1373
1374         * toplev.c (rest_of_compilation): Run shorten-branches before
1375         reg-stack for now.
1376
1377 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1378
1379         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of 
1380         macros so that they're consistent with their names.
1381         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1382         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1383
1384 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1385
1386         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
1387         modified inadvertently.
1388
1389 2000-01-04  Joel Sherrill <joel@OARcorp.com>
1390
1391         * configure.in (v850*-*-rtems*): New target.
1392         * configure: Regenerate.
1393         * config/v850/rtems.h: New file.
1394
1395 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1396
1397         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
1398         (__gthread_key_create): Likewise. 
1399         (__gthread_key_dtor):  Likewise.
1400         (__gthread_once): Fix logic.
1401         (__gthread_key_delete): Cast away constness.
1402
1403         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
1404         * invoke.texi: Document.
1405         * i386/mingw32.h (CPP_SPEC): Use.
1406         (LIBGCC_SPEC): Likewise.
1407         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
1408
1409 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
1410
1411         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
1412         (HANDLE_PRAGMA_PACK): Undefine.
1413         (SLOW_UNALIGNED_ACCESS): Define.
1414
1415 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
1416
1417         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1418         to default definition.
1419         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
1420         (store_fixed_bit_field): Call macro with word_mode and alignment.
1421         (extract_bit_field): Call macro with relevant mode and alignment.
1422         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1423         to default definition.
1424         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
1425         and alignment.
1426         (move_by_pieces_ninsns): Likewise.
1427         (clear_by_pieces): Likewise.
1428         (emit_push_insn): Likewise.
1429         (store_field): Call macro with relevant mode and alignment.
1430         (expand_expr): Likewise.
1431         (expand_expr_unaligned): Likewise.
1432
1433         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
1434         (SLOW_UNALIGNED_ACCESS): Define.
1435         (CASE_VECTOR_MODE): Always use 32-bit offsets.
1436         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
1437         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
1438         (toc_section): Likewise and .toc pseudo-op.
1439         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
1440         64-bit mode.
1441         (TEXT_SECTION_ASM_OP): Likewise.
1442         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
1443         32-bit offsets.
1444
1445         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
1446         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
1447         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
1448         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
1449         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
1450
1451 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
1452
1453         * regclass.c: Revert my Jan 4 change to loop cost computation.
1454
1455 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1456
1457         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
1458         compilation.
1459
1460 2000-01-04  Stan Cox  <scox@cygnus.com>
1461
1462         * haifa-sched.c (build_control_flow): Change unreachable simple
1463         loop test to check if current block has only one predecessor.
1464         (find_rgns): Initialize degree.  Use dest as degree index, not src.
1465
1466 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1467
1468         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
1469
1470         * calls.c (expand_call): Likewise for
1471         `old_stack_arg_under_construction'.
1472
1473         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
1474
1475         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
1476         `save_constant'.
1477
1478         * gcc.c (execute): Likewise for `ut' and `st'.
1479
1480         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
1481
1482         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
1483
1484         * jump.c (jump_optimize_1): Likewise for `temp2'.
1485
1486         * local-alloc.c (block_alloc): Likewise for `r1'.
1487
1488         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
1489
1490         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
1491         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
1492         
1493         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
1494         and `set2'.
1495
1496         * reload.c (find_reloads): Likewise for `goal_alternative_number'
1497         and `goal_earlyclobber'.
1498
1499         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
1500
1501         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
1502
1503         * stupid.c (stupid_life_analysis): Likewise for `chain'.
1504
1505         * unroll.c (copy_loop_body): Likewise for `copy'.
1506
1507         * varasm.c (output_constructor): Likewise for `byte'.   
1508
1509 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1510
1511         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
1512         all FP constants for constant->reg moves.
1513         (ix86_split_to_parts): Try to convert memory address into immediate
1514         when available in the constant pool.
1515         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
1516         moves.
1517         (LEGITIMATE_CONSTANT_P): Return 1.
1518         * i386.md (pushsf): New splitter to convert constant pool memory
1519         reference to immediate.
1520         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
1521         reload.
1522
1523 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
1524
1525         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
1526         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
1527         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
1528         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
1529         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
1530
1531 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
1532
1533         * ginclude/stdbool.h:  Support compilation as C++.
1534
1535 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1536
1537         * fold-const.c (make_range): Don't try to reverse an unbounded range.
1538
1539 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
1540
1541         * regclass.c (regclass): Properly compute loop_cost.  Adjust
1542         comments.
1543
1544         * regclass.c: Fix minor whitespace problems.
1545
1546 2000-01-03  Anthony Green  <green@cygnus.com>
1547         
1548         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
1549         Restore the pic register if required.
1550
1551 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1552
1553         * c-common.c (format_char_info): Update comment.
1554         (check_format_info): Recognize 'z' modifier in the same way 'Z'
1555         was recognized.  Emit warning for formats new in ISO C99 only
1556         if flag_isoc9x is not set.
1557
1558 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
1559
1560         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
1561
1562 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1563
1564         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
1565         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
1566         (make_compound_operation): Choose cheaper alternative between
1567         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
1568
1569         * regclass.c (op_costs): Remove global variable.
1570         (record_reg_classes): New parameter "op_costs" and "reg_pref".
1571         (record_operand_costs): Break out from ...
1572         (scan_one_insn): ... here.
1573         (dump_regclass): Make dumps nicer.
1574         (regclass): Dump preferrences choosed and changes done during passes.
1575
1576 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1577
1578         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
1579
1580 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1581
1582         * config/sparc/sparc.c (gen_df_reg): New function.
1583         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
1584         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
1585         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
1586         movtf_cc_reg_sp64+1): Use it.
1587
1588 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
1589
1590         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
1591         copied LABEL_DECLs.
1592
1593 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1594
1595         * config/i386/i386.c (ix86_expand_unary_operator): Function
1596         definition made void.
1597         (ix86_expand_binary_operator): Update outdated preceding comment.
1598         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
1599         prototype.
1600
1601         * config/i386/i386.c (override_options): Fix option-name typo.
1602
1603 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
1604
1605         * system.h (CEIL): Define.
1606         * builtins.c (CEIL): Remove.
1607         * expmed.c (CEIL): Likewise.
1608         * expr.c (CEIL): Likewise.
1609         * stor-layout.c (CEIL): Likewise.
1610         
1611 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1612
1613         * expr.c (store_constructor_field): Fix typo introduced with last
1614         gcc2 merge.
1615
1616 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
1617
1618         * tree.h (BINFO_N_BASETYPES): New macro.
1619
1620 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
1621
1622         * expmed.c (emit_store_flag): Prevent losing a pending stack
1623         adjust the same way we prevent losing queued increments.
1624
1625 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1626
1627         * function.c (update_temp_slot_address): Handle case where sum of
1628         temporary address plus offset in register is a valid address.
1629
1630 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
1631
1632         * genrecog.c (change_state) Corrected typo.
1633
1634 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1635
1636         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
1637         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
1638         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
1639
1640 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1641
1642         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
1643         case, expand GT comparisons correctly.  Fix a comment before this
1644         part of the code.
1645
1646 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1647
1648         * dwarfout.c: Include "frame.h" 
1649         * dwarf2out.c: Likewise.
1650         * Makefile.in (dwarfout.o): Depend on frame.h
1651         (dwarf2out.o): Likewise.
1652
1653 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
1654
1655         Restore i386 binary compatibility in Dwarf EH info.
1656         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
1657         value of FIRST_PSEUDO_REGISTER.
1658         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
1659         (struct frame_state): Use DWARF_FRAME_REGISTERS.
1660         * dwarfout.c (output_reg_number): Ditto.
1661         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
1662         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
1663
1664 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
1665
1666         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
1667         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
1668         (<hack>_RE_CT): not needed
1669         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
1670         rewritten to scan the file text once only
1671         "template<..." test added
1672         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
1673         (is_cxx_header): declaration added
1674         * fixinc/fixtests.c(is_cxx_header): removed
1675         (apply_fix_p_t): removed
1676         (double_slash_test): is_cxx_header is only called once now
1677         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
1678         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
1679         within the templates.
1680         The borken spelling of "broken" was fixed.
1681         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
1682         The default level depends on FIXINC_DEBUG.
1683
1684 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1685
1686         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
1687         Otherwise provide a declaration for atexit.
1688         (init_dummy): Make sure dummy call to atexit is nevertheless
1689         called with correct number of args.
1690
1691         * frame.c: Update comments referring to other files.
1692         
1693         * libgcc2.c: Likewise.
1694
1695 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1696
1697         * cse.c (free_element, get_element): Remove unused prototypes.
1698
1699         * fold-const.c (extract_muldiv): Initialize variables `op0' and
1700         `op1'.
1701
1702         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
1703         `else' clauses.
1704
1705 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
1706
1707         * configure.in,configure: case arm for mn10200-*-* now sets
1708         float_format=i32 so that float.h will correctly claim "double"
1709         to be 32 bits. Ran autoconf to generate configure from .in file.
1710
1711 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
1712
1713         * pa.md (conditional zero): If op1 is a register, force it into
1714         the same register as op0.
1715
1716 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
1717
1718         * tree.h (BINFO_BASETYPES): Improve documentation.
1719
1720 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1721
1722         * configure.in (--enable-checking): Use a more portable `for'
1723         loop syntax.
1724
1725 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1726
1727         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
1728         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
1729
1730         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
1731         Delete files.
1732
1733         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
1734         Delete descriptions.
1735
1736         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
1737         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
1738         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
1739         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
1740         xm-svr4.h: Remove all instances of sys_siglist handling.
1741
1742 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
1743
1744         * config/sparc/sparc.md (cmp_zero_qi,
1745         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
1746         cmp_zero_extendqidi2_andcc_set): New patterns.
1747
1748 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
1749
1750         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
1751         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
1752         (fpgnulib.c, xfgnulib.c): Add rules.
1753         * m68k/t-mot3300-gas: Likewise.
1754
1755 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
1756
1757         * configure.in: Avoid [[ by using test and changequote.  Add
1758         changequote required by 1999-12-14 change.
1759         * configure: Rebuild.
1760
1761 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
1762
1763         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
1764
1765 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
1766
1767         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
1768         * flow.c (find_use_as_address): Likewise.
1769         * function.c (fixup_var_refs_1): Likewise.
1770         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
1771         * jump.c (invert_exp, redirect_exp): Likewise.
1772         * loop.c (replace_call_address): Likewise.
1773         (count_nonfixed_reads): Likewise.
1774         * rtlanal.c (modified_between_p): Likewise.
1775         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
1776         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
1777         * unroll.c (remap_split_bivs): Likewise.
1778
1779 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1780
1781         * diagnostic.c (v_message_with_decl): Use .* format specifier
1782         instead of building the format specifier width manually.
1783
1784         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
1785         determining whether to provide a prototype.  Remove the
1786         sys_siglist clause in the conditional.
1787
1788 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1789
1790         * fold-const.c (operand_equal_p): Use memcmp to compare string
1791         constants.
1792         Suggested by D. J. Bernstein
1793
1794 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
1795
1796         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
1797         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
1798         compiling libgcc2.
1799         * config/mips/mips.h (TARGET_64BIT): Likewise.
1800         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
1801         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
1802         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
1803         dsps.  Give routines proper names if SI/DI modes are not used.
1804         * longlong.h: Use DWunion instead of DIunion.
1805
1806 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
1807
1808         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
1809         GC_CHECKING, GC_ALWAYS_COLLECT.
1810         * configure.in: Allow --enable-checking with an argument
1811         listing check modes to enable.
1812         * config.in, configure: Rebuilt.
1813         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
1814         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
1815         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
1816         ENABLE_GC_ALWAYS_COLLECT.
1817         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
1818         throughout.
1819         * tree.h, tree.c: Change ENABLE_CHECKING to
1820         ENABLE_TREE_CHECKING throughout.
1821
1822 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1823
1824         * fold-const.c (fold_truthop): Properly check for FP RHS.
1825
1826 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
1827
1828         * toplev.h (note_deferall_of_defined_inline_function): Declare.
1829         * toplev.c (note_deferral_of_defined_inline_function): New
1830         function, split out from ...
1831         (rest_of_compilation): ... here.  Use it.
1832         
1833 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1834
1835         * expr.c (store_constructor): Don't call clear_storage if size is
1836         variable.
1837
1838 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1839
1840         * Makefile.in (toplev.o): Depend on loop.h.
1841
1842         * dwarfout.c: Include tm_p.h.
1843
1844         * emit-rtl.c (restore_emit_status): Mark parameter with
1845         ATTRIBUTE_UNUSED.
1846
1847         * final.c (final_scan_insn): Likewise.
1848
1849         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
1850         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
1851         flow_depth_first_order_compute, flow_loop_pre_header_find,
1852         flow_loop_tree_node_add, flow_loops_tree_build,
1853         flow_loop_level_compute, flow_loops_level_compute,
1854         flow_loop_outside_edge_p): Add prototypes.
1855         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
1856
1857         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
1858         Mark with ATTRIBUTE_NORETURN.
1859
1860         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
1861
1862         * local-alloc.c (no_conflict_p): Likewise.
1863
1864         * loop.c (insert_bct): Hide definitions of variables with hidden
1865         usage.
1866         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
1867
1868         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
1869         with ATTRIBUTE_UNUSED.
1870         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
1871         (reg_scan): Likewise.
1872         
1873         * reload.c (find_reloads): Remove unused variables `changed'.
1874
1875         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
1876         away const-ness.
1877         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
1878         Remove unused variable `insn'.
1879         
1880         * toplev.c: Include loop.h.
1881         (report_file_and_line): Remove unnecessary prototype.
1882
1883         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
1884
1885         * unroll.c (biv_total_increment): Likewise.
1886         
1887 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1888
1889         * reload1.c (emit_input_reload_insns): Restore old behaviour
1890         wrt. 'special' reloads.
1891
1892 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
1893
1894         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
1895         hash.h.  (cse.c): Don't depend on hashtab.h.
1896
1897         * cse.c: Don't include hashtab.h.
1898         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
1899         of dead functions.
1900         * ggc-simple.c: Don't include hash.h.
1901
1902 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
1903
1904         * dwarf2out.c (add_abstract_origin_attribute): Call
1905         gen_abstract_function on our function context.
1906
1907 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
1908
1909         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
1910
1911 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1912
1913         * config/c4x/c4x.c (c4x_address_cost): Add statement to default 
1914         case in switch.
1915
1916 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1917
1918         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
1919         constraints to "a!r".
1920
1921 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
1922
1923         * Makefile.in (calls.o): Depend on function.h.
1924         (alias.o): Likewise.
1925
1926 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
1927
1928         * reload1.c (emit_reload_insns): Break out code and variables into...
1929         (input_reload_insns, other_input_address_reload_insns,
1930         other_input_reload_insns, input_address_reload_insns,
1931         inpaddr_address_reload_insns, output_reload_insns,
1932         output_address_reload_insns, outaddr_address_reload_insns,
1933         operand_reload_insns, other_operand_reload_insns,
1934         other_output_reload_insns): ... new static variables, and...
1935         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
1936         do_output_reload): ... new functions.
1937
1938 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1939
1940         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
1941
1942 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1943
1944         * md.texi: Add c4x constraints documentation.
1945
1946 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1947
1948         * config/i386/dgux.c (struct option): Rename to
1949         lang_independent_option.
1950         (struct m_options): Add description field.
1951         (output_options): Rename option type, add sep declaration, output
1952         ix86_cpu_string and ix86_arch_string only if set.
1953         (output_file_start): Rename option type.
1954
1955 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
1956
1957         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
1958         stmp-int-hdrs.
1959         (libgcc2.a): Similarly.
1960
1961 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
1962
1963         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
1964         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
1965         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
1966
1967 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
1968
1969         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
1970         Remove redundant initialization of "frexpon" and "expon".
1971
1972 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1973
1974         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
1975
1976         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
1977         (store_constructor_field, expand_expr): Pass new arg.
1978
1979 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
1980
1981         * Makefile.in (explow.o): Depend on function.h.
1982         
1983         * stor-layout.c (set_sizetype): Fix typo.
1984         
1985 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
1986
1987         * function.c (cfun): Renamed from current_function.  All users
1988         changed.
1989         * function.h (cfun): Rename declaration as well.
1990
1991         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
1992         to be of type regset_head, not regset.  All users changed by adding
1993         address operator.
1994         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
1995
1996 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1997
1998         * config/c4x/rtems.h: New file.
1999
2000 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
2001
2002         * reload1.c (spill_failure): Take class of failed reload as argument
2003         and print it.  Caller changed.
2004                 
2005 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2006
2007         * rs6000.h (SUBTARGET_DEFAULT): New macro.
2008         (TARGET_SWITCHES): Allow subtargets to default switches.
2009         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
2010
2011 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
2012
2013         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
2014         in a main program.
2015
2016 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
2017
2018         * cccp.c (main): Define __STDC_VERSION__ as necessary.
2019         * cppinit.c (cpp_handle_option): Likewise.
2020
2021         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
2022         determine when to define.
2023
2024 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
2025
2026         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
2027         cmove with mismatched test and data modes.
2028
2029 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
2030
2031         * c-typeck.c (c_expand_start_case): Don't warn for long switch
2032         in system headers.
2033
2034 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2035
2036         * alias.c: Minor reformatting.
2037         * flow.c: Likewise.
2038         * regs.h: Likewise.
2039         * stor-layout.c: Likewise.
2040         * fold-const.c: Likewise.
2041         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
2042         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
2043         not arg itself.
2044         (size_int_wide): Cache nodes even if garbage collecting.
2045         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
2046         of SAVE_EXPR has no side effects.
2047         * cse.c: Move a comment.
2048         * tree.c: Minor reformatting.
2049         (int_size_in_bytes): Return -1 if constant overflows.
2050
2051 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2052
2053         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
2054
2055 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
2056
2057         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
2058         after any change to c-parse.in, even if objc-parse.y didn't
2059         change.  Oops.
2060
2061 1999-12-18  David S. Miller  <davem@redhat.com>
2062
2063         * toplev.c (rest_of_compilation): Restore BLOCK tree
2064         reconstruction and branch shortening changes lost in
2065         December 18th change.
2066
2067 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
2068
2069         * config/arm/linux-elf.h: Change all instances of 
2070         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
2071         * config/arm/uclinux-elf.h: Likewise.
2072
2073 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
2074
2075         * toplev.c (notice, vmessage, v_message_with_file_and_line,
2076         v_message_with_decl, file_and_line_for_asm,
2077         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
2078         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
2079         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
2080         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
2081         pfatal_with_name, fatal_io_error, need_error_newline,
2082         last_error_function, last_error_tick, announce_function,
2083         default_print_error_function, print_error_function,
2084         report_error_function, fnotice, error_with_file_and_line,
2085         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
2086         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
2087         warning_with_decl, warning_for_asm, warning, pedwarn,
2088         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
2089         diagnostic.c
2090         (compile_file): Use fnotice instead of notice.  Adjust call.
2091
2092         * diagnostic.c: New file.
2093
2094         * Makefile.in (OBJS): Include diagnostic.o
2095         (diagnostic.o): Define dependence.
2096
2097 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2098
2099         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
2100         Tweak formatting.
2101
2102 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2103         
2104         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
2105
2106 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
2107
2108         * fixtests.c (is_cxx_header): New fn, split out of
2109         double_slash_test.
2110         (else_endif_label): Allow "#endif // comment" in C++ headers,
2111         as determined by is_cxx_header.
2112         * fixfixes.c (else_endif_label_fix): Update comment.
2113         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
2114         a tty.
2115         * genfixes: Correct double thinko in commandline parsing.
2116         * hackshell.tpl: Generate correct sh syntax for bypass
2117         entries.
2118
2119         * inclhack.def (all): Whenever an inserted preprocessor
2120         conditional is split over multiple lines, use double
2121         backslashes in this file so the fixed header will be readable.
2122
2123         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
2124         and add bypass entry for correct version of this header.
2125         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
2126         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
2127
2128         (hpux8_bogus_inlines): New fix, split from...
2129         (ultrix_atof_param) ... here.
2130         (math_expression): Add bypass entry keyed to glibc comment
2131         indicating the problem has been dealt with; disable
2132         unnecessary sed operations; update commentary.
2133         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
2134         add select and bypass entries, simplify shell operation.
2135         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
2136
2137         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
2138          ultrix_atof_param): Add select entry.
2139         (stdio_va_list, sunos_mather_decl): Add bypass entry.
2140         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
2141         comments with the fixes they describe.
2142
2143         * c-parse.in (string action): Do not warn about ANSI string
2144         concatenation in system headers.  Affects C parser only.
2145         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
2146
2147 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
2148
2149         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
2150         compiling libgcc2 the macro depends always on arch cpp defines.
2151
2152 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
2153
2154         * loop.c (insert_loop_mem): Don't record MEMs from inside 
2155         EXPR_LISTs.
2156
2157 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
2158
2159         * regclass.c (regclass): Do not use flowgraph when not optimizing.
2160
2161         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
2162         notes too, create one when replacement failed, attempt to simplify
2163         resulting notes.
2164         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
2165         or REG_EQUIV notes.
2166
2167 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
2168
2169         * crtstuff.c (__dso_handle): Declare.
2170         (__cxa_finalize): Likewise.
2171         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
2172         non-NULL.
2173
2174         * invoke.texi: Document -fuse-cxa-atexit.
2175         
2176         * tree.h (ptr_type_node): Document.
2177         (const_ptr_type_node): Likewise.
2178
2179 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2180
2181         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
2182         (optimize_reg_copy_2): Likewise.
2183         (optimize_reg_copy_3): Likewise.
2184         (fixup_match_2): Likewise.
2185         (regmove_optimize): Likewise.
2186         (fixup_match_1): Liekwise.
2187
2188         * i386.md (HI to SImode promoting splitters): Rewrite.
2189         (pushsf mem peep2): New.
2190         (testhi to andhi peep2): Remove.
2191         * i386.h (x86_promote_QImode): New.
2192         (TARGET_PROMOTE_QImode): New.
2193         (PREDICATE_CODES): Add promotable_binary_operator.
2194         * i386.c (x86_promote_QImode0: New.
2195         (promotable_binary_operator): New.
2196         * i386-protos.h (promotable_binary_operator): New.
2197
2198         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
2199         condition.
2200         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
2201
2202 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
2203
2204         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
2205         * function.c (insert_block_after_note): Remove.
2206         (retrofit_block): Likewise.
2207         (identify_blocks): Fix indentation.
2208         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
2209         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
2210         * function.h (insert_block_after_note): Remove prototype.
2211         (retrofit_block): Likewise.
2212         * integrate.c (expand_inline_function): Don't call
2213         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
2214         just expand_start_bindings.  Use the block_map to remap old
2215         NOTE_BLOCKs to new ones.
2216         (integrate_decl_tree): Keep track of remapped blocks.
2217         * integrate.h (struct inline_remap): Add block_map.
2218         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
2219         NOTE_BLOCK on the notes.
2220         (expand_start_bindings): Rename to ...
2221         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
2222         (expand_end_bindings): Set NOTE_BLOCK.
2223         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
2224         reconstruct the BLOCK tree.
2225         * tree.h (expand_start_bindings): Macroize.  Call ...
2226         (expand_start_bindings_and_block): New function.
2227         
2228 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
2229
2230         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
2231         to match the format.
2232
2233 1999-12-16  David S. Miller  <davem@redhat.com>
2234
2235         * expr.c (emit_move_insn_1): Only emit clobbers if one of
2236         the outputs is a SUBREG.
2237         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
2238         change.
2239
2240         * config/sparc/sparc.c (epilogue_renumber): Add default case
2241         to switch stmt.
2242
2243 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2244
2245         * toplev.c (rest_of_compilation): Run branch shortening after
2246         reg-stack.
2247
2248         * regclass.c (loop_depth): Remove
2249         (scan_one_insn): Do not handle LOOP_NOTE insns.
2250         (regclass): Go through basic blocks and set loop_cost
2251
2252 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
2253
2254         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
2255
2256 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2257
2258         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
2259         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
2260         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
2261
2262 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
2263
2264         * loop.c (insert_loop_mem): Ignore memory clobbers.
2265
2266         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
2267         to (OP A B).
2268
2269 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
2270
2271         * profile.c: Remove redundant #include "output.h".
2272
2273         * h8300.md (HImode preinc peephole): Fix typo.
2274
2275 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
2276
2277         * function.c (retrofit_block): Abort if we don't find a suitable insn.
2278         (insert_block_after_note): Abort if we don't have a previous block.
2279         Remove FN parameter.
2280         * function.h: Adjust.
2281
2282 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
2283
2284         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
2285         argument more than once.
2286
2287 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
2288
2289         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
2290
2291 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
2292
2293         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
2294
2295 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2296
2297         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
2298         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
2299         update stack_alignment_needed.
2300         (prepare_function_start): Initialize stack_alignment_needed
2301         * function.h (struct function): Add field stack_alignment_needed.
2302
2303 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2304
2305         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
2306         Handle live_throughout / dead_or_set instead of live_before /
2307         live_after.
2308         (save_call_clobbered_regs): Get register livenessinformation from
2309         chain->live_throughout.
2310         (add_stored_regs): New function.
2311         (insert_restore, insert_save): Add restored / saved registers to
2312         dead_or_set.
2313         * global.c (reg_dies): New parameter chain.
2314         (reg_becomes_live): Third parameter is regs_set now.
2315         Changed all callers.
2316         (reg_dies): New parameter chain.  Changed all callers.
2317         (build_insn_chain): Set live_throughout instead of
2318         live_before / live_after.
2319         * reload.h (struct insn_chain): Replace members live_before /
2320         live_after with live_throughout / dead_or_set.
2321         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
2322         instead of live_before / live_after.
2323         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
2324         (order_regs_for_reload, find_reg, finish_spills): Likewise.
2325         (choose_reload_regs_init): Likewise.
2326         * stupid.c (current_chain, find_clobbered_regs): Delete.
2327         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
2328         instead of chain->live_before / chain->live_after.
2329         (mark_hard_ref): New function.
2330         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
2331
2332 1999-12-15  David S. Miller  <davem@redhat.com>
2333
2334         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
2335
2336 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2337
2338         * flow.c (calculate_loop_depth): Make global, remove prototype,
2339         rewrite to use new loop infrastructure.
2340         (find_basic_block): Remove calculate_loop_depth call.
2341         * toplev.c (rest_of_compilation): Call find_basic_block.
2342         * output.h (calculate_loop_depth): Declare.
2343
2344         * flow.c (dump_flow_info): Dump loop_depth.
2345         (flow_loops_nodes_find): Increase loop_depth for basic block in the
2346         body.
2347         (flow_loops_find): Initialize the loop_depth for each basic block.
2348
2349 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
2350
2351         * tree.c (decl_function_context): Handle virtual functions.
2352
2353         * tlink.c (scan_linker_output): Don't look in demangled name when
2354         looking for linker output keywords.
2355
2356         * dwarfout.c (output_type): We can defer namespace-scope classes.
2357
2358 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
2359
2360         * regclass.c (record_reg_classes): Update comment for merging
2361         register class preferences in reg->reg copies.  Tighten conditions
2362         for merging register class preferences in reg->reg copies.
2363
2364 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
2365
2366         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
2367
2368 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
2369
2370         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
2371         (INIT_SECTION_ASM_OP): Delete.
2372         (FINI_SECTION_ASM_OP): Delete.
2373         (STARTFILE_SPEC): Define to hold just crtbegin.o.
2374
2375 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
2376
2377         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
2378         the abstract origin wasn't emitted.
2379
2380         * dwarf2out.c (class_scope_p): New fn.
2381         (gen_subprogram_die): Use it.
2382         (gen_variable_die): Use it.  Tweak logic.
2383         (gen_struct_or_union_type_die): Check context_die to determine
2384         if we're function-local.
2385         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
2386
2387 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2388
2389         * loop.c (check_dbra_loop): Can't reverse a biv that has
2390         maybe_multiple set.
2391
2392 1999-12-14  Nick Clifton  <nickc@cygnus.com>
2393
2394         * config/arm/arm.c: Add support for -mcpu=arm720 command line
2395         switch. 
2396
2397 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2398
2399         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
2400         for givs made from biv increments.
2401
2402 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
2403
2404         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
2405         * alpha.c (override_options): Recognize -mcpu=ev67.
2406         * alpha.h (CPP_CPU_EV67_SPEC): New.
2407         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
2408         (EXTRA_SPECS): Update.
2409
2410 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
2411
2412         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
2413         appropriate for -lang-c89 and -std=*.
2414         * cppinit.c (cpp_handle_option): Likewise.
2415         (new_pending_define): New, split out from cpp_handle_option.
2416         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
2417         or enable trigraphs for -ansi/-std=*.
2418
2419         * ginclude/stdarg.h (__va_copy): New.
2420         (va_copy): Don't define for C89.
2421
2422 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
2423
2424         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
2425         for long long multiply-accumulate.
2426
2427 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2428
2429         * regclass.c (scan_one_insn): Set loop_cost to 1 when
2430         optimizing for size.
2431
2432 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2433
2434         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
2435         if something changed.  Back out that part of yesterday's changes.
2436
2437         * loop.c (loop_max_reg): New static variable.
2438         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
2439         max_reg_num.
2440         (scan_loop): Call reg_scan_update whenever we may have added new
2441         registers, and update loop_max_reg.
2442
2443 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2444
2445         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
2446         when source does not die.
2447
2448         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
2449
2450 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
2451
2452         * config/sparc/linux64.h (TARGET_LIVE_G0,
2453         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
2454         variants on Linux.
2455         * config/sparc/linux.h (TARGET_LIVE_G0,
2456         TARGET_BROKEN_SAVERESTORE): Likewise.
2457         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2458         TARGET_BROKEN_SAVERESTORE): Likewise.
2459
2460         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
2461         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
2462         not %g2.
2463         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
2464         as sparc64 block profiling register.
2465         * config/sparc/sparc.c (sparc_override_options): Allow block
2466         profiling with -m32.
2467         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
2468         profiling register.
2469         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
2470         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
2471         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
2472
2473         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
2474         for sparc64.
2475         * config/sparc/sparc.h: Likewise.
2476         * config/sparc/xm-sysv4-64.h: Likewise.
2477         * config/float-sparc.h: Likewise.
2478         * glimits.h: Likewise.
2479         * longlong.h: Likewise.
2480
2481         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
2482         (ASM_IDENTIFY_GCC): Remove.
2483
2484 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2485
2486         * combine.c (combine_simplify_rtx): Don't make shared rtl.
2487         (simplify_logical): Likewise.
2488
2489 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
2490
2491         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
2492         * cppfiles.c (INO_T_EQ): Likewise.
2493
2494 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
2495
2496         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
2497         * i386/mingw32.h (LIB_SPEC): Likewise.
2498         (STARTFILE_SPEC): Likewise.
2499         * i386/uwin.h (LIB_SPEC): Likewise.
2500         (STARTFILE_SPEC): Likewise.
2501
2502         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
2503         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
2504
2505 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
2506
2507         * combine.c (combine_simplify_rtx): Fix order of checks for
2508         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
2509         
2510 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
2511
2512         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out 
2513         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
2514
2515 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
2516
2517         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
2518         defined.
2519         * regclass.c (inv_reg_alloc_order): New array.
2520         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
2521
2522         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
2523         counted_for_groups, counted_for_nongroups.  Add fields rld and
2524         n_reloads.
2525         * reload.c (push_secondary_reload): Don't set nongroup field of
2526         new reloads.
2527         (push_reload): Likewise.
2528         (find_reloads): Delete code to compute nongroup fields.
2529         * reload1.c (reload_insn_firstobj): New static variable.
2530         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
2531         users changed.
2532         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
2533         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
2534         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
2535         functions.
2536         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
2537         functions.
2538         (struct hard_reg_n_uses): Deleted.
2539         (potential_reload_regs): Deleted.
2540         (init_reload): Initialize spilled_pseudos and pseudos_counted.
2541         (reload): Don't try to allocate reload registers if we already know
2542         we have to make another pass.  Call select_reload_regs.  Free memory
2543         starting with reload_firstobj when starting another pass.
2544         Don't allocate spilled_pseudos.
2545         (calculate_needs_all_insns): Call copy_reloads for an insn that
2546         needs reloads; don't call calculate_needs.
2547         (spill_cost): New static array.
2548         (used_spill_regs_local): New static variable.
2549         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
2550         to compute potential_reload_regs.
2551         (find_reload_regs): Completely rewritten to use find_reg.
2552         (allocate_reload_reg): Don't test counted_for_groups or
2553         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
2554         all cllers changed.
2555         (choose_reload_regs): Add fallback code that uses the existing
2556         register allocation from find_reload_regs.
2557
2558 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
2559
2560         * flow.c (create_edge_list): Cast xmalloc return value.
2561
2562 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
2563
2564         * doprnt.c: Remove incorrect comment closure.
2565
2566         * cse.c: Fix a few minor whitespace goofs.
2567
2568 1999-12-13  Don Bowman  <don@pixstream.com>
2569
2570         * mips/vxworks.h: Fix problem with comment termination.
2571         (EXTRA_SECTIONS): Add in_sbss.
2572         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
2573
2574 1999-12-12  David S. Miller  <davem@redhat.com>
2575
2576         * cse.c (struct cse_reg_info): Add hash_next member,
2577         reorder rest of struct for better packing on 64-bit
2578         hosts.
2579         (cse_reg_info_tree): Kill.
2580         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
2581         REGHASH_FN): New custom pow2 hash mechanism.
2582         (NBUCKETS): Kill.
2583         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
2584         use a pow2 hash table.
2585         (get_cse_reg_info): Rework to use new REGHASH.
2586         (new_basic_block): Likewise, use HASH_SIZE, and inline
2587         free_element call.
2588         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
2589         and inline free_element call.
2590         (lookup_as_function, insert, flush_hash_table, invalidate,
2591         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
2592         invalidate_for_call, use_related_value, find_comparison_args,
2593         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
2594         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
2595         get_element): Kill.
2596         
2597 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
2598
2599         * cse.c (cse_basic_block): Free qty_table consistently.
2600
2601 1999-12-12  David S. Miller  <davem@redhat.com>
2602             Jakub Jelinek    <jakub@redhat.com>
2603
2604         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
2605         SUBREGs by hand, gen the appropriate hard reg directly.
2606         (movtf reg/mem split): Likewise and alter_subreg on destination
2607         if necessary.
2608         (movtf mem/reg split): Similarly.
2609         (movdf_cc_sp64): Rename from hidden pattern.
2610         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
2611         (movtf_cc_sp64, following split): New pattern and splitter.
2612         (movdf_cc_reg_sp64): Rename from hidden pattern.
2613         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
2614         TARGET_HARD_QUAD.
2615         (movtf_cc_reg_sp64, following split): New pattern and splitter.
2616
2617 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
2618
2619         * loop.c (load_mems): Don't hoist written floating point mem
2620         if -ffloat-store.
2621         
2622 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
2623
2624         * except.h (struct eh_queue): Add `next' pointer.
2625         (struct eh_status): Make x_ehqueue a pointer.
2626         (push_ehqueue):  Declare.
2627         (pop_ehqueue): Likewise.
2628         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
2629         pointer.
2630         (expand_fixup_region_end): Likewise.
2631         (expand_leftover_cleanups): Likewise.
2632         (push_ehqueue): Define.
2633         (pop_ehqueue): Likewise.
2634         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
2635         than doing it inline.
2636         (expand_start_all_catch):  Adjust now that ehqueue is a
2637         pointer.
2638         (mark_eh_queue): Mark all level of the queue.
2639         (mark_eh_status):  Adjust now that ehqueue is a
2640         pointer.
2641         (init_eh_for_function): Allocate ehqueue.
2642         (free_eh_status): Free it.
2643         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
2644         expansion for a fixup.
2645
2646 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2647
2648         * gthr-single.h (__gthread_active_p): Add prototype arguments.
2649
2650         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
2651         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
2652         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
2653         function_ptr, getpagesize, __enable_execute_stack,
2654         __enable_execute_stack, __clear_insn_cache,
2655         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
2656         _cleanup, _exit, __default_terminate, __terminate_func,
2657         __terminate, __empty, __throw, new_eh_context,
2658         eh_context_initialize, eh_context_static, eh_context_specific,
2659         get_eh_context, __get_eh_context, __get_eh_info,
2660         init_reg_size_table, eh_threads_initialize,
2661         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
2662         __unwinding_cleanup, throw_helper, __throw, __rethrow,
2663         __pure_virtual): Add prototype arguments.       
2664         (__bb_exit_func): Cast a sizeof to long when comparing against one.
2665         Cast a signed value to unsigned long when comparing against one.
2666         (new_eh_context): Wrap in _GTHREADS macro.
2667         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
2668         declaration.
2669         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
2670         (throw_helper): Initialize variables `handler_p' and `pc_p'.
2671         
2672 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2673
2674         * combine.c (record_promoted_value): Remove unused variable
2675         `links2'.
2676
2677         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
2678
2679         * global.c (record_conflicts): Likewise for `j'.
2680
2681         * genoutput.c (output_insn_data): Don't unnecessarily cast away
2682         const-ness.
2683
2684 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2685
2686         * i386-protos.h (output_387_binary_op, output_fix_trunc,
2687         output_fp_compare): Constify a char*.
2688
2689         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
2690         static prototypes.
2691         (override_options, ix86_comp_type_attributes, print_operand,
2692         output_387_binary_op, output_fix_trunc, output_fp_compare):
2693         Constify a char*.
2694         (ix86_sched_reorder): Mark parameter `clock_var' with
2695         ATTRIBUTE_UNUSED.
2696
2697         * i386.h (DEBUG_PRINT_REG): Constify a char*.
2698
2699 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2700
2701         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
2702         operand, for use in the Java front-end.
2703
2704 1999-12-10  Ben Collins  <bcollins@debian.org>
2705
2706         * configure.in: Fix typo for "-64" in 64bit as check.
2707         * configure: Rebuilt.
2708         
2709 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2710
2711         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
2712         appropriate.
2713
2714 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2715
2716         * c-parse.in (string): With -Wtraditional, warn if ANSI string
2717         concatenation is utilized.
2718
2719         * invoke.texi (-Wtraditional): Document it.
2720
2721 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2722
2723         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
2724         Cast a ptrdiff_t to long and pass it to printf with %ld.
2725
2726 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
2727
2728         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
2729         68881, we have no 68881 registers at all.
2730         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
2731         value in a 68881 register if it is available.
2732
2733 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
2734
2735         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
2736         for long long multiply-accumulate.
2737
2738 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
2739
2740         * loop.c (insert_loop_mem): Undo last change.
2741
2742 1999-12-10  David S. Miller  <davem@redhat.com>
2743
2744         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
2745         New functions.
2746         * config/sparc/sparc-protos.h: Add them.
2747         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
2748         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
2749         constraints which use those helpers.
2750         (EXTRA_CONSTRAINT): Use this new macro.
2751         * md.texi: Update sparc target constraints documentation.
2752         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
2753         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
2754         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
2755         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
2756         (movsf high/lo_sum split): Rework for new patterns.
2757         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
2758
2759 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
2760
2761         * c-common.c (c_common_nodes_and_builtins): 
2762         Create __builtin_ptrdiff_t and __builtin_size_t.
2763
2764 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
2765
2766         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
2767
2768 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2769
2770         * regclass.c (globalize_reg): Re-instate test that allows
2771         fixed registers to be declared as a variable even after functions
2772         are defined.
2773
2774 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2775
2776         * i386.md (cpu attribute): Add "athlon".
2777         (athlon_decode): New attribute.
2778         (Athlon scheduling units definitions): New.
2779         (fcmp and shld patterns): Set athlon_decode to "vector".
2780         * i386.c (athlon_cost): New.
2781         (m_ATHLON): New.
2782         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
2783         x86_use_sahf): Set for Athlon.
2784         (x86_use_fiop): Unset for Athlon.
2785         (override_options): Define Athlon alignments and "athlon" name.
2786         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
2787         * i386.h (TARGET_ATHLON): New.
2788         (enum processor_type): Add PROCESSOR_ATHLON.
2789         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
2790         for CPU_DEFAULT==5
2791         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
2792
2793 1999-12-09  Andreas Jaeger  <aj@suse.de>
2794
2795         * loop.c (record_biv): Declare parameter as int.
2796
2797         * config/i386/i386-protos.h: Declare long_memory_operand.
2798
2799 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
2800
2801         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
2802         EXPR_WITH_FILE_LOCATION.
2803
2804 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
2805
2806         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
2807         in expander.
2808
2809         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
2810
2811         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
2812         updating code.
2813
2814 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
2815
2816         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
2817         default on linux64 again.
2818         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
2819         models for multilibing.
2820         * genmultilib: Accept | as alternative separator within a set in
2821         MULTILIB_OPTIONS.
2822
2823         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
2824
2825         * calls.c (precompute_arguments): Make sure initial_value contains
2826         value pseudo which CSE expects.
2827         * cse.c (struct set): New entry orig_src.
2828         (cse_insn): Set it early on entry, use it for libcall EQUIV note
2829         replacement.
2830
2831 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
2832
2833         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
2834
2835 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
2836
2837         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
2838
2839 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
2840
2841         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
2842         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
2843
2844         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
2845         if TARGET_ARCH32.
2846
2847         * longlong.h: Merge in changes from glibc.
2848         Also don't clobber %g2 register in 32bit SPARC assembly, so that
2849         -mno-app-regs libgcc can be compiled.
2850         * libgcc2.c: Add defines so that the updated longlong.h
2851         can be used in libgcc2.a. Also, make sure on most architectures
2852         (at least on all which have optimized code in longlong.h defined
2853         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
2854
2855 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2856
2857         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
2858         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
2859         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
2860         is GNU ld.
2861         * configure: Rebuilt.
2862
2863 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
2864
2865         * alpha.c (secondary_reload_class): For !BWX, sub-simode
2866         outputs require a register.
2867
2868 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
2869
2870         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
2871         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
2872         functions like dptoul will be resolved.
2873         (libgcc2.a): Make sure that the object files from DPBIT are named
2874         differently (prefix `_dp') from those that would be coming from
2875         FPBIT.
2876
2877 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
2878
2879         * configure.in: When target is sparc* and tm_file contains 64,
2880         test for 64bit support in assembler.  If not supported, remove
2881         sparc/t-sol2-64 from target-dependent Makefile fragments.
2882         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
2883         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
2884         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
2885         * acconfig.h (AS_SPARC64_FLAG): Added.
2886         * configure, config.in: Rebuilt.
2887         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
2888         support.  Use AS_SPARC64_FLAG.
2889
2890 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
2891
2892         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
2893         suitable for holding OFmode values so that gcc works with complex
2894         quad long doubles.
2895         (hard_64bit_mode_classes): Likewise.
2896
2897         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
2898         so that it is actually matched.
2899         (sethi_di_medlow): Likewise.
2900
2901         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
2902         as legitimate constant if -mvis.
2903         * config/sparc/sparc.md (movtf): Likewise.
2904         (clear_sf): Use const_double_operand.
2905         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
2906
2907         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
2908         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
2909         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
2910         routines, _Qp_* cannot be handled like that now.
2911         (INIT_TARGET_OPTABS): Likewise.
2912         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
2913         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
2914         sparc_emit_float_lib_cmp if ARCH64 and soft float.
2915         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
2916         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
2917         divtf3, sqrttf3): New expanders.
2918         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
2919         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
2920         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
2921         non-_hq patterns.
2922
2923         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
2924         * configure: Rebuilt.
2925         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
2926         -mcpu is given and we're doing 64bit compiles.
2927
2928 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
2929
2930         * loop.h (struct induction): Add multi_insn_incr.
2931         * loop.c (basic_induction_var): New multi_insn_incr argument.
2932         Set it if we search back through previous insns for the biv.
2933         (record_biv): New multi_insn_incr argument; fill in struct induction.
2934         (strength_reduce): Discard an iv with multiple bivs, any of
2935         which require multiple insns to increment.
2936
2937 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2938
2939         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
2940         documentation.
2941         
2942 1999-12-06  David S. Miller  <davem@redhat.com>
2943
2944         * combine.c (check_promoted_subreg): Do not conditionalize this upon
2945         PROMOTE_FUNCTION_RETURN.
2946
2947 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
2948
2949         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
2950         and handle REG_UNUSED note on insn.
2951
2952         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
2953         inner_mask instead of mask.
2954
2955 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
2956
2957         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
2958         zero if there was an error.
2959
2960 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
2961
2962         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
2963         output string.
2964
2965         * longlong.h: Fix clobbers in SPARC asm statements.
2966
2967         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
2968         valid sethi operations when TARGET_ARCH64.
2969
2970         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
2971         always use move_by_pieces to avoid infinite recursion.
2972         (restore_fixed_argument_area): Likewise.
2973
2974         * combine.c (check_promoted_subreg, record_promoted_value): New
2975         functions.
2976         (combine_instructions): Use them to retain nonzero and sign bit
2977         information after SUBREGs are eliminated by optimizations in
2978         this pass if PROMOTE_FUNCTION_RETURN.
2979
2980         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
2981         .register declaration. Don't use variables with __ prefixes.
2982
2983 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2984
2985         * fold-const.c (optimize_bit_field_compare): Only use one mode
2986         for both RHS and LHS in non-constant case.
2987
2988 1999-12-06  Nathan Sidwell  <nathan@acm.org>
2989
2990         * frame.c (start_fde_sort): Only allocate erratic array, if
2991         linear one was allocated. Return allocated flag.
2992         (fde_insert): Only insert, if there's a valid array.
2993         (fde_end_sort): Split, sort and merge if linear and erratic
2994         arrays exist, else just sort linear one.
2995         (search_fdes): New function. Linear search through original fde
2996         structure.
2997         (frame_init): Permit multiple initializations. Cope with
2998         memory shortages.
2999         (find_fde): Fallback on linear search, if failed to sort array.
3000         (__deregister_frame_info): Only free sorted array, if we
3001         allocated it.
3002
3003 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
3004
3005         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
3006
3007 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
3008
3009         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
3010
3011 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
3012
3013         * tree.h (special_function_p): Declare.
3014         * calls.c (special_function_p): Make it global.  Don't take `name'
3015         as a parameter.  Fix typo in 1999-11-28 change.
3016         (expand_cal): Adjust.
3017
3018 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
3019
3020         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
3021         * tree.h (EXPR_WFL_FILENAME): Define in terms of
3022         EXPR_WFL_FILENAME_NODE.
3023         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
3024         the TREE_CHAIN.
3025         * print-tree.c (print_note): Print TREE_PRIVATE and
3026         TREE_PROTECTED.
3027         
3028         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
3029         the original die cannot be found.
3030
3031         * varray.h (varray_head_tag): Add elements_used.
3032         (VARRAY_PUSH): New macro.
3033         (VARRAY_POP): Likewise.
3034         (VARRAY_TOP): Likewise.
3035         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
3036         types. 
3037         * varray.c (varray_init): Initialize elements_used.
3038         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
3039         (INTEGRATE_H): New variable.
3040         (integrate.o): Depend on INTEGRATE_H.
3041         (unroll.o): Likewise.
3042         
3043         * function.h (insert_block_after_note): Declare.
3044         * function.c (insert_block_after_note): Split out from ...
3045         (retrofit_block): ... here.
3046
3047         * stmt.c (expand_fixup): Fix typo in comment.
3048
3049 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3050
3051         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
3052         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
3053         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
3054         (regmove_optimize, fixup_match_1): Likewise.
3055
3056 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3057
3058         * flow.c (flow_loops_dump): Add missing argument when calling
3059         flow_loop_nested_p.
3060
3061 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
3062             Greg McGary  <gkm@gnu.org>
3063
3064         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
3065         (init_attributes): Add A_NO_LIMIT_STACK.
3066         (decl_attributes): Handle A_NO_LIMIT_STACK.
3067         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
3068         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
3069         Handle stack bounds checking.
3070         * flags.h (flag_stack_check): Use the word 'probe' rather than
3071         'check', because the flag doesn't actually cause any checking to
3072         be done.
3073         * function.c (expand_function_start): Set
3074         current_function_limit_stack.
3075         * function.h (struct function): Add limit_stack.
3076         (current_function_limit_stack): Define.
3077         * invoke.texi (Code Gen Options): Document new options.
3078         * rtl.h: Declare stack_limit_rtx.
3079         * toplev.c (stack_limit_rtx): New variable.
3080         (decode_f_option): Handle new options -fstack-limit-register=REG,
3081         -fstack-limit-symbol=IDENT, -fno-stack-limit.
3082         (main): Add stack_limit_rtx as GC root.
3083         * tree.h (DECL_NO_LIMIT_STACK): New macro.
3084         (struct tree_decl): New member no_limit_stack.
3085
3086         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
3087         stack_limit_rtx.
3088         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
3089         (conditional_trap+1): Get new mnemonic correct.
3090         (conditional_trap+2): New pattern for DImode traps.
3091
3092         * config/m68k/m68k.c (output_function_prologue): Handle
3093         stack_limit_rtx.
3094         * config/m68k/m68k.md (trap): New insn.
3095         (conditional_trap): New insn.
3096         * md.texi (Standard Names): Document `trap' and
3097         `conditional_trap'.
3098         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
3099         so a cc0 setter doesn't get emitted at some random place in the
3100         function.
3101
3102         * config/i960/i960.md (trap): New insn.
3103         (conditional_trap): New expander.
3104         (conditional_trap+1, conditional_trap+2): New insns for signed
3105         and unsigned cases.
3106         * config/i960/i960.c (i960_function_prologue): Use 
3107         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
3108
3109 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
3110                           Geoffrey Keating  <geoffk@cygnus.com>
3111
3112         * flags.h (warn_padded, warn_packed): Add global var decls.
3113         * toplev.c (warn_padded, warn_packed): Add global var defns.
3114         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
3115         * stor-layout.c (layout_record): Add local variable `type'
3116         to hold often-used TREE_TYPE (field).  Add local variable
3117         `unpacked_align' to hold alignment that would be in force
3118         if no `packed' attribute were present.  Warn if `packed' attribute
3119         is unnecessary, or even harmful.  Warn when gcc inserts padding
3120         to satisfy alignment requirements of members.  Use NULL_TREE
3121         when checking whether var_size is set.
3122         * invoke.texi: Document new flags.
3123
3124 1999-12-03  Nathan Sidwell  <nathan@acm.org>
3125
3126         * frame.c (fde_split): Reimplement to avoid variable sized array.
3127
3128 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3129
3130         * combine.c (try_combine): Before fixing up LOG_LINKS for the
3131         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
3132
3133 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
3134
3135         * invoke.texi: Document the mips option -mno-crt0
3136
3137 1999-12-02  Mike Karr  <mkarr@mathworks.com>
3138
3139         * cccp.c (argdata): Added free_ptr member.
3140         (macroexpand): Initialize free_ptr of each argument. When an
3141         argument's buffers are freed, if the argument's free_ptr corresponds
3142         to a buffer on the input stack, then return the free_ptr to that stack
3143         frame, otherwise, free it.
3144         (macarg): If an argument begins and ends on the same input stack level,
3145         then transfer the free_ptr of that buffer to the argument in case
3146         the stack is popped during the processing of a subsequent argument.
3147
3148 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
3149
3150         * loop.c (note_reg_stored): New function.
3151         (struct note_reg_stored_arg): New structure.
3152         (try_copy_prop): Change to be more conservative; only replace within
3153         one extended basic block and stop replacing if a store to the
3154         replacement reg is seen.
3155
3156 1999-12-02  Nick Clifton  <nickc@cygnus.com>
3157
3158         * config/fp-bit.c: Initialise all fields of the NAN
3159         constants. 
3160
3161         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
3162         to HANDLE_PRAGMA.
3163
3164 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
3165
3166         * i386.md (extend?f?f2): Force the input into a register, not
3167         the output.
3168
3169 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
3170
3171         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
3172         regclass' sake.
3173         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
3174         alternative because setting up 64bit constant is usually costly,
3175         especially when reload is in progress or completed.
3176         (movdf_const_intreg_sp64): Likewise.
3177         (movdf_const_intreg split): Fix building up constants when
3178         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
3179
3180 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
3181
3182         * combine.c (if_then_else_cond): Use const_true_rtx instead of
3183         const1_rtx for return values in EQ/NE comparison against (const_int 0)
3184         case.
3185
3186         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
3187         (asm_file_start): Emit .am33 into assembly file when compiling for
3188         the AM33.
3189         (print_operand_address): Handle POST_INC addresses.
3190         (can_use_return_insn, initial_offset): Check AM33 registers too.
3191         (expand_prologue): Check & save AM33 registers too.
3192         (expand_epilogue): Similarly.
3193         (secondary_reload_class): Handle AM33 specific secondary reloads.
3194         (output_tst): Emit efficient code for the AM33 too.
3195         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
3196         (TARGET_SWITCHES): Add -mam33 switch.
3197         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
3198         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
3199         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
3200         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
3201         (enum reg_class, REG_CLASS_NAMES): Likewise.
3202         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
3203         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
3204         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
3205         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
3206         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
3207         (HAVE_POST_INCREMENT): Define.
3208         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
3209         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
3210         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
3211         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
3212         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
3213         (zero_extend to SI from QI/HI): Likewise.
3214         (sign_extend to SI from QI/HI): Likewise.
3215         (mulsidi3, umulsidi3): New patterns for the AM33.
3216         (tstsi with zero extension from QI/HI): Add AM33 variants.
3217         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
3218         (return_internal_regs, store_movm): Handle new AM33 registers.
3219         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
3220         (LIBGCC, INSTALL_LIBGCC): Likewise.
3221         * invoke.texi: Document new flags.
3222
3223 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3224
3225         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
3226         (addsi3_carry): Likewise.
3227         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
3228         (sbbsi3_carry): Likewise.
3229         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
3230         (mulhi3): Likewise.
3231         (test?i_1): Ensure that only one operand is memory.
3232         (conditional move patterns): likewise.
3233         (shift and rotate patterns): Rewrite to expander, add
3234         "binary_operator_ok" to the condition.
3235
3236         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
3237         * i386.h (procesor_costs): Add movzbl_load field.
3238         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
3239         non-Q registers, accept DImode registers anywhere.
3240         (Q_CLASS_P): New.
3241         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
3242         * i386.c (*_cost): Set value for movxbl_load field.
3243
3244         * (addsi): New add to lea splitter.
3245         (ashlsi): Likewise.
3246         (lea to add/shift peep2): New.
3247
3248 1999-12-01  Mark Salter <msalter@cygnus.com>
3249
3250         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
3251         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
3252         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
3253
3254 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3255
3256         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
3257         * i386.md (movsi_xor): New.
3258         (movsi_or): New.
3259         (movsi_1, movhi_1, movqi_1): Remove.
3260         (movsi_2): Rename to movsi_1.
3261         (movhi_2): Rename to movhi_1.
3262         (movqi_2): Rename to movqi_1.
3263         (movdi_1): Remove; remove splitter.
3264         (movdi_2): Rename to movdi_1.
3265         (divmodsi4 splitter): Do not emit clobbers for move patterns.
3266         (long move peep2): Do not create QI or HI mode mov0s
3267         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
3268
3269         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
3270         rewrite splitters.
3271
3272         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
3273         (abs?f2_if): Likewise.
3274
3275 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
3276
3277         * ggc.h (ggc_test_and_set_mark): New macro.
3278         (ggc_mark_rtx): Use ggc_test_and_set_mark.
3279         (ggc_mark_tree): Likewise.
3280         (ggc_mark_rtvec): Likewise.
3281         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion. 
3282
3283 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
3284
3285         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
3286         containing types.
3287         (decl_scope_table): Just an array of trees now.
3288         (push_decl_scope): Simplify.
3289         (dwarf2out_init): Adjust.
3290         (local_scope_p): New fn.
3291         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
3292         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
3293         (gen_typedef_die): Likewise.
3294         (gen_lexical_block_die): Don't call push/pop_decl_scope.
3295         (gen_inlined_subroutine_die): Likewise.
3296         (gen_abstract_function): Set current_function_decl temporarily.
3297         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
3298         Handle block extern declarations.  Don't call push/pop_decl_scope.
3299         (gen_decl_die): Fix logic for block externs.
3300
3301 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3302
3303         * calls.c (special_function_p): Remove `realloc' and add `strdup'
3304         to the list of functions which have attribute malloc by default.
3305
3306 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3307
3308         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
3309         integer constant does not match the traditional type, limit the
3310         warnings to cases where the base of the type is ten.
3311
3312         * invoke.texi (-Wtraditional): Document it.
3313
3314 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3315
3316         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
3317         * rs6000.md: Only access a CONST_INT with INTVAL
3318
3319 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
3320
3321         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
3322         (compute_nearerout): Likewise.
3323         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
3324         size_t to unsigned long for formatting.
3325
3326 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
3327
3328         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
3329         Allow the user to override call-used/fixed state of %g2-5
3330         registers from the command line (with the exception of %g4 for
3331         embedded model).
3332         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
3333         there is a higher chance of having a leaf function.
3334         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
3335         for ARCH64 which has %ccr register.
3336         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
3337         patterns.
3338         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
3339         insn accept into delay slot any insn which does not use %[ol]
3340         registers.  Accept some LO_SUM and shift left by 1 for the normal
3341         restore case.
3342         (output_function_epilogue): Likewise.
3343         (epilogue_renumber): Added argument which inhibits any renumbering
3344         and just tests if the rtx does not use any %[ol] registers.
3345         (output_return): Reflect above change.
3346
3347 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
3348
3349         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
3350         aggregate passing for sizes <= 16 bytes.
3351
3352 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
3353
3354         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
3355         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
3356         * reload.c (find_dummy_reload): Likewise.
3357         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
3358         * reload1.c (reload_as_needed): Likewise.
3359         * stupid.c (stupid_find_reg): Likewise.
3360         * tm.texi (Obsolete Register Macros): Delete section.
3361         * gmicro.h: Remove all traces of the two macros.
3362         * i386.h: Likewise.
3363         * m88k.h: Likewise.
3364         * mips.h: Likewise.
3365
3366 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
3367
3368         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
3369         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
3370         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
3371         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
3372         units for the sparclite86x chip.
3373         (flush): Revert October 14th change; add SImode specifically.
3374         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
3375         * invoke.texi: Document it.
3376
3377 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
3378
3379         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
3380         psimode_truncation_operand.
3381
3382         * config/mn10200/mn10200.c (psimode_truncation_operand): New
3383         function.  Return true if the operand is either a MEM valid
3384         for a PSImode address or not a MEM at all.
3385
3386         * config/mn10200/mn10200.md (truncsipsi2): Use
3387         psimode_truncation_operand.
3388
3389 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3390
3391         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
3392         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
3393         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
3394         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
3395         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
3396         (flow_loop_level_compute, low_loops_level_compute): Likewise.
3397         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
3398         * basic-block.h: Protect from multiple inclusion.
3399         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
3400         (struct loops, struct loop): Define structures.
3401         * sbitmap.c (sbitmap_a_subset_b_p): New function.
3402         * sbitmap.h: Protect from multiple inclusion.
3403         (sbitmap_a_subset_b_p): Add prototype.
3404         * Makefile.in (LOOP_H): New macro.
3405         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
3406
3407 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
3408
3409         * cppinit.c (CAT): The argument list of this macro may not contain
3410         spaces !
3411
3412 1999-11-29  David S. Miller  <davem@redhat.com>
3413
3414         Move quantity tables and register equivalence chains into
3415         per-qty and per-register structure arrays respectively.
3416         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
3417         qty_const_insn, qty_comparison_code, qty_comparison_const,
3418         qty_comparison_qty): Delete, replace with...
3419         (qty_table): this structure table.
3420         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
3421         (reg_eqv_table): this structure table.
3422         (make_new_qty): Add argument MODE.  Caller updated.
3423         Update to use qty_table and reg_eqv_table.
3424         (make_regs_eqv, delete_reg_equiv, insert_regs,
3425         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
3426         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
3427         cse_process_notes, cse_main, cse_basic_block): Likewise.
3428
3429 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3430
3431         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
3432         operation if C is negative.
3433         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
3434         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
3435         law for some divisions if constant is negative and change other
3436         divisions to the opposite rounding.
3437
3438         * expr.c (store_constructor_field): If bit position is not multiple
3439         of alignment of TARGET's mode, use BLKmode.
3440
3441         * expr.c (expand_expr_unaligned): Add more code from full case
3442         that is needed when OP0 is in a register.
3443
3444 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3445
3446         * dwarfout.c (field_byte_offset): Size can be zero if there was
3447         an error.
3448
3449 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
3450
3451         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
3452         (associate_trees): Delete unused var TEM.
3453         (extract_muldiv): Delete unused var CANCEL_P.
3454                         
3455         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
3456         (target_isinf, target_isnan, target_negative): Add return types to
3457         function definitions.
3458
3459 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
3460
3461         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
3462         * fixinc/hackshell.tpl: ditto
3463         * fixinc/fixtests.c(double_slash_test): more C++ header testing
3464         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
3465
3466 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
3467
3468         * reload.c (push_reload): When looking for a register to put into
3469         reg_rtx, make sure all hard regs in a multi-reg register are in the
3470         right class and nonfixed.
3471
3472         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
3473         pending_read_insns, pending_write_insns, pending_read_mems,
3474         pending_write_mems, pending_list_length, last_pending_memory_flush,
3475         last_function_call, sched_before_next_call): Move static variables
3476         into a structure.
3477         (bb_ prefixed versions): Replace with single array bb_deps.
3478         (struct deps): New structure.
3479         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
3480         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
3481         argument of type "struct deps *"; use that instead of global
3482         variables.  All callers changed.
3483         (init_rgn_data_dependencies): Delete function.
3484         (init_rtx_vector): Delete function.
3485         (init_deps): New function.
3486
3487         (free_pending_lists): Simplify, we always use the bb_deps array even
3488         if only one basic block.
3489         (compute_block_backward_dependences): Likewise.
3490         (schedule_region): Likewise.
3491
3492         (propagate_deps): New function, broken out of
3493         compute_block_backward_dependences.
3494         (compute_block_backward_dependences): Use it.
3495
3496         * alpha.md: Delete useless patterns that tried to work around
3497         register elimination problems.
3498
3499         * unroll.c (loop_iterations): Don't abort if iteration variable
3500         was made by loop.
3501
3502         From Joern Rennecke:
3503         * reload1.c (reloads_conflict): Reverse test comparing operand
3504         numbers when testing for conflict between output/outaddr reloads.
3505
3506 1999-11-29  David S. Miller  <davem@redhat.com>
3507
3508         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
3509         arg.
3510         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
3511
3512 1999-11-28  Robert Lipe  <robertl@cygnus.com>
3513
3514         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
3515         table from .fini into .dtor.                                
3516
3517 1999-11-28  Anthony Green  <green@cygnus.com>
3518
3519         * tree.h (struct tree_decl): Add malloc_flag.
3520         (DECL_IS_MALLOC): Define.
3521         * c-common.c (attrs): Add A_MALLOC attribute.
3522         (init_attributes): Add this attribute to the table.
3523         (decl_attributes): Handle malloc attribute.
3524         * calls.c (special_function_p): Check for the malloc attribute.
3525         * extend.texi (Function Attributes): Document malloc attribute.
3526
3527 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
3528
3529         * pa.md (reload shift-add patterns): Remove.
3530
3531 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3532
3533         * reorg.c (dbr_schedule) Print more statistics. Corrected
3534         problem when printing info when 3 delay slots are filled.
3535
3536 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
3537
3538         * combine.c (setup_incoming_promotions): Pass an outgoing
3539         regno to FUNCTION_ARG_REGNO_P which it expects.
3540
3541 1999-11-28  Andreas Jaeger  <aj@suse.de>
3542
3543         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
3544
3545 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
3546
3547         * cccp.c (do_include): Avoid initialization of automatic variable.
3548
3549         * integrate.c (mark_stores): Function definition made void, to match
3550         previous declaration.
3551         * regclass.c (dump_regclass): Ditto.
3552         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
3553
3554 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3555
3556         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
3557         known to be multiple of divisor.
3558
3559         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
3560
3561         * combine.c (try_combine): Add code to try to merge a set of a
3562         two-word pseudo to a constant with a setting of one of those words
3563         to a constant.
3564
3565         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
3566         (split_tree): Completely rework to make more general.
3567         (make_range, fold): Call negate_expr.
3568         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
3569         (fold, associate): Call new split_tree and associate_trees.
3570         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
3571
3572 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
3573
3574         * loop.c (try_copy_prop): Avoid GNU C extension.
3575
3576 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
3577
3578         * except.c (init_eh_for_function): Still zero eh_return_context,
3579         eh_return_stack_adjust, and eh_return_handler.
3580
3581         * except.h (eh_status): Adjust documentation for x_protect_list.
3582         (begin_protect_partials): New function.
3583         * except.c (enqueue_eh_entry): Fix formatting.
3584         (get_first_handler): Add consistency check.
3585         (add_partial_entry): Adjust usage of protect_list.
3586         (emit_cleanup_handler): Save and restore ehqueue.
3587         (expand_start_all_catch): Add comment.
3588         (begin_protect_partials): New function.
3589         (end_protect_partials): Adjust usage of protect_list.
3590         (init_eh_for_function): Use xcalloc.
3591
3592 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3593
3594         * c-common.c (check_format_info): Don't call a variadic function
3595         with a non-literal format string.
3596
3597         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
3598
3599         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
3600         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
3601         Likewise.
3602
3603         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
3604         Likewise.
3605
3606         * collect2.c (collect_wait): Likewise.
3607
3608         * dbxout.c (dbxout_type): Likewise.
3609
3610         * gcc.c (do_spec_1): Likewise.
3611
3612         * genemit.c (gen_insn, gen_expand): Likewise.
3613
3614         * genrecog.c (write_switch, write_subroutine): Likewise.
3615
3616         * mips-tfile.c (catch_signal, botch): Likewise.
3617
3618         * print-rtl.c (print_rtx): Likewise.
3619
3620         * toplev.c (default_print_error_function, report_error_function,
3621         _fatal_insn): Likewise.
3622
3623 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
3624
3625         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
3626
3627 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3628
3629         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
3630         operations when needed.
3631         * i386.md (fop_?f_comm): New.
3632         (fop_?f_1): Do not accept commutative operands.
3633
3634 1999-11-25  Andreas Jaeger  <aj@suse.de>
3635
3636         * config/mips/mips.md (casesi_internal): Add missing brace.
3637
3638 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
3639
3640         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
3641         (splice_child_die): Handle moving a child DIE from the declaration
3642         DIE of a class to its specification.
3643         (gen_struct_or_union_type_die): Use 'complete' consistently.
3644         (gen_decl_die): Generate the virtual context DIE first.
3645         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
3646
3647 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
3648
3649         * config/mips/mips.md (call_value_multiple_interanal1): New.
3650
3651 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
3652
3653         * dwarf2out.c (free_AT, free_die): New fns.
3654         (remove_children): Call them.
3655         (output_line_info): Disable removal of duplicate notes.
3656
3657         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
3658         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
3659         means pretend the type isn't defined.
3660         Don't defer emitting types.
3661         (gen_type_die_for_member): New fn.
3662         (gen_decl_die): Call it.
3663         (splice_child_die): New fn.
3664         (gen_member_die): Call it rather than generate duplicate dies.
3665
3666         Defer emitting information for the abstract instance of an inline
3667         until we either inline it or emit an out-of-line copy.
3668         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
3669         from output_inline_function if DECL_ABSTRACT is also set.
3670         (block_ultimate_origin): Likewise.
3671         (gen_abstract_function): New fn.
3672         (gen_decl_die, gen_inlined_subroutine_die): Call it.
3673         (gen_subprogram_die):  An abstract instance is not a declaration
3674         just because it doesn't match current_function_decl.  Don't abort
3675         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
3676         has an abstract origin.
3677         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
3678         abstract instance here.
3679
3680 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
3681
3682         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
3683         where we need to reload fpul from a system register.
3684
3685 1999-11-24  Andreas Jaeger  <aj@suse.de>
3686
3687         * config/mips/linux.h (CPP_PREDEFINES): Added.
3688         (LINK_SPEC): Remove -Y since this is only needed on sparc.
3689
3690 1999-11-24  Andreas Jaeger  <aj@suse.de>
3691
3692         * config/mips/linux.h (TARGET_VERSION): Added.
3693         (HANDLE_SYSV_PRAGMA): Added.
3694         (DEFAULT_VTABLE_THUNKS): Added.
3695
3696 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3697
3698         * local-alloc.c (qty): New structure and static variable.
3699         (qty_phys_reg): Remove, all references changed to qty.
3700         (qty_n_refs): Likewise.
3701         (qty_min_class): Likewise.
3702         (qty_birth): Likewise.
3703         (qty_death): Likewise.
3704         (qty_size): Likewise.
3705         (qty_mode): Likewise.
3706         (qty_n_calls_crossed): Likewise.
3707         (qty_alternate_class): Likewise.
3708         (qty_changes_size): Likewise.
3709         (qty_first_reg): Likewise.
3710         (alloc_qty): Rename variable QTY to QTYNO.
3711         (finf_free_reg): Likewise.
3712         (local_alloc): Allocate qty, do not allocate the removed variables.
3713
3714 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
3715
3716         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
3717         when -membedded-pic is passed.
3718
3719         * config/mips/mips.md (casesi): Handle 64-bit case too.
3720         (casesi_internal_di): New insn.
3721
3722         * config/mips/mips.c (embedded_pic_offset): Always make the
3723         embedded-pic subtractions relative to the name of the current
3724         function by use of the magic string "..CURRENT_FUNCTION".
3725         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
3726
3727 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
3728
3729         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
3730         of (const_int 0), when what we really care about is
3731         whether it's a zero constant anyway.
3732         (div_trap_mips16): Likewise.
3733
3734 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
3735
3736         * loop.c (loop_optimize): Always find_loop_tree_blocks and
3737         unroll_block_trees when generating debuggable code.
3738
3739         * tree.h (unsave_expr_1): New function.
3740         (lang_unsave): New variable.
3741         (get_callee_fndecl): New function.
3742         * tree.c (unsave_expr_now_r): New function.
3743         (lang_unsave): Define.
3744         (unsave_expr_1): Likewise.
3745         (unsave_expr_now_r): Split out from unsave_expr_now.
3746         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
3747         call unsave_expr_now_r.
3748         (get_callee_fndecl): Define.
3749
3750         * Makefile.in (gencheck): Don't depend on lang_tree_files.
3751         (gencheck.o): Do depend on lang_tree_files.
3752
3753         * integrate.h (copy_decl_for_inlining): New declaration.
3754         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
3755         (copy_decl_for_inlining): New function.
3756         (integrate_parm_decls): Use it.
3757         (integrate_decl_tree): Likewise.
3758
3759 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
3760
3761         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split 
3762         the second two from the first.
3763         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
3764         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
3765         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than 
3766         ISA_HAS_FP4.
3767         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
3768         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
3769         ISA_HAS_FP4.
3770
3771 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
3772
3773         * pa.md (call_internal_symref, call_value_internal_symref): No mode
3774         needed on the address operand.
3775         * pa.c (call_operand_address): Check for the correct mode.
3776
3777 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
3778
3779         * loop.c: Include "basic-block.h".
3780         (try_copy_prop, replace_loop_reg): New functions.
3781         (load_mems): Detect registers that just hold copies of the hoisted
3782         mem, and call try_copy_prop to eliminate them.
3783         * Makefile.in (loop.o): Update dependencies.
3784
3785 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
3786
3787         * Makefile.in (gencheck.o): Depend on gencheck.h.
3788         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
3789         (insn-peep.o): Depend on except.h and function.h.
3790         (insn-attrtab.o): Depend on RECOG_H.
3791         (insn-output.o): Depend on toplev.h and flags.h.
3792         (gengenrtl.o): Depend on real.h.
3793         (gen-protos.o): Depend on cpplib.h and cpphash.h.
3794         Unify all dependencies to be on RECOG_H rather than recog.h.
3795
3796 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3797
3798         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
3799         * configure.in: Try building a bi-arch 32/64-bit compiler on
3800         sparc-*-solaris2.7 and higher.
3801         * configure: Rebuild.
3802
3803 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
3804
3805         * config/freebsd.h: New, FreeBSD architecture independent file.
3806         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
3807         independent pieces.
3808         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
3809         directly by i386/freebsd.h.
3810         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
3811         independent configuration file.
3812         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
3813         directly by i386/freebsd.h.
3814         * configure: Rebuilt.
3815
3816         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
3817         which is in the user's namespace.
3818         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
3819         `i386' which is not in our namespace.
3820
3821 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
3822
3823         * invoke.texi (ARM Options): Add in -mno-alignment-traps
3824
3825 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
3826
3827         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
3828         (add_dwarf_attr, add_child_die): Just push onto the front.
3829         (reverse_die_lists): New fn.
3830         (add_sibling_attributes): Use it.
3831         (push_decl_scope): Reorganize.
3832         (add_name_and_src_coords_attributes): Don't set file and line for
3833         an artificial decl.
3834         (gen_subprogram_die): An artificial function doesn't need to match
3835         file and line.
3836         (gen_compile_unit_die): Return the generated die.  Only add 
3837         AT_comp_dir if the filename is relative.
3838         (remove_AT): Simplify loop.  Also free string values.
3839         (output_die): A DIE ref can't be null.
3840         (output_value_format, value_format): Take a dw_attr_ref.
3841         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
3842         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3843         AT_addr, AT_lbl): New fns.
3844         (various): Use them.
3845         (various): Constify.
3846
3847 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3848
3849         * combine.c (combine_simplify_rtx): When handling a SUBREG,
3850         take SUBREG_WORD into account.
3851         (if_then_else_cond): Likewise.
3852
3853 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
3854
3855         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising 
3856         clause from BSD license, pursuant with
3857
3858           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
3859
3860 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
3861
3862         * loop.c (load_mems): Reformat slightly.
3863         * basic-block.h (regset_head): New typedef.
3864         (INIT_REG_SET): New macro.
3865
3866 1999-11-22  Bruce Korb  <autogen@linuxbox.com
3867
3868         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
3869         (mips-dec-bsd*): non-functional code
3870         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
3871
3872         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
3873         added three replacement fixes
3874         (no_double_slash): removed comments that are not (any longer) pertinent
3875         (bad_lval): this fix currently runs against many files.
3876         The comment seems to indicate that we should select for files
3877         containing 'pragma extern_prefix'.
3878
3879         * fixinc/fixinc.x86-linux-gnu: deleted
3880         * fixinc/inclhack.sh:  regen
3881         * fixinc/fixincl.x:  regen
3882         * fixinc/fixincl.sh:  regen
3883
3884 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
3885
3886         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
3887         its code is INSN and it has no notes.
3888
3889 1999-11-22  Andrew Haley  <aph@cygnus.com>
3890
3891         * varasm.c (function_defined): Remove.
3892         (make_function_rtl): Don't set function_defined.
3893         (make_decl_rtl): Remove global register warning.
3894         * regclass.c (no_global_reg_vars): New variable.
3895         (globalize_reg): Warn if function has already been defined.
3896         (regclass_init): Set no_global_reg_vars.
3897
3898 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3899
3900         * regclass.c (reg_pref): New structure and static variable
3901         (prefclass): Delete.
3902         (altclass): Delete.
3903         (all uses of prefclass and altclass): Use reg_pref instead.
3904
3905 1999-11-21  Nick Clifton  <nickc@cygnus.com>
3906
3907         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
3908         -malignment-traps. 
3909         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
3910         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3911         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3912
3913 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
3914
3915         * varasm.c (output_constructor): Solve problem with long long
3916         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
3917
3918 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3919
3920         * global.c (allocno): New structure and static variable.
3921         (allocno_reg): Remove, all references replaced by allocno.
3922         (allocno_size): Likewise.
3923         (hard_reg_conflicts): Likewise.
3924         (hard_reg_preferences): Likewise.
3925         (hard_reg_copy_preferences): Likewise.
3926         (hard_reg_full_preferences): Likewise.
3927         (regs_someone_prefers): Likewise.
3928         (allocno_calls_crossed): Likewise.
3929         (allocno_n_refs): Likewise.
3930         (allocno_live_length): Likewise.
3931         (find_reg): Rename ALLOCNO to NUM.
3932
3933         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
3934         references updated.
3935         (may_move_out_cost): New variable.
3936         (init_reg_sets_1): Initialize may_move_out_cost.
3937         (record_reg_classes): Use may_move_out_cost.
3938
3939         * regclass.c (dump_regclass): New function.
3940         (regclass): New parameter DUMP, call DUMP_REGCLASS.
3941         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
3942         pass rtl_dump_file to regclass.
3943         * rtl.h (regclass): Update prototype.
3944
3945 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3946
3947         * i386.md (neg, not and abs patterns): Revmap to use
3948         ix86_expand_unary_operator and ix86_unary_operator_ok.
3949         (add?f and sub?f expanders): Force operand 1 to register.
3950         * i386.c (ix86_expand_unary_operator): Rewrite.
3951         (ix86_unary_operator_ok): Ensure that memory operands
3952         match real opcode.
3953         (ix86_binary_operator_ok): Do not allow operand 1 to
3954         come into memory and operand 0 not.
3955         (ix86_expand_binary_operator): Ensure that
3956         src1 is not non-matching memory.
3957
3958         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
3959         to support integer registers and memory.
3960         (abss?2_integer): Likewise.
3961
3962         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
3963         (REG_CLASS_NAMES): Likewise.
3964         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
3965         and GENERAL_REGS.
3966         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
3967         (movsf): Likewise; unify 4th and 5th alternative.
3968         (pushdf): Likewise.
3969         (movdf_1): Likewise; rename to movdf_integer.
3970         (pushxf): Likewise; rename to pushxf_integer; fix output template;
3971         remove redundant splitter.
3972         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
3973         (movdf_nointeger): New.
3974         (movxf_nointeger): New.
3975         (pushxf_nointeger): New.
3976
3977         * i386.md (extend?f?f): Split to expander and pattern, refuse two
3978         memory operands in patterns.
3979         (fop*): Refuse two memory operands.
3980
3981         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
3982         on !TARGET_USE_CLTD CPUs.
3983
3984 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
3985
3986         * extend.texi: Document C++ restricted pointers and references. 
3987
3988 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
3989
3990         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
3991         (invalidate_skipped_set): Call it unconditionally.
3992         (cse_set_around_loop): Likewise.
3993
3994 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
3995
3996         * rtl.texi (mem): Add documentation for alias-set argument 
3997         to RTX `mem'.
3998
3999 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4000
4001         * i386.h (struct_processor_costs): New fields int_load, int_store,
4002         fp_move, fp_load and fp_store
4003         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
4004         fp->int moves
4005         (MEMORY_MOVE_COST): New macro.
4006         * i386.c (386_cost): Define new fields.
4007         (i486_cost): Likewise.
4008         (pentium_cost): Likewise.
4009         (pentiumpro_cost): Likewise.
4010         (k6_cost): Likewise.
4011
4012 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
4013                           Geoffrey Keating  <geoffk@cygnus.com>
4014
4015         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
4016
4017         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
4018         MASK_ALIGN_INT.
4019         
4020         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
4021         (TARGET_STRICT_ALIGNMENT): New macro.
4022         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
4023         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
4024         * invoke.texi (M680x0 Options): Document -mstrict-align.
4025
4026 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
4027                           Richard Henderson  <rth@cygnus.com>
4028
4029         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
4030         (ix86_split_long_move): Declare.
4031         * i386.c (split_xf, ix86_split_movdi): Remove.
4032         (ix86_split_to_parts, ix86_split_long_move): New.
4033         * i386.md (dimode move splitters): Use ix86_split_long_move.
4034         (dfmode move splitters): Likewise.
4035         (xfmode move splitters): Likewise.
4036         (movsf_1): Allow F->r.
4037         (movdf_1, movxf_1): Allow F->ro.
4038
4039 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
4040
4041         * except.h (struct eh_entry): Add goto_entry_p.
4042         (eh_region_from_symbol): Remove prototype.
4043         * except.c (find_func_region_from_symbol): New function.
4044         (emit_cleanup_handler): Likewise.
4045         (eh_region_from_symbol): Make it static.
4046         (add_new_handler): Verify the argument.
4047         (find_func_region): Update comment.
4048         (expand_eh_region_end): Expand handlers here, rater than waiting
4049         until expand_leftover_cleanups or start_all_catch.
4050         (expand_leftover_cleanups): Don't expand here.
4051         (expand_start_all_catch): Or here.
4052         (expand_rethrow): Check the return value from find_func_region.
4053         * function.c (expand_function_end): Emit the catch_clauses.
4054         
4055 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
4056
4057         * integrate.c (expand_inline_function): Add necessary check for NULL.
4058
4059 1999-11-18  Nick Clifton  <nickc@cygnus.com>
4060
4061         * toplev.c (main): Correctly detect an unrecognised option.
4062
4063         * cppinit.c (cpp_handle_option): Do not claim to have consumed
4064         a -f option if it has not been recognised.
4065
4066 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
4067
4068         * basic-block.h (update_life_extent): Remove trailing comma on
4069         enumeration type list.
4070
4071 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4072
4073         * varasm.c (output_constructor) Solved problem with long long
4074         bitfields. Corrected calculating this_time and shift. Also
4075         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
4076
4077 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
4078
4079         * flow.c (split_edge): Take looping structure into account when
4080         determining where to put the new block note.
4081
4082 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
4083
4084         * Makefile.in (ggc-none.o): Provide host specific version if
4085         needed.
4086
4087 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
4088
4089         * cse.c (delete_trivially_dead_insns): Identify no-op insns
4090         containing subregs too.
4091
4092 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
4093
4094         * invoke.texi: Add documentation for -muninit-const-in-rodata.
4095         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
4096         (TARGET_UNINIT_CONST_IN_RODATA): Define.
4097         (text_section): Add switches -munint-const-in-rodata and
4098         -mno-uninit-const-in-rodata.
4099         (ASM_OUTPUT_COMMON): Remove.
4100         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
4101         const objects should be placed in read-only data. Otherwise declare
4102         them in common.
4103
4104 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
4105
4106         * jump.c (jump_optimize_1): Revert last change.
4107
4108 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
4109
4110         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
4111         test if optimizing for size.
4112
4113 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
4114
4115         * Makefile.in (toplev.o): Depend on except.h.
4116         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
4117
4118 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4119
4120         * i386.md (divmodsi4): Rewrite to expander.
4121         (*divmodsi4_nocltd): New.
4122         (*divmodsi4_cltd): New.
4123         (divmodsi4 splitter): Handle the case when input comes in edx.
4124         (udivmodhi4): Do not use constraints in exander.
4125         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
4126
4127 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
4128
4129         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
4130         for the common case.
4131
4132 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
4133
4134         * explow.c (hard_function_value): Add outgoing argument.
4135         * expr.h (hard_function_value): Declare it.
4136         * calls.c (expand_call, emit_library_call_value): Update callers.
4137         * function.c (aggregate_value_p): Ditto.
4138         (diddle_return_value): Must look at the outgoing registers
4139         on archs with register windows.
4140
4141 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
4142
4143         * alpha.c (alpha_build_va_list): Use make_lang_type and
4144         initialize TYPE_NAME for the va_list record.
4145
4146         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
4147
4148         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
4149         for printing.
4150         * ggc.h (struct ggc_statistics): Rearrange elements for better
4151         packing on 64-bit hosts.
4152         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
4153         (compute_nearerout): Likewise.
4154
4155 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
4156
4157         * config/rs6000/rs6000.c (first_reg_to_save): Save
4158         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
4159
4160 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
4161
4162         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
4163         notion of nesting to find the DIE for a type or function.
4164         DIEs can go in limbo even if we got a context_die.
4165         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
4166         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
4167         for local type.
4168         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
4169         (gen_type_die): Writing out the context doesn't cause member class
4170         template instantiations to be written out as well.
4171
4172 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
4173
4174         * rs6000.h (ASM_OUTPUT_DEF): New.
4175         Based on proposed addition from David Edelsohn.
4176
4177 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
4178             Bruce Korb  <autogen@linuxbox.com>
4179
4180         * fixinc/inclhack.def
4181         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
4182         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
4183                 in net/inet.h.
4184         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
4185         (svr4_endian): enabled with SVR5
4186         (svr4_mkdev): simplified syntax and enabled with SVR5
4187
4188 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
4189
4190         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
4191         * configure: Rebuilt.
4192         * config/t-freebsd-thread: New file.
4193
4194 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
4195
4196         * i386.c (ix86_decompose_address): Verify the base is a REG
4197         before trying to examine its register number.
4198
4199         * basic-block.h: Remove all #defines and prototypes related to
4200         integer lists.
4201         (free_bb_mem, compute_preds_succs): Remove prototype.
4202         * rtl.h (free_bb_mem): Remove prototype.
4203         * flow.c (alloc_int_list_node); Remove function.
4204         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
4205         (compute_preds_succs, free_bb_mem): Likewise.
4206         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
4207         * toplev.c (rest_of_compilation): Likewise.
4208         * haifa-sched.c (build_control_flow): Use flow generated edge
4209         list to build the haifa specific edge list.
4210         (find_rgns): Use new CFG data structures instead of pred/succ lists.
4211         (schedule_insns): Do not build pred/succ lists anymore.  Instead
4212         build the edge table.
4213
4214         * basic-block.h (dump_bb_data): Remove declaration.
4215         * flow.c (dump_bb_data): Remove function.
4216         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
4217         (sbitmap_union_of_predsucc): Likewise.
4218
4219         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
4220         argument.  All callers changed.
4221         (delete_null_pointer_checks_1): No longer need to compute the
4222         pred/succ lists.
4223
4224         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
4225         All callers changed.
4226         (pre_expr_reaches_here_p_work): Likewise.
4227         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
4228         * lcm.c (compute_laterin): Fix initialization of LATER.
4229         (compute_nearerout): Similarly for NEARER.
4230
4231 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4232
4233         * cse.c (set_nonvarying_address_components): Delete unused function.
4234         (refers_to_p): Likewise.
4235
4236 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
4237
4238         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
4239         needed.
4240
4241 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4242
4243         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
4244         definition in do while (0).
4245
4246 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
4247
4248         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
4249
4250 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
4251
4252         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
4253
4254 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
4255
4256         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
4257         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
4258         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
4259         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
4260
4261         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
4262         saved on the stack.  Output more accurate stack frame statistics
4263         into assembler file.
4264
4265 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
4266
4267         * genextract.c (record_insn_name): New function.
4268         (get_insn_name): No longer a stub.
4269         (main): Call record_insn_name for each insn.  After each label
4270         written, print the insn name in a comment.
4271
4272 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4273
4274         * output.h (const_section, init_section, fini_section): Add
4275         prototypes.
4276
4277         * alpha/elf.h (const_section): Delete declaration.
4278
4279         * svr4.h (const_section): Likewise.
4280
4281 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
4282
4283         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
4284         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
4285         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
4286         expressions.
4287         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
4288         variable-sized array bounds.
4289         
4290 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
4291
4292         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
4293         ASM_OUTPUT_LABEL.
4294
4295 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4296
4297         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
4298         addresses the same way GO_IF_LEGITIMATE_INDEX does. 
4299
4300 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4301
4302         * cse.c (hash_arg_in_struct): Delete.
4303         (struct table_elt): Delete elt in_struct.
4304         (struct set): Delete elt src_in_struct.
4305         (merge_equiv_classes): Don't set either hash_arg_in_struct or
4306         the corresponding in_struct elts.
4307         (canon_hash): Likewise.
4308         (safe_hash): Likewise.
4309         (find_best_addr): Likewise.
4310         (record_jump_cond): Likewise.
4311         (cse_insn): Likewise.
4312
4313 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
4314
4315         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
4316
4317         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
4318         unsigned types.
4319
4320 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
4321
4322         * function.c (diddle_return_value): Put back check that the DECL_RTL
4323         for the function is a register.
4324
4325         * function.c (diddle_return_value): Use hard_function_value to
4326         get an rtx suitable for use in the USE/CLOBBER insn.
4327
4328         * global.c (global_conflicts): Update comments.
4329         (record_conflicts): No need to record conflicts between pseudos here.
4330
4331 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
4332
4333         * fixinc/fixincl.c: Added verbose levels for status messages
4334
4335 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4336
4337         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
4338         operand as argument to expand_and or expand_binop.
4339
4340 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
4341
4342         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
4343         gcc_add_string_root.
4344
4345 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
4346
4347         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
4348
4349 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
4350
4351         * flow.c (compute_flow_dominators): Initially put all blocks on
4352         the worklist.
4353         * lcm.c (compute_antinout_edge, compute_available): Similarly.
4354         * gcse.c (compute_cprop_avinout): Remove.
4355         (compute_cprop_data): Use compute_available.
4356         (delete_null_pointer_checks_1): Use compute_available.
4357
4358         * basic-block.h (compute_available): Returns a void now.
4359         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
4360         to return a value anymore.
4361         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
4362         worklists.  Fix boundary cases. Compute maximal solutions.
4363         (compute_laterin, compute_nearerout): Similarly.
4364
4365         * dwarf2out.c (add_AT_location_description): Allow
4366         (mem (plus (pseudo) (...)) too.
4367
4368 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
4369
4370         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
4371
4372 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
4373                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4374
4375         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
4376
4377         * gansidecl.h: Likewise.
4378
4379         * rtl.c: Likewise.
4380
4381         * rtl.h: Likewise.
4382
4383         * toplev.h: Likewise.
4384
4385         * tree.c: Likewise.
4386
4387         * tree.h: Likewise.
4388
4389         * varray.c: Likewise.
4390
4391         * varray.h: Likewise.
4392
4393 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
4394
4395         * gcov.c (struct arcdata): Add hits and total, remove prob.
4396         (output_branch_counts): New.
4397         (process_args): Set output_branch_counts if -c.
4398         (calculate_branch_probs): Store hits and total instead of
4399         percentage.
4400         (output_data): Emit counts if output_branch_counts is true.
4401         * gcov.texi (Invoking Gcov): Document -c switch..
4402
4403 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
4404
4405         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
4406         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
4407
4408 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
4409
4410         * invoke.texi (C Dialect Options): Add missing builtins from
4411         c-common.c to list.
4412         * extend.texi (Other Builtins): Copy to this list.
4413
4414 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4415
4416         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
4417         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
4418         redundant bitmap.h.
4419
4420 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
4421
4422         * flow.c (compute_flow_dominators): No longer treat basic block 0
4423         or (n_basic_blocks - 1) specially.  Clear the AUX field before
4424         starting computation of doms/pdoms.  Fix initial state for pdoms.
4425
4426 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4427
4428         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
4429         match rtl.o's: added ggc.h and toplev.h
4430         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
4431         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
4432         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
4433
4434 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
4435
4436         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
4437         from HAVE_DOS_BASED_FILESYSTEM.
4438         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
4439         HAVE_DOS_BASED_FILESYSTEM.
4440         (main): Likewise.
4441         (split_directories): Only special-case DOS file names if
4442         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
4443         instead of explicit tests.  Conditionalize on !VMS.
4444         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
4445         tests.  Conditionalize on !VMS.
4446         (process_command): Only use make_relative_prefix if !VMS.
4447         (free_split_directories): Conditionalize on !VMS.
4448         (DIR_UP): Conditionalize on !VMS.
4449
4450 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4451
4452         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
4453
4454 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4455
4456         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
4457         case.
4458
4459 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
4460
4461         * invoke.texi (Environment Variables): Document relative path
4462         lookup.
4463         * gcc.c (DIR_UP): If not defined, define as "..".
4464         (standard_bindir_prefix): New static, holds target location to
4465         install binaries.
4466         (split_directories): New function to split a filename into
4467         component directories.
4468         (free_split_directories): New function, release memory allocated
4469         by split_directories.
4470         (make_relative_prefix): New function, make a relative pathname if
4471         the compiler is not in the expected location.
4472         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
4473         can figure out an appropriate prefix from argv[0].
4474         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
4475         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
4476         STANDARD_BINDIR_PREFIX.
4477
4478 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4479
4480         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
4481         in c4x.c.
4482         * config/c4x/c4x.h: Moved prototypes to c4x.h.
4483         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
4484         c4x_secondary_memory_needed) Delete.
4485         (fp_zero_operand): Add mode argument.
4486
4487 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
4488
4489         * reload1.c (reload_reg_free_for_value_p): Don't use a register
4490         that is in reload_reg_used.
4491
4492 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
4493
4494         * config/arm/arm-protos.h: New file: Prototypes for functions
4495         defined in arm.c and pe.c.
4496         * config/arm/arm.h: Fix compile time warnings.
4497         * config/arm/arm.c: Fix compile time warnings.
4498         * config/arm/pe.h: Fix compile time warnings.
4499         * config/arm/aout.h: Fix compile time warnings.
4500
4501 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
4502
4503         * config/m32r/m32r-protos.h: New file: Prototypes for functions
4504         defined in m32r.c
4505         
4506         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
4507         Add support for subtargets.
4508         Add prototypes for new predicates.
4509         Add scheduling macros.
4510         
4511         * config/m32r/m32r.c: Fix compile time warnings.
4512         (int8_operand): New predicate function.
4513         (reg_or_cmp_int16_operand): New predicate function.
4514         (extend_operand): New predicate function.
4515         (m32r_adjust_code): New scheduling function.
4516         (m32r_adjust_priorty): New scheduling function.
4517         (m32r_sched_init): New scheduling function.
4518         (m32r_sched_reorder): New scheduling function.
4519         (m32r_sched_variable_issue): New scheduling function.
4520         (direct_return): New codegen function.
4521         (m32r_not_same_reg): New rtl testsing function.
4522         
4523         * config/m32r/m32r.md: Fix compile time warnings.
4524         Add support for pre decrement and post increment memory
4525         references.
4526         Add S<cc> patterns.
4527         Add fabs patterns.
4528         
4529 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4530
4531         * global.c (EXECUTE_IF_CONFLICT): Don't define.
4532         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
4533         (find_reg): Likewise.
4534
4535 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
4536
4537         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
4538         to avoid assembler errors.
4539
4540 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
4541
4542         * config/v850/v850-protos.h: New file: Prototypes for functions
4543         defined in v850.c
4544         * config/v850/v850.h: Move prototypes to v850-protos.h
4545         * config/v850/v850.c: Move prototypes to v850-protos.h
4546         * config/v850/v850.md: Fix compile time warnings.
4547
4548         * config/fr30/fr30-protos.h: New file: Prototypes for functions
4549         defined in fr30.c
4550         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
4551         * config/fr30/fr30.c: Fix compile time warnings.
4552         * config/fr30/fr30.md: Fix compile time warnings.
4553
4554 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
4555
4556         * tree.h (get_containing_scope): Declare it.
4557         * tree.c (get_containing_scope): New fucntion.
4558         (decl_function_context): Use it.
4559         * toplev.c (rest_of_compilation): Use get_containing_scope.
4560
4561 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4562
4563         * Makefile.in (rtl.o): Depend on toplev.h.
4564
4565 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
4566
4567         * cse.c (delete_trivially_dead_insns): Replace alloca with
4568         xmalloc/xcalloc.
4569         * except.c (update_rethrow_references): Likewise.
4570         (init_eh_nesting_info): Likewise.
4571         * function.c (identify_blocks): Likewise.
4572         * gcse.c (dump_hash_table): Likewise.
4573         * graph.c (print_rtl_graph_with_bb): Likewise.
4574         * loop.c (combine_movables): Likewise.
4575         (move_movables): Likewise.
4576         (count_loop_regs_set): Likewise.
4577         (strength_reduce): Likewise.
4578         * profile.c (compute_branch_probabilities): New function, split
4579         out from ...
4580         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
4581         * regclass.c (regclass): Likewise.
4582         * regmove.c (regmove_optimize): Likewise.
4583         * toplev.c (compile_file): Likewise.
4584         (main): Don't mess with the stack rlimit.
4585         
4586 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
4587
4588         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
4589         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
4590
4591 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
4592
4593         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
4594
4595 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
4596
4597         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
4598         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
4599         macro expansion.
4600
4601 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
4602
4603         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
4604
4605 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
4606
4607         * gcse.c (post_dominators): Kill.
4608         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
4609         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
4610         pass in a pdom array since we do not need pdoms.
4611         * haifa-sched.c (schedule_insns): Similarly.
4612         * flow.c (compute_dominators): Remove dead function.
4613         (compute_flow_dominators): Do not compute doms or pdoms if the
4614         caller does not request them.  Split up loop to build doms and
4615         pdoms.  Use a worklist to compute doms and pdoms.
4616         * basic-block.h (compute_dominators): Remove prototype.
4617
4618 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
4619
4620         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
4621         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
4622         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
4623         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
4624         (cant_move, fed_by_spec_load, is_load_insn): Remove.
4625         (schedule_region): Remove unused variable.
4626         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
4627
4628 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
4629
4630         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
4631         (update_equiv_regs): Likewise.
4632         (block_alloc): Likewise.
4633         * reg-stack.c (reg_to_stack): Likewise.
4634         (convert_regs_2): Likewise.
4635         * reload1.c (reload_as_needed): Likewise.
4636         
4637 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
4638
4639         * Makefile.in (dbxout.o): Depend on ggc.h.
4640         (dwarf2out.o): Likewise.
4641         (xcoffout.o): Likewise.
4642         * dbxout.c: Include ggc.h.
4643         (dbxout_init): Register lastfile as a root.
4644         * dwarf2out.c: Include ggc.h.
4645         (dwarf2out_line): Register lastfile as a root.
4646         * xcoffout.c: Include ggc.h.
4647         (xcoffout_source_line): Register xcoff_lastfile as a root.
4648
4649 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
4650
4651         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
4652
4653 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
4654
4655         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
4656         defined.
4657         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
4658
4659 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4660
4661         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
4662         (EXECUTE_IF_CONFLICT): Likewise.
4663         (ALLOCNO_LIVE_P): Avoid signed division.
4664         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
4665         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
4666         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
4667
4668 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
4669
4670         * haifa-sched.c (schedule_block): Don't crash if there's no
4671         next insn for an interblock movement.
4672         (add_branch_dependences): Don't allow clobber insns to move either.
4673
4674 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
4675
4676         * i386.c (split_xf): New.
4677         * i386-protos.h: Declare it.
4678         * i386.md (movxf_1): Add general regs alternatives.
4679         (movxf_1+1): New splitter for same.
4680
4681 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
4682
4683         * function.c (purge_addressof_1): Add missing return values.
4684
4685 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
4686
4687         * function.c (is_addressof): New function.  Returns true if
4688         the given piece of RTL is an ADDRESSOF.
4689         (purge_addressof_1): Make boolean.  Return false if the
4690         ADDRESSOFs could not be purged.
4691         (purge_addressof): If ADDRESSOFs could not be purged from the
4692         notes attached to an insn, remove the offending note(s),
4693         unless they are attached to a libcall.
4694
4695 1999-11-05  Andreas Jaeger  <aj@suse.de>
4696
4697         * genoutput.c (null_operand =): Initialize all fields.
4698
4699         * errors.h: Add extern to prototypes.
4700
4701 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
4702
4703         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
4704         * configure: Rebuilt.
4705
4706 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4707
4708         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
4709         (mirror_conflicts): New function.
4710         (global_alloc): Call it.
4711         (expand_preferences): Remove redundant CONFLICTP test.
4712         (find_reg, dump_conflicts): Likewise.
4713         (prune_preferences): Process conflicts one word at a time.
4714
4715 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
4716
4717         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
4718         instead of an explicit loop.
4719
4720 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
4721
4722         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
4723         if REG_RETVAL check succeeds, then put classp in src_elt.
4724
4725 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
4726
4727         * function.c (pad_to_arg_alignment): Only update argument_pad
4728         if the argument's alignment is greater than STACK_BOUNDARY.
4729
4730 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
4731
4732         * bitmap.h (BITMAP_XFREE): New.
4733         * flow.c (life_analysis): Use it.
4734         (life_analysis_1): Free blocks.
4735
4736         * combine.c (undo_commit): New.
4737         (try_combine): Use it.  Don't zap undobuf.undos.
4738         (combine_instructions): Don't zap undobuf.undos; free the
4739         undobuf.frees list.
4740
4741         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
4742
4743         * stmt.c (cost_table_): New.
4744         (estimate_case_costs): Use it instead of xmalloc.
4745
4746         * toplev.c (compile_file): Reuse dumpname memory instead
4747         of strdup'ing it.
4748
4749 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
4750
4751         * reg-stack.c (convert_regs_1): Initialize target_stack->top
4752         after verifying an EH edge.
4753
4754         * haifa-sched.c (init_rgn_data_dependences): Correctly
4755         size bb_pending_lists_length when zeroing.
4756
4757 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
4758
4759         * function.c (diddle_return_value): New.
4760         (expand_function_end): Use it.
4761         * stmt.c (expand_null_return): Likewise.
4762         (expand_value_return): Likewise.
4763
4764         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
4765
4766         * reload1.c (reload): Don't remove return value clobbers.
4767
4768 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
4769
4770         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
4771
4772 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
4773
4774         * cse.c (cse_main): Use xmalloc, not alloca.
4775         (cse_basic_block): Likewise.
4776         * local-alloc.c (local_alloc): Likewise.
4777
4778 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
4779                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4780
4781         * rtl.c: Include toplev.h.
4782         (fatal): Remove declaration.
4783
4784 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
4785
4786         * haifa-sched.c (schedule_block): Fix thinko.
4787
4788 1999-11-03  James McKelvey <mckelvey@fafnir.com>
4789
4790         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
4791         S_IR* defined values
4792
4793 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
4794
4795         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
4796         call `malloc' instead.
4797
4798 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
4799
4800         * flags.h (flag_renumber_insns): Declare.
4801         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
4802         renumbering table.
4803         * rtl.h (renumber_insns): Change prototype.
4804         * toplev.c (flag_renumber_insns): Define.
4805         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
4806         
4807 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
4808
4809         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
4810         and fpsqrtd.  Use them and create fdiv function unit to more
4811         accurately represent fpu sqrt pipeline semantics on UltraSparc.
4812         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
4813
4814 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
4815
4816         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
4817         3 on UltraSparc.
4818         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
4819         insn into ready list, do not use just a raw swap.
4820
4821 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
4822
4823         * rtl.h (renumber_insns): New function.
4824         (remove_unnecessary_notes): Likewise.
4825         * emit-rtl.c (renumber_insns): Define.
4826         (remove_unncessary_notes): Likewise.
4827         * toplev.c (rest_of_compilation): Remove dead code.
4828         Use renumber_insns and remove_unncessary_notes.
4829
4830         * gcse.c (struct null_pointer_info): New type.
4831         (get_bitmap_width): New function.
4832         (current_block): Remove.
4833         (nonnull_local): Likewise.
4834         (nonnull_killed): Likewise.
4835         (invalidate_nonnull_info): Take a null_pointer_info as input.
4836         (delete_null_pointer_checks_1): New function.
4837         (delete_null_pointer_checks): Use it.
4838
4839         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
4840         (split_edges): Likewise.
4841         (schedule_block): Likewise.
4842         (compute_block_backward_dependencies): Likewise.
4843         (schedule_region): Likewise.
4844         (schedule_insns): Likewise.
4845         
4846 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
4847
4848         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
4849         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
4850         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
4851         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
4852         * jump.c (delete_unreferenced_labels): Don't delete if
4853         LABEL_ALTERNATE_NAME is set.
4854         * print-rtl.c (print_rtx): Dump alternate name.
4855         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
4856         * rtl.h (LABEL_ALTERNATE_NAME): Define.
4857         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
4858         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
4859
4860 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4861
4862         * fix-header.c (recognized_extern, recognized_function): Constify
4863         a char*.
4864
4865         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
4866         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4867         (compute_available): Remove unused variable `last'.
4868         (compute_nearerout): Remove unused variable `temp_bitmap'.
4869         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4870         Remove unused variable `x'.
4871
4872         * scan.h (recognized_function, recognized_extern): Constify a
4873         char*.
4874
4875         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
4876
4877 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4878
4879          * varasm.c (decode_rtx_const): Use XSTR to access the string
4880          of a SYMBOL_REF.
4881
4882 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
4883
4884         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
4885
4886 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4887
4888         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
4889
4890 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
4891
4892         * pa.c (ireg_operand): New function.
4893         * pa.h (PREDICATE_CODES): Handle ireg_operand.
4894         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
4895         Fix out of date comment.
4896
4897         * pa.md (negdi2): Turn into expander + anonymous pattern.
4898
4899         * reload.c (find_reloads): Fix typos in recent change.
4900
4901         * dwarf2out.c: Do not include ctype.h.
4902
4903 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4904
4905         * regclass.c (record_reg_classes): Always use may_move_cost when
4906         seeing how operand fits with various register classes.
4907
4908 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
4909
4910         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
4911         * toplev.c: Revert Nov 1 13:22 change.
4912
4913 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
4914
4915         * config/pa/pa.md (height reduction patterns): Add checks for
4916         overlapping operands to avoid semantic-destroying splits for 
4917         height reduction patterns.
4918
4919 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4920
4921         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
4922         have been an hyphen, fixed.
4923         * configure: Rebuilt.
4924
4925 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
4926
4927         * config/arm/tpe.h: Add prototypes for exported functions.
4928         * config/arm/pe.c: Fix compile time warnings.
4929         * config/arm/semi.h: Fix compile time warnings.
4930         * config/arm/arm.c: Fix compile time warnings.
4931         * config/arm/arm.h: Fix compile time warnings.
4932         * config/arm/arm.md: Fix compile time warnings.
4933         * config/arm/thumb.c: Fix compile time warnings.
4934         * config/arm/thumb.h: Fix compile time warnings.
4935         * config/arm/thumb.md: Fix compile time warnings.
4936
4937 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
4938
4939         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
4940         detection code
4941
4942         * unroll.c (unroll_loop): Remove LOOP notes when loop is
4943         completely unrolled.
4944
4945 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4946
4947         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
4948
4949 Tue Nov  2 09:43:00 1999   Catherine Moore  <clm@cygnus.com>
4950
4951         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
4952         * rtl.h (rtx_equal_p): Move prototype.
4953         * rtl.c (rtx_equal_function_value_matters): Move from 
4954         rtlanal.c
4955         (rtx_equal_p): Likewise.
4956         * rtlanal.c (rtx_equal_function_value_matters): Delete.
4957         (rtx_equal_p): Likewise.
4958
4959 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
4960
4961         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
4962         ! HAS_INIT_SECTION.
4963
4964 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
4965
4966         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
4967
4968         * pa.h (ADDR_VEC_ALIGN): Define.
4969
4970         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
4971         notes when presented with "if (foo) break; end_of_loop" and
4972         the break sequence gets moved out of the loop.
4973
4974         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
4975         Remove explicit zero initializations of entries within MAP.
4976
4977 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
4978
4979         * reg-stack.c (convert_regs_1): Handle EH edges specially.
4980
4981 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
4982
4983         * bitmap.h (BITMAP_XMALLOC): New macro.
4984         * flow.c (CLEAN_ALLOCA): Remove.
4985         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
4986         (life_analysis): Likewise.
4987         (update_life_info): Don't use CLEAN_ALLOCA.
4988         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
4989         (calculate_global_regs_live): Likewise.
4990         (print_rtl_with_bb): Likewise.
4991         (verify_flow_info): Likewise.
4992         * global.c (global_alloc): Likewise.
4993         (global_conflicts): Likewise.
4994         * integrate.c (save_for_inline_nocopy): Likewise.
4995         (expand_inline_function): Likewise.
4996         * jump.c (jump_optimize_1): Likewise.
4997         (duplicate_loop_exit_test): Likewise.
4998         (thread_jumps): Likewise.
4999         * loop.c (loop_optimize): Likewise.
5000         (combine_givs): Likewise.
5001         (recombine_givs): Likewise.
5002         * reorg.c (dbr_schedule): Likewise.
5003         * unroll.c (unroll_loop): Likewise.
5004         
5005         * combine.c (combine_instructions): Use xmalloc instead of alloca.
5006
5007 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
5008
5009         * toplev.c (rest_of_compilation): Don't optimize the CFG
5010         when rebuilding, just before dbr.
5011
5012 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5013
5014         * output.h (assemble_end_function, assemble_destructor,
5015         assemble_constructor, assemble_gc_entry, assemble_global,
5016         assemble_label, output_constant_pool) Constify a char*.
5017
5018         * varasm.c (assemble_destructor, assemble_constructor,
5019         assemble_gc_entry, assemble_end_function, assemble_global,
5020         assemble_label, output_constant_pool): Likewise.
5021
5022 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
5023
5024         * config/arm/thumb.c (thumb_expand_prologue): Add comments
5025         explaining what is goin on in this function.
5026
5027 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5028
5029         * regclass.c (record_reg_classes): In matching case, recompute
5030         costs since the direction of movement is different.
5031
5032 Sun Oct 31 21:59:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5033
5034         * resource.c (mark_target_live_regs): For unconditional branches,
5035         the resources found at the branch target should be added to the
5036         resources found so far, not intersected.
5037
5038 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
5039
5040         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
5041         old cpp's.
5042         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
5043         (sys/mman.h): Include this file only if #HAVE_MMAP.
5044         (run_compiles): Initialize `esac_fmt' with one old KR string, not
5045         with automatically concatenated ANSI strings.
5046
5047 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
5048
5049         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
5050         (DIV_ROUND_UP): Robustify.
5051         (ggc_recalculate_in_use_p): New function.
5052         (release_pages): Don't inline it.
5053         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
5054         outer contexts.
5055         (ggc_pop_context): Use ggc_recalculate_in_use_p.
5056         (clear_marks): Always save in_use_p.
5057         (sweep_pages): Use ggc_recalculate_in_use_p.
5058         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
5059         Release pages before counting statistics.
5060         
5061 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
5062
5063         * toplev.c (rest_of_compilation): Fix thinko in this change:
5064         
5065         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
5066
5067         (rest_of_compilation): If inside an inlined external function,
5068         pretend we are just being declared.
5069
5070 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
5071
5072         * flow.c (calculate_global_regs_live): Fix thinko.
5073
5074         * integrate.c (expand_inline_function): Fix bugs in previous
5075         change from Oct 28, 1999.
5076
5077 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
5078
5079         * stmt.c (expand_value_return): Fix typo in this change:
5080
5081         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5082         (expand_value_return): Correctly convert VAL when promoting function
5083         return; support RETURN_REG being a PARALLEL.
5084         
5085 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
5086
5087         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
5088
5089 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5090
5091         * hard-reg-set.h (reg_names): Constify a char*.
5092
5093         * regclass.c  (reg_names): Likewise.
5094
5095         * regs.h (reg_names): Likewise
5096
5097         * a29k/a29k.c (reg_names): Delete declaration.
5098
5099         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
5100
5101         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
5102         arc_output_function_epilogue): Likewise.
5103
5104         * elxsi/elxsi.c (reg_names): Likewise.
5105
5106         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
5107         
5108         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
5109         Likewise.
5110
5111         * m88k/m88k.c (output_function_profiler): Likewise.
5112
5113         * sparc/sparc.c (sparc_flat_output_function_prologue,
5114         sparc_flat_output_function_epilogue): Likewise.
5115
5116 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
5117
5118         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
5119         warning from -Wuninitialized and put it under -W.
5120         * function.c (uninitialized_vars_warning): Warn only when the
5121         corresponding flag is set.
5122
5123 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
5124
5125         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
5126         is nonzero and the single set does not have an elt, then assign
5127         it an elt.
5128
5129         * simplify-rtx.c: New file.
5130         * Makefile.in (OBJS): Add simplify-rtx.o
5131         (simplify-rtx.o): Add dependencies.
5132         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
5133         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
5134         (cse_gen_binary, simplify_unary_operation): Delete.
5135         (simplify_binary_operation, simplify_plus_minus): Likewise.
5136         (check_fold_consts, simplify_relation_operation): Likewise.
5137         (simplify_ternary_operation): Likewise.
5138         (delete_trivially_dead_insns): Simplify the contents of the
5139         REG_EQUAL note before trying to substitute it into the source
5140         of the reg-reg copy at the end of a libcall sequence.
5141
5142         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
5143         references/callers changed.
5144
5145         * mn10200.c (mn10200_va_arg): Force the return value into a
5146         register.
5147
5148         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
5149
5150         * cccp.c (macroexpand): Avoid out of range accesses for omitted
5151         arguments.
5152
5153 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
5154
5155         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
5156
5157 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
5158
5159         * fold-const.c (fold): Fix thinko when optimizing comparisons
5160         against -0.0.
5161
5162 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
5163
5164         * gcc.texi (Passes): Update front-end files to their current 
5165         location.
5166
5167 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
5168
5169         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
5170         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
5171         (PREDICATE_CODES): Add addition_operation.
5172         * alpha-protos.h (addition_operation): Declare.
5173         (secondary_reload_class): Likewise.
5174         * alpha.c (addition_operation): New.
5175         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
5176         * alpha.md (adddi3): Turn into expander.
5177         (*lda, *adddi_2): New.
5178         (movsf, movdf patterns): Don't preference integer regs.
5179         (movsi, movdi patterns): Don't preference fp regs.
5180
5181 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
5182
5183         * genrecog.c (write_switch): Check for duplicate CODE cases.
5184
5185 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
5186
5187         * ggc-common.c: Update pre-function commentary.
5188         * ggc-page.c: Likewise.
5189         (poison): Remove.
5190         (poison_pages): Use memset directly.
5191         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
5192         (ggc_collect): Poison before sweeping.
5193         * ggc-simple.c: Update pre-function commentary.
5194         (ggc_alloc_obj): Poison non-zeroed memory.
5195
5196 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
5197
5198         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
5199         match format string, even on 64-bit hosts.
5200         * gcc-page.c (ggc_page_print_statistics): Likewise.
5201
5202 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
5203
5204         * config/i386/i386.c (ix86_cpu): Revert last patch.
5205         * config/i386/i386.h (ix86_cpu): Ditto.
5206
5207 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
5208
5209         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
5210         TYPE_SIZE, convert type of result to sizetype.
5211
5212 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
5213
5214         * flow.c (count_or_remove_death_notes): Equate NULL with the
5215         universal set.
5216
5217         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
5218         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
5219         dbr_schedule.
5220
5221         * i386.c (pic_label_no): Delete.
5222         (ix86_attr_length_default): Don't use single_set to peek
5223         inside a parallel.
5224
5225         * recog.c (peephole2_optimize): Allow recog_next_insn to index
5226         the first insn after bb->end.
5227         * i386.md (push mem peeps): Scratch is live after evaluation
5228         of the memory.
5229         (cmp mem peep): Similarly.
5230
5231 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
5232
5233         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
5234         * function.c (pad_to_arg_alignment): Add missing braces.
5235
5236 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5237
5238         * alpha/alpha-protos.h (literal_section): Add prototype.
5239         (alpha_need_linkage, alpha_start_function,alpha_end_function):
5240         Constify a char*.
5241
5242         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
5243         prototype.
5244         (alpha_start_function, alpha_end_function, float_strings,
5245         alpha_need_linkage): Constify a char*
5246
5247         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
5248
5249         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
5250
5251         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5252
5253         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5254
5255 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5256
5257         * flow.c (debug_flow_info): Add prototype.
5258
5259         * gcc.c (main): Likewise.
5260
5261         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
5262         Likewise.
5263
5264         * reload1.c (failed_reload, set_reload_reg): Likewise.
5265         
5266         * mips-tfile.c (main): Likewise.
5267         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
5268         with ATTRIBUTE_NORETURN.
5269
5270 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
5271
5272        * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
5273        DECL is not a memory ref.
5274  
5275 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
5276
5277         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
5278         * config/i386/i386.c (ix86_cpu): Add extern attribute.
5279
5280 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
5281
5282         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
5283         * config/mips/elf64.h: ditto.
5284
5285 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
5286
5287         * expr.c (emit_push_insn): New argument alignment_pad.
5288         Update all callers.  Adjust stack pointer based on alignment pad.
5289         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
5290         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
5291         (locate_and_pad_parm): New argument alignment_pad.  Update all
5292         callers.
5293         * expr.h (emit_push_insn): Update prototype.
5294         (locate_and_pad_parm): Update prototype.
5295         * calls.c (arg_data):  Add new field alignment_pad.
5296         (initialize_argument_information): Initialize alignment_pad.
5297
5298 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
5299
5300         * except.c (free_eh_nesting_info): Free the info itself.
5301         * function.c (free_after_compilation): Don't free NULL.
5302         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
5303         (pre_edge_insert): Free inserted.
5304         * stmt.c (free_stmt_status): Don't free NULL.
5305
5306 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
5307
5308         * gcov.c (DIR_SEPARATOR): Provide default.
5309         (output_data): Add test for MS-DOS format absolute filename.
5310         (fancy_abort): Correct program name.
5311         (open_files): Open all files in binary mode.
5312         * libgcc2.c (__bb_exit_func): Likewise.
5313
5314         * profile.c (init_branch_prob): Specify binary when opening files.
5315
5316         * flags.h (flag_unwind_tables): New decl.
5317         * toplev.c (flag_unwind_table): New definition.
5318         (f_options): Add -funwind-tables.
5319         (decode_g_option): Clarify warning when unknown -g option is given.
5320         (rest_of_compilation): If inside an inlined external function,
5321         pretend we are just being declared.
5322
5323         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
5324         (dwarf2out_frame_finish): Likewise.
5325
5326 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
5327
5328         * fold-const.c (merge_ranges): If not in0, but in1, handle
5329         upper bounds equal like subset case.
5330
5331 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
5332
5333         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
5334         passed in a register but moved to the stack.
5335
5336 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
5337
5338         * gcc.c (pass_exit_codes, greatest_status): New variables.
5339         (struct option_map): Add entry for "--pass-exit-codes".
5340         (execute): Update greatest_status if error.
5341         (display_help): Add documentation for -pass-exit-codes.
5342         (process_command): Handle -pass-exit-codes.
5343         (main): Look at pass_exit_codes and greatest_status on call to exit.
5344
5345 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5346
5347         * reload.c (find_reloads): Refine test for no input reload
5348         case to not includes reloads emitted after insn.
5349
5350         * function.c (find_temp_slots_from_address): Handle sum involving
5351         a register that points to a temp slot.
5352         (update_temp_slot_address): Make recursive call if both old and
5353         new are PLUS with a common operand.
5354         * calls.c (expand_call): Mark temp slot for result as having
5355         address taken.
5356         
5357         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
5358
5359         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
5360         component as well as "BINUTILS".
5361
5362         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
5363         * integrate.c (copy_rtx_and_substitute): Likewise.
5364         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
5365         All callers changed.
5366         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
5367         
5368         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
5369         gdb extensions, write size of type; also be more consistent
5370         in using references when this is a subtype.
5371
5372         * pa.md (extv, extzv, insv): Use define_expand to reject constant
5373         that is out of range.
5374
5375         * loop.c (unknown_constant_address_altered): New variable.
5376         (prescan_loop): Initialize it.
5377         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
5378         (invariant_p, case MEM): Remove handling for volatile and readonly;
5379         check new variable if readonly.
5380         (check_dbra_loop): Chdeck unknown_constant_address_altered.
5381
5382         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
5383         (addr_affects_sp_p): Removed from note_mem_written and only
5384         define #ifdef AUTO_INC_DEC.
5385
5386         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
5387
5388         * regclass.c (record_reg_classes): Properly handle register move
5389         directions.
5390
5391         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
5392         Don't think valid if both operands are invalid.
5393         (struct constant_descriptor): New field RTL.
5394         (mark_const_hash_entry): Mark it.
5395         (record_constant{,_rtx}): Initialize it.
5396         (output_constant_def): Allocate RTL in permanent obstack and
5397         save in table.
5398         ({record,compare}_constant_1): Modes must match for
5399         CONSTRUCTOR of ARRAY_TYPE.
5400
5401         * c-common.h (initializer_constant_valid_p): Delete decl from here.
5402         * output.h (initializer_constant_valid_p): Move decl to here.
5403         * c-common.c (initializer_constant_valid_p): Delete function from here.
5404         * varasm.c (initializer_constant_valid_p): Move function to here.
5405
5406         * tree.h (STRIP_SIGN_NOPS): New macro.
5407         * fold-const.c (optimize_minmax_comparison): New function.
5408         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
5409         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
5410         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
5411         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
5412         widening conversions.
5413         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
5414         to look at size of mode, not precision of type; also add missing cases.
5415         (optimize_bit_field_compare, decode_field_reference): Don't try to
5416         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
5417
5418         * dwarf2out.c (ctype.h): Include.
5419         (dwarf2out_set_demangle_name_func): New function.
5420         (size_of_line_info): Deleted.
5421         (output_line_info): Compute size of line info table from difference
5422         of labels.
5423         (base_type_die, add_name_attribute): Call demangle function, if any.
5424         (field_byte_offset): Use bits per word for variable length fields.
5425         (gen_array_type_die): Add array name.
5426         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
5427         (dwarf2out_add_library_unit_info): New function.
5428
5429         * explow.c (set_stack_check_libfunc): New function.
5430         (stack_check_libfunc): New static variable.
5431         (probe_stack_range): Allow front-end to set up a libfunc to call.
5432
5433         * combine.c (simplify_comparison): When making comparison in wider
5434         mode, check for having commuted an AND and a SUBREG.
5435         (contains_muldiv): New function.
5436         (try_combine): Call it when dividing a PARALLEL.
5437         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
5438         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
5439         a PLUS.
5440         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
5441         use one of the CLOBBERs instead.
5442         (if_then_else_cond): If comparing against zero, just return thing
5443         being compared.
5444
5445         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
5446         Don't generate shifts and subtract if have conditional arithmetic.
5447
5448         * rtl.h (delete_barrier): New declaration.
5449         * jump.c (jump_optimize): Set up to handle conditional call.
5450         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
5451         (delete_barrier): New function.
5452
5453         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
5454
5455         * recog.c (nonmemory_operand): Accept ADDRESSOF.
5456
5457         * tree.c (build_type_attribute_variant): Push to obstack of
5458         ttype around type_hash_canon call.
5459
5460         * expr.c (placeholder_list): Move decl to file scope.
5461         (expand_expr): Don't force access to volatile just because its
5462         address is taken.
5463         If ignoring reference operations, just expand the operands.
5464         (expand_expr, case COMPONENT_REF): Propagate
5465         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
5466         Refine test for using bitfield operations vs pointer punning.
5467         (expand_expr, case CONVERT_EXPR): If converting to
5468         BLKmode UNION_TYPE from BLKmode, just return inner object.
5469         Use proper mode in store_field call.
5470         Properly set sizes of object to store and total size in store_field
5471         call for convert to union.
5472         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
5473         memory (like for ADDR_EXPR).  Also, don't put constant in register if
5474         we'll want it in memory.
5475         (readonly_fields_p): New function.
5476         (expand_expr, case INDIRECT_REF): Call it if LHS.
5477         (expand_assignment): Handle a RESULT_DECL where
5478         DECL_RTL is a PARALLEL.
5479         (do_jump, case WITH_RECORD_EXPR): New case.
5480         (get_inner_reference): Always go inside a CONVERT_EXPR
5481         and NOP_EXPR if both modes are the same.
5482         (store_field): Use bitfield operations if size of bitsize is not same
5483         as size of RHS's type.
5484         Check for bitpos not a multiple of alignment in BLKmode case.
5485         Do block move in largest possible alignment.
5486         (store_constructor): Set BITSIZE to -1 for variable size and properly
5487         in case of array of BLKmode.
5488         (expand_expr_unaligned): New function.
5489         (do_compare_and_jump): Call it.
5490
5491         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
5492         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
5493         does not include 'o'.
5494
5495         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
5496         both SET_DEST and SET_SRC reference a virtual register.
5497         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
5498
5499         * integrate.c (expand_inline_function): Handle case of setting
5500         virtual stack vars register (from built in setjmp); when parameter
5501         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
5502         (subst_constant): Add new parm, MEMONLY.
5503         (expand_inline_function, integrate_parm_decls): Pass new parm.
5504         (integrate_decl_tree): Likewise.
5505         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
5506         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
5507         (copy_rtx_and_substitute, case SET): Add explicit calls to
5508         copy_rtx_and_substitute for both sides.
5509
5510         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
5511         constraints.
5512         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
5513         within INDEX_TYPE, instead of before.
5514         (fixup_gotos): Use f->target_rtl, not the next insn,
5515         since latter may be from a later fixup.
5516         (expand_value_return): Correctly convert VAL when promoting function
5517         return; support RETURN_REG being a PARALLEL.
5518         (expand_return): When checking for result in regs and having
5519         cleanup, consider PARALLEL in DECL_RTL as being in regs.
5520
5521 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
5522
5523         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
5524         last_nominal_fname): Mark const.
5525         (struct include_hash: name, nshort, control_macro): Mark
5526         const.
5527         (struct macrodef: symnam): Mark const.
5528         (struct if_stack: fname): Mark const.
5529         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
5530         (IStable): New character-syntax array which encompasses all
5531         the old is_foo arrays.
5532         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
5533         is_space): New macros for interrogating IStable.
5534         (check_macro_name): Kill last argument.  All callers changed.
5535
5536         * cppinit.c (initialize_char_syntax): Delete.
5537         (is_idchar, is_idstart, is_hor_space, is_space,
5538         trigraph_table): Delete.
5539         (IStable): New.  Initialize with clever macros to avoid
5540         information duplication.
5541         (builtin_array): Table of builtins to get rid of explicit list
5542         in initialize_builtins.
5543         (initialize_builtins): Use builtins_array.
5544         (cpp_start_read): Call init_IStable, and set IStable['$'] if
5545         opts->dollars_in_ident.
5546
5547         * cppexp.c: Change all refs to is_xyz[] arrays to use new
5548         is_xyz() macros.
5549         (cpp_parse_expr): Avoid 'format string is not constant'
5550         warning. Use ISGRAPH to identify printable chars.
5551         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
5552         is_xyz() macros.
5553         (read_and_prescan): Map trigraphs to chars with open-coded
5554         if-else-if-... sequence, not a lookup table.
5555         * cpphash.c: Change all refs to is_xyz[] arrays to use new
5556         is_xyz() macros.
5557         * cpplib.c: Change all refs to is_xyz[] arrays to use new
5558         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
5559         (check_macro_name): Remove ability to report an invalid
5560         assertion name, which is never used.
5561         (do_line): Constify a couple of char *'s.
5562         * cppmain.c (main): Call cpp_cleanup before returning.
5563
5564 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
5565
5566         * ggc.h (struct ggc_statistics): New type.
5567         (ggc_get_size): New function.
5568         (ggc_print_statistics): Likewise.
5569         * ggc-common.c (ggc_stats): New variable.
5570         (ggc_mark_rtx_children): Keep statistics.
5571         (ggc_mark_tree_children): Likewise.
5572         (ggc_print_statistics): New function.
5573         * ggc-page.c (struct globals): Add bytes_mapped field.
5574         (alloc_anon): Update it.
5575         (release_pages): Likewise.
5576         (ggc_get_size): New function.
5577         (ggc_page_print_statistics): New function.
5578         * ggc-simple.c (ggc_get_size): New function.
5579         
5580 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
5581
5582         * flow.c (propagate_block): When the last reference to a label
5583         before an ADDR_VEC is deleted because the reference is a dead
5584         store, delete the ADDR_VEC.
5585
5586 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
5587
5588         * resource.c (find_free_register): Don't use the frame pointer
5589         if frame_pointer_needed.
5590
5591 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
5592
5593         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
5594         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
5595
5596         * config/i960/i960.c (i960_va_start): New locals base, num.
5597         Use INDIRECT_REF instead of ARRAY_REF on valist.
5598         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
5599
5600 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
5601
5602         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
5603
5604 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
5605
5606         * tree.def (PLACEHOLDER_EXPR): Update comments.
5607
5608 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5609
5610         * c-common.c (check_format_info): Avoid non-literal format string
5611         warnings when `first_arg_num' is zero.
5612
5613 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5614
5615         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
5616
5617 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
5618
5619         * arm.md (casesi_insn): Add a clobber of the condition code
5620         register.
5621
5622 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
5623
5624         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
5625         used by both cc1 and cc1plus.
5626         
5627 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
5628
5629         * config/arm/arm.c: Initialise arm_structure_size_boundary to
5630         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
5631         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
5632         to the value 32 if it has not already been defined.
5633         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
5634         Override definition in arm.h with a value of 8.
5635
5636 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
5637
5638         * c-pragma.c (push_alignment): Don't check the return value
5639         of xmalloc.
5640
5641 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
5642
5643         * sparc.h (ADJUST_COST): Fix thinko.
5644
5645 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
5646
5647         * cccp.c (rescan): Fixed obp pointer handling around call to
5648         check_expand subroutine.
5649
5650 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
5651
5652         * gcse.c (delete_null_pointer_checks): Only record non-null info
5653         for pseudos when examining stores.
5654
5655         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
5656         splitters for these patterns.  Use "#" for output templates.
5657         (addsi3_carryin_shift): New pattern.
5658
5659 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
5660
5661         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
5662         of the function return register into a plain REG until
5663         after function inlining is done.
5664
5665 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
5666
5667         * jump.c (jump_optimize_1): If we did cross-jumping, and
5668         the data will matter, rebuild the CFG.
5669         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
5670         not optimizing.  Don't run shorten_branches.
5671         * toplev.c (rest_of_compilation): Run shorten_branches after
5672         reg_to_stack.
5673
5674 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
5675
5676         * rtl.h (note_stores): Add additional paramter.
5677         * rtlanal.c (reg_set_p_1): Take additional paramter.
5678         (reg_set_last_1): Likewise.
5679         (reg_set_p): Adjust call to note_stores.
5680         (reg_set_last): Likewise.
5681         (note_stores): Pass data parameter to worker function.
5682         * alias.c (record_set): Take additional parameter.
5683         (init_alias_analysis): Pass it.
5684         * caller-save.c (mark_set_regs): Take additional parameter.
5685         (save_call_clobbered_regs): Pass NULL to note_stores.
5686         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
5687         parameter.
5688         (record_dead_and_set_regs_1): Likewise.
5689         (reg_dead_at_p_1): Likewise.
5690         (combine_instructions): Adjust calls to note_stores.
5691         (try_combine): Likewise.
5692         (record_dead_insn): Remove.
5693         (record_dead_and_set_regs): Adjust calls to note_stores.
5694         (reg_dead_at_p): Likewise.
5695         * cse.c (invalidate_skipped_set): Take additional parameter.
5696         (cse_check_loop_start): Likewise.
5697         (cse_check_loop_start_value): Remove.
5698         (cse_set_around_loop): Adjust calls to note_stores.
5699         * flow.c (notice_stack_pointer_modification): Take additional
5700         parameter.  Remove duplicate declaration.
5701         (record_volatile_insns): Adjust calls to note_stores.
5702         * gcse.c (record_set_info): Take additional parameter.
5703         (record_last_set_info): Likewise.
5704         (invalidate_nonnull_info): Likewise.
5705         (record_set_insn): Remove.
5706         (compute_sets): Adjust calls to note_stores.
5707         (last_set_insn): Remove.
5708         (compute_hash_table): Adjust calls to note_stores.
5709         (insert_insn_end_bb): Likewise.
5710         (delete_null_pointer_checks): Likewise.
5711         * global.c (mark_reg_store): Take additional parameter.
5712         (mark_reg_clobber): Likewise.
5713         (reg_becomes_live): Likewise.
5714         (global_conflicts): Adjust calls to note_stores.
5715         (build_insn_chain): Likewise.
5716         * integrate.c (note_modified_parmregs): Take additional parameter.
5717         (mark_stores): Likewise.  Make it static.
5718         (save_for_inline_nocopy): Adjust calls to note_stores.
5719         (try_constants): Likewise.
5720         * integrate.h (mark_stores): Remove declaration.
5721         * jump.c (mark_modified_reg): Take additional parameter.
5722         (thread_jumps): Adjust calls to note_stores.
5723         * local-alloc.c (validate_equiv_mem_from_store): Take additional
5724         parameter.
5725         (no_equiv): Likewise.
5726         (reg_is_set): Likewise.
5727         (validate_equiv_mem): Adjust calls to note_stores.
5728         (update_equiv_regs): Likewise.
5729         (block_alloc): Likewise.
5730         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
5731         (note_addr_stored): Take additional parameter.
5732         (note_set_pseudo_multiple_uses): Likewise.
5733         (record_initial): Likewise.
5734         (prescan_loop): Adjust calls to note_stores.
5735         (strength_reduce): Likewise.
5736         (check_dbra_loop): Likewise.
5737         * regmove.c (flags_set_1): Take additional paramter.
5738         (mark_flags_life_zones): Adjust calls to note_stores.
5739         * reload1.c (mark_not_eliminable): Take additional parameter.
5740         (forget_old_reloads_1): Likewise.
5741         (reload_cse_invalidate_rtx): Likewise.
5742         (reload_cse_check_clobber): Likewise.
5743         (reload_combine_note_store): Likewise.
5744         (move2add_note_store): Likewise.
5745         (reload): Adjust calls to note_stores.
5746         (reload_as_needed): Likewise.
5747         (emit_reload_insns): Likewise.
5748         (reload_cse_regs_1): Likewise.
5749         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
5750         (reload_combine): Adjust calls to note_stores.
5751         * resource.c (update_live_status): Take additional paramter.
5752         (mark_target_live_regs): Adjust calls to note_stores.
5753         * stupid.c (find_clobbered_regs): Take additional parameter.
5754         (stupid_life_analysis): Adjust calls to note_stores.
5755         
5756 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
5757
5758         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
5759         definition. 
5760
5761         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
5762         definition.
5763
5764         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
5765         of the variable arm_structure_size_boundary.
5766
5767 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
5768
5769         * alias.c (init_alias_analysis): Allocate reg_known_value and
5770         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
5771         and reg_seen.
5772         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
5773         * cse.c (cse_main): Call end_alias_analysis.
5774         * haifa-sched.c (schedule_insns): Likewise.
5775         * local-alloc. (update_equiv_regs): Likewise.
5776         * reload1.c (reload_cse_regs): Likewise.
5777         
5778 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5779
5780         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
5781         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
5782         mapping from MASK_FPU.
5783
5784 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
5785
5786         * sparc.md (call): Don't bound structure return size to 0xfff.
5787
5788 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
5789
5790         * resource.c (mark_target_live_regs): Check that the target
5791         insn wasn't created after compute_bb_for_insn.
5792
5793 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
5794
5795         * ggc-page.c (poison_pages): Don't be overzealous.
5796
5797 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
5798
5799         * alias.c: Update comments for ADDRESS.
5800         (nonlocal_reference_p): Look inside the ADDRESS to determine if
5801         it is a local memory reference.
5802
5803         * c-typeck.c (build_function_call): Check that the built-in
5804         function is of class BUILT_IN_NORMAL before trying to recongize
5805         it as BUILT_IN_ABS.
5806         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
5807         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
5808
5809 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
5810
5811         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
5812         of alloca.
5813         (pre_gcse): Likewise.
5814         (hoist_expr_reaches_here_p): Likewise.
5815         (hoist_code): Likewise.
5816         (pre_expr_reaches_here_p): Replace alloca with xcalloc.   Move core
5817         code to ...
5818         (pre_expr_reaches_here_p_work): ... here.
5819         (expr_reaches_here_p): Replace alloca with xcalloc.   Move core 
5820         code to ...
5821         (expr_reaches_here_p_work): ... here.
5822
5823 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
5824
5825         * resource.c (find_basic_block): Delete.
5826         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
5827         (init_resource_info): Call compute_bb_for_insn.
5828
5829 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
5830
5831         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
5832         with already adjacent blocks, but no fallthru.
5833         (merge_blocks_move_successor_nojumps): Simplify.
5834         (debug_flow_info): New.
5835
5836         * toplev.c (rest_of_compilation): Open jump1 dump file before
5837         jump and close after, as opposed to just using dump_rtl.
5838
5839 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5840
5841         * reload.h (earlyclobber_operand_p): Declare.
5842         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
5843         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
5844         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
5845         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
5846
5847 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
5848                           Richard Henderson  <rth@cygnus.com>
5849
5850         * emit-rtl.c (emit_block_insn_before): New.
5851         (emit_block_insn_after): New.
5852         * basic-block.h: Declare them.
5853
5854         * bitmap.h: Protect from multiple inclusion.
5855
5856         * recog.c (scratch_operand): Handle VOIDmode correctly.
5857
5858         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
5859
5860         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
5861         * function.c (assign_parms): Likewise.
5862         * global.c (global_conflicts): Clarify STACK_REGS commentary.
5863
5864         * reg-stack.c (max_uid): Remove.
5865         (blocks, block_begin, block_end, block_drops_in): Remove.
5866         (block_stack_in, block_out_reg_set, block_number): Remove.
5867         (struct block_info_def, BLOCK_INFO): New.
5868         (enum emit_where): New.
5869         (current_block): New.
5870         (BLOCK_NUM): Remove.
5871         (mark_regs_pat, record_label_references): Remove.
5872         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
5873         (nan): New.
5874         (goto_block_pat, print_blocks, dump_stack_info): Remove.
5875         (reg_to_stack): Simplified test for existance of fp code.  Use
5876         flow.c code.  Call shorten_branches after cross-jump opt.
5877         (check_asm_stack_operands): Renamed from record_asm_reg_life.
5878         Return false if the asm doesn't use stack regs.  Don't do life
5879         analysis on the asm.
5880         (emit_pop_insn): Replace function pointer arg `when' with
5881         enum `where'.  Update all callers.
5882         (change_stack): Likewise.  Update basic block end.
5883         (emit_swap_insn): Use current_block->head to limit reverse search
5884         for start of block.  Use emit_block_insn_after.
5885         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
5886         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
5887         structure assignment instead of bcopy.
5888         (print_stack): New.
5889         (convert_regs_entry, convert_regs_exit): New.
5890         (convert_regs_1, convert_regs_2): Split out from convert_regs.
5891         Work on basic blocks and the CFG.
5892         (convert_regs): Use them.
5893
5894         * i386.c (output_fix_trunc): Remove code for DImode input operand
5895         not at top-of-stack.
5896         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
5897         appropriate mode.
5898         (fix_truncdi_1): Allow any mode scratch.
5899
5900 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
5901
5902         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
5903         * linux.h, netbsd.h, vms.h: Not here.
5904
5905 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
5906
5907         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
5908         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
5909         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
5910         CONDITIONAL_REGISTER_USEAGE): Use them. 
5911         * config/mips/mips.c (mips_move_1word,mips_move_2words,
5912         gen_conditional_branch,override_options) : Use them.
5913         * config/mips/mips.md : Use them.
5914
5915 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
5916
5917         * i386.md (zero_extendqihi2): Use SImode register name with andl.
5918
5919 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
5920
5921         * integrate.c (function_cannot_inline_p): Don't allow inlining
5922         if setjmp is used.
5923
5924 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5925
5926         * c-parse.in (cast_expr): Constify.
5927
5928         * cccp.c (special_symbol): Likewise.
5929
5930         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
5931
5932         * dwarf2out.c (base_type_die): Likewise.
5933
5934         * global.c (allocno_compare): Likewise.
5935
5936         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
5937
5938         * regclass.c (fix_register): Likewise.
5939
5940         * rtl.h (fix_register): Likewise.
5941
5942         * stupid.c (stupid_reg_compare): Likewise.
5943
5944         * toplev.c (decode_f_option): Likewise.
5945
5946         * tree.c (build_complex_type): Likewise.
5947
5948 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
5949
5950         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
5951
5952 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5953
5954         * reload.c (find_reloads): Compute mode and nregs fields of all
5955         reloads.
5956         * reload1.c (calculate_needs_all_insns): Simplify a bit.
5957         (calculate_needs): Use precomputed mode/nregs values.
5958         (allocate_reload_reg): Likewise.
5959         Break out two...
5960         (failed_reload, set_reload_reg): ... new functions.
5961         (choose_reload_regs_init): New function, mostly broken out from...
5962         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
5963         Also lose one #if 0 block.
5964
5965 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
5966
5967         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name 
5968         substitution.
5969
5970 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
5971
5972         * tree.h (BLOCK_TYPE_TAGS): Remove.
5973         (BLOCK_END_NOTE): Likewise.
5974         (BLOCK_LIVE_RANGE_FLAG): Likewise.
5975         (BLOCK_LIVE_RANGE_START): Likewise.
5976         (BLOCK_LIVE_RANGE_END): Likewise.
5977         (tree_block): Remove live_range_flag, live_range_var_flag, and
5978         type_tags.  Remove end_note, live_range_start, and live_range_end.
5979         (remember_end_note): Remove prototype.
5980         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
5981         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
5982         remember_end_note.
5983         * ggc-common.c (ggc_mark_tree_children): Don't mark
5984         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
5985         * integrate.c (adjust_copied_decl_tree): Remove.
5986         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
5987         * stmt.c (last_block_end_note): Remove.
5988         (init_stmt): Don't add a GC root for it.
5989         (expand_fixup): Don't set it.
5990         (remember_end_note): Remove.
5991         (expand_end_bindings): Don't set last_block_end_note.
5992
5993 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5994
5995         * reload1.c (reload_reg_free_for_value_p): Show
5996         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
5997         reloads.
5998
5999 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
6000
6001         * expmed.c (extract_bit_field): Allow for the case of non-integer
6002         objects that are smaller than a word (like SFmode on a 64-bit
6003         machine).
6004
6005         * loop.c (basic_induction_var): A non-integer variable which is
6006         being set by a paradoxical subreg is probably not a biv.
6007
6008 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6009
6010         * prefix.c (translate_name) Check for empty prefix string.
6011
6012 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
6013
6014         * Makefile.in (CPP_CROSS_NAME): New variable.
6015         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
6016         xcpp.
6017         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
6018         names of the files to be uninstalled.
6019
6020 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
6021
6022         * collect2.c (IS_DIR_SEPARATOR): Define.
6023         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
6024
6025         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
6026         functions too.
6027
6028         * haifa-sched.c (add_dependence): Update the true dependency
6029         cache the first time we add a true dependence to the LOG_LINKS chain.
6030
6031 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
6032
6033         * fold-const.c (fold): Fix comment.
6034
6035 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6036
6037         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
6038         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
6039         dbxout_start_new_source_file, dbxout_source_file,
6040         dbxout_source_line, dbxout_finish, dbxout_type_fields,
6041         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
6042         Constify a char*.
6043         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
6044         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
6045         (dbxout_block): Initialize variable `blocknum'. 
6046
6047         * dbxout.h (dbxout_init, dbxout_finish,
6048         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
6049         dbxout_args, dbxout_source_line): Constify a char*.
6050
6051         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
6052         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
6053         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
6054         low_pc_attribute, high_pc_attribute, body_begin_attribute,
6055         body_end_attribute, comp_dir_attribute, sf_names_attribute,
6056         src_info_attribute, mac_info_attribute, producer_attribute,
6057         lookup_filename, generate_macinfo_entry, fundamental_type_code,
6058         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
6059         dwarfout_undef): Constify a char*.
6060         (add_incomplete_type, retry_incomplete_types): Add prototypes.
6061
6062         * dwarfout.h (dwarfout_define, dwarfout_undef,
6063         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
6064
6065 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
6066
6067         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
6068         (MULTILIB_ISA_DEFAULT): New.
6069         (MULTILIB_DEFAULTS): Use it.
6070         * config/mips/mips.c (): Remove the now unnecessary definition
6071         of MIPS_ISA_DEFAULT.
6072         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
6073         unnecessary definition.
6074
6075 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
6076
6077         * arm.md (pic_load_addr): Add constraints to operand 1.
6078
6079 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
6080
6081         * fixinc/genfixes:  Provide a means for specifying -D options to
6082         AutoGen
6083
6084 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
6085
6086         * arm.c (arm_override_options): Correct initialization of
6087         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
6088         arm_is_strong, and arm_is_6_or_7.
6089
6090         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
6091         (note_set_pseudo_multiple_uses): New function.
6092         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
6093         if a pseudo set in the loop exit is used elsewhere.
6094
6095 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
6096
6097         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
6098
6099 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
6100
6101         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
6102         a single load-address pattern.
6103
6104 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
6105
6106         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
6107         depending on whether or not line-number notes are present.
6108
6109 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6110
6111         * cccp.c (progname, file_buf, default_include, include_file,
6112         macrodef, definition, hashval, wchar_type, user_label_prefix,
6113         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
6114         expand_to_temp_buffer, is_system_include, base_name,
6115         absolute_filename, read_name_map, open_include_file,
6116         record_control_macro, check_precompiled, check_preconditions,
6117         pcfinclude, pass_thru_directive, create_definition,
6118         check_macro_name, comp_def_part, collect_expansion,
6119         check_assertion, read_token_list, assertion_install,
6120         assertion_lookup, eval_if_expression, conditional_skip,
6121         validate_else, skip_quoted_string, quote_string, macarg1,
6122         error_from_errno, install, lookup, hashf, dump_defn_1,
6123         perror_with_name, pfatal_with_name, main, trigraph_pcp,
6124         check_white_space, rescan, handle_directive, monthnames,
6125         special_symbol, do_include, remap_include_file, write_output,
6126         arglist, do_assert, do_unassert, do_line, do_error, do_once,
6127         do_ident, do_sccs, do_xifdef, skip_if_group,
6128         output_line_directive, macroexpand, macarg, change_newlines,
6129         initialize_builtins, make_definition): Constify a char*.
6130
6131         * pcp.h (stringdef): Likewise.
6132
6133 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
6134
6135         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
6136         not of pattern.
6137
6138 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
6139                           Richard Henderson  <rth@cygnus.com>
6140
6141         * alias.c: Include ggc.h.
6142         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
6143         (record_set): Verify enough room in reg_base_value.
6144         (init_alias_analysis): Allocate reg_base_value with xcalloc.
6145         Register it as a GC root.
6146         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
6147         * Makefile.in (alias.o): Depend on ggc.h.
6148
6149         * unroll.c (unroll_loop): Verify the insn before a barrier
6150         is a JUMP_INSN before checking JUMP_LABEL.
6151
6152 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6153
6154         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
6155         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
6156         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
6157         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
6158         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
6159         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
6160
6161 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6162
6163         * output.h (ctors_section, dtors_section, bss_section): Prototype.
6164
6165         * alpha/alpha-interix.h (text_section): Delete prototype.
6166         * alpha/elf.h (text_section): Likewise.
6167         * arm/linux-elf.h (text_section): Likewise.
6168         * arm/linux-telf.h (text_section): Likewise.
6169         * c4x/c4x.h (text_section): Likewise.
6170         * dsp16xx/dsp16xx.h (bss_section): Likewise.
6171         * elfos.h (text_section): Likewise.
6172         * i386/aix386ng.h (text_section): Likewise.
6173         * i386/i386-interix.h (text_section): Likewise.
6174         * i386/sco5.h (text_section): Likewise.
6175         * i386/svr3gas.h (text_section): Likewise.
6176         * nextstep.h (text_section): Likewise.
6177         * psos.h (text_section): Likewise.
6178         * ptx4.h (text_section): Likewise.
6179         * svr3.h (text_section): Likewise.
6180         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
6181
6182 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6183
6184         * final.c (peephole): Delete prototype.
6185
6186         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
6187         (pre_insert_copies): Remove unused variable `bb'.
6188
6189         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
6190         prototypes.
6191
6192         * output.h (peephole): Add prototype.
6193
6194 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
6195
6196         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
6197         -O0.
6198
6199 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
6200
6201         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
6202         for inlined declarations.
6203
6204 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
6205
6206         * arm.c (logical_binary_operator): New fucntion.
6207         * arm.h (logical_binary_operator): Declare it.
6208         (PREDICATE_CODES): Handle logical_binary_operator.
6209         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
6210         output constraints.  Add appropriate splitters.
6211         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
6212         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
6213         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
6214
6215 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6216
6217         * genoutput.c (struct operand_data): New elt eliminable.
6218         (output_operand_data): Write it.
6219         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
6220         (compare_operands): Take it into account.
6221         * recog.h (struct insn_operand_data): New elt eliminable.
6222         * reload1.c (check_eliminable_occurrences, elimination_effects): New
6223         functions.
6224         (old_asm_operands_vec, new_asm_operands_vec): Delete.
6225         (eliminate_regs): Move code that detects changes to elimination
6226         target regs into new function elimination_effects.
6227         Delete one #if 0 block.
6228         Abort for USE, CLOBBER, ASM_OPERANDS and SET. 
6229         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
6230         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
6231         Only call eliminate_regs for real operands of the insn, not for parts
6232         of its structure or parts matched by things like match_operator.
6233         Use elimination_effects and check_eliminable_occurrences.  Use
6234         copy_insn to duplicate the pattern when not in the final pass.
6235
6236 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
6237
6238         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
6239         and fld.
6240
6241 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
6242
6243         * fixinc/README: document the "mach" machine matching test
6244         * fixinc/fixfixes.c: Implement the #else/#endif label fix
6245         * fixinc/fixtests.c: Implement the #else/#endif label test
6246         * fixinc/inclhack.def: utilize these tests and fixes
6247         * fixinc/inclhack.sh:  regen
6248         * fixinc/fixincl.x:  regen
6249         * fixinc/fixincl.sh:  regen
6250
6251 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
6252
6253         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
6254         depend on ggc.h.
6255
6256 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
6257
6258         * gcc.1: Document exit codes.
6259
6260 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6261
6262         * calls.c: Include tm_p.h later, so everything we need is defined.
6263         * expr.c: Likewise.
6264         * function.c: Likewise.
6265
6266         * except.c: Include tm_p.h.
6267
6268         * sparc.c: Likewise.
6269         (dwarf2out_cfi_label): Don't prototype.
6270         (check_return_regs, epilogue_renumber,
6271         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
6272         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
6273         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
6274         ultra_schedule_insn): Add static prototype.
6275         (data_segment_operand, text_segment_operand): Call itself with the
6276         proper number of arguments.
6277         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
6278
6279         * sparc.h: Move all declarations to sparc-protos.h.
6280         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
6281         symbolic_operand.
6282
6283         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
6284
6285         * config/svr4.h (text_section, ctors_section, dtors_section): Add
6286         Prototypes.
6287         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
6288         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6289         ASM_OUTPUT_ASCII): Constify a char*.
6290         
6291         * sparc-protos.h: New file for sparc prototypes.
6292         
6293 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6294
6295         * function.c (record_insns, contains): Always declare and define.
6296         (record_insns): Mark with ATTRIBUTE_UNUSED.
6297
6298 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
6299
6300         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
6301         to .section when outputting a .bss section to deal with multiple
6302         .bss input sections (as happens with -fdata-sections)
6303         Also output %progbits, not @progbits so the assembler doesn't treat as
6304         a comment.
6305         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
6306
6307         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
6308         thumb parts even when building with non-thumb CPUs, by forcing
6309         thumb mode.     
6310
6311 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
6312
6313         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
6314         (movdf_const_intreg_sp64): Similarly.
6315
6316         * local-alloc.c (update_equiv_regs): Check the correct insn
6317         for pre-existing REG_EQUIV notes.
6318
6319 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
6320
6321         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
6322         block reached by a branch if we're not going to actually process
6323         this block.
6324
6325 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
6326
6327         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
6328         a local extern function declaration.
6329
6330 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
6331
6332         * i386.c (ix86_expand_prologue): Properly wrap USE around
6333         reg for CALL_INSN_FUNCTION_USAGE.
6334
6335 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
6336
6337         * config/mips/mips.md (movdf_internal1a): Allow floating-point
6338         move between GP_REGs.
6339
6340 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
6341
6342         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
6343         the mode size when finding out if an offset is legal.
6344
6345 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
6346
6347         * basic-block.h (PROP_*): Move constants from ...
6348         * flow.c: ... here.
6349         (compute_bb_for_insn): Free the array before reallocating.
6350         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
6351         (allocate_reg_life_data): Reset all reg variables collected by
6352         propagate_block.
6353         (get_block_head_tail): Don't convert from bb to block.
6354         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
6355         (find_insn_reg_weight): Take block not bb.
6356         (schedule_block): Don't set block num for moved insns.
6357         (schedule_region): Don't update_life_info or find_insn_reg_weight.
6358         (schedule_insns): Do it here instead.
6359         * combine.c (combine_instructions): Invoke compute_bb_for_insn
6360         before update_life_info.
6361         * recog.c (split_all_insns, peephole2_optimize): Update for
6362         new arg to update_life_info.
6363         * rtlanal.c (remove_note): Cope with NULL note.
6364         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
6365         if we did sched1.
6366
6367 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
6368
6369         * jump.c (jump_optimize_1): More accurately detect casesi insns.
6370
6371         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
6372         block records so that merge_blocks_nomove will clean up correctly.
6373         (split_edge): Handle casesi insns.
6374
6375         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
6376
6377 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
6378
6379         * pa.md (call, call_value): Do not emit a blockage after restoring
6380         the PIC register.
6381
6382 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
6383
6384         * c-typeck.c (c_expand_asm_operands): Fix typo.
6385
6386 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6387
6388         * arm.c (fpu_rhs_operand): Verify modes.
6389         (fpu_add_operand): Likewise.
6390         (di_operand): Likewise.
6391         (soft_df_operand): Likewise.
6392
6393 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
6394
6395         * arm.c (arm_return_in_memory): APCS rules state that the elements
6396         of a structure returned in a register must be 'integer-like'.
6397
6398 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
6399
6400         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
6401         in the source tree when the generated targets are out of date
6402         * fixinc/genfixes: Alter it to run individual fixes for make.
6403         * fixinc/README: rewrite
6404         * fixinc/inclhack.def: moved initial comments to README
6405
6406 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
6407
6408         * toplev.c (main): Do not generate an error message if an
6409         unrecognised command line switch is recognisable by another
6410         language.  If extra_warnings are enabled, then generate a
6411         warning message instead.
6412
6413 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6414
6415         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
6416         (insert_pack_attributes): Delete prototype.
6417
6418         * c-pragma.c (default_alignment): New static variable.
6419         (push_alignment): Initialize to current effective alignment.
6420         (pop_alignment): Use to set new alignment.
6421         (insert_pack_attributes): Delete function.
6422         (handle_pragma_token): Set default_alignment as well each time 
6423         a #pragma pack(<n>) is encountered.
6424
6425 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
6426
6427         * reg-stack.c (stack_result): Aggregates are not returned in
6428         stack registers.
6429
6430 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
6431
6432         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
6433
6434 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
6435
6436         * basic-block.h (set_block_num): Declare.
6437         * flow.c (update_life_info): Don't call compute_bb_for_insn
6438         or free_basic_block_vars.
6439         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
6440         (insn_orig_block): Remove.
6441         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
6442         (schedule_block): Keep BLOCK_NUM up-to-date.
6443         (schedule_insns): Use compute_bb_for_insn.
6444         * recog.c (split_all_insns): Likewise.
6445         (peephole2_optimize): Likewise.
6446
6447 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
6448
6449         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
6450         if the pic register is used.
6451
6452 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6453
6454         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
6455         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
6456         if that tests TREE_PERMANENT.
6457
6458 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
6459
6460         * cse.c (invalidate_for_call): Do not remove memory references from
6461         the table here.  It's handled elsewhere.
6462
6463         * haifa-sched.c (add_dependence): Protect references to the
6464         true dependency cache with #ifdef INSN_SCHEDULING.
6465         (remove_dependence): Similarly.
6466
6467         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
6468         to the cfg code that this is a return instruction.
6469         * mn10300.md (return_internal): Similarly.
6470
6471         * combine.c (get_last_value): If the last set of a register
6472         is after subst_low_cuid, then we can not use it to determine
6473         the register's last value.
6474
6475 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
6476
6477         * Makefile.in: Back out previous change.
6478         
6479 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
6480
6481         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
6482
6483         * haifa-sched.c (add_dependence): Only check/update the cache
6484         if it exists.
6485         (remove_dependence): Likewise.
6486         (schedule_insns): Only create the true_dependency_cache if the
6487         average number of instructions in a basic block is very large.
6488
6489 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
6490
6491         * Makefile.in (ggc-common.o): Depend on genrtl.h.
6492         (ggc-simple.o): Likewise.
6493         (ggc-page.o): Likewise.
6494
6495 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
6496
6497         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
6498         Prototype for exported functions.
6499         (pre_lcm, pre_rev_lcm): Remove prototypes.
6500         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
6501         (compute_available): Move to lcm.c, and change parameter order.
6502         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
6503         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
6504         (gcse_main): No longer call compute_preds_succs.  Rebuild the
6505         set table after reach pre pass.
6506         (pre_insert_map, pre_delete_map, edge_list): New.
6507         (alloc_pre_mem): Allocate edge vectors.
6508         (free_pre_mem): Delete edge vectors.
6509         (compute_pre_data): Call new edge based lcm routines.
6510         (process_insert_insn): New function.
6511         (insert_insn_end_bb): Use it.
6512         (pre_edge_insert): New function.
6513         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
6514         needed.
6515         (pre_insert_copies): Revamp using new edge based lcm outputs.
6516         (pre_delete): Likewise.
6517         (one_pre_gcse_pass): Insert & remove fake edges to the exit
6518         block.
6519         (compute_code_hoist_vbeinout): New new edge based routines.
6520         * lcm.c: Remove all the old LCM functions.  Replace with new ones
6521         that work with the new cfg datastructures and work with edges
6522         instead of blocks.
6523
6524 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6525
6526         * reload.h (struct reload): Add new fields "mode" and "nregs".
6527         * reload1.c: Change all occurrences of reload_mode and reload_nregs
6528         to reference the "mode" and "nregs" field within struct reload.
6529
6530 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
6531
6532         * haifa-sched.c (true_dependency_cache): New.
6533         (add_dependence): Use the true dependency cache to avoid expensive
6534         walks down the LOG_LINKS dependency list.  Add entries to the
6535         cache as necessary.
6536         (remove_dependence): Remove entries from the true dependency cache
6537         as needed.
6538         (schedule_insns): Allocate and initialize and free the true
6539         dependency cache.
6540
6541         * haifa-sched.c (schedule_insns): Do not remove inter-block
6542         dependencies anymore.
6543
6544 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
6545
6546         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
6547         * i386/t-winnt: Likewise.
6548
6549 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
6550
6551         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
6552
6553 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
6554
6555         * Makefile.in (LANGUAGES): Omit "proto".
6556         (clean): Remove stale comment about removing unprotoize.c.
6557
6558 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6559
6560         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
6561         using arithmetic on void pointers.
6562
6563 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
6564
6565         * haifa-sched.c (compute_block_forward_dependencies): Only check
6566         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
6567
6568 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
6569
6570         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
6571         (expr_equiv_p): Reject memories with different alias sets.
6572
6573 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
6574
6575         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
6576         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
6577         (f_options): Add "bounded-pointers" and "bounds-check" entries.
6578         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
6579         (lang_init): Set default for flag_bounds_check if still "unspecified".
6580
6581 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6582
6583         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
6584
6585 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6586
6587         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
6588         instructions.
6589
6590 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6591
6592         * config/c4x/c4x.md (*db_noclobber, 
6593         *decrement_and_branch_until_zero_noclobber): New patterns and 
6594         associated splitters.
6595
6596 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6597
6598         * config/c4x/c4x.md (parallel instruction patterns): Rework
6599         constraints to keep reload happy.
6600
6601 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6602
6603         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
6604         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
6605         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
6606         Add new patterns and associated post-reload splitters.
6607
6608 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6609
6610         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
6611
6612 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6613
6614         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
6615         if appropriate.
6616         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
6617
6618 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6619
6620         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
6621         memory mode.
6622
6623 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
6624
6625         * pa.c (move_operand): Rely on memory_address_p to determine the
6626         validity of non-indexed memory addresses.
6627         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
6628         operand in DFmode and SFmode when generating PA2.0 code.
6629
6630 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
6631
6632         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
6633
6634 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
6635
6636         * mips.c (function_prologue): Fix argument types.
6637         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
6638         (casesi_internal): Write to the scratch register.
6639
6640 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
6641
6642         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
6643         to U_CHAR **.
6644         (parse_charconst): Delete unnecessary cast when calling
6645         cpp_parse_escape.
6646         (cpplib.h): Kill prototype of cpp_parse_escape.
6647
6648 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
6649
6650         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
6651         * unroll.c (unroll_loop): Cast return value of alloca.
6652         * i370/i370.c: Include function.h and toplev.h.
6653         (i370_label_scan): Remove c++ commented abort.
6654         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
6655         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
6656         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
6657         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
6658
6659 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
6660
6661         * config/t-freebsd: Do not override USER_H.
6662         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
6663
6664 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
6665                           Mumit Khan  <khan@xraylith.wisc.edu>
6666
6667         * c-parse.in (component_decl): Support anonymous struct/union.
6668         (%expect): Update.
6669         * c-parse.y: Regenerate.
6670         * c-parse.c: Likewise.
6671         * objc/objc-parse.y: Likewise.
6672         * objc/objc-parse.c: Likewise.
6673         * c-decl.c (finish_struct): Don't sort the fields.
6674         (field_decl_cmp): Delete unused function.
6675
6676 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
6677
6678         * sparc.md (movsf_const_intreg): Revert last constraint change.
6679         (movdf_const_intreg_sp32): Likewise.
6680
6681 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
6682
6683         * cse.c: Include hashtab.h instead of splay-tree.h
6684         (struct cse_reg_info): No longer use variant union.  Add new
6685         field "regno".  All references changed to avoid union.
6686         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
6687         (free_cse_reg_info): Remove.
6688         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
6689         (get_cse_reg_info): Revamp to use expandable hash tables instead
6690         of splay trees.  Initialize new fields in cse_reg_info structure.
6691         (new_basic_block): Similarly.
6692
6693 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
6694
6695         * genrecog.c (message_with_line): Prototype.
6696         (validate_pattern): Pass along the set for the dest, not a flag.
6697         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
6698         Check for PC/CC0 as sources.
6699         (nodes_identical): Check for children position match before 
6700         allowing the combination.
6701
6702         * rtl.c (read_rtx): Track line number across \\\n.
6703
6704 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
6705
6706         * mips.h (SPECIAL_MODE_PREDICATES): New.
6707         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
6708         (movdi+1, movsi+1): Add output reload constraint.
6709         (casesi_internal): Likewise.  Fix commentary.
6710         (return_internal): Use pmode_register_operand.
6711
6712 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
6713
6714         * 1750a.md (movstrqi): Add missing output reload constraint.
6715         (call_value): Likewise.
6716         * a29k.md (cpxxx patterns): Add missing match_operator mode.
6717         (jmpfdec): Add missing inout reload constraint.
6718         * elxsi.md (addsi patterns): Add missing output reload constraint.
6719         (move from sp): Use @ alternates.
6720         (call_value): No constraint on output.
6721         * fr30.md (movsi_pop): Add missing output reload constraint.
6722         (movsf_constant_store): Likewise.
6723         (splits): Remove constraints.
6724         (subsi3): Add missing mode.
6725         * i370.md (cmpstrsi+1): Add missing output reload constraint.
6726         (call_value): Likewise.
6727         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
6728         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
6729         * m32r.md (movsicc_internal): Add output reload constraint.
6730         (movstrsi_internal): Add inout reload constraints.
6731         * m88k.h (reg_names): Don't declare.
6732         (SPECIAL_MODE_PREDICATES): New.
6733         * m88k.md (*): Use register_operand not reg_or_0_operand
6734         on destinations.
6735         * mn10200.h (PREDICATE_CODES): New.
6736         * ns32k.md (ffs pattern): Add output reload constraint.
6737         * pdp11.md (sob pattern): Add inout reload constraint.
6738         * sh.md (splits): Remove constraints.
6739         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
6740         * v850.md (pattern_is_ok_for_epilogue): Likewise.
6741         * vax.md (jgequ pattern): Add inout reload constraint.
6742
6743 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
6744
6745         * configure.in (djgpp): Revert previous patch.
6746         * configure: Rebuit.
6747         * config/i386/djgpp.h: Revert previous patch.
6748
6749 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
6750
6751         * fixinc/inclhack.def: Restore patch lost during last merge of
6752         "no_bogosity" branch.
6753         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
6754
6755 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
6756
6757         * fixincludes: Add a HPUX 11 fix for inttypes.h.
6758         * fixinc/inclhack.def: Same.
6759         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
6760
6761 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
6762
6763         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
6764         as the base of a PLUS.
6765
6766 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6767
6768         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
6769         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
6770         
6771 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
6772
6773         * pa.md (post_stw+1): Use pmode_register_operand.
6774         (dcacheflush, icacheflush): Likewise.
6775
6776         * i386.md (movstricthi_1): Allow r/r.
6777
6778 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
6779
6780         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
6781         to (not (and (arg0) (arg1))). Similary for and.
6782
6783         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
6784         fallthrough to associate code.
6785         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
6786         bits in common.
6787
6788         * combine.c (simplify_logical): Convert XOR to IOR if operands have
6789         no bits in common; remove XOR to ROTATE conversion.
6790
6791 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6792
6793         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
6794
6795 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6796
6797         * config/c4x/c4x.c (dst_operand): New.
6798         (PREDICATE_CODES): Update.
6799         * config/c4x/c4x.h (dst_operand): Declare it.
6800         * config/c4x/c4x.md:  Define mode for each unspec usage.
6801         (move patterns):  Use dst_operand predicate instead of src_operand.
6802         (movqi_update, movqf_update): Delete.
6803
6804 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
6805
6806         * recog.c (pmode_register_operand): New.
6807         * recog.h: Declare it.
6808         * genrecog.c (pred_codes): Likewise.
6809         (special_mode_pred_table): Likewise.
6810         (validate_pattern): Don't warn no mode for address_operand.
6811
6812         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
6813         if the operand is not insn-like.
6814
6815 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
6816                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
6817
6818         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
6819
6820 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
6821
6822         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
6823         instead of general_operand in a SET_DEST.  Use const_double_operand
6824         instead of an explicit test against CONST_DOUBLE.
6825         (movsf_const_lo): Add missing register mode.
6826         (goto_handler_and_restore): Add auxiliary test for Pmode.
6827         (flush): Adjust to use address_operand.
6828         (return_sf_no_fpu): Add missing output constraint.
6829
6830 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
6831
6832         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
6833         for call return value.
6834         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
6835
6836 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
6837
6838         * toplev.c (main): Only warn about options for other languages.
6839         * collect2.c (main): Pass -w to sub-gcc.
6840
6841 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
6842
6843         * flow.c (propagate_block): Add call-clobbered registers to
6844         significant too.
6845
6846         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
6847         zapping mem_set_list.
6848         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
6849         (mark_set_1, mark_used_regs): Likewise.
6850
6851 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
6852
6853         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
6854
6855 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6856
6857         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
6858         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
6859         options. Also add a new item "C-only Warning Options" to the
6860         option summary.
6861
6862 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
6863
6864         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
6865         from multiple calls.
6866
6867 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
6868
6869         * i386.md (call value patterns): Move to the end of the file.
6870         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
6871
6872 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
6873
6874         * configure.in (djgpp configuration): Define extra_objects..
6875         * configure: Rebuilt.
6876         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
6877         (DTORS_SECTION_ASM_OP): Define.
6878         (INIT_SECTION_ASM_OP): Define.
6879         (FINI_SECTION_ASM_OP): Define.
6880         (DATA_SECTION_ASM_OP): Define.
6881         (TEXT_SECTION_ASM_OP): Define.
6882         (EH_FRAME_SECTION_ASM_OP): Define.
6883         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
6884         (STARTFILE_SPEC): Add crtbegin.o.
6885         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
6886         to here from LINK_COMMAND_SPEC.
6887         (DO_GLOBAL_CTORS_BODY): Define.
6888         (CRTSTUFF_USE_FINI_SECTION): Define
6889         (HAS_INIT_SECTION): Delete.
6890
6891 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
6892
6893         * Makefile.in (all.cross): Depend on xcpp$(exeext).
6894
6895 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
6896
6897         * pa.h (PREDICATE_CODES): New.
6898
6899         * genrecog.c (validate_pattern): Condense the destination
6900         non-lvalue message.
6901
6902 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
6903
6904         * alpha.md (call-1): Supply missing mode for operator.
6905         (*): Add missing output reload constraints.  Remove constraints
6906         from define_splits.
6907
6908         * i386.h (SPECIAL_MODE_PREDICATES): New.
6909         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
6910         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
6911         (addsi_lea_3): Add missing mode for op 3.
6912         (prologue_set_got, prologue_get_pc): Add missing modes.
6913         (*) Add missing output reload constraints.
6914
6915 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
6916
6917         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
6918         check for member bit-size overflow and use var_size if it occurs.
6919         (layout_record): Use bitsize_int() to define the type size in bits.
6920         Likewise for computation and assignment to DECL_FIELD_BITPOS.
6921         (layout_decl): Likewise when assigning to DECL_SIZE.
6922
6923 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
6924
6925         * genrecog.c (validate_pattern): Typo last change.  Verify
6926         that output operands have output reloads.
6927
6928 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
6929
6930         * genrecog.c (special_mode_pred_table): New.
6931         (NUM_SPECIAL_MODE_PREDS): New.
6932         (find_operand): New.
6933         (validate_pattern): New argument `insn'.  Warn for assignment to
6934         any predicate accepting non-lvalues.  Conditionaly warn for
6935         match_operand without a mode.  Try much harder to match source
6936         and destination modes on a set.
6937         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
6938
6939 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
6940
6941         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
6942
6943 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
6944
6945         * combine.c (simplify_logical): Recognize xor pattern that encodes
6946         rotation.
6947
6948 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6949
6950         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
6951         alignment.
6952
6953 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
6954
6955         * ggc-page.c (MAP_FAILED): Provide default.
6956
6957 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
6958
6959         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
6960         * sparc.h (PREDICATE_CODES): Update.
6961
6962 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
6963
6964         * alpha.c (some_ni_operand): New.
6965         * alpha-protos.h: Declare it.
6966         * alpha.h (PREDICATE_CODES): Update.
6967         * alpha.md (sXaddq reload insns): Use some_ni_operand 
6968         for SET_DEST instead of some_operand.
6969
6970 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
6971                           Jim Wilson  <wilson@cygnus.com>
6972
6973         * genrecog.c (maybe_both_true_2): Don't compare modes of
6974         two DT_pred tests.
6975         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
6976         after find_afterward.
6977         (debug_decision_1): Dump next and afterward codes.
6978
6979 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
6980
6981         * rtl.c (dump_and_abort): Remove.
6982         (fatal_with_file_and_line): New.
6983         (fatal_expected_char): New.
6984         (read_rtx_lineno, read_rtx_filename): New.
6985         (read_skip_spaces): Track line number.
6986         (read_name): Use fatal_with_file_and_line.
6987         (read_rtx): Use fatal_expected_char.  Track line number.
6988         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
6989
6990         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
6991         if it isn't a CODE_LABEL.
6992
6993         * genattr.c (main): Set read_rtx_filename.
6994         * genattrtab.c (main): Likewise.
6995         * gencodes.c (main): Likewise.
6996         * genconfig.c (main): Likewise.
6997         * genemit.c (main): Likewise.
6998         * genextract.c (main): Likewise.
6999         * genflags.c (main): Likewise.
7000         * genopinit.c (main): Likewise.
7001         * genoutput.c (main): Likewise.
7002         * genpeep.c (main): Likewise.
7003
7004         * genrecog.c (decision_test.u.insn): Add `lineno'.
7005         (pattern_lineno, error_count): New variables.
7006         (message_with_line): New.
7007         (add_to_sequence): Break out checking code to ...
7008         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
7009         (merge_insn): Use message_with_line.
7010         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
7011         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
7012
7013 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7014
7015         * expr.c (store_constructor): Clear union if constructor is empty.
7016
7017 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
7018
7019         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
7020         Add !endian checks.  Change %{...} to %(...).
7021
7022 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
7023
7024         * i386.md (*addsi3_cc): Renamed from addcsi3.
7025         (*addsi3_carry): Renamed from addxsi3.
7026         (*subsi3_cc): Renamed from subcsi3.
7027         (*subsi3_carry): Renamed from subxsi3.
7028         (*xorqi_cc_1): Renamed from xorcqi_1.
7029         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
7030         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
7031
7032 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
7033
7034         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
7035         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
7036
7037 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
7038
7039         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
7040         climb up the chain of insns.
7041
7042 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
7043
7044         * genrecog.c (write_subroutine): Careful for null trees.
7045         (process_tree): Don't elide empty functions.
7046
7047 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
7048
7049         * Makefile.in (genrtl.o): Depend on ggc.h.
7050         * configure.in (valloc): Probe for it.
7051         (with-gc): Use ggc-page if valloc present.
7052         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
7053         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
7054         (ggc_alloc_string): Moved from ggc-page.c.
7055         * ggc-none.c (ggc_alloc_obj): New.
7056         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
7057         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
7058         (struct globals): Likewise for dev_zero_fd.
7059         (init_ggc): Likewise for it's initialization.
7060         (ggc_allocated_p): Move careful dereference from ...
7061         (ggc_lookup_page_table): ... here.  Delete.
7062         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
7063         (alloc_anon): Use valloc if no mmap.
7064         (release_pages): Use free if using valloc.
7065         (ggc_alloc_obj): Renamed from alloc_obj.
7066         (ggc_set_mark): Renamed from mark_obj.
7067         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
7068         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
7069         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
7070         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete. 
7071         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
7072         (ggc_collect): Use fp printing instead of our own rounding.
7073         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
7074         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
7075         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
7076         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
7077         (struct ggc_string, struct ggc_any): Delete.
7078         (offsetof): Provide default definition.
7079         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
7080         (PTR_KEY): New.
7081         (struct ggc_mem): New, from corpse of ggc_any.
7082         (struct ggc_status): Delete.
7083         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
7084         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
7085         (n_strings_collected, n_anys_collected): Delete.
7086         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
7087         (ggc_alloc_string, ggc_alloc): Delete.
7088         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
7089         (ggc_free_string, ggc_free_any): Delete.
7090         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
7091         (ggc_compare_addresses, ggc_mark_string): Delete.
7092         (ggc_mark_string_if_gcable, ggc_mark): Delete.
7093         (search_data): Delete.
7094         (struct globals): New.
7095         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.   
7096         (tree_insert, tree_lookup): New.
7097         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
7098         (clear_marks, sweep_objs): New.
7099         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
7100         (init_ggc): Set allocated_last_gc.
7101         (ggc_push_context): Gut.  Use G.context.
7102         (ggc_pop_context): Likewise.
7103         (ggc_pop_context_1): New.
7104         (debug_ggc_tree): New.
7105         (debug_ggc_balance, tally_leaves): New.
7106         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
7107         (ggc_mark_string_if_gcable): Remove decl.
7108         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
7109         (ggc_mark_rtvec_children): New.
7110         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
7111         (ggc_mark_if_gcable): New decl.
7112         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
7113         (ggc_alloc_tree, ggc_alloc): Likewise.
7114         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
7115         (ggc_alloc_obj): New decl.
7116         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
7117         (ggc_alloc_tree, ggc_alloc): Likewise.
7118         (ggc_set_mark): New decl.
7119         * rtl.h (struct rtx_def): Remove gc_mark.
7120         (struct rtvec_def): Likewise.
7121         * tree.h (struct tree_common): Likewise.
7122
7123 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
7124
7125         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
7126         float_format and thread_file definitions.
7127         * configure: Rebuilt.
7128
7129 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
7130
7131         * extend.texi (Function Names): Document types of function names.
7132
7133 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7134
7135         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
7136         an earlyclobbered output conflict with RELOAD_INPUT reloads.
7137
7138 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7139
7140         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
7141
7142 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7143
7144         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
7145
7146 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
7147
7148         * collect2.c (main): Do prelimnary link on AIX if rflag.
7149
7150 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7151
7152         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
7153         __CTOR_LIST__ in opposite order, which is the correct order for sorted
7154         constructors.
7155         (__do_global_dtors): similarly for __DTOR_LIST__.
7156
7157 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7158                                 Diego Novillo <dnovillo@cygnus.com>
7159
7160         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
7161         FPUL_REGS.
7162
7163 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
7164
7165         * fixincl/*: Merged "no_bogosity" branch
7166         * fixincl/fixlib.h: protect against doubly defining t_bool
7167         * fixincl/server.h: protect against doubly defining t_bool
7168
7169 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
7170
7171         * genoutput.c: Include toplev.h.
7172
7173 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
7174
7175         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7176         Undef.
7177         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
7178         * configure: Regenerate.
7179
7180 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
7181
7182         * gcse.c (delete_null_pointer_checks): Returns void.
7183
7184 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7185
7186         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
7187         * emit-rtl.c (copy_insn_1): Likewise.
7188
7189 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
7190
7191         * config/mips/mips.c (mips_build_va_list): Correct
7192         TREE_CHAIN setting when hard-float.
7193         (mips_va_start): Use corrected setting.
7194         (mips_va_arg): Likewise.  Also pass a tree to build of
7195         POSTINCREMENT_EXPR rather than a naked 'int'.
7196
7197 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
7198
7199         * ggc.h (ggc_push_context): Fix comment.
7200         (ggc_pop_context): Likewise.
7201         (mark_string_if_gcable): Likewise.
7202         * ggc-common.c (ggc_mark_rtx_children): Use
7203         ggc_mark_string_if_gcable.
7204         * ggc-page.c (ggc_lookup_page_table): New function.
7205         (ggc_allocated_p): Likewise.
7206         (mark_obj): Fix formatting.
7207         (ggc_mark_string_if_gcable): New function.
7208         * ggc-simple.c (ggc_allocated_strings): New variable.
7209         (ggc_strings_used): Likewise.
7210         (ggc_compare_addresses): New function.
7211         (ggc_pop_context): Pop the `any' memory too.
7212         (ggc_mark_string_if_gcable): New function.
7213         (ggc_collect): Initialize and tear down ggc_allocated_strings.
7214         
7215 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
7216
7217         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
7218         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
7219         * rs6000.c (expand_block_move): Match movstrsi_?reg register
7220         changes.
7221
7222 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
7223
7224         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
7225         (sched_reg_live_length, sched_reg_basic_block): Delete.
7226         (current_block_num, bb_live_regs, old_live_regs): Delete.
7227         (dead_notes, struct sometimes): Delete.
7228         (sched_note_set, birthing_insn_p): Delete.
7229         (adjust_priority): Gut useless reg lifetime code.
7230         (create_reg_dead_note, attach_deaths): Delete.
7231         (attach_deaths_insn, new_sometimes_live): Delete.
7232         (finish_sometimes_live): Delete.
7233         (find_pre_sched_live, find_post_sched_live): Delete.
7234         (update_reg_usage): Delete.
7235         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
7236         (schedule_insns): Delete reg lifetime code.
7237         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
7238         (unlink_other_notes): Adjust REG_NOTE commentary.
7239         (reemit_notes): Use REG_SAVE_NOTE.
7240         (schedule_block): Likewise.
7241         (schedule_region): Allocate bitmap of blocks in region.  Use
7242         count_or_remove_death_notes.  Use update_life_info.
7243
7244         * rtl.h (REG_SAVE_NOTE): New.
7245         * rtl.c (reg_note_name): Update.
7246         
7247 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
7248
7249         * combine.c (refresh_blocks, need_refresh): New.
7250         (combine_instructions): Allocate refresh_blocks.  Invoke
7251         update_life_info if needed.
7252         (distribute_notes): Mark refresh_blocks instead of installing
7253         USE insns.
7254         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
7255         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
7256
7257         * Makefile.in (recog.o): Depend on basic-block.h.
7258
7259 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
7260
7261         * genrecog.c (add_to_sequence): Thinko last change: delete
7262         shadowing allow_const_int variable.
7263
7264 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7265
7266         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
7267         __GNUC__ and __GNUC_MINOR__.
7268
7269         * gansidecl.h: Likewise.
7270
7271         * rtl.c: Likewise.
7272         
7273         * rtl.h: Likewise.
7274
7275         * toplev.h: Likewise.
7276
7277         * tree.c: Likewise.
7278
7279         * tree.h: Likewise.
7280
7281         * varray.c: Likewise.
7282
7283         * varray.h: Likewise.
7284
7285 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7286
7287         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
7288         use one before a jump table.
7289
7290         * rtl.def (ADDRESS): Change documentation to match reality.
7291         * md.texi: Don't document it.
7292         * gmicro.md (load address pattern): Use 'p' constraint, delete use
7293         of ADDRESS rtx.
7294
7295         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
7296
7297 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
7298
7299         * genrecog.c (add_to_sequence): Move allow_const_int test outside
7300         known predicate block; default allow_const_int true.
7301         (debug_decision_list): New.
7302
7303 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
7304
7305         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
7306
7307 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
7308
7309         * gcse.c (gcse_main): Avoid global optimizations if we have a
7310         large number of basic blocks and the ratio of edges to blocks
7311         is high.
7312         (delete_null_pointer_checks): Likewise.
7313
7314 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
7315
7316         * c-common.c (check_format_info): Warn if format string isn't a
7317         string literal.
7318
7319 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7320
7321         * configure.in (arm*-*-*): Don't let autoconf remove brackets
7322         * configure: regenerate
7323
7324 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
7325
7326         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
7327         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
7328         (peepholes): Re-enable.
7329
7330 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
7331
7332         * Makefile.in (flow.o): Depend on TREE_H.
7333         * basic-block.h (REG_SET_EQUAL_P): New.
7334         (XOR_REG_SET): New.
7335         (n_edges): Declare.
7336         (free_regset_vector): Remove declaration.
7337         (flow_delete_insn_chain): Declare.
7338         (enum update_life_extent): New.
7339         (update_life_info, count_or_remove_death_notes): Declare.
7340         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
7341         Verify register live at bb->global_live_at_start before adding USE.
7342         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
7343         (CLEAN_ALLOCA): New.
7344         (n_edges): New. 
7345         (PROP_*): New flags.
7346         (find_basic_blocks_1): Use alloc_EXPR_LIST.
7347         (clear_edges): Zero n_edges.
7348         (make_edge): Increment n_edges.
7349         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
7350         (flow_delete_insn_chain): Export.
7351         (delete_block): Decrement n_edges.
7352         (merge_blocks_nomove): Likewise.
7353         (life_analysis): Give life_analysis_1 PROP flags.
7354         (verify_wide_reg_1, verify_wide_reg): New.
7355         (verify_local_live_at_start): New.
7356         (update_life_info): Rewrite to call into propogate_block.
7357         (mark_reg): New.
7358         (mark_regs_live_at_end): After reload, if epilogue as rtl, 
7359         always mark stack pointer.  Conditionally mark PIC register.
7360         After reload, mark call-saved registers, return regsiters.
7361         (life_analysis_1): Accept PROP flags not remove_dead_code.
7362         Call mark_regs_live_at_end before zeroing regs_ever_live.
7363         Use calculate_global_regs_live.  Copy global_live_at_end before
7364         calling final propagate_block.  Zero reg_next_use on exit.
7365         (calculate_global_regs_live): New.
7366         (allocate_bb_life_data): Don't allocate bb->local_set.
7367         (init_regset_vector, free_regset_vector): Remove.
7368         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
7369         Test flags before every operation.  Warn if prologue/epilogue insn
7370         would have been deleted.
7371         (mark_set_regs, mark_set_1): Accept and use FLAGS. 
7372         Use alloc_EXPR_LIST.
7373         (mark_used_regs): Accept and use FLAGS, not FINAL.
7374         Remove special handling for RETURN.
7375         (try_pre_increment): Use alloc_EXPR_LIST.
7376         (dump_flow_info): Dump n_edges.
7377         (unlink_insn_chain, split_hard_reg_notes): Remove.
7378         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
7379         (find_insn_with_note, new_insn_dead_notes): Remove.
7380         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
7381         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
7382         (replace_insns): Remove.
7383         (count_or_remove_death_notes): New.
7384         (verify_flow_info): Abort on error after all checks.
7385         (remove_edge): Decrement n_edges.
7386         (remove_fake_edges): Tweek format.
7387         * haifa-sched.c (schedule_insns): Use split_all_insns.
7388         * output.h (update_life_info): Remove declaration.
7389         * recog.c (split_all_insns): From the corpse of split_block_insns,
7390         do the whole function block by block.  Use update_life_info.
7391         (recog_last_allowed_insn): New.
7392         (recog_next_insn): Mind it.
7393         (peephole2_optimize): Set it.  Walk backwards through blocks.
7394         Use update_life_info.
7395         * rtl.h (update_flow_info, replace_insns): Remove declarations.
7396         (split_all_insns): Declare.
7397         * toplev.c (rest_of_compilation): Thread prologue before flow2.
7398         Use split_all_insns.
7399
7400         * i386.md (or -1 peep2s): Disable.
7401
7402 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
7403
7404         * config/mips/mips.md (movstrsi+[123]) : Combine these into
7405         a single pattern.  Scrap the 'd' versions as unnecessary. 
7406
7407         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
7408         tablejump_mips162,tablejump_internal4): The operands to a
7409         label_ref must be VOIDmode.
7410
7411 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7412
7413         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
7414
7415 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
7416
7417         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
7418
7419 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
7420
7421         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
7422         cache every function if ggc_p.
7423
7424 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7425
7426         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
7427         instead of copy_rtx.  Accept sequences that contain asm statements.
7428         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
7429         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
7430         orig_asm_operands_vector, copy_asm_operands_vector,
7431         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
7432         variables.
7433         * rtl.h (copy_insn, copy_insn_1): Declare.
7434
7435 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7436
7437         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
7438
7439         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
7440         arguments to `current_file_function_operand'.
7441
7442         * genrecog.c: Include hard-reg-set.h and resource.h in the
7443         generated output file.
7444
7445         * real.c: Include tm_p.h.
7446
7447 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7448
7449         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
7450         output operand.
7451
7452 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
7453
7454         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
7455         before the fctiwz insn.
7456
7457 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7458                           Mark Mitchell  <mark@codesourcery.com>
7459
7460         * tree.c (make_lang_type_fn): New funtion pointer.
7461         (make_lang_type): Call it.
7462         * tree.h (make_lang_type): Declare.
7463         (make_lang_type_fn): Likewise.
7464         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
7465
7466 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
7467
7468         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
7469         make sure that HIGH instructions are copied into BASE_REGS.
7470
7471 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
7472
7473         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
7474
7475 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
7476
7477         * c-decl.c (finish_struct): Use simpler method of
7478         removing elements of a singly-linked list.
7479
7480 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
7481
7482         * alpha.md (peephole2's): Comment out peephole2's that generate
7483         buggy code.
7484
7485 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
7486
7487         * genrecog.c (add_to_sequence): Disable mode check for
7488         wildcard matches.
7489
7490 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7491
7492         * ggc-simple.c (init_ggc): Set empty_string.
7493
7494 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
7495
7496         * configure.in: Detect mmap.  Add --with-gc=foo to select
7497         garbage collector; default to page if mmap available.
7498         * Makefile.in (GGC): Substitute.
7499
7500 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
7501
7502         * c-decl.c (ggc_p): Enable.
7503
7504 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7505
7506         * flow.c (verify_flow_info): Make it extern & unconditionally define.
7507
7508 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
7509
7510         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
7511         string for little-endian-data.
7512
7513 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
7514
7515         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
7516         case somebody tries to compile --enable-checking code with gcc
7517         1.34 or such.
7518
7519 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
7520
7521         * genrecog.c (add_to_sequence): Verify operand to label_ref is
7522         VOIDmode.
7523
7524 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
7525
7526         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
7527         * jump.c (jump_optimize_1): Document why.
7528
7529 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7530
7531         * collect2.c (scan_prog_file, scan_libraries): Prototype function
7532         pointers and casts for `int_handler' and `quit_handler'.
7533
7534         * flow.c (verify_flow_info, split_hard_reg_notes,
7535         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
7536         remove_edge, remove_fake_successors): Add static prototypes.
7537         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
7538         (mark_set_1): Initialize variable `regno'.
7539         (unlink_insn_chain): Likewise for variable `curr'.
7540         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
7541
7542         * loop.c (strength_reduce): Initialize variable
7543         `unrolled_insn_copies'.
7544         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
7545         prototypes.  Change these functions to take const PTR parameters
7546         to avoid prototype conflict when used as the comparson argument
7547         for qsort.
7548         (check_dbra_loop): Initialize variable `comparison_val'.
7549
7550         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
7551         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
7552         (find_valid_class): Initialize variable `best_class'.
7553         (find_reloads): Call memcpy, not bcopy.
7554
7555         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
7556         (hard_reg_use_compare): Don't needlessly cast away const.
7557         (reload_reg_class_lower): Likewise.
7558         (choose_reload_regs): Initialize variable `regno'.
7559
7560 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
7561
7562         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
7563
7564 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
7565
7566         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
7567         ({,d}discard): Add forward declarations.  Declare parameter as
7568         unused.
7569         (main_without_main): Explicitly declare return type to be int.
7570         (memcpy): Properly declare.
7571
7572         * libgcc2.c (toplevel): If inhibit_libc is defined and not
7573         building the trampoline support, declare malloc, free, and
7574         atexit.
7575         (__clear_cache): Mark arguments as potentially unused.
7576         
7577         * frame.c (toplevel): If inhibit_libc is defined, declare
7578         malloc and free.
7579
7580 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
7581
7582         * flow.c (make_edge): Accept an optional 2D bitmap in which
7583         to cache edge existence.  Update all callers.
7584         (make_label_edge, make_eh_edge): Pass through the edge cache.
7585         (make_edges): Provide the cache.
7586
7587 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7588
7589         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
7590         a char*.
7591         (local_mbtowc): Change the type of variable `i' from int to size_t.
7592
7593         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
7594         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
7595
7596 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
7597
7598         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
7599         after other includes that define the appropriate types.  Include
7600         tm_p.h for getting user prototypes.
7601         * ggc-callbacks.c (toplevel): Ditto.
7602         * ggc-none.c (toplevel): Ditto.
7603         * gcc-page.c (toplevel): Ditto.
7604         * ggc-simple.c (toplevel): Ditto.
7605
7606 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
7607                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
7608
7609         * config/mips/mips.c (mips_move_2words): Split doubles if
7610         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
7611
7612 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
7613
7614         * genrecog.c (struct decision_test): New.
7615         (struct decision): Remove test-related members, sort the rest by size.
7616         (IS_SPLIT): Simplify.
7617         (new_decision, new_decision_test): New.
7618         (add_to_sequence): Use them.  No special handling for args of
7619         non-MATCH codes.
7620         (maybe_both_true): Renamed from not_both_true; return sense changed.
7621         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
7622         of maybe_both_true and adjusted for decision_test.
7623         (position_merit): Remove.
7624         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
7625         (merge_accept_insn): New, broken out of merge_trees.
7626         (merge_trees): Use them.  No special case for c_test; no node
7627         splitting; use test type instead of position_merit.
7628         (factor_tests): New.
7629         (simplify_tests): New.
7630         (break_out_subroutines): Don't write code now.
7631         (find_afterward): New.
7632         (write_afterward, write_switch, write_cond): New.
7633         (write_action, is_unconditional): New.
7634         (write_node): New.  Use them.
7635         (write_tree_1): Rewrite.  Use the new functions above.
7636         (write_tree): Remove afterward processing.
7637         (write_subroutine): Simplify function variant emission.
7638         (write_subroutines): New.
7639         (same_codes, clear_codes): Remove.
7640         (same_modes, clear_modes): Remove.
7641         (write_header): New, broken out of main.
7642         (make_insn_sequence): Use new_decision and new_decision_test.
7643         (process_tree): New, broken out of main.
7644         (main): Adjust for merge_trees interface change. 
7645         Don't #define operands in the output file.
7646         (record_insn_name): New, broken out of make_insn_sequence.
7647         (debug_decision_2, debug_decision_1, debug_decision_0): New.
7648         (debug_decision): New.
7649
7650 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
7651
7652         * resource.c (find_free_register): Mark class_str argument const.
7653         * resource.h: Update prototype to match.
7654
7655         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
7656         * i386.md: Give all anonymous insns names.
7657
7658 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
7659
7660         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
7661         blocks.
7662
7663 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
7664
7665         * toplev.c (dbr_sched_time): Unconditional.
7666         (peephole2_time): New.
7667         (compile_file): Add pass numbers to all of the dump file suffixes.
7668         Dump peephole2_time.  Don't dump times for non-applicable passes.
7669         (rest_of_compilation): Add pass numbers to dump file suffixes.
7670         Conditionalize calls to the scheduler.
7671         * invoke.texi: Update.
7672
7673 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
7674
7675         * flow.c (make_edges): Fix insn iteration.
7676         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
7677         (find_basic_blocks_1): Fix spelling mistake.
7678
7679 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
7680
7681         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
7682         always have side-effects.  Use memset not bzero.
7683         (make_node): Likewise.
7684
7685 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
7686
7687         * stmt.c (expand_anon_union_decl): When any of the elements of the
7688         union is addressable, so is the entire union.
7689
7690 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
7691
7692         * sbitmap.c (sbitmap_ones): Don't set too many bits.
7693
7694         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
7695         * bitmap.c (bitmap_operation): Return true iff TO changed.
7696         (bitmap_equal_p): New.
7697         (bitmap_bit_p): Tidy arithmetic.
7698         (debug_bitmap_file): Likewise.
7699
7700 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
7701
7702         * toplev.c (rest_of_compilation): Turn on cse_not_expected
7703         before cse2 instead of after.
7704
7705 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
7706
7707         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
7708         register offsets. 
7709
7710 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7711
7712         * cppinit.c (is_idchar initializer): Loosen tests to accept
7713         gcc 2.>6 and >2.
7714
7715 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
7716
7717         * mips.md: Define conditional move patterns for floating point
7718         operands and DI mode conditions.
7719
7720 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
7721
7722         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
7723         always have side-effects.
7724
7725 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
7726
7727         * mn10200.c (asm_file_start): Fix typo.
7728
7729         * cppinit.c (is_idchar initializer): Tighten tests for when
7730         to put the table into initialized memory.
7731
7732         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
7733         not an array of rtunion.
7734         * gcc-page.c (ggc_alloc_rtvec): Similarly.
7735         * gcc-simple (ggc_free_rtvec): Similarly.
7736
7737         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
7738         of rtunions.
7739
7740         * mbchar.h: Add missing #endif.
7741
7742         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
7743         (FPBIT, DPBIT): Define.
7744
7745 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7746
7747         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
7748
7749         * profile.c (instrument_arcs, output_gcov_string,
7750         tablejump_entry_p): Add static prototypes.
7751         (output_gcov_string): Constify a char*.
7752         
7753         * regmove.c (replacement_quality, fixup_match_2): Add static
7754         prototypes.
7755
7756         * resource.h (reg_dead_p): Add extern prototype.
7757
7758         * rtl.c (trim_filename): Add static prototype.
7759
7760         * scan-decls.c (skip_to_closing_brace): Likewise.
7761
7762         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
7763         (expand_end_case): Initialize variable `range'.
7764         (emit_case_nodes): Remove unused prototype `rtx_fn'.
7765
7766         * varasm.c (asm_emit_uninitialised): Add static prototype.
7767         (asm_emit_uninitialised, assemble_variable): Mark parameter with
7768         ATTRIBUTE_UNUSED.
7769
7770 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7771
7772         * cpplib.c (if_directive_nameo): Add static prototype.
7773
7774         * cse.c (cse_insn): Remove unused variable `p'.
7775
7776         * except.c (create_rethrow_ref, push_entry,
7777         receive_exception_label, new_eh_region_entry, find_func_region,
7778         clear_function_eh_region, process_nestinfo): Add static prototypes.
7779         (get_reg_for_handler): Hide definition.
7780         (process_nestinfo): Initialize variable `extra_handlers'.
7781
7782         * expr.h (expand_builtin_longjmp): Add extern prototype.
7783
7784         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
7785
7786         * function.c (prepare_function_start): Likewise.
7787         (pop_function_context_from): Mark parameter `context' with
7788         ATTRIBUTE_UNUSED.
7789         (push_temp_slots_for_block, flush_addressof): Hide definition.
7790         
7791         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
7792         solve_program_flow_graph, calculate_branch_probs,
7793         function_summary, main, fancy_abort): Add prototypes.
7794
7795         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
7796         (add_hash): Constify a char*.
7797
7798         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
7799         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
7800         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
7801
7802         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
7803
7804         * lists.c (free_list, zap_lists): Likewise.
7805
7806 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7807
7808         * alias.c (nonlocal_reference_p): Add static prototype.
7809
7810         * bitmap.c (bitmap_element_allocate): Prototype args in function
7811         pointer cast.
7812
7813         * builtins.c (stabilize_va_list): Add static prototype.
7814         (expand_builtin_va_arg): Constify a char*.
7815         
7816         * c-lex.c (getch, put_back, extend_token_buffer_to,
7817         read_line_number, token_getch, token_put_back): Add static
7818         prototypes.
7819
7820         * c-parse.gperf (hash, is_reserved_word): Likewise.
7821
7822         * cccp.c (is_dir_separator): Likewise.
7823
7824 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7825
7826         * graph.h: New file to prototype functions exported by graph.c.
7827
7828         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
7829
7830         * graph.c: Include graph.h.
7831
7832         * toplev.c: Likewise.  Remove redundant prototypes.
7833
7834 Sat Oct  2 11:28:33 1999   Krister Walfridsson <cato@df.lth.se>
7835
7836         * invoke.texi: Removed duplicated description for -Q.
7837
7838 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
7839
7840         * extend.texi: Grammar fix in __extension__ text.
7841
7842 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
7843
7844         * md.texi (define_peephole2): New section.
7845
7846 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
7847
7848         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
7849         (mov $-1 to or peepholer): Enable for pentium when optimizing for
7850         speed.
7851
7852 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
7853
7854         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
7855
7856 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
7857
7858         * i386.md (ffs expander): Emit Pentium friendly code for
7859         TARGET_PENTIUM.
7860
7861 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
7862
7863         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES 
7864         for non-trees.
7865         (build1): Likewise.
7866         
7867 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7868
7869         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
7870
7871 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
7872
7873         * config/m68k/m68k.c (use_return_insn): Return false if the pic
7874         register is in use.
7875
7876 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7877
7878         * md.texi (No Constraints): Delete section.
7879         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
7880         * final.c (final_scan_insn): We always have register constraints.
7881         * genattrtab.c: Don't include "insn-config.h".
7882         (write_attr_case): We always have register constraints.
7883         * genconfig.c (register_constraint_flag): Delete.
7884         (walk_insn_part): Don't check whether we have register constraints.
7885         (main): Don't write out "#define REGISTER_CONSTRAINTS".
7886         * genoutput.c (have_constraints): Delete.
7887         (main): Don't set it.
7888         (output_operand_data): We always have constraints.
7889         (scan_operands): Likewise.
7890         (compare_operands): Likewise.
7891         * local-alloc.c (block_alloc): We always have constraints.
7892         (requires_inout): Always compile this function.
7893         * recog.c (extract_insn): We always have constraints.
7894         (constrain_operands, reg_fits_class_p): Always compile these
7895         functions.
7896         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
7897         fields.
7898         (struct insn_operand_data): Likewise.
7899         * regclass.c (regclass): We always have constraints.
7900         (record_reg_classes, copy_cost, record_address_regs,
7901         auto_inc_dec_reg_p): Always compile these functions.
7902         * regmove.c (regmove_optimize): We always have constraints.
7903         * reload.c (find_reloads): Likewise.
7904         * reload1.c (reload): Likewise.
7905         (reload_cse_simplify_operands): Likewise.
7906         * i860.c (output_delay_insn): Likewise.
7907
7908 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
7909
7910         * iris6.h (BUILD_VA_LIST_TYPE): Define.
7911
7912 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7913
7914         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
7915         for the va_list record.
7916
7917 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
7918
7919         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
7920         prologues.
7921
7922 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
7923
7924         * alias.c: Include insn-flags.h.
7925         * Makefile.in (alias.o): Update.
7926
7927 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
7928
7929         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
7930         to LTU and GEU.  Handle more cases using sbb.
7931
7932 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
7933
7934         * i386.md (truncatexfdf splitters): Do not use subreg.
7935         (fop XFmode patterns): Fix mode in operand testing.
7936
7937 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
7938
7939         * jump.c (jump_optimize_1): Amend last change to test only the
7940         form of the operand, not the insn.
7941
7942         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
7943         not register_operand to determine when B may need preloading.
7944
7945 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
7946
7947         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
7948         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
7949         (call-value patterns): Move to end of file.
7950         (*): Remove mode from label_ref in (pc) context.
7951         (movstrqi): Use memory not general_operand for BLKmode operands.
7952         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode 
7953         to register_operand operands.
7954         (peep2 patterns): Convert from commented-out peephole patterns.
7955
7956 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7957
7958         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
7959         to BUILT_IN_INIT_DWARF_REG_SIZES.
7960         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
7961         Renamed from BUILT_IN_DWARF_REG_SIZE; call
7962         expand_builtin_init_dwarf_reg_sizes.
7963         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
7964         with __builtin_init_dwarf_reg_size_table.
7965         * dwarf2out.c (struct reg_size_range): Delete.
7966         (expand_builtin_init_dwarf_reg_sizes): New function.
7967         (expand_builtin_dwarf_reg_size): Delete.
7968         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
7969         (expand_builtin_dwarf_reg_size): Don't declare.
7970         * libgcc2.c (dwarf_reg_size_table_initialized): New.
7971         (dwarf_reg_size_table): New.
7972         (init_reg_size_table): New function.
7973         (copy_reg): Use dwarf_reg_size_table.
7974         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
7975         before use.
7976
7977 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
7978
7979         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): 
7980         Correctly build argument list to constructor and destructor functions.
7981
7982 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
7983
7984         * c-tree.h (warn_float_equal): Declare.
7985         * c-decl.c (warn_float_equal): Define.
7986         (c_decode_option): Recognize -W[no-]float-equal.
7987         * c-typeck.c (build_binary_op): Conditionally warn
7988         about equality tests of floating point types.
7989         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
7990         * invoke.texi: Add docs for -Wfloat-equal warning.
7991
7992 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
7993
7994         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
7995         generating RTL directly.
7996         * mips.h (INIT_TARGET_OPTABS): Likewise.
7997         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
7998
7999         * expr.h (init_mov_optab): Delete declaration
8000
8001         * h8300.c (WORD_REG_USED): Update to avoid useless register
8002         saves in interrupt functions and functions which never return.
8003
8004         * cse.c (struct set): Delete inner_dest_loc field. 
8005         (cse_insn): Remove assignments to inner_dest_loc field.
8006
8007 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
8008
8009         * ggc-page.c: Don't include <unistd.h> etc taken care of
8010         by "system.h".  Include <sys/mman.h> afterward.
8011
8012 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
8013
8014         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
8015         ggc_alloc_string.
8016
8017 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
8018
8019         * xcoffout.c (xcoffout_declare_function): Add documentation.
8020         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
8021         TARGET_64BIT.  Compare constant to -1, not bit pattern.
8022         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
8023         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
8024         gen_movsi typos.
8025
8026 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
8027
8028         * dwarf2out.c (add_abstract_origin_attribute): Abort if
8029         origin_die is NULL.
8030         (gen_inlined_enumeration_type_die): Do not abort if the type has
8031         not been writeen out.
8032         (gen_inlined_structure_type_die): Do not abort if the type has
8033         not been writeen out.
8034         (gen_inlined_union_type_die): Do not abort if the type has
8035         not been writeen out.
8036         (gen_tagged_type_instantiation_die): Do not abort if the type
8037         has not been written out.
8038
8039 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8040
8041         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
8042         call it.
8043         * reg-stack.c (straighten_stack): Copy hard reg set with
8044         COPY_HARD_REG_SET.
8045
8046 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
8047
8048         * builtins.c (stabilize_va_list): Stabilize array type va_list
8049         to a pointer type, not the base record type.
8050         (expand_builtin_va_copy): Dereference the pointers explicitly;
8051         use the correct size for the copy.
8052
8053         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
8054         (rs6000_va_arg): Likewise.
8055
8056 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
8057
8058         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
8059
8060 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
8061
8062         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
8063         field.
8064         (DECL_BUILT_IN_CLASS): Adjust accordingly.
8065
8066 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
8067
8068         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
8069         (init_ggc): Use it instead of a constant.
8070         (ggc_collect): Bound allocated_last_gc by it.
8071
8072 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
8073
8074         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
8075         with va_list.
8076
8077 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
8078
8079         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
8080         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
8081         * configure:  Regen.
8082         * config/mips/openbsd.h:  New, OpenBSD little endian target.
8083         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
8084         * config/mips/xm-openbsd.h:  New, OpenBSD host.
8085
8086 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
8087
8088         * config/m68k/m68k.c (output_function_prologue,
8089         output_function_epilogue): Use
8090         current_function_uses_pic_offset_table instead of regs_ever_live
8091         to decide whether to save/restore pic register.
8092         (legitimize_pic_address): Don't modify regs_ever_live any more.
8093
8094 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
8095
8096         * function.h (struct function): Add x_dont_save_pending_sizes_p.
8097         * stor-layout.c (variable_size): Don't add sizes to the pending
8098         sizes list if x_dont_save_pending_sizes_p is set.
8099         
8100 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
8101
8102         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
8103         for symbolic_operand().
8104         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
8105
8106 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8107
8108         * combine.c (gen_rtx_combine): Add missing call to va_end().
8109
8110         * final.c (asm_fprintf): Likewise.
8111
8112         * genattrtab.c (attr_rtx): Likewise.
8113
8114 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
8115
8116         * cse.c: Update comments.
8117         (cse_insn): When converting a conditional/computed jump into
8118         an unconditional jump, always make sure a BARRIER immediately
8119         follows the converted jump.  Do not delete unreachable code.
8120         (cse_basic_block): Do not delete unreachable code.
8121         * toplev.c (rest_of_compilation): Move call to 
8122         delete_trivially_dead_insns after the conditional call to
8123         jump_optimize.
8124
8125 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8126
8127         * collect2.c (make_temp_file): Don't prototype.
8128
8129         * gcc.c (make_temp_file): Likewise.
8130
8131         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
8132
8133 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
8134
8135         * varasm.c (asm_emit_uninitialised): New function: Generate
8136         the assembler statements necessary to declare an uninitialised 
8137         variable.
8138         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
8139         variable.
8140         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
8141         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
8142         section.
8143         (assemble_variable): Use asm_emit_uninitialised to emit an
8144         uninitialised variable.
8145
8146 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
8147
8148         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
8149         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
8150         <geoffk@cygnus.com>.
8151
8152 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8153
8154         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
8155         * c-common.h (builtin_function): Don't declare.
8156
8157         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
8158         DECL_BUILT_IN.
8159         (pushdecl): Likewise.
8160         (finish_decl): Likewise.
8161         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
8162         int.  All callers changed.
8163         Set the builtin's DECL_BUILT_IN_CLASS.
8164         * tree.h (enum built_in_class): New.
8165         (enum built_in_function): Delete NOT_BUILT_IN.
8166         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
8167         in a union.
8168         (DECL_SET_FUNCTION_CODE): Likewise.
8169         (DECL_BUILT_IN_CLASS): New macro.
8170         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
8171         (struct tree_decl): Split builtin function code field into a
8172         struct.
8173         (builtin_function): Declare.
8174
8175 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
8176
8177         * optabs.c (init_traps): Fix typo in last change.
8178
8179 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
8180
8181         * toplev.c (rest_of_decl_compilation): Update comment.
8182
8183 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
8184
8185         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
8186         in .sbss if appropriate.
8187         (EXTRA_SECTION_FUNCTIONS): Add sbss.
8188         (SBSS_SECTION_ASM_OP): New macro.
8189         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
8190         (EXTRA_SECTIONS): Add in_sbss.
8191         * config/mips/mips.h: Prototype sbss_section.
8192
8193 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
8194
8195         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
8196         to disappear.
8197
8198 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
8199
8200         * optabs.c (init_traps): Register trap_rtx as a GC root.
8201
8202 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8203
8204         * config/mips/mips.c (function_arg_pass_by_reference): Define
8205         unconditionally, since it's called unconditionally.
8206
8207 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
8208
8209         * toplev.c (documented_lang_options): Add -fshort-wchar.
8210         * c-decl.c (c_decode_option): Likewise.
8211         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
8212         for wchar_t.
8213         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
8214         * gcc.c (default_compilers): If -fshort-wchar, 
8215         override __WCHAR_TYPE__.
8216         * tm.texi (C Dialect Options): Add -fshort-wchar.
8217
8218         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
8219         symbol for a variable.
8220
8221         * cpplib.h (CPP_PREPROCESSED): New macro.
8222         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
8223         we're seeing this input for a second time.
8224
8225 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
8226
8227         * emit-rtl.c (init_emit_once): Initialize modes first.
8228
8229 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
8230
8231         * config/i386/i386.c (pic_label_name): Change to char pointer.
8232         (global_offset_table): New variable.
8233         (load_pic_register): Fill global_offset_table if it hasn't
8234         already been done.  Allocate pic_label_name dynamically.
8235         * ggc.h (empty_string): New variable.
8236         * ggc-simple.c (empty_string): Likewise.
8237         (init_ggc): Allocate empty_string and add as root.
8238         * stmt.c (digit_strings): New variable.
8239         (init_stmt): Add last_block_end_note as root.  Allocate and
8240         initialize digit_strings. 
8241         (expand_asm_operands): Use empty_string instead of string
8242         constant.  Use digit_strings instead of string constants.
8243         * profile.c (init_arc_profiler): Allocate string with
8244         ggc_alloc_string instead of xmalloc.
8245         (output_func_start_profiler): Likewise.
8246         * c-typeck.c (digest_init): Check if init is error_mark_node.
8247
8248 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
8249                           Richard Henderson  <rth@cygnus.com>
8250
8251         * ggc-page.c: New file.
8252         * Makefile.in (ggc-page.o): New.
8253
8254 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
8255
8256         * invoke.texi: Document -fdelete-null-pointer-checks
8257         * toplev.c (flag_delete_null_pointer_checks): New.
8258         (f_options): Add entry for -fdelete-null-pointer-checks.
8259         (rest_of_compilation): Conditionalize null pointer check
8260         elimination on flag_delete_null_pointer_checks.
8261         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
8262
8263 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
8264
8265         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
8266         copyright notice and special exception to GPL.
8267
8268 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8269
8270         * abi64.h (mips_function_value): Add prototype arguments.
8271
8272         * mips-protos.h: New file with mips prototypes.
8273
8274         * mips.c: Include "tm_p.h".
8275         (mktemp, lookup_name): Add prototype arguments.
8276         (extern_list, string_constant, mips_fill_delay_slot,
8277         mips_output_external, mips_output_external_libcall,
8278         mips_output_filename, mips_declare_object, function_prologue,
8279         mips_expand_prologue, function_epilogue, mips16_constant,
8280         build_mips16_function_stub, mips_output_conditional_branch):
8281         Constify a char*.
8282         (mips_va_start): Remove unused variable `u'.
8283         (mips_va_arg): Cast value to unsigned when comparing against one.
8284         (trace): Delete.
8285         (save_restore_insns, mips_expand_prologue): Add missing arg in
8286         call to `large_int'.
8287
8288         * mips.h: Move prototypes to mips-protos.h.
8289         (data_section, memory_address_p, rdata_section,
8290         readonly_data_section, simple_epilogue_p, text_section): Delete
8291         prototypes delcared elsewhere.
8292         (mips_epilogue_delay_slots, print_options): Delete unused decls.
8293         (trace): Delete.
8294         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
8295
8296         * mips.md: Delete extra args in call to `mips_move_2words'.
8297
8298         * xm-iris6.h (alloca): Add prototype argument.
8299
8300         * genpeep.c: Include "tm_p.h" in generated output file.
8301
8302 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8303
8304         * basic-block.h (find_edge_index): Change parameters.
8305         * flow.c (verify_edge_list): Pass basic_block parameters to
8306         find_edge_index instead of integers.
8307
8308 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
8309
8310         * combine.c (simplify_comparison): Use an unsigned shift to adjust
8311         the constant.
8312
8313 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
8314
8315         * gcc.1: Fix a formatting error.
8316
8317 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8318
8319         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
8320         i786, mn10200, mn10300, pdp11, v850.
8321
8322 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
8323
8324         * libgcc2.c (num_digits): Add prototype with 
8325         __attribute__((const)).
8326         (__terminate): Add prototype.
8327
8328 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
8329
8330         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
8331
8332         * alpha/alpha.c (print_operand): Fix type of `code'.
8333         (alpha_output_filename): Constify.
8334         * alpha/alpha.h: Move all function declarations ...
8335         * alpha/alpha-protos.h: ... here.  New file.
8336         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
8337         (SECTION_FUNCTION_TEMPLATE): Likewise.
8338
8339 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8340
8341         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
8342         * expr.c (expand_expr): Likewise.
8343         (do_jump): Likewise.
8344         (do_store_flag): Pass ccp_store_flag to can_compare_p.
8345         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
8346         accessor macros.
8347         (enum can_compare_purpose): New.
8348         (can_compare_p): Adjust prototype.
8349         (prepare_cmp_insn, prepare_operand): Declare.
8350         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
8351         * optabs.c (cmp_available_p): Deleted.
8352         (expand_abs): Pass ccp_jump to can_compare_p.
8353         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
8354         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
8355         Call can_compare_p rather than cmp_available_p.
8356         (prepare_operand): No longer static.
8357         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
8358         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
8359         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
8360         sequence to use emit_cmp_and_jump_insns.
8361         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
8362
8363 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
8364
8365         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
8366         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
8367         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
8368         (plus (reg) (const_int 0))
8369         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
8370         
8371 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
8372
8373         * rs6000.c (expand_block_move): DImode loads and stores require
8374         word-aligned displacements.  Increment address registers with
8375         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
8376
8377 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
8378
8379         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
8380         is no name for the base type, rather than segfault.  If we are
8381         writing out a complex integer type, use DW_ATE_lo_user.
8382
8383         * expr.c (emit_move_insn_1): If we are copying a complex that fits
8384         in one word or less (complex char, complex short, or on 64 bit
8385         systems complex float) to/from a hard register, copy it through
8386         memory instead of dying in gen_{real,imag}part.  If we have a
8387         short complex type, prevent inlining since it allocates stack
8388         memory.
8389
8390         * tree.c (build_complex_type): If we are writing dwarf2 output,
8391         generate a name for complex integer types.
8392
8393 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8394
8395         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
8396         * flow.c (remove_edge): Remove extra whitespace.
8397         (remove_fake_edges): Fix comment.
8398         (add_noreturn_fake_exit_edges): Use the correct name.
8399
8400 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
8401
8402         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
8403         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
8404         (clean): Depend on INTL_CLEAN.
8405         (maintainer-clean): Adjust.
8406
8407 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8408
8409         * configure.in (AC_PREREQ): Bump to 2.13.
8410         (AC_C_STRINGIZE): Call this instead of using a custom macro.
8411
8412         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
8413
8414         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
8415
8416         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
8417
8418         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
8419         (HAVE_STRINGIZE): Define.
8420
8421 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
8422
8423         * c-parse.in: save and restore warn_pointer_arith on __extension__
8424         along with pedantic.
8425         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
8426         Set the type of extension to itype rather than $<itype>1 kludge.
8427         * extend.texi (Alternate Keywords): Adjust documentation.
8428         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
8429
8430 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
8431
8432         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
8433         most assembler templates.
8434
8435         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
8436         FP loads and stores.
8437         (following_call): Always return zero for the PA8000.
8438         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
8439         FP loads and stores.
8440         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
8441
8442         * pa.h (BRANCH_COST): Define.
8443
8444         * pa.md (return, return_internal): Use bve for PA2.0.
8445
8446         * pa.md (fused multiply): Add variants which reduce height for the
8447         fused multiply, but which still generate 2 insns.
8448         (fnegabs): Similarly.
8449
8450         * pa.md (subsi3): Turn into an expander.  Create two anonymous
8451         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
8452         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
8453
8454         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
8455         for TARGET_PA_20.
8456         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
8457         code generation.
8458         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
8459         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
8460
8461         * regclass.c (init_regs): Add "top_of_stack" as a garbage
8462         collection root.
8463
8464         * flow.c (record_active_eh_regions): Terminate loop after finding
8465         the last insn in the last basic block.
8466
8467 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8468
8469         * config/c4x/c4x.md: Delete parallel instruction peepholes.
8470
8471 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8472
8473         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
8474
8475 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8476
8477         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
8478         splitting to not use output template.
8479
8480 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8481
8482         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
8483         * config/c4x/c4x.c (c4x_va_start): New function.
8484
8485 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
8486
8487         * genrecog.c (not_both_true): Handle correctly cases when called for
8488         tests with different positions in the insn.
8489
8490 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8491
8492         * machmode.h (HOST_PTR_PRINTF): Move from here ...
8493
8494         * system.h (HOST_PTR_PRINTF): ... to here.
8495
8496         * mips-tfile.c: Don't include machmode.h.
8497
8498         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
8499         (mips-tfile.o): Don't depend on machmode.h.
8500
8501 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8502
8503         * haifa-sched.c (sched_analyze): Rename local variable `region' to
8504         avoid conflicts with typedef struct `region' at the top level scope.
8505
8506 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
8507
8508         * basic-block.h (basic_block): Add eh_beg, eh_end.
8509         * flow.c (entry_exit_blocks): Update.
8510         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
8511         Call new functions.
8512         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
8513         lists.c functions to allocate insn lists.
8514         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
8515         edge creation ...
8516         (make_eh_edge): ... here.  New.
8517         (move_stray_eh_region_notes): New.
8518         (record_active_eh_regions): New.
8519         (delete_unreachable_blocks): Split out block merging ...
8520         (try_merge_blocks): ... here.  New.
8521         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
8522         Dump debugging data.
8523         (merge_blocks_move_successor_nojumps): Likewise.
8524         (merge_blocks): Use eh_beg+eh_end to validate block movement.
8525
8526 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8527
8528         * extend.texi (Bound member functions): Document unbound pmf
8529         conversion.
8530
8531 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8532
8533         * flow.c (split_edge): Handle insertion on a fallthrough edge which
8534         has the EXIT_BLOCK as a dest.
8535
8536 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8537
8538         * flow.c (remove_edge): New function to remove an edge from the 
8539         flow graph.
8540         (remove_fake_successors): New function to remove fake successor edges.
8541         (remove_fake_edges): New function to remove all fake edges from the
8542         flow graph.
8543         (add_fake_exit_edges): New function to add fake edges from all blocks
8544         with no successors to the exit block.
8545         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add 
8546         prototypes for new functions.
8547
8548 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8549
8550         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
8551         Use Pmode to determine whether to output .dword or .word.
8552
8553 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
8554
8555         * tree.c (built_in_filename): New variable.
8556         (BUILT_IN_FILENAME): New macro.
8557         (init_tree_codes): Allocate built_in_filename.
8558         (make_node): Use built_in_filename instead of string constant.
8559
8560 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
8561
8562         * configure.in: Add fr30 target.
8563         * configure: Regenerate.
8564         * config/fr30: New directory.
8565         * config/fr30/crti.asm: New file.
8566         * config/fr30/fr30.c: New file.
8567         * config/fr30/crtn.asm: New file.
8568         * config/fr30/fr30.h: New file.
8569         * config/fr30/fr30.md: New file.
8570         * config/fr30/lib1funcs.asm: New file.
8571         * config/fr30/t-fr30: New file.
8572         * config/fr30/xm-fr30.h: New file.
8573
8574 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
8575
8576         * flow.c (merge_blocks_move_successor_nojumps): Delete the
8577         BARRIER at the end of the successor, not the BARRIER before
8578         the successor.
8579
8580         * pa.c (pa_add_gc_roots): Fix thinko in last change.
8581
8582 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
8583
8584         * stmt.c (any_pending_cleanups): Don't crash when 
8585         current_function->stmt is unset.
8586
8587 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8588
8589         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
8590         other initializations that may use it for relative offsets.
8591
8592 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8593
8594         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
8595         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
8596         * config/i386/sol2dbg.h: Removed.
8597         * config/i386/sol2gas.h: New file, to enable gas work-around.
8598         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
8599         Don't use sol2dbg.h.
8600         * configure: Rebuilt.
8601
8602 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
8603
8604         * invoke.texi (-fthis-is-variable): Remove documentation.
8605
8606 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
8607
8608         * basic-block.h (compute_bb_for_insn): Declare.
8609         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
8610         to use; set size of basic_block_for_insn directly.
8611         (find_basic_blocks): Update.
8612
8613 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8614
8615         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
8616
8617 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8618
8619         * crtstuff.c (ON_EXIT): Delete empty macro definition.
8620         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
8621
8622 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
8623
8624         * c-decl.c (c_decode_option): Extend comment.
8625
8626 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
8627
8628         * toplev.c (progname): Make 'const char *'
8629         (flag_print_mem): Move out of main.
8630         (version_flag): Move out of main.
8631         (filename): Move out of main.
8632         (debug_args): Remove g prefix from options.
8633         (documented_lang_options): Remove cpplib specific options.
8634         (display_help): Add g prefix to debug options.
8635         (check_lang_option): Delete this function.
8636         (decode_d_option): New function: Decode -d... option.
8637         (decode_f_option): New function: Decode -f... option.
8638         (decode_W_option): New function: Decode -W... option.
8639         (decode_g_option): New function: Decode -g... option.
8640         (independent_decode_option): New function: Decode a language
8641         independent command line option.
8642         (main): Invoke lang_decode_option and then
8643         independent_decode_option on each command line option in
8644         turn. 
8645
8646 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
8647
8648         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
8649          * fold-const.c (fold_range_test): Do not try to fold the range
8650          test if the rhs or lhs has side effects.
8651
8652         * basic-block.h (compute_flow_dominators): Declare.
8653
8654         * gcse.c (alloc_code_hoist_mem): New function.
8655         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
8656         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
8657         (hoist_code, one_code_hoisting_pass): Likewise.
8658         (gcse_main): If optimizing for size, then hoist expressions
8659         computed in multiple dominated basic blocks.
8660
8661         * gcse.c (invalid_nonnull_info): New function.
8662         (delete_null_pointer_checks): Likewise.
8663         * rtl.h (delete_null_pointer_checks): Declare.
8664         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
8665
8666         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
8667         (merge-blocks_move_successor_nojumps): Likewise.
8668         (merge_blocks): Allow merging of some blocks, even if it requires
8669         physical movement of the blocks, but not if it requires new jumps.
8670
8671         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
8672         Callers and prototype changed.
8673         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
8674
8675 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8676
8677         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
8678         -YP when both -p and -pg are present.  From i386/sol2.h.
8679
8680 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8681
8682         * Makefile.in (distclean): Delete tm_p.h.
8683         * configure.in: Create a new file, "tm_p.h", from a list in
8684         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
8685         "i386/i386-protos.h".
8686
8687         * alias.c: Include "tm_p.h".
8688         * c-typeck.c: Likewise.
8689         * calls.c: Likewise.
8690         * cse.c: Likewise.
8691         * emit-rtl.c: Likewise.
8692         * explow.c: Likewise.
8693         * expmed.c: Likewise.
8694         * expr.c: Likewise.
8695         * final.c: Likewise.
8696         * flow.c: Likewise.
8697         * fold-const.c: Likewise.
8698         * function.c: Likewise.
8699         * gcse.c: Likewise.
8700         * global.c: Likewise.
8701         * haifa-sched.c: Likewise.
8702         * integrate.c: Likewise.
8703         * jump.c: Likewise.
8704         * local-alloc.c: Likewise.
8705         * loop.c: Likewise.
8706         * optabs.c: Likewise.
8707         * recog.c: Likewise.
8708         * reg-stack.c: Likewise.
8709         * regclass.c: Likewise.
8710         * regmove.c: Likewise.
8711         * reload.c: Likewise.
8712         * reload1.c: Likewise.
8713         * reorg.c: Likewise.
8714         * resource.c: Likewise.
8715         * stmt.c: Likewise.
8716         * stor-layout.c: Likewise.
8717         * toplev.c: Likewise.
8718         * tree.c: Likewise.
8719         * unroll.c: Likewise.
8720         * genattrtab.c (main): Make generated file include "tm_p.h".
8721         * genemit.c (main): Likewise.
8722         * genoutput.c (main): Likewise.
8723         * genrecog.c (main): Likewise.
8724
8725         * i386.h: Delete all prototypes.
8726         * i386.c: Include "tm_p.h".
8727         (ix86_attr_length_default): Call constant_call_address_operand
8728         with correct number of arguments.
8729         * i386-protos.h: New file.
8730         * i386.md (unnamed patterns): Call constant_call_address_operand
8731         with correct number of arguments.
8732         (exception_receiver): Call load_pic_register with correct number
8733         of arguments.
8734
8735 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
8736
8737         * c-pragma.c (mark_align_stack): Dereference the void* properly.
8738
8739 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
8740
8741         * rtl.h (insns_safe_to_move_p): New function.
8742         * loop.c (find_and_verify_loops): Use it.
8743         * rtlanal.c (insns_safe_to_move_p): Define it.
8744
8745 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
8746
8747         * c-pragma.c: Include ggc.h.
8748         * Makefile.in (c-pragma.o): Update.
8749
8750 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8751
8752         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
8753         (LIB_SPEC): Likewise.
8754         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
8755         Reindent -YP/-p/-pg.
8756         Copied from config/sparc/sol2.h.
8757
8758 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
8759
8760         * c-pragma.c (mark_align_stack): New.
8761         (init_pragma): New.
8762         * c-pragma.h (init_pragma): Declare it.
8763         * c-lex.c (init_parse): Call it.
8764
8765 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8766
8767         * configure.in: Pick up thread library on Solaris/x86 just
8768         like on Solaris/sparc.
8769         * configure: Rebuilt.
8770
8771 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
8772
8773         * rtl.h (global_rtx_index): New enum.
8774         (global_rtl): Change to array of rtx.
8775         (pc_rtx, cc0_rtx): Redefine accordingly.
8776         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
8777         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
8778         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
8779         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
8780         (const_int_rtx): Change to array of rtx.
8781         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
8782         accordingly. 
8783         * emit-rtl.c (global_rtl): Change to array of rtx.
8784         (const_int_rtx): Change to aray of rtx.
8785         (gen_rtx_CONST_INT): Redefine accordingly.
8786         (init_emit_once): Allocate and initialize global_rtl.  Likewise
8787         for const_int_rtx.  Add both as GC roots.
8788         * genattrtab.c (global_rtl): Update declaration.
8789
8790 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
8791
8792         * Makefile (USER_H): Add iso646.h back.
8793
8794 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
8795
8796         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
8797         zapping the LOG_LINKS of sched_before_next_call.
8798
8799         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
8800         * pa.c (insn_refs_are_delayed): Renamed from
8801         insn_sets_and_refs_are_delayed.
8802
8803 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
8804
8805         * functiion.h (struct function): Add x_whole_function_mode_p.
8806         (retrofit_block): Declare.
8807         * function.c (retrofit_block): New function.
8808         (identify_blocks): Add assertions.  Allow an incomplete set of
8809         block notes if we're still generating code for the function.
8810         * integrate.c: Include loop.h.
8811         (expand_inline_function): Call find_loop_tree_blocks to map block
8812         notes to blocks when in whole-function mode.  Use retrofit_block
8813         to insert new BLOCKs for the inlined function, rather than
8814         insert_block.
8815         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
8816         * Makefile.in (integrate.o): Depend on loop.h.
8817
8818 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
8819
8820         * tree.h (warn_about_unused_variables): Declare.
8821         * stmt.c (warn_about_unused_variables): New function, split out
8822         from ...
8823         (expand_end_bindings): Here.
8824
8825 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
8826
8827         * stmt.c (preserve_subexpressions_p): Don't crash when
8828         current_function->stmt is unset.
8829
8830 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
8831
8832         * stmt.c (expand_start_bindings): Allow callers to pass a flag
8833         indicating that no NOTE_INSN_BLOCK_BEG note is required.
8834         (expand_start_target_temps): Use it.
8835         * except.c (expand_eh_region_start_for_decl): Likewise.
8836         * expr.c (expand_expr): Likewise.
8837
8838 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8839
8840         * fold-const.c (operand_equal_p): Pay attention to side effects.
8841
8842 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
8843
8844         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
8845         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
8846
8847         * tlink.c (scan_linker_output): Look for keywords before accepting
8848         a mangled name in quotes.
8849
8850 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
8851
8852         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
8853         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
8854
8855 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
8856
8857         * alpha.md: Revert Thu Nov 26 change that came in through the
8858         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
8859         Avoid earlyclobber when possible.
8860
8861 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8862
8863         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
8864
8865         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
8866         Define HAVE_ON_EXIT.
8867
8868 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8869
8870         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
8871         CTYPE_CONV in all ctype macros.
8872
8873         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
8874         from system.h.
8875
8876         * cexp.y (initialize_random_junk): Likewise.
8877
8878         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
8879
8880         * i370.c (handle_pragma): Likewise.
8881
8882         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
8883
8884         * v850.c (override_options): Likewise.
8885
8886         * doprint.c (_doprnt): Likewise.
8887
8888         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
8889         Likewise.
8890
8891         * fixinc/server.c (load_data): Likewise.
8892
8893         * fold-const.c (real_hex_to_f): Likewise.
8894
8895         * genattr.c (write_upcase, gen_attr): Likewise.
8896
8897         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
8898         write_upcase): Likewise.
8899
8900         * genemit.c (print_code): Likewise.
8901
8902         * genopinit.c (gen_insn): Likewise.
8903
8904         * genpeep.c (print_code): Likewise.
8905
8906         * genrecog.c (print_code): Likewise.
8907
8908         * optabs.c (init_libfuncs): Likewise.
8909
8910 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
8911
8912         * haifa-sched.c (sched_analyze): Keep the list of notes organized
8913         in pairs.
8914         (reemit_notes): Likewise.
8915
8916 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
8917
8918         * ggc.h (ggc_root): Move to ggc-common.c.
8919         (roots): Remove.
8920         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
8921         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
8922         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
8923         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
8924         * ggc-common.c (ggc_root): Move from ggc.h.
8925         (roots): Declare, static.
8926         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
8927         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
8928         null or check/set mark bit.
8929         (ggc_mark_roots): New.
8930         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
8931
8932 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
8933
8934         * m32r.c: Include toplev.h.
8935         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
8936         (gen_compare): Rename swap_p to must_swap to match uses.
8937         Add default abort case.
8938         (m32r_output_function_epilogue): Remove unused variables.
8939         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
8940         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
8941         define to empty parameter list.  Update all uses.
8942         (predicate decls): Use enum machine_mode not int.
8943         * m32r.md (movsi): Call abort, not fatal_insn.
8944         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
8945
8946 1999-09-14  Andrew Haley  <aph@cygnus.com>
8947
8948         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
8949         use $0 instead of 0.
8950
8951 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8952
8953         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
8954         computation out of loop over hard regs.
8955
8956 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
8957
8958         * function.c (identify_blocks): Don't shadow a variable in an 
8959         outer scope.
8960         * integrate.c (integrate_decl_tree): Don't use pushlevel,
8961         pushdecl, or poplevel to build up the new BLOCK tree.
8962         (expand_inline_function): Likewise.
8963         (integrate_parm_decls): Likewise.
8964
8965 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
8966
8967         * c-typeck.c (qualify_type): Merge qualifiers from both types.
8968
8969 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
8970
8971         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
8972         * invoke.texi: Document this change.
8973
8974 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
8975
8976         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
8977         Free the struct.
8978         (mark_emit_status): Renamed from mark_emit_state.
8979         * except.c (mark_eh_status): Renamed from mark_eh_state.
8980         Check not null before marking.
8981         (free_eh_status): New.
8982         * expr.c (mark_expr_status, free_expr_status): New.
8983         * function.c (free_machine_status): New.
8984         (free_after_parsing): New.
8985         (free_after_compilation): Move bits to free_after_parsing; call
8986         free_eh_status, free_expr_status; zero the marked members of the
8987         function state.
8988         (prepare_function_start): No can_garbage_collect. 
8989         Call init_eh_for_function.
8990         (expand_dummy_function_end): Free up current_function state.
8991         (mark_function_status): Renamed from mark_function_state.
8992         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
8993         * function.h (struct function): No can_garbage_collect.
8994         (free_machine_status, free_after_parsing): Declare.
8995         (free_eh_status, free_expr_status): Declare.
8996         * ggc.h (mark_expr_status): Declare.
8997         * stmt.c (free_stmt_status): Free the struct.
8998         (mark_stmt_status): Renamed from mark_stmt_state.
8999         (init_stmt): Don't call init_eh.
9000         (init_stmt_for_function): Don't call init_eh_for_function.
9001         * toplev.c (compile_file): Call init_eh.
9002         (rest_of_compilation): Free basic block info before ggc_collect.
9003         Call free_after_parsing; conditionally call free_after_compilation.
9004         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
9005         Check not null before marking.
9006         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
9007
9008 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
9009
9010         * c-lex.c (yylex): Initialize warn.
9011
9012 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
9013
9014         * pa.c (emit_move_sequence): Properly set the mode of the scratch
9015         register when performing secondary reloads for the SAR register.
9016
9017 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
9018
9019         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
9020         (NOTE_BLOCK): New macro.
9021         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
9022         * function.h (identify_blocks): Change prototype.
9023         * function.c (identify_blocks): Simplify.
9024         (reorder_blocks): Likewise.
9025         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a 
9026         NOTE_INSN_BLOCK_{BEG,END}.
9027         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
9028         the list of saved notes if the note isn't a
9029         NOTE_INSN_BLOCK_{BEG,END}.
9030         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
9031         NOTE_BLOCK_NUMBER.
9032         (reemit_notes): Adjust recreation of notes to reflect new saved
9033         note structure.
9034         * print-rtl.c (print_rtx): Print the address of the BLOCK when
9035         printing a block note.
9036         * stmt.c (block_vector): Remove.
9037         (find_loop_tree_blocks): Simplify.
9038         (unroll_block_trees): Likewise.
9039         * tree.h (reorder_block): Change prototype.
9040         
9041 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
9042
9043         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
9044         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
9045         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
9046         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
9047         (atexit, exit): Simplify.
9048         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
9049         * config/lots: Remove defns of HAVE_ATEXIT.
9050
9051 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
9052
9053         * calls.c (precompute_arguments): Fix typo in comment.
9054         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
9055         TARGET_EXPR.
9056
9057 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
9058
9059         * dsp16xx.c (override_options): Fix typos in GC root registration.
9060
9061 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
9062
9063         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
9064         from config/svr4.h.
9065         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
9066         (FUNCTION_PROFILER): Redefine appropriately for Linux.
9067         (CC1_SPEC): Likewise.
9068
9069 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9070
9071         * genattr.c (main): Add extern prototype.  Call return, not exit.
9072         * genattrtab.c (main): Likewise.
9073         * gencheck.c (main): Likewise.
9074         * gencodes.c (main): Likewise.
9075         * genconfig.c (main): Likewise.
9076         * genemit.c (main): Likewise.
9077         * genextract.c (main): Likewise.
9078         * genflags.c (main): Likewise.
9079         * gengenrtl.c (main): Likewise.
9080         * genopinit.c (main): Likewise.
9081         * genoutput.c (main): Likewise.
9082         * genpeep.c (main): Likewise.
9083         * genrecog.c (main): Likewise.
9084         
9085         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
9086         * genattrtab.c (get_insn_name): Likewise.
9087         * gencodes.c (get_insn_name): Likewise.
9088         * genconfig.c (get_insn_name): Likewise.
9089         * genemit.c (get_insn_name): Likewise.
9090         * genextract.c (get_insn_name): Likewise.
9091         * genflags.c (get_insn_name): Likewise.
9092         * genopinit.c (get_insn_name): Likewise.
9093         * genpeep.c (get_insn_name): Likewise.
9094         
9095         * gencheck.c (usage): Add static prototype.
9096         * genextract.c (print_path): Constify a char*.
9097         * genopinit.c (optabs): Likewise.
9098         * genoutput.c (operand_data, data, output_predicate_decls,
9099         compare_operands): Likewise.
9100         * genrecog.c (write_tree): Add default case in switch.
9101
9102 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9103
9104         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
9105
9106         * print-rtl.c (get_insn_name): Remove prototype.
9107
9108         * toplev.h (progname): Declare const.
9109
9110         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
9111         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
9112         dump_sched_info, dump_local_alloc, regset_release_memory,
9113         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
9114         error_with_file_and_line, error_with_decl, error_for_asm, error,
9115         fatal, warning_with_file_and_line, warning_with_decl, warning,
9116         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
9117         Remove redundant prototypes.
9118
9119         (notice, check_lang_option, report_file_and_line, vnotice,
9120         mark_file_stack): Add static prototype.
9121         (set_fatal_function): Add prototype.
9122         (vnotice, report_file_and_line, set_fatal_function,
9123         check_lang_option): Constify a char*.
9124         (main): Prototype.  Call return, not exit.
9125
9126 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9127
9128         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
9129
9130         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
9131
9132         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
9133
9134         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
9135
9136 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9137
9138         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
9139         behave as if it's zero in all cases.
9140         (expand_function_start): Adjust call to assign_parms.
9141         * tree.h (assign_parms): Adjust prototype.
9142         * objc/objc-act.c (hack_method_prototype): Adjust call to
9143         assign_parms.
9144
9145 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
9146
9147         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
9148         arg_pointer_rtx fixed if the argument pointer register is
9149         not fixed.
9150         (NONZERO_BASE_PLUS_P): Likewise.
9151
9152 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
9153
9154         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
9155         match_insn2 to match_insn.
9156         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
9157
9158 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
9159
9160         * Makefile.in (USER_H): Remove va-foo.h.
9161
9162         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
9163         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
9164         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
9165         va-spur.h,va-v850.h}: Remove.
9166
9167 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
9168
9169         * sparc/sparc.md (eligible_for_return_delay): New attribute.
9170         (in_return_delay): Use it instead of match_insn.
9171
9172 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9173
9174         * config/alpha/va_list.h (va-alpha.h): Do not include.
9175         (__gnuc_va_list): Typedef as in varargs.h.
9176
9177 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
9178
9179         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
9180         DECL_LIVE_RANGE_RTL.
9181
9182 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
9183
9184         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
9185         not NOTE_BLOCK_NUMBER.
9186         (expand_eh_region_end): Likewise.
9187         (find_exception_handler_labels): Likewise.
9188         (scan_region): Likewise.
9189         (exception_optimize): Likewise.
9190         (update_rethrow_references): Likewise.
9191         (set_insn_eh_region): Likewise.
9192         * final.c (final_scan_insn): Likewise.
9193         * flow.c (make_edges): Likewise.
9194         * integrate.c (expand_inline_function): Likewise.
9195         * print-rtl.c (print_rtx): Likewise.
9196
9197 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
9198
9199         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
9200         terms of builtin functions and types.
9201
9202         * mips.c (mips_build_va_list): New.
9203         (mips_va_start, mips_va_arg): New.
9204         * mips.h (BUILD_VA_LIST_TYPE): New.
9205         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9206
9207         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
9208         (sh_build_va_list, sh_va_start, sh_va_arg): New.
9209         * sh.h (BUILD_VA_LIST_TYPE): New.
9210         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9211
9212 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
9213
9214         * recog.h (struct recog_data): Make dup_num, operand_address_p,
9215         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
9216         (struct insn_data): Likewise with n_operands, n_dups, 
9217         n_alternatives, output_format.
9218         * regclass.c (scan_one_insn): Cast n_operands to int before
9219         arithmetic inside comparison.
9220
9221 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
9222
9223         * toplev.c (compile_function): Unconditionally emit nop.
9224
9225 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9226
9227         * haifa-sched.c (actual_hazard): Move declaration of variable
9228         `this_cost' into the scope where it is used.
9229
9230 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9231
9232         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
9233         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
9234         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
9235
9236         * genrecog.c (make_insn_sequence): Call memset, not bzero.
9237
9238         * jump.c (find_insert_position): Don't declare or define unless
9239         !HAVE_conditional_arithmetic.
9240         (returnjump_p_1, delete_prior_computation): Add static prototypes.
9241
9242         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
9243         
9244         * recog.c (offsettable_address_p): Prototype function pointer.
9245         (preprocess_constraints): Call memset, not bzero.
9246         
9247         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
9248         (gcc_obstack_init): Don't declare.
9249         (fix_sizetype): Add static prototype.
9250         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
9251         (tree_cons): Call memset, not bzero.
9252
9253         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
9254         definition in macro ASM_WEAKEN_LABEL.
9255         (mark_const_hash_entry): Add static prototype.
9256
9257 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9258
9259         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
9260
9261         * unroll.c (find_common_reg_term, subtract_reg_term,
9262         loop_find_equiv_value): Add static prototypes.
9263         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
9264         (copy_loop_body): Remove unreachable break statement.
9265         
9266         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
9267
9268         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
9269         
9270 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9271
9272         Undo some changes from the gcc2 merge:
9273         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
9274         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
9275         pointers.
9276
9277         Undo this change:
9278         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
9279         * emit-rtl.c (gen_lowpart_common): Disable optimization of
9280         initialized float-int union if the value is a NaN.
9281
9282 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9283
9284         * gthr-win32.h: New file.
9285
9286         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
9287         shared as a valid attribute.
9288         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
9289         * extend.texi: Document `shared' variable attribute.
9290
9291 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
9292
9293         * configure.in: Handle --enable-threads on FreeBSD.
9294         * configure: Rebuit.
9295
9296 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9297
9298         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add 
9299         thread support.
9300         * configure: Rebuilt.
9301
9302 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
9303                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
9304                           Rosimildo DaSilva <rdasilva@connecttel.com>
9305
9306         * configure.in (m68k-*-rtemscoff*): Added.
9307         * configure.in (mips64orion-*-rtems*): Converted to ELF.
9308         * configure.in (sparc-*-rtemsaout*): Added as alias for old
9309         sparc-rtems configuration.
9310         * configure.in (sparc-*-rtemself*): Added.
9311         * configure.in (sparc-*-rtems*): Now ELF not a.out.
9312         * config/i386/rtems.h: Added comment.
9313         * config/sparc/rtemself.h: New file.
9314
9315         * configure.in (m68k-rtemself): Added.
9316         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
9317         and DWARF_DEBUGGING_INFO.
9318         * config/m68k/crti.s: New file.
9319         * config/m68k/crtn.s: New file.
9320         * config/m68k/t-crtstuff: New file.
9321         * config/m68k/rtemself.h: New file.
9322
9323         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
9324         global ctor/dtor and C++ exception handling.
9325         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
9326         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
9327         ENDFILE_SPEC.
9328         * config/i386/t-rtems-i386: New File.
9329
9330 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
9331
9332         * stmt.c (expand_end_case): Return right away if the case stack is
9333         empty.
9334
9335 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
9336
9337         * Makefile.in (version.c): Remove rule incorrectly brought in from
9338         the gcc2 merge.
9339
9340 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
9341
9342         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
9343         * msdos/top.sed:  Take into account a prepended $(SHELL) to
9344         move-if-change.
9345         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
9346
9347         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
9348
9349 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9350
9351         * regmove.c (fixup_match_1): Don't change an unchanging register.
9352         (stable_but_for_p): Renamed to:
9353         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
9354         Changed all callers.
9355
9356 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
9357
9358         * loop.c (strength_reduce): Don't call reg_used_between_p if the
9359         insn from BL2 is after the insn from BL.
9360
9361 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
9362
9363         * recog.h (INSN_OUTPUT_FORMAT_*): New.
9364         (struct insn_data): Merge `template' and `outfun' into `output'.
9365         Add `output_format'.
9366         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
9367         (struct data): Remove `outfun'; add `output_format'.
9368         (name_for_index): Remove declaration.
9369         (output_insn_data): Handle output formats.
9370         (process_template): Emit the bare array for @.
9371         (gen_expand, gen_split): Set output_format to NONE.
9372         * output.h (get_insn_template): Declare.
9373         * final.c (get_insn_template): New.
9374         (final_scan_insn): Use it.
9375         * toplev.c (compile_file): Likewise.
9376
9377         * c4x/c4x.c (c4x_process_after_reload): Likewise.
9378         * i860/i860.c (output_delayed_branch): Likewise.
9379         (output_delay_insn): Likewise.
9380
9381 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9382
9383         * rtl.c (obstack_alloc_rtx): Removed.
9384
9385 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
9386
9387         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
9388
9389 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
9390
9391         * i386.c (call_insn_operand): Reject const_int.
9392         (expander_call_insn_operand): Use call_insn_operand.
9393
9394 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9395
9396         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
9397
9398 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
9399
9400         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
9401         Use DImode operation.
9402
9403 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
9404
9405         * gcc.c: Include sys/resource.h.
9406         (report_times): New flag.
9407         (execute):  If report_times is set, calculate and report the
9408         CPU time consumed by each subprocess.
9409
9410         (rus, prus): New globals.
9411         (option_map): Add --time.
9412         (display_help): Document -time.
9413         (process_command): Set report_times if -time is given.
9414         Turn off -pipe if -time is given.
9415
9416         * invoke.texi: Document new option -time.
9417
9418         * configure.in: Check for getrusage.  Check if we have to
9419         prototype getrusage.
9420         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
9421         * configure: Regenerate.
9422         * config.in: Regenerate.
9423
9424 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
9425
9426         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
9427         fields.
9428
9429 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
9430
9431         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
9432         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
9433         (nan): Return _thenan_sf or _thenan_df as appropriate.
9434         (L_thenan_sf): Define _thenan_sf.
9435         (L_thenan_df): Define _thenan_df.
9436
9437         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
9438         (DPBIT_FUNCS): Add _thenan_df.
9439
9440 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
9441
9442         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
9443         TYPE_SIZE_UNIT.
9444
9445 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9446
9447         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
9448
9449         * gcc.h: New file.
9450         (lang_specific_driver): Don't take a function pointer parameter.
9451         All callers changed.
9452
9453         * gcc.c: Include gcc.h.
9454         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
9455         lang_specific_extra_outfiles, fatal): Don't declare.
9456         (multilib_defaults_raw): Constify.
9457         (read_specs): Call memset, rather than bzero.
9458         (main): Call return, not exit.
9459         (lookup_compiler): Call memcpy, not bcopy.
9460         (fatal): Make extern.
9461
9462         * cppspec.c: Include gcc.h.
9463         (lang_specific_driver): Initialize variable `quote'.  Constify a
9464         char*.  All calls to the function pointer parameter now
9465         explicitly call `fatal'.
9466
9467         * gccspec.c (lang_specific_driver): Include gcc.h.
9468
9469 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
9470
9471         * arm.c (note_invalid_constants): Use recog_data.operand_type
9472         for recog_op_type.
9473
9474 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9475
9476         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
9477         Declare.
9478
9479         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
9480         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9481         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9482         reload_secondary_in_reload, reload_secondary_out_reload,
9483         reload_secondary_in_icode, reload_secondary_out_icode,
9484         reload_reg_rtx, reload_when_needed): Delete declarations.
9485         (struct reload): New structure.
9486         (rld): Declare new array.
9487         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
9488         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9489         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9490         reload_secondary_in_reload, reload_secondary_out_reload,
9491         reload_secondary_in_icode, reload_secondary_out_icode,
9492         reload_reg_rtx, reload_when_needed): Delete definitions.
9493         (rld): New array.
9494         (whole file): Replace uses of the deleted arrays with uses of rld.
9495         * reload1.c (whole file): Replace uses of the deleted arrays with
9496         uses of rld.
9497         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
9498         explicit loops, not with bcopy.
9499
9500 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
9501
9502         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
9503         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
9504         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
9505         insn_name): Delete and consolidate into new structures.
9506         (insn_operand_predicate_fn): New.
9507         (insn_output_fn): New.
9508         (insn_gen_fn): New.
9509         (struct insn_operand_data): New.
9510         (struct insn_data): New.
9511         (insn_data): New.
9512         (OUT_FCN): Update for insn_data change.
9513         * builtins.c (expand_builtin_strlen): Likewise.
9514         (expand_builtin_memcmp): Likewise.
9515         * combine.c (make_extraction, simplify_comparison): Likewise.
9516         * cse.c (canon_reg, cse_insn): Likewise.
9517         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
9518         * expmed.c (store_bit_field, extract_bit_field): Likewise.
9519         (emit_store_flag): Likewise.
9520         * expr.c (convert_move, emit_block_move): Likewise.
9521         (clear_storage, emit_push_insn, expand_increment): Likewise.
9522         (do_store_flag): Likewise.
9523         * expr.h (GEN_FCN): Likewise.
9524         (insn_gen_function): Die.
9525         * final.c (final_scan_insn): Update for insn_data change.
9526         (output_asm_name): Likewise.
9527         * function.c (fixup_var_refs_1): Likewise.
9528         * loop.c (check_dbra_loop): Likewise.
9529         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
9530         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
9531         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
9532         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
9533         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
9534         * regmove.c (gen_add3_insn): Likewise.
9535         * reload.c (push_secondary_reload, combine_reloads): Likewise.
9536         (find_reloads, find_reloads_address_1): Likewise.
9537         (debug_reload_to_stream): Likewise.
9538         * reload1.c (emit_reload_insns, gen_reload): Likewise.
9539         * stmt.c (expand_end_case): Likewise.
9540         * toplev.c (compile_file): Likewise.
9541
9542         * c4x/c4x.c (c4x_process_after_reload): Likewise.
9543         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9544
9545         * print-rtl.c (insn_name_ptr): Remove declaration.
9546         (get_insn_name): Declare.
9547         (print_rtx): Use it.
9548         * genoutput.c (insn_name_ptr): Remove.
9549         (next_operand_number): New.
9550         (struct operand_data): New.
9551         (null_operand, odata, odata_end): New.
9552         (struct data): Use struct operand_data.
9553         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
9554         (get_insn_name): Renamed from name_for_index.
9555         (output_prologue): Define NO_MD_PROTOTYPES.
9556         (output_predicate_decls): Break out from output_epilogue.
9557         Iterate over the operands list.
9558         (output_operand_data): Break out from output_epilogue.  Emit
9559         just the operands list.
9560         (output_insn_data): Break out from output_epilogue.  Emit just
9561         the insn data.
9562         (output_epilogue): Remove.
9563         (output_get_insn_name): New.
9564         (constraints, op_n_alternatives, predicates, address_p): Die.
9565         (modes, strict_low, seen): Die.
9566         (scan_operands): Take new param `d' instead of writing to 
9567         seven global variables.
9568         (compare_operands): New.
9569         (place_operands): New.
9570         (validate_insn_alternatives): Update for struct data change.
9571         (gen_insn): Don't zero or copy 7 global arrays.  Update for
9572         scan_operands; call place_operands.
9573         (gen_peephole, gen_expand, gen_split): Likewise.
9574         (main): Update for new output routines.
9575
9576         * genattr.c (insn_name_ptr): Remove.
9577         (get_insn_name): New function.
9578         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
9579         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
9580         * genrecog.c: Likewise.
9581
9582         * alpha.md (adddi3): Make `pattern' array static.
9583
9584 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9585
9586         * config/c4x/c4x.h (c4x_rpts_cycles_string,
9587         c4x_cpu_version_string): Constify char *.
9588         * config/c4x/c4x.c (c4x_rpts_cycles_string,
9589         c4x_cpu_version_string): Likewise.
9590
9591 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
9592
9593         * tree.c (save_tree_status): Revert 10 Sep change.
9594         (restore_tree_status): Likewise.  Call obstack_free with NULL 
9595         before freeing the obstack proper.
9596
9597 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
9598
9599         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
9600
9601         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
9602         surrounding context.
9603
9604 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
9605
9606         * tree.c (type_hash_canon): Put all types in the hash-table, when
9607         GC'ing.
9608
9609 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
9610
9611         * recog.h (struct recog_data, recog_data): New.
9612         (recog_foo variables): Kill.
9613         * recog.c (recog_operand, recog_operand_loc): Kill.
9614         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
9615         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
9616         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
9617         (recog_data): Define.
9618         (extract_insn): Update all recog_foo references to use recog_data.
9619         (preprocess_constraints, constrain_operands): Likewise.
9620         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
9621         * genattrtab.c (main): Likewise.
9622         * genextract.c (main): Likewise.
9623         * genoutput.c: Likewise.
9624         * genrecog.c (write_subroutine, main): Likewise.
9625         * local-alloc.c (block_alloc): Likewise.
9626         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
9627         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
9628         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
9629         * reload.c (find_reloads, find_reloads_toplev): Likewise.
9630         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
9631         (reload_cse_simplify_operands): Likewise.
9632
9633         * arc/arc.c (arc_final_prescan_insn): Likewise.
9634         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
9635         * h8300/h8300.c (notice_update_cc): Likewise.
9636         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
9637         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9638         * mn10200/mn10200.c (notice_update_cc): Likewise.
9639         * mn10300/mn10300.c (notice_update_cc): Likewise.
9640         * romp/romp.c (update_cc): Likewise.
9641         * sparc/sparc.c (check_pic): Likewise.
9642         * v850/v850.c (notice_update_cc): Likewise.
9643
9644         * genemit.c (main): Don't declare recog_operand.
9645
9646 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
9647
9648         * ggc.h (rtvec_def): Forward declare.
9649         (tree_node): Likewise.
9650         (ggc_root): Define.
9651         (roots): Declare.
9652         (ggc_set_mark_rtx): Add prototype.
9653         (ggc_set_mark_rtvec): Likewise.
9654         (ggc_set_mark_tree): Likewise.
9655         * ggc-simple.c (ggc_root): Don't define.
9656         (roots): Don't declare.
9657         (ggc_mark_rtx): Remove.
9658         (ggc_mark_rtvec): Likewise.
9659         (ggc_mark_tree): Likewise.
9660         (ggc_mark_varray): Likewise.
9661         (ggc_mark_tree_hash_table_entry): Likewise.
9662         (ggc_mark_tree_hash_table): Likewise.
9663         (ggc_set_mart_rtx): New function.
9664         (ggc_set_mark_rtvec): Likewise.
9665         (ggc_set_mark_tree): Likewise.
9666         (ggc_add_root): Remove.
9667         (ggc_add_rtx_root): Likewise.
9668         (ggc_remove_tree_root): Likewise.
9669         (ggc_add_string_root): Likewise.
9670         (ggc_add_tree_varray_root): Likewise.
9671         (ggc_add_tree_hash_table_root): Likewise.
9672         (ggc_del_root): Likewise.
9673         (ggc_mark_rtx_ptr): Likewise.
9674         (ggc_mark_tree_ptr): Likewise.
9675         (ggc_mark_string_ptr): Likewise.
9676         (ggc_mark_tree_varray_ptr): Likewise.
9677         (ggc_mark_tree_hash_table_ptr): Likewise.
9678         * ggc-common.c: New file.
9679         * Makefile.in (OBJS): Add ggc-common.o.
9680         (ggc-common.o): List dependencies.
9681
9682 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
9683
9684         * cppalloc.c (xstrdup): Use memcpy.
9685         * cpperror.c (cpp_print_containing_files): Don't use
9686         cpp_notice.
9687         * cpplib.c (conditional_skip): Set temp->lineno.
9688         (do_endif): Make error message less obscure.
9689         (if_directive_name): New function.
9690         (cpp_get_token [case EOF]): Unwind the if stack and generate
9691         error messages for each unterminated conditional in this file.
9692         (parse_string):  Do not behave differently if -traditional.
9693
9694 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
9695
9696         * builtins.c (expand_builtin_va_arg): Cope with an array-type
9697         va_list decomposing to pointer-type.
9698         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
9699         (rs6000_va_arg): Likewise.
9700
9701 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
9702
9703         * except.c (start_dynamic_handler): Compute size using
9704         STACK_SAVEAREA_MODE.
9705
9706 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9707
9708         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
9709         include directory headers.  Don't define strrchr.  Don't provide
9710         my_* replacement functions.  Prefer PTR over `pointer_type'.
9711         Don't prototype system functions.  Don't redefine getopt.
9712
9713         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
9714         safe_read, safe_write, save_pointers, restore_pointers,
9715         is_id_char, in_system_include_dir, directory_specified_p,
9716         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
9717         find_corresponding_lparen, referenced_file_is_newer,
9718         save_def_or_dec, munge_compile_params, gen_aux_info_file,
9719         process_aux_info_file, identify_lineno, check_source,
9720         seek_to_line, forward_to_next_token_char, output_bytes,
9721         output_string, output_up_to, other_variable_style_function,
9722         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
9723         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
9724         find_static_definition, connect_defs_and_decs, add_local_decl,
9725         add_global_decls, needs_to_be_converted, visit_each_hash_node,
9726         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
9727         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
9728         scan_for_missed_items, edit_file, string_list_cons): Add static
9729         prototypes.
9730         (standard_exec_prefix, target_machine, target_version,
9731         default_syscalls_dir, string_list, string_list_cons, find_file,
9732         do_cleaning): Constify a char*.
9733         (safe_read, safe_write): Use PTR, not a char*.
9734         (is_id_char): Take an int, not a char.
9735         (main): Add prototype.  Call return, not exit.
9736
9737 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
9738
9739         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
9740         when comparing types.
9741
9742 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
9743
9744         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
9745         (strength_reduce): Release the varrays from the no-bivs early exit.
9746
9747         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
9748         the loop over the registers.
9749
9750         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
9751         for a new obstack.
9752         (restore_tree_status): Check that instead when freeing the obstack.
9753
9754 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
9755
9756         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
9757         as pointers.
9758
9759 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9760
9761         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
9762         operand size modifiers.
9763
9764 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9765
9766         * c-common.c (c_common_nodes_and_builtins): Don't build
9767         va_list_type_node.
9768         * c-common.h (enum c_tree_index and related accesor macros): Remove
9769         everything now declared in tree.h.
9770         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9771         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
9772         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
9773         (error_mark_node, void_type_node, char_type_node, integer_type_node,
9774         unsigned_type_node, ptr_type_node, va_list_type_node,
9775         integer_zero_node, null_pointer_node, integer_one_node): Delete.
9776         (init_decl_processing): Call build_common_tree_nodes and
9777         build_common_tree_nodes_2 instead of building their nodes here.
9778         Don't add roots for these nodes.
9779         * stor-layout.c (size_zero_node, size_one_node): Delete.
9780         (set_sizetype): Make a new node for bitsizetype each time.
9781         * tree.c (global_trees): New variable.
9782         (init_obstacks): Add a gc root for it.
9783         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9784         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
9785         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
9786         (build_common_tree_nodes): New function.
9787         (fix_sizetype): New function.
9788         (build_common_tree_nodes_2): New function.
9789         * tree.h (enum tree_index): New.
9790         (global_trees): Declare.
9791         Add accessor macros for all nodes now moved to global_trees.
9792         Delete their declarations.
9793
9794 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
9795
9796         * c-decl.c (finish_function): When processing a nested function,
9797         push and pop GC context around rest_of_compilation.
9798
9799 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
9800
9801         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
9802         Default ix86_arch to PROCESSOR_I386.
9803         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
9804         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
9805         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
9806         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
9807         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
9808         (EXTRA_SPECS): Remove deleted specs.
9809
9810 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
9811
9812         * function.c (assign_stack_local_1): Allocate from
9813         function->x_frame_offset, not frame_offset.
9814
9815 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
9816
9817         * ggc.h (lang_cleanup_tree): Remove.
9818         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
9819         * ggc-callbacks.c (lang_cleanup_tree): Remove.
9820
9821         * c-decl.c (finish_struct): Use ggc_alloc to allocate
9822         TYPE_LANG_SPECIFIC when garbage collecting.
9823         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
9824         (lang_cleanup_tree): Remove.
9825
9826 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
9827
9828         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
9829         * crtstuff.c: Not here.
9830         * dwarf2out.c: Or here.
9831         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
9832         info.
9833
9834 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
9835
9836         * function.h (free_after_compilation): Remove decl parameter.
9837         (free_varasm_status0: Likewise.
9838         (free_emit_status): Likewise.
9839         (free_stmt_status): Likewise.
9840         (free_after_compilation): Likewise.
9841         (init_lang_status): New variable.
9842         (free_lang_status): Likewise.
9843         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
9844         * function.c (init_lang_status): New variable.
9845         (free_lang_status): Likewise.
9846         (push_function_context_to): Don't set function::decl here.
9847         (free_after_copmilation): Make decl parameter implicit.  Call
9848         free_lang_status if defined.
9849         (prepare_function_start): Call init_lang_status if defined.
9850         (init_function_start): Set function::decl here.
9851         * profile.c (output_func_start_profiler): Don't call pushdecl
9852         until we've actually started the function.
9853         * stmt.c (free_stmt_status): Make decl parameter implicit.
9854         * toplev.c (rest_of_compilation): Don't pass decl to
9855         free_after_compilation.
9856         * varasm.c (free_varasm_status): Likewise.
9857
9858 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9859
9860         * except.c (call_get_eh_context): Add root when allocating static
9861         tree variable.
9862
9863 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
9864
9865         * arm.c: Include "ggc.h".
9866         (arm_add_gc_roots): New function.
9867         (arm_override_options): Call it.
9868         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
9869
9870         * arm.md (define_asm_attributes): Add a pool_range attribute.
9871
9872 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
9873
9874         * extend.texi (Volatiles): New node.
9875
9876 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
9877
9878         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
9879         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
9880         (struct ggc_any): Replace `mark' with `magic_mark'.
9881         (ggc_alloc_string): Use memcpy, not bcopy.
9882         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
9883         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
9884         (ggc_free_any): New.
9885         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
9886         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
9887         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
9888         Use IS_MARKED. Use ggc_free_any.
9889
9890 1999-09-09  Scott Bambrough <scottb@netwinder.org>
9891
9892         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
9893
9894 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
9895
9896         * toplev.c (main): Always init_ggc.
9897
9898 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
9899
9900         * except.c (find_all_handler_type_matches): Free the list if
9901         we found no matches.
9902
9903         * combine.c (SUBST): Break out to a real function do_SUBST.
9904         (SUBST_INT): Likewise.
9905         * gcse.c (free_pre_mem): Free `temp_bitmap'.
9906         (pre_insert): Free `inserted'.
9907         * loop.c (basic_induction_var): Always set `location'.
9908
9909         * function.c (expand_function_end): Add initial_trampoline as a root.
9910         * rtl.h (init_varasm_once): Declare.
9911         * toplev.c (compile_file): Call it.
9912         * ggc-simple.c (ggc_mark_string_ptr): New.
9913         (ggc_add_string_root): New.
9914         (ggc_collect): Disable collection avoidance temporarily.
9915         * ggc.h (ggc_add_string_root): Declare.
9916         * except.c (create_rethrow_ref): Use ggc_alloc_string.
9917         * optabs.c (init_libfuncs): Likewise.
9918         * varasm.c (named_section): Use ggc_alloc_string.
9919         (make_function_rtl): Likewise.
9920         (make_decl_rtl): Likewise.
9921         (assemble_static_space): Likewise.
9922         (assemble_trampoline_template): Likewise.
9923         (output_constant_def): Likewise.
9924         (force_const_mem): Likewise.
9925         (mark_const_hash_entry): New.
9926         (mark_pool_sym_hash_table): New.
9927         (mark_varasm_state): Use it.
9928         (init_varasm_once): New.
9929
9930         * expr.h (init_one_libfunc): Declare.
9931         * optabs.c (init_one_libfunc): New.
9932         (init_optabs): Use it.
9933         * config/gofast.h: Likewise.
9934         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
9935         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
9936
9937 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9938
9939         * Makefile.in (cppexp.o): Depend on cpphash.h.
9940         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
9941         Include cpphash.h.
9942         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
9943         * cpplib.c (do_define): Generalise to handle poisoned definitions,
9944         redefining poisoned identifiers, etc.
9945         (do_undef): Don't allow poisoned identifiers to be undefined.
9946         (do_pragma): Add #pragma poison.
9947         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9948
9949         * cccp.c: Add T_POISON node type.
9950         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
9951         poisoned xxx.
9952         (do_define): Generalise to handle poisoned definitions,
9953         redefining poisoned identifiers, etc.
9954         (do_undef): Don't allow poisoned identifiers to be undefined.
9955         (do_pragma): Add #pragma poison.
9956         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9957
9958         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
9959         * c-pragma.h: Add ps_poison state.  We now always have generic
9960         pragmas.
9961
9962 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
9963
9964         * ggc.h (ggc_alloc): New function.
9965         (ggc_mark): Likewise.
9966         * ggc-simple.c (ggc_any): New structure.
9967         (ggc_status): Add anys.
9968         (n_anys_collected): New variable.
9969         (ggc_alloc): Define.
9970         (ggc_mark): Likewise.
9971         (ggc_collect): Collect the anys.
9972
9973 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9974
9975         * c-decl.c (mark_binding_level): Make static to match prototype.
9976
9977 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
9978
9979         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
9980
9981 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
9982
9983         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
9984         will use into account.  Expand the max width to 5.
9985         * rtl.c: Likewise.
9986
9987 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
9988
9989         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
9990         for the rtx length.
9991
9992 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
9993
9994         * alpha.md (call value patterns): Remove the result predicates.
9995
9996 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
9997
9998         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
9999         last change.
10000
10001 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10002
10003         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
10004         changed from extern char *, to extern PTR.  Also fix typo in
10005         NEED_DECLARATION_REALLOC test.
10006
10007         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
10008
10009 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10010
10011         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
10012         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
10013         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
10014         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
10015
10016         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
10017
10018         * cccp.c (pcfinclude): Likewise.
10019
10020         * global.c (allocno_compare): Likewise.
10021
10022         * haifa-sched.c (rank_for_schedule): Likewise.
10023
10024         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
10025
10026         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
10027
10028         * stupid.c (stupid_reg_compare): Likewise.
10029
10030         * tree.c (_obstack_allocated_p): Likewise.
10031
10032         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
10033
10034 1999-09-08  Bruce Korb  autogen@linuxbox.com
10035
10036         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
10037         why "gperf -F" fails.
10038         * gcc/cp/Makefile.in: ditto
10039         * gcc/Makefile.in: ditto
10040         * gcc/java/Makefile.in: ditto
10041
10042 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
10043
10044         * lists.c: Include ggc.h.
10045         (zap_lists): New.
10046         (init_EXPR_INSN_LIST_cache): Install it.
10047
10048         * ggc-simple.c (init_ggc): Absorb the old init.
10049         (ggc_push_context): Use xcalloc.
10050         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
10051         (ggc_collect): Add [rvts] tags to the collection stats.
10052
10053 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
10054
10055         * cccp.c (main): Fix handling of -include and -imacros options.
10056
10057 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
10058
10059         * cpplib.c (cpp_push_buffer): Fix order of arguments.
10060
10061 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
10062
10063         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
10064         genrtl.c.
10065
10066 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
10067
10068         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
10069         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
10070         and SET_DEST. Update comment.
10071
10072 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10073
10074         * config/c4x/c4x.c: Include ggc.h.
10075         (c4x_add_gc_roots): New function.
10076         (c4x_override_options): Call c4x_add_gc_roots.
10077
10078 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
10079
10080         * defaults.h (TARGET_ESC): Move ...
10081         * system.h: ... here, where Linas had it in the first place.  Silly me.
10082
10083 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
10084
10085         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
10086         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
10087         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
10088         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
10089         * defaults.h (TARGET_ESC): Add default.
10090
10091 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
10092
10093         * configure.in: add i370-*-openedition, i370-*-mvs and
10094         i370-*-linux targets
10095
10096 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
10097
10098         * dsp16xxx.c: Include ggc.h
10099         (override_options): Mark GC roots.
10100         * mn10200.c: Include ggc.h.
10101         (asm_file_start): Mark GC roots.
10102         * tahoe.c: Include ggc.h.
10103         (extensible_operand): Mark GC roots.
10104
10105 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
10106
10107         * README: Add section discussing status of ELF ABI.
10108         * i370.c: Fix misc spelling mistakes.
10109         (i370_label_scan): Updated notes, exception handling.
10110         (i370_function_prolog): Simplify ELF stack handling.
10111         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
10112         (STACK_GROWS_DOWNWARD): ELF stack grows down.
10113         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
10114         * i370.md: (movdi): Add notes.
10115         (floatsidf2): Use stack not rtca for scratch float area.
10116         (iorsi3): Correct operand constraints.
10117         * x-oe: Restore TAROUTOPTS which are used by pax.
10118
10119 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
10120
10121         * rs6000.c: Include ggc.h.
10122         (rs6000_add_gc_roots): New function.
10123         (override_options): Call it.
10124
10125 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
10126
10127         * alpha.h (alpha_compare): New.
10128         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
10129         * alpha.c: Likewise for the definitions.
10130         (alpha_emit_conditional_branch): Update for alpha_compare.
10131         (alpha_emit_conditional_move): Likewise.
10132         * alpha.md (cmpdf, cmpdi): Likewise.
10133         (setcc patterns): Likewise.  Zero alpha_compare after use.
10134         (sne): Optimize (x != 0) into (0U < x).
10135
10136 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
10137
10138         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
10139         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
10140         (INIT_EXPANDERS): Remove.
10141         * alpha.c: Include ggc.h.
10142         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
10143         (alpha_init_machine_status, alpha_mark_machine_status): New.
10144         (override_options): Install them.
10145         (struct machine_function): Moved to alpha.h.
10146         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
10147         (alpha_init_expanders): Remove.
10148         (alpha_return_addr): Adjust to use current_function->machine.
10149         (alpha_ra_ever_killed): Likewise.
10150         (alpha_expand_epilogue): Likewise.
10151         * alpha.md (eh_epilogue): Likewise.
10152
10153 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
10154                           Melissa O'Neill  <oneill@cs.sfu.ca>
10155                           Geoffrey Keating  <geoffk@cygnus.com>
10156
10157         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
10158         call-used registers (call-saved registers must still be contiguous
10159         and end with r31, of course).
10160
10161 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
10162
10163         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
10164         (self_promoting_type_p): Delete.
10165         (self_promoting_args_p): Move ...
10166         * c-common.c: ... here.
10167         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
10168         (simple_type_promotes_to): New.
10169         * builtins.c (lang_type_promotes_to): New.
10170         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
10171         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
10172         * c-common.h: ... here.
10173         (self_promoting_args_p, simple_type_promotes_to): Declare.
10174         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
10175         (grokdeclarator): Likewise.
10176         * tree.h (lang_type_promotes_to): Declare.
10177
10178 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
10179
10180         Add some machine-dependent GC roots.
10181         * sparc.c: Include ggc.h.
10182         (sparc_add_gc_roots): New function.
10183         (mark_ultrasparc_pipeline_state): Likewise.
10184         (override_options): Call sparc_add_gc_roots.
10185         * pa.c: Include ggc.h.
10186         (pa_add_gc_roots): New function.
10187         (mark_deferred_plabels): Likewise.
10188         (override_options): Call pa_add_gc_roots.
10189         * mips.c: Include ggc.h.
10190         (mips_add_gc_roots): New function.
10191         (override_options): Use it.
10192
10193 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10194
10195         * cpperror.c (cpp_file_line_for_message): Constify a char*.
10196
10197         * cppexp.c (parse_number, parse_charconst, cpp_lex,
10198         cpp_parse_expr): Add static prototypes.
10199         (parse_charconst): Don't cast away const-ness.
10200         (token): Constify a char*.
10201
10202         * cppfiles.c (file_name_list, include_hash, find_include_file,
10203         finclude, initialize_input_buffer): Constify a char*.
10204         (file_cleanup, find_position): Add static prototypes.
10205
10206         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
10207         collect_expansion): Add static prototypes.
10208         (cpp_install, create_definition, monthnames): Constify a char*.
10209
10210         * cpphash.h (cpp_install): Likewise.
10211
10212         * cppinit.c (known_suffixes, default_include,
10213         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
10214         (base_name, dump_special_to_buffer, initialize_dependency_output):
10215         Add static prototypes.
10216
10217         * cpplib.c (my_strerror): Constify a char*.
10218         (null_underflow, null_cleanup, skip_comment, copy_comment,
10219         copy_rest_of_line, handle_directive, pass_thru_directive,
10220         get_directive_token, read_line_number, cpp_print_file_and_line,
10221         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
10222         v_cpp_warning_with_line, detect_if_not_defined,
10223         consider_directive_while_skipping): Add static prototypes.
10224         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
10225         cpp_pedwarn_with_file_and_line): Constify a char*.
10226
10227         * cpplib.h (cpp_options, include_hash, progname, definition,
10228         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
10229         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
10230         find_include_file, deps_output, include_hash): Constify a char*.
10231
10232         * cppmain.c (progname): Constify.
10233         (main): Add prototype.  Use return, not exit.
10234
10235         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
10236         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
10237         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
10238         check_protection): Add static prototype.
10239         (xfree): Remove.
10240         (progname, recognized_macrom, recognized_extern): Constify a char*.
10241         (main): Add prototype.
10242
10243         * gen-protos.c (progname): Constify a char*.
10244
10245 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
10246
10247         * emit-rtl.c (free_emit_status): Take decl as a parameter.
10248         (init_emit_once): Add more GC roots.
10249         * except.c (mark_func_eh_entry): New function.
10250         (mark_eh_node): Mark false_label and rethrow_label.
10251         (init_eh): Add more GC roots.
10252         * function.c (free_after_compilation): Take decl as a paramter.
10253         Call free_stmt_status.
10254         (mark_function_state): Don't assume x_parm_reg_stack_loc is
10255         non-NULL.
10256         * function.h (free_after_compilation): Change prototype.
10257         (free_varasm_status): Likewise.
10258         (free_emit_status): Likewise.
10259         (free_stmt_status): New function.
10260         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
10261         Remove, replacing with ...
10262         (ggc_status): New structure.
10263         (ggc_chain): New variable.
10264         (init_gcc): Define.
10265         (ggc_push_context): New function.
10266         (ggc_pop_context): Likewise.
10267         (ggc_alloc_rtx): Adjust for use of ggc_chain.
10268         (ggc_alloc_rtvec): Likewise.
10269         (ggc_alloc_tree): Likewise.
10270         (ggc_alloc_string): Likewise.
10271         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
10272         (ggc_mark_tree): Give language-dependent code a chance to mark
10273         `x' nodes.
10274         (ggc_mark_tree_varray): Handle empty arrays.
10275         (ggc_collect): Adjust for use of ggc_chain.  Clear
10276         bytes_alloced_since_last_gc.
10277         * ggc.h (ggc_pop_context): New function.
10278         (ggc_push_context): Likewise.
10279         * print-tree.c (print_node): Don't print obstacks when GC'ing.
10280         * stmt.c (free_stmt_status): New function.
10281         (init_stmt_for_function): Clear last_expr_value.
10282         * toplev.c (rest_of_compilation): Always call free_after_compilation.
10283         Conditionalize call to ggc_collect.
10284         (main): Call init_ggc.
10285         * tree.c (push_obstacks): Do the push, even when GC'ing.
10286         (push_obstacks_nochange): Likewise.
10287         (pop_obstacks): Liekwise.
10288         * varasm.c (free_varasm_status): Take decl as a parameter.
10289
10290 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
10291
10292         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
10293         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
10294         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
10295         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
10296
10297 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
10298
10299         * pa/x-pa-mpeix: New file for the MPE port.
10300
10301         * pa/quadlib.asm: New file for long double support.
10302
10303         * configure.in: Add hppa1.0-*-mpeix for MPE port.
10304         * configure: Rebuilt.
10305
10306 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
10307
10308         * final.c (shorten_branches): Fix last change.
10309
10310 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
10311
10312         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
10313
10314 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
10315
10316         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
10317         details.
10318
10319 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10320
10321         * c-aux-info.c (concat): Don't define.
10322
10323         * cccp.c (my_strerror): Likewise.  All callers changed to use
10324         xstrerror instead.
10325         (do_include): Call xstrdup, not xmalloc/strcpy.
10326         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
10327         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
10328
10329         * collect2.c (my_strsignal): Likewise.  All callers changed to use
10330         strsignal instead.
10331         (locatelib): Call xstrdup, not xmalloc/strcpy.
10332
10333         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
10334
10335         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
10336
10337         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
10338
10339         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
10340
10341         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
10342
10343         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
10344
10345         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
10346         malloc/realloc.
10347         (find_all_handler_type_matches): Likewise.  Don't check return
10348         value.
10349         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
10350         xmalloc, not malloc.
10351         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
10352
10353         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
10354         (init_spec): Call xcalloc, not xmalloc/bzero.
10355         (set_spec): Call xstrdup, not save_string.
10356         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
10357         (find_a_file): Call xstrdup, not xmalloc/strcpy.
10358         (process_command): Call xstrdup, not save_string.
10359         (main): Call xcalloc, not xmalloc/bzero.
10360
10361         * gcov.c (xmalloc): Don't define.
10362         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
10363         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
10364         (output_data): Call xcalloc, not xmalloc/bzero.
10365
10366         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
10367
10368         * mips-tdump.c (xmalloc): Don't define.
10369         (print_symbol): Call xmalloc, not malloc.
10370         (read_tfile): Call xcalloc, not calloc.
10371
10372         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
10373         Don't define.  All callers of xfree/my_strsignal changed to use
10374         free/strsignal instead.
10375         (allocate_cluster): Call xcalloc, not calloc.
10376
10377         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
10378         Fix memory leak, free allocated memory.
10379
10380         * prefix.c (translate_name): Call xstrdup, not save_string.
10381         (update_path): Likewise.
10382
10383         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
10384
10385         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
10386         Don't define.  Callers of xfree/savestring2 changed to use
10387         free/concat instead.
10388
10389         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
10390         (init_elim_table): Likewise.
10391
10392         * resource.c (init_resource_info): Likewise.
10393
10394         * stupid.c (stupid_life_analysis): Likewise.
10395
10396         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
10397         (open_dump_file): Call concat, not xmalloc/strcpy/...
10398         (clean_dump_file): Likewise.
10399         (compile_file): Call xstrdup, not xmalloc/strcpy.
10400
10401 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
10402
10403         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
10404         * v850.c (v850_va_arg): New.
10405
10406 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10407
10408         * haifa-sched.c: Tidy comments.
10409
10410 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10411
10412         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
10413         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
10414         $(out_object_file)): Depend on ggc.h.
10415         * c-common.c: Include "ggc.h".
10416         (combine_strings): If doing GC, use ggc_alloc_string.
10417         * c-decl.c: Include "ggc.h".
10418         (ggc_p): Define with value 0.
10419         (mark_binding_level): New function.
10420         (init_decl_processing): Add GC roots.
10421         (mark_c_function_context): New function.
10422         (lang_mark_false_label_stack): New function.
10423         (lang_mark_tree): New function.
10424         (lang_cleanup_tree): New function.
10425         * c-lang.c: Include "ggc.h".
10426         (lang_init): Call c_parse_init.
10427         * c-lex.c: Include "ggc.h".
10428         (check_linenum): If doing GC, don't copy filenames to permanent
10429         obstack.
10430         * c-parse.in: Include "ggc.h".
10431         (c_parse_init): New function.
10432         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
10433         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
10434
10435         * except.c (mark_eh_state): Mark more state.
10436         * function.c (mark_function_state): Likewise.
10437         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
10438         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
10439         * toplev.c (mark_file_stack): New function.
10440         (compile_file): If doing GC, use ggc_alloc_string on input filename.
10441         (main): Add root for input_file_stack.
10442
10443         * i386.c: Include "ggc.h".
10444         (ix86_mark_machine_status): New function.
10445         (override_options): Set mark_machine_status.
10446
10447 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10448
10449         * tree.c (copy_node): Copy node contents also if doing GC.
10450
10451 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
10452
10453         * collect2.c (scan_libraries): Fix double-thinko :-).
10454
10455 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
10456
10457         * collect2.c (scan_libraries): Fix thinko.
10458
10459         * cse.c (delete_trivially_dead_insns): Do not skip the last
10460         insn if it is a real insn.
10461
10462 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
10463
10464         * Makefile.in (ggc-simple.o): Depend on hash.h.
10465         * ggc.h (ggc_add_tree_hash_table_root): Declare.
10466         (ggc_mark_tree_varray): Likewise.
10467         (ggc_mark_tree_hash_table): Likewise.
10468         * ggc-simple.c: Include hash.h.
10469         (ggc_mark_tree_hash_table_ptr): New function.
10470         (ggc_mark_tree_hash_table_entry): Likewise.
10471         (ggc_mark_tree_hash_table): Likewise.
10472         (ggc_add_tree_hash_table_root): Likewise.
10473         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
10474         rtx, when defining fields.
10475
10476 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10477
10478         * profile.c (output_func_start_profiler): Remove apparently
10479         nonsensical call to start_sequence.
10480
10481 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
10482
10483         * clipper/clipper.c (clipper_va_start): Fix typos.
10484
10485         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
10486         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
10487         (spur_va_arg): New stub.
10488
10489         * configure.in: Comment out pyramid.
10490
10491 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
10492
10493         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
10494         don't conflict with the bits that win32, cygwin, and dgux
10495         defines.
10496
10497 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
10498                           Bernd Schmidt <bernds@cygnus.co.uk>
10499
10500         * integrate.c (function_cannot_inline_p): Do not inline
10501         functions with forced labels.
10502
10503 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
10504                           Bernd Schmidt <bernds@cygnus.co.uk>
10505                           Mark Mitchell  <mark@codesourcery.com>
10506
10507         * Makefile.in (ggc-simple.o): Depend on varray.h.
10508         (rtl.o): Depend on ggc.h.
10509         (genattrtab.o): Depend on ggc.h.
10510         (print-tree.o): Likewise.
10511         (fold-const.o): Likewise.
10512         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
10513         (make_insn_raw): Don't cache insns when GC'ing.
10514         (emit_insn_before): Likewise.
10515         (emit_insn_after): Likewise.
10516         (emit_insn): Likewise.
10517         (start_sequence): Use xmalloc to allocate the sequence_stack.
10518         (end_sequence): Add free to free it.
10519         (gen_sequence): Don't cache insns when GC'ing.
10520         (clear_emit_caches): Don't use sequence_element_free_list.
10521         (init_emit): Use xcalloc, not xmalloc+bzero.
10522         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
10523         * function.c (pop_function_context_from): Use free to free the
10524         fixup_var_refs_queue.
10525         (put_reg_into_stack): Allocate it with xmalloc.
10526         * genattrtab.c: Include ggc.h.
10527         (operate_exp): Don't use obstack_free when GC'ing.
10528         (simplify_cond): Likewise.
10529         (simplify_text_exp): Likewise.
10530         (optimize_attrs): Likewise.
10531         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
10532         GC'ing.
10533         (gencode): Generate a #include for ggc.h.
10534         * ggc-callbacks.c (ggc_p): Define it to zero.
10535         * ggc-none.c (ggc_p): Likewise.
10536         * ggc-simple.c: Include varray.h.
10537         (ggc_mark_tree_varray): New function.
10538         (ggc_add_tree_varray_root): Likewise.
10539         (ggc_mark_tree_varray_ptr): Likewise.
10540         * ggc.h (ggc_p): Declare.
10541         (varray_head_tag): Likewise.
10542         (ggc_add_tree_varray_root): Declare.
10543         * print-tree.c (print_node): Don't check for TREE_PERMANENT
10544         inconsistencies when GC'ing.
10545         * rtl.c: Include ggc.h.
10546         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
10547         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
10548         (rtx_free): Don't call obstack_free when GC'ing.
10549         * toplev.c (rest_of_compilation): Call ggc_collect after every
10550         pass, if GC'ing.
10551         * tree.c (push_obstacks): Do nothing, if GC'ing.
10552         (pop_obstacks_nochange): Likewise.
10553         (pop_obstacks): Likewise.
10554         (make_node): Use ggc_alloc_tree when GC'ing.
10555         (copy_node): Likewise.
10556         (get_identifier): Use ggc_alloc_string when GC'ing.
10557         (build_string): Likewise.
10558         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
10559         (tree_cons): Likewise.
10560         (build1): Likewise.
10561         (type_hash_canon): Don't call obstack_free when GC'ing.
10562
10563 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
10564
10565         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
10566         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
10567
10568 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
10569                           Bernd Schmidt <bernds@cygnus.co.uk>
10570                           Mark Mitchell  <mark@codesourcery.com>
10571
10572         * Makefile.in (stor-layout.o): Depend on ggc.h.
10573         (expr.o): Depend on ggc.h.
10574         (profile.o): Depend on ggc.h.
10575         (stor-layout.o): Depend on ggc.h.
10576         * emit-rtl.c (init_emit_once): Add gc roots.
10577         * expr.c: Include ggc.h.
10578         (emit_block_move): Add gc roots.
10579         (clear_storage): Likewise.
10580         * expr.h (init_stor_layout_once): New function.
10581         * profile.c: Include ggc.h.
10582         (init_arc_profiler): profiler_label is a root.
10583         * scan.c (make_sstring_space): Trust xrealloc to function
10584         correctly with first parameter NULL.
10585         * stor-layout.c: Include ggc.h.
10586         (set_sizetype): Add gc root.
10587         (init_stor_layout_once): New function.
10588         * toplev.c (compile_file): Call it.
10589
10590 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
10591                           Bernd Schmidt <bernds@cygnus.co.uk>
10592                           Mark Mitchell  <mark@codesourcery.com>
10593
10594         * Makefile.in (tree.o): Depend on ggc.h.
10595         (varasm.o): Likewise.
10596         (function.o): Likewise.
10597         (stmt.o): Likewise.
10598         (except.o): Likewise.
10599         (optabs.o): Likewise.
10600         (emit-rtl.o): Likewise.
10601         * emit-rtl.c: Include ggc.h.
10602         (sequence_element_free_list): Remove, and all references.
10603         (mark_sequence): New functions.
10604         (mark_emit_state): New function.
10605         * except.c: Include ggc.h.
10606         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
10607         (mark_tree_label_node): New functions.
10608         (mark_eh_state): New function.
10609         * function.c: Include ggc.h.
10610         (mark_temp_slot, mark_function_chain): New functions.
10611         (mark_function_state): New function.
10612         (init_function_once): New function.
10613         * function.h (init_function_once): New function.
10614         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
10615         * ggc.h (label_node): Declare.
10616         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
10617         (lang_mark_false_label_stack): New function.
10618         (mark_temp_slot): Remove declaration.
10619         (mark_function_chain): Likewise.
10620         (mark_eh_state): Adjust prototype.
10621         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
10622         Likewise.
10623         * optabs.c: Include ggc.h.
10624         (mark_optab): New function.
10625         (init_optabs): Add gc roots.
10626         * stmt.c: Include ggc.h.
10627         (mark_cond_nesting, mark_loop_nesting): New functions.
10628         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
10629         (mark_stmt_state): New function.
10630         * toplev.c (compile_file): Call init_function_once.
10631         * tree.c: Include ggc.h.
10632         (type_hash): Move declaration earlier in file.
10633         (TYPE_HASH_SIZE, type_hash_table): Likewise.
10634         (init_obstacks): Add gc roots.
10635         (mark_type_hash): New function.
10636         * varasm.c: Include ggc.h.
10637         (mark_pool_constant): New function.
10638         (mark_varasm_state): New function.
10639
10640 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10641
10642         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
10643
10644 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
10645
10646         * c-decl.c (struct language_function): Renamed from struct c_function.
10647         Delete elt NEXT.
10648         (c_function_chain): Delete.
10649         (push_c_function_context): New arg F.  Don't warn about nested
10650         functions here.  Fill LANGUAGE elt of F.  Delete code to update
10651         c_function_chain.  Don't call push_function_context.
10652         (pop_c_function_context): New arg F.  Restore from there instead of
10653         from c_function_chain.  Don't call pop_function_context.  Clear out
10654         LANGUAGE field of F when done.
10655         * c-lang.c: Include "function.h"
10656         (lang_init): Initialize save_lang_status and restore_lang_status.
10657         * c-parse.in (nested_function, nested_function_notype): Warn about
10658         nested functions.  Call push_function_context/pop_function_context
10659         instead of the _c_ variants.
10660         * c-tree.h (push_c_function_context, pop_c_function_context): Update
10661         prototype.
10662         * Makefile.in (c-lang.o): Update dependencies.
10663
10664         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
10665         regno_pointer_flag, regno_pointer_align.
10666         (gen_reg_rtx): Use xrealloc to enlarge them.
10667         (free_emit_status): New function.
10668         * function.c (mark_machine_status, mark_lang_status): New variables.
10669         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
10670         in some bits from assign_stack_local.  All callers changed to use new
10671         name.
10672         (assign_stack_local): Just call assign_stack_local_1.
10673         (free_after_compilation): New function.
10674         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
10675         (trampoline_address): Likewise.
10676         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
10677         (prepare_function_start): Explicitly clear some more variables.
10678         * function.h (struct function): New elt can_garbage_collect.
10679         (mark_machine_status, mark_lang_status): Declare variables.
10680         (free_after_compilation, free_emit_status, free_varasm_status,
10681         init_varasm_status): Declare functions.
10682         * toplev.c (rest_of_compilation): Call free_after_compilation when
10683         done with the current function.
10684         * varasm.c (free_varasm_status): New function.
10685
10686 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
10687
10688         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
10689         (EXPAND_BUILTIN_VA_ARG): Define.
10690         * sparc.c (sparc_va_start): New.
10691         (sparc_va_arg): New.
10692
10693 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10694
10695         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
10696
10697 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10698
10699         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
10700
10701 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
10702
10703         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
10704         (OBJS): Add $(GGC).
10705         (ggc-callbacks.o): New target.
10706         * ggc-callbacks.c: New file.
10707
10708 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10709
10710         * expr.h: Collapse individual optab and libfunc vars to arrays.
10711         (optab_index, libfunc_index): New enumerations.
10712         (optab_table, libfunc_table): New arrays.
10713         Add accessor macros for both.
10714
10715         * optabs.c (optab_table, libfunc_table): New.
10716         Delete declarations for individual optab and libfunc vars.
10717
10718 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
10719
10720         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
10721
10722 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
10723
10724         * Makefile.in (GGC, GGC_LIB): New.
10725         (HOST_RTL): Include ggc-none.o.
10726         (ggc-simple.o): New target.
10727         (ggc-none.o): Likewise.
10728         * tree.h (tree_common): Add gc_mark.
10729         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
10730         (struct rtvec_def): Add gc_mark.
10731         * emit-rtl.c (global_rtl): Update static initializers to contain
10732         enough initializers.
10733         * ggc.h, ggc-none.c, ggc-simple.c: New files.
10734         * toplev.c (gc_time): New variable.
10735         (all_time): New variable.
10736         (compile_file): Print gc time.
10737         (print_time): Calculate percentage of the whole.
10738
10739 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10740
10741         Change obstack memory management and varasm constant pool handling so
10742         that nested functions are treated like any other functions.
10743         * function.c (init_machine_status): New variable.
10744         (push_function_context_to): Set contains_functions for the outer
10745         function.  Don't call save_varasm_status.
10746         (pop_function_context_from): Don't call restore_varasm_status.  Don't
10747         set current_function_contains_functions.
10748         (prepare_function_start): Call init_varasm_status rather than
10749         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
10750         is non-null.
10751         * function.h (struct function) Add field varasm.  Delete fields
10752         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
10753         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
10754         (init_machine_status): Declare.
10755         (save_varasm_status, restore_varasm_status): Delete declarations.
10756         (save_tree_status, restore_tree_status): Delete last argument.
10757         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
10758         code.  All callers changed.
10759         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
10760         save_constants_in_decl_trees, restore_constants, save_constants,
10761         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
10762         functions.
10763         (inlining): New variable.
10764         (reg_map, label_map, insn_map, orig_asm_operands_vector,
10765         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
10766         variables.
10767         (save_for_inline_nocopy): Don't save constants.
10768         Don't set inl_emit field in current_function.
10769         (expand_inline_function): Use emit field, not inl_emit, of the inlined
10770         function.  Set new variable inlining before
10771         calling copy_rtx_and_substitute.
10772         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
10773         constant pool references if inlining is nonzero.
10774         Delete ADDRESS and (most of the) CONST cases.
10775         (output_inline_function): Save and restore current_function/
10776         current_function_decl.  Delete restore_constants code.  Don't call
10777         init_const_rtx_hash_table.
10778         * output.h (init_const_rtx_hash_table): Don't declare.
10779         * rtl.h (struct function): Declare.
10780         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
10781         * toplev.c (rest_of_compilation): Don't treat nested functions or
10782         functions containing them specially.  Delete all code to deal with
10783         save_for_inline_copying.
10784         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
10785         inline_obstacks): Delete variables.
10786         (save_tree_status): Lose arg CONTEXT.  All callers changed.
10787         Simply allocate a new function_maybepermanent_obstack for the new
10788         function, delete all the special cases.
10789         Don't save inline_obstacks.
10790         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
10791         Delete special handling for function_maybepermanent_obstack; simply
10792         free it if empty.
10793         Don't restore inline_obstacks.
10794         (permanent_allocation):  Delete code that frees inline_obstacks.
10795         (print_inline_obstack_statistics): Delete function.
10796         (dump_tree_statistics): Don't call it.
10797         * varasm.c (struct varasm_status): New.
10798         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
10799         last_pool, pool_offset, const_double_chain): Delete global
10800         variables, replace with accessor macros.
10801         (immed_double_const): Don't walk const_double_chain outside a
10802         function, but don't treat nested functions specially anymore.
10803         (immed_real_const_1): Likewise.
10804         (clear_const_double_mem): Don't treat nested functions specially.
10805         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
10806         (save_varasm_status, restore_varasm_status): Delete functions.
10807         (init_varasm_status): New function.
10808         (force_const_mem): Don't treat nested functions specially.
10809         (find_pool_constant): Accept new arg F, search for constants in
10810         that function's pool rather than the current one.  All callers
10811         changed.
10812         (get_pool_constant_for_function, get_pool_mode_for_function): New
10813         functions.
10814
10815         * i386.c (init_386_machine_status): New function, mostly from
10816         clear_386_stack_locals.
10817         (struct machine_functions): Rename element names to avoid name
10818         clashes.
10819         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
10820         macros, replacing global variables.
10821         (clear_386_stack_locals, save_386_machine_status,
10822         restore_386_machine_status): Delete functions.
10823         (override_options): Initialize init_machine_status.
10824         * i386.h (INIT_EXPANDERS): Delete macro.
10825         (save_386_machine_status, restore_386_machine_status,
10826         clear_386_stack_locals): Delete declarations.
10827
10828 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10829
10830         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
10831         (doloop_begin):  Simplify pattern and use emit_jump_insn.
10832         (doloop_end): Simplify pattern, switch operand order,
10833         and use emit_jump_insn.
10834
10835 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10836
10837         * function.h (struct function): Add new element LANGUAGE.
10838         (save_lang_status): Declare new variable.
10839         (restore_lang_status): Likewise.
10840         * function.c (save_lang_status): Define.
10841         (restore_lang_status): Likewise.
10842         (push_function_context_to): Call language-specific save function.
10843         (pop_function_context_from): Call language-specific restore function.
10844
10845 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
10846
10847         * i386.md (movsf_1): Check REG_P before use of REGNO.
10848         (movdf_1): Likewise.
10849         (movxf_1): Likewise.
10850         (extendsfdf2): Likewise.
10851         (extendsfxf2): Likewise.
10852         (extenddfxf2): Likewise.
10853
10854 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10855
10856         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
10857         constants into memory.
10858         (c4x_shiftable_constant): New function.
10859         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
10860         (c4x_shiftable_constant): Declare.
10861         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
10862         ashlqi3_noclobber): Add new patterns and associated splitters.
10863
10864 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
10865
10866         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
10867         * dwarf2out.c (dwarf2out_frame_init): Likewise.
10868         * final.c (shorten_branches): Likewise.
10869         * global.c (global_alloc): Likewise.
10870         * haifa-sched.c (build_control_flow): Likewise.
10871         * stmt.c (check_for_full_enumeration_handling): Likewise.
10872         (estimate_case_costs): Likewise.
10873
10874 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
10875
10876         * rtl.h (RTL_CHECKC2): Fix typo in last change.
10877
10878 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
10879
10880         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
10881         (recompute_reg_usage): Likewise.
10882         * rtlanal.c (find_regno_fusage): Likewise.
10883
10884         * rtl.c (rtl_check_failed_code1): New function.
10885         (rtl_check_failed_code2): New.
10886         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
10887         (RTL_CHECKC1, RTL_CHECKC2): New.
10888         (XC*): New accessor macros.
10889         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
10890         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
10891         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
10892         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
10893         (TRAP_*, RANGE_INFO_*): Likewise.
10894
10895 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10896
10897         * Makefile.in (tlink.o): Don't depend on toplev.h.
10898
10899         * collect2.c (c_file, o_file, export_file, import_file, ldout,
10900         output_file, nm_file_name, ldd_file_name, strip_file_name,
10901         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
10902         add_prefix, prefix_from_env, prefix_from_string, do_wait,
10903         fork_execute, maybe_unlink, add_to_list,
10904         extract_init_priority, write_list, dump_list,
10905         dump_prefix_list, write_list_with_asm, write_c_file,
10906         write_c_file_stat, write_c_file_glob, scan_prog_file,
10907         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
10908         ignore_library, extract_string, notice, dump_file, target_machine,
10909         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
10910         read_file, print_load_command): Constify a char*.
10911         (fdopen, error, fatal, fatal_perror): Don't prototype.
10912         (my_strerror): Remove.  All callers use xstrerror instead.
10913         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
10914         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
10915         to xcalloc/strcpy/strcat/...  to one call to concat.
10916         (main, scan_prog_file, scan_libraries): Use an intermediate
10917         `const char **' to build an argv array.
10918         (mapfile, libselect, libcompare, locatelib): Add prototypes.
10919
10920         * collect2.h (collect_execute, collect_wait, dump_file,
10921         file_exists): Constify a char*.
10922         (ldout, c_file_name, temporary_obstack, permanent_obstack,
10923         temporary_firstobj, vflag, debug): Add extern declarations.
10924         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
10925
10926         * tlink.c: Don't include toplev.h.
10927         (vflag, debug, ldout, c_file_name, temporary_obstack,
10928         permanent_obstack, temporary_firstobj): Don't declare.
10929         (tlink_execute, frob_extension, symbol_hash_lookup,
10930         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
10931         recompile_files, read_repo_files, demangle_new_symbols,
10932         scan_linker_output): Constify a char*.
10933         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
10934         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
10935
10936 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
10937
10938         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
10939         (relative) rather than jsr (absolute) subroutine call insns.
10940         * config/m68k/m68k-coff.h: Ditto.
10941
10942 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
10943
10944         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
10945         now rework these too.
10946         (arm_reorg): If an insn can't reach the end of the current pool,
10947         ensure that we emit that pool before the insn.
10948
10949 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
10950
10951         * tlink.c (scan_linker_output): Skip the initial underscore in
10952         a mangled name if appropriate.
10953
10954 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10955
10956         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10957         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
10958         error_with_ivar, gen_declarator, create_builtin_decl,
10959         my_build_string, generate_descriptor_table, generate_ivars_list,
10960         generate_dispatch_table, check_protocols, TAG_GETCLASS,
10961         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
10962         dump_base_name, lang_decode_option, build_encode_expr,
10963         start_class, finish_class, encode_pointer, really_start_method,
10964         gen_declaration, dump_interface, handle_class_ref, handle_impent):
10965         Constify.
10966         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
10967         Add static prototypes.
10968         (build_objc_string_decl, build_selector_reference_decl,
10969         encode_bitfield, build_class_reference_decl): Remove unused
10970         parameter, all callers changed.
10971         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
10972         (objc_printable_name): Likewise.  Change second parameter to type int.
10973         (init_objc): Use memcpy, not bcopy, to avoid casts.
10974
10975 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
10976
10977         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
10978         reg notes on a deleted insn.
10979         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
10980
10981 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
10982
10983         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
10984
10985 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10986
10987         * stmt.c (expand_asm_operands): Fix index into inout_mode when
10988         reading it.
10989
10990 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
10991
10992         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
10993         * tm.texi (MD_ASM_CLOBBERS): Document it.
10994
10995 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
10996
10997         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
10998         * except.c (expand_rethrow): Remove unused variable.
10999         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
11000         * flow.c (replace_insns): Likewise.
11001         (create_edge_list, verify_edge_list): Likewise.
11002         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
11003
11004         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
11005         is special code to run.
11006         (main): Don't define operands to emit_operand.
11007         * genrecog.c (main): Don't emit an empty peephole2_insn function.
11008
11009         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
11010
11011         * alpha/alpha.h (normal_memory_operand): Declare.
11012         (reg_no_subreg_operand): Declare.
11013         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
11014
11015 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
11016
11017         * c-parse.in (compstmt_primary_start): New, broken out of first
11018         part of compstmt handling in primary.
11019         (primary): Use it.  Add an error clause.
11020         (compstmt_nostart): Renamed from compstmt; remove all
11021         initial invocations of compstmt_start.
11022         (compstmt): New.
11023
11024 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
11025
11026         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
11027         needed.
11028
11029 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
11030
11031         * combine.c (simplify_shift_const): Remove extra semicolon.
11032         * dwarf2out.c (remove_AT): Likewise.
11033         * expmed.c (expand_mult): Likewise.
11034         * gcov.c (create_program_flow_graph): Likewise.
11035         * reorg.c (mostly_true_jump): Likewise.
11036
11037 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
11038
11039         * fold-const.c (fold_range_test): Do not try to fold the range
11040         test if the rhs or lhs has side effects.
11041
11042         * combine.c (simplify_rtx): Recognize another case of a synthesized
11043         sign extension.
11044
11045         * varasm.c (mark_constant_pool): When marking indirect references,
11046         only look at SYMBOL_REFs.
11047
11048         * except.c (expand_fixup_region_end): Do not peek at
11049         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
11050
11051 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
11052
11053         * flags.h: New variables align_loops, align_loops_log,
11054         align_jumps, align_jumps_log, align_labels, align_labels_log,
11055         align_functions, align_functions_log.
11056         * toplev.c: Define them.
11057         (f_options): Handle -falign-* when they have no argument.
11058         (main): Add logic to set variables for -falign-functions,
11059         -falign-jumps, -falign-labels, -falign-loops.
11060         Make it -fsched-verbose=<n> and -finline-limit=<n>.
11061         (display_help): Change help to match options.
11062         * final.c (LABEL_ALIGN): Default to align_labels_log.
11063         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
11064         (LOOP_ALIGN): Default to align_loops_log.
11065         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
11066         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
11067         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
11068         * varasm.c (assemble_start_function): Handle align_functions.
11069
11070         * config/sparc/sparc.h: Don't declare sparc_align_*.
11071         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
11072         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
11073         sparc.c.
11074         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
11075         it's a promise.
11076         * config/sparc/sparc.c: Delete sparc_align_loops,
11077         sparc_align_jumps, sparc_align_funcs and the corresponding string
11078         variables.
11079         (sparc_override_options): Default align_functions on ultrasparc.
11080         Delete -malign-* handling.
11081
11082         * config/mips/mips.c (override_options):  On 64-bit targets,
11083         try to align code to 64-bit boundaries.
11084         (print_operand): New substitution, %~,
11085         which aligns labels to align_labels_log.
11086         * config/mips/mips.md (div_trap_normal): Use %~.
11087         (div_trap_mips16): Likewise.
11088         (abssi): Likewise.
11089         (absdi2): Likewise.
11090         (ffssi2): Likewise.
11091         (ffsdi2): Likewise.
11092         (ashldi3_internal): Likewise.
11093         (ashrdi3_internal): Likewise.
11094         (lshrdi3_internal): Likewise.
11095         (casesi_internal): Likewise.
11096
11097 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
11098
11099         Merge new ia32 backend from the branch!
11100
11101         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
11102         See ChangeLog.P2 on new_ia32_branch for details.
11103
11104         * rtl.h (stack_regs_mentioned_p): Delete prototype.
11105         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
11106         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11107         * i386/gas.h (ASM_FILE_START): Define.
11108         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
11109         for name change of ix86_valid_decl_attribute_p.
11110         (i386_pe_valid_type_attribute_p): Similarly.
11111
11112 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
11113
11114         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
11115         to step through CC modes.
11116
11117 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11118
11119         * regmove.c (fixup_match_1): Don't move INSN in front of P if
11120         it would end up in the shadow of a live flags regsiter.
11121
11122 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11123
11124         * reload1.c: Fix many indentation problems.
11125         * reload.c: Likewise.
11126
11127 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
11128
11129         * alias.c (non_local_reference_p): Constify fmt.
11130
11131 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
11132
11133         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
11134
11135 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
11136
11137         * cse.c (delete_trivially_dead_insns): Do not delete stores to
11138         the internal_arg_pointer.
11139
11140 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
11141
11142         Merge peephole2 from new_ia32_branch:
11143         * Makefile.in (STAGESTUFF): Add *.peephole2.
11144         (mostlyclean): Likewise.
11145         (recog.o): Depend on resource.h.
11146
11147         * final.c (peephole): Conditionalize decl on HAVE_peephole.
11148         (final_scan_insn): Likewise for the invocation of peephole.
11149         * genconfig.c (main): Look for peephole and peephole2 patterns.
11150         Emit HAVE_peephole* accordingly.
11151         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
11152         * flags.h (flag_peephole2): Declare.
11153         * toplev.c: New pass peephole2.  New flag -fpeephole2.
11154
11155         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
11156         * gencodes.c (main): Likewise.
11157         * genextract.c (main): Likewise.
11158         * genoutput.c (main): Likewise.
11159         * genemit.c (max_operand_1): Look for the max scratch operand.
11160         (gen_rtx_scratch): New.
11161         (gen_exp): Use it, and pass on new arg subroutine_type.
11162         (gen_expand): Take max scratch into account.
11163         (gen_split): Emit peephole2 functions.
11164         (output_peephole2_scratch): New.
11165         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
11166         * genrecog.c (routine_type): Add PEEPHOLE2.
11167         (IS_SPLIT): New.
11168         (make_insn_sequence): Match outer parallel for peep2.  Discard
11169         top level scratches and dups.
11170         (add_to_sequence): New args insn_type and top.  Update all callers.
11171         Handle toplevel peep2 matching insns.
11172         (write_subroutine): Handle peep2.
11173         (write_tree_1): Likewise.
11174         (write_tree): Likewise.
11175         (main): Likewise.
11176         (change_state): New arg afterward.  Update all callers.
11177         Handle matching separate insns.
11178         * recog.c (recog_next_insn): New.
11179         (peephole2_optimize): New.
11180         * rtl.def (DEFINE_PEEPHOLE2): New.
11181         * resource.c (find_free_register): New argument last_insn.  Use it
11182         to find a register available through the entire span.
11183         * resource.h (find_free_register): Update prototype.
11184
11185 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
11186
11187         * i386.c (output_strlen_unroll): Don't write xops[7]
11188         label if it wasn't set.
11189
11190 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
11191
11192         * cpplib.c (struct directive): Const-ify name pointer and
11193         function pointer prototype.
11194         (validate_else, do_define, do_line, do_include, do_undef,
11195         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
11196         do_elif, do_endif, do_sccs, do_assert, do_unassert,
11197         do_warning): Const-ify second arg.
11198         (directive_table): Mark const.  Reorder entries by frequency
11199         of usage, record statistics.
11200
11201 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
11202
11203         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
11204         bounds- check RTL accesses if --enable-checking.
11205         (RTVEC_ELT): Bounds check if --enable-checking.
11206         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
11207         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
11208         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
11209         GET_NUM_ELEM.
11210         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
11211         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
11212
11213         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
11214         (NOTE_SOURCE_FILE): Use X0STR.
11215         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
11216         MEM_ALIAS_SET): Use X0INT.
11217         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
11218         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
11219         Use X0EXP.
11220         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
11221         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
11222         (rtl_check_failed_bounds, rtl_check_failed_type1,
11223         rtl_check_failed_type2, rtvec_check_failed_bounds): New
11224         functions.
11225         (fancy_abort): Fix comment.
11226
11227         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
11228         (cse_insn): Decrement LABEL_NUSES for jump target before
11229         deleting jump insn.
11230         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
11231         * final.c (alter_subreg): Compute regno before changing x to
11232         REG; set REGNO(x) after changing it.
11233         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
11234         notes containing CONST_INTs.
11235         (delete_eh_regions): Use NOTE_EH_HANDLER.
11236         * function.c (put_reg_into_stack): Make reg a MEM before
11237         initializing it.
11238         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
11239         delete insn.
11240         (gen_mem_addressof): Make reg a MEM before initializing it.
11241         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
11242         X0WINT.
11243         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
11244         deleting an insn, not after.
11245         (block_alloc): Only look at PATTERN(insn) if we have to, and
11246         only if it's format class 'i'.
11247         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
11248         CONST_INT before using its INTVAL.
11249         * print-rtl.c (print_rtx): Use X0STR.
11250         * regmove.c (fixup_match_1): Don't look at PATTERN of
11251         non-class-'i' insn chain elements.
11252         * reload.c (loc_mentioned_in_p): Take address of
11253         in->fld[1].rtx directly.
11254         * reload1.c (reload): Change reg to a MEM before initializing
11255         it.
11256         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
11257         have no names.
11258         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
11259
11260 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
11261
11262         * config/mips/mips.c (machine_dependent_reorg): Force a
11263         barrier to output the local constant pool if a barrier hasn't
11264         been found at a natural point in the instruction stream.
11265
11266 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11267
11268         * c-parse.in (language_string): Constify.
11269
11270         * dwarf2out.c (language_string): Remove declaration.
11271
11272         * dwarfout.c (language_string): Likewise.
11273
11274         * toplev.c (language_string, init_parse, finish_parse): Likewise.
11275
11276         * tree.h (language_string, init_parse, finish_parse): Declare.
11277
11278         * i386/sun386.h (language_string): Remove declaration.
11279
11280         * mips.h (language_string): Likewise.
11281
11282         * nextstep.h (language_string): Likewise.
11283
11284         * nextstep21.h (language_string): Likewise.
11285
11286         * rs6000.c (language_string): Likewise.
11287
11288 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11289
11290         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
11291         (getpwd.o): Remove target.
11292
11293         * getpwd.c: Delete file.  Its in libiberty now.
11294
11295         * dbxout.c (getpwd): Don't prototype.
11296         * dwarf2out.c (getpwd): Likewise
11297         * dwarfout.c (getpwd): Likewise
11298         * final.c (getpwd): Likewise.
11299         * protoize.c (getpwd): Likewise.
11300
11301 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11302
11303         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
11304
11305 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
11306
11307         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
11308         mark_set_resources.
11309
11310 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
11311
11312         * fixinc/Makefile.in (subdir): New.
11313         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
11314         (Makefile): New.
11315
11316 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
11317
11318         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
11319         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
11320         be shared.
11321
11322         * invoke.texi: Fix typo.
11323
11324         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
11325         changed.  Handle autoincrement addressing modes.
11326
11327         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
11328         just like we would the virtual incoming args register when
11329         integrating.
11330
11331 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
11332
11333         * rs6000.h (ASM_FILE_START): Specify complete filename, including
11334         path, in .file directive.
11335
11336 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
11337
11338         * gcc.texi (External Bugs): Remove obsolete note about Perl on
11339         SunOS.
11340
11341 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
11342
11343         * stdbool.h: Make the typedef name _Bool, with bool a #defined
11344         alias.
11345
11346 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11347
11348         * tree.c (tree_code_name): Constify a char*.
11349
11350         * tree.h (tree_code_name, decl_printable_name): Likewise.
11351
11352         * function.h (struct function): Likewise.
11353
11354         * toplev.c (decl_name, decl_printable_name): Likewise.
11355
11356         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
11357
11358         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
11359         (init_objc): Remove function pointer cast.
11360
11361 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
11362
11363         * pa.md (interspace_jump): New pattern.
11364         (builtin_longjmp): New expander.
11365
11366 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
11367
11368         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
11369         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
11370         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
11371
11372 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
11373
11374         * jump.c (delete_prior_computation): Also check calls
11375         to constant functions.  Don't bother checking for a
11376         REG_UNUSED note before adding it.
11377         (delete_computation): Handle multi-word hard registers
11378         when synthesizing missing REG_DEAD notes for a register
11379         which is both set and used by an insn.
11380
11381 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11382
11383         * loop.c (this_loop_info): New variable.
11384         (loop_has_call, loop_has_volatile, loop_has_tablejump,
11385         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
11386         All uses updated.
11387         (prescan_loop, strength_reduce): New argument loop_info.  All callers
11388         updated.
11389         (scan_loop): New variable loop_info, initialise to address of
11390         this_loop_info.
11391         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
11392         Delete variable loop_has_multiple_exit targets and replace with
11393         field in this_loop_info.
11394         (find_and_verify_loops): Rename this_loop to this_loop_num.
11395         (strength_reduce): Delete loop_iteration_info.  Replace variable
11396         loop_info with function argument of same name.
11397         (insert_bct): Rework test for loop being completely unrolled.
11398
11399         * loop.h (struct loop_info): New fields num, loops_enclosed,
11400         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
11401         has_indirect_jump, and cont.  Redefine use of unroll_number.
11402         (loop_unroll_number): Delete.
11403
11404         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
11405         field of loop_info.
11406         (loop_iterations): Delete variable vtop and instead use
11407         loop_info->vtop computed in prescan_loop.
11408
11409 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
11410
11411         * fix-header.c (main): Do not pass a null pointer to strcmp.
11412
11413 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
11414
11415         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
11416         filenames.
11417         * configure: Rebuilt.
11418
11419 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
11420
11421         * jump.c (jump_optimize_1): Do not delete assignments to
11422         internal_arg_pointer.
11423         * cse.c (delete_trivially_dead_insns): Always consider a set of
11424         the internal_arg_pointer live.
11425
11426 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
11427
11428         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
11429         (update_life_info) [REG_WAS_0]: Search the original insns rather
11430         than the new insns for the note.  Fix typos finding note_dest.
11431         If no dest found, discard the note rather than abort.
11432         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
11433         (replace_insns): Remove the old insn list after update_life_info
11434         not before.
11435
11436 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
11437
11438         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
11439         sched_analyze_insn.
11440         (sched_analyze_1): Let add_dependence care for not adding dups.
11441         (sched_analyze_2): Likewise.
11442         (add_branch_dependences): Likewise.
11443
11444 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11445
11446         * i386/winnt.c (export_list): New type.
11447         (exports_head): Rename to
11448         (export_head):  this.
11449         (i386_pe_record_exported_symbol): Add is_data flag.
11450         (i386_pe_asm_file_end): Emit directive for exported variables.
11451         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
11452         prototype.
11453         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
11454         (ASM_DECLARE_OBJECT_NAME): Likewise.
11455         (ASM_DECLARE_FUNCTION_NAME): Likewise.
11456         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11457
11458 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
11459
11460         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
11461
11462         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
11463         operand.
11464
11465 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
11466
11467         * config/openbsd.h: Define SET_ASM_OP.
11468         * tm.texi: cross-reference SET_ASM_OP in the index.
11469
11470 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
11471
11472         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
11473         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
11474         and class_narrowest_mode at compile time.  Kill init_rtl.
11475         Mark rtx_length, mode_class, mode_size, mode_unit_size,
11476         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
11477         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
11478         EXTRA_CC_NAMES.
11479         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
11480         format.
11481         * rtl.h: Declare rtx_length and rtx_format as const.
11482         * machmode.def: Define CC().  Use CC() to define CCmode.  If
11483         EXTRA_CC_MODES is defined, expand it here.
11484         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
11485         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
11486         const.  Kill all references to EXTRA_CC_MODES.
11487
11488         * toplev.c: Don't prototype or call init_rtl.
11489         * optabs.c: Don't call init_mov_optab.
11490         * genemit.c: Don't generate init_mov_optab.  Don't call
11491         init_rtl.
11492         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
11493         here.
11494         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
11495         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
11496         genrecog.c: Don't call init_rtl.
11497
11498         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
11499         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
11500         definition of EXTRA_CC_MODES.
11501
11502         * md.texi: Kill ref to EXTRA_CC_NAMES.
11503         * tm.texi: Document new way to define EXTRA_CC_MODES.
11504
11505         * genrecog.c: Do not look up the name of a define_split.
11506         (Unrelated bugfix.)
11507
11508 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
11509
11510         * config/v850/v850.md: Fix typo introduced by previous delta.
11511
11512 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11513
11514         * gcc.c (fatal): Make definition static to match prototype.
11515
11516 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11517
11518         * combine.c (get_last_value): Don't look for earlier sets if the last
11519         known set is somewhere in between the insns being combined.
11520
11521 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
11522
11523         * configure.in: Don't use shell ! to negate exit codes
11524         * configure: Regenerate
11525
11526 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
11527
11528         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
11529         the fact that ALIGN is measured in bits, not bytes.
11530
11531 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
11532
11533         * errors.c: New file; defines functions error, warning, and
11534         fatal, variables have_error and progname.
11535         * errors.h: New file; prototypes and decls for stuff in errors.c.
11536
11537         * Makefile: Add rules to build errors.o and
11538         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
11539         genopinit, genrecog, genextract, genpeep, genattr, and
11540         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
11541         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
11542         genpeep.o, genattr.o, and genoutput.o.
11543
11544         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
11545         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
11546         define or prototype fatal.  Set progname at beginning of main.
11547         * genoutput.c:  Likewise, and don't define or prototype error
11548         either.
11549
11550         * c-typeck.c (c_expand_start_case): Return immediately if exp
11551         is an ERROR_MARK.
11552         * fold-const.c (operand_equal_p): Return immediately if arg1
11553         or arg0 are ERROR_MARKs.
11554         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
11555         fields of type ERROR_MARK when calculating if the record can
11556         go in a register.
11557
11558 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
11559         with much help from Jeffrey A Law and Richard Henderson
11560
11561         * i386.md: In the 6 insns which call output_fix_trunc,
11562         earlyclobber operands[0].
11563
11564 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
11565
11566         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
11567         creating new registers.
11568
11569 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
11570
11571         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
11572         i386_reg_alloc_order, i386_regparm_string,
11573         i386_align_loops_string, i386_align_jumps_string,
11574         i386_align_funcs_string, i386_preferred_stack_boundary_string,
11575         and i386_branch_cost_string as type "const char *".
11576         * i386.c: Define all above strings as type "const char *".
11577
11578 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
11579
11580         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
11581         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
11582
11583 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
11584
11585         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
11586         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
11587
11588 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
11589
11590         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
11591         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
11592         (dwarf2out_line, dwarf2out_finish): Likewise.
11593         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
11594
11595 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11596
11597         * tree.c (lang_unsave_expr_now) : Correct return type.
11598         * tree.h (lang_unsave_expr_now) : Same.
11599
11600 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
11601
11602         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
11603         instead of duplicating code.
11604
11605 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11606
11607         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
11608
11609 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
11610
11611         * tree.h: fancy_abort always takes three args.
11612         * resource.c: Move include of system.h before toplev.h.
11613
11614 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
11615
11616         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
11617         as SYMBOL_REFs.
11618
11619 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
11620
11621         * system.h: Don't redefine abort or trim_filename.
11622         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
11623         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
11624         whether or not __FUNCTION__ is available.
11625         * tree.h: Duplicate rtl.h's definition of abort, for files
11626         that don't include rtl.h.  Delete all code to perform type
11627         checking with a compiler other than GCC.
11628         * varray.h: Delete all code to perform type checking with a
11629         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
11630         its arguments exactly once, using a statement expression.
11631         Adjust the VARRAY_<type> accessor macros to match.
11632         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
11633         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
11634         caller's location.  Define fatal_insn and fatal_insn_not_found
11635         as macros that use _fatal_insn and _fatal_insn_not_found.
11636         (fancy_abort, trim_filename): Kill prototypes.
11637
11638         * rtl.c (trim_filename): Move here from toplev.c.
11639         (fancy_abort): New function.
11640         (DIR_SEPARATOR): Provide default definition.
11641         * tree.c (tree_check_failed, tree_class_check_failed): Go
11642         through fancy_abort.
11643         (tree_check, tree_class_check, cst_or_constructor_check,
11644         expr_check): Delete.
11645         * varray.c (varray_check_failed): New function.
11646         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
11647         _fatal_insn and _fatal_insn_not_found.  Go through
11648         fancy_abort.
11649         (trim_filename, fancy_abort): Delete.
11650
11651         * builtins.c (expand_builtin_args_info): Report ICE with abort.
11652         * except.c (start_catch_handler): Report ICE with error/abort
11653         combo.
11654         * final.c (output_operand_lossage): Likewise.
11655         * flow.c (verify_flow_info): Likewise.
11656
11657         * gcc.c: Prototype fatal.
11658         * gengenrtl.c: Undef abort after including rtl.h not system.h.
11659         * genattr.c, genattrtab.c, genemit.c, genextract.c,
11660         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
11661         Don't define fancy_abort.
11662
11663 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
11664
11665         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
11666         canonization.
11667
11668 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
11669
11670         * m88k.h (VERSION_INFO2): Kill.
11671         (VERSION_STRING): Kill.
11672         (TM_RCS_ID): Kill.
11673         (VERSION_INFO1): Tidy.
11674         (TARGET_VERSION): Update.
11675         * m88k/dgux.h (VERSION_INFO2): Kill.
11676         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
11677         * m88k/luna.h (VERSION_INFO1): Tidy.
11678         * m88k/sysv4.h (VERSION_INFO1): Likewise.
11679         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
11680         (output_file_start): Adjust for death of VERSION_STRING.
11681
11682 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
11683
11684         * cpplib.c (detect_if_not_defined): New function.
11685         (do_if): Use it to detect potential once-only headers.
11686
11687 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
11688
11689         * c-common.c (combine_strings): Always set TREE_CONSTANT.
11690
11691 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11692
11693         * combine.c (nonzero_bits) : Allow single-ly set registers to be
11694         anywere in the function only if they are pseudos and set before
11695         being used (not live at the start of the function).
11696         (num_sign_bit_copies) : Same.
11697         (get_last_value_validate) : Same.
11698         (get_last_value) : Same.
11699
11700 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
11701
11702         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
11703         where N and M are constant and N is an integer multiple of M.
11704
11705 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11706
11707         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
11708         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
11709         sbitmap_union_of_preds): Add prototypes.
11710         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
11711         the intersection of successors with the new flow graph structures.
11712         (sbitmap_intersection_of_preds): New function to compute the
11713         intersection of predecessors with the new flow graph structures.
11714         (sbitmap_union_of_succs): New function to compute the union of
11715         successors with the new flow graph structures.
11716         (sbitmap_union_of_preds): New function to compute the union of
11717         predecessors with the new flow graph structures.
11718         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
11719         (expr_reaches_here_p): Use edge and basic_block structures instead
11720         of s_preds and s_succs.
11721         (compute_cprop_avinout): Use new sbitmap routines.
11722         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
11723         of s_preds and s_succs.
11724         * flow.c (compute_flow_dominators): Compute dominators using
11725         edges and basic blocks instead of s_preds and s_succs.
11726
11727 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11728
11729         * lists.c (unused_insn_list, unused_expr_list): New file for
11730         maintaining various types of lists. New statics for maintaining a
11731         cache of available INSN_LIST and EXPR_LIST nodes.
11732         (free_list): Static function for freeing a list of INSN/EXPR nodes.
11733         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
11734         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
11735         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
11736         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
11737         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
11738         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
11739         (free_INSN_LIST_node): Free an individual INSN_LIST node.
11740         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
11741         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
11742         (remove_dependence, free_pending_lists): Use new global routines.
11743         (flush_pending_lists, sched_analyze_insn): Use new global routines.
11744         (sched_analyze, compute_block_backward_dependences): Use new routines.
11745         (sched_analyze_1, sched_analyze_2): Use new routines.
11746         (schedule_insns): Use new global routines.
11747         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
11748         prototypes.
11749         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
11750         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
11751         prototypes.
11752         * toplev.c (rest_of_compilation): Initialize node cache.
11753         * Makefile.in (OBJS): Add lists.o to list of object files.
11754         (lists.o): Add dependancies.
11755
11756 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
11757
11758         * config/v850/v850.md: Fix compile time warning messages.
11759         * config/v850/v850.c: Fix compile time warning messages.
11760         * config/v850/v850.h: Fix compile time warning messages.
11761
11762 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11763
11764         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
11765         Remove unused prototype for `init_lengths'.
11766
11767 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11768
11769         * calls.c (emit_call_1): Mark parameter `stack_size' with
11770         ATTRIBUTE_UNUSED.
11771         (expand_call): Initialize variable `insn'.
11772         (emit_library_call): Likewise for variable `high_to_save'.
11773         (emit_library_call_value): Likewise.
11774         (store_one_arg): Likewise for variables `lower_bound' and
11775         `upper_bound'.
11776
11777         * combine.c (try_combine): Likewise for variables `i2_code_number'
11778         and `other_code_number'.
11779         (find_split_point): Likewise for variables `pos', `unsignedp' and
11780         `inner'.
11781         (simplify_if_then_else): Likewise for variables `op' and `c1'.
11782         (simplify_and_const_int): Remove unused variable `width'.
11783         (merge_outer_ops): Likewise.
11784
11785         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
11786         HOST_WIDE_INT' when comparing against one.
11787         (simplify_relational_operation): Likewise.
11788         (cse_insn): Initialize variables `src_eqv_volatile',
11789         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
11790
11791         * final.c (init_final): Constify parameter `filename'.
11792         (final_start_function): Mark parameter `optimize' with
11793         ATTRIBUTE_UNUSED.
11794         (profile_function): Likewise for parameters `first' and `optimize'.
11795         (output_source_line): Likewise for parameter `file'.
11796
11797         * integrate.c (subst_constants): Cast a value to `size_t' when
11798         comparing against one.
11799         (mark_stores): Initialize variable `mode'.  Cast a value to
11800         `size_t' when comparing against one.
11801
11802         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
11803
11804         * loop.c (move_movables): Initialize variable `first'.
11805         (strength_reduce): Likewise for variable `increment'.
11806         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
11807         value to `size_t' when comparing against one.
11808         (load_mems): Initialize variable `end_label'.
11809
11810         * output.h (init_final): Constify parameter.
11811
11812         * reload.c (decompose): Initialize variable `base'.
11813
11814         * reload1.c (reload): Likewise for variable `is_scalar'.
11815         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
11816         (choose_reload_regs): Initialize variable `mode'.
11817         (emit_reload_insns): Likewise for variable `store_insn'.
11818         (reload_cse_noop_set_p): Mark parameter `insn' with
11819         ATTRIBUTE_UNUSED.
11820         (reload_combine): Initialize variable `set'.
11821
11822         * unroll.c (unroll_loop): Likewise for variable `local_label'.
11823         (copy_loop_body): Cast a value to `size_t' when comparing against
11824         one.
11825
11826         * varasm.c (assemble_variable): Initialize variable `size_tree'.
11827         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
11828         (remove_from_pending_weak_list): Mark parameter `name' with
11829         ATTRIBUTE_UNUSED.
11830
11831 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11832
11833         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
11834         gcse dump file.
11835
11836 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
11837
11838         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
11839         (ASM_DECLARE_FUNCTION_NAME): Define.
11840         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
11841         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
11842         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
11843         not already defined.
11844
11845 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11846
11847         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
11848         of n_popped when call/call_value are not defined.
11849
11850 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
11851
11852         * tm.texi: GNU CC -> GCC conversion.
11853         (CC1_SPEC): Indicate it is used for all language front ends.
11854
11855 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
11856
11857         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
11858         NOTE_INSN_EH_REGION_END correctly.
11859
11860 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
11861                           Jeff Law <law@cygnus.com>
11862
11863         * loop.c (strength_reduce): Automatically unroll loops if the
11864         unrolled loop size is smaller than the rolled loop size.
11865
11866         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
11867         and delete comment that code should be rewritten.
11868
11869 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
11870
11871         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
11872         as reachable.
11873
11874         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
11875
11876 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11877
11878         * fixinc/mkfixinc.sh: Don't fix uwin headers.
11879         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
11880         (LINK_SPEC): Add -u _main when building executables.
11881         (ASM_DECLARE_FUNCTION): Update from Cygwin.
11882         (ASM_FILE_END): Use the default for ix86-pe.
11883         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
11884
11885 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
11886
11887         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
11888         and ASM_CLOSE_PAREN are empty strings.
11889
11890 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
11891                           Geoffrey Keating <geoffk@cygnus.com>
11892
11893         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
11894         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
11895         (unprotoize.o): Ditto.
11896         (test-protoize-simple): Don't define STD_PROTO_DIR.
11897         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
11898         changes to make 'test-protoize-simple' pass.
11899         (STD_PROTO_DIR): Remove define.
11900         (STANDARD_EXEC_PREFIX): Supply default define.
11901         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
11902         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
11903         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
11904         (GET_ENV_PATH_LIST): New macro.
11905         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
11906         (do_processing): Initialize default_syscalls_dir using new
11907         macros.  Use it to initialize syscalls_absolute_filename.
11908
11909 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
11910
11911         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
11912         B into a register before emit_conditional_move.
11913
11914 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
11915
11916         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
11917         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
11918         multiplicand out of (+ (* a b) (* c d)).
11919
11920 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
11921                           Richard Henderson  <rth@cygnus.com>
11922
11923         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
11924         (new_insn_dead_notes): Likewise.
11925         (update_n_sets): Likewise.
11926         (update_flow_info): Move to flow.c, renamed to update_life_info;
11927         extend to handle multiple source insns.
11928         * flow.c: Include resource.h
11929         (unlink_insn_chain): New.
11930         (split_hard_reg_notes): New.
11931         (maybe_add_dead_note): New.
11932         (maybe_add_dead_note_use): New.
11933         (find_insn_with_note): New.
11934         (new_insn_dead_notes): New.
11935         (update_n_sets): New.
11936         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
11937         (maybe_remove_dead_notes): New.
11938         (update_life_info): New.
11939         (prepend_reg_notes): New.
11940         (replace_insns): New.
11941         * output.h (update_life_info): Declare.
11942         * recog.c (split_block_insns): Use update_life_info.
11943         * resource.c (find_free_register): Use reg_alloc_order, don't use
11944         fixed regs, make sure the mode is supported, don't use new regs.
11945         (reg_dead_p): New.
11946         * rtl.h (replace_insns): Declare.
11947
11948 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
11949
11950         * expr.c (expand_expr): Cope with COND_EXPRs with one
11951         non-returning branch.
11952
11953 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
11954
11955         * expr.c (store_expr): Always pass down the target, even when not
11956         doing CSE.
11957
11958 1999-08-24  Nick Clifton  <nickc@cygnus.com>
11959
11960         * configure.in: Define target_cpu_default for v850 targets.
11961         * configure: Regenerate
11962
11963         * config/v850/v850.h (TARGET_CPU_generic): Define.
11964         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
11965         addresses are 4 byte aligned.
11966
11967         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
11968         addresses.
11969
11970 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11971
11972         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
11973         (main): Add prototypes.
11974
11975         * genattrtab.c (substitute_address, write_const_num_delay_slots,
11976         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
11977         (write_attr_get): Emit prototypes along with function definition.
11978         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
11979         (write_complex_function): Emit static prototype along with
11980         function definition.
11981
11982         * genemit.c (gen_split): Emit prototypes along with function
11983         definition.
11984
11985         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
11986         Likewise for predicates and `insn_operand_predicate'.
11987         (process_template): Emit static prototype along with function
11988         definition.
11989
11990         * genrecog.c (make_insn_sequence): Constify a char*.  Add
11991         prototypes for get_split_*().
11992         (write_subroutine): Emit prototypes along with function
11993         definition.
11994
11995 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11996
11997         * gcse.c (find_avail_set): Follow chains of register-register copies.
11998         Use oprs_not_set_p to guarantee that the returned value can be
11999         substituted.
12000         (cprop_insn): Don't verify the return value of find_avail_set with
12001         oprs_not_set_p.
12002
12003         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
12004         (cprop_cc0_jump): New function.
12005         (cprop_insn): Break out new function cprop_jump and use it.
12006         Also use cprop_cc0_jump for machines with CC0.
12007         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
12008
12009         * tree.h (current_function_calls_setjmp,
12010         current_function_calls_longjmp): Delete declarations.
12011         * dsp16xx.c: Include "function.h".
12012         * elxsi.c: Likewise.
12013         * gmicro.c: Likewise.
12014         * h8300.c: Likewise.
12015         * i370.c: Likewise.
12016         * m32r.c: Likewise.
12017         * mn10200.c: Likewise.
12018         * mn10300.c: Likewise.
12019         * ns32k.c: Likewise.
12020         * spur.c: Likewise.
12021         * v850.c: Likewise.
12022
12023         * rtl.h (rtx_equal_function_value_matters): Declare.
12024         * toplev.c (rtx_equal_function_value_matters): Don't declare.
12025         * cse.c: Likewise.
12026         * function.c: Likewise.
12027         * emit-rtl.c: Likewise.
12028
12029 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
12030
12031         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
12032         call.
12033
12034 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12035
12036         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
12037         exactly.
12038
12039 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
12040
12041         * cpp.texi: Add a node documenting macro varargs (copied
12042         from extend.texi).
12043
12044 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
12045
12046         * cppspec.c: Put a null pointer at the end of the new argv.
12047
12048 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
12049
12050         * configure.in: Remove code to select/de-select the haifa
12051         scheduler.  Every scheduled port gets haifa now.
12052         * configure: Rebuilt.
12053         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
12054         * sched.c Deleted.
12055         * Makefile.in: Corresponding changes.
12056
12057 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12058
12059         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
12060         All callers changed.
12061         (prepare_float_lib_cmp): Likewise.
12062         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
12063         * expr.h (emit_float_lib_cmp): Delete declaration.
12064         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
12065         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
12066         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
12067         specially.
12068         (cmptf): Now conditional on TARGET_HARD_QUAD.
12069
12070 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
12071
12072         * resource.c (mark_target_live_regs): Use
12073         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
12074
12075 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12076
12077         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
12078
12079         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
12080
12081         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
12082
12083 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12084
12085         * rtl.h (rtx_format): Constify a char*.
12086
12087         * rtl.c (rtx_format): Likewise.
12088         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
12089         (init_rtl): Use accessor macro, not `rtx_format'.
12090
12091         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
12092         char*.
12093
12094         * caller-save.c (mark_referenced_regs): Likewise.
12095
12096         * combine.c (subst, make_compound_operation, known_cond,
12097         gen_rtx_combine, update_table_tick, get_last_value_validate,
12098         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
12099
12100         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
12101         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
12102         count_reg_usage): Likewise.
12103
12104         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
12105         Likewise.
12106
12107         * final.c (leaf_renumber_regs_insn): Likewise.
12108
12109         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
12110         dump_edge_info, count_reg_references): Likewise.
12111
12112         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
12113         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
12114         Likewise.
12115
12116         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
12117         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
12118         add_label_notes): Likewise.
12119
12120         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
12121         clear_struct_flag, count_sub_rtxs, count_alternatives,
12122         compares_alternatives_p, contained_in_p, walk_attr_value,
12123         write_expr_attr_cache): Likewise.
12124
12125         * genconfig.c (walk_insn_part): Likewise.
12126
12127         * genemit.c (max_operand_1, gen_exp): Likewise.
12128
12129         * genextract.c (walk_rtx): Likewise.
12130
12131         * genflags.c (num_operands): Likewise.
12132
12133         * genoutput.c (scan_operands): Likewise.
12134
12135         * genpeep.c (match_rtx): Likewise.
12136
12137         * genrecog.c (add_to_sequence): Likewise.
12138
12139         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
12140         Likewise.
12141
12142         * integrate.c (save_constants, copy_for_inline,
12143         copy_rtx_and_substitute, subst_constants, restore_constants):
12144         Likewise.
12145
12146         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
12147         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
12148
12149         * local-alloc.c (contains_replace_regs, memref_referenced_p):
12150         Likewise.
12151
12152         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
12153         add_label_notes, replace_call_address, count_nonfixed_reads,
12154         invariant_p, find_single_use_in_loop, find_mem_givs,
12155         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
12156         Likewise.
12157
12158         * print-rtl.c (reg_names, print_rtx): Likewise.
12159
12160         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
12161
12162         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
12163         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
12164         print_blocks): Likewise.
12165
12166         * regclass.c (fix_register, record_address_regs,
12167         reg_scan_mark_refs): Likewise.
12168
12169         * regmove.c (stable_but_for_p): Likewise.
12170
12171         * reload.c (loc_mentioned_in_p, operands_match_p,
12172         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
12173         copy_replacements, refers_to_regno_for_reload_p,
12174         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
12175         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
12176         Likewise.
12177
12178         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
12179         delete_address_reloads_1, count_occurrences,
12180         reload_cse_mem_conflict_p, reload_combine_note_use,
12181         add_auto_inc_notes): Likewise.
12182
12183         * resource.c (mark_referenced_resources, mark_set_resources):
12184         Likewise.
12185
12186         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
12187         reg_mentioned_p, regs_set_between_p, modified_between_p,
12188         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
12189         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
12190         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
12191         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
12192
12193         * sched.c (sched_analyze_2, attach_deaths): Likewise.
12194
12195         * stupid.c (stupid_mark_refs): Likewise.
12196
12197         * unroll.c (remap_split_bivs): Likewise.
12198
12199         * varasm.c (mark_constants): Likewise.
12200
12201         * a29k/a29k.c (uses_local_reg_p): Likewise.
12202
12203         * alpha/alpha.c (summarize_insn): Likewise.
12204
12205         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
12206         eliminate_lr2ip): Likewise.
12207
12208         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
12209
12210         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
12211         reg_mentioned_in_mem): Likewise.
12212
12213         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
12214         symbolic_reference_mentioned_p): Likewise.
12215
12216         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
12217
12218         * sh/sh.c (regs_used, mark_use): Likewise.
12219
12220         * vax/vax.c (vax_rtx_cost): Likewise.
12221
12222 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12223
12224         * machmode.h (mode_name): Constify a char*.
12225
12226         * rtl.c (mode_name): Likewise.
12227
12228         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
12229
12230         * optabs.c (init_libfuncs): Constify a char*.
12231
12232         * print-tree.c (mode_name): Remove redundant declaration.
12233         (print_node): Use accessor macro, not `mode_name'.
12234
12235         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
12236         not `mode_name'.
12237         (new_spill_reg): Constify a char*.
12238
12239         * tree.c (mode_name): Remove redundant declaration.
12240
12241 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12242
12243         * rtl.c (rtx_name): Constify a char*.
12244
12245         * rtl.h (rtx_name, fix_sched_param): Likewise.
12246
12247         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
12248         (mypr): Use accessor macro, not `rtx_name'.
12249
12250         * genemit.c (print_code): Constify a char*.
12251
12252         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
12253
12254         * genpeep.c (print_code): Constify a char*.
12255
12256         * genrecog.c (print_code): Likewise.
12257
12258         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
12259         end_bb): Add static prototype.
12260         (draw_edge): Constify a char*.
12261         (end_bb): Remove unused parameter.
12262
12263         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
12264         print_block_visualization): Constify a char*.
12265
12266 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
12267
12268         * c-common.c (c_get_alias_set): Update comment.
12269
12270 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12271
12272         * linux.h (LIB_SPEC): Added.
12273
12274 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12275
12276         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
12277
12278 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
12279
12280         * tree.c (expr_check): Fix typo in last change.
12281
12282 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
12283
12284         * rtl.def (NOTE): Change format to "iuu0n".
12285         (ADDR_DIFF_VEC): Change format to "eEee0".
12286         (ADDRESSOF): Change format to "eit".
12287
12288         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
12289         (RTVEC_ELT): Change to match.
12290         (XVECEXP): Use XVEC and RTVEC_ELT.
12291         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
12292         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
12293         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
12294         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
12295         TRAP_CONDITION, TRAP_CODE): Use XEXP.
12296         (INTVAL): Use XWINT.
12297         (ADDRESSOF_DECL): Use XTREE.
12298         (SET_ADDRESSOF_DECL): Delete.
12299         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
12300         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
12301         ifdefed out since 2.6 at least.
12302         (gen_rtvec_vv): Delete prototype.
12303
12304         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
12305         not rtunion.
12306         (copy_most_rtx): Handle 't' format letter.
12307         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
12308         (gen_rtvec_vv): Delete function.  All callers changed to use
12309         gen_rtvec_v instead.
12310         * print-rtl.c (print_rtx): Move special casing of NOTEs to
12311         the '0' format letter.
12312
12313         * function.c (gen_mem_addressof): Don't use
12314         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
12315         instead.
12316         * integrate.c (copy_rtx_and_substitute): Likewise.
12317         Copy 't' slots with XTREE.
12318         (subst_constants): Treat 't' slots like '[swi]' slots.
12319         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
12320         * jump.c (rtx_equal_for_thread_p): Likewise.
12321         * rtlanal.c (rtx_equal_p): Likewise.
12322         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
12323         only four arguments.
12324         * gengenrtl.c (type_from_format): Provide correct types for
12325         'b' and 't' slots.
12326
12327
12328         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
12329         If a recent gcc is in use (always in stage2 and beyond), use
12330         statement expressions, so we don't make a function call unless
12331         the check fails.  Evaluate arguments exactly once.
12332         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
12333         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
12334         Delete.
12335         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
12336         they evaluate their arguments exactly once, irrespective of
12337         the compiler in use.
12338
12339         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
12340         is used by the currently-enabled check macros.  This is:
12341         (tree_check_failed, tree_class_check_failed): For gcc.
12342         (tree_check, tree_class_check, cst_or_constructor_check,
12343         expr_check): For other compilers.
12344
12345         * gencheck.c: Do not define any *_CHECK1 macros.
12346
12347 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
12348                           Mark Mitchell <mark@codesourcery.com>
12349
12350         * c-common.c (c_get_alias_set): Fix support for poitners and
12351         references.
12352
12353 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
12354
12355         * alias.c: Include tree.h.
12356         (nonlocal_reference_p, mark_constant_function): New functions.
12357         * flow.c (life_analysis): Call mark_constant_function.
12358         * rtl.h (mark_constant_function): Declare it.
12359
12360 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
12361
12362         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
12363         unrecognisable switches.
12364
12365 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12366
12367         * loop.c (recombine_givs): Set ix field after sorting.
12368         (recombine_givs): Remove bogus index / giv lockstep looping.
12369
12370 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12371
12372         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
12373         on CODE.
12374         (emit_store_flag_force): Use do_compare_rtx_and_jump.
12375         (do_cmp_and_jump): Formatting fixes.
12376         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
12377         do_compare_rtx_and_jump instead of compare_from_rtx.
12378         (do_compare_rtx_and_jump): New function; mostly copied from
12379         compare_from_rtx.
12380         (do_jump_for_compare): Delete.
12381         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
12382         MIN_EXPR.
12383         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
12384         of compare/do_jump_for_compare pairs.
12385         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
12386         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
12387         compare_from_rtx/do_jump_for_compare pairs.
12388         (do_jump_by_parts_equality): Likewise.
12389         (do_jump_by_parts_equality_rtx): Likewise.
12390         * expr.h (do_compare_rtx_and_jump): Declare.
12391         * optabs.c (prepare_cmp_insn): New function, contains most of the code
12392         that used to be in emit_cmp_insn.
12393         (cmp_available_p): New function.
12394         (prepare_operand): New function.
12395         (emit_cmp_and_jump_insn_1): New function, contains some code that used
12396         to be in emit_cmp_insn.
12397         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
12398         parameters to be pointers; don't emit final compare but modify some of
12399         the values pointed to by the args so the caller can perform the
12400         correct comparison.
12401         (expand_binop): Call emit_store_flag_force with signed forms of
12402         comparison code.
12403         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
12404         emit_jump_insn pair.
12405         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
12406         emit_cmp_and_jump_insn_1.  Call emit_queue.
12407         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
12408         arg.
12409         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
12410         jump sets cc0 before deleting it.
12411         * integrate.c (expand_inline_function): Likewise.
12412         * unroll.c (unroll_loop): Similar changes in several places.
12413         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
12414         before deleting it.
12415
12416 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12417
12418         * Makefile.in (insn-recog.o): Update dependencies.
12419         * genrecog.c (main): Make generated file include "function.h".
12420
12421 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
12422
12423         * cse.c (cse_insn): Call never_reached_warning when a jump is
12424         changed to be unconditional.
12425         * flags.h: Declare warn_notreached.
12426         * flow.c (delete_block): Call never_reached_warning when
12427         a block is deleted.
12428         * jump.c (delete_barrier_successors): Call never_reached_warning
12429         when we delete everything after a BARRIER.
12430         (never_reached_warning): New function.
12431         * rtl.h: Declare never_reached_warning.
12432         * toplev.c (warn_notreached): New variable.
12433         (lang_independent_options): Set warn_notreached
12434         when -Wunreachable-code.
12435         (compile_file): We need line numbers for -Wunreachable-code.
12436
12437 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
12438
12439         * haifa-sched.c (insn_unit): Fix typo on out of range test.
12440         * sched.c (insn_unit): Likewise.
12441
12442 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
12443
12444         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
12445
12446 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12447
12448         * flow.c (create_edge_list): Use xmalloc, not malloc.
12449
12450 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
12451
12452         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
12453         C-style comments.  Do not lose the character before double slash.
12454
12455 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12456
12457         * basic-block.h (struct edge_list): Stucture to maintain a vector
12458         of edges.
12459         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
12460          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
12461         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
12462         New function prototypes.
12463         * flow.c (create_edge_list): Function to create an edge list.
12464         (free_edge_list): Discards memory used by an edge list.
12465         (print_edge_list): Debug output showing an edge list.
12466         (verify_edge_list): Internal consistency check for an edge list.
12467         (find_edge_index): Function to find an edge index for a pred and succ.
12468
12469 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
12470
12471         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
12472         hashtable.
12473
12474 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
12475
12476         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
12477
12478 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12479
12480         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
12481
12482 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
12483
12484         * toplev.c (rest_of_compilation): Allow machine dependent
12485         reorganisation pass to place information into the RTL dump
12486         file if it so wishes.
12487
12488 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
12489
12490         * explow.c (hard_function_value): Use VOIDmode instead of
12491         MAX_MACHINE_MODE.
12492         * stmt.c (expand_return): Likewise.
12493         * stor-layout.c (get_best_mode): Likewise.
12494
12495         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
12496         emit call instead of emit_insn call.
12497
12498 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12499
12500         * configure.in: Handle --disable/enable-win32-registry.
12501         * install.texi: Document --disable/enable-win32-registry.
12502         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
12503         (WIN32_REGISTRY_KEY): New macro.
12504         * prefix.c: Use to enable/disable win32-specific code.
12505         (lookup_key): Use versioned key.
12506         * configure: Regenerate.
12507         * config.in: Likewise.
12508
12509 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
12510
12511         * cpplib.c (read_line_number): New fn, split out of...
12512         (do_line): Here.
12513
12514 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12515
12516         tree.c (lang_unsave_expr_now) : New.
12517         (unsave_expr_now): Call lang_unsave_expr_now.
12518         tree.h (lang_unsave_expr_now) : New.
12519
12520 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
12521
12522         * toplev.c (flag_new_exceptions): On by default.
12523
12524 1999-08-13  Michael Meissner  <meissner@cygnus.com>
12525
12526         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
12527
12528 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12529
12530         * dwarfout.c (fundamental_type_code): Return FT_boolean for
12531         INTEGER_TYPE with precision==1, it's __java_boolean.
12532
12533 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12534
12535         * global.c (prune_preferences): Move some invariants out of the
12536         inner loop.
12537
12538 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
12539
12540         * configure.in (alpha*-dec-osf*): Add osf5.
12541
12542 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
12543
12544         * configure.in: Rework handling of ARM GNU/Linux slightly.
12545         (arm*-*-linux-gnuoldld): New target.
12546         * configure: Regenerate.
12547         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
12548         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
12549         * config/arm/linux-oldld.h: New file.
12550         * config/arm/linux-elf26.h: Don't include linux-elf.h.
12551         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
12552         Don't define.
12553         * config/arm/linux-elf.h (ASM_SPEC): Define.
12554         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
12555         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
12556         for 26-bit APCS and old linker.
12557         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
12558         `arm_elf'.
12559         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
12560         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
12561         don't define `arm' or `arm_elf'.
12562         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
12563         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
12564
12565 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
12566
12567         * rtl.texi: Fix typo.
12568
12569 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
12570
12571         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
12572
12573 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
12574
12575         * extend.texi (C++ Signatures): Remove node.
12576         * invoke.texi: Remove discussion of -fhandle-signatures,
12577         signature, sigof, __signature__, and __sigof__.
12578
12579 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
12580
12581         * Makefile.in (JAVAGC): Removed.
12582
12583 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12584
12585         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12586
12587 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12588
12589         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12590
12591 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
12592
12593         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
12594         a register that is already known to be a pointer.
12595
12596 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
12597
12598         * fixinc/inclhack.tpl: Only install assert.h conditionally.
12599         * fixinc/inclhack.sh: Regenerated.
12600         * fixinc/fixincl.sh: Regenerated.
12601
12602 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
12603
12604         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
12605         Fix documentation of -ansi flag to describe its C++ behavior.
12606         Remove bogus reference to GCC 2.9.
12607
12608 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
12609
12610         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
12611         note if it is non-NULL.
12612
12613 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12614
12615         * except.h (eh_nesting_info): Add new structure defintion.
12616         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
12617         (reachable_handlers, update_rethrow_references): Add function
12618         prototypes.
12619         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
12620         a rethrow symbol instead of an integer exception region number.
12621         * flow.c (Make_edges): Use new exception nesting routines to determine
12622         which handlers are reachable from a CALL or asynchronous insn.
12623         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
12624         goto receivers.
12625         (delete_eh_regions): Update rethrow labels, and don't delete
12626         regions which are the target of a rethrow.
12627         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
12628         avoid overloading the SYMBOL_REF_USED flag.
12629         (rethrow_symbol_map): Use new rethrow_ref field.
12630         (rethrow_used): Use new rethrow_ref field.
12631         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
12632         of an integer.  Fix formatting.
12633         (output_exception_table_entry): Use new rethrow_ref field.
12634         (can_throw): Check for EH_REGION_NOTE before deciding
12635         whether a CALL can throw or not.
12636         (scan_region): Call rethrow_used() instead of accessing data structure.
12637         (update_rethrow_references): New function to make sure only regions
12638         which are still targets of a rethrow are flagged as such.
12639         (process_nestinfo): New static function to initialize a handler
12640         list for a specific region.
12641         (init_eh_nesting_info): New function to allocate and initialize
12642         the list of all EH handlers reachable from all regions.
12643         (reachable_handlers): New function to retrieve the list of handlers
12644         reachable from a specific region and insn.
12645         (free_eh_nesting_info): New function to dispose of a list of
12646         reachable handlers.
12647
12648 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12649
12650         * flow.c (split_edge): Set JUMP_LABEL field.
12651         (commit_one_edge_insertion): Set head correctly for insert_before.
12652         When inserting insns, update insn block numbers if allocated.
12653
12654 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12655
12656         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
12657         retry_incomplete_types): Add static prototype.
12658         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
12659         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
12660         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
12661         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
12662         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
12663         Constify a char*.
12664
12665         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
12666         dwarf2out_start_source_file, dwarf2out_line): Likewise.
12667
12668 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12669
12670         * output.h (assemble_name): Constify a char*.
12671
12672         * varasm.c (UNIQUE_SECTION, assemble_start_function,
12673         assemble_variable, assemble_name): Likewise.
12674
12675         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
12676
12677         * arm/pe.c (arm_pe_unique_section): Likewise.
12678
12679         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
12680
12681         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
12682
12683         * i386/interix.c (i386_pe_unique_section): Likewise.
12684
12685         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
12686
12687         * i386/winnt.c (i386_pe_unique_section): Likewise.
12688
12689         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
12690
12691         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
12692
12693         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
12694
12695         * pa/pa.c (output_call): Likewise.
12696
12697         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
12698
12699         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
12700
12701         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
12702         Likewise.
12703
12704         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
12705         Likewise.
12706
12707         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
12708
12709         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
12710         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
12711
12712         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
12713
12714 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12715
12716         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
12717
12718 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12719
12720         * tree.h (lang_identify): Constify a char*.
12721         (print_error_function): Add extern prototype.  Constify a char*.
12722
12723         * c-lang.c (lang_identify): Constify a char*.
12724
12725         * objc/objc-act.c (lang_identify): Constify a char*.
12726
12727 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12728
12729         * genpeep.c (main): Make generated file include "function.h".
12730         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
12731
12732 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12733
12734         * Makefile.in: Update dependencies.
12735         * alias.c: Include "function.h"
12736         * c-decl.c: Likewise.
12737         * caller-save.c: Likewise.
12738         * calls.c: Likewise.
12739         * combine.c: Likewise.
12740         * cse.c: Likewise.
12741         * explow.c: Likewise.
12742         * final.c: Likewise.
12743         * global.c: Likewise.
12744         * graph.c: Likewise.
12745         * local-alloc.c: Likewise.
12746         * loop.c: Likewise.
12747         * optabs.c: Likewise.
12748         * profile.c: Likewise.
12749         * recog.c: Likewise.
12750         * regclass.c: Likewise.
12751         * regmove.c: Likewise.
12752         * reload.c: Likewise.
12753         * reorg.c: Likewise.
12754         * resource.c: Likewise.
12755         * sched.c: Likewise.
12756         * stupid.c: Likewise.
12757         * config/1750a/1750a.c: Likewise.
12758         * config/a29k/a29k.c: Likewise.
12759         * config/arc/arc.c: Likewise.
12760         * config/arm/arm.c: Likewise.
12761         * config/arm/thumb.c: Likewise.
12762         * config/c4x/c4x.c: Likewise.
12763         * config/clipper/clipper.c: Likewise.
12764         * config/convex/convex.c: Likewise.
12765         * config/fx80/fx80.c: Likewise.
12766         * config/i860/i860.c: Likewise.
12767         * config/m68k/m68k.c: Likewise.
12768         * config/m88k/m88k.c: Likewise.
12769         * config/mips/mips.c: Likewise.
12770         * config/pdp11/pdp11.c: Likewise.
12771         * config/pyr/pyr.c: Likewise.
12772         * config/romp/romp.c: Likewise.
12773         * config/sh/sh.c: Likewise.
12774         * config/tahoe/tahoe.c: Likewise.
12775         * config/vax/vax.c: Likewise.
12776         * config/we32k/we32k.c: Likewise.
12777         * config/sparc/sparc.c: Include "function.h".
12778         (mem_min_alignment): Test current_function rather than
12779         regno_pointer_align.
12780         * config/pa/pa.c: Likewise.
12781         (compute_frame_size): Delete declaration of
12782         current_function_outgoing_args_size.
12783         * config/arc/arc.h (current_function_varargs): Delete declaration.
12784         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
12785         declaration.
12786         * config/i370/i370.h (current_function_outgoing_args_size): Delete
12787         declaration.
12788         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
12789         current_function_uses_pic_offset_table.
12790         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
12791         of current_function_returns_pointer.
12792         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12793         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12794         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12795         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12796         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12797         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12798         * config/m88k/m88k.c: Include "function.h"
12799         (call_used_regs, current_function_pretend_args_size,
12800         current_function_outgoing_args_size, frame_pointer_needed): Delete
12801         declarations.
12802         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
12803         declaration.
12804         * config/mips/mips.h (current_function_calls_alloca): Delete
12805         declaration.
12806         * config/mn10200/mn10200.h (current_function_needs_context,
12807         rtx_equal_function_value_matters): Delete declarations.
12808         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
12809         flag_pic): Delete declarations.
12810         * config/pa/pa.h (current_function_pretend_args_size,
12811         current_function_decl): Delete declarations.
12812         * config/pa/som.h (current_function_varargs): Delete declaration.
12813         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
12814         declaration.
12815         * config/pyr/pyr.h (current_function_pretend_args_size,
12816         current_function_args_size, current_function_calls_alloca): Delete
12817         declarations.
12818         * config/sh/sh.h (current_function_varargs): Delete declaration.
12819         * config/sparc/sparc.h (current_function_outgoing_args_size,
12820         current_function_calls_alloca, current_function_decl): Delete
12821         declarations.
12822         * config/spur/spur.h (current_function_pretend_args_size,
12823         current_function_calls_alloca): Delete declarations.
12824         * config/v850/v850.c (current_function_outgoing_args_size): Delete
12825         declaration.
12826         * config/vax/vms.h (current_function_name): Delete declaration.
12827         * gcse.c: Include "function.h".
12828         (current_function_name, current_function_calls_setjmp): Delete
12829         declarations.
12830         * haifa-sched.c: Include "function.h".
12831         (forced_labels): Delete declaration.
12832         * jump.c: Likewise.
12833         * reg-stack.c: Likewise.
12834         * reload1.c: Likewise.
12835         * genemit.c (main): Make generated file include function.h.
12836         * genoutput.c (output_prologue): Likewise.
12837
12838         * builtins.c (saveregs_value, apply_args_value): Delete variables.
12839         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
12840         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
12841         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
12842         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
12843         macros for some of them.
12844         (emit_filename, emit_lineno): Delete declarations.
12845         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
12846         regno_pointer_* variables through current_function.
12847         (gen_inline_header_rtx): Delete function.
12848         (save_emit_status): Delete function.
12849         (set_new_last_label_num): New function.
12850         (clear_emit_caches): New function.
12851         (restore_emit_status): Just clear last_labelnum and call
12852         clear_emit_caches.
12853         (get_last_insn_anywhere): Variable sequence_stack is now accessed
12854         through macro seq_stack.
12855         (add_insn_after): Likewise.
12856         (add_insn_before): Likewise.
12857         (remove_insn): Likewise.
12858         (pop_topmost_sequence): Likewise.
12859         (in_sequence_p): Likewise.
12860         (start_sequence_for_rtl_expr): Likewise.
12861         (start_sequence): Likewise, and likewise for
12862         sequence_rtl_expr/seq_rtl_expr.
12863         (push_topmost_sequence): Likewise.
12864         (end_sequence): Likewise.
12865         (init_virtual_regs): Now takes a "struct emit_status *" argument.
12866         All callers changed.  Store into that pointer instead of globals.
12867         (init_emit): Allocate emit elt of current_function.
12868         Changes for sequence_rtl_expr/sequence_stack renaming.
12869         Call clear_emit_caches instead of doing it in-line.
12870         Access regno_pointer_* variables through current_function.
12871         (init_emit_once) Don't clear sequence_stack.
12872
12873         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
12874         Delete variables.
12875         (arg_pointer_save_area): Delete declaration.
12876         (finish_expr_for_function): Renamed from init_queue; no longer static.
12877         (init_expr): Don't call init_queue.
12878         (save_expr_status, restore_expr_status): Delete functions.
12879         (expand_expr): Changes to reflect new layout of struct function.
12880         Don't access current_function_check_memory_usage when current_function
12881         is 0.
12882         * expr.h (forced_labels, save_expr_regs, saveregs_value,
12883         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
12884         current_function_outgoing_args_size, current_function_arg_offset_rtx,
12885         current_function_uses_const_pool, function_call_count,
12886         current_function_uses_pic_offset_table, nonlocal_labels,
12887         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
12888         current_function_check_memory_usage, nonlocal_goto_handler_slots,
12889         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
12890         declarations.
12891         (finish_expr_for_function): Declare.
12892         * flags.h (current_function_has_nonlocal_label,
12893         current_function_has_nonlocal_goto, current_function_is_thunk,
12894         current_function_has_computed_jump): Delete declarations.
12895         * flow.c (forced_labels): Delete declaration.
12896         * function.c (current_function_pops_args,
12897         current_function_returns_struct, current_function_returns_pcc_struct,
12898         current_function_needs_context, current_function_calls_setjmp,
12899         current_function_calls_longjmp, current_function_has_nonlocal_label,
12900         current_function_has_nonlocal_goto, current_function_is_thunk,
12901         current_function_has_computed_jump, current_function_calls_alloca,
12902         current_function_contains_functions, current_function_returns_pointer,
12903         current_function_epilogue_delay_list, current_function_args_size,
12904         current_function_pretend_args_size, current_function_arg_offset_rtx,
12905         current_function_outgoing_args_size, current_function_varargs,
12906         current_function_stdarg, current_function_args_info, cleanup_label,
12907         current_function_name, current_function_uses_const_pool,
12908         current_function_instrument_entry_exit, current_function_return_rtx,
12909         current_function_uses_pic_offset_table, nonlocal_labels,
12910         current_function_internal_arg_pointer, current_function_cannot_inline,
12911         current_function_check_memory_usage, function_call_count,
12912         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
12913         nonlocal_goto_stack_level, return_label, save_expr_regs,
12914         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
12915         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
12916         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
12917         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
12918         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
12919         Delete variables.
12920         (push_function_context_to): Don't save them.  Don't call
12921         save_storage_status, save_emit_status or save_expr_status.
12922         (pop_function_context_from): Don't restore them.  Don't call
12923         restore_storage_status or restore_expr_status.
12924         (get_func_frame_size): New function.
12925         (get_frame_size): Use it.
12926         (assign_outer_stack_local): Reflect some member name changes in struct
12927         function.
12928         (put_reg_into_stack): Likewise.
12929         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
12930         seq_rtl_expr.
12931         (fixup_var_refs): Likewise.
12932         (fix_lexical_addr): Likewise.
12933         (trampoline_address): Likewise.
12934         (prepare_function_start): Clear field inlinable of current_function.
12935         (init_function_for_compilation): New function.
12936         (expand_dummy_function_end): New function.
12937         (expand_function_end): Call finish_expr_for_function.
12938         * function.h (struct emit_status): New; fields moved here from struct
12939         function and from global variables.  Add accessor macros for some of
12940         the fields.
12941         (struct expr_status): Likewise.
12942         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
12943         (struct function): Add fields expr and emit, inlinable, inl_emit,
12944         original_arg_vector, original_decl_initial, inl_last_parm_insn,
12945         inl_max_label_num.  Add many comments.
12946         Add accessor macros for all elts of struct function that no longer
12947         have a global variable.
12948         (cleanup_label, return_label, frame_offset, tail_recursion_label,
12949         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
12950         stack_slot_list): Delete declarations.
12951         (get_func_frame_size): Declare.
12952         (save_expr_status, restore_expr_status, save_emit_status,
12953         save_storage_status, restore_storage_status): Delete declarations.
12954         (init_virtual_regs): Declare.
12955         * output.h (current_function_pops_args,
12956         current_function_returns_struct, current_function_returns_pcc_struct,
12957         current_function_needs_context, current_function_calls_setjmp,
12958         current_function_calls_longjmp, current_function_calls_alloca,
12959         current_function_has_nonlocal_label, current_function_varargs,
12960         current_function_has_computed_jump, current_function_returns_pointer,
12961         current_function_contains_functions, current_function_args_size,
12962         current_function_pretend_args_size, current_function_stdarg,
12963         current_function_outgoing_args_size, current_function_args_info,
12964         current_function_name, current_function_return_rtx,
12965         current_function_epilogue_delay_list,
12966         current_function_uses_const_pool, current_function_cannot_inline):
12967         Delete declarations.
12968         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
12969         regno_reg_rtx): Delete declaration.
12970         (REGNO_POINTER_FLAG): Delete macro.
12971         * stmt.c (expand_goto): Changes to reflect that some fields in struct
12972         function were renamed.
12973         * stor-layout.c (save_storage_status, restore_storage_status): Delete
12974         functions.
12975         * toplev.c: Include "function.h".
12976         (current_function_decl): Delete declaration.
12977         (compile_file): Call init_dummy_function_start and
12978         expand_dummy_function_end around some initializations that need to
12979         emit rtl.
12980         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
12981         Call init_function_for_compilation.
12982         * unroll.c: Include "function.h"
12983         (unroll_loop): Access regno_pointer_* variables through
12984         current_function.
12985
12986         * tree.h (struct tree_decl): Add elt f to saved_insns member.
12987         (DECL_SAVED_INSNS): use it.
12988         (expand_dummy_function_end): Declare.
12989         (init_function_for_compilation): Declare.
12990         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
12991         that it's no longer an INLINE_HEADER.
12992         (expand_call): Likewise.
12993         * integrate.c (finish_inline): Delete function.
12994         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
12995         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
12996         args.  Don't generate an INLINE_HEADER rtx, just return the arg
12997         vector.  All callers changed.
12998         (save_for_inline_copying):  Create a duplicate struct emit_status to
12999         hold the emit state for compiling the current function.  Use this and
13000         the other new fields in struct function that are for integration
13001         instead of an INLINE_HEADER.
13002         Use memcpy instead of bcopy.
13003         Store the current struct function in DECL_SAVED_INSNS of fndecl.
13004         (save_for_inline_nocopy): Similar changes, except no new emit_status
13005         is needed here.
13006         (expand_inline_function): Get information from function structure,
13007         not from an inline header rtx.
13008         (output_inline_function): Lose code to extract the necessary
13009         information from an inline header; simply put back the function
13010         structure into current_function.  Clear its inlinable elt.
13011         * rtl.def (INLINE_HEADER): Delete.
13012         * rtl.h: Delete all accessors for an INLINE_HEADER.
13013         (gen_inline_header_rtx): Delete declaration.
13014         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
13015         Delete declarations.
13016         (REGNO_POINTER_ALIGN): Delete.
13017         (clear_emit_caches): Declare.
13018         (set_new_last_label_num): Declare.
13019
13020 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
13021
13022         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
13023
13024         * except.c (expand_eh_region_start_for_decl): Always start a new block.
13025         * stmt.c (is_eh_region): Make sure current_function is present, too.
13026
13027 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
13028
13029         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
13030         for 64bit PA targets.
13031
13032         * pa.h (SELECT_SECTION): Define.
13033         * som.h (SELECT_SECTION): Delete.
13034
13035 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13036
13037         * alias.c (init_alias_analysis): Wrap call to
13038         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
13039
13040 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
13041
13042         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
13043         <sys/asm.h> contains an asm comment with an apostrophe
13044         * fixinc/inclhack.sh:  regen
13045         * fixinc/fixincl.x:  regen
13046
13047 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
13048
13049         * function.c (init_function_start): Clear prologue & epilogue.
13050         (prologue_epilogue_contains): New function.
13051         * alias.c (init_alias_analysis): Use it.
13052         * rtl.h (prologue_epilogue_contains): Declare it.
13053
13054 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
13055
13056         * jump.c (onlyjump_p): New function.
13057         * rtl.h: Declare it.
13058         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
13059         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
13060
13061 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
13062
13063         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
13064         to invert loops.  Simplify block scanning.
13065
13066 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
13067
13068         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
13069         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
13070
13071 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13072
13073         * config/sparc/liteelf.h: New file to support sparclite-elf target
13074         * config/sparc/t-sp86x: New file to support sparc86x targets
13075         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
13076         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
13077         * configure.in: Support above target triplets
13078         * configure: Regenerated
13079
13080 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
13081
13082         * fixinc/server.c (server_setup): Do not prefix function used as
13083         parameter with `&'.
13084
13085 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
13086
13087         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
13088         Remove fp reg alternatives.
13089
13090 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
13091
13092         * Makefile.in (TAROUTOPTS): Kill.
13093         (install-headers-tar): Use "xpf" for tar headerfile extraction
13094         * i370/x-oe (TAROUTOPTS): Delete.
13095         * m68k/x-apollo68 (TAROUTOPTS): Delete.
13096         * m68k/x-hp320 (TAROUTOPTS): Delete.
13097         * m68k/x-hp320g (TAROUTOPTS): Delete.
13098         * gcc.texi: Update bug reporting text.
13099
13100 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13101
13102         * reg-stack.c (change_stack) Fixed problem with negative array index.
13103
13104 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
13105
13106         * extend.texi, install.texi: Fix spelling mistakes.
13107
13108         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
13109         (s-attrtab); No longer try to use pre-made insn-attrtab file.
13110         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
13111         PREMADE_ATTRTAB_MD.
13112         * mips/t-ecoff: Likewise.
13113         * mips/t-elf: Likewise.
13114         * mips/t-mips: Likewise.
13115         * mips/t-osfrose: Likewise.
13116         * mips/t-r3900: Likewise.
13117         * mips/t-svr3: Likewise.
13118         * mips/t-svr4: Likewise.
13119         * mips/t-ultrix: Likewise.
13120
13121         * gcc.texi: Document recommend means to provide software floating
13122         point libraries in libgcc.a
13123
13124 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
13125
13126         * c-lex.c (yylex): We can have a number with no digits.
13127
13128 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
13129
13130         * jump.c (delete_prior_computation): New function, broken
13131         out of delete_computation.  Check for side effects with
13132         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
13133         multi-word hard registers.
13134         (delete_computation): Use it.  Check for side effects with
13135         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
13136         missing REG_DEAD note for a register which is both set and
13137         used by an insn.
13138
13139 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
13140
13141         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
13142         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
13143         (ASM_FILE_START): Import _mcount with the right type.
13144         (ASM_DECLARE_FUNCTION_NAME): Define.
13145         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
13146         * pa.c (output_function_prologue): Always emit the function's label
13147         here.
13148         * pa.h (TEXT_SPACE_P): Define.
13149         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13150         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
13151         * som.h (TEXT_SPACE_P): Delete.
13152         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13153         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
13154
13155 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
13156
13157         * expr.c (emit_group_load): Allow src to be a CONCAT.
13158
13159 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13160
13161         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
13162         (___mulsi3): Use '!' comment character.
13163
13164 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13165
13166         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
13167
13168 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
13169
13170         * gcc.c: Update URLs and mail addresses.
13171         * gcc.texi: Likewise.
13172
13173 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
13174
13175         * rs6000.c (current_file_function_operand): Return zero for
13176         weak functions.
13177         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
13178         weak symbols.
13179         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
13180         for weak symbols.
13181
13182 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
13183
13184         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
13185         allocate space in the stack frame for the PIC register.
13186
13187 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
13188
13189         * m68k.md (xordi3, anddi3): These patterns are not available on
13190         the coldfire.
13191
13192 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
13193
13194         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
13195         (PUT_REAL): Likewise.
13196
13197 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13198
13199         * final.c (shorten_branches): Don't add an alignment for loops
13200         that have no label inside.
13201
13202 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13203
13204         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
13205         prototypes in macro HAVE_cmpstrsi.
13206
13207         * cpplib.c (cpp_get_token): Remove unused label `op3'.
13208
13209         * emit-rtl.c (operand_subword): Remove unused variable
13210         `bits_per_word'.
13211
13212         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
13213
13214         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
13215
13216 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
13217
13218         * cpphash.c (macroexpand): Delete leading whitespace when arg
13219         is concatenated before.
13220         (unsafe_chars): Correct test for whether + and - can extend a
13221         token.
13222
13223         * cppinit.c (cpp_start_read): Do dependencies for
13224         -include/-imacros files also.
13225
13226         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
13227         tokenizing non-directive lines.
13228         (cpp_expand_to_buffer): Temporarily disable no-output mode.
13229         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
13230         the input file.
13231
13232 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
13233
13234         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
13235
13236         * c-lex.c: Sync with C++ frontend.
13237         (linemode): New variable.
13238         (parse_float): imag, conversion_errno, and type are output only.
13239         (yylex): Adjust.  Move initial '.' case into main switch.
13240         Use linemode.
13241         (handle_generic_pragma): Just deal with tokens.
13242         (readescape): Use ISXDIGIT and ISGRAPH.
13243         * c-parse.in: Add END_OF_LINE token.
13244
13245         * c-lex.c (lang_init): Generalize.
13246         (nextchar): Remove.  Replace uses with UNGETC.
13247         (skip_white_space): Handle linemode here.  Optimize for cpplib.
13248         (skip_white_space_on_line): Remove.
13249         (extend_token_buffer_to): New fn.
13250         (extend_token_buffer): Use it.
13251         (read_line_number, check_newline): Just deal with tokens.
13252         (token_getch, token_put_back): New fns.
13253         (yylex): Use them.  More cpplib optimizations.  Simplify.
13254
13255 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
13256                           Jason Merrill  <jason@yorick.cygnus.com>
13257
13258         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
13259         (consume_string): Make this smart about USE_CPPLIB.
13260         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
13261         (yylex): Rewrite to be intelligent about USE_CPPLIB.
13262         Also, clean up cases where we redundantly set token_buffer[0].
13263         (read_line_number): New fn.
13264         (ignore_escape_flag): New variable.
13265
13266 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
13267
13268         * a29k/t-a29kbare: Fix some comments.
13269         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
13270         (FPBIT, DPBIT): Define.
13271         * a29k/t-vx29k: Likewise.
13272         * arc/t-arc: Likewise.
13273         * arm/t-arm-elf: Likewise.
13274         * arm/t-bare: Likewise.
13275         * arm/t-pe: Likewise.
13276         * arm/t-pe-thumb: Likewise.
13277         * arm/t-semi: Likewise.
13278         * arm/t-thumb: Likewise.
13279         * arm/t-thumb-elf: Likewise.
13280         * arm/t-thumb-linux: Likewise.
13281         * h8300/t-h8300: Likewise.
13282         * i960/t-i960: Likewise.
13283         * i960/t-vxworks960: Likewise.
13284         * m32r/t-m32r: Likewise.
13285         * mips/t-ecoff: Likewise.
13286         * mips/t-elf: Likewise.
13287         * mips/t-r3900: Likewise.
13288         * pa/t-pro: Likewise.
13289         * rs6000/t-aix43: Likewise.
13290         * rs6000/t-beos: Likewise.
13291         * rs6000/t-newas: Likewise.
13292         * rs6000/t-ppccomm: Likewise.
13293         * rs6000/t-rs6000: Likewise.
13294         * rs6000/t-winnt: Likewise.
13295         * rs6000/t-xnewas: Likewise.
13296         * rs6000/t-xrs6000: Likewise.
13297         * sh/t-sh: Likewise.
13298         * sparc/t-elf: Likewise.
13299         * sparc/t-sparcbare: Likewise.
13300         * sparc/t-sparclite: Likewise.
13301         * sparc/t-splet: Likewise.
13302         * v850/t-v850: Likewise.
13303         * mn10200/t-mn10200: Fix comments.
13304         * mn10300/t-mn10300: Likewise.
13305
13306         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
13307         dummy operand.  Allocate a new pseudo for the dummy operand.
13308         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
13309
13310         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
13311
13312 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
13313
13314         * configure: Rebuilt.
13315         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
13316
13317 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
13318
13319         * recog.c (preproces_constraints): Zero recog_op_alt before
13320         processing the constraints.
13321
13322         * arm.c (typedef minipool_node): Renamed from pool_node.
13323         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
13324         (add_minipool_constant): New function.
13325         (dump_minipool): New function.
13326         (find_barrier): Remove special case for getting the insn size of
13327         an insn that references the constant pool.
13328         (minipool_fixup): New structure.
13329         (push_minipool_barrier): New function.
13330         (push_minipool_fix): New function.
13331         (note_invalid_constants): New function.
13332         (add_pool_constant, dump_table, fixit, broken_move): Delete.
13333         (arm_reorg): Rewrite code to fix up the constant pool into a
13334         series of mini-pools embedded in the insn stream.
13335         (arm_output_epilogue): New function, made mainly from the body
13336         of output_func_epilogue.
13337         (output_func_epilogue): Move insn generation part of epilogue code
13338         to arm_output_epilogue.
13339         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
13340         * arm.md (pool_range): New attribute.
13341         (zero_extendqidi2): Add attribute pool_range.
13342         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
13343         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
13344         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
13345         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
13346         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
13347         (epilogue): New expand.
13348         (epilogue_insn): New insn.  Call arm_output_epilogue.
13349
13350         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
13351         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
13352
13353 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
13354
13355         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13356
13357 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
13358
13359         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
13360
13361 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
13362
13363         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
13364
13365 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
13366
13367         * global.c: Fix comment.
13368
13369 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
13370
13371         * gcc.c (access_check): New static function.
13372         (find_a_file): Use it when searching a directory list.
13373         * collect2.c (find_a_file): Don't accept directories found when
13374         searching a directory list.
13375
13376 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
13377
13378         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
13379         function parameters with `&'.
13380         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
13381
13382 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
13383
13384         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
13385         or tidy_fallthru_edge if the last insn in the block is not
13386         an unconditional jump or a simple conditional jump.
13387
13388 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13389
13390         * Makefile.in (c-decl.o): Depends on defaults.h.
13391
13392 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
13393
13394         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
13395         PA1.1 and above.
13396         (CLASS_MAX_NREGS): Likewise.
13397
13398 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
13399
13400         * cse.c (cse_insn): Fix dumb thinko in last change.
13401
13402 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13403
13404         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
13405         "const char *".
13406
13407 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13408
13409         * dwarf2out.c (add_location_or_const_value_attribute): Correct
13410         test for sizes of passed and declared parameter types.
13411
13412 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13413
13414         * fixincludes: Fix the return type of bsearch, char* -> void*.
13415
13416         * fixinc/inclhack.def: Likewise.
13417
13418 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
13419
13420         * invoke.texi (-fdump-translation-unit): New option.
13421
13422 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
13423
13424         * expr.h (PROMOTE_PROTOTYPES): Move ...
13425         * defaults.h: ... to here.
13426         * c-decl.c: Include defaults.h instead of expr.h.
13427         * c-typeck.c: Include defaults.h.
13428
13429 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
13430
13431         * toplev.h (errorcount): Declare.
13432         (warningcount): Likewise.
13433         (sorrycount): Likewise.
13434         * c-lex.c (errorcount): Don't declare.
13435         * dwarf2out.c (errorcount): Don't declare.
13436
13437 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
13438
13439         * config/libgloss.h: Add a note discouraging use with ELF.
13440         * configure.in: Don't use libgloss.h for ELF targets.
13441         Always use_collect2 on a.out targets.
13442
13443 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
13444
13445         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
13446         (force_to_mode, case ASHIFTRT): Add shiftrt label.
13447
13448 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13449
13450         * loop.c (strength_reduce): When doing biv->giv conversion, update
13451         reg note of NEXT->insn.
13452
13453 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13454
13455         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
13456
13457 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13458
13459         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
13460         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
13461         Ensure expr.h is included.
13462         * c-typecheck.c (convert_arguments): Ditto.
13463
13464         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
13465
13466         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
13467         * config/convex/convex.h: Ditto.
13468         * config/dsp16xx/dsp16xx.h: Ditto.
13469         * config/fx80/fx80.h: Ditto.
13470         * config/gmicro/gmicro.h: Ditto.
13471         * config/i370/i370.h: Ditto.
13472         * config/i386/i386.h: Ditto.
13473         * config/m32r/m32r.h: Ditto.
13474         * config/m68k/m68k.h: Ditto.
13475         * config/m88k/m88k.h: Ditto.
13476         * config/mips/mips.h: Ditto.
13477         * config/pa/pa.h: Ditto.
13478         * config/pyr/pyr.h: Ditto.
13479         * config/tahoe/tahoe.h: Ditto.
13480         * config/we32k/we32k.h: Ditto.
13481
13482         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
13483         based on arch size.
13484
13485         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
13486
13487         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
13488         from comment.
13489
13490         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
13491
13492 1999-08-02  Richard Henderson  <rth@cygnus.com>
13493
13494         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
13495         for the register spill block.
13496         (m32r_va_arg): New.
13497         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
13498         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
13499
13500         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
13501         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
13502         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
13503
13504 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13505
13506         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
13507         MAX_WCHAR_TYPE defined in sparc.h.
13508         * config/sparc/linuxaout.h: Likewise.
13509         * config/sparc/linux64.h: Likewise.
13510         Also default to -mvis if CPU is UltraSPARC.
13511
13512 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13513
13514         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
13515         (RTX_OK_FOR_OLO10): Likewise.
13516         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
13517         %lo(), allow it in addresses...
13518         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
13519         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
13520         does not make sense.
13521         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
13522         (sparc_output_scratch_registers): New function.
13523         (output_function_prologue, sparc_flat_output_function_prologue): Use
13524         it.
13525         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
13526         defined.
13527         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
13528         * configure.in: Add check for .register pseudo-op support in as and
13529         check for offsetable %lo().
13530         * acconfig.h: Add templates for the above checks.
13531         * configure: Regenerate.
13532
13533 1999-08-02  Richard Henderson  <rth@cygnus.com>
13534
13535         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
13536         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
13537         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
13538
13539 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13540
13541         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
13542         reg_biv_class.
13543
13544 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13545
13546         * config/float-sparc.h: New file.
13547         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
13548         sparc-*-linux-gnu and sparc64-*-linux*.
13549
13550 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13551
13552         * rs6000.c (rs6000_va_list): Type is an array.
13553         (rs6000_va_start): Don't doubly adjust for varargs.
13554         (rs6000_va_arg): Evaluate long long GPR adjustment.
13555
13556 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
13557
13558         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
13559         -maix64 and -maix32.
13560         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
13561         LINK_SPEC): Change appropriately.
13562         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
13563         (u_short_cint_operand): Likewise.
13564         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
13565         for 64-bit hosts.
13566         * rs6000/t-aix43 (MULTILIB): Change to -m64.
13567
13568         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
13569
13570 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
13571
13572         * rs6000/rs6000.c (num_insns_constant_wide): Correct
13573         for type promotion.
13574         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
13575         (non_add_cint_operand): Likewise.
13576         (logical_operand): Likewise.
13577         (non_logical_cint_operand): Likewise.
13578         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
13579         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
13580         (rs6000_select_rtx_section): Suppress warning.
13581         (small_data_operand): Suppress warning.
13582         (rs6000_got_register): Suppress warning.
13583         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
13584         type, so `J' is generally the wrong constraint for a SImode value;
13585         use `L' instead.
13586         (andsi3_internal2): Likewise.
13587         (andsi3_internal3): Likewise.
13588         (iorsi3_internal1): Likewise.
13589         (xorsi3_internal1): Likewise.
13590         (movsi): Likewise.
13591         (movsf_softfloat): Likewise.
13592         (scc insns): Likewise.
13593         (movsi+2): Preserve sign bits of SImode constant.
13594         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
13595         (movdf+1): Sign-extend properly.
13596         (movdi_32+1): Sign-extend properly.
13597         (scc insns): Sign-extend properly.
13598
13599         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
13600         K, L, and T.
13601
13602 1999-08-02  Richard Henderson  <rth@cygnus.com>
13603
13604         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
13605         -mcpu parsing code.
13606         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
13607         * alpha.md (all fp insns): Likewise.
13608
13609 1999-08-02  Nick Clifton  <nickc@cygnus.com>
13610
13611         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
13612         already defined.
13613
13614 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
13615
13616         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
13617         pic_load_label generator directly.
13618         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
13619         No longer a named pattern.
13620
13621 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
13622
13623         * explow.c (force_reg): Call force_operand if X does not
13624         satisfy general_operand.
13625
13626 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
13627
13628         * fix-header.c (main): When testing for CONTINUED, use string
13629         equality, not pointer equality.
13630
13631 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
13632
13633         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
13634
13635 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
13636
13637         * cse.c (cse_insn): Fix loop which deletes insns after a jump
13638         that has become an unconditional jump.
13639
13640         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
13641         (output_function_epilogue): Similarly.
13642
13643 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13644
13645         * tree.h (init_dummy_function_start): Declare.
13646
13647 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13648
13649         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
13650         last_expr_type, last_expr_value, block_start_count, block_stack,
13651         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
13652         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
13653         dynamically in stmt elt of struct function for each function.
13654         (struct nesting): Rename function_call_count elt to n_function_calls,
13655         target_temp_slot_level to block_target_temp_slot_level.  All users
13656         changed.
13657         (struct stmt_status): New structure definition.
13658         Add many accessor macros for stmt_status elements which previously
13659         were global variables.
13660         (init_stmt_for_function): Allocate stmt elt for current_function.
13661         Reflect that block_start_count was renamed to
13662         current_block_start_count.
13663         (save_stmt_status, restore_stmt_status): Delete functions.
13664         (preserve_subexpressions_p): Don't access loop_stack when outside
13665         a function.
13666         (expand_start_bindings): Reflect that block_start_count was renamed to
13667         current_block_start_count.
13668         (expand_fixup): Likewise.
13669         (expand_decl): Don't access block_stack when outside a function.
13670         (expand_decl_cleanup): Likewise.
13671         (expand_dcc_cleanup): Likewise.
13672         (expand_dhc_cleanup): Likewise.
13673         (expand_anon_union_decl): Likewise.
13674         (set_file_and_line_for_stmt): New function.
13675         (in_control_zone_p): New function.
13676
13677         * function.h (struct function): Add new elt stmt.
13678         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
13679         case_stack, nesting_stack, nesting_depth, block_start_count,
13680         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
13681         emit_lineno, goto_fixup_chain.
13682         (save_eh_status, restore_eh_status, save_stmt_status,
13683         restore_stmt_status): Delete declarations.
13684         * function.c (push_function_context_to): Don't call save_stmt_status.
13685         (pop_function_context_to): Don't call restore_stmt_status.
13686         * tree.h (in_control_zone_p): Declare.
13687         * rtl.h (set_file_and_line_for_stmt): Declare.
13688
13689         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
13690         call set_file_and_line_for_stmt.
13691
13692 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
13693
13694         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
13695         Also update copyright.
13696
13697 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13698
13699         * c-pragma.c: Don't include "except.h".
13700         * emit-rtl.c: Likewise.
13701         * stor-layout.c: Likewise.
13702         * tree.c: Likewise.
13703         * varasm.c: Likewise.
13704
13705         * flow.c: Include "function.h".
13706         * tree.h (init_dummy_function_start): Declare new function.
13707
13708         * except.h (struct eh_status): New structure.
13709         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
13710         been included.
13711         (eh_return_stub_label, ehstack, catchstack, ehqueue,
13712         catch_clauses, false_label_stack, caught_return_label_stack,
13713         protect_list, current_function_ehc): Add accessor macros for the
13714         corresponding fields in current_function->eh; delete declarations
13715         for all items that used to be declared here.
13716         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
13717         catch_clauses, false_label_stack, caught_return_label_stack,
13718         protect_list, current_function_ehc): Delete variables.
13719         (init_eh_for_function): Allocate current_function->eh.
13720         (save_eh_status, restore_eh_status): Delete functions.
13721
13722         * function.h (struct function): Add fields next_global and eh.
13723         Delete all exception handling related fields.
13724         * function.c (current_function): New variable.
13725         (all_functions): New variable.
13726         (push_function_context_to): Don't allocate a struct function,
13727         use current_function instead.  Call init_dummy_function_start when
13728         outside a function.  Clear current_function before returning.
13729         (pop_function_context_from): Restore current_function.
13730         Don't free the restored struct function.
13731         (prepare_function_start): New function.
13732         (init_dummy_function_start): New function.
13733         (init_function_start): Break out some code into prepare_function_start
13734         and call it here.
13735
13736         * stmt.c (save_stmt_status): Don't call save_eh_status.
13737         (restore_stmt_status): Don't call restore_eh_status.
13738
13739         * Makefile.in: Update dependencies.
13740
13741 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
13742
13743         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
13744         of depending on a magic constant value.  Update comments.
13745         (hppa_expand_prologue): Similarly.
13746
13747         * pa.md (reload_indi, reload_outdi): Allow any register for the
13748         original reload register.
13749
13750 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
13751
13752         * cccp.c (print_help): Change marcos to macros.
13753
13754 1999-07-30  Richard Henderson  <rth@cygnus.com>
13755
13756         * c-typeck.c (initializer_constant_valid_p): Move ...
13757         * c-common.c (initializer_constant_valid_p): ... here.  Use
13758         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
13759         of label addresses.
13760         * c-common.h (initializer_constant_valid_p): Declare.
13761         * c-tree.h (initializer_constant_valid_p): Remove.
13762
13763 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
13764
13765         * config/i386/sol2-c1.asm: Align the stack.
13766         * config/i386/sol2-gc1.asm: Likewise.
13767
13768 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
13769
13770         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
13771         -Asparclite for sparc86x.
13772         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
13773         sparc86x.
13774         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
13775
13776 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
13777
13778         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
13779         the user if using the non-default arch size in BI_ARCH configuration.
13780         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
13781
13782         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
13783         Fix patterns so that they actually match.
13784         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
13785         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
13786         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
13787         TARGET_HARD_MUL32.
13788         (mulsidi3): Reflect this in the expand.
13789         (smulsi3_highpart): Only on TARGET_ARCH32.
13790         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
13791         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
13792         (umulsidi3): Reflect this in the expand.
13793         (umulsi3_highpart): Only on TARGET_ARCH32.
13794         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
13795         don't require g0 to be zero.
13796         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
13797         ({,u}divsi3): New expands.
13798         ({,u}divsi3_sp64): New patterns.
13799         (after lshrdi3_v8plus): Four new patterns to help combiner
13800         optimizing nested mixed mode shifts.
13801
13802         * config/sparc/sparc.c (sparc_override_options): Use deprecated
13803         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
13804         speed things up. Don't use them by default on plain v9 in 64bit
13805         mode, according to what SPAMv9 sais.
13806
13807         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
13808         top 32 bits of %[og][0-7] in signal handlers.
13809         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
13810
13811 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
13812
13813         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
13814         (ashlsi3): Corresponding changes.
13815
13816         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
13817
13818 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
13819
13820         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
13821
13822 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13823
13824         * arm.h (Hint): Delete macro.
13825         Substitute HOST_WIDE_INT for Hint in some prototypes.
13826         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
13827
13828 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
13829
13830         * builtins.c (expand_builtin_setjmp): Use force_operand to
13831         make sure that the buffer address is in a suitable form to be
13832         passed to force_reg.
13833
13834 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
13835
13836         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
13837         them here.
13838
13839 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
13840
13841         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
13842         proper mode in the condition string.
13843         (icacheflush, dcacheflush): Remove modes from match_operands.
13844
13845         * pa.c (emit_move_sequence): Always convert scratch_reg to the
13846         proper mode before using it.
13847
13848         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
13849         pair.
13850
13851         * pa.c (store_reg): Do not call add_high_const generator directly.
13852         (load_reg, set_reg_plus_d): Likewise.
13853         * pa.md (add_high_const): No longer a named pattern.
13854
13855         * pa.c (legitimize_address): Consistently use Pmode rather than
13856         SImode.  Do not call gen_pic2_highpart directly anymore.
13857         * pa.md (pic2_highpart): No longer a named pattern.
13858         (pic2_lo_sum): Similarly.  Reformat to make more readable.
13859
13860         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
13861         needed.
13862
13863         * README: Update.
13864
13865 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13866
13867         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
13868
13869 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
13870
13871         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
13872         and tag the spill mems.
13873         (hppa_va_start): New.
13874         (hppa_va_arg): New.
13875         * pa.h (EXPAND_BUILTIN_VA_START): New.
13876         (EXPAND_BUILTIN_VA_ARG): New.
13877
13878 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
13879
13880         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
13881         and tag the spill mems.
13882         (mn10300_va_start): New.
13883         (mn10300_va_arg): New.
13884         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
13885         (EXPAND_BUILTIN_VA_ARG): New.
13886
13887 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
13888
13889         * mn10200.c (mn10200_va_arg): New.
13890         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
13891
13892 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
13893
13894         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
13895         rather than play with TREE_INT_CST_LOW.
13896
13897 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
13898
13899         * config/arm/telf.h: Include dbxelf.h.
13900         (CPP_PREDEFINES): Only define if not already defined.
13901         (ASM_IDENTIFY_GCC): Likewise.
13902         (SUBTARGET_EXTRA_SECTIONS): Likewise.
13903         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
13904         * config/arm/thumb.h (LINK_SPEC): Only define if not already
13905         defined.
13906         (DBX_DEBUGGING_INFO): Don't define.
13907         * config/arm/linux-telf.h: New file.
13908         * config/arm/linux-tgas.h: New file.
13909         * config/arm/t-thumb-linux: New file.
13910         * config/arm/uclinux-elf.h: New file.
13911         * config/arm/uclinux-telf.h: New file.
13912         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
13913         thumb-*-uclinux): New targets.
13914         * configure: Regenerate.
13915
13916 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
13917
13918         * pa.md (post_store, pre_load): New expanders.
13919         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
13920         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
13921         need to directly generate RTL for them.
13922         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
13923         changes.
13924
13925 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
13926
13927         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
13928         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
13929         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
13930         (secndary_reload_class): Make TARGET_ELF conditional compile.
13931         (print_operand_address): Similar.
13932         (output_toc): Print all values as hex.
13933         (get_issue_rate): Rearrange and add RS64A and PPC630.
13934         * rs6000.h (processor_type): Add RS64A and PPC630.
13935         (PROCESSOR_POWERPC64): New.
13936         (PROMOTE_MODE): Use word_mode.
13937         (RTX_COSTS): Add RS64A and PPC630.
13938         * rs6000.md (scheduling information): Add lmul and ldiv
13939         representing 64-bit integer multiply and divide.  Add rs64a and
13940         PPC630 information.
13941         (ashldi3): Add support for "rldic" instruction.
13942         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
13943
13944 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
13945
13946         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
13947         instead of V8 for sparclite86x in cpu_table.
13948
13949 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13950
13951         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
13952         output_file_directive.
13953
13954 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
13955
13956         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
13957         tree for op1, not the rtl.
13958
13959 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
13960
13961         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
13962         to m88k_va_start, leaving only the register spill.
13963         (m88k_build_va_list): New.
13964         (m88k_va_start): New.
13965         (m88k_va_arg): New.
13966         * m88k.h (BUILD_VA_LIST_TYPE): New.
13967         (EXPAND_BUILTIN_VA_START): New.
13968         (EXPAND_BUILTIN_VA_ARG): New.
13969
13970 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
13971
13972         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
13973         Rename from expand_builtin_saveregs.
13974         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
13975
13976 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
13977
13978         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
13979         for the register spill block.
13980         (i960_build_va_list): New.
13981         (i960_va_start): New.
13982         (i960_va_arg): New.
13983         * i960.h (BUILD_VA_LIST_TYPE): New.
13984         (EXPAND_BUILTIN_VA_START): New.
13985         (EXPAND_BUILTIN_VA_ARG): New.
13986         * i960.md (store_multiple): Use change_address on individul mems.
13987
13988 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
13989
13990         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
13991         an ARRAY_TYPE.
13992         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
13993         (expand_builtin_va_end): Evaluate arg for side effects.
13994         * c-common.c (c_common_nodes_and_builtins): Construct a
13995         va_list_arg_type_node to handle array decomposition to pointer.
13996
13997 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
13998
13999         * except.c (start_dynamic_cleanup): Use force_operand on the
14000         buffer's address.
14001
14002 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
14003
14004         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
14005         * c4x.c (c4x_va_arg): New.
14006
14007 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
14008
14009         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
14010         has manual_pop set.
14011
14012 1999-07-26  Nathan Sidwell  <nathan@acm.org>
14013
14014         * eh-common.h (__eh_matcher): Prototype correctly.
14015
14016 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
14017
14018         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
14019         (TARGET_SINGLE_PIC_BASE): Likewise.
14020         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
14021         definitions.
14022         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
14023         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
14024         (TARGET_OPTIONS): Add -mpic-register=N.
14025         (OUTPUT_INT_ADDR_CONST): New macro.
14026         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
14027         LEGITIMATE_PIC_OPERAND_P): Likewise.
14028         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
14029         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
14030         output_addr_const directly.
14031         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
14032         ARM port.
14033         (thumb_pic_register, thumb_pic_register_string): Declare.
14034
14035         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
14036         from arm.c.
14037         (label_mentioned_p): New function: Imported from arm.c.
14038         (legitimize_pic_address): New function: Imported from arm.c.
14039         (is_pic):New function: Imported from arm.c.
14040         (thumb_finalize_pic):New function: Imported from arm.c.
14041         (add_constant): Cope with PIC constants.
14042         (fixit): Cope with PIC constants.
14043         (output_return): Do not treat the PIC register as live if
14044         TARGET_SINGLE_PIC_BASE is true.
14045         (thumb_function_prologue): Do not treat the PIC register as live if
14046         TARGET_SINGLE_PIC_BASE is true.
14047         (thumb_expand_prologue): Do not treat the PIC register as live if
14048         TARGET_SINGLE_PIC_BASE is true.
14049         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
14050         TARGET_SINGLE_PIC_BASE is true.
14051         (thumb_print_operand): Accept '|'.
14052         (thumb_override_options): Process PIC options.
14053
14054         * config/arm/thumb.md (movsi): Support PIC.
14055         (call_insn): Change "i" constraint to "X".
14056         (call_value_insn): Likewise.
14057         (consttable_4, consttable_8, consttable_end): Set and clear
14058         "making_const_table" as appropriate.
14059         (pic_load_addr, pic_add_dot_plus_four): New insns.
14060
14061         * invoke.texi (Thumb Options): Fix spelling.  Document new
14062         options -msingle-pic-base and -mpic-register=.
14063
14064 1999-07-26  Andrew Haley  <aph@cygnus.com>
14065
14066         * config/m32r/initfini.c (__init): Use a full word immediate for
14067         __fini: this allows it to be placed in any memory region.
14068
14069         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
14070         -mmodel=medium.  This is OK for all memory models.
14071
14072 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
14073
14074         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
14075         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
14076
14077 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
14078
14079         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
14080         defined.
14081
14082         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
14083
14084 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
14085
14086         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
14087         (BUILD_VA_LIST_TYPE): New.
14088         (EXPAND_BUILTIN_VA_START): New.
14089         (EXPAND_BUILTIN_VA_ARG): New.
14090         * i860.c (output_delayed_branch): Disable.
14091         (output_delay_insn): Likewise.
14092         (i860_saveregs): New.
14093         (i860_build_va_list): New.
14094         (i860_va_start): New.
14095         (i860_va_arg): New.
14096         * i860.md: Disable all peepholes using output_delayed_branch.
14097         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
14098
14099 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
14100
14101         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
14102         (BUILD_VA_LIST_TYPE): New.
14103         (EXPAND_BUILTIN_VA_START): New.
14104         (EXPAND_BUILTIN_VA_ARG): New.
14105         * clipper.c (clipper_builtin_saveregs): Only dump registers.
14106         Return the address of the save area.
14107         (clipper_build_va_list): New.
14108         (clipper_va_start): New.
14109         (clipper_va_arg): New.
14110
14111 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
14112
14113         * arc.h (EXPAND_BUILTIN_VA_START): New.
14114         (EXPAND_BUILTIN_VA_ARG): New.
14115         * arc.c (arc_setup_incoming_varargs): Set alias set of
14116         varargs save area.
14117         (arc_va_start): New.
14118         (arc_va_arg): New.
14119
14120 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
14121
14122         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
14123         (BUILD_VA_LIST_TYPE): New.
14124         (EXPAND_BUILTIN_VA_START): New.
14125         (EXPAND_BUILTIN_VA_ARG): New.
14126         * alpha.c (alpha_builtin_saveregs): Delete.
14127         (alpha_build_va_list): New.
14128         (alpha_va_start): New.
14129         (alpha_va_arg): New.
14130
14131 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
14132
14133         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
14134         column zero.
14135         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
14136         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
14137
14138         * gcc.texi: More changes related to list conversion.
14139         * invoke.texi: Likewise.
14140
14141 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
14142
14143         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
14144         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
14145         (expand_builtin_next_arg): Accept ARGLIST not EXP.
14146         (stabilize_va_list): New function.
14147         (std_expand_builtin_va_start): New function.
14148         (expand_builtin_va_start): New function.
14149         (get_varargs_alias_set): New function.
14150         (std_expand_builtin_va_arg): New function.
14151         (expand_builtin_va_arg): New function.
14152         (expand_builtin_va_end): New function.
14153         (expand_builtin_va_copy): New function.
14154         (expand_builtin): Call them.
14155         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
14156         __builtin_{varargs_start,stdarg_start,end,copy}.
14157         (build_va_arg): New function.
14158         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
14159         (build_va_arg): Declare.
14160         * c-decl.c (ptr_type_node, va_list_type_node): New.
14161         * c-parse.gperf (__builtin_va_arg): New.
14162         * c-parse.in (VA_ARG): New token.
14163         (unary_expr): Recognize it.
14164         * expr.c (expand_expr): Expand VA_ARG_EXPR.
14165         * expr.h (std_expand_builtin_va_start): Declare.
14166         (std_expand_builtin_va_arg): Declare.
14167         (expand_builtin_va_arg): Declare.
14168         (get_varargs_alias_set): Declare.
14169         * tree.def (VA_ARG_EXPR): New.
14170         * tree.h (BUILT_IN_VARARGS_START): New.
14171         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
14172         (ptr_type_node, va_list_type_node): Declare.
14173         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
14174         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
14175         * m88k.h, m88k.c: Likewise.
14176         * mn10300.h, mn10300.c: Likewise.
14177         * pa.h, pa.c: Likewise.
14178         * rs6000.h, rs6000.c: Likewise.
14179         * sh.h, sh.c: Likewise.
14180         * sparc.h, sparc.c: Likewise.
14181
14182         * emit-rtl.c (operand_subword): Copy alias set.
14183         (change_address): Likewise.
14184
14185 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
14186
14187         * pa.c (compute_frame_size): Scan all the used callee saved registers,
14188         not just the first one.
14189
14190 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
14191
14192         * config/arm/arm.h (TARGET_SWITCHES): Add
14193         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
14194         (TARGET_OPTIONS): Add -mpic-register=.
14195         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
14196         (arm_pic_register_string): Declare.
14197         (NEED_PLT_GOT): Delete, replace with ...
14198         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
14199         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
14200         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
14201         * config/arm/arm.c (arm_override_options): Add new option
14202         -mpic-register=N.
14203         (arm_pic_register_string): New variable.
14204         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
14205         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
14206         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
14207         (output_return_instruction): Likewise.
14208         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
14209         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
14210         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
14211
14212         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
14213         mention of -msched-prolog.  Document new options -msingle-pic-base
14214         and -mpic-register=.
14215
14216 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
14217
14218         * haifa-sched.c (reemit_notes): Tidy.
14219         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
14220         haifa's routine.
14221
14222 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
14223
14224         * explow.c (trunc_int_for_mode): New function.
14225         (plus_constant_wide): Use it.
14226         * combine.c (simplify_and_const_int): Likewise.
14227         (merge_outer_ops): Likewise.
14228         (simplify_shift_const): Likewise.
14229         * cse.c (simplify_unary_operation): Likewise.
14230         (simplify_binary_operation): Likewise.
14231         * emit-rtl.c (operand_subword): Likewise.
14232         * rtl.h: Declare it.
14233
14234 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14235
14236         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
14237         (use NUM_REGS instead of NUM_INTS).
14238
14239 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14240
14241         * builtins.c: New file.
14242         * expr.c (saveregs_value, apply_args_value):  Delete definition,
14243         moved into builtins.c.
14244         (string_constant): No longer static.
14245         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
14246         apply_args_size, apply_result_size, result_vector,
14247         expand_builtin_apply_args, expand_builtin_apply,
14248         expand_builtin_return): Delete functions, moved into builtins.c.
14249         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
14250         * expr.h (saveregs_value, apply_args_value): Declare variables.
14251         (expand_builtin, string_constant): Declare functions.
14252         * Makefile.in: Update to build builtin.o.
14253
14254 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14255
14256         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
14257         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
14258         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
14259         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
14260         false.
14261         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
14262         Define to zero.
14263
14264 1999-07-21  Michael Meissner  <meissner@cygnus.com>
14265
14266         * print-rtl.c (print_rtx): Print the names of the virtual
14267         registers.
14268
14269 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
14270
14271         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
14272         introduced in previous delta.
14273
14274 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14275
14276         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
14277         to avoid name clash.
14278
14279 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14280
14281         * c-lex.c (yylex) : Correct the test for overflow when lexing
14282         integer literals.
14283
14284 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
14285
14286         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
14287         (adjust_priority): Always call ADJUST_PRIORITY.
14288         (schedule_insn): Only put insns into the ready at cost 0.
14289         (schedule_block): Remove redundant initial sort.  Give clock_var
14290         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
14291         is not 0.
14292         * tm.texi (MD_SCHED_REORDER): Update docs.
14293
14294         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
14295         * sparc.c (ultra_reorder_called_this_block): Delete.
14296         (ultrasparc_sched_init): Don't set it.
14297         (ultrasparc_sched_reorder): Don't check it.
14298
14299 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
14300
14301         * rs6000.h (struct rs6000_args): Add sysv_gregno.
14302         * rs6000.c (init_cumulative_args): Init sysv_gregno.
14303         (function_arg_boundary): Align DFmode.
14304         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
14305         to get fp reg and stack overflow correct.
14306         (function_arg): Likewise.
14307         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
14308         (setup_incoming_varargs): Restructure for ABI_V4; use
14309         function_arg_advance to skip final named argument.
14310         (expand_builtin_saveregs): Properly unskip the last integer arg
14311         when doing varargs.  Adjust overflow location calculation.
14312
14313         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
14314         explicitly unsigned.
14315         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
14316         (__VA_GP_REGSAVE): Similarly.
14317         (__va_longlong_p): Delete.
14318         (__va_arg_type_violation): New declaration.
14319         (va_arg): Restructure.  Flag promotion errors.  Align double.
14320         TFmode passed by reference.
14321
14322         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
14323         in the HOST_BITS_PER_WIDE_INT > 32 case.
14324
14325 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
14326
14327         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
14328
14329 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
14330
14331         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
14332         * toplev.c (documented_lang_options): Add -fpreprocessed.
14333         * cpplib.h (struct cpp_buffer): Add preprocessed.
14334         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
14335         (cpp_start_read): Don't expand macros or emit an initial #line
14336         directive if -fpreprocessed.
14337
14338 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
14339
14340         * cpplib.h (struct cpp_buffer): Added manual_pop for
14341         better C++ tokenization.
14342         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
14343         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
14344         * c-common.c (cpp_token): Make non-static.
14345
14346 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14347
14348         * c-common.h: New file.
14349         * c-common.c (permanent_obstack): Delete unused declaration.
14350         (c_global_trees): New array.
14351         (c_common_nodes_and_builtins): New function; split off common code
14352         from init_decl_processing in both c-decl.c and cp/decl.c.
14353         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
14354         c_global_trees and accessor macros defined in c-common.h.
14355         Include c-common.h.
14356         * c-decl.c: Delete definitions for tree nodes that were replaced by
14357         c_global_trees.
14358         (init_decl_processing): Build void_list_node.
14359         Call c_common_nodes_and_builtins; delete code to generate the common
14360         builtins here.
14361         * objc/objc-act.c (build_module_descriptor): Rename variable
14362         void_list_node to avoid clash with c-common.h.
14363
14364         * Makefile.in: Update dependencies.
14365         * objc/Make-lang.in: Likewise.
14366
14367 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
14368
14369         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
14370         (UNIQUE_SECTION_P): Likewise.
14371         (UNIQUE_SECTION): Likewise.
14372
14373 1999-07-19  Linas Vepstas  <linas@linas.org>
14374
14375         * config/i370/README: New file.
14376         * config/i370/linux.h: New file.
14377         * config/i370/mvs.h: New file.
14378         * config/i370/oe.h: New file.
14379         * config/i370/t-linux: New file.
14380         * config/i370/t-mvs: New file.
14381         * config/i370/t-oe: New file.
14382         * config/i370/x-oe: New file.
14383         * config/i370/xm-linux.h: New file.
14384         * config/i370/xm-mvs.h: New file.
14385         * config/i370/xm-oe.h: New file.
14386
14387         * i370.c (label_node_t): Add first_ref_page, label_addr,
14388         label_first_ref, label_last_ref members.
14389         (mvs_need_base_reload): Renamed from mvs_label_emitted.
14390         (MAX_MVS_LABEL_SIZE): Define.
14391         (MAX_LONG_LABEL_SIZE): Define.
14392         (alias_node_t, alias_anchor, alias_number): New.
14393         (mvs_function_table): Reorder for EBCDIC.
14394         (ascebc, ebcasc): Unconditionally define.
14395         (i370_branch_dest, i370_branch_length): New functions.
14396         (i370_short_branch, i370_label_scan): New functions.
14397         (mvs_get_label): Renamed from mvs_add_label.  Search for
14398         an existing label before creating a new one.
14399         (mvs_add_label): New function.
14400         (mvs_get_label_page): New function.
14401         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
14402         over the entire list.
14403         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
14404         (mvs_check_page) [TARGET_ELF_ABI]: New function.
14405         (mvs_add_alias, mvs_need_alias): New functions.
14406         (mvs_get_alias, mvs_check_alias): New functions.
14407         (handle_pragma): New function.
14408         (mvs_function_check): New function.
14409         (unsigned_jump_follows_p): Search harder.
14410         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
14411         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
14412         * i370.h (TARGET_VERSION): Delete.
14413         (CPP_SPEC, CPP_PREDEFINES): Delete.
14414         (mvs_label_emitted): Delete.
14415         (TARGET_EBCDIC): Delete.
14416         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
14417         (HANDLE_PRAGMA): Define.
14418         (HARD_REGNO_NREGS): Handle complex modes.
14419         (HARD_REGNO_MODE_OK): Likewise.
14420         (CLASS_MAX_NREGS): Likewise.
14421         (RET_REG): Likewise.
14422         (EXTRA_CONSTRAINT): Define.
14423         (RETURN_IN_MEMORY): True for DImode.
14424         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
14425         (FUNCTION_PROFILER): Delete.
14426         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
14427         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
14428         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
14429         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
14430         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
14431         (ASM_FILE_START): Add "RMODE ANY".
14432         (ASM_OUTPUT_EXTERNAL): Check for aliases.
14433         (ASM_GLOBALIZE_LABEL): Likewise.
14434         (ASM_OUTPUT_LABELREF): Likewise.
14435         (ASM_OUTPUT_COMMON): Likewise.
14436         (PRINT_OPERAND): Handle 'K', 'W', default.
14437         (PRINT_OPERAND_ADDRESS): New.
14438         (Lots of defines): Add support for TARGET_ELF_ABI.
14439         * i370.md (attr length): New.  Define for all patterns.
14440         (*): Lots of tweeks to assembly output and constraints.
14441
14442 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
14443
14444         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
14445         Disable patterns performing SImode comparisons with SImode values
14446         if TARGET_POWERPC64 and instruction does not sign-extend or does
14447         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
14448         differ for signed quantities.
14449         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
14450         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
14451         (decrement_and_branch_on_count): Add 64-bit variant.
14452
14453 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14454
14455         * final.c (output_asm_insn): When searching for the matching string
14456         for a given dialect, don't run past the end of the list of
14457         alternatives if there are fewer alternatives in the template than
14458         dialects.
14459
14460 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
14461
14462         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
14463         Removed paragraph about compression of files and size limitation,
14464         duplicated in the FAQ.  Use gcc-patches for posting patches.
14465         * gcc.c (main): Updated URL with bug reporting instructions to
14466         gcc.gnu.org.  Removed e-mail address.
14467         * system.h (abort): Likewise.
14468
14469 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14470
14471         * Makefile.in (stmp-multilib-sub): Make the files extracted
14472         from $(LIBGCC1) writable.
14473
14474 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
14475
14476         * config/arm/aout.h: Reformat for improved readability.
14477
14478         * config/arm/arm.h: Reformat for improved readability.
14479         Replace uses of fprintf with asm_fprintf where appropriate.
14480         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
14481         function declaration assembler actions.
14482         (NUM_INTS): New macro: Convert from bytes to words.
14483         (NUM_REGS): New macro: Compute number of registers required to
14484         hold a quanitity of tyep MODE.
14485         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
14486         types.
14487         (NUM_ARG_REGS): New macro: The number of argument registers
14488         available.
14489         (ARG_REGISTER): New macro: Compute the register number of the Nth
14490         argument register.
14491         (LAST_ARG_REGNUM): New macro: The number of the last argument
14492         register.
14493         (SP_REGNUM): New macro: Register number of the stack pointer.
14494         (FP_REGNUM): New macro: Register number of the frame pointer.
14495         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
14496         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
14497         CUMULATIVE_ARGS so that it counts registers not bytes.
14498
14499         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
14500         TARGET_INTERWORK.
14501         Replace uses of fprintf with asm_fprintf where appropriate.
14502         (output_ascii_pseudo_op): Replace with version from thumb.c
14503
14504         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
14505
14506         * config/arm/elf.h (CPP_PREDEFINES): Replace with
14507         SUBTARGET_CPP_SPEC.
14508         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
14509         (ASM_FILE_START): Emit ASM_APP_OFF.
14510
14511 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
14512
14513         * pa.c (compute_frame_size): Round frame according to
14514         STACK_BOUNDARY rather than a hardwired value.
14515
14516         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
14517
14518         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
14519         of "1".
14520         * configure: Rebuilt.
14521
14522         * configure.in (hppa*-*-linux*): New configuration.
14523         * configure: Rebuilt.
14524         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
14525         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
14526         * pa/pa-linux.h: New file.
14527         * pa/t-linux: New file.
14528         * pa/xm-linux.h: New file.
14529
14530         * pa.c (hppa_legitimize_address): Change references from SImode to
14531         either Pmode or word_mode as appropriate.
14532         (emit_move_sequence, store_reg, load_reg): Likewise.
14533         (set_reg_plus_d, hppa_expand_prologue): Likewise.
14534         (output_mul_insn): Likewise.
14535         * pa.h (PROMOTE_MODE): Likewise.
14536         (INITIALZE_TRAMPOLINE): Likewise.
14537         (Pmode): Define to word_mode.
14538
14539         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
14540         value of 4.  Allocate 8 bytes for each FP register save.
14541         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
14542         value of 4.
14543         (hppa_expand_prologue): Likewise.
14544         * pa.h (PROMOTE_MODE): Likewise.
14545         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
14546         (FUNCTION_ARG_BOUNDARY): Likewise.
14547
14548         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
14549
14550         * pa.c (out_of_line_prologue_epilogue): Delete.
14551         (override_options): Remove -mspace related code.
14552         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
14553         (compute_frame_size): Only allocate space for register that
14554         actually need to be saved.
14555         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
14556         (TARGET_SWITCHES): Remove -mspace, -mno-space
14557         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
14558         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
14559         * pa/ee.asm, pa/ee_fp.asm: Delete.
14560
14561         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
14562
14563         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
14564         directive in column zero.
14565
14566 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
14567
14568         * m68k.c (output_function_prologue): Fix computation of save mask
14569         when generating PIC code.
14570
14571 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
14572
14573         * tree.c (build_type_attribute_variant): Move current_obstack restore
14574         after build_qualified_type call.
14575
14576 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
14577
14578         * configure.in: Use t-iris6, even with GNU LD.
14579         * config/mips/iris6gld.h: Fix typo in linker spec.
14580         * config/mips/t-iris6gld: Remove.
14581
14582 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
14583
14584         * rs6000.md (insv, extzv): Remove SImode dependence in named
14585         patterns.  Explicitly generate DImode RTL if PowerPC64 and
14586         operand is DImode.
14587         (insvdi): Reverse start and size in instruction template.
14588
14589 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
14590
14591         * invoke.texi: Typo fixes.
14592
14593 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
14594
14595         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
14596         handle at this time instead of silently generating incorrect code.
14597         (gen_imagpart): Likewise.
14598
14599         * reload.c (find_reloads): Emit a USE for a pseudo register without
14600         a hard register if we could not create an optional reload for the
14601         pseudo.
14602
14603 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14604
14605         * c-typeck.c (output_init_element, process_init_element):
14606         When advancing constructor_unfilled_fields for a RECORD_TYPE,
14607         check for nameless bit fields.
14608
14609 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
14610
14611         * regclass.c (scan_one_insn): Notice subregs that change the
14612         size of their operand.
14613         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
14614
14615 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
14616
14617         * configure.in (alpha*-*-*): Include alpha/t-ieee.
14618         * configure: Rebuilt.
14619         * alpha/t-ieee: New file.
14620
14621 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
14622
14623         * rs6000.c (find_addr_reg): Do not select r0 as an address
14624         register.
14625
14626 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
14627
14628         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
14629
14630 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
14631
14632         * rs6000.md (movsf): Do not force easy FP constants into memory.
14633
14634         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
14635         immed_double_const to ensure they are properly truncated then
14636         sign extended.
14637
14638 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
14639
14640         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
14641         always unless NO_DEBUG is used.  Compile this code
14642         unconditionally.
14643         (replace_symbols_in_block): Compile it unconditionally.
14644
14645 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
14646
14647         * configure.in (i?86-*-elf*): New target.
14648         * configure: Rebuilt.
14649         * i386/i386elf.h, i386/t-i386elf: New files.
14650
14651 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14652
14653         * toplev.c (main): Don't complain about saying -gdwarf.
14654         (rest_of_compilation): Remove redundant code.
14655
14656 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
14657
14658         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
14659
14660 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
14661
14662         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
14663         "Li960R:", to avoid name clash.
14664
14665 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14666
14667         * loop.c (check_dbra_loop): When reversing a loop, delete all
14668         REG_EQUAL notes referencing the reversed biv except those which are
14669         for a giv based on it.
14670
14671 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
14672
14673         * version.c: Drop "gcc-" prefix from version #.
14674
14675 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
14676
14677         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
14678         the label if we're being verbose.
14679
14680 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
14681
14682         * m68k.c (output_function_prologue): Add pic register to mask
14683         if live and flag_pic.
14684         (output_function_epilogue): Likewise.
14685
14686 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
14687
14688         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
14689         directives in column zero.
14690
14691         * pa/elf.h (ASM_FILE_START): Define.
14692         * pa/som.h (ASM_FILE_START): Include .level directives.
14693         * pa/hpux10.h (ASM_FILE_START): Delete.
14694         * pa/hpux11.h (ASM_FILE_START): Delete.
14695
14696         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
14697
14698 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14699
14700         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
14701         when reload_out equals reload_in.
14702
14703 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
14704
14705         * invoke.texi (Spec Files): New node: Describe the contents of
14706         spec files.
14707
14708 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
14709
14710         * invoke.texi (DEC Alpha Options): Put @end table at
14711         beginning of line, to avoid confusing texi2html.
14712
14713 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
14714
14715         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
14716         introduced in previous delta.
14717
14718 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14719
14720         * reload1.c (gen_reload): When synthesizing a 3 operand add
14721         sequence, improve test for when to reload OP1 into the reload
14722         register instead of OP0.
14723
14724 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
14725
14726         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
14727
14728 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
14729
14730         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
14731         string literal.
14732
14733 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
14734
14735         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
14736         (va_dcl): Use __builtin_va_alist_t.
14737
14738 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
14739
14740         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
14741         on the permanent_obstack.
14742         * dwarfout.c (output_type): Likewise.
14743
14744 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14745
14746         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14747         Merged from c-typeck.c and cp/typeck.c.
14748         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14749         Merged into c-common.
14750
14751 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
14752
14753         * c-lex.c (errorcount): Declare it.
14754         (finish_parse): Update errorcount when using CPPLIB.
14755
14756 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
14757
14758         * fixinc/inclhack.def(end_else_label): Double the backslash so
14759         sed gets a chance to see it.
14760         * fixinc/inclhack.sh: regen
14761         * fixinc/fixincl.x: regen
14762
14763 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
14764
14765         Add framework to support armv5 architecture when it becomes
14766         available:
14767
14768         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
14769         (arm_arch5): New variable.
14770         (all_architectures): Add armv5 line.
14771         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
14772         -march=armv5 is specified on the command line.
14773         (arm_arch5): Export this variable.
14774         * invoke.texi: Document new string accepted by -march= switch for
14775         ARM ports.
14776
14777         * config/arm/arm.h: Replace use of constant 12 as a register
14778         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
14779         * config/arm/arm.c: Replace use of constant 12 as a register
14780         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
14781
14782         * config/arm/elf.h: Tidy up.
14783         * config/arm/coff.h: Tidy up.
14784
14785 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
14786
14787         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
14788         * gcc/config/mips/t-iris6gld: New file.
14789         * gcc/config/mips/iris6gld.h: Likewise.
14790
14791 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14792
14793         * c-decl.c (widest_integer_literal_type_node,
14794         widest_unsigned_literal_type) : New.
14795         (init_decl_processing): Handle/use the two new types.
14796         * c-common.c (type_for_size,type_for_mode) : Same.
14797         * c-lex.c (yylex) : Same.
14798         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14799         Same.
14800         * c-tree.h (widest_integer_literal_type_node,
14801         widest_unsigned_literal_type) : New.
14802
14803 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
14804
14805         * dwarfout.c (field_byte_offset): Correctly compute the object's
14806         byte offset for the first bit of a field which crosses an alignment
14807         boundary on a !BYTES_BIG_ENDIAN target.
14808
14809 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
14810
14811         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
14812         ntohs.
14813
14814 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
14815                           Jeff Law <law@cygnus.com>
14816
14817         * ginclude/varargs.h (va_dcl): Use word_mode for type of
14818         __builtin_va_list.
14819
14820         * except.c: Include intl.h.
14821         (expand_eh_return): Set current_function_cannot_inline.
14822         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
14823         * function.h (struct function): Add eh_return_stub_label.
14824         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
14825         * Makefile.in (except.o): Depend on intl.h.
14826
14827 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
14828
14829         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
14830         same as offsettable in cases 1 and 2.
14831
14832 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
14833
14834         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
14835         (extlh, extwh): Likewise.
14836
14837 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14838
14839         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
14840
14841 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
14842
14843         * configure.in: Add arm-pe and thumb-pe targets.
14844         * configure: Regenerate.
14845
14846         * thumb.c (arm_naked_function_p): New function: Determines if
14847         a function is naked (has no gcc generated prologue/epilogue).
14848         (is_called_in_ARM_mode): Return true if the func has the
14849         interfacearm attribute.
14850         (output_return): Do not generate a return for naked functions.
14851         (thumb_function_prologue): Do not generate a prologue for
14852         naked functions.
14853         (thumb_expand_prologue): Do not generate a prologue for naked
14854         functions.
14855         (thumb_expand_epilogue): Do not generate an epilogue for naked
14856         functions.
14857         (arm_valid_machine_decl_attribute): New function, copied from
14858         arm.c:  Permit naked and interfacearm attributes.
14859
14860         * config/arm/pe.c: New file: Support code for arm-pe target.
14861         * config/arm/pe.h: New file: Header file for arm-pe target.
14862         * config/arm/tpe.h: New file: Header file for thumb-pe target.
14863         * config/arm/t-thumb-pe: New file: Makefile fragment for
14864         thumb-pe target.
14865
14866 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
14867
14868         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
14869         -fPIC or -fpic is specified.
14870
14871 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
14872
14873         * expr.c (emit_block_move): Use copy_to_mode_reg for
14874         !TARGET_MEM_FUNCTIONS case too.
14875
14876         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
14877         appropriate.
14878         * configure: Rebuilt.
14879         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
14880         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
14881         definitions made redundant by dbxelf.h inclusion.  Delete
14882         lots of definitions related to assembly output that are
14883         specific to the SOM object format.
14884         * pa.c (output_function_prologue): Do not emit the function's
14885         name for OBJ_ELF.
14886         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
14887         * pa-pro.h: Deleted.
14888         * som.h: New file with SOM specific definitions.
14889         * elf.h: New file with ELF specific definitions.
14890
14891         * elfos.h (const_section): Output a tab before assembler directives.
14892         (ctors_section, dtors_section): Likewise.
14893         (ASM_OUTPUT_SECTION_NAME): Likewise.
14894
14895         * pa/pa1.h: Delete unused file.
14896
14897 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
14898
14899         * configure.in (hppa*-hp-hpux11*): New configuration.
14900         * configure: Rebuilt.
14901         * pa/pa-hpux11.h: New file.
14902         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
14903         command line.
14904
14905         * mips.md (leasi, leadi): New patterns.
14906
14907         * expr.c (emit_block_move): Properly handle case where one of the
14908         block move arguments has a queued increment or decrement.
14909         (clear_storage): Similarly.  Fix formatting goof.
14910
14911 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
14912
14913         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
14914         semicolon from the BSD VA_LIST replacement expression.
14915
14916         * fixinc/inclhack.sh: regen
14917         * fixinc/fixincl.x: regen
14918
14919         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
14920         now use the fixincl program.
14921
14922 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
14923
14924         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
14925         case.  Also make the PIC register call_used.
14926
14927         * m68k.h (FINALIZE_PIC): Delete.
14928         * m68k.c (finalize_pic): Delete.
14929
14930 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
14931
14932         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
14933         to memory.
14934
14935 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
14936
14937         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
14938
14939 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
14940
14941         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
14942
14943 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
14944
14945         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
14946
14947 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
14948
14949         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
14950
14951 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
14952
14953         * rs6000.c (output_toc): Always use hex values for floating-point
14954         constants.  Store single-precision values in upper-half of TOC
14955         entry in 64-bit mode.
14956         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
14957         to final constraints.
14958         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
14959         (fctiwz): Improve accuracy of RTL for pattern.
14960
14961 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14962
14963         * expr.c (expand_expr): Allow RTL_EXPR's through the
14964         MAX_INTEGER_COMPUTATION_MODE checks.
14965
14966 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
14967
14968         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
14969         such that MASK_SUPPORT_ARCH is not negative.
14970
14971 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
14972
14973         * loop.c (verify_dominator): Properly handle ADDR_VEC and
14974         ADDR_DIFF_VEC insns that appear inside loops.
14975
14976 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
14977                           Jeff Law <law@cygnus.com>
14978
14979         * rs6000.md (movdf_hardfloat32): Revert previous patch.
14980         Handle LO_SUM the same as offsettable in cases 1 and 2.
14981         * rs6000.c (find_addr_reg): Revert previous patch.
14982
14983 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
14984
14985         * system.h (strstr): New external function declaration.
14986         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
14987         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
14988         * config.in, configure: Rebuilt.
14989
14990 1999-06-24  Tom Tromey  <tromey@cygnus.com>
14991
14992         * gcc.c (main): Read user-specified specs files after computing
14993         additional startfile_prefixes.
14994
14995 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
14996
14997         Revert these two patches:
14998
14999         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15000         * loop.c (strength_reduce): When doing biv->giv conversion, update
15001         reg note of NEXT->insn.
15002
15003         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15004         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15005         reg_biv_class.
15006         (recombine_givs): Set ix field after sorting.
15007
15008 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15009
15010         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
15011         for the parts of an UNSPEC / UNSPEC_VOLATILE.
15012
15013 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
15014
15015         *fixinc/inclhack.def:  Add fix development commentary
15016         (read_ret_type): reactivate and add selection clause
15017         (zzz_*): tweak output file name to match what is used in hackshell.tpl
15018         *fixinc/{fixincl.x|inclhack.sh}: regen
15019
15020 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
15021
15022         * expr.c (expand_expr): STRIP_NOPS before checking against
15023         MAX_INTEGER_COMPUTATION_MODE
15024         (check_max_integer_computation_mode): Likewise.
15025
15026 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
15027
15028         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
15029
15030 1999-06-22  Jim Wilson  <wilson@cygnus.com>
15031
15032         * expr.c (store_expr): When target is a promoted subreg, return a
15033         promoted subreg as a result.
15034
15035 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
15036
15037         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
15038         coding standards.
15039         (dwarf2out_define): Mark unused parameters appropriately.
15040         (gen_unspecified_parameters_die): Ditto.
15041         (gen_subprogram_die): Fix signed/unsigned warnings.
15042         (gen_variable_die): Ditto.
15043
15044 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
15045
15046         * fixinc/inclhack.def(end_else_label): combined else_label
15047         and endif_label and fixed the sed expression.
15048         *fixinc/{fixincl.x|inclhack.sh}: regen
15049
15050 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
15051
15052         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
15053         'x' when handling non-offsettable addresses
15054
15055 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
15056
15057         * final.c (shorten_branches): Don't try to split an insn that has
15058         been deleted.
15059
15060 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
15061
15062         * config/mips/mips.c (symbolic_expression_p): New function.
15063         (mips_select_rtx_section): Put symbolic expressions in the
15064         data section, not the read-only data section.
15065
15066 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
15067
15068         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
15069
15070 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
15071
15072         * collect2.c (main): Log frame table count.
15073         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
15074         (scan_prog_file) [COFF]: Handle frame tables.
15075
15076         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
15077         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
15078         * alpha/elf.h: Undef them again.
15079         * alpha/vms.h: Remove their definitions.
15080
15081 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15082
15083         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
15084         remove the clobber of r0 and change the REG_UNUSED note to
15085         REG_INC.
15086
15087 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
15088
15089         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
15090         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
15091         fits in HOST_WIDE_INT and one uses union to access a long constant
15092         as double.
15093
15094 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
15095
15096         * sparc.c (sparc_override_options): Don't allow profiling for
15097         code models other than medlow.
15098         (sparc_function_profiler): New function from old FUNCTION_PROFILER
15099         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
15100         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
15101         (sparc_block_profiler): Likewise.
15102         (sparc_function_block_profiler_exit): Likewise.
15103         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
15104         (FUNCTION_BLOCK_PROFILER): Likewise.
15105         (BLOCK_PROFILER): Likewise.
15106         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
15107         (MCOUNT_FUNCTION): New.
15108         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
15109         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
15110         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
15111         (MCOUNT_FUNCTION): New.
15112         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
15113         (BLOCK_PROFILER): Delete.
15114         (MCOUNT_FUNCTION): New.
15115
15116 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
15117
15118         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
15119
15120 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15121
15122         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15123         Add the macros.
15124
15125         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15126         Ditto.
15127
15128         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15129         Ditto.
15130
15131         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15132         Ditto.
15133
15134 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
15135
15136         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
15137         types.
15138
15139 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
15140
15141         * i386/djgpp.h (LIB_SPEC): New.
15142         (STARTFILE_SPEC): New.
15143
15144         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
15145
15146 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
15147
15148         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
15149         compiler flags.
15150
15151         * system.h (WSTOPSIG): New macro.
15152
15153 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15154
15155         * c-pragma.c (push_alignment): Don't ignore alignments greater than
15156         4 bytes.
15157         (insert_pack_attributes): Take into account member natural
15158         alignment.
15159
15160         * i386/winnt.c (exports_head): New static variable.
15161         (i386_pe_record_exported_symbol): New function.
15162         (i386_pe_asm_file_end): Use.
15163         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
15164         symbols to be emitted at end of assembly.
15165         (ASM_DECLARE_OBJECT_NAME): Likewise.
15166         (ASM_DECLARE_FUNCTION_NAME): Likewise.
15167
15168         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
15169         -iwithprefix.
15170
15171 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
15172
15173         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
15174         in last change.
15175
15176 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
15177
15178         * haifa-sched.c (sched_analyze_1): Use free_list instead of
15179         zapping reg_last_uses directly.
15180         (sched_analyze_2, sched_analyze_insn): Likewise.
15181         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
15182
15183 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
15184
15185         * rs6000.md (movdf_hardfloat32): Use worst case insn length
15186         attributes for cases 1 and 2.
15187
15188 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
15189
15190         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
15191         instead of set.
15192
15193 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
15194
15195         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
15196
15197 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
15198
15199         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
15200         PIC_OFFSET_TABLE_REGNUM for general alloaction.
15201         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
15202         must be stacked if it is used for PIC accesses.
15203         * arm.c (use_return_insn): Handle PIC register specially.
15204         (output_return_instruction): Likewise.
15205         (output_func_{prologue,epilogue}): Likewise.
15206         (output_expand_prologue): Likewise.
15207
15208         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
15209         (*strsi_predec): Renamed from *strqi_predec.
15210         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
15211         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
15212
15213         * arm.c (arm_override_options): Remove warning about PIC code
15214         not being supported.
15215
15216 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
15217
15218         * rs6000.c (find_addr_reg): New function.
15219         * rs6000.h (find_addr_reg): Declare.
15220         (offsettable_addr_operand): Delete.
15221         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
15222         from and stores to GPRs.
15223
15224 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
15225
15226         * alpha.c (alpha_expand_block_move): Use get_insns rather than
15227         gen_sequence as argument to emit_no_conflict_block.
15228
15229 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15230
15231         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
15232         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
15233         *fixinc/fixincl.x: regen
15234         *fixinc/inclhack.sh: regen
15235
15236 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
15237
15238         * added support for -mpcrel (PC relative addressing for m68k)
15239         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
15240         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
15241         * m68k.c (print_operand_address): Handle 32-bit PIC case.
15242         (comments for general_src_operand): Add some explanation
15243         about EXTRA_CONSTRAINTS.
15244         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
15245         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
15246         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
15247         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
15248         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
15249         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
15250         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
15251         if not already set.
15252         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
15253         * m68k.h (TARGET_PCREL): New target flag.
15254         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
15255         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
15256         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
15257         contains a SYMBOL_REF.  Relax this constraint during reload, since
15258         we want to use the predicates, not reload's built-in concept of a
15259         valid memory address, to control what insns need reloading.
15260         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
15261         operands (essentially 'g', 'm', and 's' under normal circumstances).
15262         * m68k.c (print_operand): Cause printing of pc-relative addresses
15263         to include pc register.
15264         (print_operand_address): Ditto.
15265         (general_src_operand): Accept operands that are not only
15266         general_operands, but are also valid when used as a pc-relative
15267         source.
15268         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
15269         (memory_src_operand): Similar, for memory_operands.
15270         (pcrel_address): New predicate to accept the special case of a
15271         pc-relative address.
15272         * m68k.md (many patterns): Rewrite common SImode, HImode, and
15273         QImode insns to accept *_src_operand instead of *_operand where
15274         pc-relative operands can fit.  For example, a pc-relative operand
15275         can be used as a memory source operand for addsi3, but not as a
15276         memory destination.
15277         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
15278
15279 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
15280
15281         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
15282         .thumb_set pseudo op to mark aliases of thumb functions.
15283
15284 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
15285
15286         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
15287         preference to ASM_OUTPUT_DEF, if it is defined.
15288
15289         * tm.texi: Document new, optional target macro
15290         ASM_OUTPUT_DEF_FROM_DECLS.
15291
15292 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15293
15294         * fixincludes: ISCNTL patch
15295         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
15296         (dgux_int_varargs): new for DG/UX
15297         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
15298
15299 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
15300
15301         * invoke.texi (ia32 options): Fix typo.
15302
15303 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15304
15305         * loop.c (strength_reduce): When doing biv->giv conversion, update
15306         reg note of NEXT->insn.
15307
15308 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
15309
15310         * loop.c (move_movables): Note issues with replacing REGs with
15311         SUBREGs.
15312         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
15313
15314 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
15315
15316         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
15317
15318         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
15319         the reference to `mcount' was not correct for the ELF on FreeBSD.
15320
15321 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15322
15323         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15324         reg_biv_class.
15325
15326         (recombine_givs): Set ix field after sorting.
15327
15328 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
15329
15330         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
15331         to safe to extract a subword out of a REG.
15332
15333 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15334
15335         * sh.md (mulsi3): Don't add a no-op move at the end.
15336
15337 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15338
15339         * cse.c (cse_insn): Don't put hard register source into tables for
15340         the last insn of a libcall.
15341
15342 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15343
15344         * loop.c (strength_reduce): Insert sets of derived givs at every
15345         biv increment, even if it's the only one.
15346
15347 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15348
15349         * dwarfout.c (add_incomplete_type): New fn.
15350         (output_type): Call it.
15351         (retry_incomplete_types): New fn.
15352         (dwarfout_finish): Call it.
15353
15354         From Eric Raskin <ehr@listworks.com>:
15355         (output_type): Output types for bases.
15356
15357 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
15358
15359         * mips.c (mips_output_conditional_branch): Add `break'
15360         between `default' label and `close braces'.
15361
15362 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
15363
15364         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
15365         specifications and make it realistic.
15366         (LIB_SPEC): Likewise.
15367
15368 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
15369
15370         * config/mips/mips.c (mips_secondary_reload_class): Check for
15371         (PLUS (SP) (REG)) and return appropriate register class.
15372         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
15373         Handle (PLUS (SP) (REG)).
15374         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
15375         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
15376         of emit_insn for tablejump.
15377
15378 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
15379
15380         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
15381         asm_fprintf format string by itself.
15382         (output_function_profiler): Likewise.
15383
15384 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
15385
15386         * combine.c (simplify_logical, case AND): Only call
15387         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
15388         or the constant is positive.
15389
15390 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
15391
15392         * configure.in: Fix typo in rs6000-ibm-aix4 case.
15393         * configure: Regenerate.
15394
15395 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
15396
15397         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
15398         require a sub-version #.
15399         * configure: Rebuilt.
15400
15401 1999-06-14  Robert Lipe  (robertlipe@usa.net)
15402
15403         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
15404
15405 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
15406
15407         * c-typeck.c (process_init_element): Detect excess elements in
15408         char array initializer.
15409
15410 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
15411
15412         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
15413
15414 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15415
15416         * invoke.texi (Option Summary): Add -fpermissive flag.
15417
15418 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
15419
15420         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
15421         that require PIC code sequences.
15422
15423 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
15424
15425         * configure.in: Add new target: thumb-elf.
15426         * configure: Regenerate.
15427         * config/arm/t-thumb-elf: New file: Makefile fragment for
15428         thumb-elf build.
15429         * config/arm/telf.h: New file: Header file for thumb-elf
15430         build.
15431
15432 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
15433
15434         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
15435         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
15436         initializers is some circumstances.
15437
15438         * fixinc/inclhack.def (endif_label): Add additional selector for
15439         more bogus stuff after #endif statements.
15440         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15441
15442 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15443
15444         * i386/cygwin.h (SET_ASM_OP): Define.
15445
15446 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15447
15448         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
15449
15450 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15451
15452         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
15453         latter.
15454
15455         * sh.md (ic_invalidate_line_i): Remove second alternative.
15456
15457 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15458
15459         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
15460         test for the presence of valid prototypes.  Delete bypass expr.
15461         (ioctl_fix_ctrl): Correct the selection expression.
15462         (no_double_slash): Correct quoting rules
15463         *fixinc/fixincl.x: regen
15464         *fixinc/inclhack.sh: regen
15465
15466 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
15467
15468         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
15469
15470 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15471
15472         * rs6000.md (movsi_got_internal_mem): Delete.
15473         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
15474         (GOT_TOC_REGNUM): Delete.
15475         (PIC_OFFSET_TABLE_REGNUM): Define.
15476         (FINALIZE_PIC): Disable.
15477         * rs6000.c (rs6000_got_register): New code for fixed pic register.
15478         (rs6000_replace_regno): Delete.
15479         (rs6000_finalize_pic): Likewise.
15480         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
15481
15482 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15483
15484         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
15485         is a note; use <= for the compare; advance P while it is
15486         a NOTE.
15487
15488 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
15489
15490         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
15491         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
15492
15493         * varasm.c (remove_from_pending_weak_list): Verify t->name
15494         is non-NULL before passing it to strcmp.
15495
15496 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15497
15498         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
15499         the typed arguments are not part of a comment
15500         (ioctl_fix_ctrl): Added a purpose comment
15501         *fixinc/fixincl.x: regenerate
15502         *fixinc/inclhack.sh: regenerate
15503
15504 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15505
15506         * invoke.texi: Add C4x invocation docs.
15507
15508 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15509
15510         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
15511         Define new macros.
15512         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
15513         TARGET_EXPOSE_LDP.
15514         (c4x_legitimize_reload_address): New function.
15515         * config/c4x/c4x.md: Update docs.
15516
15517 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
15518
15519         * fixincludes: Avoid removing '.'.
15520         * fixinc/fixinc.svr4: Likewise.
15521         * fixinc/fixinc.winnt: Likewise.
15522         * fixinc/inclhack.tpl: Likewise.
15523         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
15524
15525 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15526
15527         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
15528         pattern.
15529         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
15530
15531 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15532
15533         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
15534         correctly.
15535
15536 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
15537
15538         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
15539         * configure: Regenerate.
15540
15541 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
15542
15543         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
15544         values.
15545
15546 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
15547
15548         * fixinc/inclhack.def (avoid_bool): Also catch
15549         "typedef [unsigned] int bool".
15550         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15551
15552         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
15553         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
15554         * configure: Rebuilt.
15555
15556 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
15557
15558         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
15559         such that we can override its definitions if necessary.
15560         (CPP_SPEC): New define.  Support processor specific predefines via
15561         %(cpp_cpu).
15562         (CC1_SPEC): New define.  Support processor specific compiler
15563         options via %(cc1_cpu).
15564         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
15565         -static.
15566
15567 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15568
15569         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
15570         between sed's -e flag, and the open-quote following it.
15571         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15572
15573 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
15574                           Jeffrey A Law  (law@cygnus.com)
15575
15576         * varasm.c (assemble_start_function): Remove the function
15577         from the pending weak decls list when we define a function.
15578         (assemble_variable): Similarly for variables.
15579         (weak_finish): Ignore items on the list with a NULL name.
15580         (remove_from_ending_weak_list); New function to "remove" an item
15581         from the pending weak declarations list.
15582
15583 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15584
15585         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
15586
15587 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
15588
15589         * c-lex.c (GETC): Redefine to call getch.
15590         (UNGETC): Redefine to call put_back.
15591         (putback_buffer): New structure type.
15592         (putback): New static structure.
15593         (getch): New function.
15594         (put_back): New function.
15595         (yylex): Replace unused bytes from bad multibyte character.
15596
15597 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
15598
15599         * cpplib.c (do_define): Cast `alloca' return value.
15600         (do_include, do_undef, do_pragma): Likewise.
15601         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
15602         values.
15603         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
15604         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
15605
15606 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15607
15608         * sparc.md (abstf2): This should be an expand.
15609         (split after abstf2_notv9): Fix mode.
15610         (abstf2_hq_v9): New pattern.
15611         (abstf2_v9): Only use when no hard quad.
15612         (absdf2_v9): Fix if target is not the same as source.
15613         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
15614         Add correct output constraints.
15615
15616 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
15617
15618         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
15619         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
15620
15621 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
15622
15623         * mips.h (mips_output_conditional_branch): New function.
15624         (mips_adjust_insn_length): Likewise.
15625         (ASSEMBLER_SCRATCH_REGNUM): New macro.
15626         (ADJUST_INSN_LENGTH): Likewise.
15627         * mips.c (print_operand): Add `F' and `W' for floating-point
15628         comparison opcodes.
15629         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
15630         are now in bytes.
15631         (mips_adjust_insn_length): New function.
15632         (mips_output_conditional_branch): New function.
15633         * mips.md (length): Adjust attribute definition to handle
15634         conditional branches.   Change lengths to bytes, rather than
15635         instructions throughout.  Remove length attribute from
15636         instructions whose length is four bytes, and rely on the default
15637         instead.
15638         (dslot): Fix typo in comment.
15639         Reword conditional branch patterns to use
15640         mips_output_conditional_branch.
15641
15642 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15643
15644         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
15645         (LIB_SPEC): Likewise.
15646         Link with -lprof1_r for -g/-pg.
15647
15648 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
15649
15650         * loop.c (check_dbra_loop): Fix change of Jan 19.
15651
15652 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
15653
15654         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
15655         (STARTFILE_SPEC):  Define, override the svr4.h version.
15656         (ENDFILE_SPEC):  Likewise.
15657
15658 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
15659
15660         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
15661         * fixinc/fixincl.x: Regenerated.
15662         * fixinc/inclhack.sh: Regenerated.
15663
15664 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15665
15666         * sh.c (barrier_align): Don't return early for normal branch/barrier
15667         when optimizing for SH2.
15668
15669 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
15670
15671         * i386/udk.h (LINK_SPEC): Correct linker search path for
15672         system libraries.
15673
15674 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15675
15676         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
15677         (braf_label_ref_operand): Delete.
15678         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
15679         * sh.md (casesi_jump_2): Operand1 is now the inside of a
15680         label_ref, and has no predicate.
15681         The patten has a predicate to guard against invalid substitutions.
15682         (dummy_jump): Delete.
15683         (casesi): Update use of casesi_jump_2.
15684
15685 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15686
15687         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
15688         *fixinc/fixincl.x: regenerate
15689         *fixinc/inclhack.sh: regenerate
15690
15691 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
15692
15693         * dwarf2out.c (add_incomplete_type): New fn.
15694         (gen_struct_or_union_type_die): Call it.
15695         (retry_incomplete_types): New fn.
15696         (dwarf2out_finish): Call it.
15697
15698 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
15699
15700         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
15701         current block starts with a CODE_LABEL and ends with a CALL and
15702         we can not find all the argument setup instructions for the CALL.
15703
15704 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
15705
15706         Revert this change:
15707         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15708         something is a candidate for optimize_bit_field_compare.
15709
15710 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15711
15712         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
15713
15714 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
15715
15716         * alpha.c (override_options): Thinko in last patch.
15717
15718         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
15719         (LIB_SPEC): Recognize -pthread.
15720
15721 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
15722
15723         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
15724         definition in config/arm/coff.h
15725         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
15726
15727 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15728
15729         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
15730         fixes that need "file=xxx\n" prepended before invocation
15731         (start_fixer - new): starting the fixer process is complex enough
15732         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
15733         (process): uses the new routine; omit usage of putenv()
15734         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
15735         * fixinc/fixincl.x: regenerate
15736
15737 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
15738
15739         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
15740         and version #s (1.1 -> 2.96) as needed.
15741         * README.g77: Kill way out of date file in the toplevel directory.
15742
15743 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
15744
15745         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
15746         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
15747         * configure: Rebuilt.
15748         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
15749         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
15750         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
15751         (SWITCH_TAKES_ARG): Likewise.
15752         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
15753         * config/t-freebsd: Moved from config/i386/ so it can used for all
15754         FreeBSD targets.
15755
15756 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
15757
15758         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
15759
15760 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
15761
15762         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
15763         * configure: Rebuilt.
15764
15765 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
15766
15767         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
15768         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
15769         * rs6000/rs6000.c (rs6000_file_start): Use putc.
15770         (rs6000_output_load_toc_table): Same.
15771         (output_prolog, output_mi_thunk): Same.
15772         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
15773         (ASM_GLOBALIZE_LABEL): Use putc.
15774
15775 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
15776
15777         * alpha.md (reload_*_help): New patterns and splitters.
15778         (reload_*): Use them.
15779         (mov[qh]i): Likewise.
15780
15781 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
15782
15783         * cccp.c (handle_directive): Handle backslash-newlines in quoted
15784         strings correctly.
15785
15786 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
15787
15788         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
15789
15790 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
15791
15792         * flow.c (mark_regs_live_at_end, insn_dead_p,
15793         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
15794         and HARD_FRAME_POINTER_REGNUM special treatment if reload
15795         hasn't run or the frame pointer is needed.
15796         * haifa-sched.c (attach_deaths): Likewise.
15797         * sched.c (attach_deaths): Likewise.
15798
15799 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
15800
15801         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
15802         calculate_can_reach_end returns nonzero.
15803
15804         * configure.in (native gas tests): Search for an assembler in the
15805         same manner that the installed compiler will.
15806         * configure: Rebuilt.
15807         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
15808
15809         * alias.c (find_base_term): Improve handling of addresses
15810         constructed from binary operations.
15811
15812 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
15813
15814         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
15815
15816 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
15817
15818         * function.h (cleanup_label, frame_offset): Declare.
15819         (tail_recursion_label, tail_recursion_reentry): Likewise.
15820         (arg_pointer_save_area, rtl_expr_chain): Likewise.
15821         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
15822         (tail_recursion_label, tail_recursion_reentry): Likewise.
15823         (arg_pointer_save_area, rtl_expr_chain): Likewise.
15824
15825 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
15826
15827         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
15828         defined.
15829         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
15830         (MAX_OFILE_ALIGNMENT): Define.
15831
15832 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
15833
15834         * fixincl.c: Replace local include scheme with #includes of
15835         gansidecl.h and system.h.
15836         * procopen.c:  Likewise.
15837         * server.c:  Likewise.
15838
15839 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
15840
15841         * i386/t-dgux (EXTRA_PARTS): Add crti.o
15842         (crti.o): Add build rule and dependencies.
15843         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
15844
15845 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15846
15847         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
15848         (LIB_LINUX_SPEC): Likewise.
15849         (LIB_LINUX_SPEC): Add support for -pthread
15850         (CPP_OS_LINUX_SPEC): Likewise.
15851         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
15852         specified.
15853
15854 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
15855
15856         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
15857         conditional move.
15858         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
15859         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
15860         for IEEE math and CC_FCOMI.
15861         (put_jump_code): No IEEE if CC_FCOMI is set.
15862
15863 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
15864
15865         * fold-const.c (fold_truthop): Make the field reference unsigned
15866         when converting a single bit compare.
15867
15868 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15869
15870         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
15871
15872 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
15873
15874         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
15875         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
15876         version did.
15877
15878         * reload.c (push_reload): Do not call remove_address_replacements
15879         when presented with identical optional reloads.
15880
15881 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
15882
15883         * alpha.h (MASK_FIX, TARGET_FIX): New.
15884         (MASK_*): Reorganize constants.
15885         (CPP_AM_FIX_SPEC): New.
15886         (TARGET_SWITCHES): Add FIX.
15887         (EXTRA_SPECS): Likewise.
15888         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
15889         (SECONDARY_MEMORY_NEEDED): Likewise.
15890         (REGISTER_MOVE_COST): Likewise.
15891         * alpha.c (override_options): Add FIX support.  Always use
15892         ALPHA_TP_PROG for ev6.
15893         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
15894         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
15895         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
15896
15897 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
15898
15899         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15900         something is a candidate for optimize_bit_field_compare.
15901
15902 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
15903
15904         * gcc.texi (Passes): Document branch-shortening.
15905         * invoke.texi (Debugging Options): Document the fact that `-dp'
15906         outputs length information for instructions.
15907
15908 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
15909
15910         * flow.c: Revert previous delta.
15911
15912 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
15913
15914         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
15915         FRAME_POINTER_REGNUM.
15916         (mark_set_1): Ditto.
15917         (mark_used_regs): Ditto.
15918
15919 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
15920
15921         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
15922         (GOT_PCREL): New macro.  Define to 1 if not already defined.
15923         * arm/elf.h (GOT_PCREL): Define to 0.
15924         * arm.c (arm_finalize_pic): Take into account the setting of
15925         GOT_PCREL.
15926
15927 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
15928
15929         * output.h (STRIP_NAME_ENCODING): Provide default definition.
15930         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
15931
15932         * flow.c (mark_set_1): Do not record BLKmode stores as dead
15933         store elimination candidates.
15934
15935 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15936
15937         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
15938         TARGET_GAS.
15939
15940 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
15941
15942         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
15943         Add use of x-aix41-gld.
15944
15945 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15946
15947         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
15948         (ASM_OUTPUT_DESTRUCTOR): Define.
15949
15950 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
15951
15952         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
15953         last CODE_LABEL in a loop if we have previously passed a jump
15954         to the top of the loop.
15955
15956 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
15957
15958         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
15959         applying Philip's patch.
15960
15961 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
15962
15963         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
15964         are not VAR_DECLs.
15965
15966 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
15967
15968         * loop.c (strength_reduce): Grow reg_single_usage as needed.
15969
15970 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
15971
15972         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
15973         Also remove a useless comment.
15974
15975 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15976
15977         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
15978
15979 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
15980
15981         * collect2.c (main): Only generate import or export file and add
15982         to link arguments if non-empty.  Use xmalloc not alloca.
15983         (write_{export,import}_file): Delete.
15984         (write_aix_file): New function.
15985         (locatelib): Use xmalloc not malloc.
15986         (GCC_OK_SYMBOL): Do not check type if aix64.
15987
15988 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
15989
15990         Based on patch by Scott Bambrough and Pat Beirne:
15991         * config/arm/arm.c (making_const_table): New variable.
15992         * config/arm/arm.h (making_const_table): Declare.
15993         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
15994         appropriate.
15995         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
15996         Keep track of when we are building the constant table.
15997
15998 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
15999
16000         * config/arm/arm.c (arm_override_options): Fix erroneous warning
16001         message.
16002
16003 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
16004
16005         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
16006         defined.
16007
16008 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
16009
16010         * tm.texi (FUNCTION_ARG): Correct description of a stack element
16011         in a PARALLEL.
16012
16013 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
16014
16015         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
16016
16017 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16018
16019         * rs6000.c (output_mi_thunk): Enable full support again.
16020
16021 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16022
16023         * sh.h (BRANCH_COST): Define.
16024
16025 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
16026
16027         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
16028
16029 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
16030
16031         * function.c (assign_stack_local): Align stack slot propertly.
16032         (assign_outer_stack_local): Likewise.
16033
16034 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
16035
16036         * expr.h (lang_expand_constant): Declare.
16037         * toplev.c (lang_expand_constant): Define it.
16038         * varasm.c (output_constant): Use it.
16039
16040 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16041
16042         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
16043         Change function definitions to K&R style.
16044
16045 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16046
16047         * fixinc/fixincl.c: We must not ignore SIGCLD now.
16048
16049 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
16050
16051         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
16052         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
16053         (several places): omit static initialization
16054         (process): use single fd, since only the read fd is used
16055         * fixinc/gnu-regex.c: define 'const' away, if not supported
16056         * fixinc/procopen.c(several places): omit static initialization
16057         * fixinc/server.c: define 'volitile' away, if not supported
16058
16059 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
16060
16061         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
16062         asm_fprintf and %L to generate the label name.
16063         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
16064         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
16065
16066 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
16067
16068         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
16069         insn for a conditional jump can not be found.
16070
16071 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
16072
16073         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
16074         on variables in specific sections other than .sbss and .sdata.
16075
16076 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
16077
16078         * stmt.c (expand_return): Call start_cleanup_deferral and
16079         end_cleanup_deferral around conditional code.
16080
16081 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16082
16083         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
16084         filename lists.  Utilizes new "krstr" AutoGen function.
16085         * fixinc/fixincl.x: Rebuilt.
16086
16087 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
16088
16089         * i386.c (output_float_compare): Avoid GNU-C extensions.
16090
16091 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
16092
16093         * version.c: Bump to distinguish mainline tree from the
16094         gcc-2.95 branch.
16095
16096 See ChangeLog.1 for earlier changes.