OSDN Git Service

* eh-common.h: PROTO -> PARAMS.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * eh-common.h: PROTO -> PARAMS.
4         * emit-rtl.c: Likewise.
5         * errors.c: Likewise.
6         * errors.h: Likewise.
7         * except.c: Likewise.
8         * except.h: Likewise.
9         * explow.c: Likewise.
10         * expmed.c: Likewise.
11         * expr.c: Likewise.
12         * expr.h: Likewise.
13         * final.c: Likewise.
14         * fix-header.c: Likewise.
15         * flow.c: Likewise.
16         * fold-const.c: Likewise.
17         * function.c: Likewise.
18         * function.h: Likewise.
19         * gcc.c: Likewise.
20         * gcov-io.h: Likewise.
21         * gcov.c: Likewise.
22         * gcse.c: Likewise.
23
24 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25
26         * sh-protos.h: New file.
27
28         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
29         Add static prototypes.  Fix compile time warnings.
30         
31         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
32         * sh.md: Likewise.
33         * elf.h: Likewise.
34
35 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
36
37         * arc-protos.h: New file.
38
39         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
40         time warnings.
41         
42         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
43         warnings.
44         
45         * arc.md: Likewise.
46
47 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
48
49         * dsp16xx-protos.h: New file.
50
51         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
52         time warnings.
53         
54         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
55         warnings.
56         
57         * dsp16xx.md: Likewise.
58
59 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
60
61         * convex-protos.h: New file.
62
63         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
64         time warnings.
65         
66         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
67         warnings.
68
69 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
70
71         * elxsi-protos.h: New file.
72
73         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
74         time warnings.
75         
76         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
77         warnings.
78         
79         * elxsi.md: Likewise.
80
81 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
82
83         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
84         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
85         match the comment for MIPS16.
86
87 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
88
89         * flow.c (split_edge): Do not call set_block_for_insn if we
90         do not have a basic_block_for_insn structure.
91
92         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
93         and destination functions are 32bit aligned within the trampoline.
94         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
95         (TRAMPOLINE_ALIGNMENT): Define.
96
97         * cse.c (cse_insn): When changing (set (pc) (reg)) to
98         (set (pc) (label_ref)), verify the change creates a valid insn.
99
100         * fr30.c (call_operand): Tighten and rework to match rules for
101         call RTL expressions.
102         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
103         * fr30.md (call patterns): Improve constraints.
104
105 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
106
107         * fr30.c (fr30_expand_epilogue): Revert last change.
108         Use emit_jump_insn for the return insn.
109
110 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
111                           Stan Cox  <scox@cygnus.com>
112
113         * predict.c: New file. Preliminary infrastructure work for static
114         branch prediction and basic block reordering.
115         * basic-block.h: Add prototype for estimate_probability.
116         * Makefile.in: Add rules for predict.o.
117
118 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
119
120         * fixincludes (va_list): Use __not_va_list__ for the dummy.
121         * fixinc/*: Likewise.
122
123 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
124
125         * cccp.c: PROTO -> PARAMS.
126         * cexp.y: Likewise.
127         * collect2.c: Likewise.
128         * combine.c: Likewise.
129         * convert.h: Likewise.
130         * cse.c: Likewise.
131         * dbxout.c: Likewise.
132         * dbxout.h: Likewise.
133         * diagnostic.c: Likewise.
134         * doprint.c: Likewise.
135         * dwarf2out.c: Likewise.
136         * dwarf2out.h: Likewise.
137         * dwarfout.c: Likewise.
138         * dwarfout.h: Likewise.
139         * dyn-string.h: Likewise.
140
141 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
142
143         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
144         macro conditionals guarding use.
145
146         * dwarf2out.c: Include "tm_p.h".
147
148         * function.c (locate_and_pad_parm): Mark parameter with
149         ATTRIBUTE_UNUSED.
150         (expand_function_end): Likewise for variable `context'.
151
152         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
153
154 2000-01-13  Nick Clifton  <nickc@cygnus.com>
155
156         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
157         register to prevent compile time warnings.
158
159 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
160
161         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
162         to avoid -Wtraditional warning.
163
164 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
165
166         * 1750a-protos.h: New file.
167
168         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
169         time warnings.
170         
171         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
172         warnings.
173         
174         * 1750a.md: Likewise.
175
176 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
177
178         * a29k-protos.h: New file.
179
180         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
181         time warnings.
182         
183         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
184         warnings.
185
186 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
187
188         * clipper-protos.h: New file.
189
190         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
191         time warnings.
192         
193         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
194         warnings.
195
196 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
197
198         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
199
200 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
201
202         * configure.in (--enable-new-gxx-abi): New option.
203         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
204         * Makefile.in (GXX_ABI_FLAG): New variable.
205         * configure: Regenerate.
206
207 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
208
209         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
210         * tm.texi (FORCE_STRUCT_BLK): Document.
211         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
212
213 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
214
215         * config/ns32k/ns32k.md: Revert Jan 9 change.
216
217         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
218         to a mode-test, if the predicate is address_operand.
219
220 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
221
222         * combine.c (if_then_else_cond): Be careful about what kinds
223         of RTL expressions are passed to operand_subword.
224
225         * flow.c (split_edge): If we have to insert a new jump, make
226         sure to associate it with a basic block.
227
228         * flow.c (commit_one_edge_insertion): A block with one successor
229         can end in a JUMP_INSN that is not a simplejump.
230
231 2000-01-12  Robert Lipe  <robertl@sco.com>
232
233         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
234         (BUILD_VA_LIST_TYPE): Define.
235         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
236         with crtstuff.c.
237
238 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
239
240         * cccp.c (do_pragma): Add cast to (char *).
241
242 2000-01-12  Richard Henderson  <rth@cygnus.com>
243             Fred Fish  <fnf@be.com>
244             Jason Merrill  <jason@cygnus.com>
245
246         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
247         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
248         * i386/beos-elf.h, i386/beos-pe.h: New files.
249
250         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
251         * cross-make (SYSTEM_HEADER_DIR): Define using
252         CROSS_SYSTEM_HEADER_DIR.
253
254         * gcc.c (LIBRARY_PATH_ENV): Provide default.
255         (process_command): Use it.
256         (main): Likewise.  Kill trailing = from env vars.
257         (build_search_list): Put it back.
258         * collect2.c (main): Use LIBRARY_PATH_ENV.
259
260         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
261         * toplev.c: Use NEED_DECLARATION_ENVIRON.
262
263         * tm.texi (Frame Layout): Document SMALL_STACK.
264         * c-common.c (c_common_nodes_and_builtins): Check it.
265
266         * system.h: Undef alloca after including glibc's <stdlib.h>,
267         if USE_C_ALLOCA is defined.
268
269         * gcc.c (set_input): New fn.
270         (main): After all input files are compiled, reset the input file
271         info to the first.
272
273         * aclocal.m4 (rindex, index): If already defined, don't attempt
274         to redefine.
275
276         * ginclude/varargs.h: (__va_list__): Define ifndef.
277         * ginclude/stdarg.h: Likewise.
278
279         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int 
280         instead of unsigned char.
281
282         * hash.h (true, false, boolean): Undef before enum.
283
284         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
285         proper type of "HOST_WIDE_INT *", rather than their natural type of
286         "unsigned HOST_WIDE_INT *".
287
288 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
289
290         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
291
292         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
293
294         * regclass.c (choose_hard_reg_mode): Likewise.
295
296         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
297
298         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
299
300 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
301
302         * c-common.c: PROTO -> PARAMS.
303         * c-common.h: Likewise.
304         * c-decl.c: Likewise.
305         * c-iterate.c: Likewise.
306         * c-lang.c: Likewise.
307         * c-lex.c: Likewise.
308         * c-lex.h: Likewise.
309         * c-parse.in: Likewise.
310         * c-pragma.c: Likewise.
311         * c-pragma.h: Likewise.
312         * c-tree.h: Likewise.
313         * c-typeck.c: Likewise.
314         * objc/objc-act.c: Likewise.
315         * objc/objc-act.h: Likewise.
316
317 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
318
319         * m88k-protos.h: New file.
320
321         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
322         time warnings.
323         
324         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
325         
326         * m88k.md: Likewise.
327
328         * tekXD88.h: Likewise.
329
330 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
331
332         * m68k-protos.h: New file.
333
334         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
335         time warnings.
336         
337         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
338         
339         * mot3300.h: Likewise.
340
341 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
342
343         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
344         extract_bitlst.
345         (extract_bitlist): Declare bitlen.
346
347 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
348
349         * cccp.c: Accept and ignore -lang-fortran.
350
351         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
352         qualifiers don't match at any level of pointerness.
353
354 2000-01-12  Robert Lipe  <robertl@sco.com>
355
356         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
357
358 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
359
360         * reload1.c (reload_reg_unavailable): New static variable.
361         (reload_reg_free_p): Test it.
362         (reload_reg_free_for_value_p): Test it instead of
363         reload_reg_used.
364         (choose_reload_regs_init): Compute it.
365
366 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
367
368         * reorg.c (fill_slots_from_thread): Check modified_in_p
369         before replacing.
370
371 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
372
373         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
374         these nodes even if INTERNALS is not set.
375
376 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
377
378         * gcse.c (delete_null_pointer_checks_1): Cope when
379         get_condition cannot determine the condition.
380
381 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
382  
383        * toplev.h (set_message_length): Declare.
384  
385        * diagnostic.c (obstack_chunk_alloc): Define macro.
386        (obstack_chunk_free): Likewise.
387        (struct output_buffer): New data structure.
388        (vmessage): Remove.
389        (output_maximum_width): New variable.
390        (doing_line_wrapping, set_message_length, init_output_buffer,
391        get_output_prefix, output_space_left, emit_output_prefix,
392        output_newline, output_append, output_puts, dump_output,
393        vbuild_message_string, build_message_string, build_location_prefix,
394        voutput_notice, output_printf, line_wrapper_printf,
395        vline_wrapper_message_with_location):  New functions. Implement
396        automatic line wrapping.
397        (v_message_with_decl): Make it handle automatic line wrapping.
398        (v_error_with_file_and_line): Likewise.
399        (v_warning_with_file_and_line): Likewise.
400        (announce_function): Likewise.
401        (default_print_error_function): Likewise.
402         
403 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
404
405         * cpplib.h (struct cpp_options): Change lang_asm to char.
406         Add lang_fortran.
407         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
408         done in cpp_handle_option now.
409         (initialize_builtins): Take out special case code used only by
410         __STDC_VERSION__.
411         (cpp_handle_option): Turn off trigraphs and trigraph warnings
412         if -traditional.  Recognize -lang-fortran and set
413         lang_fortran, also turn off cplusplus_comments.
414         (print_help): Document -lang-fortran.
415         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
416         lang_asm. Ignore all directives other than `# 123 "file"' if
417         CPP_PREPROCESSED.
418         (cpp_get_token): If -traditional, don't recognize directives
419         unless the # is in column 1.
420         (parse_string): If lang_fortran or lang_asm, silently
421         terminate strings ('' or "") at end of line.
422         Remove unnecessary braces.
423
424 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
425             Richard Henderson  <rth@cygnus.com>
426
427         * resource.c (mark_referenced_resources): Mark a set strict_low_part
428         as used.
429         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
430         strict_low_part when possible.
431
432 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
433
434         * alias.c: PROTO -> PARAMS.
435         * basic-block.h: Likewise.
436         * bitmap.c: Likewise.
437         * bitmap.h: Likewise.
438         * builtins.c: Likewise.
439         * c-aux-info.c: Likewise.
440         * caller-save.c: Likewise.
441         * calls.c: Likewise.
442
443 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
444
445         * Makefile.in (toplev.o): Depend on regs.h.
446
447         * output.h (tdesc_section): Prototype.
448
449         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
450
451         * sdbout.c: Include "tm_p.h".
452
453         * toplev.c: Include "regs.h".
454
455 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
456
457         * unroll.c (unroll_loop): Add EH support.
458
459 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
460
461         * pa-protos.h: New file.
462
463         * pa.c: Include recog.h and tm_p.h.
464         (compute_zdepwi_operands, compute_movstrsi_length,
465         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
466         find_addr_reg, import_milli): Add static prototypes.
467         (pa_cpu_string, pa_arch_string): Constify a char*.
468         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
469         (read_only_operand): Add argument `mode'.
470         (singlemove_string, output_move_double, output_fp_move_double,
471         output_block_move, output_and, output_ior, output_ascii,
472         remove_useless_addtr_insns, milli_names, output_mul_insn,
473         output_div_insn, output_mod_insn, output_arg_descriptor,
474         output_cbranch, output_bb, output_bvb, output_dbra, ,
475         output_millicode_call, output_call, hppa_encode_label,
476         output_parallel_movb, output_parallel_addb): Constify a char*.
477         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
478         (output_parallel_addb): Remove extra arg to `constrain_operands'
479
480         * pa.h:  Move all prototypes to pa-protos.h.
481         (pa_cpu_string, pa_arch_string): Constify a char*.
482         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
483
484         * pa.md: Call `function_label_operand' with mode argument.
485         Likewise for `read_only_operand'.
486         Fix nesting of parens in call to `symbolic_operand'.
487         
488 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
489
490         * i860-protos.h: New file.
491
492         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
493         time warnings.
494         
495         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
496         
497         * i860.md: Likewise.
498
499 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
500
501         * i386.md (movstrsi expander): Rewrite.
502         (movstrsi_1 insn): Deleted.
503         (strmovhi, strmovqi expander): New expanders.
504         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
505         * i386.c (x86_single_stringop): New global variable.
506         * i386.h (x86_single_stringop): Declare.
507         (TARGET_SINGLE_STRINGOP): New macro.
508
509 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
510
511         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
512         integer vararg POSTINCREMENT before the destination of the jump
513         for the hard fp case. 
514         (function_arg_pass_by_reference): Pass a copy of CUM to 
515         FUNCTION_ARG.
516         
517         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
518         for CONSTANT_ADDRESS_P above while loop for subreg.
519
520 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
521
522         * flow.c (propagate_block): When a prologue/epilogue insn
523         is marked dead, unconditionally clear libcall_is_dead and
524         insn_is_dead, and only dump rtl if warnings aren't being
525         suppressed.
526
527 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
528
529         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
530         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
531         (FIXED_REGISTERS): Set dirflag as fixed.
532         (CALL_USED_REGISTERS): Set dirflag as used.
533         (REG_ALLOC_ORDER): Set dirflag as last one.
534         (DIRFLAG_REG): New macro.
535         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
536         (HI_REGISTER_NAMES): Add dirflag.
537         (DEBUF_PRINT_REG): Handle dirflag.
538         * i386.md (type attribute): New cld and str types.
539         (length_opcode attribute): Set cld and str to 1.
540         (memory attribute): Set str to unknown - it is not clear from the
541         patterns.
542         (pent_np function unit): Prefixed string operations takes 12 cycles
543         minimally; cld takes 2 cycles.
544         (ppro_uops attribute): Str is "many" and cld is "few".
545         (ppro_p0 unit): Handle cld here.
546         (k6_alux unit): Handle cld and str types.
547         (k6_load unit): It is ocupied by str opcodes.
548         (k6_store unit): It is ocupied by str opcodes.
549         (athlon_decode): Str is vector decoded.
550         (athlon_ieu): Handle str and cld.
551         (cld pattern): New.
552         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
553         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
554         cmpstrsi_nz_1 insn): Do not output cld instruction
555
556 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
557
558         * gcc.texi (G++ and GCC): Add Java and Chill.
559         (Bug Critera): Don't list languages.
560
561         * gcc.texi (Incompatibilities): No longer claim most C compilers
562         are K&R.
563
564         * gcc.texi (G++ and GCC): Update other front-ends list.
565
566 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
567
568         * i386.c (ix86_expand_setcc): Fix typo.
569         (ix86_expand_movcc): Similarly.
570
571         * Band-aid until haifa's bitset implementation is nuked.
572         * haifa-sched.c (extract_bitlst): New parameter for size of the
573         bitset in bits.  All callers changed.  Avoid looking at undefined
574         bits in the bitset.
575         (edgeset_bitsize): New variable.
576         (schedule_region): Initialize edgeset_bitsize.
577
578 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
579
580         * Makefile.in (optabs.o): Depend on real.h
581         (resource.o): Depend on insn-attr.h
582
583         * builtins.c (result_vector): Wrap prototype in macro conditions
584         governing definition and use.
585
586         * c-common.c: Include tm_p.h.
587
588         * c-lex.c: Likewise.
589
590         * elfos.h: Constify a char*.
591
592         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
593         (get_attr_length, shorten_branches, profile_after_prologue): Mark
594         parameter with ATTRIBUTE_UNUSED.
595
596         * fold-const.c (exact_real_inverse): Wrap variable `i' in
597         CHECK_FLOAT_VALUE.
598
599         * haifa-sched.c (schedule_insns): Mark parameter with
600         ATTRIBUTE_UNUSED.
601
602         * optabs.c: Include real.h.
603
604         * real.h (ereal_atof): Add prototype arguments.
605
606         * resource.c: Include insn-attr.h.
607
608         * sdbout.c (sdbout_queue_anonymous_type,
609         sdbout_dequeue_anonymous_types): Wrap in macro
610         SDB_ALLOW_FORWARD_REFERENCES.
611         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
612         ATTRIBUTE_UNUSED.
613
614         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
615
616         * stupid.c: Include tm_p.h.
617
618         * tree.c (real_value_from_int_cst): Mark parameter with
619         ATTRIBUTE_UNUSED.
620
621 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
622
623         * i960-protos.h: New file.
624
625         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
626         time warnings.
627         
628         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
629
630 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
631
632         * combine.c (expand_field_assignment): Do not discard SUBREGs
633         while computing nonzero_bits.
634
635 2000-01-09  Nick Clifton  <nickc@cygnus.com>
636
637         * config/arm/arm.c: Fix compile time warnings about signed vs
638         unsigned constants.
639         * config/arm/arm.h: Fix compile time warnings about signed vs
640         unsigned constants.
641
642 2000-01-09  Philip Blundell  <philb@gnu.org>
643
644         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
645         than `ldm' with only one register.
646         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with 
647         only one register.
648
649         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
650         clobbered.
651
652 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
653
654         * config/ns32k/ns32k.md (load or push effective address): Operand 1
655         must have SImode.
656
657 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
658
659         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
660         assignment used as truth value.
661
662         * function.c (assign_temp): Mark parameter `dont_promote' with
663         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
664         PROMOTE_FOR_CALL_ONLY.
665
666         * genrecog.c (write_subroutine): Mark variable `operands' with
667         ATTRIBUTE_UNUSED.
668
669         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
670         ATTRIBUTE_UNUSED.
671
672         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
673         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
674
675         * toplev.c (note_deferral_of_defined_inline_function): Likewise
676         for `decl'.
677
678 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
679
680         * config/c4x.h: Tidy up comments.
681         * config/c4x.c: Likewise.
682
683 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
684
685         * fold-const.c (lshift_double, rshift_double): Handle
686         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
687
688 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
689
690         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
691         in prepare_function_start().
692
693 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
694
695         * config/v850/v850.c (expand_epilogue): Interrupt functions no
696         longer allocate extra stack for function calls.
697
698 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
699
700         * config/c4x/c4x.md (*subqf3_set): Fix typo.
701
702 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
703         
704         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
705
706 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
707
708         * rs6000.c (processor_target_table): Add power3 as alias for 630.
709         * aix43.h: Revert Aug 2 change.
710         (HAS_INIT_SECTION): Define, not visible yet.
711         (LD_INIT_SWITCH): Define, not visible yet.
712         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
713
714         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
715
716         * collect2.c (main): Expand ld2 size further.
717         (export_object_lst): Cast assignment to avoid warning.
718         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
719         (scan_prog_file, COFF): Do not collect initialization or
720         finalization functions generated for entire shared object if
721         init/fini support present.
722
723 2000-01-07  Nick Clifton  <nickc@cygnus.com>
724
725         * config/elfos.h: Tidy up formatting of marcos.  Make sure
726         that .section directives are always prefixed by a tab.
727
728         * config/svr4.h: Add #include "elfos.h" and remove duplicate
729         definitions.
730
731 2000-01-07  Matt Austern  <austern@sgi.com>
732
733         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
734         expon.
735
736 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
737
738         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
739         crtstuff.c.
740         (crtbegin.o, s-crtS): Likewise.
741
742 2000-01-06  Richard Henderson  <rth@cygnus.com>
743
744         * alpha.md (adddi_2+1): Limit offset such that it will be
745         loadable with a single ldah+lda pair.
746         (adddi_2+2): Explicitly fail split if we can't make it work.
747
748 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
749
750         * protoize.c: Conditionally include unistd.h.
751         (IS_SAME_PATH_CHAR): New macro.
752         (IS_SAME_PATH): New macro.
753         (CPLUS_FILE_SUFFIX): New macro.
754         (cplus_suffix): New static variable.
755         (is_abspath): New static function.
756         (in_system_include_dir): Handle DOS style pathnames.
757         (file_could_be_converted): Likewise.
758         (file_normally_convertible): Likewise.
759         (directory_specified_p): Likewise.
760         (file_excluded_p): Likewise.
761         (abspath): Likewise.
762         (shortpath): Likewise.
763         (referenced_file_is_newer): Likewise.
764         (save_def_or_dec): Likewise.
765         (do_processing): Likewise.
766         (main): Likewise.
767         (edit_file): Likewise. Use rename instead of link.
768         (rename_c_file): Likewise. Don't rename syscalls file.
769         (munge_compile_params): Define null device for DOS based systems.
770         (process_aux_info_file): Use binary mode if appliable.
771         (edit_file): Likewise.
772         * invoke.texi (Running Protoize): Document C++ suffixes used. 
773   
774         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
775         IS_DIR_SEPARATOR macros.
776         * collect2.c: Likewise.
777         * cppinit.c: Likewise.
778         * dwarf2out.c: Likewise.
779         * gcc.c: Likewise.
780         * gcov.c: Likewise.
781         * prefix.c: Likewise.
782         * rtl.c: Likewise.
783         * toplev.c: Likewise.
784         * system.h: And move to here.
785
786         * prefix.c (update_path): Fix typo in variable name.
787
788 2000-01-06  Richard Henderson  <rth@cygnus.com>
789
790         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
791         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
792         (count_reg_sets_1, count_reg_references): Likewise.
793         (flow_loops_level_compute): Start counting actual loop depth at 1.
794         (flow_loops_find): Likewise.
795         * local-alloc.c (update_equiv_regs): Likewise.
796         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
797
798 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
799  
800        * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
801        FIRST_PSEUDO_REGISTER 
802        * dwarf2out.c: Don't include frame.h    
803        * dwarfout.c: Likewise
804        * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
805        frame.h 
806         
807 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
808
809         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
810         dead registers.
811
812         * i386.c (movsf splitter): Fix typo in my last checkin.
813
814 2000-01-05  Nick Clifton  <nickc@cygnus.com>
815
816         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
817         own definition of this macro.
818         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
819         flag_data_sections or UNIQUE_SECTION_P are true.
820
821         * tm.texi (UNIQUE_SECTION): Document that it can be called for
822         unitialised data decls.
823
824         * config/i386/winnt.c (i386_pe_unique_section): Cope with
825         being called for uninitialised data.
826
827         * config/i386/interix.c (i386_pe_unique_section): Cope with
828         being called for uninitialised data.
829
830         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
831         for uninitialised data. 
832
833         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
834         for uninitialised data. 
835
836         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
837         for uninitialised data. 
838
839         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
840         (UNIQUE_SECTION_P): Always generate a unique section if
841         flag_data_sections is true.
842         (UNIQUE_SECTION): Also generate unique sections for
843         uninitialised data.
844         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
845         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
846         named_section(). 
847         
848 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
849
850         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
851         SI, or DI.
852
853 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
854         
855         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
856         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
857         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
858         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
859         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
860
861         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
862
863 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
864
865         * c-decl.c (finish_enum): Simplify code to determine minimum and
866         maximum values of the enum, and calculate the type.  Remove check
867         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
868         the DECL_INITIAL of each enumeration constant with a copy converted
869         to the enumeration type.  When updating variant types, don't bother
870         updating the type itself.
871
872         * c-typeck.c (build_binary_op): Simplify conditional expressions
873         when weeding out spurious signed-unsigned warnings.  Add new
874         spurious warning category: if the unsigned quantity is an enum
875         and its maximum value fits in signed_type(result_type).  Update
876         commentary.
877         (build_conditional_expr): Warn here if one alternative is signed
878         and the other is unsigned.
879
880 2000-01-05  Nick Clifton  <nickc@cygnus.com>
881
882         * config/fr30/fr30.h: Remove extraneous comments.
883
884 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
885
886         * reload1.c (choose_reload_regs): When disabling a reload, also
887         set reload_spill_index to -1.
888
889 2000-01-04  Joel Sherrill (joel@OARcorp.com>
890
891         * configure.in (m68*-*-rtemscoff*): New target, formal name for
892         old m68*-*-rtems*.
893         (m68*-*-rtemself*): New target.
894         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
895         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
896         (sparc*-*-rtemself*): New target.
897         (sparc*-*-rtems*): Now elf not a.out.
898         * config/i386/rtems.h: Include config/rtems.h.
899         * config/i386/rtemself.h: Include config/rtems.h.
900         * config/i960/rtems.h: Include config/rtems.h.
901         * config/m68k/rtems.h: Include config/rtems.h.
902         * config/m68k/rtemself.h: Include config/rtems.h.
903         * config/mips/rtems64.h: Include config/rtems.h.
904         * config/pa/rtems.h: Include config/rtems.h.
905         * config/rs6000/rtems.h: Include config/rtems.h.
906         * config/sh/rtems.h: Include config/rtems.h.
907         * config/sh/rtemself.h: Include config/rtems.h.
908         * config/sparc/rtems.h: Include config/rtems.h.
909         * config/sparc/rtemself.h: Include config/rtems.h
910
911 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
912
913         * final.c (shorten_branches): Correctly compute length of
914         asms without operands.
915  
916 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
917
918         * configure.in: Add pj target.
919         * configure: Regenerate.
920         * config/pj: New directory.
921         * config/pj/lib1funcs.S: New file.
922         * config/pj/linux.h: New file.
923         * config/pj/pj.c: New file.
924         * config/pj/pj.md: New file.
925         * config/pj/pjl.h: New file.
926         * config/pj/t-pj: New file.
927         * config/pj/xm-pj.h: New file
928
929 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
930
931         * toplev.c (rest_of_compilation): Run shorten-branches before
932         reg-stack for now.
933
934 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
935
936         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of 
937         macros so that they're consistent with their names.
938         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
939         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
940
941 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
942
943         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
944         modified inadvertently.
945
946 2000-01-04  Joel Sherrill <joel@OARcorp.com>
947
948         * configure.in (v850*-*-rtems*): New target.
949         * configure: Regenerate.
950         * config/v850/rtems.h: New file.
951
952 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
953
954         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
955         (__gthread_key_create): Likewise. 
956         (__gthread_key_dtor):  Likewise.
957         (__gthread_once): Fix logic.
958         (__gthread_key_delete): Cast away constness.
959
960         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
961         * invoke.texi: Document.
962         * i386/mingw32.h (CPP_SPEC): Use.
963         (LIBGCC_SPEC): Likewise.
964         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
965
966 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
967
968         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
969         (HANDLE_PRAGMA_PACK): Undefine.
970         (SLOW_UNALIGNED_ACCESS): Define.
971
972 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
973
974         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
975         to default definition.
976         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
977         (store_fixed_bit_field): Call macro with word_mode and alignment.
978         (extract_bit_field): Call macro with relevant mode and alignment.
979         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
980         to default definition.
981         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
982         and alignment.
983         (move_by_pieces_ninsns): Likewise.
984         (clear_by_pieces): Likewise.
985         (emit_push_insn): Likewise.
986         (store_field): Call macro with relevant mode and alignment.
987         (expand_expr): Likewise.
988         (expand_expr_unaligned): Likewise.
989
990         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
991         (SLOW_UNALIGNED_ACCESS): Define.
992         (CASE_VECTOR_MODE): Always use 32-bit offsets.
993         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
994         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
995         (toc_section): Likewise and .toc pseudo-op.
996         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
997         64-bit mode.
998         (TEXT_SECTION_ASM_OP): Likewise.
999         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
1000         32-bit offsets.
1001
1002         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
1003         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
1004         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
1005         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
1006         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
1007
1008 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
1009
1010         * regclass.c: Revert my Jan 4 change to loop cost computation.
1011
1012 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1013
1014         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
1015         compilation.
1016
1017 2000-01-04  Stan Cox  <scox@cygnus.com>
1018
1019         * haifa-sched.c (build_control_flow): Change unreachable simple
1020         loop test to check if current block has only one predecessor.
1021         (find_rgns): Initialize degree.  Use dest as degree index, not src.
1022
1023 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1024
1025         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
1026
1027         * calls.c (expand_call): Likewise for
1028         `old_stack_arg_under_construction'.
1029
1030         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
1031
1032         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
1033         `save_constant'.
1034
1035         * gcc.c (execute): Likewise for `ut' and `st'.
1036
1037         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
1038
1039         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
1040
1041         * jump.c (jump_optimize_1): Likewise for `temp2'.
1042
1043         * local-alloc.c (block_alloc): Likewise for `r1'.
1044
1045         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
1046
1047         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
1048         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
1049         
1050         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
1051         and `set2'.
1052
1053         * reload.c (find_reloads): Likewise for `goal_alternative_number'
1054         and `goal_earlyclobber'.
1055
1056         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
1057
1058         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
1059
1060         * stupid.c (stupid_life_analysis): Likewise for `chain'.
1061
1062         * unroll.c (copy_loop_body): Likewise for `copy'.
1063
1064         * varasm.c (output_constructor): Likewise for `byte'.   
1065
1066 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1067
1068         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
1069         all FP constants for constant->reg moves.
1070         (ix86_split_to_parts): Try to convert memory address into immediate
1071         when available in the constant pool.
1072         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
1073         moves.
1074         (LEGITIMATE_CONSTANT_P): Return 1.
1075         * i386.md (pushsf): New splitter to convert constant pool memory
1076         reference to immediate.
1077         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
1078         reload.
1079
1080 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
1081
1082         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
1083         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
1084         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
1085         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
1086         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
1087
1088 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
1089
1090         * ginclude/stdbool.h:  Support compilation as C++.
1091
1092 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1093
1094         * fold-const.c (make_range): Don't try to reverse an unbounded range.
1095
1096 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
1097
1098         * regclass.c (regclass): Properly compute loop_cost.  Adjust
1099         comments.
1100
1101         * regclass.c: Fix minor whitespace problems.
1102
1103 2000-01-03  Anthony Green  <green@cygnus.com>
1104         
1105         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
1106         Restore the pic register if required.
1107
1108 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1109
1110         * c-common.c (format_char_info): Update comment.
1111         (check_format_info): Recognize 'z' modifier in the same way 'Z'
1112         was recognized.  Emit warning for formats new in ISO C99 only
1113         if flag_isoc9x is not set.
1114
1115 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
1116
1117         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
1118
1119 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1120
1121         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
1122         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
1123         (make_compound_operation): Choose cheaper alternative between
1124         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
1125
1126         * regclass.c (op_costs): Remove global variable.
1127         (record_reg_classes): New parameter "op_costs" and "reg_pref".
1128         (record_operand_costs): Break out from ...
1129         (scan_one_insn): ... here.
1130         (dump_regclass): Make dumps nicer.
1131         (regclass): Dump preferrences choosed and changes done during passes.
1132
1133 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1134
1135         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
1136
1137 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1138
1139         * config/sparc/sparc.c (gen_df_reg): New function.
1140         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
1141         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
1142         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
1143         movtf_cc_reg_sp64+1): Use it.
1144
1145 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
1146
1147         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
1148         copied LABEL_DECLs.
1149
1150 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
1151
1152         * config/i386/i386.c (ix86_expand_unary_operator): Function
1153         definition made void.
1154         (ix86_expand_binary_operator): Update outdated preceding comment.
1155         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
1156         prototype.
1157
1158         * config/i386/i386.c (override_options): Fix option-name typo.
1159
1160 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
1161
1162         * system.h (CEIL): Define.
1163         * builtins.c (CEIL): Remove.
1164         * expmed.c (CEIL): Likewise.
1165         * expr.c (CEIL): Likewise.
1166         * stor-layout.c (CEIL): Likewise.
1167         
1168 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1169
1170         * expr.c (store_constructor_field): Fix typo introduced with last
1171         gcc2 merge.
1172
1173 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
1174
1175         * tree.h (BINFO_N_BASETYPES): New macro.
1176
1177 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
1178
1179         * expmed.c (emit_store_flag): Prevent losing a pending stack
1180         adjust the same way we prevent losing queued increments.
1181
1182 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1183
1184         * function.c (update_temp_slot_address): Handle case where sum of
1185         temporary address plus offset in register is a valid address.
1186
1187 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
1188
1189         * genrecog.c (change_state) Corrected typo.
1190
1191 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1192
1193         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
1194         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
1195         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
1196
1197 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1198
1199         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
1200         case, expand GT comparisons correctly.  Fix a comment before this
1201         part of the code.
1202
1203 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
1204
1205         * dwarfout.c: Include "frame.h" 
1206         * dwarf2out.c: Likewise.
1207         * Makefile.in (dwarfout.o): Depend on frame.h
1208         (dwarf2out.o): Likewise.
1209
1210 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
1211
1212         Restore i386 binary compatibility in Dwarf EH info.
1213         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
1214         value of FIRST_PSEUDO_REGISTER.
1215         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
1216         (struct frame_state): Use DWARF_FRAME_REGISTERS.
1217         * dwarfout.c (output_reg_number): Ditto.
1218         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
1219         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
1220
1221 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
1222
1223         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
1224         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
1225         (<hack>_RE_CT): not needed
1226         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
1227         rewritten to scan the file text once only
1228         "template<..." test added
1229         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
1230         (is_cxx_header): declaration added
1231         * fixinc/fixtests.c(is_cxx_header): removed
1232         (apply_fix_p_t): removed
1233         (double_slash_test): is_cxx_header is only called once now
1234         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
1235         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
1236         within the templates.
1237         The borken spelling of "broken" was fixed.
1238         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
1239         The default level depends on FIXINC_DEBUG.
1240
1241 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1242
1243         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
1244         Otherwise provide a declaration for atexit.
1245         (init_dummy): Make sure dummy call to atexit is nevertheless
1246         called with correct number of args.
1247
1248         * frame.c: Update comments referring to other files.
1249         
1250         * libgcc2.c: Likewise.
1251
1252 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1253
1254         * cse.c (free_element, get_element): Remove unused prototypes.
1255
1256         * fold-const.c (extract_muldiv): Initialize variables `op0' and
1257         `op1'.
1258
1259         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
1260         `else' clauses.
1261
1262 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
1263
1264         * configure.in,configure: case arm for mn10200-*-* now sets
1265         float_format=i32 so that float.h will correctly claim "double"
1266         to be 32 bits. Ran autoconf to generate configure from .in file.
1267
1268 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
1269
1270         * pa.md (conditional zero): If op1 is a register, force it into
1271         the same register as op0.
1272
1273 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
1274
1275         * tree.h (BINFO_BASETYPES): Improve documentation.
1276
1277 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1278
1279         * configure.in (--enable-checking): Use a more portable `for'
1280         loop syntax.
1281
1282 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1283
1284         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
1285         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
1286
1287         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
1288         Delete files.
1289
1290         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
1291         Delete descriptions.
1292
1293         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
1294         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
1295         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
1296         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
1297         xm-svr4.h: Remove all instances of sys_siglist handling.
1298
1299 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
1300
1301         * config/sparc/sparc.md (cmp_zero_qi,
1302         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
1303         cmp_zero_extendqidi2_andcc_set): New patterns.
1304
1305 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
1306
1307         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
1308         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
1309         (fpgnulib.c, xfgnulib.c): Add rules.
1310         * m68k/t-mot3300-gas: Likewise.
1311
1312 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
1313
1314         * configure.in: Avoid [[ by using test and changequote.  Add
1315         changequote required by 1999-12-14 change.
1316         * configure: Rebuild.
1317
1318 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
1319
1320         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
1321
1322 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
1323
1324         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
1325         * flow.c (find_use_as_address): Likewise.
1326         * function.c (fixup_var_refs_1): Likewise.
1327         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
1328         * jump.c (invert_exp, redirect_exp): Likewise.
1329         * loop.c (replace_call_address): Likewise.
1330         (count_nonfixed_reads): Likewise.
1331         * rtlanal.c (modified_between_p): Likewise.
1332         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
1333         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
1334         * unroll.c (remap_split_bivs): Likewise.
1335
1336 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1337
1338         * diagnostic.c (v_message_with_decl): Use .* format specifier
1339         instead of building the format specifier width manually.
1340
1341         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
1342         determining whether to provide a prototype.  Remove the
1343         sys_siglist clause in the conditional.
1344
1345 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1346
1347         * fold-const.c (operand_equal_p): Use memcmp to compare string
1348         constants.
1349         Suggested by D. J. Bernstein
1350
1351 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
1352
1353         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
1354         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
1355         compiling libgcc2.
1356         * config/mips/mips.h (TARGET_64BIT): Likewise.
1357         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
1358         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
1359         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
1360         dsps.  Give routines proper names if SI/DI modes are not used.
1361         * longlong.h: Use DWunion instead of DIunion.
1362
1363 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
1364
1365         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
1366         GC_CHECKING, GC_ALWAYS_COLLECT.
1367         * configure.in: Allow --enable-checking with an argument
1368         listing check modes to enable.
1369         * config.in, configure: Rebuilt.
1370         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
1371         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
1372         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
1373         ENABLE_GC_ALWAYS_COLLECT.
1374         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
1375         throughout.
1376         * tree.h, tree.c: Change ENABLE_CHECKING to
1377         ENABLE_TREE_CHECKING throughout.
1378
1379 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1380
1381         * fold-const.c (fold_truthop): Properly check for FP RHS.
1382
1383 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
1384
1385         * toplev.h (note_deferall_of_defined_inline_function): Declare.
1386         * toplev.c (note_deferral_of_defined_inline_function): New
1387         function, split out from ...
1388         (rest_of_compilation): ... here.  Use it.
1389         
1390 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1391
1392         * expr.c (store_constructor): Don't call clear_storage if size is
1393         variable.
1394
1395 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1396
1397         * Makefile.in (toplev.o): Depend on loop.h.
1398
1399         * dwarfout.c: Include tm_p.h.
1400
1401         * emit-rtl.c (restore_emit_status): Mark parameter with
1402         ATTRIBUTE_UNUSED.
1403
1404         * final.c (final_scan_insn): Likewise.
1405
1406         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
1407         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
1408         flow_depth_first_order_compute, flow_loop_pre_header_find,
1409         flow_loop_tree_node_add, flow_loops_tree_build,
1410         flow_loop_level_compute, flow_loops_level_compute,
1411         flow_loop_outside_edge_p): Add prototypes.
1412         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
1413
1414         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
1415         Mark with ATTRIBUTE_NORETURN.
1416
1417         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
1418
1419         * local-alloc.c (no_conflict_p): Likewise.
1420
1421         * loop.c (insert_bct): Hide definitions of variables with hidden
1422         usage.
1423         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
1424
1425         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
1426         with ATTRIBUTE_UNUSED.
1427         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
1428         (reg_scan): Likewise.
1429         
1430         * reload.c (find_reloads): Remove unused variables `changed'.
1431
1432         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
1433         away const-ness.
1434         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
1435         Remove unused variable `insn'.
1436         
1437         * toplev.c: Include loop.h.
1438         (report_file_and_line): Remove unnecessary prototype.
1439
1440         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
1441
1442         * unroll.c (biv_total_increment): Likewise.
1443         
1444 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1445
1446         * reload1.c (emit_input_reload_insns): Restore old behaviour
1447         wrt. 'special' reloads.
1448
1449 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
1450
1451         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
1452         hash.h.  (cse.c): Don't depend on hashtab.h.
1453
1454         * cse.c: Don't include hashtab.h.
1455         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
1456         of dead functions.
1457         * ggc-simple.c: Don't include hash.h.
1458
1459 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
1460
1461         * dwarf2out.c (add_abstract_origin_attribute): Call
1462         gen_abstract_function on our function context.
1463
1464 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
1465
1466         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
1467
1468 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1469
1470         * config/c4x/c4x.c (c4x_address_cost): Add statement to default 
1471         case in switch.
1472
1473 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1474
1475         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
1476         constraints to "a!r".
1477
1478 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
1479
1480         * Makefile.in (calls.o): Depend on function.h.
1481         (alias.o): Likewise.
1482
1483 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
1484
1485         * reload1.c (emit_reload_insns): Break out code and variables into...
1486         (input_reload_insns, other_input_address_reload_insns,
1487         other_input_reload_insns, input_address_reload_insns,
1488         inpaddr_address_reload_insns, output_reload_insns,
1489         output_address_reload_insns, outaddr_address_reload_insns,
1490         operand_reload_insns, other_operand_reload_insns,
1491         other_output_reload_insns): ... new static variables, and...
1492         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
1493         do_output_reload): ... new functions.
1494
1495 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1496
1497         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
1498
1499 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1500
1501         * md.texi: Add c4x constraints documentation.
1502
1503 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1504
1505         * config/i386/dgux.c (struct option): Rename to
1506         lang_independent_option.
1507         (struct m_options): Add description field.
1508         (output_options): Rename option type, add sep declaration, output
1509         ix86_cpu_string and ix86_arch_string only if set.
1510         (output_file_start): Rename option type.
1511
1512 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
1513
1514         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
1515         stmp-int-hdrs.
1516         (libgcc2.a): Similarly.
1517
1518 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
1519
1520         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
1521         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
1522         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
1523
1524 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
1525
1526         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
1527         Remove redundant initialization of "frexpon" and "expon".
1528
1529 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1530
1531         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
1532
1533         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
1534         (store_constructor_field, expand_expr): Pass new arg.
1535
1536 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
1537
1538         * Makefile.in (explow.o): Depend on function.h.
1539         
1540         * stor-layout.c (set_sizetype): Fix typo.
1541         
1542 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
1543
1544         * function.c (cfun): Renamed from current_function.  All users
1545         changed.
1546         * function.h (cfun): Rename declaration as well.
1547
1548         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
1549         to be of type regset_head, not regset.  All users changed by adding
1550         address operator.
1551         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
1552
1553 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1554
1555         * config/c4x/rtems.h: New file.
1556
1557 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
1558
1559         * reload1.c (spill_failure): Take class of failed reload as argument
1560         and print it.  Caller changed.
1561                 
1562 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1563
1564         * rs6000.h (SUBTARGET_DEFAULT): New macro.
1565         (TARGET_SWITCHES): Allow subtargets to default switches.
1566         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
1567
1568 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
1569
1570         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
1571         in a main program.
1572
1573 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
1574
1575         * cccp.c (main): Define __STDC_VERSION__ as necessary.
1576         * cppinit.c (cpp_handle_option): Likewise.
1577
1578         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
1579         determine when to define.
1580
1581 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
1582
1583         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
1584         cmove with mismatched test and data modes.
1585
1586 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
1587
1588         * c-typeck.c (c_expand_start_case): Don't warn for long switch
1589         in system headers.
1590
1591 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1592
1593         * alias.c: Minor reformatting.
1594         * flow.c: Likewise.
1595         * regs.h: Likewise.
1596         * stor-layout.c: Likewise.
1597         * fold-const.c: Likewise.
1598         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
1599         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
1600         not arg itself.
1601         (size_int_wide): Cache nodes even if garbage collecting.
1602         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
1603         of SAVE_EXPR has no side effects.
1604         * cse.c: Move a comment.
1605         * tree.c: Minor reformatting.
1606         (int_size_in_bytes): Return -1 if constant overflows.
1607
1608 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1609
1610         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
1611
1612 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
1613
1614         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
1615         after any change to c-parse.in, even if objc-parse.y didn't
1616         change.  Oops.
1617
1618 1999-12-18  David S. Miller  <davem@redhat.com>
1619
1620         * toplev.c (rest_of_compilation): Restore BLOCK tree
1621         reconstruction and branch shortening changes lost in
1622         December 18th change.
1623
1624 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
1625
1626         * config/arm/linux-elf.h: Change all instances of 
1627         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
1628         * config/arm/uclinux-elf.h: Likewise.
1629
1630 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
1631
1632         * toplev.c (notice, vmessage, v_message_with_file_and_line,
1633         v_message_with_decl, file_and_line_for_asm,
1634         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
1635         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
1636         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
1637         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
1638         pfatal_with_name, fatal_io_error, need_error_newline,
1639         last_error_function, last_error_tick, announce_function,
1640         default_print_error_function, print_error_function,
1641         report_error_function, fnotice, error_with_file_and_line,
1642         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
1643         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
1644         warning_with_decl, warning_for_asm, warning, pedwarn,
1645         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
1646         diagnostic.c
1647         (compile_file): Use fnotice instead of notice.  Adjust call.
1648
1649         * diagnostic.c: New file.
1650
1651         * Makefile.in (OBJS): Include diagnostic.o
1652         (diagnostic.o): Define dependence.
1653
1654 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1655
1656         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
1657         Tweak formatting.
1658
1659 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1660         
1661         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
1662
1663 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
1664
1665         * fixtests.c (is_cxx_header): New fn, split out of
1666         double_slash_test.
1667         (else_endif_label): Allow "#endif // comment" in C++ headers,
1668         as determined by is_cxx_header.
1669         * fixfixes.c (else_endif_label_fix): Update comment.
1670         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
1671         a tty.
1672         * genfixes: Correct double thinko in commandline parsing.
1673         * hackshell.tpl: Generate correct sh syntax for bypass
1674         entries.
1675
1676         * inclhack.def (all): Whenever an inserted preprocessor
1677         conditional is split over multiple lines, use double
1678         backslashes in this file so the fixed header will be readable.
1679
1680         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
1681         and add bypass entry for correct version of this header.
1682         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
1683         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
1684
1685         (hpux8_bogus_inlines): New fix, split from...
1686         (ultrix_atof_param) ... here.
1687         (math_expression): Add bypass entry keyed to glibc comment
1688         indicating the problem has been dealt with; disable
1689         unnecessary sed operations; update commentary.
1690         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
1691         add select and bypass entries, simplify shell operation.
1692         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
1693
1694         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
1695          ultrix_atof_param): Add select entry.
1696         (stdio_va_list, sunos_mather_decl): Add bypass entry.
1697         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
1698         comments with the fixes they describe.
1699
1700         * c-parse.in (string action): Do not warn about ANSI string
1701         concatenation in system headers.  Affects C parser only.
1702         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
1703
1704 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
1705
1706         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
1707         compiling libgcc2 the macro depends always on arch cpp defines.
1708
1709 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
1710
1711         * loop.c (insert_loop_mem): Don't record MEMs from inside 
1712         EXPR_LISTs.
1713
1714 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
1715
1716         * regclass.c (regclass): Do not use flowgraph when not optimizing.
1717
1718         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
1719         notes too, create one when replacement failed, attempt to simplify
1720         resulting notes.
1721         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
1722         or REG_EQUIV notes.
1723
1724 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
1725
1726         * crtstuff.c (__dso_handle): Declare.
1727         (__cxa_finalize): Likewise.
1728         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
1729         non-NULL.
1730
1731         * invoke.texi: Document -fuse-cxa-atexit.
1732         
1733         * tree.h (ptr_type_node): Document.
1734         (const_ptr_type_node): Likewise.
1735
1736 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
1737
1738         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
1739         (optimize_reg_copy_2): Likewise.
1740         (optimize_reg_copy_3): Likewise.
1741         (fixup_match_2): Likewise.
1742         (regmove_optimize): Likewise.
1743         (fixup_match_1): Liekwise.
1744
1745         * i386.md (HI to SImode promoting splitters): Rewrite.
1746         (pushsf mem peep2): New.
1747         (testhi to andhi peep2): Remove.
1748         * i386.h (x86_promote_QImode): New.
1749         (TARGET_PROMOTE_QImode): New.
1750         (PREDICATE_CODES): Add promotable_binary_operator.
1751         * i386.c (x86_promote_QImode0: New.
1752         (promotable_binary_operator): New.
1753         * i386-protos.h (promotable_binary_operator): New.
1754
1755         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
1756         condition.
1757         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
1758
1759 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
1760
1761         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
1762         * function.c (insert_block_after_note): Remove.
1763         (retrofit_block): Likewise.
1764         (identify_blocks): Fix indentation.
1765         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
1766         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
1767         * function.h (insert_block_after_note): Remove prototype.
1768         (retrofit_block): Likewise.
1769         * integrate.c (expand_inline_function): Don't call
1770         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
1771         just expand_start_bindings.  Use the block_map to remap old
1772         NOTE_BLOCKs to new ones.
1773         (integrate_decl_tree): Keep track of remapped blocks.
1774         * integrate.h (struct inline_remap): Add block_map.
1775         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
1776         NOTE_BLOCK on the notes.
1777         (expand_start_bindings): Rename to ...
1778         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
1779         (expand_end_bindings): Set NOTE_BLOCK.
1780         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
1781         reconstruct the BLOCK tree.
1782         * tree.h (expand_start_bindings): Macroize.  Call ...
1783         (expand_start_bindings_and_block): New function.
1784         
1785 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
1786
1787         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
1788         to match the format.
1789
1790 1999-12-16  David S. Miller  <davem@redhat.com>
1791
1792         * expr.c (emit_move_insn_1): Only emit clobbers if one of
1793         the outputs is a SUBREG.
1794         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
1795         change.
1796
1797         * config/sparc/sparc.c (epilogue_renumber): Add default case
1798         to switch stmt.
1799
1800 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
1801
1802         * toplev.c (rest_of_compilation): Run branch shortening after
1803         reg-stack.
1804
1805         * regclass.c (loop_depth): Remove
1806         (scan_one_insn): Do not handle LOOP_NOTE insns.
1807         (regclass): Go through basic blocks and set loop_cost
1808
1809 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
1810
1811         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
1812
1813 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
1814
1815         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
1816         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
1817         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
1818
1819 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
1820
1821         * loop.c (insert_loop_mem): Ignore memory clobbers.
1822
1823         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
1824         to (OP A B).
1825
1826 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
1827
1828         * profile.c: Remove redundant #include "output.h".
1829
1830         * h8300.md (HImode preinc peephole): Fix typo.
1831
1832 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
1833
1834         * function.c (retrofit_block): Abort if we don't find a suitable insn.
1835         (insert_block_after_note): Abort if we don't have a previous block.
1836         Remove FN parameter.
1837         * function.h: Adjust.
1838
1839 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
1840
1841         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
1842         argument more than once.
1843
1844 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
1845
1846         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
1847
1848 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
1849
1850         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
1851
1852 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
1853
1854         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
1855         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
1856         update stack_alignment_needed.
1857         (prepare_function_start): Initialize stack_alignment_needed
1858         * function.h (struct function): Add field stack_alignment_needed.
1859
1860 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1861
1862         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
1863         Handle live_throughout / dead_or_set instead of live_before /
1864         live_after.
1865         (save_call_clobbered_regs): Get register livenessinformation from
1866         chain->live_throughout.
1867         (add_stored_regs): New function.
1868         (insert_restore, insert_save): Add restored / saved registers to
1869         dead_or_set.
1870         * global.c (reg_dies): New parameter chain.
1871         (reg_becomes_live): Third parameter is regs_set now.
1872         Changed all callers.
1873         (reg_dies): New parameter chain.  Changed all callers.
1874         (build_insn_chain): Set live_throughout instead of
1875         live_before / live_after.
1876         * reload.h (struct insn_chain): Replace members live_before /
1877         live_after with live_throughout / dead_or_set.
1878         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
1879         instead of live_before / live_after.
1880         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
1881         (order_regs_for_reload, find_reg, finish_spills): Likewise.
1882         (choose_reload_regs_init): Likewise.
1883         * stupid.c (current_chain, find_clobbered_regs): Delete.
1884         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
1885         instead of chain->live_before / chain->live_after.
1886         (mark_hard_ref): New function.
1887         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
1888
1889 1999-12-15  David S. Miller  <davem@redhat.com>
1890
1891         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
1892
1893 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
1894
1895         * flow.c (calculate_loop_depth): Make global, remove prototype,
1896         rewrite to use new loop infrastructure.
1897         (find_basic_block): Remove calculate_loop_depth call.
1898         * toplev.c (rest_of_compilation): Call find_basic_block.
1899         * output.h (calculate_loop_depth): Declare.
1900
1901         * flow.c (dump_flow_info): Dump loop_depth.
1902         (flow_loops_nodes_find): Increase loop_depth for basic block in the
1903         body.
1904         (flow_loops_find): Initialize the loop_depth for each basic block.
1905
1906 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
1907
1908         * tree.c (decl_function_context): Handle virtual functions.
1909
1910         * tlink.c (scan_linker_output): Don't look in demangled name when
1911         looking for linker output keywords.
1912
1913         * dwarfout.c (output_type): We can defer namespace-scope classes.
1914
1915 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
1916
1917         * regclass.c (record_reg_classes): Update comment for merging
1918         register class preferences in reg->reg copies.  Tighten conditions
1919         for merging register class preferences in reg->reg copies.
1920
1921 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
1922
1923         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
1924
1925 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
1926
1927         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
1928         (INIT_SECTION_ASM_OP): Delete.
1929         (FINI_SECTION_ASM_OP): Delete.
1930         (STARTFILE_SPEC): Define to hold just crtbegin.o.
1931
1932 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
1933
1934         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
1935         the abstract origin wasn't emitted.
1936
1937         * dwarf2out.c (class_scope_p): New fn.
1938         (gen_subprogram_die): Use it.
1939         (gen_variable_die): Use it.  Tweak logic.
1940         (gen_struct_or_union_type_die): Check context_die to determine
1941         if we're function-local.
1942         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
1943
1944 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
1945
1946         * loop.c (check_dbra_loop): Can't reverse a biv that has
1947         maybe_multiple set.
1948
1949 1999-12-14  Nick Clifton  <nickc@cygnus.com>
1950
1951         * config/arm/arm.c: Add support for -mcpu=arm720 command line
1952         switch. 
1953
1954 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1955
1956         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
1957         for givs made from biv increments.
1958
1959 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
1960
1961         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
1962         * alpha.c (override_options): Recognize -mcpu=ev67.
1963         * alpha.h (CPP_CPU_EV67_SPEC): New.
1964         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
1965         (EXTRA_SPECS): Update.
1966
1967 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
1968
1969         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
1970         appropriate for -lang-c89 and -std=*.
1971         * cppinit.c (cpp_handle_option): Likewise.
1972         (new_pending_define): New, split out from cpp_handle_option.
1973         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
1974         or enable trigraphs for -ansi/-std=*.
1975
1976         * ginclude/stdarg.h (__va_copy): New.
1977         (va_copy): Don't define for C89.
1978
1979 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
1980
1981         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
1982         for long long multiply-accumulate.
1983
1984 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
1985
1986         * regclass.c (scan_one_insn): Set loop_cost to 1 when
1987         optimizing for size.
1988
1989 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
1990
1991         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
1992         if something changed.  Back out that part of yesterday's changes.
1993
1994         * loop.c (loop_max_reg): New static variable.
1995         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
1996         max_reg_num.
1997         (scan_loop): Call reg_scan_update whenever we may have added new
1998         registers, and update loop_max_reg.
1999
2000 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2001
2002         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
2003         when source does not die.
2004
2005         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
2006
2007 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
2008
2009         * config/sparc/linux64.h (TARGET_LIVE_G0,
2010         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
2011         variants on Linux.
2012         * config/sparc/linux.h (TARGET_LIVE_G0,
2013         TARGET_BROKEN_SAVERESTORE): Likewise.
2014         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2015         TARGET_BROKEN_SAVERESTORE): Likewise.
2016
2017         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
2018         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
2019         not %g2.
2020         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
2021         as sparc64 block profiling register.
2022         * config/sparc/sparc.c (sparc_override_options): Allow block
2023         profiling with -m32.
2024         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
2025         profiling register.
2026         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
2027         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
2028         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
2029
2030         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
2031         for sparc64.
2032         * config/sparc/sparc.h: Likewise.
2033         * config/sparc/xm-sysv4-64.h: Likewise.
2034         * config/float-sparc.h: Likewise.
2035         * glimits.h: Likewise.
2036         * longlong.h: Likewise.
2037
2038         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
2039         (ASM_IDENTIFY_GCC): Remove.
2040
2041 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2042
2043         * combine.c (combine_simplify_rtx): Don't make shared rtl.
2044         (simplify_logical): Likewise.
2045
2046 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
2047
2048         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
2049         * cppfiles.c (INO_T_EQ): Likewise.
2050
2051 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
2052
2053         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
2054         * i386/mingw32.h (LIB_SPEC): Likewise.
2055         (STARTFILE_SPEC): Likewise.
2056         * i386/uwin.h (LIB_SPEC): Likewise.
2057         (STARTFILE_SPEC): Likewise.
2058
2059         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
2060         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
2061
2062 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
2063
2064         * combine.c (combine_simplify_rtx): Fix order of checks for
2065         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
2066         
2067 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
2068
2069         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out 
2070         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
2071
2072 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
2073
2074         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
2075         defined.
2076         * regclass.c (inv_reg_alloc_order): New array.
2077         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
2078
2079         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
2080         counted_for_groups, counted_for_nongroups.  Add fields rld and
2081         n_reloads.
2082         * reload.c (push_secondary_reload): Don't set nongroup field of
2083         new reloads.
2084         (push_reload): Likewise.
2085         (find_reloads): Delete code to compute nongroup fields.
2086         * reload1.c (reload_insn_firstobj): New static variable.
2087         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
2088         users changed.
2089         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
2090         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
2091         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
2092         functions.
2093         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
2094         functions.
2095         (struct hard_reg_n_uses): Deleted.
2096         (potential_reload_regs): Deleted.
2097         (init_reload): Initialize spilled_pseudos and pseudos_counted.
2098         (reload): Don't try to allocate reload registers if we already know
2099         we have to make another pass.  Call select_reload_regs.  Free memory
2100         starting with reload_firstobj when starting another pass.
2101         Don't allocate spilled_pseudos.
2102         (calculate_needs_all_insns): Call copy_reloads for an insn that
2103         needs reloads; don't call calculate_needs.
2104         (spill_cost): New static array.
2105         (used_spill_regs_local): New static variable.
2106         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
2107         to compute potential_reload_regs.
2108         (find_reload_regs): Completely rewritten to use find_reg.
2109         (allocate_reload_reg): Don't test counted_for_groups or
2110         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
2111         all cllers changed.
2112         (choose_reload_regs): Add fallback code that uses the existing
2113         register allocation from find_reload_regs.
2114
2115 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
2116
2117         * flow.c (create_edge_list): Cast xmalloc return value.
2118
2119 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
2120
2121         * doprnt.c: Remove incorrect comment closure.
2122
2123         * cse.c: Fix a few minor whitespace goofs.
2124
2125 1999-12-13  Don Bowman  <don@pixstream.com>
2126
2127         * mips/vxworks.h: Fix problem with comment termination.
2128         (EXTRA_SECTIONS): Add in_sbss.
2129         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
2130
2131 1999-12-12  David S. Miller  <davem@redhat.com>
2132
2133         * cse.c (struct cse_reg_info): Add hash_next member,
2134         reorder rest of struct for better packing on 64-bit
2135         hosts.
2136         (cse_reg_info_tree): Kill.
2137         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
2138         REGHASH_FN): New custom pow2 hash mechanism.
2139         (NBUCKETS): Kill.
2140         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
2141         use a pow2 hash table.
2142         (get_cse_reg_info): Rework to use new REGHASH.
2143         (new_basic_block): Likewise, use HASH_SIZE, and inline
2144         free_element call.
2145         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
2146         and inline free_element call.
2147         (lookup_as_function, insert, flush_hash_table, invalidate,
2148         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
2149         invalidate_for_call, use_related_value, find_comparison_args,
2150         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
2151         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
2152         get_element): Kill.
2153         
2154 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
2155
2156         * cse.c (cse_basic_block): Free qty_table consistently.
2157
2158 1999-12-12  David S. Miller  <davem@redhat.com>
2159             Jakub Jelinek    <jakub@redhat.com>
2160
2161         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
2162         SUBREGs by hand, gen the appropriate hard reg directly.
2163         (movtf reg/mem split): Likewise and alter_subreg on destination
2164         if necessary.
2165         (movtf mem/reg split): Similarly.
2166         (movdf_cc_sp64): Rename from hidden pattern.
2167         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
2168         (movtf_cc_sp64, following split): New pattern and splitter.
2169         (movdf_cc_reg_sp64): Rename from hidden pattern.
2170         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
2171         TARGET_HARD_QUAD.
2172         (movtf_cc_reg_sp64, following split): New pattern and splitter.
2173
2174 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
2175
2176         * loop.c (load_mems): Don't hoist written floating point mem
2177         if -ffloat-store.
2178         
2179 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
2180
2181         * except.h (struct eh_queue): Add `next' pointer.
2182         (struct eh_status): Make x_ehqueue a pointer.
2183         (push_ehqueue):  Declare.
2184         (pop_ehqueue): Likewise.
2185         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
2186         pointer.
2187         (expand_fixup_region_end): Likewise.
2188         (expand_leftover_cleanups): Likewise.
2189         (push_ehqueue): Define.
2190         (pop_ehqueue): Likewise.
2191         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
2192         than doing it inline.
2193         (expand_start_all_catch):  Adjust now that ehqueue is a
2194         pointer.
2195         (mark_eh_queue): Mark all level of the queue.
2196         (mark_eh_status):  Adjust now that ehqueue is a
2197         pointer.
2198         (init_eh_for_function): Allocate ehqueue.
2199         (free_eh_status): Free it.
2200         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
2201         expansion for a fixup.
2202
2203 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2204
2205         * gthr-single.h (__gthread_active_p): Add prototype arguments.
2206
2207         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
2208         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
2209         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
2210         function_ptr, getpagesize, __enable_execute_stack,
2211         __enable_execute_stack, __clear_insn_cache,
2212         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
2213         _cleanup, _exit, __default_terminate, __terminate_func,
2214         __terminate, __empty, __throw, new_eh_context,
2215         eh_context_initialize, eh_context_static, eh_context_specific,
2216         get_eh_context, __get_eh_context, __get_eh_info,
2217         init_reg_size_table, eh_threads_initialize,
2218         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
2219         __unwinding_cleanup, throw_helper, __throw, __rethrow,
2220         __pure_virtual): Add prototype arguments.       
2221         (__bb_exit_func): Cast a sizeof to long when comparing against one.
2222         Cast a signed value to unsigned long when comparing against one.
2223         (new_eh_context): Wrap in _GTHREADS macro.
2224         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
2225         declaration.
2226         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
2227         (throw_helper): Initialize variables `handler_p' and `pc_p'.
2228         
2229 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2230
2231         * combine.c (record_promoted_value): Remove unused variable
2232         `links2'.
2233
2234         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
2235
2236         * global.c (record_conflicts): Likewise for `j'.
2237
2238         * genoutput.c (output_insn_data): Don't unnecessarily cast away
2239         const-ness.
2240
2241 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2242
2243         * i386-protos.h (output_387_binary_op, output_fix_trunc,
2244         output_fp_compare): Constify a char*.
2245
2246         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
2247         static prototypes.
2248         (override_options, ix86_comp_type_attributes, print_operand,
2249         output_387_binary_op, output_fix_trunc, output_fp_compare):
2250         Constify a char*.
2251         (ix86_sched_reorder): Mark parameter `clock_var' with
2252         ATTRIBUTE_UNUSED.
2253
2254         * i386.h (DEBUG_PRINT_REG): Constify a char*.
2255
2256 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2257
2258         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
2259         operand, for use in the Java front-end.
2260
2261 1999-12-10  Ben Collins  <bcollins@debian.org>
2262
2263         * configure.in: Fix typo for "-64" in 64bit as check.
2264         * configure: Rebuilt.
2265         
2266 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2267
2268         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
2269         appropriate.
2270
2271 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2272
2273         * c-parse.in (string): With -Wtraditional, warn if ANSI string
2274         concatenation is utilized.
2275
2276         * invoke.texi (-Wtraditional): Document it.
2277
2278 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2279
2280         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
2281         Cast a ptrdiff_t to long and pass it to printf with %ld.
2282
2283 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
2284
2285         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
2286         68881, we have no 68881 registers at all.
2287         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
2288         value in a 68881 register if it is available.
2289
2290 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
2291
2292         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
2293         for long long multiply-accumulate.
2294
2295 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
2296
2297         * loop.c (insert_loop_mem): Undo last change.
2298
2299 1999-12-10  David S. Miller  <davem@redhat.com>
2300
2301         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
2302         New functions.
2303         * config/sparc/sparc-protos.h: Add them.
2304         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
2305         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
2306         constraints which use those helpers.
2307         (EXTRA_CONSTRAINT): Use this new macro.
2308         * md.texi: Update sparc target constraints documentation.
2309         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
2310         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
2311         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
2312         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
2313         (movsf high/lo_sum split): Rework for new patterns.
2314         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
2315
2316 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
2317
2318         * c-common.c (c_common_nodes_and_builtins): 
2319         Create __builtin_ptrdiff_t and __builtin_size_t.
2320
2321 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
2322
2323         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
2324
2325 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2326
2327         * regclass.c (globalize_reg): Re-instate test that allows
2328         fixed registers to be declared as a variable even after functions
2329         are defined.
2330
2331 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2332
2333         * i386.md (cpu attribute): Add "athlon".
2334         (athlon_decode): New attribute.
2335         (Athlon scheduling units definitions): New.
2336         (fcmp and shld patterns): Set athlon_decode to "vector".
2337         * i386.c (athlon_cost): New.
2338         (m_ATHLON): New.
2339         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
2340         x86_use_sahf): Set for Athlon.
2341         (x86_use_fiop): Unset for Athlon.
2342         (override_options): Define Athlon alignments and "athlon" name.
2343         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
2344         * i386.h (TARGET_ATHLON): New.
2345         (enum processor_type): Add PROCESSOR_ATHLON.
2346         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
2347         for CPU_DEFAULT==5
2348         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
2349
2350 1999-12-09  Andreas Jaeger  <aj@suse.de>
2351
2352         * loop.c (record_biv): Declare parameter as int.
2353
2354         * config/i386/i386-protos.h: Declare long_memory_operand.
2355
2356 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
2357
2358         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
2359         EXPR_WITH_FILE_LOCATION.
2360
2361 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
2362
2363         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
2364         in expander.
2365
2366         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
2367
2368         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
2369         updating code.
2370
2371 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
2372
2373         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
2374         default on linux64 again.
2375         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
2376         models for multilibing.
2377         * genmultilib: Accept | as alternative separator within a set in
2378         MULTILIB_OPTIONS.
2379
2380         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
2381
2382         * calls.c (precompute_arguments): Make sure initial_value contains
2383         value pseudo which CSE expects.
2384         * cse.c (struct set): New entry orig_src.
2385         (cse_insn): Set it early on entry, use it for libcall EQUIV note
2386         replacement.
2387
2388 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
2389
2390         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
2391
2392 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
2393
2394         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
2395
2396 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
2397
2398         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
2399         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
2400
2401         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
2402         if TARGET_ARCH32.
2403
2404         * longlong.h: Merge in changes from glibc.
2405         Also don't clobber %g2 register in 32bit SPARC assembly, so that
2406         -mno-app-regs libgcc can be compiled.
2407         * libgcc2.c: Add defines so that the updated longlong.h
2408         can be used in libgcc2.a. Also, make sure on most architectures
2409         (at least on all which have optimized code in longlong.h defined
2410         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
2411
2412 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2413
2414         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
2415         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
2416         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
2417         is GNU ld.
2418         * configure: Rebuilt.
2419
2420 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
2421
2422         * alpha.c (secondary_reload_class): For !BWX, sub-simode
2423         outputs require a register.
2424
2425 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
2426
2427         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
2428         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
2429         functions like dptoul will be resolved.
2430         (libgcc2.a): Make sure that the object files from DPBIT are named
2431         differently (prefix `_dp') from those that would be coming from
2432         FPBIT.
2433
2434 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
2435
2436         * configure.in: When target is sparc* and tm_file contains 64,
2437         test for 64bit support in assembler.  If not supported, remove
2438         sparc/t-sol2-64 from target-dependent Makefile fragments.
2439         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
2440         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
2441         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
2442         * acconfig.h (AS_SPARC64_FLAG): Added.
2443         * configure, config.in: Rebuilt.
2444         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
2445         support.  Use AS_SPARC64_FLAG.
2446
2447 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
2448
2449         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
2450         suitable for holding OFmode values so that gcc works with complex
2451         quad long doubles.
2452         (hard_64bit_mode_classes): Likewise.
2453
2454         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
2455         so that it is actually matched.
2456         (sethi_di_medlow): Likewise.
2457
2458         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
2459         as legitimate constant if -mvis.
2460         * config/sparc/sparc.md (movtf): Likewise.
2461         (clear_sf): Use const_double_operand.
2462         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
2463
2464         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
2465         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
2466         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
2467         routines, _Qp_* cannot be handled like that now.
2468         (INIT_TARGET_OPTABS): Likewise.
2469         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
2470         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
2471         sparc_emit_float_lib_cmp if ARCH64 and soft float.
2472         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
2473         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
2474         divtf3, sqrttf3): New expanders.
2475         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
2476         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
2477         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
2478         non-_hq patterns.
2479
2480         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
2481         * configure: Rebuilt.
2482         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
2483         -mcpu is given and we're doing 64bit compiles.
2484
2485 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
2486
2487         * loop.h (struct induction): Add multi_insn_incr.
2488         * loop.c (basic_induction_var): New multi_insn_incr argument.
2489         Set it if we search back through previous insns for the biv.
2490         (record_biv): New multi_insn_incr argument; fill in struct induction.
2491         (strength_reduce): Discard an iv with multiple bivs, any of
2492         which require multiple insns to increment.
2493
2494 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2495
2496         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
2497         documentation.
2498         
2499 1999-12-06  David S. Miller  <davem@redhat.com>
2500
2501         * combine.c (check_promoted_subreg): Do not conditionalize this upon
2502         PROMOTE_FUNCTION_RETURN.
2503
2504 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
2505
2506         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
2507         and handle REG_UNUSED note on insn.
2508
2509         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
2510         inner_mask instead of mask.
2511
2512 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
2513
2514         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
2515         zero if there was an error.
2516
2517 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
2518
2519         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
2520         output string.
2521
2522         * longlong.h: Fix clobbers in SPARC asm statements.
2523
2524         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
2525         valid sethi operations when TARGET_ARCH64.
2526
2527         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
2528         always use move_by_pieces to avoid infinite recursion.
2529         (restore_fixed_argument_area): Likewise.
2530
2531         * combine.c (check_promoted_subreg, record_promoted_value): New
2532         functions.
2533         (combine_instructions): Use them to retain nonzero and sign bit
2534         information after SUBREGs are eliminated by optimizations in
2535         this pass if PROMOTE_FUNCTION_RETURN.
2536
2537         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
2538         .register declaration. Don't use variables with __ prefixes.
2539
2540 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2541
2542         * fold-const.c (optimize_bit_field_compare): Only use one mode
2543         for both RHS and LHS in non-constant case.
2544
2545 1999-12-06  Nathan Sidwell  <nathan@acm.org>
2546
2547         * frame.c (start_fde_sort): Only allocate erratic array, if
2548         linear one was allocated. Return allocated flag.
2549         (fde_insert): Only insert, if there's a valid array.
2550         (fde_end_sort): Split, sort and merge if linear and erratic
2551         arrays exist, else just sort linear one.
2552         (search_fdes): New function. Linear search through original fde
2553         structure.
2554         (frame_init): Permit multiple initializations. Cope with
2555         memory shortages.
2556         (find_fde): Fallback on linear search, if failed to sort array.
2557         (__deregister_frame_info): Only free sorted array, if we
2558         allocated it.
2559
2560 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
2561
2562         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
2563
2564 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
2565
2566         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
2567
2568 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
2569
2570         * tree.h (special_function_p): Declare.
2571         * calls.c (special_function_p): Make it global.  Don't take `name'
2572         as a parameter.  Fix typo in 1999-11-28 change.
2573         (expand_cal): Adjust.
2574
2575 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
2576
2577         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
2578         * tree.h (EXPR_WFL_FILENAME): Define in terms of
2579         EXPR_WFL_FILENAME_NODE.
2580         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
2581         the TREE_CHAIN.
2582         * print-tree.c (print_note): Print TREE_PRIVATE and
2583         TREE_PROTECTED.
2584         
2585         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
2586         the original die cannot be found.
2587
2588         * varray.h (varray_head_tag): Add elements_used.
2589         (VARRAY_PUSH): New macro.
2590         (VARRAY_POP): Likewise.
2591         (VARRAY_TOP): Likewise.
2592         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
2593         types. 
2594         * varray.c (varray_init): Initialize elements_used.
2595         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
2596         (INTEGRATE_H): New variable.
2597         (integrate.o): Depend on INTEGRATE_H.
2598         (unroll.o): Likewise.
2599         
2600         * function.h (insert_block_after_note): Declare.
2601         * function.c (insert_block_after_note): Split out from ...
2602         (retrofit_block): ... here.
2603
2604         * stmt.c (expand_fixup): Fix typo in comment.
2605
2606 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2607
2608         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
2609         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
2610         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
2611         (regmove_optimize, fixup_match_1): Likewise.
2612
2613 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2614
2615         * flow.c (flow_loops_dump): Add missing argument when calling
2616         flow_loop_nested_p.
2617
2618 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
2619             Greg McGary  <gkm@gnu.org>
2620
2621         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
2622         (init_attributes): Add A_NO_LIMIT_STACK.
2623         (decl_attributes): Handle A_NO_LIMIT_STACK.
2624         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
2625         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
2626         Handle stack bounds checking.
2627         * flags.h (flag_stack_check): Use the word 'probe' rather than
2628         'check', because the flag doesn't actually cause any checking to
2629         be done.
2630         * function.c (expand_function_start): Set
2631         current_function_limit_stack.
2632         * function.h (struct function): Add limit_stack.
2633         (current_function_limit_stack): Define.
2634         * invoke.texi (Code Gen Options): Document new options.
2635         * rtl.h: Declare stack_limit_rtx.
2636         * toplev.c (stack_limit_rtx): New variable.
2637         (decode_f_option): Handle new options -fstack-limit-register=REG,
2638         -fstack-limit-symbol=IDENT, -fno-stack-limit.
2639         (main): Add stack_limit_rtx as GC root.
2640         * tree.h (DECL_NO_LIMIT_STACK): New macro.
2641         (struct tree_decl): New member no_limit_stack.
2642
2643         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
2644         stack_limit_rtx.
2645         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
2646         (conditional_trap+1): Get new mnemonic correct.
2647         (conditional_trap+2): New pattern for DImode traps.
2648
2649         * config/m68k/m68k.c (output_function_prologue): Handle
2650         stack_limit_rtx.
2651         * config/m68k/m68k.md (trap): New insn.
2652         (conditional_trap): New insn.
2653         * md.texi (Standard Names): Document `trap' and
2654         `conditional_trap'.
2655         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
2656         so a cc0 setter doesn't get emitted at some random place in the
2657         function.
2658
2659         * config/i960/i960.md (trap): New insn.
2660         (conditional_trap): New expander.
2661         (conditional_trap+1, conditional_trap+2): New insns for signed
2662         and unsigned cases.
2663         * config/i960/i960.c (i960_function_prologue): Use 
2664         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
2665
2666 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
2667                           Geoffrey Keating  <geoffk@cygnus.com>
2668
2669         * flags.h (warn_padded, warn_packed): Add global var decls.
2670         * toplev.c (warn_padded, warn_packed): Add global var defns.
2671         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
2672         * stor-layout.c (layout_record): Add local variable `type'
2673         to hold often-used TREE_TYPE (field).  Add local variable
2674         `unpacked_align' to hold alignment that would be in force
2675         if no `packed' attribute were present.  Warn if `packed' attribute
2676         is unnecessary, or even harmful.  Warn when gcc inserts padding
2677         to satisfy alignment requirements of members.  Use NULL_TREE
2678         when checking whether var_size is set.
2679         * invoke.texi: Document new flags.
2680
2681 1999-12-03  Nathan Sidwell  <nathan@acm.org>
2682
2683         * frame.c (fde_split): Reimplement to avoid variable sized array.
2684
2685 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2686
2687         * combine.c (try_combine): Before fixing up LOG_LINKS for the
2688         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
2689
2690 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
2691
2692         * invoke.texi: Document the mips option -mno-crt0
2693
2694 1999-12-02  Mike Karr  <mkarr@mathworks.com>
2695
2696         * cccp.c (argdata): Added free_ptr member.
2697         (macroexpand): Initialize free_ptr of each argument. When an
2698         argument's buffers are freed, if the argument's free_ptr corresponds
2699         to a buffer on the input stack, then return the free_ptr to that stack
2700         frame, otherwise, free it.
2701         (macarg): If an argument begins and ends on the same input stack level,
2702         then transfer the free_ptr of that buffer to the argument in case
2703         the stack is popped during the processing of a subsequent argument.
2704
2705 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
2706
2707         * loop.c (note_reg_stored): New function.
2708         (struct note_reg_stored_arg): New structure.
2709         (try_copy_prop): Change to be more conservative; only replace within
2710         one extended basic block and stop replacing if a store to the
2711         replacement reg is seen.
2712
2713 1999-12-02  Nick Clifton  <nickc@cygnus.com>
2714
2715         * config/fp-bit.c: Initialise all fields of the NAN
2716         constants. 
2717
2718         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
2719         to HANDLE_PRAGMA.
2720
2721 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
2722
2723         * i386.md (extend?f?f2): Force the input into a register, not
2724         the output.
2725
2726 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
2727
2728         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
2729         regclass' sake.
2730         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
2731         alternative because setting up 64bit constant is usually costly,
2732         especially when reload is in progress or completed.
2733         (movdf_const_intreg_sp64): Likewise.
2734         (movdf_const_intreg split): Fix building up constants when
2735         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
2736
2737 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
2738
2739         * combine.c (if_then_else_cond): Use const_true_rtx instead of
2740         const1_rtx for return values in EQ/NE comparison against (const_int 0)
2741         case.
2742
2743         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
2744         (asm_file_start): Emit .am33 into assembly file when compiling for
2745         the AM33.
2746         (print_operand_address): Handle POST_INC addresses.
2747         (can_use_return_insn, initial_offset): Check AM33 registers too.
2748         (expand_prologue): Check & save AM33 registers too.
2749         (expand_epilogue): Similarly.
2750         (secondary_reload_class): Handle AM33 specific secondary reloads.
2751         (output_tst): Emit efficient code for the AM33 too.
2752         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
2753         (TARGET_SWITCHES): Add -mam33 switch.
2754         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
2755         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
2756         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
2757         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
2758         (enum reg_class, REG_CLASS_NAMES): Likewise.
2759         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
2760         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
2761         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
2762         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
2763         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
2764         (HAVE_POST_INCREMENT): Define.
2765         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
2766         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
2767         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
2768         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
2769         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
2770         (zero_extend to SI from QI/HI): Likewise.
2771         (sign_extend to SI from QI/HI): Likewise.
2772         (mulsidi3, umulsidi3): New patterns for the AM33.
2773         (tstsi with zero extension from QI/HI): Add AM33 variants.
2774         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
2775         (return_internal_regs, store_movm): Handle new AM33 registers.
2776         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
2777         (LIBGCC, INSTALL_LIBGCC): Likewise.
2778         * invoke.texi: Document new flags.
2779
2780 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2781
2782         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
2783         (addsi3_carry): Likewise.
2784         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
2785         (sbbsi3_carry): Likewise.
2786         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
2787         (mulhi3): Likewise.
2788         (test?i_1): Ensure that only one operand is memory.
2789         (conditional move patterns): likewise.
2790         (shift and rotate patterns): Rewrite to expander, add
2791         "binary_operator_ok" to the condition.
2792
2793         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
2794         * i386.h (procesor_costs): Add movzbl_load field.
2795         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
2796         non-Q registers, accept DImode registers anywhere.
2797         (Q_CLASS_P): New.
2798         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
2799         * i386.c (*_cost): Set value for movxbl_load field.
2800
2801         * (addsi): New add to lea splitter.
2802         (ashlsi): Likewise.
2803         (lea to add/shift peep2): New.
2804
2805 1999-12-01  Mark Salter <msalter@cygnus.com>
2806
2807         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
2808         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
2809         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
2810
2811 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2812
2813         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
2814         * i386.md (movsi_xor): New.
2815         (movsi_or): New.
2816         (movsi_1, movhi_1, movqi_1): Remove.
2817         (movsi_2): Rename to movsi_1.
2818         (movhi_2): Rename to movhi_1.
2819         (movqi_2): Rename to movqi_1.
2820         (movdi_1): Remove; remove splitter.
2821         (movdi_2): Rename to movdi_1.
2822         (divmodsi4 splitter): Do not emit clobbers for move patterns.
2823         (long move peep2): Do not create QI or HI mode mov0s
2824         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
2825
2826         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
2827         rewrite splitters.
2828
2829         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
2830         (abs?f2_if): Likewise.
2831
2832 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
2833
2834         * ggc.h (ggc_test_and_set_mark): New macro.
2835         (ggc_mark_rtx): Use ggc_test_and_set_mark.
2836         (ggc_mark_tree): Likewise.
2837         (ggc_mark_rtvec): Likewise.
2838         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion. 
2839
2840 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
2841
2842         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
2843         containing types.
2844         (decl_scope_table): Just an array of trees now.
2845         (push_decl_scope): Simplify.
2846         (dwarf2out_init): Adjust.
2847         (local_scope_p): New fn.
2848         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
2849         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
2850         (gen_typedef_die): Likewise.
2851         (gen_lexical_block_die): Don't call push/pop_decl_scope.
2852         (gen_inlined_subroutine_die): Likewise.
2853         (gen_abstract_function): Set current_function_decl temporarily.
2854         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
2855         Handle block extern declarations.  Don't call push/pop_decl_scope.
2856         (gen_decl_die): Fix logic for block externs.
2857
2858 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2859
2860         * calls.c (special_function_p): Remove `realloc' and add `strdup'
2861         to the list of functions which have attribute malloc by default.
2862
2863 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2864
2865         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
2866         integer constant does not match the traditional type, limit the
2867         warnings to cases where the base of the type is ten.
2868
2869         * invoke.texi (-Wtraditional): Document it.
2870
2871 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2872
2873         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
2874         * rs6000.md: Only access a CONST_INT with INTVAL
2875
2876 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
2877
2878         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
2879         (compute_nearerout): Likewise.
2880         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
2881         size_t to unsigned long for formatting.
2882
2883 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
2884
2885         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
2886         Allow the user to override call-used/fixed state of %g2-5
2887         registers from the command line (with the exception of %g4 for
2888         embedded model).
2889         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
2890         there is a higher chance of having a leaf function.
2891         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
2892         for ARCH64 which has %ccr register.
2893         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
2894         patterns.
2895         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
2896         insn accept into delay slot any insn which does not use %[ol]
2897         registers.  Accept some LO_SUM and shift left by 1 for the normal
2898         restore case.
2899         (output_function_epilogue): Likewise.
2900         (epilogue_renumber): Added argument which inhibits any renumbering
2901         and just tests if the rtx does not use any %[ol] registers.
2902         (output_return): Reflect above change.
2903
2904 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
2905
2906         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
2907         aggregate passing for sizes <= 16 bytes.
2908
2909 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
2910
2911         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
2912         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
2913         * reload.c (find_dummy_reload): Likewise.
2914         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
2915         * reload1.c (reload_as_needed): Likewise.
2916         * stupid.c (stupid_find_reg): Likewise.
2917         * tm.texi (Obsolete Register Macros): Delete section.
2918         * gmicro.h: Remove all traces of the two macros.
2919         * i386.h: Likewise.
2920         * m88k.h: Likewise.
2921         * mips.h: Likewise.
2922
2923 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
2924
2925         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
2926         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
2927         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
2928         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
2929         units for the sparclite86x chip.
2930         (flush): Revert October 14th change; add SImode specifically.
2931         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
2932         * invoke.texi: Document it.
2933
2934 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
2935
2936         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
2937         psimode_truncation_operand.
2938
2939         * config/mn10200/mn10200.c (psimode_truncation_operand): New
2940         function.  Return true if the operand is either a MEM valid
2941         for a PSImode address or not a MEM at all.
2942
2943         * config/mn10200/mn10200.md (truncsipsi2): Use
2944         psimode_truncation_operand.
2945
2946 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2947
2948         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
2949         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
2950         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
2951         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
2952         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
2953         (flow_loop_level_compute, low_loops_level_compute): Likewise.
2954         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
2955         * basic-block.h: Protect from multiple inclusion.
2956         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
2957         (struct loops, struct loop): Define structures.
2958         * sbitmap.c (sbitmap_a_subset_b_p): New function.
2959         * sbitmap.h: Protect from multiple inclusion.
2960         (sbitmap_a_subset_b_p): Add prototype.
2961         * Makefile.in (LOOP_H): New macro.
2962         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
2963
2964 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
2965
2966         * cppinit.c (CAT): The argument list of this macro may not contain
2967         spaces !
2968
2969 1999-11-29  David S. Miller  <davem@redhat.com>
2970
2971         Move quantity tables and register equivalence chains into
2972         per-qty and per-register structure arrays respectively.
2973         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
2974         qty_const_insn, qty_comparison_code, qty_comparison_const,
2975         qty_comparison_qty): Delete, replace with...
2976         (qty_table): this structure table.
2977         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
2978         (reg_eqv_table): this structure table.
2979         (make_new_qty): Add argument MODE.  Caller updated.
2980         Update to use qty_table and reg_eqv_table.
2981         (make_regs_eqv, delete_reg_equiv, insert_regs,
2982         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
2983         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
2984         cse_process_notes, cse_main, cse_basic_block): Likewise.
2985
2986 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2987
2988         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
2989         operation if C is negative.
2990         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
2991         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
2992         law for some divisions if constant is negative and change other
2993         divisions to the opposite rounding.
2994
2995         * expr.c (store_constructor_field): If bit position is not multiple
2996         of alignment of TARGET's mode, use BLKmode.
2997
2998         * expr.c (expand_expr_unaligned): Add more code from full case
2999         that is needed when OP0 is in a register.
3000
3001 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3002
3003         * dwarfout.c (field_byte_offset): Size can be zero if there was
3004         an error.
3005
3006 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
3007
3008         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
3009         (associate_trees): Delete unused var TEM.
3010         (extract_muldiv): Delete unused var CANCEL_P.
3011                         
3012         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
3013         (target_isinf, target_isnan, target_negative): Add return types to
3014         function definitions.
3015
3016 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
3017
3018         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
3019         * fixinc/hackshell.tpl: ditto
3020         * fixinc/fixtests.c(double_slash_test): more C++ header testing
3021         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
3022
3023 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
3024
3025         * reload.c (push_reload): When looking for a register to put into
3026         reg_rtx, make sure all hard regs in a multi-reg register are in the
3027         right class and nonfixed.
3028
3029         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
3030         pending_read_insns, pending_write_insns, pending_read_mems,
3031         pending_write_mems, pending_list_length, last_pending_memory_flush,
3032         last_function_call, sched_before_next_call): Move static variables
3033         into a structure.
3034         (bb_ prefixed versions): Replace with single array bb_deps.
3035         (struct deps): New structure.
3036         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
3037         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
3038         argument of type "struct deps *"; use that instead of global
3039         variables.  All callers changed.
3040         (init_rgn_data_dependencies): Delete function.
3041         (init_rtx_vector): Delete function.
3042         (init_deps): New function.
3043
3044         (free_pending_lists): Simplify, we always use the bb_deps array even
3045         if only one basic block.
3046         (compute_block_backward_dependences): Likewise.
3047         (schedule_region): Likewise.
3048
3049         (propagate_deps): New function, broken out of
3050         compute_block_backward_dependences.
3051         (compute_block_backward_dependences): Use it.
3052
3053         * alpha.md: Delete useless patterns that tried to work around
3054         register elimination problems.
3055
3056         * unroll.c (loop_iterations): Don't abort if iteration variable
3057         was made by loop.
3058
3059         From Joern Rennecke:
3060         * reload1.c (reloads_conflict): Reverse test comparing operand
3061         numbers when testing for conflict between output/outaddr reloads.
3062
3063 1999-11-29  David S. Miller  <davem@redhat.com>
3064
3065         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
3066         arg.
3067         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
3068
3069 1999-11-28  Robert Lipe  <robertl@cygnus.com>
3070
3071         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
3072         table from .fini into .dtor.                                
3073
3074 1999-11-28  Anthony Green  <green@cygnus.com>
3075
3076         * tree.h (struct tree_decl): Add malloc_flag.
3077         (DECL_IS_MALLOC): Define.
3078         * c-common.c (attrs): Add A_MALLOC attribute.
3079         (init_attributes): Add this attribute to the table.
3080         (decl_attributes): Handle malloc attribute.
3081         * calls.c (special_function_p): Check for the malloc attribute.
3082         * extend.texi (Function Attributes): Document malloc attribute.
3083
3084 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
3085
3086         * pa.md (reload shift-add patterns): Remove.
3087
3088 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3089
3090         * reorg.c (dbr_schedule) Print more statistics. Corrected
3091         problem when printing info when 3 delay slots are filled.
3092
3093 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
3094
3095         * combine.c (setup_incoming_promotions): Pass an outgoing
3096         regno to FUNCTION_ARG_REGNO_P which it expects.
3097
3098 1999-11-28  Andreas Jaeger  <aj@suse.de>
3099
3100         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
3101
3102 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
3103
3104         * cccp.c (do_include): Avoid initialization of automatic variable.
3105
3106         * integrate.c (mark_stores): Function definition made void, to match
3107         previous declaration.
3108         * regclass.c (dump_regclass): Ditto.
3109         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
3110
3111 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3112
3113         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
3114         known to be multiple of divisor.
3115
3116         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
3117
3118         * combine.c (try_combine): Add code to try to merge a set of a
3119         two-word pseudo to a constant with a setting of one of those words
3120         to a constant.
3121
3122         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
3123         (split_tree): Completely rework to make more general.
3124         (make_range, fold): Call negate_expr.
3125         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
3126         (fold, associate): Call new split_tree and associate_trees.
3127         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
3128
3129 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
3130
3131         * loop.c (try_copy_prop): Avoid GNU C extension.
3132
3133 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
3134
3135         * except.c (init_eh_for_function): Still zero eh_return_context,
3136         eh_return_stack_adjust, and eh_return_handler.
3137
3138         * except.h (eh_status): Adjust documentation for x_protect_list.
3139         (begin_protect_partials): New function.
3140         * except.c (enqueue_eh_entry): Fix formatting.
3141         (get_first_handler): Add consistency check.
3142         (add_partial_entry): Adjust usage of protect_list.
3143         (emit_cleanup_handler): Save and restore ehqueue.
3144         (expand_start_all_catch): Add comment.
3145         (begin_protect_partials): New function.
3146         (end_protect_partials): Adjust usage of protect_list.
3147         (init_eh_for_function): Use xcalloc.
3148
3149 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3150
3151         * c-common.c (check_format_info): Don't call a variadic function
3152         with a non-literal format string.
3153
3154         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
3155
3156         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
3157         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
3158         Likewise.
3159
3160         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
3161         Likewise.
3162
3163         * collect2.c (collect_wait): Likewise.
3164
3165         * dbxout.c (dbxout_type): Likewise.
3166
3167         * gcc.c (do_spec_1): Likewise.
3168
3169         * genemit.c (gen_insn, gen_expand): Likewise.
3170
3171         * genrecog.c (write_switch, write_subroutine): Likewise.
3172
3173         * mips-tfile.c (catch_signal, botch): Likewise.
3174
3175         * print-rtl.c (print_rtx): Likewise.
3176
3177         * toplev.c (default_print_error_function, report_error_function,
3178         _fatal_insn): Likewise.
3179
3180 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
3181
3182         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
3183
3184 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3185
3186         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
3187         operations when needed.
3188         * i386.md (fop_?f_comm): New.
3189         (fop_?f_1): Do not accept commutative operands.
3190
3191 1999-11-25  Andreas Jaeger  <aj@suse.de>
3192
3193         * config/mips/mips.md (casesi_internal): Add missing brace.
3194
3195 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
3196
3197         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
3198         (splice_child_die): Handle moving a child DIE from the declaration
3199         DIE of a class to its specification.
3200         (gen_struct_or_union_type_die): Use 'complete' consistently.
3201         (gen_decl_die): Generate the virtual context DIE first.
3202         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
3203
3204 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
3205
3206         * config/mips/mips.md (call_value_multiple_interanal1): New.
3207
3208 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
3209
3210         * dwarf2out.c (free_AT, free_die): New fns.
3211         (remove_children): Call them.
3212         (output_line_info): Disable removal of duplicate notes.
3213
3214         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
3215         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
3216         means pretend the type isn't defined.
3217         Don't defer emitting types.
3218         (gen_type_die_for_member): New fn.
3219         (gen_decl_die): Call it.
3220         (splice_child_die): New fn.
3221         (gen_member_die): Call it rather than generate duplicate dies.
3222
3223         Defer emitting information for the abstract instance of an inline
3224         until we either inline it or emit an out-of-line copy.
3225         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
3226         from output_inline_function if DECL_ABSTRACT is also set.
3227         (block_ultimate_origin): Likewise.
3228         (gen_abstract_function): New fn.
3229         (gen_decl_die, gen_inlined_subroutine_die): Call it.
3230         (gen_subprogram_die):  An abstract instance is not a declaration
3231         just because it doesn't match current_function_decl.  Don't abort
3232         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
3233         has an abstract origin.
3234         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
3235         abstract instance here.
3236
3237 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
3238
3239         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
3240         where we need to reload fpul from a system register.
3241
3242 1999-11-24  Andreas Jaeger  <aj@suse.de>
3243
3244         * config/mips/linux.h (CPP_PREDEFINES): Added.
3245         (LINK_SPEC): Remove -Y since this is only needed on sparc.
3246
3247 1999-11-24  Andreas Jaeger  <aj@suse.de>
3248
3249         * config/mips/linux.h (TARGET_VERSION): Added.
3250         (HANDLE_SYSV_PRAGMA): Added.
3251         (DEFAULT_VTABLE_THUNKS): Added.
3252
3253 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3254
3255         * local-alloc.c (qty): New structure and static variable.
3256         (qty_phys_reg): Remove, all references changed to qty.
3257         (qty_n_refs): Likewise.
3258         (qty_min_class): Likewise.
3259         (qty_birth): Likewise.
3260         (qty_death): Likewise.
3261         (qty_size): Likewise.
3262         (qty_mode): Likewise.
3263         (qty_n_calls_crossed): Likewise.
3264         (qty_alternate_class): Likewise.
3265         (qty_changes_size): Likewise.
3266         (qty_first_reg): Likewise.
3267         (alloc_qty): Rename variable QTY to QTYNO.
3268         (finf_free_reg): Likewise.
3269         (local_alloc): Allocate qty, do not allocate the removed variables.
3270
3271 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
3272
3273         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
3274         when -membedded-pic is passed.
3275
3276         * config/mips/mips.md (casesi): Handle 64-bit case too.
3277         (casesi_internal_di): New insn.
3278
3279         * config/mips/mips.c (embedded_pic_offset): Always make the
3280         embedded-pic subtractions relative to the name of the current
3281         function by use of the magic string "..CURRENT_FUNCTION".
3282         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
3283
3284 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
3285
3286         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
3287         of (const_int 0), when what we really care about is
3288         whether it's a zero constant anyway.
3289         (div_trap_mips16): Likewise.
3290
3291 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
3292
3293         * loop.c (loop_optimize): Always find_loop_tree_blocks and
3294         unroll_block_trees when generating debuggable code.
3295
3296         * tree.h (unsave_expr_1): New function.
3297         (lang_unsave): New variable.
3298         (get_callee_fndecl): New function.
3299         * tree.c (unsave_expr_now_r): New function.
3300         (lang_unsave): Define.
3301         (unsave_expr_1): Likewise.
3302         (unsave_expr_now_r): Split out from unsave_expr_now.
3303         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
3304         call unsave_expr_now_r.
3305         (get_callee_fndecl): Define.
3306
3307         * Makefile.in (gencheck): Don't depend on lang_tree_files.
3308         (gencheck.o): Do depend on lang_tree_files.
3309
3310         * integrate.h (copy_decl_for_inlining): New declaration.
3311         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
3312         (copy_decl_for_inlining): New function.
3313         (integrate_parm_decls): Use it.
3314         (integrate_decl_tree): Likewise.
3315
3316 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
3317
3318         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split 
3319         the second two from the first.
3320         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
3321         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
3322         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than 
3323         ISA_HAS_FP4.
3324         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
3325         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
3326         ISA_HAS_FP4.
3327
3328 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
3329
3330         * pa.md (call_internal_symref, call_value_internal_symref): No mode
3331         needed on the address operand.
3332         * pa.c (call_operand_address): Check for the correct mode.
3333
3334 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
3335
3336         * loop.c: Include "basic-block.h".
3337         (try_copy_prop, replace_loop_reg): New functions.
3338         (load_mems): Detect registers that just hold copies of the hoisted
3339         mem, and call try_copy_prop to eliminate them.
3340         * Makefile.in (loop.o): Update dependencies.
3341
3342 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
3343
3344         * Makefile.in (gencheck.o): Depend on gencheck.h.
3345         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
3346         (insn-peep.o): Depend on except.h and function.h.
3347         (insn-attrtab.o): Depend on RECOG_H.
3348         (insn-output.o): Depend on toplev.h and flags.h.
3349         (gengenrtl.o): Depend on real.h.
3350         (gen-protos.o): Depend on cpplib.h and cpphash.h.
3351         Unify all dependencies to be on RECOG_H rather than recog.h.
3352
3353 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3354
3355         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
3356         * configure.in: Try building a bi-arch 32/64-bit compiler on
3357         sparc-*-solaris2.7 and higher.
3358         * configure: Rebuild.
3359
3360 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
3361
3362         * config/freebsd.h: New, FreeBSD architecture independent file.
3363         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
3364         independent pieces.
3365         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
3366         directly by i386/freebsd.h.
3367         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
3368         independent configuration file.
3369         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
3370         directly by i386/freebsd.h.
3371         * configure: Rebuilt.
3372
3373         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
3374         which is in the user's namespace.
3375         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
3376         `i386' which is not in our namespace.
3377
3378 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
3379
3380         * invoke.texi (ARM Options): Add in -mno-alignment-traps
3381
3382 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
3383
3384         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
3385         (add_dwarf_attr, add_child_die): Just push onto the front.
3386         (reverse_die_lists): New fn.
3387         (add_sibling_attributes): Use it.
3388         (push_decl_scope): Reorganize.
3389         (add_name_and_src_coords_attributes): Don't set file and line for
3390         an artificial decl.
3391         (gen_subprogram_die): An artificial function doesn't need to match
3392         file and line.
3393         (gen_compile_unit_die): Return the generated die.  Only add 
3394         AT_comp_dir if the filename is relative.
3395         (remove_AT): Simplify loop.  Also free string values.
3396         (output_die): A DIE ref can't be null.
3397         (output_value_format, value_format): Take a dw_attr_ref.
3398         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
3399         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3400         AT_addr, AT_lbl): New fns.
3401         (various): Use them.
3402         (various): Constify.
3403
3404 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3405
3406         * combine.c (combine_simplify_rtx): When handling a SUBREG,
3407         take SUBREG_WORD into account.
3408         (if_then_else_cond): Likewise.
3409
3410 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
3411
3412         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising 
3413         clause from BSD license, pursuant with
3414
3415           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
3416
3417 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
3418
3419         * loop.c (load_mems): Reformat slightly.
3420         * basic-block.h (regset_head): New typedef.
3421         (INIT_REG_SET): New macro.
3422
3423 1999-11-22  Bruce Korb  <autogen@linuxbox.com
3424
3425         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
3426         (mips-dec-bsd*): non-functional code
3427         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
3428
3429         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
3430         added three replacement fixes
3431         (no_double_slash): removed comments that are not (any longer) pertinent
3432         (bad_lval): this fix currently runs against many files.
3433         The comment seems to indicate that we should select for files
3434         containing 'pragma extern_prefix'.
3435
3436         * fixinc/fixinc.x86-linux-gnu: deleted
3437         * fixinc/inclhack.sh:  regen
3438         * fixinc/fixincl.x:  regen
3439         * fixinc/fixincl.sh:  regen
3440
3441 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
3442
3443         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
3444         its code is INSN and it has no notes.
3445
3446 1999-11-22  Andrew Haley  <aph@cygnus.com>
3447
3448         * varasm.c (function_defined): Remove.
3449         (make_function_rtl): Don't set function_defined.
3450         (make_decl_rtl): Remove global register warning.
3451         * regclass.c (no_global_reg_vars): New variable.
3452         (globalize_reg): Warn if function has already been defined.
3453         (regclass_init): Set no_global_reg_vars.
3454
3455 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3456
3457         * regclass.c (reg_pref): New structure and static variable
3458         (prefclass): Delete.
3459         (altclass): Delete.
3460         (all uses of prefclass and altclass): Use reg_pref instead.
3461
3462 1999-11-21  Nick Clifton  <nickc@cygnus.com>
3463
3464         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
3465         -malignment-traps. 
3466         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
3467         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3468         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
3469
3470 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
3471
3472         * varasm.c (output_constructor): Solve problem with long long
3473         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
3474
3475 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3476
3477         * global.c (allocno): New structure and static variable.
3478         (allocno_reg): Remove, all references replaced by allocno.
3479         (allocno_size): Likewise.
3480         (hard_reg_conflicts): Likewise.
3481         (hard_reg_preferences): Likewise.
3482         (hard_reg_copy_preferences): Likewise.
3483         (hard_reg_full_preferences): Likewise.
3484         (regs_someone_prefers): Likewise.
3485         (allocno_calls_crossed): Likewise.
3486         (allocno_n_refs): Likewise.
3487         (allocno_live_length): Likewise.
3488         (find_reg): Rename ALLOCNO to NUM.
3489
3490         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
3491         references updated.
3492         (may_move_out_cost): New variable.
3493         (init_reg_sets_1): Initialize may_move_out_cost.
3494         (record_reg_classes): Use may_move_out_cost.
3495
3496         * regclass.c (dump_regclass): New function.
3497         (regclass): New parameter DUMP, call DUMP_REGCLASS.
3498         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
3499         pass rtl_dump_file to regclass.
3500         * rtl.h (regclass): Update prototype.
3501
3502 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3503
3504         * i386.md (neg, not and abs patterns): Revmap to use
3505         ix86_expand_unary_operator and ix86_unary_operator_ok.
3506         (add?f and sub?f expanders): Force operand 1 to register.
3507         * i386.c (ix86_expand_unary_operator): Rewrite.
3508         (ix86_unary_operator_ok): Ensure that memory operands
3509         match real opcode.
3510         (ix86_binary_operator_ok): Do not allow operand 1 to
3511         come into memory and operand 0 not.
3512         (ix86_expand_binary_operator): Ensure that
3513         src1 is not non-matching memory.
3514
3515         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
3516         to support integer registers and memory.
3517         (abss?2_integer): Likewise.
3518
3519         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
3520         (REG_CLASS_NAMES): Likewise.
3521         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
3522         and GENERAL_REGS.
3523         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
3524         (movsf): Likewise; unify 4th and 5th alternative.
3525         (pushdf): Likewise.
3526         (movdf_1): Likewise; rename to movdf_integer.
3527         (pushxf): Likewise; rename to pushxf_integer; fix output template;
3528         remove redundant splitter.
3529         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
3530         (movdf_nointeger): New.
3531         (movxf_nointeger): New.
3532         (pushxf_nointeger): New.
3533
3534         * i386.md (extend?f?f): Split to expander and pattern, refuse two
3535         memory operands in patterns.
3536         (fop*): Refuse two memory operands.
3537
3538         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
3539         on !TARGET_USE_CLTD CPUs.
3540
3541 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
3542
3543         * extend.texi: Document C++ restricted pointers and references. 
3544
3545 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
3546
3547         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
3548         (invalidate_skipped_set): Call it unconditionally.
3549         (cse_set_around_loop): Likewise.
3550
3551 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
3552
3553         * rtl.texi (mem): Add documentation for alias-set argument 
3554         to RTX `mem'.
3555
3556 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3557
3558         * i386.h (struct_processor_costs): New fields int_load, int_store,
3559         fp_move, fp_load and fp_store
3560         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
3561         fp->int moves
3562         (MEMORY_MOVE_COST): New macro.
3563         * i386.c (386_cost): Define new fields.
3564         (i486_cost): Likewise.
3565         (pentium_cost): Likewise.
3566         (pentiumpro_cost): Likewise.
3567         (k6_cost): Likewise.
3568
3569 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
3570                           Geoffrey Keating  <geoffk@cygnus.com>
3571
3572         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
3573
3574         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
3575         MASK_ALIGN_INT.
3576         
3577         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
3578         (TARGET_STRICT_ALIGNMENT): New macro.
3579         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
3580         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
3581         * invoke.texi (M680x0 Options): Document -mstrict-align.
3582
3583 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
3584                           Richard Henderson  <rth@cygnus.com>
3585
3586         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
3587         (ix86_split_long_move): Declare.
3588         * i386.c (split_xf, ix86_split_movdi): Remove.
3589         (ix86_split_to_parts, ix86_split_long_move): New.
3590         * i386.md (dimode move splitters): Use ix86_split_long_move.
3591         (dfmode move splitters): Likewise.
3592         (xfmode move splitters): Likewise.
3593         (movsf_1): Allow F->r.
3594         (movdf_1, movxf_1): Allow F->ro.
3595
3596 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
3597
3598         * except.h (struct eh_entry): Add goto_entry_p.
3599         (eh_region_from_symbol): Remove prototype.
3600         * except.c (find_func_region_from_symbol): New function.
3601         (emit_cleanup_handler): Likewise.
3602         (eh_region_from_symbol): Make it static.
3603         (add_new_handler): Verify the argument.
3604         (find_func_region): Update comment.
3605         (expand_eh_region_end): Expand handlers here, rater than waiting
3606         until expand_leftover_cleanups or start_all_catch.
3607         (expand_leftover_cleanups): Don't expand here.
3608         (expand_start_all_catch): Or here.
3609         (expand_rethrow): Check the return value from find_func_region.
3610         * function.c (expand_function_end): Emit the catch_clauses.
3611         
3612 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
3613
3614         * integrate.c (expand_inline_function): Add necessary check for NULL.
3615
3616 1999-11-18  Nick Clifton  <nickc@cygnus.com>
3617
3618         * toplev.c (main): Correctly detect an unrecognised option.
3619
3620         * cppinit.c (cpp_handle_option): Do not claim to have consumed
3621         a -f option if it has not been recognised.
3622
3623 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
3624
3625         * basic-block.h (update_life_extent): Remove trailing comma on
3626         enumeration type list.
3627
3628 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3629
3630         * varasm.c (output_constructor) Solved problem with long long
3631         bitfields. Corrected calculating this_time and shift. Also
3632         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
3633
3634 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
3635
3636         * flow.c (split_edge): Take looping structure into account when
3637         determining where to put the new block note.
3638
3639 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
3640
3641         * Makefile.in (ggc-none.o): Provide host specific version if
3642         needed.
3643
3644 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
3645
3646         * cse.c (delete_trivially_dead_insns): Identify no-op insns
3647         containing subregs too.
3648
3649 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
3650
3651         * invoke.texi: Add documentation for -muninit-const-in-rodata.
3652         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
3653         (TARGET_UNINIT_CONST_IN_RODATA): Define.
3654         (text_section): Add switches -munint-const-in-rodata and
3655         -mno-uninit-const-in-rodata.
3656         (ASM_OUTPUT_COMMON): Remove.
3657         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
3658         const objects should be placed in read-only data. Otherwise declare
3659         them in common.
3660
3661 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
3662
3663         * jump.c (jump_optimize_1): Revert last change.
3664
3665 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
3666
3667         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
3668         test if optimizing for size.
3669
3670 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
3671
3672         * Makefile.in (toplev.o): Depend on except.h.
3673         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
3674
3675 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3676
3677         * i386.md (divmodsi4): Rewrite to expander.
3678         (*divmodsi4_nocltd): New.
3679         (*divmodsi4_cltd): New.
3680         (divmodsi4 splitter): Handle the case when input comes in edx.
3681         (udivmodhi4): Do not use constraints in exander.
3682         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
3683
3684 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
3685
3686         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
3687         for the common case.
3688
3689 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
3690
3691         * explow.c (hard_function_value): Add outgoing argument.
3692         * expr.h (hard_function_value): Declare it.
3693         * calls.c (expand_call, emit_library_call_value): Update callers.
3694         * function.c (aggregate_value_p): Ditto.
3695         (diddle_return_value): Must look at the outgoing registers
3696         on archs with register windows.
3697
3698 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
3699
3700         * alpha.c (alpha_build_va_list): Use make_lang_type and
3701         initialize TYPE_NAME for the va_list record.
3702
3703         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
3704
3705         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
3706         for printing.
3707         * ggc.h (struct ggc_statistics): Rearrange elements for better
3708         packing on 64-bit hosts.
3709         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
3710         (compute_nearerout): Likewise.
3711
3712 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
3713
3714         * config/rs6000/rs6000.c (first_reg_to_save): Save
3715         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
3716
3717 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
3718
3719         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
3720         notion of nesting to find the DIE for a type or function.
3721         DIEs can go in limbo even if we got a context_die.
3722         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
3723         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
3724         for local type.
3725         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
3726         (gen_type_die): Writing out the context doesn't cause member class
3727         template instantiations to be written out as well.
3728
3729 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
3730
3731         * rs6000.h (ASM_OUTPUT_DEF): New.
3732         Based on proposed addition from David Edelsohn.
3733
3734 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
3735             Bruce Korb  <autogen@linuxbox.com>
3736
3737         * fixinc/inclhack.def
3738         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
3739         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
3740                 in net/inet.h.
3741         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
3742         (svr4_endian): enabled with SVR5
3743         (svr4_mkdev): simplified syntax and enabled with SVR5
3744
3745 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
3746
3747         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
3748         * configure: Rebuilt.
3749         * config/t-freebsd-thread: New file.
3750
3751 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
3752
3753         * i386.c (ix86_decompose_address): Verify the base is a REG
3754         before trying to examine its register number.
3755
3756         * basic-block.h: Remove all #defines and prototypes related to
3757         integer lists.
3758         (free_bb_mem, compute_preds_succs): Remove prototype.
3759         * rtl.h (free_bb_mem): Remove prototype.
3760         * flow.c (alloc_int_list_node); Remove function.
3761         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
3762         (compute_preds_succs, free_bb_mem): Likewise.
3763         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
3764         * toplev.c (rest_of_compilation): Likewise.
3765         * haifa-sched.c (build_control_flow): Use flow generated edge
3766         list to build the haifa specific edge list.
3767         (find_rgns): Use new CFG data structures instead of pred/succ lists.
3768         (schedule_insns): Do not build pred/succ lists anymore.  Instead
3769         build the edge table.
3770
3771         * basic-block.h (dump_bb_data): Remove declaration.
3772         * flow.c (dump_bb_data): Remove function.
3773         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
3774         (sbitmap_union_of_predsucc): Likewise.
3775
3776         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
3777         argument.  All callers changed.
3778         (delete_null_pointer_checks_1): No longer need to compute the
3779         pred/succ lists.
3780
3781         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
3782         All callers changed.
3783         (pre_expr_reaches_here_p_work): Likewise.
3784         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
3785         * lcm.c (compute_laterin): Fix initialization of LATER.
3786         (compute_nearerout): Similarly for NEARER.
3787
3788 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3789
3790         * cse.c (set_nonvarying_address_components): Delete unused function.
3791         (refers_to_p): Likewise.
3792
3793 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
3794
3795         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
3796         needed.
3797
3798 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3799
3800         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
3801         definition in do while (0).
3802
3803 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
3804
3805         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
3806
3807 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
3808
3809         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
3810
3811 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
3812
3813         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
3814         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
3815         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
3816         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
3817
3818         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
3819         saved on the stack.  Output more accurate stack frame statistics
3820         into assembler file.
3821
3822 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
3823
3824         * genextract.c (record_insn_name): New function.
3825         (get_insn_name): No longer a stub.
3826         (main): Call record_insn_name for each insn.  After each label
3827         written, print the insn name in a comment.
3828
3829 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3830
3831         * output.h (const_section, init_section, fini_section): Add
3832         prototypes.
3833
3834         * alpha/elf.h (const_section): Delete declaration.
3835
3836         * svr4.h (const_section): Likewise.
3837
3838 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
3839
3840         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
3841         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
3842         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
3843         expressions.
3844         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
3845         variable-sized array bounds.
3846         
3847 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
3848
3849         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
3850         ASM_OUTPUT_LABEL.
3851
3852 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3853
3854         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
3855         addresses the same way GO_IF_LEGITIMATE_INDEX does. 
3856
3857 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3858
3859         * cse.c (hash_arg_in_struct): Delete.
3860         (struct table_elt): Delete elt in_struct.
3861         (struct set): Delete elt src_in_struct.
3862         (merge_equiv_classes): Don't set either hash_arg_in_struct or
3863         the corresponding in_struct elts.
3864         (canon_hash): Likewise.
3865         (safe_hash): Likewise.
3866         (find_best_addr): Likewise.
3867         (record_jump_cond): Likewise.
3868         (cse_insn): Likewise.
3869
3870 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
3871
3872         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
3873
3874         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
3875         unsigned types.
3876
3877 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
3878
3879         * function.c (diddle_return_value): Put back check that the DECL_RTL
3880         for the function is a register.
3881
3882         * function.c (diddle_return_value): Use hard_function_value to
3883         get an rtx suitable for use in the USE/CLOBBER insn.
3884
3885         * global.c (global_conflicts): Update comments.
3886         (record_conflicts): No need to record conflicts between pseudos here.
3887
3888 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
3889
3890         * fixinc/fixincl.c: Added verbose levels for status messages
3891
3892 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3893
3894         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
3895         operand as argument to expand_and or expand_binop.
3896
3897 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
3898
3899         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
3900         gcc_add_string_root.
3901
3902 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
3903
3904         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
3905
3906 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
3907
3908         * flow.c (compute_flow_dominators): Initially put all blocks on
3909         the worklist.
3910         * lcm.c (compute_antinout_edge, compute_available): Similarly.
3911         * gcse.c (compute_cprop_avinout): Remove.
3912         (compute_cprop_data): Use compute_available.
3913         (delete_null_pointer_checks_1): Use compute_available.
3914
3915         * basic-block.h (compute_available): Returns a void now.
3916         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
3917         to return a value anymore.
3918         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
3919         worklists.  Fix boundary cases. Compute maximal solutions.
3920         (compute_laterin, compute_nearerout): Similarly.
3921
3922         * dwarf2out.c (add_AT_location_description): Allow
3923         (mem (plus (pseudo) (...)) too.
3924
3925 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
3926
3927         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
3928
3929 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
3930                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3931
3932         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
3933
3934         * gansidecl.h: Likewise.
3935
3936         * rtl.c: Likewise.
3937
3938         * rtl.h: Likewise.
3939
3940         * toplev.h: Likewise.
3941
3942         * tree.c: Likewise.
3943
3944         * tree.h: Likewise.
3945
3946         * varray.c: Likewise.
3947
3948         * varray.h: Likewise.
3949
3950 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
3951
3952         * gcov.c (struct arcdata): Add hits and total, remove prob.
3953         (output_branch_counts): New.
3954         (process_args): Set output_branch_counts if -c.
3955         (calculate_branch_probs): Store hits and total instead of
3956         percentage.
3957         (output_data): Emit counts if output_branch_counts is true.
3958         * gcov.texi (Invoking Gcov): Document -c switch..
3959
3960 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
3961
3962         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
3963         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
3964
3965 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
3966
3967         * invoke.texi (C Dialect Options): Add missing builtins from
3968         c-common.c to list.
3969         * extend.texi (Other Builtins): Copy to this list.
3970
3971 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3972
3973         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
3974         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
3975         redundant bitmap.h.
3976
3977 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
3978
3979         * flow.c (compute_flow_dominators): No longer treat basic block 0
3980         or (n_basic_blocks - 1) specially.  Clear the AUX field before
3981         starting computation of doms/pdoms.  Fix initial state for pdoms.
3982
3983 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3984
3985         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
3986         match rtl.o's: added ggc.h and toplev.h
3987         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
3988         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
3989         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
3990
3991 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
3992
3993         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
3994         from HAVE_DOS_BASED_FILESYSTEM.
3995         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
3996         HAVE_DOS_BASED_FILESYSTEM.
3997         (main): Likewise.
3998         (split_directories): Only special-case DOS file names if
3999         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
4000         instead of explicit tests.  Conditionalize on !VMS.
4001         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
4002         tests.  Conditionalize on !VMS.
4003         (process_command): Only use make_relative_prefix if !VMS.
4004         (free_split_directories): Conditionalize on !VMS.
4005         (DIR_UP): Conditionalize on !VMS.
4006
4007 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4008
4009         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
4010
4011 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
4012
4013         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
4014         case.
4015
4016 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
4017
4018         * invoke.texi (Environment Variables): Document relative path
4019         lookup.
4020         * gcc.c (DIR_UP): If not defined, define as "..".
4021         (standard_bindir_prefix): New static, holds target location to
4022         install binaries.
4023         (split_directories): New function to split a filename into
4024         component directories.
4025         (free_split_directories): New function, release memory allocated
4026         by split_directories.
4027         (make_relative_prefix): New function, make a relative pathname if
4028         the compiler is not in the expected location.
4029         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
4030         can figure out an appropriate prefix from argv[0].
4031         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
4032         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
4033         STANDARD_BINDIR_PREFIX.
4034
4035 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4036
4037         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
4038         in c4x.c.
4039         * config/c4x/c4x.h: Moved prototypes to c4x.h.
4040         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
4041         c4x_secondary_memory_needed) Delete.
4042         (fp_zero_operand): Add mode argument.
4043
4044 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
4045
4046         * reload1.c (reload_reg_free_for_value_p): Don't use a register
4047         that is in reload_reg_used.
4048
4049 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
4050
4051         * config/arm/arm-protos.h: New file: Prototypes for functions
4052         defined in arm.c and pe.c.
4053         * config/arm/arm.h: Fix compile time warnings.
4054         * config/arm/arm.c: Fix compile time warnings.
4055         * config/arm/pe.h: Fix compile time warnings.
4056         * config/arm/aout.h: Fix compile time warnings.
4057
4058 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
4059
4060         * config/m32r/m32r-protos.h: New file: Prototypes for functions
4061         defined in m32r.c
4062         
4063         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
4064         Add support for subtargets.
4065         Add prototypes for new predicates.
4066         Add scheduling macros.
4067         
4068         * config/m32r/m32r.c: Fix compile time warnings.
4069         (int8_operand): New predicate function.
4070         (reg_or_cmp_int16_operand): New predicate function.
4071         (extend_operand): New predicate function.
4072         (m32r_adjust_code): New scheduling function.
4073         (m32r_adjust_priorty): New scheduling function.
4074         (m32r_sched_init): New scheduling function.
4075         (m32r_sched_reorder): New scheduling function.
4076         (m32r_sched_variable_issue): New scheduling function.
4077         (direct_return): New codegen function.
4078         (m32r_not_same_reg): New rtl testsing function.
4079         
4080         * config/m32r/m32r.md: Fix compile time warnings.
4081         Add support for pre decrement and post increment memory
4082         references.
4083         Add S<cc> patterns.
4084         Add fabs patterns.
4085         
4086 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4087
4088         * global.c (EXECUTE_IF_CONFLICT): Don't define.
4089         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
4090         (find_reg): Likewise.
4091
4092 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
4093
4094         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
4095         to avoid assembler errors.
4096
4097 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
4098
4099         * config/v850/v850-protos.h: New file: Prototypes for functions
4100         defined in v850.c
4101         * config/v850/v850.h: Move prototypes to v850-protos.h
4102         * config/v850/v850.c: Move prototypes to v850-protos.h
4103         * config/v850/v850.md: Fix compile time warnings.
4104
4105         * config/fr30/fr30-protos.h: New file: Prototypes for functions
4106         defined in fr30.c
4107         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
4108         * config/fr30/fr30.c: Fix compile time warnings.
4109         * config/fr30/fr30.md: Fix compile time warnings.
4110
4111 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
4112
4113         * tree.h (get_containing_scope): Declare it.
4114         * tree.c (get_containing_scope): New fucntion.
4115         (decl_function_context): Use it.
4116         * toplev.c (rest_of_compilation): Use get_containing_scope.
4117
4118 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4119
4120         * Makefile.in (rtl.o): Depend on toplev.h.
4121
4122 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
4123
4124         * cse.c (delete_trivially_dead_insns): Replace alloca with
4125         xmalloc/xcalloc.
4126         * except.c (update_rethrow_references): Likewise.
4127         (init_eh_nesting_info): Likewise.
4128         * function.c (identify_blocks): Likewise.
4129         * gcse.c (dump_hash_table): Likewise.
4130         * graph.c (print_rtl_graph_with_bb): Likewise.
4131         * loop.c (combine_movables): Likewise.
4132         (move_movables): Likewise.
4133         (count_loop_regs_set): Likewise.
4134         (strength_reduce): Likewise.
4135         * profile.c (compute_branch_probabilities): New function, split
4136         out from ...
4137         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
4138         * regclass.c (regclass): Likewise.
4139         * regmove.c (regmove_optimize): Likewise.
4140         * toplev.c (compile_file): Likewise.
4141         (main): Don't mess with the stack rlimit.
4142         
4143 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
4144
4145         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
4146         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
4147
4148 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
4149
4150         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
4151
4152 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
4153
4154         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
4155         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
4156         macro expansion.
4157
4158 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
4159
4160         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
4161
4162 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
4163
4164         * gcse.c (post_dominators): Kill.
4165         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
4166         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
4167         pass in a pdom array since we do not need pdoms.
4168         * haifa-sched.c (schedule_insns): Similarly.
4169         * flow.c (compute_dominators): Remove dead function.
4170         (compute_flow_dominators): Do not compute doms or pdoms if the
4171         caller does not request them.  Split up loop to build doms and
4172         pdoms.  Use a worklist to compute doms and pdoms.
4173         * basic-block.h (compute_dominators): Remove prototype.
4174
4175 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
4176
4177         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
4178         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
4179         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
4180         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
4181         (cant_move, fed_by_spec_load, is_load_insn): Remove.
4182         (schedule_region): Remove unused variable.
4183         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
4184
4185 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
4186
4187         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
4188         (update_equiv_regs): Likewise.
4189         (block_alloc): Likewise.
4190         * reg-stack.c (reg_to_stack): Likewise.
4191         (convert_regs_2): Likewise.
4192         * reload1.c (reload_as_needed): Likewise.
4193         
4194 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
4195
4196         * Makefile.in (dbxout.o): Depend on ggc.h.
4197         (dwarf2out.o): Likewise.
4198         (xcoffout.o): Likewise.
4199         * dbxout.c: Include ggc.h.
4200         (dbxout_init): Register lastfile as a root.
4201         * dwarf2out.c: Include ggc.h.
4202         (dwarf2out_line): Register lastfile as a root.
4203         * xcoffout.c: Include ggc.h.
4204         (xcoffout_source_line): Register xcoff_lastfile as a root.
4205
4206 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
4207
4208         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
4209
4210 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
4211
4212         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
4213         defined.
4214         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
4215
4216 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4217
4218         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
4219         (EXECUTE_IF_CONFLICT): Likewise.
4220         (ALLOCNO_LIVE_P): Avoid signed division.
4221         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
4222         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
4223         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
4224
4225 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
4226
4227         * haifa-sched.c (schedule_block): Don't crash if there's no
4228         next insn for an interblock movement.
4229         (add_branch_dependences): Don't allow clobber insns to move either.
4230
4231 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
4232
4233         * i386.c (split_xf): New.
4234         * i386-protos.h: Declare it.
4235         * i386.md (movxf_1): Add general regs alternatives.
4236         (movxf_1+1): New splitter for same.
4237
4238 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
4239
4240         * function.c (purge_addressof_1): Add missing return values.
4241
4242 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
4243
4244         * function.c (is_addressof): New function.  Returns true if
4245         the given piece of RTL is an ADDRESSOF.
4246         (purge_addressof_1): Make boolean.  Return false if the
4247         ADDRESSOFs could not be purged.
4248         (purge_addressof): If ADDRESSOFs could not be purged from the
4249         notes attached to an insn, remove the offending note(s),
4250         unless they are attached to a libcall.
4251
4252 1999-11-05  Andreas Jaeger  <aj@suse.de>
4253
4254         * genoutput.c (null_operand =): Initialize all fields.
4255
4256         * errors.h: Add extern to prototypes.
4257
4258 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
4259
4260         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
4261         * configure: Rebuilt.
4262
4263 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4264
4265         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
4266         (mirror_conflicts): New function.
4267         (global_alloc): Call it.
4268         (expand_preferences): Remove redundant CONFLICTP test.
4269         (find_reg, dump_conflicts): Likewise.
4270         (prune_preferences): Process conflicts one word at a time.
4271
4272 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
4273
4274         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
4275         instead of an explicit loop.
4276
4277 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
4278
4279         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
4280         if REG_RETVAL check succeeds, then put classp in src_elt.
4281
4282 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
4283
4284         * function.c (pad_to_arg_alignment): Only update argument_pad
4285         if the argument's alignment is greater than STACK_BOUNDARY.
4286
4287 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
4288
4289         * bitmap.h (BITMAP_XFREE): New.
4290         * flow.c (life_analysis): Use it.
4291         (life_analysis_1): Free blocks.
4292
4293         * combine.c (undo_commit): New.
4294         (try_combine): Use it.  Don't zap undobuf.undos.
4295         (combine_instructions): Don't zap undobuf.undos; free the
4296         undobuf.frees list.
4297
4298         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
4299
4300         * stmt.c (cost_table_): New.
4301         (estimate_case_costs): Use it instead of xmalloc.
4302
4303         * toplev.c (compile_file): Reuse dumpname memory instead
4304         of strdup'ing it.
4305
4306 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
4307
4308         * reg-stack.c (convert_regs_1): Initialize target_stack->top
4309         after verifying an EH edge.
4310
4311         * haifa-sched.c (init_rgn_data_dependences): Correctly
4312         size bb_pending_lists_length when zeroing.
4313
4314 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
4315
4316         * function.c (diddle_return_value): New.
4317         (expand_function_end): Use it.
4318         * stmt.c (expand_null_return): Likewise.
4319         (expand_value_return): Likewise.
4320
4321         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
4322
4323         * reload1.c (reload): Don't remove return value clobbers.
4324
4325 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
4326
4327         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
4328
4329 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
4330
4331         * cse.c (cse_main): Use xmalloc, not alloca.
4332         (cse_basic_block): Likewise.
4333         * local-alloc.c (local_alloc): Likewise.
4334
4335 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
4336                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4337
4338         * rtl.c: Include toplev.h.
4339         (fatal): Remove declaration.
4340
4341 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
4342
4343         * haifa-sched.c (schedule_block): Fix thinko.
4344
4345 1999-11-03  James McKelvey <mckelvey@fafnir.com>
4346
4347         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
4348         S_IR* defined values
4349
4350 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
4351
4352         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
4353         call `malloc' instead.
4354
4355 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
4356
4357         * flags.h (flag_renumber_insns): Declare.
4358         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
4359         renumbering table.
4360         * rtl.h (renumber_insns): Change prototype.
4361         * toplev.c (flag_renumber_insns): Define.
4362         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
4363         
4364 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
4365
4366         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
4367         and fpsqrtd.  Use them and create fdiv function unit to more
4368         accurately represent fpu sqrt pipeline semantics on UltraSparc.
4369         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
4370
4371 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
4372
4373         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
4374         3 on UltraSparc.
4375         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
4376         insn into ready list, do not use just a raw swap.
4377
4378 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
4379
4380         * rtl.h (renumber_insns): New function.
4381         (remove_unnecessary_notes): Likewise.
4382         * emit-rtl.c (renumber_insns): Define.
4383         (remove_unncessary_notes): Likewise.
4384         * toplev.c (rest_of_compilation): Remove dead code.
4385         Use renumber_insns and remove_unncessary_notes.
4386
4387         * gcse.c (struct null_pointer_info): New type.
4388         (get_bitmap_width): New function.
4389         (current_block): Remove.
4390         (nonnull_local): Likewise.
4391         (nonnull_killed): Likewise.
4392         (invalidate_nonnull_info): Take a null_pointer_info as input.
4393         (delete_null_pointer_checks_1): New function.
4394         (delete_null_pointer_checks): Use it.
4395
4396         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
4397         (split_edges): Likewise.
4398         (schedule_block): Likewise.
4399         (compute_block_backward_dependencies): Likewise.
4400         (schedule_region): Likewise.
4401         (schedule_insns): Likewise.
4402         
4403 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
4404
4405         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
4406         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
4407         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
4408         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
4409         * jump.c (delete_unreferenced_labels): Don't delete if
4410         LABEL_ALTERNATE_NAME is set.
4411         * print-rtl.c (print_rtx): Dump alternate name.
4412         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
4413         * rtl.h (LABEL_ALTERNATE_NAME): Define.
4414         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
4415         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
4416
4417 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4418
4419         * fix-header.c (recognized_extern, recognized_function): Constify
4420         a char*.
4421
4422         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
4423         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4424         (compute_available): Remove unused variable `last'.
4425         (compute_nearerout): Remove unused variable `temp_bitmap'.
4426         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
4427         Remove unused variable `x'.
4428
4429         * scan.h (recognized_function, recognized_extern): Constify a
4430         char*.
4431
4432         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
4433
4434 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4435
4436          * varasm.c (decode_rtx_const): Use XSTR to access the string
4437          of a SYMBOL_REF.
4438
4439 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
4440
4441         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
4442
4443 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4444
4445         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
4446
4447 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
4448
4449         * pa.c (ireg_operand): New function.
4450         * pa.h (PREDICATE_CODES): Handle ireg_operand.
4451         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
4452         Fix out of date comment.
4453
4454         * pa.md (negdi2): Turn into expander + anonymous pattern.
4455
4456         * reload.c (find_reloads): Fix typos in recent change.
4457
4458         * dwarf2out.c: Do not include ctype.h.
4459
4460 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4461
4462         * regclass.c (record_reg_classes): Always use may_move_cost when
4463         seeing how operand fits with various register classes.
4464
4465 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
4466
4467         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
4468         * toplev.c: Revert Nov 1 13:22 change.
4469
4470 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
4471
4472         * config/pa/pa.md (height reduction patterns): Add checks for
4473         overlapping operands to avoid semantic-destroying splits for 
4474         height reduction patterns.
4475
4476 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4477
4478         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
4479         have been an hyphen, fixed.
4480         * configure: Rebuilt.
4481
4482 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
4483
4484         * config/arm/tpe.h: Add prototypes for exported functions.
4485         * config/arm/pe.c: Fix compile time warnings.
4486         * config/arm/semi.h: Fix compile time warnings.
4487         * config/arm/arm.c: Fix compile time warnings.
4488         * config/arm/arm.h: Fix compile time warnings.
4489         * config/arm/arm.md: Fix compile time warnings.
4490         * config/arm/thumb.c: Fix compile time warnings.
4491         * config/arm/thumb.h: Fix compile time warnings.
4492         * config/arm/thumb.md: Fix compile time warnings.
4493
4494 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
4495
4496         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
4497         detection code
4498
4499         * unroll.c (unroll_loop): Remove LOOP notes when loop is
4500         completely unrolled.
4501
4502 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4503
4504         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
4505
4506 Tue Nov  2 09:43:00 1999   Catherine Moore  <clm@cygnus.com>
4507
4508         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
4509         * rtl.h (rtx_equal_p): Move prototype.
4510         * rtl.c (rtx_equal_function_value_matters): Move from 
4511         rtlanal.c
4512         (rtx_equal_p): Likewise.
4513         * rtlanal.c (rtx_equal_function_value_matters): Delete.
4514         (rtx_equal_p): Likewise.
4515
4516 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
4517
4518         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
4519         ! HAS_INIT_SECTION.
4520
4521 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
4522
4523         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
4524
4525         * pa.h (ADDR_VEC_ALIGN): Define.
4526
4527         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
4528         notes when presented with "if (foo) break; end_of_loop" and
4529         the break sequence gets moved out of the loop.
4530
4531         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
4532         Remove explicit zero initializations of entries within MAP.
4533
4534 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
4535
4536         * reg-stack.c (convert_regs_1): Handle EH edges specially.
4537
4538 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
4539
4540         * bitmap.h (BITMAP_XMALLOC): New macro.
4541         * flow.c (CLEAN_ALLOCA): Remove.
4542         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
4543         (life_analysis): Likewise.
4544         (update_life_info): Don't use CLEAN_ALLOCA.
4545         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
4546         (calculate_global_regs_live): Likewise.
4547         (print_rtl_with_bb): Likewise.
4548         (verify_flow_info): Likewise.
4549         * global.c (global_alloc): Likewise.
4550         (global_conflicts): Likewise.
4551         * integrate.c (save_for_inline_nocopy): Likewise.
4552         (expand_inline_function): Likewise.
4553         * jump.c (jump_optimize_1): Likewise.
4554         (duplicate_loop_exit_test): Likewise.
4555         (thread_jumps): Likewise.
4556         * loop.c (loop_optimize): Likewise.
4557         (combine_givs): Likewise.
4558         (recombine_givs): Likewise.
4559         * reorg.c (dbr_schedule): Likewise.
4560         * unroll.c (unroll_loop): Likewise.
4561         
4562         * combine.c (combine_instructions): Use xmalloc instead of alloca.
4563
4564 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
4565
4566         * toplev.c (rest_of_compilation): Don't optimize the CFG
4567         when rebuilding, just before dbr.
4568
4569 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4570
4571         * output.h (assemble_end_function, assemble_destructor,
4572         assemble_constructor, assemble_gc_entry, assemble_global,
4573         assemble_label, output_constant_pool) Constify a char*.
4574
4575         * varasm.c (assemble_destructor, assemble_constructor,
4576         assemble_gc_entry, assemble_end_function, assemble_global,
4577         assemble_label, output_constant_pool): Likewise.
4578
4579 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
4580
4581         * config/arm/thumb.c (thumb_expand_prologue): Add comments
4582         explaining what is goin on in this function.
4583
4584 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4585
4586         * regclass.c (record_reg_classes): In matching case, recompute
4587         costs since the direction of movement is different.
4588
4589 Sun Oct 31 21:59:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
4590
4591         * resource.c (mark_target_live_regs): For unconditional branches,
4592         the resources found at the branch target should be added to the
4593         resources found so far, not intersected.
4594
4595 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
4596
4597         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
4598         old cpp's.
4599         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
4600         (sys/mman.h): Include this file only if #HAVE_MMAP.
4601         (run_compiles): Initialize `esac_fmt' with one old KR string, not
4602         with automatically concatenated ANSI strings.
4603
4604 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
4605
4606         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
4607         (DIV_ROUND_UP): Robustify.
4608         (ggc_recalculate_in_use_p): New function.
4609         (release_pages): Don't inline it.
4610         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
4611         outer contexts.
4612         (ggc_pop_context): Use ggc_recalculate_in_use_p.
4613         (clear_marks): Always save in_use_p.
4614         (sweep_pages): Use ggc_recalculate_in_use_p.
4615         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
4616         Release pages before counting statistics.
4617         
4618 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
4619
4620         * toplev.c (rest_of_compilation): Fix thinko in this change:
4621         
4622         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
4623
4624         (rest_of_compilation): If inside an inlined external function,
4625         pretend we are just being declared.
4626
4627 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
4628
4629         * flow.c (calculate_global_regs_live): Fix thinko.
4630
4631         * integrate.c (expand_inline_function): Fix bugs in previous
4632         change from Oct 28, 1999.
4633
4634 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
4635
4636         * stmt.c (expand_value_return): Fix typo in this change:
4637
4638         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4639         (expand_value_return): Correctly convert VAL when promoting function
4640         return; support RETURN_REG being a PARALLEL.
4641         
4642 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
4643
4644         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
4645
4646 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4647
4648         * hard-reg-set.h (reg_names): Constify a char*.
4649
4650         * regclass.c  (reg_names): Likewise.
4651
4652         * regs.h (reg_names): Likewise
4653
4654         * a29k/a29k.c (reg_names): Delete declaration.
4655
4656         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
4657
4658         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
4659         arc_output_function_epilogue): Likewise.
4660
4661         * elxsi/elxsi.c (reg_names): Likewise.
4662
4663         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
4664         
4665         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
4666         Likewise.
4667
4668         * m88k/m88k.c (output_function_profiler): Likewise.
4669
4670         * sparc/sparc.c (sparc_flat_output_function_prologue,
4671         sparc_flat_output_function_epilogue): Likewise.
4672
4673 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
4674
4675         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
4676         warning from -Wuninitialized and put it under -W.
4677         * function.c (uninitialized_vars_warning): Warn only when the
4678         corresponding flag is set.
4679
4680 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
4681
4682         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
4683         is nonzero and the single set does not have an elt, then assign
4684         it an elt.
4685
4686         * simplify-rtx.c: New file.
4687         * Makefile.in (OBJS): Add simplify-rtx.o
4688         (simplify-rtx.o): Add dependencies.
4689         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
4690         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
4691         (cse_gen_binary, simplify_unary_operation): Delete.
4692         (simplify_binary_operation, simplify_plus_minus): Likewise.
4693         (check_fold_consts, simplify_relation_operation): Likewise.
4694         (simplify_ternary_operation): Likewise.
4695         (delete_trivially_dead_insns): Simplify the contents of the
4696         REG_EQUAL note before trying to substitute it into the source
4697         of the reg-reg copy at the end of a libcall sequence.
4698
4699         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
4700         references/callers changed.
4701
4702         * mn10200.c (mn10200_va_arg): Force the return value into a
4703         register.
4704
4705         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
4706
4707         * cccp.c (macroexpand): Avoid out of range accesses for omitted
4708         arguments.
4709
4710 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
4711
4712         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
4713
4714 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
4715
4716         * fold-const.c (fold): Fix thinko when optimizing comparisons
4717         against -0.0.
4718
4719 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
4720
4721         * gcc.texi (Passes): Update front-end files to their current 
4722         location.
4723
4724 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
4725
4726         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
4727         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
4728         (PREDICATE_CODES): Add addition_operation.
4729         * alpha-protos.h (addition_operation): Declare.
4730         (secondary_reload_class): Likewise.
4731         * alpha.c (addition_operation): New.
4732         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
4733         * alpha.md (adddi3): Turn into expander.
4734         (*lda, *adddi_2): New.
4735         (movsf, movdf patterns): Don't preference integer regs.
4736         (movsi, movdi patterns): Don't preference fp regs.
4737
4738 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
4739
4740         * genrecog.c (write_switch): Check for duplicate CODE cases.
4741
4742 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
4743
4744         * ggc-common.c: Update pre-function commentary.
4745         * ggc-page.c: Likewise.
4746         (poison): Remove.
4747         (poison_pages): Use memset directly.
4748         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
4749         (ggc_collect): Poison before sweeping.
4750         * ggc-simple.c: Update pre-function commentary.
4751         (ggc_alloc_obj): Poison non-zeroed memory.
4752
4753 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
4754
4755         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
4756         match format string, even on 64-bit hosts.
4757         * gcc-page.c (ggc_page_print_statistics): Likewise.
4758
4759 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
4760
4761         * config/i386/i386.c (ix86_cpu): Revert last patch.
4762         * config/i386/i386.h (ix86_cpu): Ditto.
4763
4764 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
4765
4766         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
4767         TYPE_SIZE, convert type of result to sizetype.
4768
4769 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
4770
4771         * flow.c (count_or_remove_death_notes): Equate NULL with the
4772         universal set.
4773
4774         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
4775         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
4776         dbr_schedule.
4777
4778         * i386.c (pic_label_no): Delete.
4779         (ix86_attr_length_default): Don't use single_set to peek
4780         inside a parallel.
4781
4782         * recog.c (peephole2_optimize): Allow recog_next_insn to index
4783         the first insn after bb->end.
4784         * i386.md (push mem peeps): Scratch is live after evaluation
4785         of the memory.
4786         (cmp mem peep): Similarly.
4787
4788 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
4789
4790         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
4791         * function.c (pad_to_arg_alignment): Add missing braces.
4792
4793 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4794
4795         * alpha/alpha-protos.h (literal_section): Add prototype.
4796         (alpha_need_linkage, alpha_start_function,alpha_end_function):
4797         Constify a char*.
4798
4799         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
4800         prototype.
4801         (alpha_start_function, alpha_end_function, float_strings,
4802         alpha_need_linkage): Constify a char*
4803
4804         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
4805
4806         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
4807
4808         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4809
4810         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4811
4812 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4813
4814         * flow.c (debug_flow_info): Add prototype.
4815
4816         * gcc.c (main): Likewise.
4817
4818         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
4819         Likewise.
4820
4821         * reload1.c (failed_reload, set_reload_reg): Likewise.
4822         
4823         * mips-tfile.c (main): Likewise.
4824         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
4825         with ATTRIBUTE_NORETURN.
4826
4827 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
4828
4829        * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
4830        DECL is not a memory ref.
4831  
4832 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
4833
4834         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
4835         * config/i386/i386.c (ix86_cpu): Add extern attribute.
4836
4837 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
4838
4839         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
4840         * config/mips/elf64.h: ditto.
4841
4842 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
4843
4844         * expr.c (emit_push_insn): New argument alignment_pad.
4845         Update all callers.  Adjust stack pointer based on alignment pad.
4846         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
4847         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
4848         (locate_and_pad_parm): New argument alignment_pad.  Update all
4849         callers.
4850         * expr.h (emit_push_insn): Update prototype.
4851         (locate_and_pad_parm): Update prototype.
4852         * calls.c (arg_data):  Add new field alignment_pad.
4853         (initialize_argument_information): Initialize alignment_pad.
4854
4855 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
4856
4857         * except.c (free_eh_nesting_info): Free the info itself.
4858         * function.c (free_after_compilation): Don't free NULL.
4859         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
4860         (pre_edge_insert): Free inserted.
4861         * stmt.c (free_stmt_status): Don't free NULL.
4862
4863 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
4864
4865         * gcov.c (DIR_SEPARATOR): Provide default.
4866         (output_data): Add test for MS-DOS format absolute filename.
4867         (fancy_abort): Correct program name.
4868         (open_files): Open all files in binary mode.
4869         * libgcc2.c (__bb_exit_func): Likewise.
4870
4871         * profile.c (init_branch_prob): Specify binary when opening files.
4872
4873         * flags.h (flag_unwind_tables): New decl.
4874         * toplev.c (flag_unwind_table): New definition.
4875         (f_options): Add -funwind-tables.
4876         (decode_g_option): Clarify warning when unknown -g option is given.
4877         (rest_of_compilation): If inside an inlined external function,
4878         pretend we are just being declared.
4879
4880         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
4881         (dwarf2out_frame_finish): Likewise.
4882
4883 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
4884
4885         * fold-const.c (merge_ranges): If not in0, but in1, handle
4886         upper bounds equal like subset case.
4887
4888 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
4889
4890         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
4891         passed in a register but moved to the stack.
4892
4893 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
4894
4895         * gcc.c (pass_exit_codes, greatest_status): New variables.
4896         (struct option_map): Add entry for "--pass-exit-codes".
4897         (execute): Update greatest_status if error.
4898         (display_help): Add documentation for -pass-exit-codes.
4899         (process_command): Handle -pass-exit-codes.
4900         (main): Look at pass_exit_codes and greatest_status on call to exit.
4901
4902 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4903
4904         * reload.c (find_reloads): Refine test for no input reload
4905         case to not includes reloads emitted after insn.
4906
4907         * function.c (find_temp_slots_from_address): Handle sum involving
4908         a register that points to a temp slot.
4909         (update_temp_slot_address): Make recursive call if both old and
4910         new are PLUS with a common operand.
4911         * calls.c (expand_call): Mark temp slot for result as having
4912         address taken.
4913         
4914         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
4915
4916         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
4917         component as well as "BINUTILS".
4918
4919         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
4920         * integrate.c (copy_rtx_and_substitute): Likewise.
4921         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
4922         All callers changed.
4923         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
4924         
4925         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
4926         gdb extensions, write size of type; also be more consistent
4927         in using references when this is a subtype.
4928
4929         * pa.md (extv, extzv, insv): Use define_expand to reject constant
4930         that is out of range.
4931
4932         * loop.c (unknown_constant_address_altered): New variable.
4933         (prescan_loop): Initialize it.
4934         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
4935         (invariant_p, case MEM): Remove handling for volatile and readonly;
4936         check new variable if readonly.
4937         (check_dbra_loop): Chdeck unknown_constant_address_altered.
4938
4939         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
4940         (addr_affects_sp_p): Removed from note_mem_written and only
4941         define #ifdef AUTO_INC_DEC.
4942
4943         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
4944
4945         * regclass.c (record_reg_classes): Properly handle register move
4946         directions.
4947
4948         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
4949         Don't think valid if both operands are invalid.
4950         (struct constant_descriptor): New field RTL.
4951         (mark_const_hash_entry): Mark it.
4952         (record_constant{,_rtx}): Initialize it.
4953         (output_constant_def): Allocate RTL in permanent obstack and
4954         save in table.
4955         ({record,compare}_constant_1): Modes must match for
4956         CONSTRUCTOR of ARRAY_TYPE.
4957
4958         * c-common.h (initializer_constant_valid_p): Delete decl from here.
4959         * output.h (initializer_constant_valid_p): Move decl to here.
4960         * c-common.c (initializer_constant_valid_p): Delete function from here.
4961         * varasm.c (initializer_constant_valid_p): Move function to here.
4962
4963         * tree.h (STRIP_SIGN_NOPS): New macro.
4964         * fold-const.c (optimize_minmax_comparison): New function.
4965         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
4966         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
4967         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
4968         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
4969         widening conversions.
4970         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
4971         to look at size of mode, not precision of type; also add missing cases.
4972         (optimize_bit_field_compare, decode_field_reference): Don't try to
4973         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
4974
4975         * dwarf2out.c (ctype.h): Include.
4976         (dwarf2out_set_demangle_name_func): New function.
4977         (size_of_line_info): Deleted.
4978         (output_line_info): Compute size of line info table from difference
4979         of labels.
4980         (base_type_die, add_name_attribute): Call demangle function, if any.
4981         (field_byte_offset): Use bits per word for variable length fields.
4982         (gen_array_type_die): Add array name.
4983         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
4984         (dwarf2out_add_library_unit_info): New function.
4985
4986         * explow.c (set_stack_check_libfunc): New function.
4987         (stack_check_libfunc): New static variable.
4988         (probe_stack_range): Allow front-end to set up a libfunc to call.
4989
4990         * combine.c (simplify_comparison): When making comparison in wider
4991         mode, check for having commuted an AND and a SUBREG.
4992         (contains_muldiv): New function.
4993         (try_combine): Call it when dividing a PARALLEL.
4994         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
4995         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
4996         a PLUS.
4997         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
4998         use one of the CLOBBERs instead.
4999         (if_then_else_cond): If comparing against zero, just return thing
5000         being compared.
5001
5002         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
5003         Don't generate shifts and subtract if have conditional arithmetic.
5004
5005         * rtl.h (delete_barrier): New declaration.
5006         * jump.c (jump_optimize): Set up to handle conditional call.
5007         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
5008         (delete_barrier): New function.
5009
5010         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
5011
5012         * recog.c (nonmemory_operand): Accept ADDRESSOF.
5013
5014         * tree.c (build_type_attribute_variant): Push to obstack of
5015         ttype around type_hash_canon call.
5016
5017         * expr.c (placeholder_list): Move decl to file scope.
5018         (expand_expr): Don't force access to volatile just because its
5019         address is taken.
5020         If ignoring reference operations, just expand the operands.
5021         (expand_expr, case COMPONENT_REF): Propagate
5022         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
5023         Refine test for using bitfield operations vs pointer punning.
5024         (expand_expr, case CONVERT_EXPR): If converting to
5025         BLKmode UNION_TYPE from BLKmode, just return inner object.
5026         Use proper mode in store_field call.
5027         Properly set sizes of object to store and total size in store_field
5028         call for convert to union.
5029         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
5030         memory (like for ADDR_EXPR).  Also, don't put constant in register if
5031         we'll want it in memory.
5032         (readonly_fields_p): New function.
5033         (expand_expr, case INDIRECT_REF): Call it if LHS.
5034         (expand_assignment): Handle a RESULT_DECL where
5035         DECL_RTL is a PARALLEL.
5036         (do_jump, case WITH_RECORD_EXPR): New case.
5037         (get_inner_reference): Always go inside a CONVERT_EXPR
5038         and NOP_EXPR if both modes are the same.
5039         (store_field): Use bitfield operations if size of bitsize is not same
5040         as size of RHS's type.
5041         Check for bitpos not a multiple of alignment in BLKmode case.
5042         Do block move in largest possible alignment.
5043         (store_constructor): Set BITSIZE to -1 for variable size and properly
5044         in case of array of BLKmode.
5045         (expand_expr_unaligned): New function.
5046         (do_compare_and_jump): Call it.
5047
5048         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
5049         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
5050         does not include 'o'.
5051
5052         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
5053         both SET_DEST and SET_SRC reference a virtual register.
5054         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
5055
5056         * integrate.c (expand_inline_function): Handle case of setting
5057         virtual stack vars register (from built in setjmp); when parameter
5058         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
5059         (subst_constant): Add new parm, MEMONLY.
5060         (expand_inline_function, integrate_parm_decls): Pass new parm.
5061         (integrate_decl_tree): Likewise.
5062         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
5063         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
5064         (copy_rtx_and_substitute, case SET): Add explicit calls to
5065         copy_rtx_and_substitute for both sides.
5066
5067         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
5068         constraints.
5069         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
5070         within INDEX_TYPE, instead of before.
5071         (fixup_gotos): Use f->target_rtl, not the next insn,
5072         since latter may be from a later fixup.
5073         (expand_value_return): Correctly convert VAL when promoting function
5074         return; support RETURN_REG being a PARALLEL.
5075         (expand_return): When checking for result in regs and having
5076         cleanup, consider PARALLEL in DECL_RTL as being in regs.
5077
5078 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
5079
5080         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
5081         last_nominal_fname): Mark const.
5082         (struct include_hash: name, nshort, control_macro): Mark
5083         const.
5084         (struct macrodef: symnam): Mark const.
5085         (struct if_stack: fname): Mark const.
5086         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
5087         (IStable): New character-syntax array which encompasses all
5088         the old is_foo arrays.
5089         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
5090         is_space): New macros for interrogating IStable.
5091         (check_macro_name): Kill last argument.  All callers changed.
5092
5093         * cppinit.c (initialize_char_syntax): Delete.
5094         (is_idchar, is_idstart, is_hor_space, is_space,
5095         trigraph_table): Delete.
5096         (IStable): New.  Initialize with clever macros to avoid
5097         information duplication.
5098         (builtin_array): Table of builtins to get rid of explicit list
5099         in initialize_builtins.
5100         (initialize_builtins): Use builtins_array.
5101         (cpp_start_read): Call init_IStable, and set IStable['$'] if
5102         opts->dollars_in_ident.
5103
5104         * cppexp.c: Change all refs to is_xyz[] arrays to use new
5105         is_xyz() macros.
5106         (cpp_parse_expr): Avoid 'format string is not constant'
5107         warning. Use ISGRAPH to identify printable chars.
5108         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
5109         is_xyz() macros.
5110         (read_and_prescan): Map trigraphs to chars with open-coded
5111         if-else-if-... sequence, not a lookup table.
5112         * cpphash.c: Change all refs to is_xyz[] arrays to use new
5113         is_xyz() macros.
5114         * cpplib.c: Change all refs to is_xyz[] arrays to use new
5115         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
5116         (check_macro_name): Remove ability to report an invalid
5117         assertion name, which is never used.
5118         (do_line): Constify a couple of char *'s.
5119         * cppmain.c (main): Call cpp_cleanup before returning.
5120
5121 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
5122
5123         * ggc.h (struct ggc_statistics): New type.
5124         (ggc_get_size): New function.
5125         (ggc_print_statistics): Likewise.
5126         * ggc-common.c (ggc_stats): New variable.
5127         (ggc_mark_rtx_children): Keep statistics.
5128         (ggc_mark_tree_children): Likewise.
5129         (ggc_print_statistics): New function.
5130         * ggc-page.c (struct globals): Add bytes_mapped field.
5131         (alloc_anon): Update it.
5132         (release_pages): Likewise.
5133         (ggc_get_size): New function.
5134         (ggc_page_print_statistics): New function.
5135         * ggc-simple.c (ggc_get_size): New function.
5136         
5137 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
5138
5139         * flow.c (propagate_block): When the last reference to a label
5140         before an ADDR_VEC is deleted because the reference is a dead
5141         store, delete the ADDR_VEC.
5142
5143 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
5144
5145         * resource.c (find_free_register): Don't use the frame pointer
5146         if frame_pointer_needed.
5147
5148 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
5149
5150         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
5151         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
5152
5153         * config/i960/i960.c (i960_va_start): New locals base, num.
5154         Use INDIRECT_REF instead of ARRAY_REF on valist.
5155         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
5156
5157 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
5158
5159         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
5160
5161 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
5162
5163         * tree.def (PLACEHOLDER_EXPR): Update comments.
5164
5165 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5166
5167         * c-common.c (check_format_info): Avoid non-literal format string
5168         warnings when `first_arg_num' is zero.
5169
5170 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5171
5172         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
5173
5174 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
5175
5176         * arm.md (casesi_insn): Add a clobber of the condition code
5177         register.
5178
5179 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
5180
5181         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
5182         used by both cc1 and cc1plus.
5183         
5184 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
5185
5186         * config/arm/arm.c: Initialise arm_structure_size_boundary to
5187         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
5188         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
5189         to the value 32 if it has not already been defined.
5190         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
5191         Override definition in arm.h with a value of 8.
5192
5193 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
5194
5195         * c-pragma.c (push_alignment): Don't check the return value
5196         of xmalloc.
5197
5198 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
5199
5200         * sparc.h (ADJUST_COST): Fix thinko.
5201
5202 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
5203
5204         * cccp.c (rescan): Fixed obp pointer handling around call to
5205         check_expand subroutine.
5206
5207 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
5208
5209         * gcse.c (delete_null_pointer_checks): Only record non-null info
5210         for pseudos when examining stores.
5211
5212         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
5213         splitters for these patterns.  Use "#" for output templates.
5214         (addsi3_carryin_shift): New pattern.
5215
5216 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
5217
5218         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
5219         of the function return register into a plain REG until
5220         after function inlining is done.
5221
5222 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
5223
5224         * jump.c (jump_optimize_1): If we did cross-jumping, and
5225         the data will matter, rebuild the CFG.
5226         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
5227         not optimizing.  Don't run shorten_branches.
5228         * toplev.c (rest_of_compilation): Run shorten_branches after
5229         reg_to_stack.
5230
5231 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
5232
5233         * rtl.h (note_stores): Add additional paramter.
5234         * rtlanal.c (reg_set_p_1): Take additional paramter.
5235         (reg_set_last_1): Likewise.
5236         (reg_set_p): Adjust call to note_stores.
5237         (reg_set_last): Likewise.
5238         (note_stores): Pass data parameter to worker function.
5239         * alias.c (record_set): Take additional parameter.
5240         (init_alias_analysis): Pass it.
5241         * caller-save.c (mark_set_regs): Take additional parameter.
5242         (save_call_clobbered_regs): Pass NULL to note_stores.
5243         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
5244         parameter.
5245         (record_dead_and_set_regs_1): Likewise.
5246         (reg_dead_at_p_1): Likewise.
5247         (combine_instructions): Adjust calls to note_stores.
5248         (try_combine): Likewise.
5249         (record_dead_insn): Remove.
5250         (record_dead_and_set_regs): Adjust calls to note_stores.
5251         (reg_dead_at_p): Likewise.
5252         * cse.c (invalidate_skipped_set): Take additional parameter.
5253         (cse_check_loop_start): Likewise.
5254         (cse_check_loop_start_value): Remove.
5255         (cse_set_around_loop): Adjust calls to note_stores.
5256         * flow.c (notice_stack_pointer_modification): Take additional
5257         parameter.  Remove duplicate declaration.
5258         (record_volatile_insns): Adjust calls to note_stores.
5259         * gcse.c (record_set_info): Take additional parameter.
5260         (record_last_set_info): Likewise.
5261         (invalidate_nonnull_info): Likewise.
5262         (record_set_insn): Remove.
5263         (compute_sets): Adjust calls to note_stores.
5264         (last_set_insn): Remove.
5265         (compute_hash_table): Adjust calls to note_stores.
5266         (insert_insn_end_bb): Likewise.
5267         (delete_null_pointer_checks): Likewise.
5268         * global.c (mark_reg_store): Take additional parameter.
5269         (mark_reg_clobber): Likewise.
5270         (reg_becomes_live): Likewise.
5271         (global_conflicts): Adjust calls to note_stores.
5272         (build_insn_chain): Likewise.
5273         * integrate.c (note_modified_parmregs): Take additional parameter.
5274         (mark_stores): Likewise.  Make it static.
5275         (save_for_inline_nocopy): Adjust calls to note_stores.
5276         (try_constants): Likewise.
5277         * integrate.h (mark_stores): Remove declaration.
5278         * jump.c (mark_modified_reg): Take additional parameter.
5279         (thread_jumps): Adjust calls to note_stores.
5280         * local-alloc.c (validate_equiv_mem_from_store): Take additional
5281         parameter.
5282         (no_equiv): Likewise.
5283         (reg_is_set): Likewise.
5284         (validate_equiv_mem): Adjust calls to note_stores.
5285         (update_equiv_regs): Likewise.
5286         (block_alloc): Likewise.
5287         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
5288         (note_addr_stored): Take additional parameter.
5289         (note_set_pseudo_multiple_uses): Likewise.
5290         (record_initial): Likewise.
5291         (prescan_loop): Adjust calls to note_stores.
5292         (strength_reduce): Likewise.
5293         (check_dbra_loop): Likewise.
5294         * regmove.c (flags_set_1): Take additional paramter.
5295         (mark_flags_life_zones): Adjust calls to note_stores.
5296         * reload1.c (mark_not_eliminable): Take additional parameter.
5297         (forget_old_reloads_1): Likewise.
5298         (reload_cse_invalidate_rtx): Likewise.
5299         (reload_cse_check_clobber): Likewise.
5300         (reload_combine_note_store): Likewise.
5301         (move2add_note_store): Likewise.
5302         (reload): Adjust calls to note_stores.
5303         (reload_as_needed): Likewise.
5304         (emit_reload_insns): Likewise.
5305         (reload_cse_regs_1): Likewise.
5306         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
5307         (reload_combine): Adjust calls to note_stores.
5308         * resource.c (update_live_status): Take additional paramter.
5309         (mark_target_live_regs): Adjust calls to note_stores.
5310         * stupid.c (find_clobbered_regs): Take additional parameter.
5311         (stupid_life_analysis): Adjust calls to note_stores.
5312         
5313 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
5314
5315         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
5316         definition. 
5317
5318         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
5319         definition.
5320
5321         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
5322         of the variable arm_structure_size_boundary.
5323
5324 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
5325
5326         * alias.c (init_alias_analysis): Allocate reg_known_value and
5327         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
5328         and reg_seen.
5329         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
5330         * cse.c (cse_main): Call end_alias_analysis.
5331         * haifa-sched.c (schedule_insns): Likewise.
5332         * local-alloc. (update_equiv_regs): Likewise.
5333         * reload1.c (reload_cse_regs): Likewise.
5334         
5335 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5336
5337         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
5338         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
5339         mapping from MASK_FPU.
5340
5341 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
5342
5343         * sparc.md (call): Don't bound structure return size to 0xfff.
5344
5345 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
5346
5347         * resource.c (mark_target_live_regs): Check that the target
5348         insn wasn't created after compute_bb_for_insn.
5349
5350 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
5351
5352         * ggc-page.c (poison_pages): Don't be overzealous.
5353
5354 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
5355
5356         * alias.c: Update comments for ADDRESS.
5357         (nonlocal_reference_p): Look inside the ADDRESS to determine if
5358         it is a local memory reference.
5359
5360         * c-typeck.c (build_function_call): Check that the built-in
5361         function is of class BUILT_IN_NORMAL before trying to recongize
5362         it as BUILT_IN_ABS.
5363         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
5364         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
5365
5366 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
5367
5368         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
5369         of alloca.
5370         (pre_gcse): Likewise.
5371         (hoist_expr_reaches_here_p): Likewise.
5372         (hoist_code): Likewise.
5373         (pre_expr_reaches_here_p): Replace alloca with xcalloc.   Move core
5374         code to ...
5375         (pre_expr_reaches_here_p_work): ... here.
5376         (expr_reaches_here_p): Replace alloca with xcalloc.   Move core 
5377         code to ...
5378         (expr_reaches_here_p_work): ... here.
5379
5380 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
5381
5382         * resource.c (find_basic_block): Delete.
5383         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
5384         (init_resource_info): Call compute_bb_for_insn.
5385
5386 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
5387
5388         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
5389         with already adjacent blocks, but no fallthru.
5390         (merge_blocks_move_successor_nojumps): Simplify.
5391         (debug_flow_info): New.
5392
5393         * toplev.c (rest_of_compilation): Open jump1 dump file before
5394         jump and close after, as opposed to just using dump_rtl.
5395
5396 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5397
5398         * reload.h (earlyclobber_operand_p): Declare.
5399         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
5400         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
5401         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
5402         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
5403
5404 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
5405                           Richard Henderson  <rth@cygnus.com>
5406
5407         * emit-rtl.c (emit_block_insn_before): New.
5408         (emit_block_insn_after): New.
5409         * basic-block.h: Declare them.
5410
5411         * bitmap.h: Protect from multiple inclusion.
5412
5413         * recog.c (scratch_operand): Handle VOIDmode correctly.
5414
5415         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
5416
5417         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
5418         * function.c (assign_parms): Likewise.
5419         * global.c (global_conflicts): Clarify STACK_REGS commentary.
5420
5421         * reg-stack.c (max_uid): Remove.
5422         (blocks, block_begin, block_end, block_drops_in): Remove.
5423         (block_stack_in, block_out_reg_set, block_number): Remove.
5424         (struct block_info_def, BLOCK_INFO): New.
5425         (enum emit_where): New.
5426         (current_block): New.
5427         (BLOCK_NUM): Remove.
5428         (mark_regs_pat, record_label_references): Remove.
5429         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
5430         (nan): New.
5431         (goto_block_pat, print_blocks, dump_stack_info): Remove.
5432         (reg_to_stack): Simplified test for existance of fp code.  Use
5433         flow.c code.  Call shorten_branches after cross-jump opt.
5434         (check_asm_stack_operands): Renamed from record_asm_reg_life.
5435         Return false if the asm doesn't use stack regs.  Don't do life
5436         analysis on the asm.
5437         (emit_pop_insn): Replace function pointer arg `when' with
5438         enum `where'.  Update all callers.
5439         (change_stack): Likewise.  Update basic block end.
5440         (emit_swap_insn): Use current_block->head to limit reverse search
5441         for start of block.  Use emit_block_insn_after.
5442         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
5443         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
5444         structure assignment instead of bcopy.
5445         (print_stack): New.
5446         (convert_regs_entry, convert_regs_exit): New.
5447         (convert_regs_1, convert_regs_2): Split out from convert_regs.
5448         Work on basic blocks and the CFG.
5449         (convert_regs): Use them.
5450
5451         * i386.c (output_fix_trunc): Remove code for DImode input operand
5452         not at top-of-stack.
5453         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
5454         appropriate mode.
5455         (fix_truncdi_1): Allow any mode scratch.
5456
5457 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
5458
5459         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
5460         * linux.h, netbsd.h, vms.h: Not here.
5461
5462 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
5463
5464         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
5465         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
5466         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
5467         CONDITIONAL_REGISTER_USEAGE): Use them. 
5468         * config/mips/mips.c (mips_move_1word,mips_move_2words,
5469         gen_conditional_branch,override_options) : Use them.
5470         * config/mips/mips.md : Use them.
5471
5472 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
5473
5474         * i386.md (zero_extendqihi2): Use SImode register name with andl.
5475
5476 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
5477
5478         * integrate.c (function_cannot_inline_p): Don't allow inlining
5479         if setjmp is used.
5480
5481 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5482
5483         * c-parse.in (cast_expr): Constify.
5484
5485         * cccp.c (special_symbol): Likewise.
5486
5487         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
5488
5489         * dwarf2out.c (base_type_die): Likewise.
5490
5491         * global.c (allocno_compare): Likewise.
5492
5493         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
5494
5495         * regclass.c (fix_register): Likewise.
5496
5497         * rtl.h (fix_register): Likewise.
5498
5499         * stupid.c (stupid_reg_compare): Likewise.
5500
5501         * toplev.c (decode_f_option): Likewise.
5502
5503         * tree.c (build_complex_type): Likewise.
5504
5505 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
5506
5507         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
5508
5509 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5510
5511         * reload.c (find_reloads): Compute mode and nregs fields of all
5512         reloads.
5513         * reload1.c (calculate_needs_all_insns): Simplify a bit.
5514         (calculate_needs): Use precomputed mode/nregs values.
5515         (allocate_reload_reg): Likewise.
5516         Break out two...
5517         (failed_reload, set_reload_reg): ... new functions.
5518         (choose_reload_regs_init): New function, mostly broken out from...
5519         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
5520         Also lose one #if 0 block.
5521
5522 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
5523
5524         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name 
5525         substitution.
5526
5527 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
5528
5529         * tree.h (BLOCK_TYPE_TAGS): Remove.
5530         (BLOCK_END_NOTE): Likewise.
5531         (BLOCK_LIVE_RANGE_FLAG): Likewise.
5532         (BLOCK_LIVE_RANGE_START): Likewise.
5533         (BLOCK_LIVE_RANGE_END): Likewise.
5534         (tree_block): Remove live_range_flag, live_range_var_flag, and
5535         type_tags.  Remove end_note, live_range_start, and live_range_end.
5536         (remember_end_note): Remove prototype.
5537         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
5538         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
5539         remember_end_note.
5540         * ggc-common.c (ggc_mark_tree_children): Don't mark
5541         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
5542         * integrate.c (adjust_copied_decl_tree): Remove.
5543         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
5544         * stmt.c (last_block_end_note): Remove.
5545         (init_stmt): Don't add a GC root for it.
5546         (expand_fixup): Don't set it.
5547         (remember_end_note): Remove.
5548         (expand_end_bindings): Don't set last_block_end_note.
5549
5550 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5551
5552         * reload1.c (reload_reg_free_for_value_p): Show
5553         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
5554         reloads.
5555
5556 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
5557
5558         * expmed.c (extract_bit_field): Allow for the case of non-integer
5559         objects that are smaller than a word (like SFmode on a 64-bit
5560         machine).
5561
5562         * loop.c (basic_induction_var): A non-integer variable which is
5563         being set by a paradoxical subreg is probably not a biv.
5564
5565 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5566
5567         * prefix.c (translate_name) Check for empty prefix string.
5568
5569 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
5570
5571         * Makefile.in (CPP_CROSS_NAME): New variable.
5572         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
5573         xcpp.
5574         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
5575         names of the files to be uninstalled.
5576
5577 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
5578
5579         * collect2.c (IS_DIR_SEPARATOR): Define.
5580         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
5581
5582         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
5583         functions too.
5584
5585         * haifa-sched.c (add_dependence): Update the true dependency
5586         cache the first time we add a true dependence to the LOG_LINKS chain.
5587
5588 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
5589
5590         * fold-const.c (fold): Fix comment.
5591
5592 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5593
5594         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
5595         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
5596         dbxout_start_new_source_file, dbxout_source_file,
5597         dbxout_source_line, dbxout_finish, dbxout_type_fields,
5598         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
5599         Constify a char*.
5600         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
5601         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
5602         (dbxout_block): Initialize variable `blocknum'. 
5603
5604         * dbxout.h (dbxout_init, dbxout_finish,
5605         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
5606         dbxout_args, dbxout_source_line): Constify a char*.
5607
5608         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
5609         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
5610         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
5611         low_pc_attribute, high_pc_attribute, body_begin_attribute,
5612         body_end_attribute, comp_dir_attribute, sf_names_attribute,
5613         src_info_attribute, mac_info_attribute, producer_attribute,
5614         lookup_filename, generate_macinfo_entry, fundamental_type_code,
5615         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
5616         dwarfout_undef): Constify a char*.
5617         (add_incomplete_type, retry_incomplete_types): Add prototypes.
5618
5619         * dwarfout.h (dwarfout_define, dwarfout_undef,
5620         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
5621
5622 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
5623
5624         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
5625         (MULTILIB_ISA_DEFAULT): New.
5626         (MULTILIB_DEFAULTS): Use it.
5627         * config/mips/mips.c (): Remove the now unnecessary definition
5628         of MIPS_ISA_DEFAULT.
5629         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
5630         unnecessary definition.
5631
5632 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
5633
5634         * arm.md (pic_load_addr): Add constraints to operand 1.
5635
5636 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
5637
5638         * fixinc/genfixes:  Provide a means for specifying -D options to
5639         AutoGen
5640
5641 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
5642
5643         * arm.c (arm_override_options): Correct initialization of
5644         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
5645         arm_is_strong, and arm_is_6_or_7.
5646
5647         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
5648         (note_set_pseudo_multiple_uses): New function.
5649         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
5650         if a pseudo set in the loop exit is used elsewhere.
5651
5652 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
5653
5654         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
5655
5656 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
5657
5658         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
5659         a single load-address pattern.
5660
5661 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
5662
5663         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
5664         depending on whether or not line-number notes are present.
5665
5666 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5667
5668         * cccp.c (progname, file_buf, default_include, include_file,
5669         macrodef, definition, hashval, wchar_type, user_label_prefix,
5670         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
5671         expand_to_temp_buffer, is_system_include, base_name,
5672         absolute_filename, read_name_map, open_include_file,
5673         record_control_macro, check_precompiled, check_preconditions,
5674         pcfinclude, pass_thru_directive, create_definition,
5675         check_macro_name, comp_def_part, collect_expansion,
5676         check_assertion, read_token_list, assertion_install,
5677         assertion_lookup, eval_if_expression, conditional_skip,
5678         validate_else, skip_quoted_string, quote_string, macarg1,
5679         error_from_errno, install, lookup, hashf, dump_defn_1,
5680         perror_with_name, pfatal_with_name, main, trigraph_pcp,
5681         check_white_space, rescan, handle_directive, monthnames,
5682         special_symbol, do_include, remap_include_file, write_output,
5683         arglist, do_assert, do_unassert, do_line, do_error, do_once,
5684         do_ident, do_sccs, do_xifdef, skip_if_group,
5685         output_line_directive, macroexpand, macarg, change_newlines,
5686         initialize_builtins, make_definition): Constify a char*.
5687
5688         * pcp.h (stringdef): Likewise.
5689
5690 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
5691
5692         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
5693         not of pattern.
5694
5695 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
5696                           Richard Henderson  <rth@cygnus.com>
5697
5698         * alias.c: Include ggc.h.
5699         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
5700         (record_set): Verify enough room in reg_base_value.
5701         (init_alias_analysis): Allocate reg_base_value with xcalloc.
5702         Register it as a GC root.
5703         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
5704         * Makefile.in (alias.o): Depend on ggc.h.
5705
5706         * unroll.c (unroll_loop): Verify the insn before a barrier
5707         is a JUMP_INSN before checking JUMP_LABEL.
5708
5709 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5710
5711         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
5712         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
5713         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
5714         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
5715         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
5716         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
5717
5718 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5719
5720         * output.h (ctors_section, dtors_section, bss_section): Prototype.
5721
5722         * alpha/alpha-interix.h (text_section): Delete prototype.
5723         * alpha/elf.h (text_section): Likewise.
5724         * arm/linux-elf.h (text_section): Likewise.
5725         * arm/linux-telf.h (text_section): Likewise.
5726         * c4x/c4x.h (text_section): Likewise.
5727         * dsp16xx/dsp16xx.h (bss_section): Likewise.
5728         * elfos.h (text_section): Likewise.
5729         * i386/aix386ng.h (text_section): Likewise.
5730         * i386/i386-interix.h (text_section): Likewise.
5731         * i386/sco5.h (text_section): Likewise.
5732         * i386/svr3gas.h (text_section): Likewise.
5733         * nextstep.h (text_section): Likewise.
5734         * psos.h (text_section): Likewise.
5735         * ptx4.h (text_section): Likewise.
5736         * svr3.h (text_section): Likewise.
5737         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
5738
5739 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5740
5741         * final.c (peephole): Delete prototype.
5742
5743         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
5744         (pre_insert_copies): Remove unused variable `bb'.
5745
5746         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
5747         prototypes.
5748
5749         * output.h (peephole): Add prototype.
5750
5751 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
5752
5753         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
5754         -O0.
5755
5756 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
5757
5758         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
5759         for inlined declarations.
5760
5761 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
5762
5763         * arm.c (logical_binary_operator): New fucntion.
5764         * arm.h (logical_binary_operator): Declare it.
5765         (PREDICATE_CODES): Handle logical_binary_operator.
5766         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
5767         output constraints.  Add appropriate splitters.
5768         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
5769         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
5770         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
5771
5772 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5773
5774         * genoutput.c (struct operand_data): New elt eliminable.
5775         (output_operand_data): Write it.
5776         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
5777         (compare_operands): Take it into account.
5778         * recog.h (struct insn_operand_data): New elt eliminable.
5779         * reload1.c (check_eliminable_occurrences, elimination_effects): New
5780         functions.
5781         (old_asm_operands_vec, new_asm_operands_vec): Delete.
5782         (eliminate_regs): Move code that detects changes to elimination
5783         target regs into new function elimination_effects.
5784         Delete one #if 0 block.
5785         Abort for USE, CLOBBER, ASM_OPERANDS and SET. 
5786         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
5787         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
5788         Only call eliminate_regs for real operands of the insn, not for parts
5789         of its structure or parts matched by things like match_operator.
5790         Use elimination_effects and check_eliminable_occurrences.  Use
5791         copy_insn to duplicate the pattern when not in the final pass.
5792
5793 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
5794
5795         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
5796         and fld.
5797
5798 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
5799
5800         * fixinc/README: document the "mach" machine matching test
5801         * fixinc/fixfixes.c: Implement the #else/#endif label fix
5802         * fixinc/fixtests.c: Implement the #else/#endif label test
5803         * fixinc/inclhack.def: utilize these tests and fixes
5804         * fixinc/inclhack.sh:  regen
5805         * fixinc/fixincl.x:  regen
5806         * fixinc/fixincl.sh:  regen
5807
5808 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
5809
5810         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
5811         depend on ggc.h.
5812
5813 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
5814
5815         * gcc.1: Document exit codes.
5816
5817 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5818
5819         * calls.c: Include tm_p.h later, so everything we need is defined.
5820         * expr.c: Likewise.
5821         * function.c: Likewise.
5822
5823         * except.c: Include tm_p.h.
5824
5825         * sparc.c: Likewise.
5826         (dwarf2out_cfi_label): Don't prototype.
5827         (check_return_regs, epilogue_renumber,
5828         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
5829         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
5830         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
5831         ultra_schedule_insn): Add static prototype.
5832         (data_segment_operand, text_segment_operand): Call itself with the
5833         proper number of arguments.
5834         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
5835
5836         * sparc.h: Move all declarations to sparc-protos.h.
5837         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
5838         symbolic_operand.
5839
5840         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
5841
5842         * config/svr4.h (text_section, ctors_section, dtors_section): Add
5843         Prototypes.
5844         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
5845         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
5846         ASM_OUTPUT_ASCII): Constify a char*.
5847         
5848         * sparc-protos.h: New file for sparc prototypes.
5849         
5850 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5851
5852         * function.c (record_insns, contains): Always declare and define.
5853         (record_insns): Mark with ATTRIBUTE_UNUSED.
5854
5855 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5856
5857         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
5858         to .section when outputting a .bss section to deal with multiple
5859         .bss input sections (as happens with -fdata-sections)
5860         Also output %progbits, not @progbits so the assembler doesn't treat as
5861         a comment.
5862         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
5863
5864         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
5865         thumb parts even when building with non-thumb CPUs, by forcing
5866         thumb mode.     
5867
5868 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
5869
5870         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
5871         (movdf_const_intreg_sp64): Similarly.
5872
5873         * local-alloc.c (update_equiv_regs): Check the correct insn
5874         for pre-existing REG_EQUIV notes.
5875
5876 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
5877
5878         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
5879         block reached by a branch if we're not going to actually process
5880         this block.
5881
5882 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
5883
5884         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
5885         a local extern function declaration.
5886
5887 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
5888
5889         * i386.c (ix86_expand_prologue): Properly wrap USE around
5890         reg for CALL_INSN_FUNCTION_USAGE.
5891
5892 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
5893
5894         * config/mips/mips.md (movdf_internal1a): Allow floating-point
5895         move between GP_REGs.
5896
5897 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
5898
5899         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
5900         the mode size when finding out if an offset is legal.
5901
5902 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
5903
5904         * basic-block.h (PROP_*): Move constants from ...
5905         * flow.c: ... here.
5906         (compute_bb_for_insn): Free the array before reallocating.
5907         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
5908         (allocate_reg_life_data): Reset all reg variables collected by
5909         propagate_block.
5910         (get_block_head_tail): Don't convert from bb to block.
5911         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
5912         (find_insn_reg_weight): Take block not bb.
5913         (schedule_block): Don't set block num for moved insns.
5914         (schedule_region): Don't update_life_info or find_insn_reg_weight.
5915         (schedule_insns): Do it here instead.
5916         * combine.c (combine_instructions): Invoke compute_bb_for_insn
5917         before update_life_info.
5918         * recog.c (split_all_insns, peephole2_optimize): Update for
5919         new arg to update_life_info.
5920         * rtlanal.c (remove_note): Cope with NULL note.
5921         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
5922         if we did sched1.
5923
5924 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
5925
5926         * jump.c (jump_optimize_1): More accurately detect casesi insns.
5927
5928         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
5929         block records so that merge_blocks_nomove will clean up correctly.
5930         (split_edge): Handle casesi insns.
5931
5932         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
5933
5934 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
5935
5936         * pa.md (call, call_value): Do not emit a blockage after restoring
5937         the PIC register.
5938
5939 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
5940
5941         * c-typeck.c (c_expand_asm_operands): Fix typo.
5942
5943 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5944
5945         * arm.c (fpu_rhs_operand): Verify modes.
5946         (fpu_add_operand): Likewise.
5947         (di_operand): Likewise.
5948         (soft_df_operand): Likewise.
5949
5950 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
5951
5952         * arm.c (arm_return_in_memory): APCS rules state that the elements
5953         of a structure returned in a register must be 'integer-like'.
5954
5955 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
5956
5957         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
5958         in the source tree when the generated targets are out of date
5959         * fixinc/genfixes: Alter it to run individual fixes for make.
5960         * fixinc/README: rewrite
5961         * fixinc/inclhack.def: moved initial comments to README
5962
5963 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
5964
5965         * toplev.c (main): Do not generate an error message if an
5966         unrecognised command line switch is recognisable by another
5967         language.  If extra_warnings are enabled, then generate a
5968         warning message instead.
5969
5970 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5971
5972         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
5973         (insert_pack_attributes): Delete prototype.
5974
5975         * c-pragma.c (default_alignment): New static variable.
5976         (push_alignment): Initialize to current effective alignment.
5977         (pop_alignment): Use to set new alignment.
5978         (insert_pack_attributes): Delete function.
5979         (handle_pragma_token): Set default_alignment as well each time 
5980         a #pragma pack(<n>) is encountered.
5981
5982 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
5983
5984         * reg-stack.c (stack_result): Aggregates are not returned in
5985         stack registers.
5986
5987 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
5988
5989         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
5990
5991 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
5992
5993         * basic-block.h (set_block_num): Declare.
5994         * flow.c (update_life_info): Don't call compute_bb_for_insn
5995         or free_basic_block_vars.
5996         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
5997         (insn_orig_block): Remove.
5998         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
5999         (schedule_block): Keep BLOCK_NUM up-to-date.
6000         (schedule_insns): Use compute_bb_for_insn.
6001         * recog.c (split_all_insns): Likewise.
6002         (peephole2_optimize): Likewise.
6003
6004 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
6005
6006         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
6007         if the pic register is used.
6008
6009 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6010
6011         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
6012         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
6013         if that tests TREE_PERMANENT.
6014
6015 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
6016
6017         * cse.c (invalidate_for_call): Do not remove memory references from
6018         the table here.  It's handled elsewhere.
6019
6020         * haifa-sched.c (add_dependence): Protect references to the
6021         true dependency cache with #ifdef INSN_SCHEDULING.
6022         (remove_dependence): Similarly.
6023
6024         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
6025         to the cfg code that this is a return instruction.
6026         * mn10300.md (return_internal): Similarly.
6027
6028         * combine.c (get_last_value): If the last set of a register
6029         is after subst_low_cuid, then we can not use it to determine
6030         the register's last value.
6031
6032 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
6033
6034         * Makefile.in: Back out previous change.
6035         
6036 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
6037
6038         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
6039
6040         * haifa-sched.c (add_dependence): Only check/update the cache
6041         if it exists.
6042         (remove_dependence): Likewise.
6043         (schedule_insns): Only create the true_dependency_cache if the
6044         average number of instructions in a basic block is very large.
6045
6046 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
6047
6048         * Makefile.in (ggc-common.o): Depend on genrtl.h.
6049         (ggc-simple.o): Likewise.
6050         (ggc-page.o): Likewise.
6051
6052 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
6053
6054         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
6055         Prototype for exported functions.
6056         (pre_lcm, pre_rev_lcm): Remove prototypes.
6057         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
6058         (compute_available): Move to lcm.c, and change parameter order.
6059         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
6060         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
6061         (gcse_main): No longer call compute_preds_succs.  Rebuild the
6062         set table after reach pre pass.
6063         (pre_insert_map, pre_delete_map, edge_list): New.
6064         (alloc_pre_mem): Allocate edge vectors.
6065         (free_pre_mem): Delete edge vectors.
6066         (compute_pre_data): Call new edge based lcm routines.
6067         (process_insert_insn): New function.
6068         (insert_insn_end_bb): Use it.
6069         (pre_edge_insert): New function.
6070         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
6071         needed.
6072         (pre_insert_copies): Revamp using new edge based lcm outputs.
6073         (pre_delete): Likewise.
6074         (one_pre_gcse_pass): Insert & remove fake edges to the exit
6075         block.
6076         (compute_code_hoist_vbeinout): New new edge based routines.
6077         * lcm.c: Remove all the old LCM functions.  Replace with new ones
6078         that work with the new cfg datastructures and work with edges
6079         instead of blocks.
6080
6081 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6082
6083         * reload.h (struct reload): Add new fields "mode" and "nregs".
6084         * reload1.c: Change all occurrences of reload_mode and reload_nregs
6085         to reference the "mode" and "nregs" field within struct reload.
6086
6087 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
6088
6089         * haifa-sched.c (true_dependency_cache): New.
6090         (add_dependence): Use the true dependency cache to avoid expensive
6091         walks down the LOG_LINKS dependency list.  Add entries to the
6092         cache as necessary.
6093         (remove_dependence): Remove entries from the true dependency cache
6094         as needed.
6095         (schedule_insns): Allocate and initialize and free the true
6096         dependency cache.
6097
6098         * haifa-sched.c (schedule_insns): Do not remove inter-block
6099         dependencies anymore.
6100
6101 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
6102
6103         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
6104         * i386/t-winnt: Likewise.
6105
6106 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
6107
6108         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
6109
6110 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
6111
6112         * Makefile.in (LANGUAGES): Omit "proto".
6113         (clean): Remove stale comment about removing unprotoize.c.
6114
6115 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6116
6117         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
6118         using arithmetic on void pointers.
6119
6120 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
6121
6122         * haifa-sched.c (compute_block_forward_dependencies): Only check
6123         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
6124
6125 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
6126
6127         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
6128         (expr_equiv_p): Reject memories with different alias sets.
6129
6130 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
6131
6132         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
6133         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
6134         (f_options): Add "bounded-pointers" and "bounds-check" entries.
6135         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
6136         (lang_init): Set default for flag_bounds_check if still "unspecified".
6137
6138 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6139
6140         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
6141
6142 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6143
6144         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
6145         instructions.
6146
6147 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6148
6149         * config/c4x/c4x.md (*db_noclobber, 
6150         *decrement_and_branch_until_zero_noclobber): New patterns and 
6151         associated splitters.
6152
6153 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6154
6155         * config/c4x/c4x.md (parallel instruction patterns): Rework
6156         constraints to keep reload happy.
6157
6158 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6159
6160         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
6161         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
6162         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
6163         Add new patterns and associated post-reload splitters.
6164
6165 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6166
6167         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
6168
6169 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6170
6171         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
6172         if appropriate.
6173         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
6174
6175 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6176
6177         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
6178         memory mode.
6179
6180 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
6181
6182         * pa.c (move_operand): Rely on memory_address_p to determine the
6183         validity of non-indexed memory addresses.
6184         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
6185         operand in DFmode and SFmode when generating PA2.0 code.
6186
6187 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
6188
6189         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
6190
6191 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
6192
6193         * mips.c (function_prologue): Fix argument types.
6194         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
6195         (casesi_internal): Write to the scratch register.
6196
6197 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
6198
6199         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
6200         to U_CHAR **.
6201         (parse_charconst): Delete unnecessary cast when calling
6202         cpp_parse_escape.
6203         (cpplib.h): Kill prototype of cpp_parse_escape.
6204
6205 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
6206
6207         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
6208         * unroll.c (unroll_loop): Cast return value of alloca.
6209         * i370/i370.c: Include function.h and toplev.h.
6210         (i370_label_scan): Remove c++ commented abort.
6211         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
6212         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
6213         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
6214         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
6215
6216 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
6217
6218         * config/t-freebsd: Do not override USER_H.
6219         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
6220
6221 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
6222                           Mumit Khan  <khan@xraylith.wisc.edu>
6223
6224         * c-parse.in (component_decl): Support anonymous struct/union.
6225         (%expect): Update.
6226         * c-parse.y: Regenerate.
6227         * c-parse.c: Likewise.
6228         * objc/objc-parse.y: Likewise.
6229         * objc/objc-parse.c: Likewise.
6230         * c-decl.c (finish_struct): Don't sort the fields.
6231         (field_decl_cmp): Delete unused function.
6232
6233 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
6234
6235         * sparc.md (movsf_const_intreg): Revert last constraint change.
6236         (movdf_const_intreg_sp32): Likewise.
6237
6238 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
6239
6240         * cse.c: Include hashtab.h instead of splay-tree.h
6241         (struct cse_reg_info): No longer use variant union.  Add new
6242         field "regno".  All references changed to avoid union.
6243         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
6244         (free_cse_reg_info): Remove.
6245         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
6246         (get_cse_reg_info): Revamp to use expandable hash tables instead
6247         of splay trees.  Initialize new fields in cse_reg_info structure.
6248         (new_basic_block): Similarly.
6249
6250 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
6251
6252         * genrecog.c (message_with_line): Prototype.
6253         (validate_pattern): Pass along the set for the dest, not a flag.
6254         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
6255         Check for PC/CC0 as sources.
6256         (nodes_identical): Check for children position match before 
6257         allowing the combination.
6258
6259         * rtl.c (read_rtx): Track line number across \\\n.
6260
6261 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
6262
6263         * mips.h (SPECIAL_MODE_PREDICATES): New.
6264         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
6265         (movdi+1, movsi+1): Add output reload constraint.
6266         (casesi_internal): Likewise.  Fix commentary.
6267         (return_internal): Use pmode_register_operand.
6268
6269 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
6270
6271         * 1750a.md (movstrqi): Add missing output reload constraint.
6272         (call_value): Likewise.
6273         * a29k.md (cpxxx patterns): Add missing match_operator mode.
6274         (jmpfdec): Add missing inout reload constraint.
6275         * elxsi.md (addsi patterns): Add missing output reload constraint.
6276         (move from sp): Use @ alternates.
6277         (call_value): No constraint on output.
6278         * fr30.md (movsi_pop): Add missing output reload constraint.
6279         (movsf_constant_store): Likewise.
6280         (splits): Remove constraints.
6281         (subsi3): Add missing mode.
6282         * i370.md (cmpstrsi+1): Add missing output reload constraint.
6283         (call_value): Likewise.
6284         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
6285         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
6286         * m32r.md (movsicc_internal): Add output reload constraint.
6287         (movstrsi_internal): Add inout reload constraints.
6288         * m88k.h (reg_names): Don't declare.
6289         (SPECIAL_MODE_PREDICATES): New.
6290         * m88k.md (*): Use register_operand not reg_or_0_operand
6291         on destinations.
6292         * mn10200.h (PREDICATE_CODES): New.
6293         * ns32k.md (ffs pattern): Add output reload constraint.
6294         * pdp11.md (sob pattern): Add inout reload constraint.
6295         * sh.md (splits): Remove constraints.
6296         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
6297         * v850.md (pattern_is_ok_for_epilogue): Likewise.
6298         * vax.md (jgequ pattern): Add inout reload constraint.
6299
6300 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
6301
6302         * configure.in (djgpp): Revert previous patch.
6303         * configure: Rebuit.
6304         * config/i386/djgpp.h: Revert previous patch.
6305
6306 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
6307
6308         * fixinc/inclhack.def: Restore patch lost during last merge of
6309         "no_bogosity" branch.
6310         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
6311
6312 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
6313
6314         * fixincludes: Add a HPUX 11 fix for inttypes.h.
6315         * fixinc/inclhack.def: Same.
6316         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
6317
6318 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
6319
6320         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
6321         as the base of a PLUS.
6322
6323 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6324
6325         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
6326         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
6327         
6328 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
6329
6330         * pa.md (post_stw+1): Use pmode_register_operand.
6331         (dcacheflush, icacheflush): Likewise.
6332
6333         * i386.md (movstricthi_1): Allow r/r.
6334
6335 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
6336
6337         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
6338         to (not (and (arg0) (arg1))). Similary for and.
6339
6340         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
6341         fallthrough to associate code.
6342         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
6343         bits in common.
6344
6345         * combine.c (simplify_logical): Convert XOR to IOR if operands have
6346         no bits in common; remove XOR to ROTATE conversion.
6347
6348 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6349
6350         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
6351
6352 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6353
6354         * config/c4x/c4x.c (dst_operand): New.
6355         (PREDICATE_CODES): Update.
6356         * config/c4x/c4x.h (dst_operand): Declare it.
6357         * config/c4x/c4x.md:  Define mode for each unspec usage.
6358         (move patterns):  Use dst_operand predicate instead of src_operand.
6359         (movqi_update, movqf_update): Delete.
6360
6361 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
6362
6363         * recog.c (pmode_register_operand): New.
6364         * recog.h: Declare it.
6365         * genrecog.c (pred_codes): Likewise.
6366         (special_mode_pred_table): Likewise.
6367         (validate_pattern): Don't warn no mode for address_operand.
6368
6369         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
6370         if the operand is not insn-like.
6371
6372 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
6373                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
6374
6375         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
6376
6377 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
6378
6379         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
6380         instead of general_operand in a SET_DEST.  Use const_double_operand
6381         instead of an explicit test against CONST_DOUBLE.
6382         (movsf_const_lo): Add missing register mode.
6383         (goto_handler_and_restore): Add auxiliary test for Pmode.
6384         (flush): Adjust to use address_operand.
6385         (return_sf_no_fpu): Add missing output constraint.
6386
6387 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
6388
6389         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
6390         for call return value.
6391         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
6392
6393 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
6394
6395         * toplev.c (main): Only warn about options for other languages.
6396         * collect2.c (main): Pass -w to sub-gcc.
6397
6398 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
6399
6400         * flow.c (propagate_block): Add call-clobbered registers to
6401         significant too.
6402
6403         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
6404         zapping mem_set_list.
6405         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
6406         (mark_set_1, mark_used_regs): Likewise.
6407
6408 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
6409
6410         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
6411
6412 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6413
6414         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
6415         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
6416         options. Also add a new item "C-only Warning Options" to the
6417         option summary.
6418
6419 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
6420
6421         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
6422         from multiple calls.
6423
6424 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
6425
6426         * i386.md (call value patterns): Move to the end of the file.
6427         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
6428
6429 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
6430
6431         * configure.in (djgpp configuration): Define extra_objects..
6432         * configure: Rebuilt.
6433         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
6434         (DTORS_SECTION_ASM_OP): Define.
6435         (INIT_SECTION_ASM_OP): Define.
6436         (FINI_SECTION_ASM_OP): Define.
6437         (DATA_SECTION_ASM_OP): Define.
6438         (TEXT_SECTION_ASM_OP): Define.
6439         (EH_FRAME_SECTION_ASM_OP): Define.
6440         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
6441         (STARTFILE_SPEC): Add crtbegin.o.
6442         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
6443         to here from LINK_COMMAND_SPEC.
6444         (DO_GLOBAL_CTORS_BODY): Define.
6445         (CRTSTUFF_USE_FINI_SECTION): Define
6446         (HAS_INIT_SECTION): Delete.
6447
6448 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
6449
6450         * Makefile.in (all.cross): Depend on xcpp$(exeext).
6451
6452 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
6453
6454         * pa.h (PREDICATE_CODES): New.
6455
6456         * genrecog.c (validate_pattern): Condense the destination
6457         non-lvalue message.
6458
6459 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
6460
6461         * alpha.md (call-1): Supply missing mode for operator.
6462         (*): Add missing output reload constraints.  Remove constraints
6463         from define_splits.
6464
6465         * i386.h (SPECIAL_MODE_PREDICATES): New.
6466         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
6467         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
6468         (addsi_lea_3): Add missing mode for op 3.
6469         (prologue_set_got, prologue_get_pc): Add missing modes.
6470         (*) Add missing output reload constraints.
6471
6472 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
6473
6474         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
6475         check for member bit-size overflow and use var_size if it occurs.
6476         (layout_record): Use bitsize_int() to define the type size in bits.
6477         Likewise for computation and assignment to DECL_FIELD_BITPOS.
6478         (layout_decl): Likewise when assigning to DECL_SIZE.
6479
6480 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
6481
6482         * genrecog.c (validate_pattern): Typo last change.  Verify
6483         that output operands have output reloads.
6484
6485 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
6486
6487         * genrecog.c (special_mode_pred_table): New.
6488         (NUM_SPECIAL_MODE_PREDS): New.
6489         (find_operand): New.
6490         (validate_pattern): New argument `insn'.  Warn for assignment to
6491         any predicate accepting non-lvalues.  Conditionaly warn for
6492         match_operand without a mode.  Try much harder to match source
6493         and destination modes on a set.
6494         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
6495
6496 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
6497
6498         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
6499
6500 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
6501
6502         * combine.c (simplify_logical): Recognize xor pattern that encodes
6503         rotation.
6504
6505 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6506
6507         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
6508         alignment.
6509
6510 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
6511
6512         * ggc-page.c (MAP_FAILED): Provide default.
6513
6514 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
6515
6516         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
6517         * sparc.h (PREDICATE_CODES): Update.
6518
6519 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
6520
6521         * alpha.c (some_ni_operand): New.
6522         * alpha-protos.h: Declare it.
6523         * alpha.h (PREDICATE_CODES): Update.
6524         * alpha.md (sXaddq reload insns): Use some_ni_operand 
6525         for SET_DEST instead of some_operand.
6526
6527 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
6528                           Jim Wilson  <wilson@cygnus.com>
6529
6530         * genrecog.c (maybe_both_true_2): Don't compare modes of
6531         two DT_pred tests.
6532         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
6533         after find_afterward.
6534         (debug_decision_1): Dump next and afterward codes.
6535
6536 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
6537
6538         * rtl.c (dump_and_abort): Remove.
6539         (fatal_with_file_and_line): New.
6540         (fatal_expected_char): New.
6541         (read_rtx_lineno, read_rtx_filename): New.
6542         (read_skip_spaces): Track line number.
6543         (read_name): Use fatal_with_file_and_line.
6544         (read_rtx): Use fatal_expected_char.  Track line number.
6545         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
6546
6547         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
6548         if it isn't a CODE_LABEL.
6549
6550         * genattr.c (main): Set read_rtx_filename.
6551         * genattrtab.c (main): Likewise.
6552         * gencodes.c (main): Likewise.
6553         * genconfig.c (main): Likewise.
6554         * genemit.c (main): Likewise.
6555         * genextract.c (main): Likewise.
6556         * genflags.c (main): Likewise.
6557         * genopinit.c (main): Likewise.
6558         * genoutput.c (main): Likewise.
6559         * genpeep.c (main): Likewise.
6560
6561         * genrecog.c (decision_test.u.insn): Add `lineno'.
6562         (pattern_lineno, error_count): New variables.
6563         (message_with_line): New.
6564         (add_to_sequence): Break out checking code to ...
6565         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
6566         (merge_insn): Use message_with_line.
6567         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
6568         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
6569
6570 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6571
6572         * expr.c (store_constructor): Clear union if constructor is empty.
6573
6574 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
6575
6576         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
6577         Add !endian checks.  Change %{...} to %(...).
6578
6579 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
6580
6581         * i386.md (*addsi3_cc): Renamed from addcsi3.
6582         (*addsi3_carry): Renamed from addxsi3.
6583         (*subsi3_cc): Renamed from subcsi3.
6584         (*subsi3_carry): Renamed from subxsi3.
6585         (*xorqi_cc_1): Renamed from xorcqi_1.
6586         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
6587         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
6588
6589 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
6590
6591         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
6592         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
6593
6594 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
6595
6596         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
6597         climb up the chain of insns.
6598
6599 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
6600
6601         * genrecog.c (write_subroutine): Careful for null trees.
6602         (process_tree): Don't elide empty functions.
6603
6604 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
6605
6606         * Makefile.in (genrtl.o): Depend on ggc.h.
6607         * configure.in (valloc): Probe for it.
6608         (with-gc): Use ggc-page if valloc present.
6609         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
6610         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
6611         (ggc_alloc_string): Moved from ggc-page.c.
6612         * ggc-none.c (ggc_alloc_obj): New.
6613         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
6614         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
6615         (struct globals): Likewise for dev_zero_fd.
6616         (init_ggc): Likewise for it's initialization.
6617         (ggc_allocated_p): Move careful dereference from ...
6618         (ggc_lookup_page_table): ... here.  Delete.
6619         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
6620         (alloc_anon): Use valloc if no mmap.
6621         (release_pages): Use free if using valloc.
6622         (ggc_alloc_obj): Renamed from alloc_obj.
6623         (ggc_set_mark): Renamed from mark_obj.
6624         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
6625         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
6626         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
6627         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete. 
6628         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
6629         (ggc_collect): Use fp printing instead of our own rounding.
6630         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
6631         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
6632         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
6633         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
6634         (struct ggc_string, struct ggc_any): Delete.
6635         (offsetof): Provide default definition.
6636         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
6637         (PTR_KEY): New.
6638         (struct ggc_mem): New, from corpse of ggc_any.
6639         (struct ggc_status): Delete.
6640         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
6641         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
6642         (n_strings_collected, n_anys_collected): Delete.
6643         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
6644         (ggc_alloc_string, ggc_alloc): Delete.
6645         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
6646         (ggc_free_string, ggc_free_any): Delete.
6647         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
6648         (ggc_compare_addresses, ggc_mark_string): Delete.
6649         (ggc_mark_string_if_gcable, ggc_mark): Delete.
6650         (search_data): Delete.
6651         (struct globals): New.
6652         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.   
6653         (tree_insert, tree_lookup): New.
6654         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
6655         (clear_marks, sweep_objs): New.
6656         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
6657         (init_ggc): Set allocated_last_gc.
6658         (ggc_push_context): Gut.  Use G.context.
6659         (ggc_pop_context): Likewise.
6660         (ggc_pop_context_1): New.
6661         (debug_ggc_tree): New.
6662         (debug_ggc_balance, tally_leaves): New.
6663         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
6664         (ggc_mark_string_if_gcable): Remove decl.
6665         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
6666         (ggc_mark_rtvec_children): New.
6667         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
6668         (ggc_mark_if_gcable): New decl.
6669         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
6670         (ggc_alloc_tree, ggc_alloc): Likewise.
6671         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
6672         (ggc_alloc_obj): New decl.
6673         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
6674         (ggc_alloc_tree, ggc_alloc): Likewise.
6675         (ggc_set_mark): New decl.
6676         * rtl.h (struct rtx_def): Remove gc_mark.
6677         (struct rtvec_def): Likewise.
6678         * tree.h (struct tree_common): Likewise.
6679
6680 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
6681
6682         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
6683         float_format and thread_file definitions.
6684         * configure: Rebuilt.
6685
6686 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
6687
6688         * extend.texi (Function Names): Document types of function names.
6689
6690 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6691
6692         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
6693         an earlyclobbered output conflict with RELOAD_INPUT reloads.
6694
6695 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6696
6697         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
6698
6699 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6700
6701         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
6702
6703 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
6704
6705         * collect2.c (main): Do prelimnary link on AIX if rflag.
6706
6707 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
6708
6709         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
6710         __CTOR_LIST__ in opposite order, which is the correct order for sorted
6711         constructors.
6712         (__do_global_dtors): similarly for __DTOR_LIST__.
6713
6714 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6715                                 Diego Novillo <dnovillo@cygnus.com>
6716
6717         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
6718         FPUL_REGS.
6719
6720 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
6721
6722         * fixincl/*: Merged "no_bogosity" branch
6723         * fixincl/fixlib.h: protect against doubly defining t_bool
6724         * fixincl/server.h: protect against doubly defining t_bool
6725
6726 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
6727
6728         * genoutput.c: Include toplev.h.
6729
6730 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
6731
6732         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
6733         Undef.
6734         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
6735         * configure: Regenerate.
6736
6737 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
6738
6739         * gcse.c (delete_null_pointer_checks): Returns void.
6740
6741 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6742
6743         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
6744         * emit-rtl.c (copy_insn_1): Likewise.
6745
6746 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
6747
6748         * config/mips/mips.c (mips_build_va_list): Correct
6749         TREE_CHAIN setting when hard-float.
6750         (mips_va_start): Use corrected setting.
6751         (mips_va_arg): Likewise.  Also pass a tree to build of
6752         POSTINCREMENT_EXPR rather than a naked 'int'.
6753
6754 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
6755
6756         * ggc.h (ggc_push_context): Fix comment.
6757         (ggc_pop_context): Likewise.
6758         (mark_string_if_gcable): Likewise.
6759         * ggc-common.c (ggc_mark_rtx_children): Use
6760         ggc_mark_string_if_gcable.
6761         * ggc-page.c (ggc_lookup_page_table): New function.
6762         (ggc_allocated_p): Likewise.
6763         (mark_obj): Fix formatting.
6764         (ggc_mark_string_if_gcable): New function.
6765         * ggc-simple.c (ggc_allocated_strings): New variable.
6766         (ggc_strings_used): Likewise.
6767         (ggc_compare_addresses): New function.
6768         (ggc_pop_context): Pop the `any' memory too.
6769         (ggc_mark_string_if_gcable): New function.
6770         (ggc_collect): Initialize and tear down ggc_allocated_strings.
6771         
6772 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
6773
6774         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
6775         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
6776         * rs6000.c (expand_block_move): Match movstrsi_?reg register
6777         changes.
6778
6779 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
6780
6781         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
6782         (sched_reg_live_length, sched_reg_basic_block): Delete.
6783         (current_block_num, bb_live_regs, old_live_regs): Delete.
6784         (dead_notes, struct sometimes): Delete.
6785         (sched_note_set, birthing_insn_p): Delete.
6786         (adjust_priority): Gut useless reg lifetime code.
6787         (create_reg_dead_note, attach_deaths): Delete.
6788         (attach_deaths_insn, new_sometimes_live): Delete.
6789         (finish_sometimes_live): Delete.
6790         (find_pre_sched_live, find_post_sched_live): Delete.
6791         (update_reg_usage): Delete.
6792         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
6793         (schedule_insns): Delete reg lifetime code.
6794         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
6795         (unlink_other_notes): Adjust REG_NOTE commentary.
6796         (reemit_notes): Use REG_SAVE_NOTE.
6797         (schedule_block): Likewise.
6798         (schedule_region): Allocate bitmap of blocks in region.  Use
6799         count_or_remove_death_notes.  Use update_life_info.
6800
6801         * rtl.h (REG_SAVE_NOTE): New.
6802         * rtl.c (reg_note_name): Update.
6803         
6804 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
6805
6806         * combine.c (refresh_blocks, need_refresh): New.
6807         (combine_instructions): Allocate refresh_blocks.  Invoke
6808         update_life_info if needed.
6809         (distribute_notes): Mark refresh_blocks instead of installing
6810         USE insns.
6811         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
6812         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
6813
6814         * Makefile.in (recog.o): Depend on basic-block.h.
6815
6816 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
6817
6818         * genrecog.c (add_to_sequence): Thinko last change: delete
6819         shadowing allow_const_int variable.
6820
6821 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6822
6823         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
6824         __GNUC__ and __GNUC_MINOR__.
6825
6826         * gansidecl.h: Likewise.
6827
6828         * rtl.c: Likewise.
6829         
6830         * rtl.h: Likewise.
6831
6832         * toplev.h: Likewise.
6833
6834         * tree.c: Likewise.
6835
6836         * tree.h: Likewise.
6837
6838         * varray.c: Likewise.
6839
6840         * varray.h: Likewise.
6841
6842 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6843
6844         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
6845         use one before a jump table.
6846
6847         * rtl.def (ADDRESS): Change documentation to match reality.
6848         * md.texi: Don't document it.
6849         * gmicro.md (load address pattern): Use 'p' constraint, delete use
6850         of ADDRESS rtx.
6851
6852         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
6853
6854 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
6855
6856         * genrecog.c (add_to_sequence): Move allow_const_int test outside
6857         known predicate block; default allow_const_int true.
6858         (debug_decision_list): New.
6859
6860 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
6861
6862         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
6863
6864 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
6865
6866         * gcse.c (gcse_main): Avoid global optimizations if we have a
6867         large number of basic blocks and the ratio of edges to blocks
6868         is high.
6869         (delete_null_pointer_checks): Likewise.
6870
6871 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
6872
6873         * c-common.c (check_format_info): Warn if format string isn't a
6874         string literal.
6875
6876 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
6877
6878         * configure.in (arm*-*-*): Don't let autoconf remove brackets
6879         * configure: regenerate
6880
6881 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
6882
6883         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
6884         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
6885         (peepholes): Re-enable.
6886
6887 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
6888
6889         * Makefile.in (flow.o): Depend on TREE_H.
6890         * basic-block.h (REG_SET_EQUAL_P): New.
6891         (XOR_REG_SET): New.
6892         (n_edges): Declare.
6893         (free_regset_vector): Remove declaration.
6894         (flow_delete_insn_chain): Declare.
6895         (enum update_life_extent): New.
6896         (update_life_info, count_or_remove_death_notes): Declare.
6897         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
6898         Verify register live at bb->global_live_at_start before adding USE.
6899         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
6900         (CLEAN_ALLOCA): New.
6901         (n_edges): New. 
6902         (PROP_*): New flags.
6903         (find_basic_blocks_1): Use alloc_EXPR_LIST.
6904         (clear_edges): Zero n_edges.
6905         (make_edge): Increment n_edges.
6906         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
6907         (flow_delete_insn_chain): Export.
6908         (delete_block): Decrement n_edges.
6909         (merge_blocks_nomove): Likewise.
6910         (life_analysis): Give life_analysis_1 PROP flags.
6911         (verify_wide_reg_1, verify_wide_reg): New.
6912         (verify_local_live_at_start): New.
6913         (update_life_info): Rewrite to call into propogate_block.
6914         (mark_reg): New.
6915         (mark_regs_live_at_end): After reload, if epilogue as rtl, 
6916         always mark stack pointer.  Conditionally mark PIC register.
6917         After reload, mark call-saved registers, return regsiters.
6918         (life_analysis_1): Accept PROP flags not remove_dead_code.
6919         Call mark_regs_live_at_end before zeroing regs_ever_live.
6920         Use calculate_global_regs_live.  Copy global_live_at_end before
6921         calling final propagate_block.  Zero reg_next_use on exit.
6922         (calculate_global_regs_live): New.
6923         (allocate_bb_life_data): Don't allocate bb->local_set.
6924         (init_regset_vector, free_regset_vector): Remove.
6925         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
6926         Test flags before every operation.  Warn if prologue/epilogue insn
6927         would have been deleted.
6928         (mark_set_regs, mark_set_1): Accept and use FLAGS. 
6929         Use alloc_EXPR_LIST.
6930         (mark_used_regs): Accept and use FLAGS, not FINAL.
6931         Remove special handling for RETURN.
6932         (try_pre_increment): Use alloc_EXPR_LIST.
6933         (dump_flow_info): Dump n_edges.
6934         (unlink_insn_chain, split_hard_reg_notes): Remove.
6935         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
6936         (find_insn_with_note, new_insn_dead_notes): Remove.
6937         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
6938         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
6939         (replace_insns): Remove.
6940         (count_or_remove_death_notes): New.
6941         (verify_flow_info): Abort on error after all checks.
6942         (remove_edge): Decrement n_edges.
6943         (remove_fake_edges): Tweek format.
6944         * haifa-sched.c (schedule_insns): Use split_all_insns.
6945         * output.h (update_life_info): Remove declaration.
6946         * recog.c (split_all_insns): From the corpse of split_block_insns,
6947         do the whole function block by block.  Use update_life_info.
6948         (recog_last_allowed_insn): New.
6949         (recog_next_insn): Mind it.
6950         (peephole2_optimize): Set it.  Walk backwards through blocks.
6951         Use update_life_info.
6952         * rtl.h (update_flow_info, replace_insns): Remove declarations.
6953         (split_all_insns): Declare.
6954         * toplev.c (rest_of_compilation): Thread prologue before flow2.
6955         Use split_all_insns.
6956
6957         * i386.md (or -1 peep2s): Disable.
6958
6959 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
6960
6961         * config/mips/mips.md (movstrsi+[123]) : Combine these into
6962         a single pattern.  Scrap the 'd' versions as unnecessary. 
6963
6964         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
6965         tablejump_mips162,tablejump_internal4): The operands to a
6966         label_ref must be VOIDmode.
6967
6968 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6969
6970         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
6971
6972 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
6973
6974         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
6975
6976 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
6977
6978         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
6979         cache every function if ggc_p.
6980
6981 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6982
6983         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
6984         instead of copy_rtx.  Accept sequences that contain asm statements.
6985         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
6986         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
6987         orig_asm_operands_vector, copy_asm_operands_vector,
6988         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
6989         variables.
6990         * rtl.h (copy_insn, copy_insn_1): Declare.
6991
6992 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6993
6994         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
6995
6996         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
6997         arguments to `current_file_function_operand'.
6998
6999         * genrecog.c: Include hard-reg-set.h and resource.h in the
7000         generated output file.
7001
7002         * real.c: Include tm_p.h.
7003
7004 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7005
7006         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
7007         output operand.
7008
7009 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
7010
7011         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
7012         before the fctiwz insn.
7013
7014 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7015                           Mark Mitchell  <mark@codesourcery.com>
7016
7017         * tree.c (make_lang_type_fn): New funtion pointer.
7018         (make_lang_type): Call it.
7019         * tree.h (make_lang_type): Declare.
7020         (make_lang_type_fn): Likewise.
7021         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
7022
7023 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
7024
7025         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
7026         make sure that HIGH instructions are copied into BASE_REGS.
7027
7028 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
7029
7030         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
7031
7032 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
7033
7034         * c-decl.c (finish_struct): Use simpler method of
7035         removing elements of a singly-linked list.
7036
7037 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
7038
7039         * alpha.md (peephole2's): Comment out peephole2's that generate
7040         buggy code.
7041
7042 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
7043
7044         * genrecog.c (add_to_sequence): Disable mode check for
7045         wildcard matches.
7046
7047 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7048
7049         * ggc-simple.c (init_ggc): Set empty_string.
7050
7051 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
7052
7053         * configure.in: Detect mmap.  Add --with-gc=foo to select
7054         garbage collector; default to page if mmap available.
7055         * Makefile.in (GGC): Substitute.
7056
7057 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
7058
7059         * c-decl.c (ggc_p): Enable.
7060
7061 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7062
7063         * flow.c (verify_flow_info): Make it extern & unconditionally define.
7064
7065 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
7066
7067         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
7068         string for little-endian-data.
7069
7070 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
7071
7072         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
7073         case somebody tries to compile --enable-checking code with gcc
7074         1.34 or such.
7075
7076 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
7077
7078         * genrecog.c (add_to_sequence): Verify operand to label_ref is
7079         VOIDmode.
7080
7081 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
7082
7083         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
7084         * jump.c (jump_optimize_1): Document why.
7085
7086 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7087
7088         * collect2.c (scan_prog_file, scan_libraries): Prototype function
7089         pointers and casts for `int_handler' and `quit_handler'.
7090
7091         * flow.c (verify_flow_info, split_hard_reg_notes,
7092         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
7093         remove_edge, remove_fake_successors): Add static prototypes.
7094         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
7095         (mark_set_1): Initialize variable `regno'.
7096         (unlink_insn_chain): Likewise for variable `curr'.
7097         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
7098
7099         * loop.c (strength_reduce): Initialize variable
7100         `unrolled_insn_copies'.
7101         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
7102         prototypes.  Change these functions to take const PTR parameters
7103         to avoid prototype conflict when used as the comparson argument
7104         for qsort.
7105         (check_dbra_loop): Initialize variable `comparison_val'.
7106
7107         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
7108         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
7109         (find_valid_class): Initialize variable `best_class'.
7110         (find_reloads): Call memcpy, not bcopy.
7111
7112         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
7113         (hard_reg_use_compare): Don't needlessly cast away const.
7114         (reload_reg_class_lower): Likewise.
7115         (choose_reload_regs): Initialize variable `regno'.
7116
7117 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
7118
7119         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
7120
7121 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
7122
7123         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
7124         ({,d}discard): Add forward declarations.  Declare parameter as
7125         unused.
7126         (main_without_main): Explicitly declare return type to be int.
7127         (memcpy): Properly declare.
7128
7129         * libgcc2.c (toplevel): If inhibit_libc is defined and not
7130         building the trampoline support, declare malloc, free, and
7131         atexit.
7132         (__clear_cache): Mark arguments as potentially unused.
7133         
7134         * frame.c (toplevel): If inhibit_libc is defined, declare
7135         malloc and free.
7136
7137 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
7138
7139         * flow.c (make_edge): Accept an optional 2D bitmap in which
7140         to cache edge existence.  Update all callers.
7141         (make_label_edge, make_eh_edge): Pass through the edge cache.
7142         (make_edges): Provide the cache.
7143
7144 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7145
7146         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
7147         a char*.
7148         (local_mbtowc): Change the type of variable `i' from int to size_t.
7149
7150         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
7151         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
7152
7153 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
7154
7155         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
7156         after other includes that define the appropriate types.  Include
7157         tm_p.h for getting user prototypes.
7158         * ggc-callbacks.c (toplevel): Ditto.
7159         * ggc-none.c (toplevel): Ditto.
7160         * gcc-page.c (toplevel): Ditto.
7161         * ggc-simple.c (toplevel): Ditto.
7162
7163 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
7164                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
7165
7166         * config/mips/mips.c (mips_move_2words): Split doubles if
7167         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
7168
7169 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
7170
7171         * genrecog.c (struct decision_test): New.
7172         (struct decision): Remove test-related members, sort the rest by size.
7173         (IS_SPLIT): Simplify.
7174         (new_decision, new_decision_test): New.
7175         (add_to_sequence): Use them.  No special handling for args of
7176         non-MATCH codes.
7177         (maybe_both_true): Renamed from not_both_true; return sense changed.
7178         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
7179         of maybe_both_true and adjusted for decision_test.
7180         (position_merit): Remove.
7181         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
7182         (merge_accept_insn): New, broken out of merge_trees.
7183         (merge_trees): Use them.  No special case for c_test; no node
7184         splitting; use test type instead of position_merit.
7185         (factor_tests): New.
7186         (simplify_tests): New.
7187         (break_out_subroutines): Don't write code now.
7188         (find_afterward): New.
7189         (write_afterward, write_switch, write_cond): New.
7190         (write_action, is_unconditional): New.
7191         (write_node): New.  Use them.
7192         (write_tree_1): Rewrite.  Use the new functions above.
7193         (write_tree): Remove afterward processing.
7194         (write_subroutine): Simplify function variant emission.
7195         (write_subroutines): New.
7196         (same_codes, clear_codes): Remove.
7197         (same_modes, clear_modes): Remove.
7198         (write_header): New, broken out of main.
7199         (make_insn_sequence): Use new_decision and new_decision_test.
7200         (process_tree): New, broken out of main.
7201         (main): Adjust for merge_trees interface change. 
7202         Don't #define operands in the output file.
7203         (record_insn_name): New, broken out of make_insn_sequence.
7204         (debug_decision_2, debug_decision_1, debug_decision_0): New.
7205         (debug_decision): New.
7206
7207 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
7208
7209         * resource.c (find_free_register): Mark class_str argument const.
7210         * resource.h: Update prototype to match.
7211
7212         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
7213         * i386.md: Give all anonymous insns names.
7214
7215 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
7216
7217         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
7218         blocks.
7219
7220 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
7221
7222         * toplev.c (dbr_sched_time): Unconditional.
7223         (peephole2_time): New.
7224         (compile_file): Add pass numbers to all of the dump file suffixes.
7225         Dump peephole2_time.  Don't dump times for non-applicable passes.
7226         (rest_of_compilation): Add pass numbers to dump file suffixes.
7227         Conditionalize calls to the scheduler.
7228         * invoke.texi: Update.
7229
7230 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
7231
7232         * flow.c (make_edges): Fix insn iteration.
7233         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
7234         (find_basic_blocks_1): Fix spelling mistake.
7235
7236 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
7237
7238         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
7239         always have side-effects.  Use memset not bzero.
7240         (make_node): Likewise.
7241
7242 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
7243
7244         * stmt.c (expand_anon_union_decl): When any of the elements of the
7245         union is addressable, so is the entire union.
7246
7247 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
7248
7249         * sbitmap.c (sbitmap_ones): Don't set too many bits.
7250
7251         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
7252         * bitmap.c (bitmap_operation): Return true iff TO changed.
7253         (bitmap_equal_p): New.
7254         (bitmap_bit_p): Tidy arithmetic.
7255         (debug_bitmap_file): Likewise.
7256
7257 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
7258
7259         * toplev.c (rest_of_compilation): Turn on cse_not_expected
7260         before cse2 instead of after.
7261
7262 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
7263
7264         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
7265         register offsets. 
7266
7267 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7268
7269         * cppinit.c (is_idchar initializer): Loosen tests to accept
7270         gcc 2.>6 and >2.
7271
7272 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
7273
7274         * mips.md: Define conditional move patterns for floating point
7275         operands and DI mode conditions.
7276
7277 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
7278
7279         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
7280         always have side-effects.
7281
7282 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
7283
7284         * mn10200.c (asm_file_start): Fix typo.
7285
7286         * cppinit.c (is_idchar initializer): Tighten tests for when
7287         to put the table into initialized memory.
7288
7289         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
7290         not an array of rtunion.
7291         * gcc-page.c (ggc_alloc_rtvec): Similarly.
7292         * gcc-simple (ggc_free_rtvec): Similarly.
7293
7294         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
7295         of rtunions.
7296
7297         * mbchar.h: Add missing #endif.
7298
7299         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
7300         (FPBIT, DPBIT): Define.
7301
7302 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7303
7304         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
7305
7306         * profile.c (instrument_arcs, output_gcov_string,
7307         tablejump_entry_p): Add static prototypes.
7308         (output_gcov_string): Constify a char*.
7309         
7310         * regmove.c (replacement_quality, fixup_match_2): Add static
7311         prototypes.
7312
7313         * resource.h (reg_dead_p): Add extern prototype.
7314
7315         * rtl.c (trim_filename): Add static prototype.
7316
7317         * scan-decls.c (skip_to_closing_brace): Likewise.
7318
7319         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
7320         (expand_end_case): Initialize variable `range'.
7321         (emit_case_nodes): Remove unused prototype `rtx_fn'.
7322
7323         * varasm.c (asm_emit_uninitialised): Add static prototype.
7324         (asm_emit_uninitialised, assemble_variable): Mark parameter with
7325         ATTRIBUTE_UNUSED.
7326
7327 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7328
7329         * cpplib.c (if_directive_nameo): Add static prototype.
7330
7331         * cse.c (cse_insn): Remove unused variable `p'.
7332
7333         * except.c (create_rethrow_ref, push_entry,
7334         receive_exception_label, new_eh_region_entry, find_func_region,
7335         clear_function_eh_region, process_nestinfo): Add static prototypes.
7336         (get_reg_for_handler): Hide definition.
7337         (process_nestinfo): Initialize variable `extra_handlers'.
7338
7339         * expr.h (expand_builtin_longjmp): Add extern prototype.
7340
7341         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
7342
7343         * function.c (prepare_function_start): Likewise.
7344         (pop_function_context_from): Mark parameter `context' with
7345         ATTRIBUTE_UNUSED.
7346         (push_temp_slots_for_block, flush_addressof): Hide definition.
7347         
7348         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
7349         solve_program_flow_graph, calculate_branch_probs,
7350         function_summary, main, fancy_abort): Add prototypes.
7351
7352         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
7353         (add_hash): Constify a char*.
7354
7355         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
7356         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
7357         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
7358
7359         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
7360
7361         * lists.c (free_list, zap_lists): Likewise.
7362
7363 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7364
7365         * alias.c (nonlocal_reference_p): Add static prototype.
7366
7367         * bitmap.c (bitmap_element_allocate): Prototype args in function
7368         pointer cast.
7369
7370         * builtins.c (stabilize_va_list): Add static prototype.
7371         (expand_builtin_va_arg): Constify a char*.
7372         
7373         * c-lex.c (getch, put_back, extend_token_buffer_to,
7374         read_line_number, token_getch, token_put_back): Add static
7375         prototypes.
7376
7377         * c-parse.gperf (hash, is_reserved_word): Likewise.
7378
7379         * cccp.c (is_dir_separator): Likewise.
7380
7381 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7382
7383         * graph.h: New file to prototype functions exported by graph.c.
7384
7385         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
7386
7387         * graph.c: Include graph.h.
7388
7389         * toplev.c: Likewise.  Remove redundant prototypes.
7390
7391 Sat Oct  2 11:28:33 1999   Krister Walfridsson <cato@df.lth.se>
7392
7393         * invoke.texi: Removed duplicated description for -Q.
7394
7395 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
7396
7397         * extend.texi: Grammar fix in __extension__ text.
7398
7399 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
7400
7401         * md.texi (define_peephole2): New section.
7402
7403 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
7404
7405         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
7406         (mov $-1 to or peepholer): Enable for pentium when optimizing for
7407         speed.
7408
7409 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
7410
7411         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
7412
7413 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
7414
7415         * i386.md (ffs expander): Emit Pentium friendly code for
7416         TARGET_PENTIUM.
7417
7418 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
7419
7420         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES 
7421         for non-trees.
7422         (build1): Likewise.
7423         
7424 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7425
7426         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
7427
7428 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
7429
7430         * config/m68k/m68k.c (use_return_insn): Return false if the pic
7431         register is in use.
7432
7433 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7434
7435         * md.texi (No Constraints): Delete section.
7436         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
7437         * final.c (final_scan_insn): We always have register constraints.
7438         * genattrtab.c: Don't include "insn-config.h".
7439         (write_attr_case): We always have register constraints.
7440         * genconfig.c (register_constraint_flag): Delete.
7441         (walk_insn_part): Don't check whether we have register constraints.
7442         (main): Don't write out "#define REGISTER_CONSTRAINTS".
7443         * genoutput.c (have_constraints): Delete.
7444         (main): Don't set it.
7445         (output_operand_data): We always have constraints.
7446         (scan_operands): Likewise.
7447         (compare_operands): Likewise.
7448         * local-alloc.c (block_alloc): We always have constraints.
7449         (requires_inout): Always compile this function.
7450         * recog.c (extract_insn): We always have constraints.
7451         (constrain_operands, reg_fits_class_p): Always compile these
7452         functions.
7453         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
7454         fields.
7455         (struct insn_operand_data): Likewise.
7456         * regclass.c (regclass): We always have constraints.
7457         (record_reg_classes, copy_cost, record_address_regs,
7458         auto_inc_dec_reg_p): Always compile these functions.
7459         * regmove.c (regmove_optimize): We always have constraints.
7460         * reload.c (find_reloads): Likewise.
7461         * reload1.c (reload): Likewise.
7462         (reload_cse_simplify_operands): Likewise.
7463         * i860.c (output_delay_insn): Likewise.
7464
7465 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
7466
7467         * iris6.h (BUILD_VA_LIST_TYPE): Define.
7468
7469 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7470
7471         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
7472         for the va_list record.
7473
7474 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
7475
7476         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
7477         prologues.
7478
7479 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
7480
7481         * alias.c: Include insn-flags.h.
7482         * Makefile.in (alias.o): Update.
7483
7484 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
7485
7486         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
7487         to LTU and GEU.  Handle more cases using sbb.
7488
7489 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
7490
7491         * i386.md (truncatexfdf splitters): Do not use subreg.
7492         (fop XFmode patterns): Fix mode in operand testing.
7493
7494 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
7495
7496         * jump.c (jump_optimize_1): Amend last change to test only the
7497         form of the operand, not the insn.
7498
7499         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
7500         not register_operand to determine when B may need preloading.
7501
7502 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
7503
7504         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
7505         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
7506         (call-value patterns): Move to end of file.
7507         (*): Remove mode from label_ref in (pc) context.
7508         (movstrqi): Use memory not general_operand for BLKmode operands.
7509         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode 
7510         to register_operand operands.
7511         (peep2 patterns): Convert from commented-out peephole patterns.
7512
7513 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7514
7515         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
7516         to BUILT_IN_INIT_DWARF_REG_SIZES.
7517         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
7518         Renamed from BUILT_IN_DWARF_REG_SIZE; call
7519         expand_builtin_init_dwarf_reg_sizes.
7520         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
7521         with __builtin_init_dwarf_reg_size_table.
7522         * dwarf2out.c (struct reg_size_range): Delete.
7523         (expand_builtin_init_dwarf_reg_sizes): New function.
7524         (expand_builtin_dwarf_reg_size): Delete.
7525         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
7526         (expand_builtin_dwarf_reg_size): Don't declare.
7527         * libgcc2.c (dwarf_reg_size_table_initialized): New.
7528         (dwarf_reg_size_table): New.
7529         (init_reg_size_table): New function.
7530         (copy_reg): Use dwarf_reg_size_table.
7531         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
7532         before use.
7533
7534 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
7535
7536         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): 
7537         Correctly build argument list to constructor and destructor functions.
7538
7539 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
7540
7541         * c-tree.h (warn_float_equal): Declare.
7542         * c-decl.c (warn_float_equal): Define.
7543         (c_decode_option): Recognize -W[no-]float-equal.
7544         * c-typeck.c (build_binary_op): Conditionally warn
7545         about equality tests of floating point types.
7546         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
7547         * invoke.texi: Add docs for -Wfloat-equal warning.
7548
7549 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
7550
7551         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
7552         generating RTL directly.
7553         * mips.h (INIT_TARGET_OPTABS): Likewise.
7554         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
7555
7556         * expr.h (init_mov_optab): Delete declaration
7557
7558         * h8300.c (WORD_REG_USED): Update to avoid useless register
7559         saves in interrupt functions and functions which never return.
7560
7561         * cse.c (struct set): Delete inner_dest_loc field. 
7562         (cse_insn): Remove assignments to inner_dest_loc field.
7563
7564 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
7565
7566         * ggc-page.c: Don't include <unistd.h> etc taken care of
7567         by "system.h".  Include <sys/mman.h> afterward.
7568
7569 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
7570
7571         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
7572         ggc_alloc_string.
7573
7574 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
7575
7576         * xcoffout.c (xcoffout_declare_function): Add documentation.
7577         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
7578         TARGET_64BIT.  Compare constant to -1, not bit pattern.
7579         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
7580         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
7581         gen_movsi typos.
7582
7583 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
7584
7585         * dwarf2out.c (add_abstract_origin_attribute): Abort if
7586         origin_die is NULL.
7587         (gen_inlined_enumeration_type_die): Do not abort if the type has
7588         not been writeen out.
7589         (gen_inlined_structure_type_die): Do not abort if the type has
7590         not been writeen out.
7591         (gen_inlined_union_type_die): Do not abort if the type has
7592         not been writeen out.
7593         (gen_tagged_type_instantiation_die): Do not abort if the type
7594         has not been written out.
7595
7596 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7597
7598         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
7599         call it.
7600         * reg-stack.c (straighten_stack): Copy hard reg set with
7601         COPY_HARD_REG_SET.
7602
7603 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
7604
7605         * builtins.c (stabilize_va_list): Stabilize array type va_list
7606         to a pointer type, not the base record type.
7607         (expand_builtin_va_copy): Dereference the pointers explicitly;
7608         use the correct size for the copy.
7609
7610         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
7611         (rs6000_va_arg): Likewise.
7612
7613 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
7614
7615         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
7616
7617 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
7618
7619         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
7620         field.
7621         (DECL_BUILT_IN_CLASS): Adjust accordingly.
7622
7623 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
7624
7625         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
7626         (init_ggc): Use it instead of a constant.
7627         (ggc_collect): Bound allocated_last_gc by it.
7628
7629 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
7630
7631         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
7632         with va_list.
7633
7634 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
7635
7636         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
7637         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
7638         * configure:  Regen.
7639         * config/mips/openbsd.h:  New, OpenBSD little endian target.
7640         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
7641         * config/mips/xm-openbsd.h:  New, OpenBSD host.
7642
7643 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
7644
7645         * config/m68k/m68k.c (output_function_prologue,
7646         output_function_epilogue): Use
7647         current_function_uses_pic_offset_table instead of regs_ever_live
7648         to decide whether to save/restore pic register.
7649         (legitimize_pic_address): Don't modify regs_ever_live any more.
7650
7651 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
7652
7653         * function.h (struct function): Add x_dont_save_pending_sizes_p.
7654         * stor-layout.c (variable_size): Don't add sizes to the pending
7655         sizes list if x_dont_save_pending_sizes_p is set.
7656         
7657 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
7658
7659         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
7660         for symbolic_operand().
7661         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
7662
7663 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7664
7665         * combine.c (gen_rtx_combine): Add missing call to va_end().
7666
7667         * final.c (asm_fprintf): Likewise.
7668
7669         * genattrtab.c (attr_rtx): Likewise.
7670
7671 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
7672
7673         * cse.c: Update comments.
7674         (cse_insn): When converting a conditional/computed jump into
7675         an unconditional jump, always make sure a BARRIER immediately
7676         follows the converted jump.  Do not delete unreachable code.
7677         (cse_basic_block): Do not delete unreachable code.
7678         * toplev.c (rest_of_compilation): Move call to 
7679         delete_trivially_dead_insns after the conditional call to
7680         jump_optimize.
7681
7682 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7683
7684         * collect2.c (make_temp_file): Don't prototype.
7685
7686         * gcc.c (make_temp_file): Likewise.
7687
7688         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
7689
7690 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
7691
7692         * varasm.c (asm_emit_uninitialised): New function: Generate
7693         the assembler statements necessary to declare an uninitialised 
7694         variable.
7695         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
7696         variable.
7697         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
7698         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
7699         section.
7700         (assemble_variable): Use asm_emit_uninitialised to emit an
7701         uninitialised variable.
7702
7703 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
7704
7705         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
7706         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
7707         <geoffk@cygnus.com>.
7708
7709 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7710
7711         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
7712         * c-common.h (builtin_function): Don't declare.
7713
7714         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
7715         DECL_BUILT_IN.
7716         (pushdecl): Likewise.
7717         (finish_decl): Likewise.
7718         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
7719         int.  All callers changed.
7720         Set the builtin's DECL_BUILT_IN_CLASS.
7721         * tree.h (enum built_in_class): New.
7722         (enum built_in_function): Delete NOT_BUILT_IN.
7723         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
7724         in a union.
7725         (DECL_SET_FUNCTION_CODE): Likewise.
7726         (DECL_BUILT_IN_CLASS): New macro.
7727         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
7728         (struct tree_decl): Split builtin function code field into a
7729         struct.
7730         (builtin_function): Declare.
7731
7732 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
7733
7734         * optabs.c (init_traps): Fix typo in last change.
7735
7736 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
7737
7738         * toplev.c (rest_of_decl_compilation): Update comment.
7739
7740 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
7741
7742         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
7743         in .sbss if appropriate.
7744         (EXTRA_SECTION_FUNCTIONS): Add sbss.
7745         (SBSS_SECTION_ASM_OP): New macro.
7746         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
7747         (EXTRA_SECTIONS): Add in_sbss.
7748         * config/mips/mips.h: Prototype sbss_section.
7749
7750 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
7751
7752         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
7753         to disappear.
7754
7755 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
7756
7757         * optabs.c (init_traps): Register trap_rtx as a GC root.
7758
7759 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7760
7761         * config/mips/mips.c (function_arg_pass_by_reference): Define
7762         unconditionally, since it's called unconditionally.
7763
7764 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
7765
7766         * toplev.c (documented_lang_options): Add -fshort-wchar.
7767         * c-decl.c (c_decode_option): Likewise.
7768         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
7769         for wchar_t.
7770         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
7771         * gcc.c (default_compilers): If -fshort-wchar, 
7772         override __WCHAR_TYPE__.
7773         * tm.texi (C Dialect Options): Add -fshort-wchar.
7774
7775         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
7776         symbol for a variable.
7777
7778         * cpplib.h (CPP_PREPROCESSED): New macro.
7779         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
7780         we're seeing this input for a second time.
7781
7782 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
7783
7784         * emit-rtl.c (init_emit_once): Initialize modes first.
7785
7786 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
7787
7788         * config/i386/i386.c (pic_label_name): Change to char pointer.
7789         (global_offset_table): New variable.
7790         (load_pic_register): Fill global_offset_table if it hasn't
7791         already been done.  Allocate pic_label_name dynamically.
7792         * ggc.h (empty_string): New variable.
7793         * ggc-simple.c (empty_string): Likewise.
7794         (init_ggc): Allocate empty_string and add as root.
7795         * stmt.c (digit_strings): New variable.
7796         (init_stmt): Add last_block_end_note as root.  Allocate and
7797         initialize digit_strings. 
7798         (expand_asm_operands): Use empty_string instead of string
7799         constant.  Use digit_strings instead of string constants.
7800         * profile.c (init_arc_profiler): Allocate string with
7801         ggc_alloc_string instead of xmalloc.
7802         (output_func_start_profiler): Likewise.
7803         * c-typeck.c (digest_init): Check if init is error_mark_node.
7804
7805 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
7806                           Richard Henderson  <rth@cygnus.com>
7807
7808         * ggc-page.c: New file.
7809         * Makefile.in (ggc-page.o): New.
7810
7811 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
7812
7813         * invoke.texi: Document -fdelete-null-pointer-checks
7814         * toplev.c (flag_delete_null_pointer_checks): New.
7815         (f_options): Add entry for -fdelete-null-pointer-checks.
7816         (rest_of_compilation): Conditionalize null pointer check
7817         elimination on flag_delete_null_pointer_checks.
7818         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
7819
7820 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
7821
7822         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
7823         copyright notice and special exception to GPL.
7824
7825 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7826
7827         * abi64.h (mips_function_value): Add prototype arguments.
7828
7829         * mips-protos.h: New file with mips prototypes.
7830
7831         * mips.c: Include "tm_p.h".
7832         (mktemp, lookup_name): Add prototype arguments.
7833         (extern_list, string_constant, mips_fill_delay_slot,
7834         mips_output_external, mips_output_external_libcall,
7835         mips_output_filename, mips_declare_object, function_prologue,
7836         mips_expand_prologue, function_epilogue, mips16_constant,
7837         build_mips16_function_stub, mips_output_conditional_branch):
7838         Constify a char*.
7839         (mips_va_start): Remove unused variable `u'.
7840         (mips_va_arg): Cast value to unsigned when comparing against one.
7841         (trace): Delete.
7842         (save_restore_insns, mips_expand_prologue): Add missing arg in
7843         call to `large_int'.
7844
7845         * mips.h: Move prototypes to mips-protos.h.
7846         (data_section, memory_address_p, rdata_section,
7847         readonly_data_section, simple_epilogue_p, text_section): Delete
7848         prototypes delcared elsewhere.
7849         (mips_epilogue_delay_slots, print_options): Delete unused decls.
7850         (trace): Delete.
7851         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
7852
7853         * mips.md: Delete extra args in call to `mips_move_2words'.
7854
7855         * xm-iris6.h (alloca): Add prototype argument.
7856
7857         * genpeep.c: Include "tm_p.h" in generated output file.
7858
7859 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
7860
7861         * basic-block.h (find_edge_index): Change parameters.
7862         * flow.c (verify_edge_list): Pass basic_block parameters to
7863         find_edge_index instead of integers.
7864
7865 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
7866
7867         * combine.c (simplify_comparison): Use an unsigned shift to adjust
7868         the constant.
7869
7870 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
7871
7872         * gcc.1: Fix a formatting error.
7873
7874 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7875
7876         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
7877         i786, mn10200, mn10300, pdp11, v850.
7878
7879 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
7880
7881         * libgcc2.c (num_digits): Add prototype with 
7882         __attribute__((const)).
7883         (__terminate): Add prototype.
7884
7885 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
7886
7887         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
7888
7889         * alpha/alpha.c (print_operand): Fix type of `code'.
7890         (alpha_output_filename): Constify.
7891         * alpha/alpha.h: Move all function declarations ...
7892         * alpha/alpha-protos.h: ... here.  New file.
7893         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
7894         (SECTION_FUNCTION_TEMPLATE): Likewise.
7895
7896 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7897
7898         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
7899         * expr.c (expand_expr): Likewise.
7900         (do_jump): Likewise.
7901         (do_store_flag): Pass ccp_store_flag to can_compare_p.
7902         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
7903         accessor macros.
7904         (enum can_compare_purpose): New.
7905         (can_compare_p): Adjust prototype.
7906         (prepare_cmp_insn, prepare_operand): Declare.
7907         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
7908         * optabs.c (cmp_available_p): Deleted.
7909         (expand_abs): Pass ccp_jump to can_compare_p.
7910         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
7911         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
7912         Call can_compare_p rather than cmp_available_p.
7913         (prepare_operand): No longer static.
7914         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
7915         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
7916         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
7917         sequence to use emit_cmp_and_jump_insns.
7918         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
7919
7920 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
7921
7922         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
7923         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
7924         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
7925         (plus (reg) (const_int 0))
7926         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
7927         
7928 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
7929
7930         * rs6000.c (expand_block_move): DImode loads and stores require
7931         word-aligned displacements.  Increment address registers with
7932         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
7933
7934 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
7935
7936         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
7937         is no name for the base type, rather than segfault.  If we are
7938         writing out a complex integer type, use DW_ATE_lo_user.
7939
7940         * expr.c (emit_move_insn_1): If we are copying a complex that fits
7941         in one word or less (complex char, complex short, or on 64 bit
7942         systems complex float) to/from a hard register, copy it through
7943         memory instead of dying in gen_{real,imag}part.  If we have a
7944         short complex type, prevent inlining since it allocates stack
7945         memory.
7946
7947         * tree.c (build_complex_type): If we are writing dwarf2 output,
7948         generate a name for complex integer types.
7949
7950 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
7951
7952         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
7953         * flow.c (remove_edge): Remove extra whitespace.
7954         (remove_fake_edges): Fix comment.
7955         (add_noreturn_fake_exit_edges): Use the correct name.
7956
7957 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
7958
7959         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
7960         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
7961         (clean): Depend on INTL_CLEAN.
7962         (maintainer-clean): Adjust.
7963
7964 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7965
7966         * configure.in (AC_PREREQ): Bump to 2.13.
7967         (AC_C_STRINGIZE): Call this instead of using a custom macro.
7968
7969         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
7970
7971         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
7972
7973         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
7974
7975         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
7976         (HAVE_STRINGIZE): Define.
7977
7978 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
7979
7980         * c-parse.in: save and restore warn_pointer_arith on __extension__
7981         along with pedantic.
7982         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
7983         Set the type of extension to itype rather than $<itype>1 kludge.
7984         * extend.texi (Alternate Keywords): Adjust documentation.
7985         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
7986
7987 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
7988
7989         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
7990         most assembler templates.
7991
7992         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
7993         FP loads and stores.
7994         (following_call): Always return zero for the PA8000.
7995         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
7996         FP loads and stores.
7997         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
7998
7999         * pa.h (BRANCH_COST): Define.
8000
8001         * pa.md (return, return_internal): Use bve for PA2.0.
8002
8003         * pa.md (fused multiply): Add variants which reduce height for the
8004         fused multiply, but which still generate 2 insns.
8005         (fnegabs): Similarly.
8006
8007         * pa.md (subsi3): Turn into an expander.  Create two anonymous
8008         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
8009         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
8010
8011         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
8012         for TARGET_PA_20.
8013         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
8014         code generation.
8015         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
8016         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
8017
8018         * regclass.c (init_regs): Add "top_of_stack" as a garbage
8019         collection root.
8020
8021         * flow.c (record_active_eh_regions): Terminate loop after finding
8022         the last insn in the last basic block.
8023
8024 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8025
8026         * config/c4x/c4x.md: Delete parallel instruction peepholes.
8027
8028 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8029
8030         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
8031
8032 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8033
8034         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
8035         splitting to not use output template.
8036
8037 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8038
8039         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
8040         * config/c4x/c4x.c (c4x_va_start): New function.
8041
8042 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
8043
8044         * genrecog.c (not_both_true): Handle correctly cases when called for
8045         tests with different positions in the insn.
8046
8047 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8048
8049         * machmode.h (HOST_PTR_PRINTF): Move from here ...
8050
8051         * system.h (HOST_PTR_PRINTF): ... to here.
8052
8053         * mips-tfile.c: Don't include machmode.h.
8054
8055         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
8056         (mips-tfile.o): Don't depend on machmode.h.
8057
8058 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8059
8060         * haifa-sched.c (sched_analyze): Rename local variable `region' to
8061         avoid conflicts with typedef struct `region' at the top level scope.
8062
8063 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
8064
8065         * basic-block.h (basic_block): Add eh_beg, eh_end.
8066         * flow.c (entry_exit_blocks): Update.
8067         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
8068         Call new functions.
8069         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
8070         lists.c functions to allocate insn lists.
8071         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
8072         edge creation ...
8073         (make_eh_edge): ... here.  New.
8074         (move_stray_eh_region_notes): New.
8075         (record_active_eh_regions): New.
8076         (delete_unreachable_blocks): Split out block merging ...
8077         (try_merge_blocks): ... here.  New.
8078         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
8079         Dump debugging data.
8080         (merge_blocks_move_successor_nojumps): Likewise.
8081         (merge_blocks): Use eh_beg+eh_end to validate block movement.
8082
8083 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8084
8085         * extend.texi (Bound member functions): Document unbound pmf
8086         conversion.
8087
8088 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8089
8090         * flow.c (split_edge): Handle insertion on a fallthrough edge which
8091         has the EXIT_BLOCK as a dest.
8092
8093 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8094
8095         * flow.c (remove_edge): New function to remove an edge from the 
8096         flow graph.
8097         (remove_fake_successors): New function to remove fake successor edges.
8098         (remove_fake_edges): New function to remove all fake edges from the
8099         flow graph.
8100         (add_fake_exit_edges): New function to add fake edges from all blocks
8101         with no successors to the exit block.
8102         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add 
8103         prototypes for new functions.
8104
8105 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8106
8107         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
8108         Use Pmode to determine whether to output .dword or .word.
8109
8110 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
8111
8112         * tree.c (built_in_filename): New variable.
8113         (BUILT_IN_FILENAME): New macro.
8114         (init_tree_codes): Allocate built_in_filename.
8115         (make_node): Use built_in_filename instead of string constant.
8116
8117 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
8118
8119         * configure.in: Add fr30 target.
8120         * configure: Regenerate.
8121         * config/fr30: New directory.
8122         * config/fr30/crti.asm: New file.
8123         * config/fr30/fr30.c: New file.
8124         * config/fr30/crtn.asm: New file.
8125         * config/fr30/fr30.h: New file.
8126         * config/fr30/fr30.md: New file.
8127         * config/fr30/lib1funcs.asm: New file.
8128         * config/fr30/t-fr30: New file.
8129         * config/fr30/xm-fr30.h: New file.
8130
8131 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
8132
8133         * flow.c (merge_blocks_move_successor_nojumps): Delete the
8134         BARRIER at the end of the successor, not the BARRIER before
8135         the successor.
8136
8137         * pa.c (pa_add_gc_roots): Fix thinko in last change.
8138
8139 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
8140
8141         * stmt.c (any_pending_cleanups): Don't crash when 
8142         current_function->stmt is unset.
8143
8144 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8145
8146         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
8147         other initializations that may use it for relative offsets.
8148
8149 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8150
8151         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
8152         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
8153         * config/i386/sol2dbg.h: Removed.
8154         * config/i386/sol2gas.h: New file, to enable gas work-around.
8155         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
8156         Don't use sol2dbg.h.
8157         * configure: Rebuilt.
8158
8159 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
8160
8161         * invoke.texi (-fthis-is-variable): Remove documentation.
8162
8163 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
8164
8165         * basic-block.h (compute_bb_for_insn): Declare.
8166         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
8167         to use; set size of basic_block_for_insn directly.
8168         (find_basic_blocks): Update.
8169
8170 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8171
8172         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
8173
8174 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8175
8176         * crtstuff.c (ON_EXIT): Delete empty macro definition.
8177         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
8178
8179 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
8180
8181         * c-decl.c (c_decode_option): Extend comment.
8182
8183 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
8184
8185         * toplev.c (progname): Make 'const char *'
8186         (flag_print_mem): Move out of main.
8187         (version_flag): Move out of main.
8188         (filename): Move out of main.
8189         (debug_args): Remove g prefix from options.
8190         (documented_lang_options): Remove cpplib specific options.
8191         (display_help): Add g prefix to debug options.
8192         (check_lang_option): Delete this function.
8193         (decode_d_option): New function: Decode -d... option.
8194         (decode_f_option): New function: Decode -f... option.
8195         (decode_W_option): New function: Decode -W... option.
8196         (decode_g_option): New function: Decode -g... option.
8197         (independent_decode_option): New function: Decode a language
8198         independent command line option.
8199         (main): Invoke lang_decode_option and then
8200         independent_decode_option on each command line option in
8201         turn. 
8202
8203 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
8204
8205         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
8206          * fold-const.c (fold_range_test): Do not try to fold the range
8207          test if the rhs or lhs has side effects.
8208
8209         * basic-block.h (compute_flow_dominators): Declare.
8210
8211         * gcse.c (alloc_code_hoist_mem): New function.
8212         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
8213         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
8214         (hoist_code, one_code_hoisting_pass): Likewise.
8215         (gcse_main): If optimizing for size, then hoist expressions
8216         computed in multiple dominated basic blocks.
8217
8218         * gcse.c (invalid_nonnull_info): New function.
8219         (delete_null_pointer_checks): Likewise.
8220         * rtl.h (delete_null_pointer_checks): Declare.
8221         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
8222
8223         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
8224         (merge-blocks_move_successor_nojumps): Likewise.
8225         (merge_blocks): Allow merging of some blocks, even if it requires
8226         physical movement of the blocks, but not if it requires new jumps.
8227
8228         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
8229         Callers and prototype changed.
8230         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
8231
8232 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8233
8234         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
8235         -YP when both -p and -pg are present.  From i386/sol2.h.
8236
8237 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8238
8239         * Makefile.in (distclean): Delete tm_p.h.
8240         * configure.in: Create a new file, "tm_p.h", from a list in
8241         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
8242         "i386/i386-protos.h".
8243
8244         * alias.c: Include "tm_p.h".
8245         * c-typeck.c: Likewise.
8246         * calls.c: Likewise.
8247         * cse.c: Likewise.
8248         * emit-rtl.c: Likewise.
8249         * explow.c: Likewise.
8250         * expmed.c: Likewise.
8251         * expr.c: Likewise.
8252         * final.c: Likewise.
8253         * flow.c: Likewise.
8254         * fold-const.c: Likewise.
8255         * function.c: Likewise.
8256         * gcse.c: Likewise.
8257         * global.c: Likewise.
8258         * haifa-sched.c: Likewise.
8259         * integrate.c: Likewise.
8260         * jump.c: Likewise.
8261         * local-alloc.c: Likewise.
8262         * loop.c: Likewise.
8263         * optabs.c: Likewise.
8264         * recog.c: Likewise.
8265         * reg-stack.c: Likewise.
8266         * regclass.c: Likewise.
8267         * regmove.c: Likewise.
8268         * reload.c: Likewise.
8269         * reload1.c: Likewise.
8270         * reorg.c: Likewise.
8271         * resource.c: Likewise.
8272         * stmt.c: Likewise.
8273         * stor-layout.c: Likewise.
8274         * toplev.c: Likewise.
8275         * tree.c: Likewise.
8276         * unroll.c: Likewise.
8277         * genattrtab.c (main): Make generated file include "tm_p.h".
8278         * genemit.c (main): Likewise.
8279         * genoutput.c (main): Likewise.
8280         * genrecog.c (main): Likewise.
8281
8282         * i386.h: Delete all prototypes.
8283         * i386.c: Include "tm_p.h".
8284         (ix86_attr_length_default): Call constant_call_address_operand
8285         with correct number of arguments.
8286         * i386-protos.h: New file.
8287         * i386.md (unnamed patterns): Call constant_call_address_operand
8288         with correct number of arguments.
8289         (exception_receiver): Call load_pic_register with correct number
8290         of arguments.
8291
8292 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
8293
8294         * c-pragma.c (mark_align_stack): Dereference the void* properly.
8295
8296 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
8297
8298         * rtl.h (insns_safe_to_move_p): New function.
8299         * loop.c (find_and_verify_loops): Use it.
8300         * rtlanal.c (insns_safe_to_move_p): Define it.
8301
8302 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
8303
8304         * c-pragma.c: Include ggc.h.
8305         * Makefile.in (c-pragma.o): Update.
8306
8307 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8308
8309         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
8310         (LIB_SPEC): Likewise.
8311         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
8312         Reindent -YP/-p/-pg.
8313         Copied from config/sparc/sol2.h.
8314
8315 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
8316
8317         * c-pragma.c (mark_align_stack): New.
8318         (init_pragma): New.
8319         * c-pragma.h (init_pragma): Declare it.
8320         * c-lex.c (init_parse): Call it.
8321
8322 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8323
8324         * configure.in: Pick up thread library on Solaris/x86 just
8325         like on Solaris/sparc.
8326         * configure: Rebuilt.
8327
8328 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
8329
8330         * rtl.h (global_rtx_index): New enum.
8331         (global_rtl): Change to array of rtx.
8332         (pc_rtx, cc0_rtx): Redefine accordingly.
8333         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
8334         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
8335         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
8336         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
8337         (const_int_rtx): Change to array of rtx.
8338         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
8339         accordingly. 
8340         * emit-rtl.c (global_rtl): Change to array of rtx.
8341         (const_int_rtx): Change to aray of rtx.
8342         (gen_rtx_CONST_INT): Redefine accordingly.
8343         (init_emit_once): Allocate and initialize global_rtl.  Likewise
8344         for const_int_rtx.  Add both as GC roots.
8345         * genattrtab.c (global_rtl): Update declaration.
8346
8347 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
8348
8349         * Makefile (USER_H): Add iso646.h back.
8350
8351 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
8352
8353         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
8354         zapping the LOG_LINKS of sched_before_next_call.
8355
8356         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
8357         * pa.c (insn_refs_are_delayed): Renamed from
8358         insn_sets_and_refs_are_delayed.
8359
8360 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
8361
8362         * functiion.h (struct function): Add x_whole_function_mode_p.
8363         (retrofit_block): Declare.
8364         * function.c (retrofit_block): New function.
8365         (identify_blocks): Add assertions.  Allow an incomplete set of
8366         block notes if we're still generating code for the function.
8367         * integrate.c: Include loop.h.
8368         (expand_inline_function): Call find_loop_tree_blocks to map block
8369         notes to blocks when in whole-function mode.  Use retrofit_block
8370         to insert new BLOCKs for the inlined function, rather than
8371         insert_block.
8372         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
8373         * Makefile.in (integrate.o): Depend on loop.h.
8374
8375 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
8376
8377         * tree.h (warn_about_unused_variables): Declare.
8378         * stmt.c (warn_about_unused_variables): New function, split out
8379         from ...
8380         (expand_end_bindings): Here.
8381
8382 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
8383
8384         * stmt.c (preserve_subexpressions_p): Don't crash when
8385         current_function->stmt is unset.
8386
8387 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
8388
8389         * stmt.c (expand_start_bindings): Allow callers to pass a flag
8390         indicating that no NOTE_INSN_BLOCK_BEG note is required.
8391         (expand_start_target_temps): Use it.
8392         * except.c (expand_eh_region_start_for_decl): Likewise.
8393         * expr.c (expand_expr): Likewise.
8394
8395 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8396
8397         * fold-const.c (operand_equal_p): Pay attention to side effects.
8398
8399 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
8400
8401         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
8402         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
8403
8404         * tlink.c (scan_linker_output): Look for keywords before accepting
8405         a mangled name in quotes.
8406
8407 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
8408
8409         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
8410         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
8411
8412 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
8413
8414         * alpha.md: Revert Thu Nov 26 change that came in through the
8415         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
8416         Avoid earlyclobber when possible.
8417
8418 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8419
8420         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
8421
8422         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
8423         Define HAVE_ON_EXIT.
8424
8425 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8426
8427         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
8428         CTYPE_CONV in all ctype macros.
8429
8430         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
8431         from system.h.
8432
8433         * cexp.y (initialize_random_junk): Likewise.
8434
8435         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
8436
8437         * i370.c (handle_pragma): Likewise.
8438
8439         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
8440
8441         * v850.c (override_options): Likewise.
8442
8443         * doprint.c (_doprnt): Likewise.
8444
8445         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
8446         Likewise.
8447
8448         * fixinc/server.c (load_data): Likewise.
8449
8450         * fold-const.c (real_hex_to_f): Likewise.
8451
8452         * genattr.c (write_upcase, gen_attr): Likewise.
8453
8454         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
8455         write_upcase): Likewise.
8456
8457         * genemit.c (print_code): Likewise.
8458
8459         * genopinit.c (gen_insn): Likewise.
8460
8461         * genpeep.c (print_code): Likewise.
8462
8463         * genrecog.c (print_code): Likewise.
8464
8465         * optabs.c (init_libfuncs): Likewise.
8466
8467 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
8468
8469         * haifa-sched.c (sched_analyze): Keep the list of notes organized
8470         in pairs.
8471         (reemit_notes): Likewise.
8472
8473 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
8474
8475         * ggc.h (ggc_root): Move to ggc-common.c.
8476         (roots): Remove.
8477         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
8478         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
8479         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
8480         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
8481         * ggc-common.c (ggc_root): Move from ggc.h.
8482         (roots): Declare, static.
8483         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
8484         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
8485         null or check/set mark bit.
8486         (ggc_mark_roots): New.
8487         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
8488
8489 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
8490
8491         * m32r.c: Include toplev.h.
8492         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
8493         (gen_compare): Rename swap_p to must_swap to match uses.
8494         Add default abort case.
8495         (m32r_output_function_epilogue): Remove unused variables.
8496         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
8497         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
8498         define to empty parameter list.  Update all uses.
8499         (predicate decls): Use enum machine_mode not int.
8500         * m32r.md (movsi): Call abort, not fatal_insn.
8501         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
8502
8503 1999-09-14  Andrew Haley  <aph@cygnus.com>
8504
8505         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
8506         use $0 instead of 0.
8507
8508 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8509
8510         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
8511         computation out of loop over hard regs.
8512
8513 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
8514
8515         * function.c (identify_blocks): Don't shadow a variable in an 
8516         outer scope.
8517         * integrate.c (integrate_decl_tree): Don't use pushlevel,
8518         pushdecl, or poplevel to build up the new BLOCK tree.
8519         (expand_inline_function): Likewise.
8520         (integrate_parm_decls): Likewise.
8521
8522 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
8523
8524         * c-typeck.c (qualify_type): Merge qualifiers from both types.
8525
8526 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
8527
8528         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
8529         * invoke.texi: Document this change.
8530
8531 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
8532
8533         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
8534         Free the struct.
8535         (mark_emit_status): Renamed from mark_emit_state.
8536         * except.c (mark_eh_status): Renamed from mark_eh_state.
8537         Check not null before marking.
8538         (free_eh_status): New.
8539         * expr.c (mark_expr_status, free_expr_status): New.
8540         * function.c (free_machine_status): New.
8541         (free_after_parsing): New.
8542         (free_after_compilation): Move bits to free_after_parsing; call
8543         free_eh_status, free_expr_status; zero the marked members of the
8544         function state.
8545         (prepare_function_start): No can_garbage_collect. 
8546         Call init_eh_for_function.
8547         (expand_dummy_function_end): Free up current_function state.
8548         (mark_function_status): Renamed from mark_function_state.
8549         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
8550         * function.h (struct function): No can_garbage_collect.
8551         (free_machine_status, free_after_parsing): Declare.
8552         (free_eh_status, free_expr_status): Declare.
8553         * ggc.h (mark_expr_status): Declare.
8554         * stmt.c (free_stmt_status): Free the struct.
8555         (mark_stmt_status): Renamed from mark_stmt_state.
8556         (init_stmt): Don't call init_eh.
8557         (init_stmt_for_function): Don't call init_eh_for_function.
8558         * toplev.c (compile_file): Call init_eh.
8559         (rest_of_compilation): Free basic block info before ggc_collect.
8560         Call free_after_parsing; conditionally call free_after_compilation.
8561         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
8562         Check not null before marking.
8563         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
8564
8565 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
8566
8567         * c-lex.c (yylex): Initialize warn.
8568
8569 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
8570
8571         * pa.c (emit_move_sequence): Properly set the mode of the scratch
8572         register when performing secondary reloads for the SAR register.
8573
8574 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
8575
8576         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
8577         (NOTE_BLOCK): New macro.
8578         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
8579         * function.h (identify_blocks): Change prototype.
8580         * function.c (identify_blocks): Simplify.
8581         (reorder_blocks): Likewise.
8582         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a 
8583         NOTE_INSN_BLOCK_{BEG,END}.
8584         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
8585         the list of saved notes if the note isn't a
8586         NOTE_INSN_BLOCK_{BEG,END}.
8587         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
8588         NOTE_BLOCK_NUMBER.
8589         (reemit_notes): Adjust recreation of notes to reflect new saved
8590         note structure.
8591         * print-rtl.c (print_rtx): Print the address of the BLOCK when
8592         printing a block note.
8593         * stmt.c (block_vector): Remove.
8594         (find_loop_tree_blocks): Simplify.
8595         (unroll_block_trees): Likewise.
8596         * tree.h (reorder_block): Change prototype.
8597         
8598 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
8599
8600         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
8601         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
8602         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
8603         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
8604         (atexit, exit): Simplify.
8605         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
8606         * config/lots: Remove defns of HAVE_ATEXIT.
8607
8608 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
8609
8610         * calls.c (precompute_arguments): Fix typo in comment.
8611         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
8612         TARGET_EXPR.
8613
8614 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
8615
8616         * dsp16xx.c (override_options): Fix typos in GC root registration.
8617
8618 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
8619
8620         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
8621         from config/svr4.h.
8622         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
8623         (FUNCTION_PROFILER): Redefine appropriately for Linux.
8624         (CC1_SPEC): Likewise.
8625
8626 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8627
8628         * genattr.c (main): Add extern prototype.  Call return, not exit.
8629         * genattrtab.c (main): Likewise.
8630         * gencheck.c (main): Likewise.
8631         * gencodes.c (main): Likewise.
8632         * genconfig.c (main): Likewise.
8633         * genemit.c (main): Likewise.
8634         * genextract.c (main): Likewise.
8635         * genflags.c (main): Likewise.
8636         * gengenrtl.c (main): Likewise.
8637         * genopinit.c (main): Likewise.
8638         * genoutput.c (main): Likewise.
8639         * genpeep.c (main): Likewise.
8640         * genrecog.c (main): Likewise.
8641         
8642         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
8643         * genattrtab.c (get_insn_name): Likewise.
8644         * gencodes.c (get_insn_name): Likewise.
8645         * genconfig.c (get_insn_name): Likewise.
8646         * genemit.c (get_insn_name): Likewise.
8647         * genextract.c (get_insn_name): Likewise.
8648         * genflags.c (get_insn_name): Likewise.
8649         * genopinit.c (get_insn_name): Likewise.
8650         * genpeep.c (get_insn_name): Likewise.
8651         
8652         * gencheck.c (usage): Add static prototype.
8653         * genextract.c (print_path): Constify a char*.
8654         * genopinit.c (optabs): Likewise.
8655         * genoutput.c (operand_data, data, output_predicate_decls,
8656         compare_operands): Likewise.
8657         * genrecog.c (write_tree): Add default case in switch.
8658
8659 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8660
8661         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
8662
8663         * print-rtl.c (get_insn_name): Remove prototype.
8664
8665         * toplev.h (progname): Declare const.
8666
8667         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
8668         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
8669         dump_sched_info, dump_local_alloc, regset_release_memory,
8670         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
8671         error_with_file_and_line, error_with_decl, error_for_asm, error,
8672         fatal, warning_with_file_and_line, warning_with_decl, warning,
8673         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
8674         Remove redundant prototypes.
8675
8676         (notice, check_lang_option, report_file_and_line, vnotice,
8677         mark_file_stack): Add static prototype.
8678         (set_fatal_function): Add prototype.
8679         (vnotice, report_file_and_line, set_fatal_function,
8680         check_lang_option): Constify a char*.
8681         (main): Prototype.  Call return, not exit.
8682
8683 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8684
8685         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
8686
8687         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
8688
8689         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
8690
8691         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
8692
8693 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8694
8695         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
8696         behave as if it's zero in all cases.
8697         (expand_function_start): Adjust call to assign_parms.
8698         * tree.h (assign_parms): Adjust prototype.
8699         * objc/objc-act.c (hack_method_prototype): Adjust call to
8700         assign_parms.
8701
8702 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
8703
8704         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
8705         arg_pointer_rtx fixed if the argument pointer register is
8706         not fixed.
8707         (NONZERO_BASE_PLUS_P): Likewise.
8708
8709 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
8710
8711         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
8712         match_insn2 to match_insn.
8713         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
8714
8715 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
8716
8717         * Makefile.in (USER_H): Remove va-foo.h.
8718
8719         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
8720         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
8721         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
8722         va-spur.h,va-v850.h}: Remove.
8723
8724 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
8725
8726         * sparc/sparc.md (eligible_for_return_delay): New attribute.
8727         (in_return_delay): Use it instead of match_insn.
8728
8729 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8730
8731         * config/alpha/va_list.h (va-alpha.h): Do not include.
8732         (__gnuc_va_list): Typedef as in varargs.h.
8733
8734 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
8735
8736         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
8737         DECL_LIVE_RANGE_RTL.
8738
8739 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
8740
8741         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
8742         not NOTE_BLOCK_NUMBER.
8743         (expand_eh_region_end): Likewise.
8744         (find_exception_handler_labels): Likewise.
8745         (scan_region): Likewise.
8746         (exception_optimize): Likewise.
8747         (update_rethrow_references): Likewise.
8748         (set_insn_eh_region): Likewise.
8749         * final.c (final_scan_insn): Likewise.
8750         * flow.c (make_edges): Likewise.
8751         * integrate.c (expand_inline_function): Likewise.
8752         * print-rtl.c (print_rtx): Likewise.
8753
8754 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
8755
8756         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
8757         terms of builtin functions and types.
8758
8759         * mips.c (mips_build_va_list): New.
8760         (mips_va_start, mips_va_arg): New.
8761         * mips.h (BUILD_VA_LIST_TYPE): New.
8762         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
8763
8764         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
8765         (sh_build_va_list, sh_va_start, sh_va_arg): New.
8766         * sh.h (BUILD_VA_LIST_TYPE): New.
8767         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
8768
8769 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
8770
8771         * recog.h (struct recog_data): Make dup_num, operand_address_p,
8772         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
8773         (struct insn_data): Likewise with n_operands, n_dups, 
8774         n_alternatives, output_format.
8775         * regclass.c (scan_one_insn): Cast n_operands to int before
8776         arithmetic inside comparison.
8777
8778 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
8779
8780         * toplev.c (compile_function): Unconditionally emit nop.
8781
8782 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8783
8784         * haifa-sched.c (actual_hazard): Move declaration of variable
8785         `this_cost' into the scope where it is used.
8786
8787 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8788
8789         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
8790         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
8791         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
8792
8793         * genrecog.c (make_insn_sequence): Call memset, not bzero.
8794
8795         * jump.c (find_insert_position): Don't declare or define unless
8796         !HAVE_conditional_arithmetic.
8797         (returnjump_p_1, delete_prior_computation): Add static prototypes.
8798
8799         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
8800         
8801         * recog.c (offsettable_address_p): Prototype function pointer.
8802         (preprocess_constraints): Call memset, not bzero.
8803         
8804         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
8805         (gcc_obstack_init): Don't declare.
8806         (fix_sizetype): Add static prototype.
8807         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
8808         (tree_cons): Call memset, not bzero.
8809
8810         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
8811         definition in macro ASM_WEAKEN_LABEL.
8812         (mark_const_hash_entry): Add static prototype.
8813
8814 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8815
8816         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
8817
8818         * unroll.c (find_common_reg_term, subtract_reg_term,
8819         loop_find_equiv_value): Add static prototypes.
8820         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
8821         (copy_loop_body): Remove unreachable break statement.
8822         
8823         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
8824
8825         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
8826         
8827 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8828
8829         Undo some changes from the gcc2 merge:
8830         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
8831         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
8832         pointers.
8833
8834         Undo this change:
8835         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
8836         * emit-rtl.c (gen_lowpart_common): Disable optimization of
8837         initialized float-int union if the value is a NaN.
8838
8839 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8840
8841         * gthr-win32.h: New file.
8842
8843         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
8844         shared as a valid attribute.
8845         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
8846         * extend.texi: Document `shared' variable attribute.
8847
8848 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
8849
8850         * configure.in: Handle --enable-threads on FreeBSD.
8851         * configure: Rebuit.
8852
8853 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8854
8855         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add 
8856         thread support.
8857         * configure: Rebuilt.
8858
8859 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
8860                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
8861                           Rosimildo DaSilva <rdasilva@connecttel.com>
8862
8863         * configure.in (m68k-*-rtemscoff*): Added.
8864         * configure.in (mips64orion-*-rtems*): Converted to ELF.
8865         * configure.in (sparc-*-rtemsaout*): Added as alias for old
8866         sparc-rtems configuration.
8867         * configure.in (sparc-*-rtemself*): Added.
8868         * configure.in (sparc-*-rtems*): Now ELF not a.out.
8869         * config/i386/rtems.h: Added comment.
8870         * config/sparc/rtemself.h: New file.
8871
8872         * configure.in (m68k-rtemself): Added.
8873         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
8874         and DWARF_DEBUGGING_INFO.
8875         * config/m68k/crti.s: New file.
8876         * config/m68k/crtn.s: New file.
8877         * config/m68k/t-crtstuff: New file.
8878         * config/m68k/rtemself.h: New file.
8879
8880         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
8881         global ctor/dtor and C++ exception handling.
8882         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
8883         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
8884         ENDFILE_SPEC.
8885         * config/i386/t-rtems-i386: New File.
8886
8887 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
8888
8889         * stmt.c (expand_end_case): Return right away if the case stack is
8890         empty.
8891
8892 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
8893
8894         * Makefile.in (version.c): Remove rule incorrectly brought in from
8895         the gcc2 merge.
8896
8897 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
8898
8899         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
8900         * msdos/top.sed:  Take into account a prepended $(SHELL) to
8901         move-if-change.
8902         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
8903
8904         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
8905
8906 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8907
8908         * regmove.c (fixup_match_1): Don't change an unchanging register.
8909         (stable_but_for_p): Renamed to:
8910         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
8911         Changed all callers.
8912
8913 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
8914
8915         * loop.c (strength_reduce): Don't call reg_used_between_p if the
8916         insn from BL2 is after the insn from BL.
8917
8918 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
8919
8920         * recog.h (INSN_OUTPUT_FORMAT_*): New.
8921         (struct insn_data): Merge `template' and `outfun' into `output'.
8922         Add `output_format'.
8923         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
8924         (struct data): Remove `outfun'; add `output_format'.
8925         (name_for_index): Remove declaration.
8926         (output_insn_data): Handle output formats.
8927         (process_template): Emit the bare array for @.
8928         (gen_expand, gen_split): Set output_format to NONE.
8929         * output.h (get_insn_template): Declare.
8930         * final.c (get_insn_template): New.
8931         (final_scan_insn): Use it.
8932         * toplev.c (compile_file): Likewise.
8933
8934         * c4x/c4x.c (c4x_process_after_reload): Likewise.
8935         * i860/i860.c (output_delayed_branch): Likewise.
8936         (output_delay_insn): Likewise.
8937
8938 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8939
8940         * rtl.c (obstack_alloc_rtx): Removed.
8941
8942 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
8943
8944         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
8945
8946 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
8947
8948         * i386.c (call_insn_operand): Reject const_int.
8949         (expander_call_insn_operand): Use call_insn_operand.
8950
8951 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8952
8953         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
8954
8955 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
8956
8957         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
8958         Use DImode operation.
8959
8960 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
8961
8962         * gcc.c: Include sys/resource.h.
8963         (report_times): New flag.
8964         (execute):  If report_times is set, calculate and report the
8965         CPU time consumed by each subprocess.
8966
8967         (rus, prus): New globals.
8968         (option_map): Add --time.
8969         (display_help): Document -time.
8970         (process_command): Set report_times if -time is given.
8971         Turn off -pipe if -time is given.
8972
8973         * invoke.texi: Document new option -time.
8974
8975         * configure.in: Check for getrusage.  Check if we have to
8976         prototype getrusage.
8977         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
8978         * configure: Regenerate.
8979         * config.in: Regenerate.
8980
8981 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
8982
8983         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
8984         fields.
8985
8986 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
8987
8988         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
8989         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
8990         (nan): Return _thenan_sf or _thenan_df as appropriate.
8991         (L_thenan_sf): Define _thenan_sf.
8992         (L_thenan_df): Define _thenan_df.
8993
8994         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
8995         (DPBIT_FUNCS): Add _thenan_df.
8996
8997 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
8998
8999         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
9000         TYPE_SIZE_UNIT.
9001
9002 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9003
9004         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
9005
9006         * gcc.h: New file.
9007         (lang_specific_driver): Don't take a function pointer parameter.
9008         All callers changed.
9009
9010         * gcc.c: Include gcc.h.
9011         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
9012         lang_specific_extra_outfiles, fatal): Don't declare.
9013         (multilib_defaults_raw): Constify.
9014         (read_specs): Call memset, rather than bzero.
9015         (main): Call return, not exit.
9016         (lookup_compiler): Call memcpy, not bcopy.
9017         (fatal): Make extern.
9018
9019         * cppspec.c: Include gcc.h.
9020         (lang_specific_driver): Initialize variable `quote'.  Constify a
9021         char*.  All calls to the function pointer parameter now
9022         explicitly call `fatal'.
9023
9024         * gccspec.c (lang_specific_driver): Include gcc.h.
9025
9026 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
9027
9028         * arm.c (note_invalid_constants): Use recog_data.operand_type
9029         for recog_op_type.
9030
9031 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9032
9033         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
9034         Declare.
9035
9036         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
9037         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9038         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9039         reload_secondary_in_reload, reload_secondary_out_reload,
9040         reload_secondary_in_icode, reload_secondary_out_icode,
9041         reload_reg_rtx, reload_when_needed): Delete declarations.
9042         (struct reload): New structure.
9043         (rld): Declare new array.
9044         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
9045         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9046         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9047         reload_secondary_in_reload, reload_secondary_out_reload,
9048         reload_secondary_in_icode, reload_secondary_out_icode,
9049         reload_reg_rtx, reload_when_needed): Delete definitions.
9050         (rld): New array.
9051         (whole file): Replace uses of the deleted arrays with uses of rld.
9052         * reload1.c (whole file): Replace uses of the deleted arrays with
9053         uses of rld.
9054         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
9055         explicit loops, not with bcopy.
9056
9057 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
9058
9059         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
9060         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
9061         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
9062         insn_name): Delete and consolidate into new structures.
9063         (insn_operand_predicate_fn): New.
9064         (insn_output_fn): New.
9065         (insn_gen_fn): New.
9066         (struct insn_operand_data): New.
9067         (struct insn_data): New.
9068         (insn_data): New.
9069         (OUT_FCN): Update for insn_data change.
9070         * builtins.c (expand_builtin_strlen): Likewise.
9071         (expand_builtin_memcmp): Likewise.
9072         * combine.c (make_extraction, simplify_comparison): Likewise.
9073         * cse.c (canon_reg, cse_insn): Likewise.
9074         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
9075         * expmed.c (store_bit_field, extract_bit_field): Likewise.
9076         (emit_store_flag): Likewise.
9077         * expr.c (convert_move, emit_block_move): Likewise.
9078         (clear_storage, emit_push_insn, expand_increment): Likewise.
9079         (do_store_flag): Likewise.
9080         * expr.h (GEN_FCN): Likewise.
9081         (insn_gen_function): Die.
9082         * final.c (final_scan_insn): Update for insn_data change.
9083         (output_asm_name): Likewise.
9084         * function.c (fixup_var_refs_1): Likewise.
9085         * loop.c (check_dbra_loop): Likewise.
9086         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
9087         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
9088         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
9089         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
9090         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
9091         * regmove.c (gen_add3_insn): Likewise.
9092         * reload.c (push_secondary_reload, combine_reloads): Likewise.
9093         (find_reloads, find_reloads_address_1): Likewise.
9094         (debug_reload_to_stream): Likewise.
9095         * reload1.c (emit_reload_insns, gen_reload): Likewise.
9096         * stmt.c (expand_end_case): Likewise.
9097         * toplev.c (compile_file): Likewise.
9098
9099         * c4x/c4x.c (c4x_process_after_reload): Likewise.
9100         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9101
9102         * print-rtl.c (insn_name_ptr): Remove declaration.
9103         (get_insn_name): Declare.
9104         (print_rtx): Use it.
9105         * genoutput.c (insn_name_ptr): Remove.
9106         (next_operand_number): New.
9107         (struct operand_data): New.
9108         (null_operand, odata, odata_end): New.
9109         (struct data): Use struct operand_data.
9110         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
9111         (get_insn_name): Renamed from name_for_index.
9112         (output_prologue): Define NO_MD_PROTOTYPES.
9113         (output_predicate_decls): Break out from output_epilogue.
9114         Iterate over the operands list.
9115         (output_operand_data): Break out from output_epilogue.  Emit
9116         just the operands list.
9117         (output_insn_data): Break out from output_epilogue.  Emit just
9118         the insn data.
9119         (output_epilogue): Remove.
9120         (output_get_insn_name): New.
9121         (constraints, op_n_alternatives, predicates, address_p): Die.
9122         (modes, strict_low, seen): Die.
9123         (scan_operands): Take new param `d' instead of writing to 
9124         seven global variables.
9125         (compare_operands): New.
9126         (place_operands): New.
9127         (validate_insn_alternatives): Update for struct data change.
9128         (gen_insn): Don't zero or copy 7 global arrays.  Update for
9129         scan_operands; call place_operands.
9130         (gen_peephole, gen_expand, gen_split): Likewise.
9131         (main): Update for new output routines.
9132
9133         * genattr.c (insn_name_ptr): Remove.
9134         (get_insn_name): New function.
9135         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
9136         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
9137         * genrecog.c: Likewise.
9138
9139         * alpha.md (adddi3): Make `pattern' array static.
9140
9141 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9142
9143         * config/c4x/c4x.h (c4x_rpts_cycles_string,
9144         c4x_cpu_version_string): Constify char *.
9145         * config/c4x/c4x.c (c4x_rpts_cycles_string,
9146         c4x_cpu_version_string): Likewise.
9147
9148 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
9149
9150         * tree.c (save_tree_status): Revert 10 Sep change.
9151         (restore_tree_status): Likewise.  Call obstack_free with NULL 
9152         before freeing the obstack proper.
9153
9154 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
9155
9156         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
9157
9158         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
9159         surrounding context.
9160
9161 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
9162
9163         * tree.c (type_hash_canon): Put all types in the hash-table, when
9164         GC'ing.
9165
9166 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
9167
9168         * recog.h (struct recog_data, recog_data): New.
9169         (recog_foo variables): Kill.
9170         * recog.c (recog_operand, recog_operand_loc): Kill.
9171         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
9172         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
9173         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
9174         (recog_data): Define.
9175         (extract_insn): Update all recog_foo references to use recog_data.
9176         (preprocess_constraints, constrain_operands): Likewise.
9177         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
9178         * genattrtab.c (main): Likewise.
9179         * genextract.c (main): Likewise.
9180         * genoutput.c: Likewise.
9181         * genrecog.c (write_subroutine, main): Likewise.
9182         * local-alloc.c (block_alloc): Likewise.
9183         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
9184         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
9185         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
9186         * reload.c (find_reloads, find_reloads_toplev): Likewise.
9187         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
9188         (reload_cse_simplify_operands): Likewise.
9189
9190         * arc/arc.c (arc_final_prescan_insn): Likewise.
9191         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
9192         * h8300/h8300.c (notice_update_cc): Likewise.
9193         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
9194         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9195         * mn10200/mn10200.c (notice_update_cc): Likewise.
9196         * mn10300/mn10300.c (notice_update_cc): Likewise.
9197         * romp/romp.c (update_cc): Likewise.
9198         * sparc/sparc.c (check_pic): Likewise.
9199         * v850/v850.c (notice_update_cc): Likewise.
9200
9201         * genemit.c (main): Don't declare recog_operand.
9202
9203 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
9204
9205         * ggc.h (rtvec_def): Forward declare.
9206         (tree_node): Likewise.
9207         (ggc_root): Define.
9208         (roots): Declare.
9209         (ggc_set_mark_rtx): Add prototype.
9210         (ggc_set_mark_rtvec): Likewise.
9211         (ggc_set_mark_tree): Likewise.
9212         * ggc-simple.c (ggc_root): Don't define.
9213         (roots): Don't declare.
9214         (ggc_mark_rtx): Remove.
9215         (ggc_mark_rtvec): Likewise.
9216         (ggc_mark_tree): Likewise.
9217         (ggc_mark_varray): Likewise.
9218         (ggc_mark_tree_hash_table_entry): Likewise.
9219         (ggc_mark_tree_hash_table): Likewise.
9220         (ggc_set_mart_rtx): New function.
9221         (ggc_set_mark_rtvec): Likewise.
9222         (ggc_set_mark_tree): Likewise.
9223         (ggc_add_root): Remove.
9224         (ggc_add_rtx_root): Likewise.
9225         (ggc_remove_tree_root): Likewise.
9226         (ggc_add_string_root): Likewise.
9227         (ggc_add_tree_varray_root): Likewise.
9228         (ggc_add_tree_hash_table_root): Likewise.
9229         (ggc_del_root): Likewise.
9230         (ggc_mark_rtx_ptr): Likewise.
9231         (ggc_mark_tree_ptr): Likewise.
9232         (ggc_mark_string_ptr): Likewise.
9233         (ggc_mark_tree_varray_ptr): Likewise.
9234         (ggc_mark_tree_hash_table_ptr): Likewise.
9235         * ggc-common.c: New file.
9236         * Makefile.in (OBJS): Add ggc-common.o.
9237         (ggc-common.o): List dependencies.
9238
9239 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
9240
9241         * cppalloc.c (xstrdup): Use memcpy.
9242         * cpperror.c (cpp_print_containing_files): Don't use
9243         cpp_notice.
9244         * cpplib.c (conditional_skip): Set temp->lineno.
9245         (do_endif): Make error message less obscure.
9246         (if_directive_name): New function.
9247         (cpp_get_token [case EOF]): Unwind the if stack and generate
9248         error messages for each unterminated conditional in this file.
9249         (parse_string):  Do not behave differently if -traditional.
9250
9251 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
9252
9253         * builtins.c (expand_builtin_va_arg): Cope with an array-type
9254         va_list decomposing to pointer-type.
9255         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
9256         (rs6000_va_arg): Likewise.
9257
9258 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
9259
9260         * except.c (start_dynamic_handler): Compute size using
9261         STACK_SAVEAREA_MODE.
9262
9263 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9264
9265         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
9266         include directory headers.  Don't define strrchr.  Don't provide
9267         my_* replacement functions.  Prefer PTR over `pointer_type'.
9268         Don't prototype system functions.  Don't redefine getopt.
9269
9270         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
9271         safe_read, safe_write, save_pointers, restore_pointers,
9272         is_id_char, in_system_include_dir, directory_specified_p,
9273         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
9274         find_corresponding_lparen, referenced_file_is_newer,
9275         save_def_or_dec, munge_compile_params, gen_aux_info_file,
9276         process_aux_info_file, identify_lineno, check_source,
9277         seek_to_line, forward_to_next_token_char, output_bytes,
9278         output_string, output_up_to, other_variable_style_function,
9279         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
9280         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
9281         find_static_definition, connect_defs_and_decs, add_local_decl,
9282         add_global_decls, needs_to_be_converted, visit_each_hash_node,
9283         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
9284         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
9285         scan_for_missed_items, edit_file, string_list_cons): Add static
9286         prototypes.
9287         (standard_exec_prefix, target_machine, target_version,
9288         default_syscalls_dir, string_list, string_list_cons, find_file,
9289         do_cleaning): Constify a char*.
9290         (safe_read, safe_write): Use PTR, not a char*.
9291         (is_id_char): Take an int, not a char.
9292         (main): Add prototype.  Call return, not exit.
9293
9294 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
9295
9296         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
9297         when comparing types.
9298
9299 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
9300
9301         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
9302         (strength_reduce): Release the varrays from the no-bivs early exit.
9303
9304         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
9305         the loop over the registers.
9306
9307         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
9308         for a new obstack.
9309         (restore_tree_status): Check that instead when freeing the obstack.
9310
9311 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
9312
9313         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
9314         as pointers.
9315
9316 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9317
9318         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
9319         operand size modifiers.
9320
9321 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9322
9323         * c-common.c (c_common_nodes_and_builtins): Don't build
9324         va_list_type_node.
9325         * c-common.h (enum c_tree_index and related accesor macros): Remove
9326         everything now declared in tree.h.
9327         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9328         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
9329         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
9330         (error_mark_node, void_type_node, char_type_node, integer_type_node,
9331         unsigned_type_node, ptr_type_node, va_list_type_node,
9332         integer_zero_node, null_pointer_node, integer_one_node): Delete.
9333         (init_decl_processing): Call build_common_tree_nodes and
9334         build_common_tree_nodes_2 instead of building their nodes here.
9335         Don't add roots for these nodes.
9336         * stor-layout.c (size_zero_node, size_one_node): Delete.
9337         (set_sizetype): Make a new node for bitsizetype each time.
9338         * tree.c (global_trees): New variable.
9339         (init_obstacks): Add a gc root for it.
9340         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
9341         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
9342         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
9343         (build_common_tree_nodes): New function.
9344         (fix_sizetype): New function.
9345         (build_common_tree_nodes_2): New function.
9346         * tree.h (enum tree_index): New.
9347         (global_trees): Declare.
9348         Add accessor macros for all nodes now moved to global_trees.
9349         Delete their declarations.
9350
9351 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
9352
9353         * c-decl.c (finish_function): When processing a nested function,
9354         push and pop GC context around rest_of_compilation.
9355
9356 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
9357
9358         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
9359         Default ix86_arch to PROCESSOR_I386.
9360         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
9361         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
9362         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
9363         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
9364         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
9365         (EXTRA_SPECS): Remove deleted specs.
9366
9367 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
9368
9369         * function.c (assign_stack_local_1): Allocate from
9370         function->x_frame_offset, not frame_offset.
9371
9372 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
9373
9374         * ggc.h (lang_cleanup_tree): Remove.
9375         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
9376         * ggc-callbacks.c (lang_cleanup_tree): Remove.
9377
9378         * c-decl.c (finish_struct): Use ggc_alloc to allocate
9379         TYPE_LANG_SPECIFIC when garbage collecting.
9380         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
9381         (lang_cleanup_tree): Remove.
9382
9383 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
9384
9385         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
9386         * crtstuff.c: Not here.
9387         * dwarf2out.c: Or here.
9388         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
9389         info.
9390
9391 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
9392
9393         * function.h (free_after_compilation): Remove decl parameter.
9394         (free_varasm_status0: Likewise.
9395         (free_emit_status): Likewise.
9396         (free_stmt_status): Likewise.
9397         (free_after_compilation): Likewise.
9398         (init_lang_status): New variable.
9399         (free_lang_status): Likewise.
9400         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
9401         * function.c (init_lang_status): New variable.
9402         (free_lang_status): Likewise.
9403         (push_function_context_to): Don't set function::decl here.
9404         (free_after_copmilation): Make decl parameter implicit.  Call
9405         free_lang_status if defined.
9406         (prepare_function_start): Call init_lang_status if defined.
9407         (init_function_start): Set function::decl here.
9408         * profile.c (output_func_start_profiler): Don't call pushdecl
9409         until we've actually started the function.
9410         * stmt.c (free_stmt_status): Make decl parameter implicit.
9411         * toplev.c (rest_of_compilation): Don't pass decl to
9412         free_after_compilation.
9413         * varasm.c (free_varasm_status): Likewise.
9414
9415 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9416
9417         * except.c (call_get_eh_context): Add root when allocating static
9418         tree variable.
9419
9420 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
9421
9422         * arm.c: Include "ggc.h".
9423         (arm_add_gc_roots): New function.
9424         (arm_override_options): Call it.
9425         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
9426
9427         * arm.md (define_asm_attributes): Add a pool_range attribute.
9428
9429 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
9430
9431         * extend.texi (Volatiles): New node.
9432
9433 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
9434
9435         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
9436         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
9437         (struct ggc_any): Replace `mark' with `magic_mark'.
9438         (ggc_alloc_string): Use memcpy, not bcopy.
9439         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
9440         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
9441         (ggc_free_any): New.
9442         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
9443         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
9444         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
9445         Use IS_MARKED. Use ggc_free_any.
9446
9447 1999-09-09  Scott Bambrough <scottb@netwinder.org>
9448
9449         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
9450
9451 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
9452
9453         * toplev.c (main): Always init_ggc.
9454
9455 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
9456
9457         * except.c (find_all_handler_type_matches): Free the list if
9458         we found no matches.
9459
9460         * combine.c (SUBST): Break out to a real function do_SUBST.
9461         (SUBST_INT): Likewise.
9462         * gcse.c (free_pre_mem): Free `temp_bitmap'.
9463         (pre_insert): Free `inserted'.
9464         * loop.c (basic_induction_var): Always set `location'.
9465
9466         * function.c (expand_function_end): Add initial_trampoline as a root.
9467         * rtl.h (init_varasm_once): Declare.
9468         * toplev.c (compile_file): Call it.
9469         * ggc-simple.c (ggc_mark_string_ptr): New.
9470         (ggc_add_string_root): New.
9471         (ggc_collect): Disable collection avoidance temporarily.
9472         * ggc.h (ggc_add_string_root): Declare.
9473         * except.c (create_rethrow_ref): Use ggc_alloc_string.
9474         * optabs.c (init_libfuncs): Likewise.
9475         * varasm.c (named_section): Use ggc_alloc_string.
9476         (make_function_rtl): Likewise.
9477         (make_decl_rtl): Likewise.
9478         (assemble_static_space): Likewise.
9479         (assemble_trampoline_template): Likewise.
9480         (output_constant_def): Likewise.
9481         (force_const_mem): Likewise.
9482         (mark_const_hash_entry): New.
9483         (mark_pool_sym_hash_table): New.
9484         (mark_varasm_state): Use it.
9485         (init_varasm_once): New.
9486
9487         * expr.h (init_one_libfunc): Declare.
9488         * optabs.c (init_one_libfunc): New.
9489         (init_optabs): Use it.
9490         * config/gofast.h: Likewise.
9491         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
9492         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
9493
9494 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9495
9496         * Makefile.in (cppexp.o): Depend on cpphash.h.
9497         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
9498         Include cpphash.h.
9499         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
9500         * cpplib.c (do_define): Generalise to handle poisoned definitions,
9501         redefining poisoned identifiers, etc.
9502         (do_undef): Don't allow poisoned identifiers to be undefined.
9503         (do_pragma): Add #pragma poison.
9504         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9505
9506         * cccp.c: Add T_POISON node type.
9507         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
9508         poisoned xxx.
9509         (do_define): Generalise to handle poisoned definitions,
9510         redefining poisoned identifiers, etc.
9511         (do_undef): Don't allow poisoned identifiers to be undefined.
9512         (do_pragma): Add #pragma poison.
9513         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
9514
9515         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
9516         * c-pragma.h: Add ps_poison state.  We now always have generic
9517         pragmas.
9518
9519 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
9520
9521         * ggc.h (ggc_alloc): New function.
9522         (ggc_mark): Likewise.
9523         * ggc-simple.c (ggc_any): New structure.
9524         (ggc_status): Add anys.
9525         (n_anys_collected): New variable.
9526         (ggc_alloc): Define.
9527         (ggc_mark): Likewise.
9528         (ggc_collect): Collect the anys.
9529
9530 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9531
9532         * c-decl.c (mark_binding_level): Make static to match prototype.
9533
9534 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
9535
9536         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
9537
9538 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
9539
9540         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
9541         will use into account.  Expand the max width to 5.
9542         * rtl.c: Likewise.
9543
9544 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
9545
9546         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
9547         for the rtx length.
9548
9549 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
9550
9551         * alpha.md (call value patterns): Remove the result predicates.
9552
9553 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
9554
9555         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
9556         last change.
9557
9558 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9559
9560         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
9561         changed from extern char *, to extern PTR.  Also fix typo in
9562         NEED_DECLARATION_REALLOC test.
9563
9564         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
9565
9566 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9567
9568         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
9569         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
9570         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
9571         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
9572
9573         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
9574
9575         * cccp.c (pcfinclude): Likewise.
9576
9577         * global.c (allocno_compare): Likewise.
9578
9579         * haifa-sched.c (rank_for_schedule): Likewise.
9580
9581         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
9582
9583         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
9584
9585         * stupid.c (stupid_reg_compare): Likewise.
9586
9587         * tree.c (_obstack_allocated_p): Likewise.
9588
9589         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
9590
9591 1999-09-08  Bruce Korb  autogen@linuxbox.com
9592
9593         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
9594         why "gperf -F" fails.
9595         * gcc/cp/Makefile.in: ditto
9596         * gcc/Makefile.in: ditto
9597         * gcc/java/Makefile.in: ditto
9598
9599 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
9600
9601         * lists.c: Include ggc.h.
9602         (zap_lists): New.
9603         (init_EXPR_INSN_LIST_cache): Install it.
9604
9605         * ggc-simple.c (init_ggc): Absorb the old init.
9606         (ggc_push_context): Use xcalloc.
9607         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
9608         (ggc_collect): Add [rvts] tags to the collection stats.
9609
9610 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
9611
9612         * cccp.c (main): Fix handling of -include and -imacros options.
9613
9614 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
9615
9616         * cpplib.c (cpp_push_buffer): Fix order of arguments.
9617
9618 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
9619
9620         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
9621         genrtl.c.
9622
9623 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
9624
9625         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
9626         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
9627         and SET_DEST. Update comment.
9628
9629 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9630
9631         * config/c4x/c4x.c: Include ggc.h.
9632         (c4x_add_gc_roots): New function.
9633         (c4x_override_options): Call c4x_add_gc_roots.
9634
9635 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
9636
9637         * defaults.h (TARGET_ESC): Move ...
9638         * system.h: ... here, where Linas had it in the first place.  Silly me.
9639
9640 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
9641
9642         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
9643         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
9644         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
9645         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
9646         * defaults.h (TARGET_ESC): Add default.
9647
9648 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
9649
9650         * configure.in: add i370-*-openedition, i370-*-mvs and
9651         i370-*-linux targets
9652
9653 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
9654
9655         * dsp16xxx.c: Include ggc.h
9656         (override_options): Mark GC roots.
9657         * mn10200.c: Include ggc.h.
9658         (asm_file_start): Mark GC roots.
9659         * tahoe.c: Include ggc.h.
9660         (extensible_operand): Mark GC roots.
9661
9662 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
9663
9664         * README: Add section discussing status of ELF ABI.
9665         * i370.c: Fix misc spelling mistakes.
9666         (i370_label_scan): Updated notes, exception handling.
9667         (i370_function_prolog): Simplify ELF stack handling.
9668         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
9669         (STACK_GROWS_DOWNWARD): ELF stack grows down.
9670         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
9671         * i370.md: (movdi): Add notes.
9672         (floatsidf2): Use stack not rtca for scratch float area.
9673         (iorsi3): Correct operand constraints.
9674         * x-oe: Restore TAROUTOPTS which are used by pax.
9675
9676 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
9677
9678         * rs6000.c: Include ggc.h.
9679         (rs6000_add_gc_roots): New function.
9680         (override_options): Call it.
9681
9682 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
9683
9684         * alpha.h (alpha_compare): New.
9685         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
9686         * alpha.c: Likewise for the definitions.
9687         (alpha_emit_conditional_branch): Update for alpha_compare.
9688         (alpha_emit_conditional_move): Likewise.
9689         * alpha.md (cmpdf, cmpdi): Likewise.
9690         (setcc patterns): Likewise.  Zero alpha_compare after use.
9691         (sne): Optimize (x != 0) into (0U < x).
9692
9693 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
9694
9695         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
9696         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
9697         (INIT_EXPANDERS): Remove.
9698         * alpha.c: Include ggc.h.
9699         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
9700         (alpha_init_machine_status, alpha_mark_machine_status): New.
9701         (override_options): Install them.
9702         (struct machine_function): Moved to alpha.h.
9703         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
9704         (alpha_init_expanders): Remove.
9705         (alpha_return_addr): Adjust to use current_function->machine.
9706         (alpha_ra_ever_killed): Likewise.
9707         (alpha_expand_epilogue): Likewise.
9708         * alpha.md (eh_epilogue): Likewise.
9709
9710 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
9711                           Melissa O'Neill  <oneill@cs.sfu.ca>
9712                           Geoffrey Keating  <geoffk@cygnus.com>
9713
9714         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
9715         call-used registers (call-saved registers must still be contiguous
9716         and end with r31, of course).
9717
9718 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
9719
9720         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
9721         (self_promoting_type_p): Delete.
9722         (self_promoting_args_p): Move ...
9723         * c-common.c: ... here.
9724         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
9725         (simple_type_promotes_to): New.
9726         * builtins.c (lang_type_promotes_to): New.
9727         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
9728         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
9729         * c-common.h: ... here.
9730         (self_promoting_args_p, simple_type_promotes_to): Declare.
9731         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
9732         (grokdeclarator): Likewise.
9733         * tree.h (lang_type_promotes_to): Declare.
9734
9735 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
9736
9737         Add some machine-dependent GC roots.
9738         * sparc.c: Include ggc.h.
9739         (sparc_add_gc_roots): New function.
9740         (mark_ultrasparc_pipeline_state): Likewise.
9741         (override_options): Call sparc_add_gc_roots.
9742         * pa.c: Include ggc.h.
9743         (pa_add_gc_roots): New function.
9744         (mark_deferred_plabels): Likewise.
9745         (override_options): Call pa_add_gc_roots.
9746         * mips.c: Include ggc.h.
9747         (mips_add_gc_roots): New function.
9748         (override_options): Use it.
9749
9750 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9751
9752         * cpperror.c (cpp_file_line_for_message): Constify a char*.
9753
9754         * cppexp.c (parse_number, parse_charconst, cpp_lex,
9755         cpp_parse_expr): Add static prototypes.
9756         (parse_charconst): Don't cast away const-ness.
9757         (token): Constify a char*.
9758
9759         * cppfiles.c (file_name_list, include_hash, find_include_file,
9760         finclude, initialize_input_buffer): Constify a char*.
9761         (file_cleanup, find_position): Add static prototypes.
9762
9763         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
9764         collect_expansion): Add static prototypes.
9765         (cpp_install, create_definition, monthnames): Constify a char*.
9766
9767         * cpphash.h (cpp_install): Likewise.
9768
9769         * cppinit.c (known_suffixes, default_include,
9770         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
9771         (base_name, dump_special_to_buffer, initialize_dependency_output):
9772         Add static prototypes.
9773
9774         * cpplib.c (my_strerror): Constify a char*.
9775         (null_underflow, null_cleanup, skip_comment, copy_comment,
9776         copy_rest_of_line, handle_directive, pass_thru_directive,
9777         get_directive_token, read_line_number, cpp_print_file_and_line,
9778         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
9779         v_cpp_warning_with_line, detect_if_not_defined,
9780         consider_directive_while_skipping): Add static prototypes.
9781         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
9782         cpp_pedwarn_with_file_and_line): Constify a char*.
9783
9784         * cpplib.h (cpp_options, include_hash, progname, definition,
9785         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
9786         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
9787         find_include_file, deps_output, include_hash): Constify a char*.
9788
9789         * cppmain.c (progname): Constify.
9790         (main): Add prototype.  Use return, not exit.
9791
9792         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
9793         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
9794         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
9795         check_protection): Add static prototype.
9796         (xfree): Remove.
9797         (progname, recognized_macrom, recognized_extern): Constify a char*.
9798         (main): Add prototype.
9799
9800         * gen-protos.c (progname): Constify a char*.
9801
9802 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
9803
9804         * emit-rtl.c (free_emit_status): Take decl as a parameter.
9805         (init_emit_once): Add more GC roots.
9806         * except.c (mark_func_eh_entry): New function.
9807         (mark_eh_node): Mark false_label and rethrow_label.
9808         (init_eh): Add more GC roots.
9809         * function.c (free_after_compilation): Take decl as a paramter.
9810         Call free_stmt_status.
9811         (mark_function_state): Don't assume x_parm_reg_stack_loc is
9812         non-NULL.
9813         * function.h (free_after_compilation): Change prototype.
9814         (free_varasm_status): Likewise.
9815         (free_emit_status): Likewise.
9816         (free_stmt_status): New function.
9817         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
9818         Remove, replacing with ...
9819         (ggc_status): New structure.
9820         (ggc_chain): New variable.
9821         (init_gcc): Define.
9822         (ggc_push_context): New function.
9823         (ggc_pop_context): Likewise.
9824         (ggc_alloc_rtx): Adjust for use of ggc_chain.
9825         (ggc_alloc_rtvec): Likewise.
9826         (ggc_alloc_tree): Likewise.
9827         (ggc_alloc_string): Likewise.
9828         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
9829         (ggc_mark_tree): Give language-dependent code a chance to mark
9830         `x' nodes.
9831         (ggc_mark_tree_varray): Handle empty arrays.
9832         (ggc_collect): Adjust for use of ggc_chain.  Clear
9833         bytes_alloced_since_last_gc.
9834         * ggc.h (ggc_pop_context): New function.
9835         (ggc_push_context): Likewise.
9836         * print-tree.c (print_node): Don't print obstacks when GC'ing.
9837         * stmt.c (free_stmt_status): New function.
9838         (init_stmt_for_function): Clear last_expr_value.
9839         * toplev.c (rest_of_compilation): Always call free_after_compilation.
9840         Conditionalize call to ggc_collect.
9841         (main): Call init_ggc.
9842         * tree.c (push_obstacks): Do the push, even when GC'ing.
9843         (push_obstacks_nochange): Likewise.
9844         (pop_obstacks): Liekwise.
9845         * varasm.c (free_varasm_status): Take decl as a parameter.
9846
9847 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
9848
9849         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
9850         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
9851         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
9852         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
9853
9854 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
9855
9856         * pa/x-pa-mpeix: New file for the MPE port.
9857
9858         * pa/quadlib.asm: New file for long double support.
9859
9860         * configure.in: Add hppa1.0-*-mpeix for MPE port.
9861         * configure: Rebuilt.
9862
9863 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
9864
9865         * final.c (shorten_branches): Fix last change.
9866
9867 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
9868
9869         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
9870
9871 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
9872
9873         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
9874         details.
9875
9876 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9877
9878         * c-aux-info.c (concat): Don't define.
9879
9880         * cccp.c (my_strerror): Likewise.  All callers changed to use
9881         xstrerror instead.
9882         (do_include): Call xstrdup, not xmalloc/strcpy.
9883         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
9884         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
9885
9886         * collect2.c (my_strsignal): Likewise.  All callers changed to use
9887         strsignal instead.
9888         (locatelib): Call xstrdup, not xmalloc/strcpy.
9889
9890         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
9891
9892         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
9893
9894         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
9895
9896         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
9897
9898         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
9899
9900         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
9901
9902         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
9903         malloc/realloc.
9904         (find_all_handler_type_matches): Likewise.  Don't check return
9905         value.
9906         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
9907         xmalloc, not malloc.
9908         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
9909
9910         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
9911         (init_spec): Call xcalloc, not xmalloc/bzero.
9912         (set_spec): Call xstrdup, not save_string.
9913         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
9914         (find_a_file): Call xstrdup, not xmalloc/strcpy.
9915         (process_command): Call xstrdup, not save_string.
9916         (main): Call xcalloc, not xmalloc/bzero.
9917
9918         * gcov.c (xmalloc): Don't define.
9919         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
9920         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
9921         (output_data): Call xcalloc, not xmalloc/bzero.
9922
9923         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
9924
9925         * mips-tdump.c (xmalloc): Don't define.
9926         (print_symbol): Call xmalloc, not malloc.
9927         (read_tfile): Call xcalloc, not calloc.
9928
9929         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
9930         Don't define.  All callers of xfree/my_strsignal changed to use
9931         free/strsignal instead.
9932         (allocate_cluster): Call xcalloc, not calloc.
9933
9934         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
9935         Fix memory leak, free allocated memory.
9936
9937         * prefix.c (translate_name): Call xstrdup, not save_string.
9938         (update_path): Likewise.
9939
9940         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
9941
9942         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
9943         Don't define.  Callers of xfree/savestring2 changed to use
9944         free/concat instead.
9945
9946         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
9947         (init_elim_table): Likewise.
9948
9949         * resource.c (init_resource_info): Likewise.
9950
9951         * stupid.c (stupid_life_analysis): Likewise.
9952
9953         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
9954         (open_dump_file): Call concat, not xmalloc/strcpy/...
9955         (clean_dump_file): Likewise.
9956         (compile_file): Call xstrdup, not xmalloc/strcpy.
9957
9958 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
9959
9960         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
9961         * v850.c (v850_va_arg): New.
9962
9963 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9964
9965         * haifa-sched.c: Tidy comments.
9966
9967 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9968
9969         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
9970         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
9971         $(out_object_file)): Depend on ggc.h.
9972         * c-common.c: Include "ggc.h".
9973         (combine_strings): If doing GC, use ggc_alloc_string.
9974         * c-decl.c: Include "ggc.h".
9975         (ggc_p): Define with value 0.
9976         (mark_binding_level): New function.
9977         (init_decl_processing): Add GC roots.
9978         (mark_c_function_context): New function.
9979         (lang_mark_false_label_stack): New function.
9980         (lang_mark_tree): New function.
9981         (lang_cleanup_tree): New function.
9982         * c-lang.c: Include "ggc.h".
9983         (lang_init): Call c_parse_init.
9984         * c-lex.c: Include "ggc.h".
9985         (check_linenum): If doing GC, don't copy filenames to permanent
9986         obstack.
9987         * c-parse.in: Include "ggc.h".
9988         (c_parse_init): New function.
9989         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
9990         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
9991
9992         * except.c (mark_eh_state): Mark more state.
9993         * function.c (mark_function_state): Likewise.
9994         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
9995         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
9996         * toplev.c (mark_file_stack): New function.
9997         (compile_file): If doing GC, use ggc_alloc_string on input filename.
9998         (main): Add root for input_file_stack.
9999
10000         * i386.c: Include "ggc.h".
10001         (ix86_mark_machine_status): New function.
10002         (override_options): Set mark_machine_status.
10003
10004 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10005
10006         * tree.c (copy_node): Copy node contents also if doing GC.
10007
10008 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
10009
10010         * collect2.c (scan_libraries): Fix double-thinko :-).
10011
10012 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
10013
10014         * collect2.c (scan_libraries): Fix thinko.
10015
10016         * cse.c (delete_trivially_dead_insns): Do not skip the last
10017         insn if it is a real insn.
10018
10019 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
10020
10021         * Makefile.in (ggc-simple.o): Depend on hash.h.
10022         * ggc.h (ggc_add_tree_hash_table_root): Declare.
10023         (ggc_mark_tree_varray): Likewise.
10024         (ggc_mark_tree_hash_table): Likewise.
10025         * ggc-simple.c: Include hash.h.
10026         (ggc_mark_tree_hash_table_ptr): New function.
10027         (ggc_mark_tree_hash_table_entry): Likewise.
10028         (ggc_mark_tree_hash_table): Likewise.
10029         (ggc_add_tree_hash_table_root): Likewise.
10030         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
10031         rtx, when defining fields.
10032
10033 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10034
10035         * profile.c (output_func_start_profiler): Remove apparently
10036         nonsensical call to start_sequence.
10037
10038 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
10039
10040         * clipper/clipper.c (clipper_va_start): Fix typos.
10041
10042         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
10043         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
10044         (spur_va_arg): New stub.
10045
10046         * configure.in: Comment out pyramid.
10047
10048 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
10049
10050         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
10051         don't conflict with the bits that win32, cygwin, and dgux
10052         defines.
10053
10054 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
10055                           Bernd Schmidt <bernds@cygnus.co.uk>
10056
10057         * integrate.c (function_cannot_inline_p): Do not inline
10058         functions with forced labels.
10059
10060 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
10061                           Bernd Schmidt <bernds@cygnus.co.uk>
10062                           Mark Mitchell  <mark@codesourcery.com>
10063
10064         * Makefile.in (ggc-simple.o): Depend on varray.h.
10065         (rtl.o): Depend on ggc.h.
10066         (genattrtab.o): Depend on ggc.h.
10067         (print-tree.o): Likewise.
10068         (fold-const.o): Likewise.
10069         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
10070         (make_insn_raw): Don't cache insns when GC'ing.
10071         (emit_insn_before): Likewise.
10072         (emit_insn_after): Likewise.
10073         (emit_insn): Likewise.
10074         (start_sequence): Use xmalloc to allocate the sequence_stack.
10075         (end_sequence): Add free to free it.
10076         (gen_sequence): Don't cache insns when GC'ing.
10077         (clear_emit_caches): Don't use sequence_element_free_list.
10078         (init_emit): Use xcalloc, not xmalloc+bzero.
10079         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
10080         * function.c (pop_function_context_from): Use free to free the
10081         fixup_var_refs_queue.
10082         (put_reg_into_stack): Allocate it with xmalloc.
10083         * genattrtab.c: Include ggc.h.
10084         (operate_exp): Don't use obstack_free when GC'ing.
10085         (simplify_cond): Likewise.
10086         (simplify_text_exp): Likewise.
10087         (optimize_attrs): Likewise.
10088         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
10089         GC'ing.
10090         (gencode): Generate a #include for ggc.h.
10091         * ggc-callbacks.c (ggc_p): Define it to zero.
10092         * ggc-none.c (ggc_p): Likewise.
10093         * ggc-simple.c: Include varray.h.
10094         (ggc_mark_tree_varray): New function.
10095         (ggc_add_tree_varray_root): Likewise.
10096         (ggc_mark_tree_varray_ptr): Likewise.
10097         * ggc.h (ggc_p): Declare.
10098         (varray_head_tag): Likewise.
10099         (ggc_add_tree_varray_root): Declare.
10100         * print-tree.c (print_node): Don't check for TREE_PERMANENT
10101         inconsistencies when GC'ing.
10102         * rtl.c: Include ggc.h.
10103         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
10104         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
10105         (rtx_free): Don't call obstack_free when GC'ing.
10106         * toplev.c (rest_of_compilation): Call ggc_collect after every
10107         pass, if GC'ing.
10108         * tree.c (push_obstacks): Do nothing, if GC'ing.
10109         (pop_obstacks_nochange): Likewise.
10110         (pop_obstacks): Likewise.
10111         (make_node): Use ggc_alloc_tree when GC'ing.
10112         (copy_node): Likewise.
10113         (get_identifier): Use ggc_alloc_string when GC'ing.
10114         (build_string): Likewise.
10115         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
10116         (tree_cons): Likewise.
10117         (build1): Likewise.
10118         (type_hash_canon): Don't call obstack_free when GC'ing.
10119
10120 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
10121
10122         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
10123         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
10124
10125 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
10126                           Bernd Schmidt <bernds@cygnus.co.uk>
10127                           Mark Mitchell  <mark@codesourcery.com>
10128
10129         * Makefile.in (stor-layout.o): Depend on ggc.h.
10130         (expr.o): Depend on ggc.h.
10131         (profile.o): Depend on ggc.h.
10132         (stor-layout.o): Depend on ggc.h.
10133         * emit-rtl.c (init_emit_once): Add gc roots.
10134         * expr.c: Include ggc.h.
10135         (emit_block_move): Add gc roots.
10136         (clear_storage): Likewise.
10137         * expr.h (init_stor_layout_once): New function.
10138         * profile.c: Include ggc.h.
10139         (init_arc_profiler): profiler_label is a root.
10140         * scan.c (make_sstring_space): Trust xrealloc to function
10141         correctly with first parameter NULL.
10142         * stor-layout.c: Include ggc.h.
10143         (set_sizetype): Add gc root.
10144         (init_stor_layout_once): New function.
10145         * toplev.c (compile_file): Call it.
10146
10147 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
10148                           Bernd Schmidt <bernds@cygnus.co.uk>
10149                           Mark Mitchell  <mark@codesourcery.com>
10150
10151         * Makefile.in (tree.o): Depend on ggc.h.
10152         (varasm.o): Likewise.
10153         (function.o): Likewise.
10154         (stmt.o): Likewise.
10155         (except.o): Likewise.
10156         (optabs.o): Likewise.
10157         (emit-rtl.o): Likewise.
10158         * emit-rtl.c: Include ggc.h.
10159         (sequence_element_free_list): Remove, and all references.
10160         (mark_sequence): New functions.
10161         (mark_emit_state): New function.
10162         * except.c: Include ggc.h.
10163         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
10164         (mark_tree_label_node): New functions.
10165         (mark_eh_state): New function.
10166         * function.c: Include ggc.h.
10167         (mark_temp_slot, mark_function_chain): New functions.
10168         (mark_function_state): New function.
10169         (init_function_once): New function.
10170         * function.h (init_function_once): New function.
10171         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
10172         * ggc.h (label_node): Declare.
10173         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
10174         (lang_mark_false_label_stack): New function.
10175         (mark_temp_slot): Remove declaration.
10176         (mark_function_chain): Likewise.
10177         (mark_eh_state): Adjust prototype.
10178         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
10179         Likewise.
10180         * optabs.c: Include ggc.h.
10181         (mark_optab): New function.
10182         (init_optabs): Add gc roots.
10183         * stmt.c: Include ggc.h.
10184         (mark_cond_nesting, mark_loop_nesting): New functions.
10185         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
10186         (mark_stmt_state): New function.
10187         * toplev.c (compile_file): Call init_function_once.
10188         * tree.c: Include ggc.h.
10189         (type_hash): Move declaration earlier in file.
10190         (TYPE_HASH_SIZE, type_hash_table): Likewise.
10191         (init_obstacks): Add gc roots.
10192         (mark_type_hash): New function.
10193         * varasm.c: Include ggc.h.
10194         (mark_pool_constant): New function.
10195         (mark_varasm_state): New function.
10196
10197 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10198
10199         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
10200
10201 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
10202
10203         * c-decl.c (struct language_function): Renamed from struct c_function.
10204         Delete elt NEXT.
10205         (c_function_chain): Delete.
10206         (push_c_function_context): New arg F.  Don't warn about nested
10207         functions here.  Fill LANGUAGE elt of F.  Delete code to update
10208         c_function_chain.  Don't call push_function_context.
10209         (pop_c_function_context): New arg F.  Restore from there instead of
10210         from c_function_chain.  Don't call pop_function_context.  Clear out
10211         LANGUAGE field of F when done.
10212         * c-lang.c: Include "function.h"
10213         (lang_init): Initialize save_lang_status and restore_lang_status.
10214         * c-parse.in (nested_function, nested_function_notype): Warn about
10215         nested functions.  Call push_function_context/pop_function_context
10216         instead of the _c_ variants.
10217         * c-tree.h (push_c_function_context, pop_c_function_context): Update
10218         prototype.
10219         * Makefile.in (c-lang.o): Update dependencies.
10220
10221         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
10222         regno_pointer_flag, regno_pointer_align.
10223         (gen_reg_rtx): Use xrealloc to enlarge them.
10224         (free_emit_status): New function.
10225         * function.c (mark_machine_status, mark_lang_status): New variables.
10226         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
10227         in some bits from assign_stack_local.  All callers changed to use new
10228         name.
10229         (assign_stack_local): Just call assign_stack_local_1.
10230         (free_after_compilation): New function.
10231         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
10232         (trampoline_address): Likewise.
10233         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
10234         (prepare_function_start): Explicitly clear some more variables.
10235         * function.h (struct function): New elt can_garbage_collect.
10236         (mark_machine_status, mark_lang_status): Declare variables.
10237         (free_after_compilation, free_emit_status, free_varasm_status,
10238         init_varasm_status): Declare functions.
10239         * toplev.c (rest_of_compilation): Call free_after_compilation when
10240         done with the current function.
10241         * varasm.c (free_varasm_status): New function.
10242
10243 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
10244
10245         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
10246         (EXPAND_BUILTIN_VA_ARG): Define.
10247         * sparc.c (sparc_va_start): New.
10248         (sparc_va_arg): New.
10249
10250 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10251
10252         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
10253
10254 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10255
10256         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
10257
10258 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
10259
10260         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
10261         (OBJS): Add $(GGC).
10262         (ggc-callbacks.o): New target.
10263         * ggc-callbacks.c: New file.
10264
10265 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10266
10267         * expr.h: Collapse individual optab and libfunc vars to arrays.
10268         (optab_index, libfunc_index): New enumerations.
10269         (optab_table, libfunc_table): New arrays.
10270         Add accessor macros for both.
10271
10272         * optabs.c (optab_table, libfunc_table): New.
10273         Delete declarations for individual optab and libfunc vars.
10274
10275 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
10276
10277         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
10278
10279 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
10280
10281         * Makefile.in (GGC, GGC_LIB): New.
10282         (HOST_RTL): Include ggc-none.o.
10283         (ggc-simple.o): New target.
10284         (ggc-none.o): Likewise.
10285         * tree.h (tree_common): Add gc_mark.
10286         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
10287         (struct rtvec_def): Add gc_mark.
10288         * emit-rtl.c (global_rtl): Update static initializers to contain
10289         enough initializers.
10290         * ggc.h, ggc-none.c, ggc-simple.c: New files.
10291         * toplev.c (gc_time): New variable.
10292         (all_time): New variable.
10293         (compile_file): Print gc time.
10294         (print_time): Calculate percentage of the whole.
10295
10296 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10297
10298         Change obstack memory management and varasm constant pool handling so
10299         that nested functions are treated like any other functions.
10300         * function.c (init_machine_status): New variable.
10301         (push_function_context_to): Set contains_functions for the outer
10302         function.  Don't call save_varasm_status.
10303         (pop_function_context_from): Don't call restore_varasm_status.  Don't
10304         set current_function_contains_functions.
10305         (prepare_function_start): Call init_varasm_status rather than
10306         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
10307         is non-null.
10308         * function.h (struct function) Add field varasm.  Delete fields
10309         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
10310         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
10311         (init_machine_status): Declare.
10312         (save_varasm_status, restore_varasm_status): Delete declarations.
10313         (save_tree_status, restore_tree_status): Delete last argument.
10314         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
10315         code.  All callers changed.
10316         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
10317         save_constants_in_decl_trees, restore_constants, save_constants,
10318         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
10319         functions.
10320         (inlining): New variable.
10321         (reg_map, label_map, insn_map, orig_asm_operands_vector,
10322         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
10323         variables.
10324         (save_for_inline_nocopy): Don't save constants.
10325         Don't set inl_emit field in current_function.
10326         (expand_inline_function): Use emit field, not inl_emit, of the inlined
10327         function.  Set new variable inlining before
10328         calling copy_rtx_and_substitute.
10329         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
10330         constant pool references if inlining is nonzero.
10331         Delete ADDRESS and (most of the) CONST cases.
10332         (output_inline_function): Save and restore current_function/
10333         current_function_decl.  Delete restore_constants code.  Don't call
10334         init_const_rtx_hash_table.
10335         * output.h (init_const_rtx_hash_table): Don't declare.
10336         * rtl.h (struct function): Declare.
10337         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
10338         * toplev.c (rest_of_compilation): Don't treat nested functions or
10339         functions containing them specially.  Delete all code to deal with
10340         save_for_inline_copying.
10341         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
10342         inline_obstacks): Delete variables.
10343         (save_tree_status): Lose arg CONTEXT.  All callers changed.
10344         Simply allocate a new function_maybepermanent_obstack for the new
10345         function, delete all the special cases.
10346         Don't save inline_obstacks.
10347         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
10348         Delete special handling for function_maybepermanent_obstack; simply
10349         free it if empty.
10350         Don't restore inline_obstacks.
10351         (permanent_allocation):  Delete code that frees inline_obstacks.
10352         (print_inline_obstack_statistics): Delete function.
10353         (dump_tree_statistics): Don't call it.
10354         * varasm.c (struct varasm_status): New.
10355         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
10356         last_pool, pool_offset, const_double_chain): Delete global
10357         variables, replace with accessor macros.
10358         (immed_double_const): Don't walk const_double_chain outside a
10359         function, but don't treat nested functions specially anymore.
10360         (immed_real_const_1): Likewise.
10361         (clear_const_double_mem): Don't treat nested functions specially.
10362         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
10363         (save_varasm_status, restore_varasm_status): Delete functions.
10364         (init_varasm_status): New function.
10365         (force_const_mem): Don't treat nested functions specially.
10366         (find_pool_constant): Accept new arg F, search for constants in
10367         that function's pool rather than the current one.  All callers
10368         changed.
10369         (get_pool_constant_for_function, get_pool_mode_for_function): New
10370         functions.
10371
10372         * i386.c (init_386_machine_status): New function, mostly from
10373         clear_386_stack_locals.
10374         (struct machine_functions): Rename element names to avoid name
10375         clashes.
10376         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
10377         macros, replacing global variables.
10378         (clear_386_stack_locals, save_386_machine_status,
10379         restore_386_machine_status): Delete functions.
10380         (override_options): Initialize init_machine_status.
10381         * i386.h (INIT_EXPANDERS): Delete macro.
10382         (save_386_machine_status, restore_386_machine_status,
10383         clear_386_stack_locals): Delete declarations.
10384
10385 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10386
10387         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
10388         (doloop_begin):  Simplify pattern and use emit_jump_insn.
10389         (doloop_end): Simplify pattern, switch operand order,
10390         and use emit_jump_insn.
10391
10392 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10393
10394         * function.h (struct function): Add new element LANGUAGE.
10395         (save_lang_status): Declare new variable.
10396         (restore_lang_status): Likewise.
10397         * function.c (save_lang_status): Define.
10398         (restore_lang_status): Likewise.
10399         (push_function_context_to): Call language-specific save function.
10400         (pop_function_context_from): Call language-specific restore function.
10401
10402 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
10403
10404         * i386.md (movsf_1): Check REG_P before use of REGNO.
10405         (movdf_1): Likewise.
10406         (movxf_1): Likewise.
10407         (extendsfdf2): Likewise.
10408         (extendsfxf2): Likewise.
10409         (extenddfxf2): Likewise.
10410
10411 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10412
10413         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
10414         constants into memory.
10415         (c4x_shiftable_constant): New function.
10416         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
10417         (c4x_shiftable_constant): Declare.
10418         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
10419         ashlqi3_noclobber): Add new patterns and associated splitters.
10420
10421 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
10422
10423         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
10424         * dwarf2out.c (dwarf2out_frame_init): Likewise.
10425         * final.c (shorten_branches): Likewise.
10426         * global.c (global_alloc): Likewise.
10427         * haifa-sched.c (build_control_flow): Likewise.
10428         * stmt.c (check_for_full_enumeration_handling): Likewise.
10429         (estimate_case_costs): Likewise.
10430
10431 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
10432
10433         * rtl.h (RTL_CHECKC2): Fix typo in last change.
10434
10435 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
10436
10437         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
10438         (recompute_reg_usage): Likewise.
10439         * rtlanal.c (find_regno_fusage): Likewise.
10440
10441         * rtl.c (rtl_check_failed_code1): New function.
10442         (rtl_check_failed_code2): New.
10443         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
10444         (RTL_CHECKC1, RTL_CHECKC2): New.
10445         (XC*): New accessor macros.
10446         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
10447         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
10448         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
10449         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
10450         (TRAP_*, RANGE_INFO_*): Likewise.
10451
10452 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10453
10454         * Makefile.in (tlink.o): Don't depend on toplev.h.
10455
10456         * collect2.c (c_file, o_file, export_file, import_file, ldout,
10457         output_file, nm_file_name, ldd_file_name, strip_file_name,
10458         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
10459         add_prefix, prefix_from_env, prefix_from_string, do_wait,
10460         fork_execute, maybe_unlink, add_to_list,
10461         extract_init_priority, write_list, dump_list,
10462         dump_prefix_list, write_list_with_asm, write_c_file,
10463         write_c_file_stat, write_c_file_glob, scan_prog_file,
10464         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
10465         ignore_library, extract_string, notice, dump_file, target_machine,
10466         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
10467         read_file, print_load_command): Constify a char*.
10468         (fdopen, error, fatal, fatal_perror): Don't prototype.
10469         (my_strerror): Remove.  All callers use xstrerror instead.
10470         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
10471         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
10472         to xcalloc/strcpy/strcat/...  to one call to concat.
10473         (main, scan_prog_file, scan_libraries): Use an intermediate
10474         `const char **' to build an argv array.
10475         (mapfile, libselect, libcompare, locatelib): Add prototypes.
10476
10477         * collect2.h (collect_execute, collect_wait, dump_file,
10478         file_exists): Constify a char*.
10479         (ldout, c_file_name, temporary_obstack, permanent_obstack,
10480         temporary_firstobj, vflag, debug): Add extern declarations.
10481         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
10482
10483         * tlink.c: Don't include toplev.h.
10484         (vflag, debug, ldout, c_file_name, temporary_obstack,
10485         permanent_obstack, temporary_firstobj): Don't declare.
10486         (tlink_execute, frob_extension, symbol_hash_lookup,
10487         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
10488         recompile_files, read_repo_files, demangle_new_symbols,
10489         scan_linker_output): Constify a char*.
10490         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
10491         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
10492
10493 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
10494
10495         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
10496         (relative) rather than jsr (absolute) subroutine call insns.
10497         * config/m68k/m68k-coff.h: Ditto.
10498
10499 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
10500
10501         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
10502         now rework these too.
10503         (arm_reorg): If an insn can't reach the end of the current pool,
10504         ensure that we emit that pool before the insn.
10505
10506 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
10507
10508         * tlink.c (scan_linker_output): Skip the initial underscore in
10509         a mangled name if appropriate.
10510
10511 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10512
10513         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
10514         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
10515         error_with_ivar, gen_declarator, create_builtin_decl,
10516         my_build_string, generate_descriptor_table, generate_ivars_list,
10517         generate_dispatch_table, check_protocols, TAG_GETCLASS,
10518         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
10519         dump_base_name, lang_decode_option, build_encode_expr,
10520         start_class, finish_class, encode_pointer, really_start_method,
10521         gen_declaration, dump_interface, handle_class_ref, handle_impent):
10522         Constify.
10523         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
10524         Add static prototypes.
10525         (build_objc_string_decl, build_selector_reference_decl,
10526         encode_bitfield, build_class_reference_decl): Remove unused
10527         parameter, all callers changed.
10528         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
10529         (objc_printable_name): Likewise.  Change second parameter to type int.
10530         (init_objc): Use memcpy, not bcopy, to avoid casts.
10531
10532 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
10533
10534         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
10535         reg notes on a deleted insn.
10536         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
10537
10538 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
10539
10540         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
10541
10542 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10543
10544         * stmt.c (expand_asm_operands): Fix index into inout_mode when
10545         reading it.
10546
10547 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
10548
10549         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
10550         * tm.texi (MD_ASM_CLOBBERS): Document it.
10551
10552 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
10553
10554         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
10555         * except.c (expand_rethrow): Remove unused variable.
10556         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
10557         * flow.c (replace_insns): Likewise.
10558         (create_edge_list, verify_edge_list): Likewise.
10559         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
10560
10561         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
10562         is special code to run.
10563         (main): Don't define operands to emit_operand.
10564         * genrecog.c (main): Don't emit an empty peephole2_insn function.
10565
10566         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
10567
10568         * alpha/alpha.h (normal_memory_operand): Declare.
10569         (reg_no_subreg_operand): Declare.
10570         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
10571
10572 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
10573
10574         * c-parse.in (compstmt_primary_start): New, broken out of first
10575         part of compstmt handling in primary.
10576         (primary): Use it.  Add an error clause.
10577         (compstmt_nostart): Renamed from compstmt; remove all
10578         initial invocations of compstmt_start.
10579         (compstmt): New.
10580
10581 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
10582
10583         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
10584         needed.
10585
10586 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
10587
10588         * combine.c (simplify_shift_const): Remove extra semicolon.
10589         * dwarf2out.c (remove_AT): Likewise.
10590         * expmed.c (expand_mult): Likewise.
10591         * gcov.c (create_program_flow_graph): Likewise.
10592         * reorg.c (mostly_true_jump): Likewise.
10593
10594 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
10595
10596         * fold-const.c (fold_range_test): Do not try to fold the range
10597         test if the rhs or lhs has side effects.
10598
10599         * combine.c (simplify_rtx): Recognize another case of a synthesized
10600         sign extension.
10601
10602         * varasm.c (mark_constant_pool): When marking indirect references,
10603         only look at SYMBOL_REFs.
10604
10605         * except.c (expand_fixup_region_end): Do not peek at
10606         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
10607
10608 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
10609
10610         * flags.h: New variables align_loops, align_loops_log,
10611         align_jumps, align_jumps_log, align_labels, align_labels_log,
10612         align_functions, align_functions_log.
10613         * toplev.c: Define them.
10614         (f_options): Handle -falign-* when they have no argument.
10615         (main): Add logic to set variables for -falign-functions,
10616         -falign-jumps, -falign-labels, -falign-loops.
10617         Make it -fsched-verbose=<n> and -finline-limit=<n>.
10618         (display_help): Change help to match options.
10619         * final.c (LABEL_ALIGN): Default to align_labels_log.
10620         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
10621         (LOOP_ALIGN): Default to align_loops_log.
10622         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
10623         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
10624         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
10625         * varasm.c (assemble_start_function): Handle align_functions.
10626
10627         * config/sparc/sparc.h: Don't declare sparc_align_*.
10628         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
10629         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
10630         sparc.c.
10631         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
10632         it's a promise.
10633         * config/sparc/sparc.c: Delete sparc_align_loops,
10634         sparc_align_jumps, sparc_align_funcs and the corresponding string
10635         variables.
10636         (sparc_override_options): Default align_functions on ultrasparc.
10637         Delete -malign-* handling.
10638
10639         * config/mips/mips.c (override_options):  On 64-bit targets,
10640         try to align code to 64-bit boundaries.
10641         (print_operand): New substitution, %~,
10642         which aligns labels to align_labels_log.
10643         * config/mips/mips.md (div_trap_normal): Use %~.
10644         (div_trap_mips16): Likewise.
10645         (abssi): Likewise.
10646         (absdi2): Likewise.
10647         (ffssi2): Likewise.
10648         (ffsdi2): Likewise.
10649         (ashldi3_internal): Likewise.
10650         (ashrdi3_internal): Likewise.
10651         (lshrdi3_internal): Likewise.
10652         (casesi_internal): Likewise.
10653
10654 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
10655
10656         Merge new ia32 backend from the branch!
10657
10658         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
10659         See ChangeLog.P2 on new_ia32_branch for details.
10660
10661         * rtl.h (stack_regs_mentioned_p): Delete prototype.
10662         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
10663         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
10664         * i386/gas.h (ASM_FILE_START): Define.
10665         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
10666         for name change of ix86_valid_decl_attribute_p.
10667         (i386_pe_valid_type_attribute_p): Similarly.
10668
10669 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
10670
10671         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
10672         to step through CC modes.
10673
10674 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10675
10676         * regmove.c (fixup_match_1): Don't move INSN in front of P if
10677         it would end up in the shadow of a live flags regsiter.
10678
10679 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10680
10681         * reload1.c: Fix many indentation problems.
10682         * reload.c: Likewise.
10683
10684 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
10685
10686         * alias.c (non_local_reference_p): Constify fmt.
10687
10688 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
10689
10690         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
10691
10692 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
10693
10694         * cse.c (delete_trivially_dead_insns): Do not delete stores to
10695         the internal_arg_pointer.
10696
10697 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
10698
10699         Merge peephole2 from new_ia32_branch:
10700         * Makefile.in (STAGESTUFF): Add *.peephole2.
10701         (mostlyclean): Likewise.
10702         (recog.o): Depend on resource.h.
10703
10704         * final.c (peephole): Conditionalize decl on HAVE_peephole.
10705         (final_scan_insn): Likewise for the invocation of peephole.
10706         * genconfig.c (main): Look for peephole and peephole2 patterns.
10707         Emit HAVE_peephole* accordingly.
10708         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
10709         * flags.h (flag_peephole2): Declare.
10710         * toplev.c: New pass peephole2.  New flag -fpeephole2.
10711
10712         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
10713         * gencodes.c (main): Likewise.
10714         * genextract.c (main): Likewise.
10715         * genoutput.c (main): Likewise.
10716         * genemit.c (max_operand_1): Look for the max scratch operand.
10717         (gen_rtx_scratch): New.
10718         (gen_exp): Use it, and pass on new arg subroutine_type.
10719         (gen_expand): Take max scratch into account.
10720         (gen_split): Emit peephole2 functions.
10721         (output_peephole2_scratch): New.
10722         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
10723         * genrecog.c (routine_type): Add PEEPHOLE2.
10724         (IS_SPLIT): New.
10725         (make_insn_sequence): Match outer parallel for peep2.  Discard
10726         top level scratches and dups.
10727         (add_to_sequence): New args insn_type and top.  Update all callers.
10728         Handle toplevel peep2 matching insns.
10729         (write_subroutine): Handle peep2.
10730         (write_tree_1): Likewise.
10731         (write_tree): Likewise.
10732         (main): Likewise.
10733         (change_state): New arg afterward.  Update all callers.
10734         Handle matching separate insns.
10735         * recog.c (recog_next_insn): New.
10736         (peephole2_optimize): New.
10737         * rtl.def (DEFINE_PEEPHOLE2): New.
10738         * resource.c (find_free_register): New argument last_insn.  Use it
10739         to find a register available through the entire span.
10740         * resource.h (find_free_register): Update prototype.
10741
10742 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
10743
10744         * i386.c (output_strlen_unroll): Don't write xops[7]
10745         label if it wasn't set.
10746
10747 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
10748
10749         * cpplib.c (struct directive): Const-ify name pointer and
10750         function pointer prototype.
10751         (validate_else, do_define, do_line, do_include, do_undef,
10752         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
10753         do_elif, do_endif, do_sccs, do_assert, do_unassert,
10754         do_warning): Const-ify second arg.
10755         (directive_table): Mark const.  Reorder entries by frequency
10756         of usage, record statistics.
10757
10758 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
10759
10760         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
10761         bounds- check RTL accesses if --enable-checking.
10762         (RTVEC_ELT): Bounds check if --enable-checking.
10763         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
10764         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
10765         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
10766         GET_NUM_ELEM.
10767         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
10768         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
10769
10770         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
10771         (NOTE_SOURCE_FILE): Use X0STR.
10772         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
10773         MEM_ALIAS_SET): Use X0INT.
10774         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
10775         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
10776         Use X0EXP.
10777         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
10778         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
10779         (rtl_check_failed_bounds, rtl_check_failed_type1,
10780         rtl_check_failed_type2, rtvec_check_failed_bounds): New
10781         functions.
10782         (fancy_abort): Fix comment.
10783
10784         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
10785         (cse_insn): Decrement LABEL_NUSES for jump target before
10786         deleting jump insn.
10787         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
10788         * final.c (alter_subreg): Compute regno before changing x to
10789         REG; set REGNO(x) after changing it.
10790         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
10791         notes containing CONST_INTs.
10792         (delete_eh_regions): Use NOTE_EH_HANDLER.
10793         * function.c (put_reg_into_stack): Make reg a MEM before
10794         initializing it.
10795         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
10796         delete insn.
10797         (gen_mem_addressof): Make reg a MEM before initializing it.
10798         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
10799         X0WINT.
10800         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
10801         deleting an insn, not after.
10802         (block_alloc): Only look at PATTERN(insn) if we have to, and
10803         only if it's format class 'i'.
10804         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
10805         CONST_INT before using its INTVAL.
10806         * print-rtl.c (print_rtx): Use X0STR.
10807         * regmove.c (fixup_match_1): Don't look at PATTERN of
10808         non-class-'i' insn chain elements.
10809         * reload.c (loc_mentioned_in_p): Take address of
10810         in->fld[1].rtx directly.
10811         * reload1.c (reload): Change reg to a MEM before initializing
10812         it.
10813         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
10814         have no names.
10815         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
10816
10817 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
10818
10819         * config/mips/mips.c (machine_dependent_reorg): Force a
10820         barrier to output the local constant pool if a barrier hasn't
10821         been found at a natural point in the instruction stream.
10822
10823 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10824
10825         * c-parse.in (language_string): Constify.
10826
10827         * dwarf2out.c (language_string): Remove declaration.
10828
10829         * dwarfout.c (language_string): Likewise.
10830
10831         * toplev.c (language_string, init_parse, finish_parse): Likewise.
10832
10833         * tree.h (language_string, init_parse, finish_parse): Declare.
10834
10835         * i386/sun386.h (language_string): Remove declaration.
10836
10837         * mips.h (language_string): Likewise.
10838
10839         * nextstep.h (language_string): Likewise.
10840
10841         * nextstep21.h (language_string): Likewise.
10842
10843         * rs6000.c (language_string): Likewise.
10844
10845 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10846
10847         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
10848         (getpwd.o): Remove target.
10849
10850         * getpwd.c: Delete file.  Its in libiberty now.
10851
10852         * dbxout.c (getpwd): Don't prototype.
10853         * dwarf2out.c (getpwd): Likewise
10854         * dwarfout.c (getpwd): Likewise
10855         * final.c (getpwd): Likewise.
10856         * protoize.c (getpwd): Likewise.
10857
10858 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10859
10860         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
10861
10862 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
10863
10864         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
10865         mark_set_resources.
10866
10867 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
10868
10869         * fixinc/Makefile.in (subdir): New.
10870         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
10871         (Makefile): New.
10872
10873 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
10874
10875         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
10876         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
10877         be shared.
10878
10879         * invoke.texi: Fix typo.
10880
10881         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
10882         changed.  Handle autoincrement addressing modes.
10883
10884         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
10885         just like we would the virtual incoming args register when
10886         integrating.
10887
10888 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
10889
10890         * rs6000.h (ASM_FILE_START): Specify complete filename, including
10891         path, in .file directive.
10892
10893 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
10894
10895         * gcc.texi (External Bugs): Remove obsolete note about Perl on
10896         SunOS.
10897
10898 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
10899
10900         * stdbool.h: Make the typedef name _Bool, with bool a #defined
10901         alias.
10902
10903 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10904
10905         * tree.c (tree_code_name): Constify a char*.
10906
10907         * tree.h (tree_code_name, decl_printable_name): Likewise.
10908
10909         * function.h (struct function): Likewise.
10910
10911         * toplev.c (decl_name, decl_printable_name): Likewise.
10912
10913         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
10914
10915         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
10916         (init_objc): Remove function pointer cast.
10917
10918 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
10919
10920         * pa.md (interspace_jump): New pattern.
10921         (builtin_longjmp): New expander.
10922
10923 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10924
10925         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
10926         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
10927         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
10928
10929 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
10930
10931         * jump.c (delete_prior_computation): Also check calls
10932         to constant functions.  Don't bother checking for a
10933         REG_UNUSED note before adding it.
10934         (delete_computation): Handle multi-word hard registers
10935         when synthesizing missing REG_DEAD notes for a register
10936         which is both set and used by an insn.
10937
10938 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10939
10940         * loop.c (this_loop_info): New variable.
10941         (loop_has_call, loop_has_volatile, loop_has_tablejump,
10942         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
10943         All uses updated.
10944         (prescan_loop, strength_reduce): New argument loop_info.  All callers
10945         updated.
10946         (scan_loop): New variable loop_info, initialise to address of
10947         this_loop_info.
10948         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
10949         Delete variable loop_has_multiple_exit targets and replace with
10950         field in this_loop_info.
10951         (find_and_verify_loops): Rename this_loop to this_loop_num.
10952         (strength_reduce): Delete loop_iteration_info.  Replace variable
10953         loop_info with function argument of same name.
10954         (insert_bct): Rework test for loop being completely unrolled.
10955
10956         * loop.h (struct loop_info): New fields num, loops_enclosed,
10957         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
10958         has_indirect_jump, and cont.  Redefine use of unroll_number.
10959         (loop_unroll_number): Delete.
10960
10961         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
10962         field of loop_info.
10963         (loop_iterations): Delete variable vtop and instead use
10964         loop_info->vtop computed in prescan_loop.
10965
10966 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
10967
10968         * fix-header.c (main): Do not pass a null pointer to strcmp.
10969
10970 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
10971
10972         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
10973         filenames.
10974         * configure: Rebuilt.
10975
10976 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
10977
10978         * jump.c (jump_optimize_1): Do not delete assignments to
10979         internal_arg_pointer.
10980         * cse.c (delete_trivially_dead_insns): Always consider a set of
10981         the internal_arg_pointer live.
10982
10983 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
10984
10985         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
10986         (update_life_info) [REG_WAS_0]: Search the original insns rather
10987         than the new insns for the note.  Fix typos finding note_dest.
10988         If no dest found, discard the note rather than abort.
10989         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
10990         (replace_insns): Remove the old insn list after update_life_info
10991         not before.
10992
10993 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
10994
10995         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
10996         sched_analyze_insn.
10997         (sched_analyze_1): Let add_dependence care for not adding dups.
10998         (sched_analyze_2): Likewise.
10999         (add_branch_dependences): Likewise.
11000
11001 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11002
11003         * i386/winnt.c (export_list): New type.
11004         (exports_head): Rename to
11005         (export_head):  this.
11006         (i386_pe_record_exported_symbol): Add is_data flag.
11007         (i386_pe_asm_file_end): Emit directive for exported variables.
11008         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
11009         prototype.
11010         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
11011         (ASM_DECLARE_OBJECT_NAME): Likewise.
11012         (ASM_DECLARE_FUNCTION_NAME): Likewise.
11013         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11014
11015 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
11016
11017         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
11018
11019         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
11020         operand.
11021
11022 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
11023
11024         * config/openbsd.h: Define SET_ASM_OP.
11025         * tm.texi: cross-reference SET_ASM_OP in the index.
11026
11027 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
11028
11029         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
11030         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
11031         and class_narrowest_mode at compile time.  Kill init_rtl.
11032         Mark rtx_length, mode_class, mode_size, mode_unit_size,
11033         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
11034         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
11035         EXTRA_CC_NAMES.
11036         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
11037         format.
11038         * rtl.h: Declare rtx_length and rtx_format as const.
11039         * machmode.def: Define CC().  Use CC() to define CCmode.  If
11040         EXTRA_CC_MODES is defined, expand it here.
11041         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
11042         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
11043         const.  Kill all references to EXTRA_CC_MODES.
11044
11045         * toplev.c: Don't prototype or call init_rtl.
11046         * optabs.c: Don't call init_mov_optab.
11047         * genemit.c: Don't generate init_mov_optab.  Don't call
11048         init_rtl.
11049         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
11050         here.
11051         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
11052         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
11053         genrecog.c: Don't call init_rtl.
11054
11055         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
11056         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
11057         definition of EXTRA_CC_MODES.
11058
11059         * md.texi: Kill ref to EXTRA_CC_NAMES.
11060         * tm.texi: Document new way to define EXTRA_CC_MODES.
11061
11062         * genrecog.c: Do not look up the name of a define_split.
11063         (Unrelated bugfix.)
11064
11065 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
11066
11067         * config/v850/v850.md: Fix typo introduced by previous delta.
11068
11069 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11070
11071         * gcc.c (fatal): Make definition static to match prototype.
11072
11073 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11074
11075         * combine.c (get_last_value): Don't look for earlier sets if the last
11076         known set is somewhere in between the insns being combined.
11077
11078 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
11079
11080         * configure.in: Don't use shell ! to negate exit codes
11081         * configure: Regenerate
11082
11083 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
11084
11085         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
11086         the fact that ALIGN is measured in bits, not bytes.
11087
11088 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
11089
11090         * errors.c: New file; defines functions error, warning, and
11091         fatal, variables have_error and progname.
11092         * errors.h: New file; prototypes and decls for stuff in errors.c.
11093
11094         * Makefile: Add rules to build errors.o and
11095         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
11096         genopinit, genrecog, genextract, genpeep, genattr, and
11097         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
11098         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
11099         genpeep.o, genattr.o, and genoutput.o.
11100
11101         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
11102         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
11103         define or prototype fatal.  Set progname at beginning of main.
11104         * genoutput.c:  Likewise, and don't define or prototype error
11105         either.
11106
11107         * c-typeck.c (c_expand_start_case): Return immediately if exp
11108         is an ERROR_MARK.
11109         * fold-const.c (operand_equal_p): Return immediately if arg1
11110         or arg0 are ERROR_MARKs.
11111         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
11112         fields of type ERROR_MARK when calculating if the record can
11113         go in a register.
11114
11115 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
11116         with much help from Jeffrey A Law and Richard Henderson
11117
11118         * i386.md: In the 6 insns which call output_fix_trunc,
11119         earlyclobber operands[0].
11120
11121 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
11122
11123         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
11124         creating new registers.
11125
11126 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
11127
11128         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
11129         i386_reg_alloc_order, i386_regparm_string,
11130         i386_align_loops_string, i386_align_jumps_string,
11131         i386_align_funcs_string, i386_preferred_stack_boundary_string,
11132         and i386_branch_cost_string as type "const char *".
11133         * i386.c: Define all above strings as type "const char *".
11134
11135 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
11136
11137         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
11138         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
11139
11140 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
11141
11142         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
11143         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
11144
11145 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
11146
11147         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
11148         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
11149         (dwarf2out_line, dwarf2out_finish): Likewise.
11150         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
11151
11152 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11153
11154         * tree.c (lang_unsave_expr_now) : Correct return type.
11155         * tree.h (lang_unsave_expr_now) : Same.
11156
11157 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
11158
11159         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
11160         instead of duplicating code.
11161
11162 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11163
11164         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
11165
11166 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
11167
11168         * tree.h: fancy_abort always takes three args.
11169         * resource.c: Move include of system.h before toplev.h.
11170
11171 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
11172
11173         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
11174         as SYMBOL_REFs.
11175
11176 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
11177
11178         * system.h: Don't redefine abort or trim_filename.
11179         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
11180         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
11181         whether or not __FUNCTION__ is available.
11182         * tree.h: Duplicate rtl.h's definition of abort, for files
11183         that don't include rtl.h.  Delete all code to perform type
11184         checking with a compiler other than GCC.
11185         * varray.h: Delete all code to perform type checking with a
11186         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
11187         its arguments exactly once, using a statement expression.
11188         Adjust the VARRAY_<type> accessor macros to match.
11189         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
11190         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
11191         caller's location.  Define fatal_insn and fatal_insn_not_found
11192         as macros that use _fatal_insn and _fatal_insn_not_found.
11193         (fancy_abort, trim_filename): Kill prototypes.
11194
11195         * rtl.c (trim_filename): Move here from toplev.c.
11196         (fancy_abort): New function.
11197         (DIR_SEPARATOR): Provide default definition.
11198         * tree.c (tree_check_failed, tree_class_check_failed): Go
11199         through fancy_abort.
11200         (tree_check, tree_class_check, cst_or_constructor_check,
11201         expr_check): Delete.
11202         * varray.c (varray_check_failed): New function.
11203         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
11204         _fatal_insn and _fatal_insn_not_found.  Go through
11205         fancy_abort.
11206         (trim_filename, fancy_abort): Delete.
11207
11208         * builtins.c (expand_builtin_args_info): Report ICE with abort.
11209         * except.c (start_catch_handler): Report ICE with error/abort
11210         combo.
11211         * final.c (output_operand_lossage): Likewise.
11212         * flow.c (verify_flow_info): Likewise.
11213
11214         * gcc.c: Prototype fatal.
11215         * gengenrtl.c: Undef abort after including rtl.h not system.h.
11216         * genattr.c, genattrtab.c, genemit.c, genextract.c,
11217         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
11218         Don't define fancy_abort.
11219
11220 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
11221
11222         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
11223         canonization.
11224
11225 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
11226
11227         * m88k.h (VERSION_INFO2): Kill.
11228         (VERSION_STRING): Kill.
11229         (TM_RCS_ID): Kill.
11230         (VERSION_INFO1): Tidy.
11231         (TARGET_VERSION): Update.
11232         * m88k/dgux.h (VERSION_INFO2): Kill.
11233         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
11234         * m88k/luna.h (VERSION_INFO1): Tidy.
11235         * m88k/sysv4.h (VERSION_INFO1): Likewise.
11236         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
11237         (output_file_start): Adjust for death of VERSION_STRING.
11238
11239 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
11240
11241         * cpplib.c (detect_if_not_defined): New function.
11242         (do_if): Use it to detect potential once-only headers.
11243
11244 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
11245
11246         * c-common.c (combine_strings): Always set TREE_CONSTANT.
11247
11248 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11249
11250         * combine.c (nonzero_bits) : Allow single-ly set registers to be
11251         anywere in the function only if they are pseudos and set before
11252         being used (not live at the start of the function).
11253         (num_sign_bit_copies) : Same.
11254         (get_last_value_validate) : Same.
11255         (get_last_value) : Same.
11256
11257 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
11258
11259         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
11260         where N and M are constant and N is an integer multiple of M.
11261
11262 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11263
11264         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
11265         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
11266         sbitmap_union_of_preds): Add prototypes.
11267         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
11268         the intersection of successors with the new flow graph structures.
11269         (sbitmap_intersection_of_preds): New function to compute the
11270         intersection of predecessors with the new flow graph structures.
11271         (sbitmap_union_of_succs): New function to compute the union of
11272         successors with the new flow graph structures.
11273         (sbitmap_union_of_preds): New function to compute the union of
11274         predecessors with the new flow graph structures.
11275         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
11276         (expr_reaches_here_p): Use edge and basic_block structures instead
11277         of s_preds and s_succs.
11278         (compute_cprop_avinout): Use new sbitmap routines.
11279         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
11280         of s_preds and s_succs.
11281         * flow.c (compute_flow_dominators): Compute dominators using
11282         edges and basic blocks instead of s_preds and s_succs.
11283
11284 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
11285
11286         * lists.c (unused_insn_list, unused_expr_list): New file for
11287         maintaining various types of lists. New statics for maintaining a
11288         cache of available INSN_LIST and EXPR_LIST nodes.
11289         (free_list): Static function for freeing a list of INSN/EXPR nodes.
11290         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
11291         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
11292         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
11293         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
11294         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
11295         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
11296         (free_INSN_LIST_node): Free an individual INSN_LIST node.
11297         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
11298         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
11299         (remove_dependence, free_pending_lists): Use new global routines.
11300         (flush_pending_lists, sched_analyze_insn): Use new global routines.
11301         (sched_analyze, compute_block_backward_dependences): Use new routines.
11302         (sched_analyze_1, sched_analyze_2): Use new routines.
11303         (schedule_insns): Use new global routines.
11304         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
11305         prototypes.
11306         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
11307         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
11308         prototypes.
11309         * toplev.c (rest_of_compilation): Initialize node cache.
11310         * Makefile.in (OBJS): Add lists.o to list of object files.
11311         (lists.o): Add dependancies.
11312
11313 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
11314
11315         * config/v850/v850.md: Fix compile time warning messages.
11316         * config/v850/v850.c: Fix compile time warning messages.
11317         * config/v850/v850.h: Fix compile time warning messages.
11318
11319 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11320
11321         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
11322         Remove unused prototype for `init_lengths'.
11323
11324 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11325
11326         * calls.c (emit_call_1): Mark parameter `stack_size' with
11327         ATTRIBUTE_UNUSED.
11328         (expand_call): Initialize variable `insn'.
11329         (emit_library_call): Likewise for variable `high_to_save'.
11330         (emit_library_call_value): Likewise.
11331         (store_one_arg): Likewise for variables `lower_bound' and
11332         `upper_bound'.
11333
11334         * combine.c (try_combine): Likewise for variables `i2_code_number'
11335         and `other_code_number'.
11336         (find_split_point): Likewise for variables `pos', `unsignedp' and
11337         `inner'.
11338         (simplify_if_then_else): Likewise for variables `op' and `c1'.
11339         (simplify_and_const_int): Remove unused variable `width'.
11340         (merge_outer_ops): Likewise.
11341
11342         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
11343         HOST_WIDE_INT' when comparing against one.
11344         (simplify_relational_operation): Likewise.
11345         (cse_insn): Initialize variables `src_eqv_volatile',
11346         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
11347
11348         * final.c (init_final): Constify parameter `filename'.
11349         (final_start_function): Mark parameter `optimize' with
11350         ATTRIBUTE_UNUSED.
11351         (profile_function): Likewise for parameters `first' and `optimize'.
11352         (output_source_line): Likewise for parameter `file'.
11353
11354         * integrate.c (subst_constants): Cast a value to `size_t' when
11355         comparing against one.
11356         (mark_stores): Initialize variable `mode'.  Cast a value to
11357         `size_t' when comparing against one.
11358
11359         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
11360
11361         * loop.c (move_movables): Initialize variable `first'.
11362         (strength_reduce): Likewise for variable `increment'.
11363         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
11364         value to `size_t' when comparing against one.
11365         (load_mems): Initialize variable `end_label'.
11366
11367         * output.h (init_final): Constify parameter.
11368
11369         * reload.c (decompose): Initialize variable `base'.
11370
11371         * reload1.c (reload): Likewise for variable `is_scalar'.
11372         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
11373         (choose_reload_regs): Initialize variable `mode'.
11374         (emit_reload_insns): Likewise for variable `store_insn'.
11375         (reload_cse_noop_set_p): Mark parameter `insn' with
11376         ATTRIBUTE_UNUSED.
11377         (reload_combine): Initialize variable `set'.
11378
11379         * unroll.c (unroll_loop): Likewise for variable `local_label'.
11380         (copy_loop_body): Cast a value to `size_t' when comparing against
11381         one.
11382
11383         * varasm.c (assemble_variable): Initialize variable `size_tree'.
11384         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
11385         (remove_from_pending_weak_list): Mark parameter `name' with
11386         ATTRIBUTE_UNUSED.
11387
11388 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11389
11390         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
11391         gcse dump file.
11392
11393 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
11394
11395         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
11396         (ASM_DECLARE_FUNCTION_NAME): Define.
11397         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
11398         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
11399         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
11400         not already defined.
11401
11402 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11403
11404         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
11405         of n_popped when call/call_value are not defined.
11406
11407 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
11408
11409         * tm.texi: GNU CC -> GCC conversion.
11410         (CC1_SPEC): Indicate it is used for all language front ends.
11411
11412 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
11413
11414         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
11415         NOTE_INSN_EH_REGION_END correctly.
11416
11417 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
11418                           Jeff Law <law@cygnus.com>
11419
11420         * loop.c (strength_reduce): Automatically unroll loops if the
11421         unrolled loop size is smaller than the rolled loop size.
11422
11423         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
11424         and delete comment that code should be rewritten.
11425
11426 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
11427
11428         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
11429         as reachable.
11430
11431         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
11432
11433 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11434
11435         * fixinc/mkfixinc.sh: Don't fix uwin headers.
11436         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
11437         (LINK_SPEC): Add -u _main when building executables.
11438         (ASM_DECLARE_FUNCTION): Update from Cygwin.
11439         (ASM_FILE_END): Use the default for ix86-pe.
11440         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
11441
11442 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
11443
11444         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
11445         and ASM_CLOSE_PAREN are empty strings.
11446
11447 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
11448                           Geoffrey Keating <geoffk@cygnus.com>
11449
11450         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
11451         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
11452         (unprotoize.o): Ditto.
11453         (test-protoize-simple): Don't define STD_PROTO_DIR.
11454         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
11455         changes to make 'test-protoize-simple' pass.
11456         (STD_PROTO_DIR): Remove define.
11457         (STANDARD_EXEC_PREFIX): Supply default define.
11458         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
11459         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
11460         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
11461         (GET_ENV_PATH_LIST): New macro.
11462         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
11463         (do_processing): Initialize default_syscalls_dir using new
11464         macros.  Use it to initialize syscalls_absolute_filename.
11465
11466 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
11467
11468         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
11469         B into a register before emit_conditional_move.
11470
11471 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
11472
11473         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
11474         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
11475         multiplicand out of (+ (* a b) (* c d)).
11476
11477 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
11478                           Richard Henderson  <rth@cygnus.com>
11479
11480         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
11481         (new_insn_dead_notes): Likewise.
11482         (update_n_sets): Likewise.
11483         (update_flow_info): Move to flow.c, renamed to update_life_info;
11484         extend to handle multiple source insns.
11485         * flow.c: Include resource.h
11486         (unlink_insn_chain): New.
11487         (split_hard_reg_notes): New.
11488         (maybe_add_dead_note): New.
11489         (maybe_add_dead_note_use): New.
11490         (find_insn_with_note): New.
11491         (new_insn_dead_notes): New.
11492         (update_n_sets): New.
11493         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
11494         (maybe_remove_dead_notes): New.
11495         (update_life_info): New.
11496         (prepend_reg_notes): New.
11497         (replace_insns): New.
11498         * output.h (update_life_info): Declare.
11499         * recog.c (split_block_insns): Use update_life_info.
11500         * resource.c (find_free_register): Use reg_alloc_order, don't use
11501         fixed regs, make sure the mode is supported, don't use new regs.
11502         (reg_dead_p): New.
11503         * rtl.h (replace_insns): Declare.
11504
11505 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
11506
11507         * expr.c (expand_expr): Cope with COND_EXPRs with one
11508         non-returning branch.
11509
11510 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
11511
11512         * expr.c (store_expr): Always pass down the target, even when not
11513         doing CSE.
11514
11515 1999-08-24  Nick Clifton  <nickc@cygnus.com>
11516
11517         * configure.in: Define target_cpu_default for v850 targets.
11518         * configure: Regenerate
11519
11520         * config/v850/v850.h (TARGET_CPU_generic): Define.
11521         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
11522         addresses are 4 byte aligned.
11523
11524         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
11525         addresses.
11526
11527 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11528
11529         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
11530         (main): Add prototypes.
11531
11532         * genattrtab.c (substitute_address, write_const_num_delay_slots,
11533         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
11534         (write_attr_get): Emit prototypes along with function definition.
11535         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
11536         (write_complex_function): Emit static prototype along with
11537         function definition.
11538
11539         * genemit.c (gen_split): Emit prototypes along with function
11540         definition.
11541
11542         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
11543         Likewise for predicates and `insn_operand_predicate'.
11544         (process_template): Emit static prototype along with function
11545         definition.
11546
11547         * genrecog.c (make_insn_sequence): Constify a char*.  Add
11548         prototypes for get_split_*().
11549         (write_subroutine): Emit prototypes along with function
11550         definition.
11551
11552 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11553
11554         * gcse.c (find_avail_set): Follow chains of register-register copies.
11555         Use oprs_not_set_p to guarantee that the returned value can be
11556         substituted.
11557         (cprop_insn): Don't verify the return value of find_avail_set with
11558         oprs_not_set_p.
11559
11560         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
11561         (cprop_cc0_jump): New function.
11562         (cprop_insn): Break out new function cprop_jump and use it.
11563         Also use cprop_cc0_jump for machines with CC0.
11564         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
11565
11566         * tree.h (current_function_calls_setjmp,
11567         current_function_calls_longjmp): Delete declarations.
11568         * dsp16xx.c: Include "function.h".
11569         * elxsi.c: Likewise.
11570         * gmicro.c: Likewise.
11571         * h8300.c: Likewise.
11572         * i370.c: Likewise.
11573         * m32r.c: Likewise.
11574         * mn10200.c: Likewise.
11575         * mn10300.c: Likewise.
11576         * ns32k.c: Likewise.
11577         * spur.c: Likewise.
11578         * v850.c: Likewise.
11579
11580         * rtl.h (rtx_equal_function_value_matters): Declare.
11581         * toplev.c (rtx_equal_function_value_matters): Don't declare.
11582         * cse.c: Likewise.
11583         * function.c: Likewise.
11584         * emit-rtl.c: Likewise.
11585
11586 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
11587
11588         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
11589         call.
11590
11591 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11592
11593         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
11594         exactly.
11595
11596 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
11597
11598         * cpp.texi: Add a node documenting macro varargs (copied
11599         from extend.texi).
11600
11601 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
11602
11603         * cppspec.c: Put a null pointer at the end of the new argv.
11604
11605 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
11606
11607         * configure.in: Remove code to select/de-select the haifa
11608         scheduler.  Every scheduled port gets haifa now.
11609         * configure: Rebuilt.
11610         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
11611         * sched.c Deleted.
11612         * Makefile.in: Corresponding changes.
11613
11614 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11615
11616         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
11617         All callers changed.
11618         (prepare_float_lib_cmp): Likewise.
11619         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
11620         * expr.h (emit_float_lib_cmp): Delete declaration.
11621         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
11622         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
11623         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
11624         specially.
11625         (cmptf): Now conditional on TARGET_HARD_QUAD.
11626
11627 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
11628
11629         * resource.c (mark_target_live_regs): Use
11630         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
11631
11632 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11633
11634         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
11635
11636         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
11637
11638         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
11639
11640 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11641
11642         * rtl.h (rtx_format): Constify a char*.
11643
11644         * rtl.c (rtx_format): Likewise.
11645         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
11646         (init_rtl): Use accessor macro, not `rtx_format'.
11647
11648         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
11649         char*.
11650
11651         * caller-save.c (mark_referenced_regs): Likewise.
11652
11653         * combine.c (subst, make_compound_operation, known_cond,
11654         gen_rtx_combine, update_table_tick, get_last_value_validate,
11655         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
11656
11657         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
11658         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
11659         count_reg_usage): Likewise.
11660
11661         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
11662         Likewise.
11663
11664         * final.c (leaf_renumber_regs_insn): Likewise.
11665
11666         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
11667         dump_edge_info, count_reg_references): Likewise.
11668
11669         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
11670         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
11671         Likewise.
11672
11673         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
11674         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
11675         add_label_notes): Likewise.
11676
11677         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
11678         clear_struct_flag, count_sub_rtxs, count_alternatives,
11679         compares_alternatives_p, contained_in_p, walk_attr_value,
11680         write_expr_attr_cache): Likewise.
11681
11682         * genconfig.c (walk_insn_part): Likewise.
11683
11684         * genemit.c (max_operand_1, gen_exp): Likewise.
11685
11686         * genextract.c (walk_rtx): Likewise.
11687
11688         * genflags.c (num_operands): Likewise.
11689
11690         * genoutput.c (scan_operands): Likewise.
11691
11692         * genpeep.c (match_rtx): Likewise.
11693
11694         * genrecog.c (add_to_sequence): Likewise.
11695
11696         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
11697         Likewise.
11698
11699         * integrate.c (save_constants, copy_for_inline,
11700         copy_rtx_and_substitute, subst_constants, restore_constants):
11701         Likewise.
11702
11703         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
11704         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
11705
11706         * local-alloc.c (contains_replace_regs, memref_referenced_p):
11707         Likewise.
11708
11709         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
11710         add_label_notes, replace_call_address, count_nonfixed_reads,
11711         invariant_p, find_single_use_in_loop, find_mem_givs,
11712         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
11713         Likewise.
11714
11715         * print-rtl.c (reg_names, print_rtx): Likewise.
11716
11717         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
11718
11719         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
11720         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
11721         print_blocks): Likewise.
11722
11723         * regclass.c (fix_register, record_address_regs,
11724         reg_scan_mark_refs): Likewise.
11725
11726         * regmove.c (stable_but_for_p): Likewise.
11727
11728         * reload.c (loc_mentioned_in_p, operands_match_p,
11729         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
11730         copy_replacements, refers_to_regno_for_reload_p,
11731         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
11732         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
11733         Likewise.
11734
11735         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
11736         delete_address_reloads_1, count_occurrences,
11737         reload_cse_mem_conflict_p, reload_combine_note_use,
11738         add_auto_inc_notes): Likewise.
11739
11740         * resource.c (mark_referenced_resources, mark_set_resources):
11741         Likewise.
11742
11743         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
11744         reg_mentioned_p, regs_set_between_p, modified_between_p,
11745         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
11746         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
11747         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
11748         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
11749
11750         * sched.c (sched_analyze_2, attach_deaths): Likewise.
11751
11752         * stupid.c (stupid_mark_refs): Likewise.
11753
11754         * unroll.c (remap_split_bivs): Likewise.
11755
11756         * varasm.c (mark_constants): Likewise.
11757
11758         * a29k/a29k.c (uses_local_reg_p): Likewise.
11759
11760         * alpha/alpha.c (summarize_insn): Likewise.
11761
11762         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
11763         eliminate_lr2ip): Likewise.
11764
11765         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
11766
11767         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
11768         reg_mentioned_in_mem): Likewise.
11769
11770         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
11771         symbolic_reference_mentioned_p): Likewise.
11772
11773         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
11774
11775         * sh/sh.c (regs_used, mark_use): Likewise.
11776
11777         * vax/vax.c (vax_rtx_cost): Likewise.
11778
11779 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11780
11781         * machmode.h (mode_name): Constify a char*.
11782
11783         * rtl.c (mode_name): Likewise.
11784
11785         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
11786
11787         * optabs.c (init_libfuncs): Constify a char*.
11788
11789         * print-tree.c (mode_name): Remove redundant declaration.
11790         (print_node): Use accessor macro, not `mode_name'.
11791
11792         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
11793         not `mode_name'.
11794         (new_spill_reg): Constify a char*.
11795
11796         * tree.c (mode_name): Remove redundant declaration.
11797
11798 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11799
11800         * rtl.c (rtx_name): Constify a char*.
11801
11802         * rtl.h (rtx_name, fix_sched_param): Likewise.
11803
11804         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
11805         (mypr): Use accessor macro, not `rtx_name'.
11806
11807         * genemit.c (print_code): Constify a char*.
11808
11809         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
11810
11811         * genpeep.c (print_code): Constify a char*.
11812
11813         * genrecog.c (print_code): Likewise.
11814
11815         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
11816         end_bb): Add static prototype.
11817         (draw_edge): Constify a char*.
11818         (end_bb): Remove unused parameter.
11819
11820         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
11821         print_block_visualization): Constify a char*.
11822
11823 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
11824
11825         * c-common.c (c_get_alias_set): Update comment.
11826
11827 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11828
11829         * linux.h (LIB_SPEC): Added.
11830
11831 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11832
11833         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
11834
11835 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
11836
11837         * tree.c (expr_check): Fix typo in last change.
11838
11839 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
11840
11841         * rtl.def (NOTE): Change format to "iuu0n".
11842         (ADDR_DIFF_VEC): Change format to "eEee0".
11843         (ADDRESSOF): Change format to "eit".
11844
11845         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
11846         (RTVEC_ELT): Change to match.
11847         (XVECEXP): Use XVEC and RTVEC_ELT.
11848         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
11849         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
11850         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
11851         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
11852         TRAP_CONDITION, TRAP_CODE): Use XEXP.
11853         (INTVAL): Use XWINT.
11854         (ADDRESSOF_DECL): Use XTREE.
11855         (SET_ADDRESSOF_DECL): Delete.
11856         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
11857         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
11858         ifdefed out since 2.6 at least.
11859         (gen_rtvec_vv): Delete prototype.
11860
11861         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
11862         not rtunion.
11863         (copy_most_rtx): Handle 't' format letter.
11864         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
11865         (gen_rtvec_vv): Delete function.  All callers changed to use
11866         gen_rtvec_v instead.
11867         * print-rtl.c (print_rtx): Move special casing of NOTEs to
11868         the '0' format letter.
11869
11870         * function.c (gen_mem_addressof): Don't use
11871         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
11872         instead.
11873         * integrate.c (copy_rtx_and_substitute): Likewise.
11874         Copy 't' slots with XTREE.
11875         (subst_constants): Treat 't' slots like '[swi]' slots.
11876         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
11877         * jump.c (rtx_equal_for_thread_p): Likewise.
11878         * rtlanal.c (rtx_equal_p): Likewise.
11879         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
11880         only four arguments.
11881         * gengenrtl.c (type_from_format): Provide correct types for
11882         'b' and 't' slots.
11883
11884
11885         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
11886         If a recent gcc is in use (always in stage2 and beyond), use
11887         statement expressions, so we don't make a function call unless
11888         the check fails.  Evaluate arguments exactly once.
11889         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
11890         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
11891         Delete.
11892         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
11893         they evaluate their arguments exactly once, irrespective of
11894         the compiler in use.
11895
11896         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
11897         is used by the currently-enabled check macros.  This is:
11898         (tree_check_failed, tree_class_check_failed): For gcc.
11899         (tree_check, tree_class_check, cst_or_constructor_check,
11900         expr_check): For other compilers.
11901
11902         * gencheck.c: Do not define any *_CHECK1 macros.
11903
11904 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
11905                           Mark Mitchell <mark@codesourcery.com>
11906
11907         * c-common.c (c_get_alias_set): Fix support for poitners and
11908         references.
11909
11910 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
11911
11912         * alias.c: Include tree.h.
11913         (nonlocal_reference_p, mark_constant_function): New functions.
11914         * flow.c (life_analysis): Call mark_constant_function.
11915         * rtl.h (mark_constant_function): Declare it.
11916
11917 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
11918
11919         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
11920         unrecognisable switches.
11921
11922 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11923
11924         * loop.c (recombine_givs): Set ix field after sorting.
11925         (recombine_givs): Remove bogus index / giv lockstep looping.
11926
11927 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11928
11929         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
11930         on CODE.
11931         (emit_store_flag_force): Use do_compare_rtx_and_jump.
11932         (do_cmp_and_jump): Formatting fixes.
11933         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
11934         do_compare_rtx_and_jump instead of compare_from_rtx.
11935         (do_compare_rtx_and_jump): New function; mostly copied from
11936         compare_from_rtx.
11937         (do_jump_for_compare): Delete.
11938         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
11939         MIN_EXPR.
11940         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
11941         of compare/do_jump_for_compare pairs.
11942         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
11943         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
11944         compare_from_rtx/do_jump_for_compare pairs.
11945         (do_jump_by_parts_equality): Likewise.
11946         (do_jump_by_parts_equality_rtx): Likewise.
11947         * expr.h (do_compare_rtx_and_jump): Declare.
11948         * optabs.c (prepare_cmp_insn): New function, contains most of the code
11949         that used to be in emit_cmp_insn.
11950         (cmp_available_p): New function.
11951         (prepare_operand): New function.
11952         (emit_cmp_and_jump_insn_1): New function, contains some code that used
11953         to be in emit_cmp_insn.
11954         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
11955         parameters to be pointers; don't emit final compare but modify some of
11956         the values pointed to by the args so the caller can perform the
11957         correct comparison.
11958         (expand_binop): Call emit_store_flag_force with signed forms of
11959         comparison code.
11960         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
11961         emit_jump_insn pair.
11962         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
11963         emit_cmp_and_jump_insn_1.  Call emit_queue.
11964         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
11965         arg.
11966         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
11967         jump sets cc0 before deleting it.
11968         * integrate.c (expand_inline_function): Likewise.
11969         * unroll.c (unroll_loop): Similar changes in several places.
11970         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
11971         before deleting it.
11972
11973 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11974
11975         * Makefile.in (insn-recog.o): Update dependencies.
11976         * genrecog.c (main): Make generated file include "function.h".
11977
11978 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
11979
11980         * cse.c (cse_insn): Call never_reached_warning when a jump is
11981         changed to be unconditional.
11982         * flags.h: Declare warn_notreached.
11983         * flow.c (delete_block): Call never_reached_warning when
11984         a block is deleted.
11985         * jump.c (delete_barrier_successors): Call never_reached_warning
11986         when we delete everything after a BARRIER.
11987         (never_reached_warning): New function.
11988         * rtl.h: Declare never_reached_warning.
11989         * toplev.c (warn_notreached): New variable.
11990         (lang_independent_options): Set warn_notreached
11991         when -Wunreachable-code.
11992         (compile_file): We need line numbers for -Wunreachable-code.
11993
11994 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
11995
11996         * haifa-sched.c (insn_unit): Fix typo on out of range test.
11997         * sched.c (insn_unit): Likewise.
11998
11999 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
12000
12001         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
12002
12003 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12004
12005         * flow.c (create_edge_list): Use xmalloc, not malloc.
12006
12007 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
12008
12009         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
12010         C-style comments.  Do not lose the character before double slash.
12011
12012 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12013
12014         * basic-block.h (struct edge_list): Stucture to maintain a vector
12015         of edges.
12016         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
12017          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
12018         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
12019         New function prototypes.
12020         * flow.c (create_edge_list): Function to create an edge list.
12021         (free_edge_list): Discards memory used by an edge list.
12022         (print_edge_list): Debug output showing an edge list.
12023         (verify_edge_list): Internal consistency check for an edge list.
12024         (find_edge_index): Function to find an edge index for a pred and succ.
12025
12026 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
12027
12028         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
12029         hashtable.
12030
12031 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
12032
12033         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
12034
12035 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12036
12037         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
12038
12039 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
12040
12041         * toplev.c (rest_of_compilation): Allow machine dependent
12042         reorganisation pass to place information into the RTL dump
12043         file if it so wishes.
12044
12045 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
12046
12047         * explow.c (hard_function_value): Use VOIDmode instead of
12048         MAX_MACHINE_MODE.
12049         * stmt.c (expand_return): Likewise.
12050         * stor-layout.c (get_best_mode): Likewise.
12051
12052         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
12053         emit call instead of emit_insn call.
12054
12055 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12056
12057         * configure.in: Handle --disable/enable-win32-registry.
12058         * install.texi: Document --disable/enable-win32-registry.
12059         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
12060         (WIN32_REGISTRY_KEY): New macro.
12061         * prefix.c: Use to enable/disable win32-specific code.
12062         (lookup_key): Use versioned key.
12063         * configure: Regenerate.
12064         * config.in: Likewise.
12065
12066 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
12067
12068         * cpplib.c (read_line_number): New fn, split out of...
12069         (do_line): Here.
12070
12071 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12072
12073         tree.c (lang_unsave_expr_now) : New.
12074         (unsave_expr_now): Call lang_unsave_expr_now.
12075         tree.h (lang_unsave_expr_now) : New.
12076
12077 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
12078
12079         * toplev.c (flag_new_exceptions): On by default.
12080
12081 1999-08-13  Michael Meissner  <meissner@cygnus.com>
12082
12083         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
12084
12085 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12086
12087         * dwarfout.c (fundamental_type_code): Return FT_boolean for
12088         INTEGER_TYPE with precision==1, it's __java_boolean.
12089
12090 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12091
12092         * global.c (prune_preferences): Move some invariants out of the
12093         inner loop.
12094
12095 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
12096
12097         * configure.in (alpha*-dec-osf*): Add osf5.
12098
12099 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
12100
12101         * configure.in: Rework handling of ARM GNU/Linux slightly.
12102         (arm*-*-linux-gnuoldld): New target.
12103         * configure: Regenerate.
12104         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
12105         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
12106         * config/arm/linux-oldld.h: New file.
12107         * config/arm/linux-elf26.h: Don't include linux-elf.h.
12108         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
12109         Don't define.
12110         * config/arm/linux-elf.h (ASM_SPEC): Define.
12111         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
12112         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
12113         for 26-bit APCS and old linker.
12114         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
12115         `arm_elf'.
12116         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
12117         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
12118         don't define `arm' or `arm_elf'.
12119         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
12120         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
12121
12122 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
12123
12124         * rtl.texi: Fix typo.
12125
12126 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
12127
12128         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
12129
12130 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
12131
12132         * extend.texi (C++ Signatures): Remove node.
12133         * invoke.texi: Remove discussion of -fhandle-signatures,
12134         signature, sigof, __signature__, and __sigof__.
12135
12136 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
12137
12138         * Makefile.in (JAVAGC): Removed.
12139
12140 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12141
12142         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12143
12144 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12145
12146         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12147
12148 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
12149
12150         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
12151         a register that is already known to be a pointer.
12152
12153 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
12154
12155         * fixinc/inclhack.tpl: Only install assert.h conditionally.
12156         * fixinc/inclhack.sh: Regenerated.
12157         * fixinc/fixincl.sh: Regenerated.
12158
12159 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
12160
12161         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
12162         Fix documentation of -ansi flag to describe its C++ behavior.
12163         Remove bogus reference to GCC 2.9.
12164
12165 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
12166
12167         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
12168         note if it is non-NULL.
12169
12170 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12171
12172         * except.h (eh_nesting_info): Add new structure defintion.
12173         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
12174         (reachable_handlers, update_rethrow_references): Add function
12175         prototypes.
12176         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
12177         a rethrow symbol instead of an integer exception region number.
12178         * flow.c (Make_edges): Use new exception nesting routines to determine
12179         which handlers are reachable from a CALL or asynchronous insn.
12180         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
12181         goto receivers.
12182         (delete_eh_regions): Update rethrow labels, and don't delete
12183         regions which are the target of a rethrow.
12184         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
12185         avoid overloading the SYMBOL_REF_USED flag.
12186         (rethrow_symbol_map): Use new rethrow_ref field.
12187         (rethrow_used): Use new rethrow_ref field.
12188         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
12189         of an integer.  Fix formatting.
12190         (output_exception_table_entry): Use new rethrow_ref field.
12191         (can_throw): Check for EH_REGION_NOTE before deciding
12192         whether a CALL can throw or not.
12193         (scan_region): Call rethrow_used() instead of accessing data structure.
12194         (update_rethrow_references): New function to make sure only regions
12195         which are still targets of a rethrow are flagged as such.
12196         (process_nestinfo): New static function to initialize a handler
12197         list for a specific region.
12198         (init_eh_nesting_info): New function to allocate and initialize
12199         the list of all EH handlers reachable from all regions.
12200         (reachable_handlers): New function to retrieve the list of handlers
12201         reachable from a specific region and insn.
12202         (free_eh_nesting_info): New function to dispose of a list of
12203         reachable handlers.
12204
12205 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12206
12207         * flow.c (split_edge): Set JUMP_LABEL field.
12208         (commit_one_edge_insertion): Set head correctly for insert_before.
12209         When inserting insns, update insn block numbers if allocated.
12210
12211 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12212
12213         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
12214         retry_incomplete_types): Add static prototype.
12215         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
12216         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
12217         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
12218         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
12219         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
12220         Constify a char*.
12221
12222         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
12223         dwarf2out_start_source_file, dwarf2out_line): Likewise.
12224
12225 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12226
12227         * output.h (assemble_name): Constify a char*.
12228
12229         * varasm.c (UNIQUE_SECTION, assemble_start_function,
12230         assemble_variable, assemble_name): Likewise.
12231
12232         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
12233
12234         * arm/pe.c (arm_pe_unique_section): Likewise.
12235
12236         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
12237
12238         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
12239
12240         * i386/interix.c (i386_pe_unique_section): Likewise.
12241
12242         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
12243
12244         * i386/winnt.c (i386_pe_unique_section): Likewise.
12245
12246         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
12247
12248         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
12249
12250         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
12251
12252         * pa/pa.c (output_call): Likewise.
12253
12254         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
12255
12256         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
12257
12258         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
12259         Likewise.
12260
12261         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
12262         Likewise.
12263
12264         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
12265
12266         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
12267         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
12268
12269         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
12270
12271 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12272
12273         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
12274
12275 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12276
12277         * tree.h (lang_identify): Constify a char*.
12278         (print_error_function): Add extern prototype.  Constify a char*.
12279
12280         * c-lang.c (lang_identify): Constify a char*.
12281
12282         * objc/objc-act.c (lang_identify): Constify a char*.
12283
12284 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12285
12286         * genpeep.c (main): Make generated file include "function.h".
12287         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
12288
12289 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12290
12291         * Makefile.in: Update dependencies.
12292         * alias.c: Include "function.h"
12293         * c-decl.c: Likewise.
12294         * caller-save.c: Likewise.
12295         * calls.c: Likewise.
12296         * combine.c: Likewise.
12297         * cse.c: Likewise.
12298         * explow.c: Likewise.
12299         * final.c: Likewise.
12300         * global.c: Likewise.
12301         * graph.c: Likewise.
12302         * local-alloc.c: Likewise.
12303         * loop.c: Likewise.
12304         * optabs.c: Likewise.
12305         * profile.c: Likewise.
12306         * recog.c: Likewise.
12307         * regclass.c: Likewise.
12308         * regmove.c: Likewise.
12309         * reload.c: Likewise.
12310         * reorg.c: Likewise.
12311         * resource.c: Likewise.
12312         * sched.c: Likewise.
12313         * stupid.c: Likewise.
12314         * config/1750a/1750a.c: Likewise.
12315         * config/a29k/a29k.c: Likewise.
12316         * config/arc/arc.c: Likewise.
12317         * config/arm/arm.c: Likewise.
12318         * config/arm/thumb.c: Likewise.
12319         * config/c4x/c4x.c: Likewise.
12320         * config/clipper/clipper.c: Likewise.
12321         * config/convex/convex.c: Likewise.
12322         * config/fx80/fx80.c: Likewise.
12323         * config/i860/i860.c: Likewise.
12324         * config/m68k/m68k.c: Likewise.
12325         * config/m88k/m88k.c: Likewise.
12326         * config/mips/mips.c: Likewise.
12327         * config/pdp11/pdp11.c: Likewise.
12328         * config/pyr/pyr.c: Likewise.
12329         * config/romp/romp.c: Likewise.
12330         * config/sh/sh.c: Likewise.
12331         * config/tahoe/tahoe.c: Likewise.
12332         * config/vax/vax.c: Likewise.
12333         * config/we32k/we32k.c: Likewise.
12334         * config/sparc/sparc.c: Include "function.h".
12335         (mem_min_alignment): Test current_function rather than
12336         regno_pointer_align.
12337         * config/pa/pa.c: Likewise.
12338         (compute_frame_size): Delete declaration of
12339         current_function_outgoing_args_size.
12340         * config/arc/arc.h (current_function_varargs): Delete declaration.
12341         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
12342         declaration.
12343         * config/i370/i370.h (current_function_outgoing_args_size): Delete
12344         declaration.
12345         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
12346         current_function_uses_pic_offset_table.
12347         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
12348         of current_function_returns_pointer.
12349         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12350         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12351         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12352         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12353         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12354         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
12355         * config/m88k/m88k.c: Include "function.h"
12356         (call_used_regs, current_function_pretend_args_size,
12357         current_function_outgoing_args_size, frame_pointer_needed): Delete
12358         declarations.
12359         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
12360         declaration.
12361         * config/mips/mips.h (current_function_calls_alloca): Delete
12362         declaration.
12363         * config/mn10200/mn10200.h (current_function_needs_context,
12364         rtx_equal_function_value_matters): Delete declarations.
12365         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
12366         flag_pic): Delete declarations.
12367         * config/pa/pa.h (current_function_pretend_args_size,
12368         current_function_decl): Delete declarations.
12369         * config/pa/som.h (current_function_varargs): Delete declaration.
12370         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
12371         declaration.
12372         * config/pyr/pyr.h (current_function_pretend_args_size,
12373         current_function_args_size, current_function_calls_alloca): Delete
12374         declarations.
12375         * config/sh/sh.h (current_function_varargs): Delete declaration.
12376         * config/sparc/sparc.h (current_function_outgoing_args_size,
12377         current_function_calls_alloca, current_function_decl): Delete
12378         declarations.
12379         * config/spur/spur.h (current_function_pretend_args_size,
12380         current_function_calls_alloca): Delete declarations.
12381         * config/v850/v850.c (current_function_outgoing_args_size): Delete
12382         declaration.
12383         * config/vax/vms.h (current_function_name): Delete declaration.
12384         * gcse.c: Include "function.h".
12385         (current_function_name, current_function_calls_setjmp): Delete
12386         declarations.
12387         * haifa-sched.c: Include "function.h".
12388         (forced_labels): Delete declaration.
12389         * jump.c: Likewise.
12390         * reg-stack.c: Likewise.
12391         * reload1.c: Likewise.
12392         * genemit.c (main): Make generated file include function.h.
12393         * genoutput.c (output_prologue): Likewise.
12394
12395         * builtins.c (saveregs_value, apply_args_value): Delete variables.
12396         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
12397         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
12398         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
12399         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
12400         macros for some of them.
12401         (emit_filename, emit_lineno): Delete declarations.
12402         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
12403         regno_pointer_* variables through current_function.
12404         (gen_inline_header_rtx): Delete function.
12405         (save_emit_status): Delete function.
12406         (set_new_last_label_num): New function.
12407         (clear_emit_caches): New function.
12408         (restore_emit_status): Just clear last_labelnum and call
12409         clear_emit_caches.
12410         (get_last_insn_anywhere): Variable sequence_stack is now accessed
12411         through macro seq_stack.
12412         (add_insn_after): Likewise.
12413         (add_insn_before): Likewise.
12414         (remove_insn): Likewise.
12415         (pop_topmost_sequence): Likewise.
12416         (in_sequence_p): Likewise.
12417         (start_sequence_for_rtl_expr): Likewise.
12418         (start_sequence): Likewise, and likewise for
12419         sequence_rtl_expr/seq_rtl_expr.
12420         (push_topmost_sequence): Likewise.
12421         (end_sequence): Likewise.
12422         (init_virtual_regs): Now takes a "struct emit_status *" argument.
12423         All callers changed.  Store into that pointer instead of globals.
12424         (init_emit): Allocate emit elt of current_function.
12425         Changes for sequence_rtl_expr/sequence_stack renaming.
12426         Call clear_emit_caches instead of doing it in-line.
12427         Access regno_pointer_* variables through current_function.
12428         (init_emit_once) Don't clear sequence_stack.
12429
12430         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
12431         Delete variables.
12432         (arg_pointer_save_area): Delete declaration.
12433         (finish_expr_for_function): Renamed from init_queue; no longer static.
12434         (init_expr): Don't call init_queue.
12435         (save_expr_status, restore_expr_status): Delete functions.
12436         (expand_expr): Changes to reflect new layout of struct function.
12437         Don't access current_function_check_memory_usage when current_function
12438         is 0.
12439         * expr.h (forced_labels, save_expr_regs, saveregs_value,
12440         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
12441         current_function_outgoing_args_size, current_function_arg_offset_rtx,
12442         current_function_uses_const_pool, function_call_count,
12443         current_function_uses_pic_offset_table, nonlocal_labels,
12444         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
12445         current_function_check_memory_usage, nonlocal_goto_handler_slots,
12446         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
12447         declarations.
12448         (finish_expr_for_function): Declare.
12449         * flags.h (current_function_has_nonlocal_label,
12450         current_function_has_nonlocal_goto, current_function_is_thunk,
12451         current_function_has_computed_jump): Delete declarations.
12452         * flow.c (forced_labels): Delete declaration.
12453         * function.c (current_function_pops_args,
12454         current_function_returns_struct, current_function_returns_pcc_struct,
12455         current_function_needs_context, current_function_calls_setjmp,
12456         current_function_calls_longjmp, current_function_has_nonlocal_label,
12457         current_function_has_nonlocal_goto, current_function_is_thunk,
12458         current_function_has_computed_jump, current_function_calls_alloca,
12459         current_function_contains_functions, current_function_returns_pointer,
12460         current_function_epilogue_delay_list, current_function_args_size,
12461         current_function_pretend_args_size, current_function_arg_offset_rtx,
12462         current_function_outgoing_args_size, current_function_varargs,
12463         current_function_stdarg, current_function_args_info, cleanup_label,
12464         current_function_name, current_function_uses_const_pool,
12465         current_function_instrument_entry_exit, current_function_return_rtx,
12466         current_function_uses_pic_offset_table, nonlocal_labels,
12467         current_function_internal_arg_pointer, current_function_cannot_inline,
12468         current_function_check_memory_usage, function_call_count,
12469         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
12470         nonlocal_goto_stack_level, return_label, save_expr_regs,
12471         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
12472         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
12473         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
12474         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
12475         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
12476         Delete variables.
12477         (push_function_context_to): Don't save them.  Don't call
12478         save_storage_status, save_emit_status or save_expr_status.
12479         (pop_function_context_from): Don't restore them.  Don't call
12480         restore_storage_status or restore_expr_status.
12481         (get_func_frame_size): New function.
12482         (get_frame_size): Use it.
12483         (assign_outer_stack_local): Reflect some member name changes in struct
12484         function.
12485         (put_reg_into_stack): Likewise.
12486         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
12487         seq_rtl_expr.
12488         (fixup_var_refs): Likewise.
12489         (fix_lexical_addr): Likewise.
12490         (trampoline_address): Likewise.
12491         (prepare_function_start): Clear field inlinable of current_function.
12492         (init_function_for_compilation): New function.
12493         (expand_dummy_function_end): New function.
12494         (expand_function_end): Call finish_expr_for_function.
12495         * function.h (struct emit_status): New; fields moved here from struct
12496         function and from global variables.  Add accessor macros for some of
12497         the fields.
12498         (struct expr_status): Likewise.
12499         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
12500         (struct function): Add fields expr and emit, inlinable, inl_emit,
12501         original_arg_vector, original_decl_initial, inl_last_parm_insn,
12502         inl_max_label_num.  Add many comments.
12503         Add accessor macros for all elts of struct function that no longer
12504         have a global variable.
12505         (cleanup_label, return_label, frame_offset, tail_recursion_label,
12506         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
12507         stack_slot_list): Delete declarations.
12508         (get_func_frame_size): Declare.
12509         (save_expr_status, restore_expr_status, save_emit_status,
12510         save_storage_status, restore_storage_status): Delete declarations.
12511         (init_virtual_regs): Declare.
12512         * output.h (current_function_pops_args,
12513         current_function_returns_struct, current_function_returns_pcc_struct,
12514         current_function_needs_context, current_function_calls_setjmp,
12515         current_function_calls_longjmp, current_function_calls_alloca,
12516         current_function_has_nonlocal_label, current_function_varargs,
12517         current_function_has_computed_jump, current_function_returns_pointer,
12518         current_function_contains_functions, current_function_args_size,
12519         current_function_pretend_args_size, current_function_stdarg,
12520         current_function_outgoing_args_size, current_function_args_info,
12521         current_function_name, current_function_return_rtx,
12522         current_function_epilogue_delay_list,
12523         current_function_uses_const_pool, current_function_cannot_inline):
12524         Delete declarations.
12525         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
12526         regno_reg_rtx): Delete declaration.
12527         (REGNO_POINTER_FLAG): Delete macro.
12528         * stmt.c (expand_goto): Changes to reflect that some fields in struct
12529         function were renamed.
12530         * stor-layout.c (save_storage_status, restore_storage_status): Delete
12531         functions.
12532         * toplev.c: Include "function.h".
12533         (current_function_decl): Delete declaration.
12534         (compile_file): Call init_dummy_function_start and
12535         expand_dummy_function_end around some initializations that need to
12536         emit rtl.
12537         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
12538         Call init_function_for_compilation.
12539         * unroll.c: Include "function.h"
12540         (unroll_loop): Access regno_pointer_* variables through
12541         current_function.
12542
12543         * tree.h (struct tree_decl): Add elt f to saved_insns member.
12544         (DECL_SAVED_INSNS): use it.
12545         (expand_dummy_function_end): Declare.
12546         (init_function_for_compilation): Declare.
12547         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
12548         that it's no longer an INLINE_HEADER.
12549         (expand_call): Likewise.
12550         * integrate.c (finish_inline): Delete function.
12551         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
12552         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
12553         args.  Don't generate an INLINE_HEADER rtx, just return the arg
12554         vector.  All callers changed.
12555         (save_for_inline_copying):  Create a duplicate struct emit_status to
12556         hold the emit state for compiling the current function.  Use this and
12557         the other new fields in struct function that are for integration
12558         instead of an INLINE_HEADER.
12559         Use memcpy instead of bcopy.
12560         Store the current struct function in DECL_SAVED_INSNS of fndecl.
12561         (save_for_inline_nocopy): Similar changes, except no new emit_status
12562         is needed here.
12563         (expand_inline_function): Get information from function structure,
12564         not from an inline header rtx.
12565         (output_inline_function): Lose code to extract the necessary
12566         information from an inline header; simply put back the function
12567         structure into current_function.  Clear its inlinable elt.
12568         * rtl.def (INLINE_HEADER): Delete.
12569         * rtl.h: Delete all accessors for an INLINE_HEADER.
12570         (gen_inline_header_rtx): Delete declaration.
12571         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
12572         Delete declarations.
12573         (REGNO_POINTER_ALIGN): Delete.
12574         (clear_emit_caches): Declare.
12575         (set_new_last_label_num): Declare.
12576
12577 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
12578
12579         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
12580
12581         * except.c (expand_eh_region_start_for_decl): Always start a new block.
12582         * stmt.c (is_eh_region): Make sure current_function is present, too.
12583
12584 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
12585
12586         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
12587         for 64bit PA targets.
12588
12589         * pa.h (SELECT_SECTION): Define.
12590         * som.h (SELECT_SECTION): Delete.
12591
12592 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12593
12594         * alias.c (init_alias_analysis): Wrap call to
12595         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
12596
12597 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
12598
12599         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
12600         <sys/asm.h> contains an asm comment with an apostrophe
12601         * fixinc/inclhack.sh:  regen
12602         * fixinc/fixincl.x:  regen
12603
12604 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
12605
12606         * function.c (init_function_start): Clear prologue & epilogue.
12607         (prologue_epilogue_contains): New function.
12608         * alias.c (init_alias_analysis): Use it.
12609         * rtl.h (prologue_epilogue_contains): Declare it.
12610
12611 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
12612
12613         * jump.c (onlyjump_p): New function.
12614         * rtl.h: Declare it.
12615         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
12616         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
12617
12618 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
12619
12620         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
12621         to invert loops.  Simplify block scanning.
12622
12623 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
12624
12625         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
12626         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
12627
12628 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
12629
12630         * config/sparc/liteelf.h: New file to support sparclite-elf target
12631         * config/sparc/t-sp86x: New file to support sparc86x targets
12632         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
12633         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
12634         * configure.in: Support above target triplets
12635         * configure: Regenerated
12636
12637 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
12638
12639         * fixinc/server.c (server_setup): Do not prefix function used as
12640         parameter with `&'.
12641
12642 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
12643
12644         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
12645         Remove fp reg alternatives.
12646
12647 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
12648
12649         * Makefile.in (TAROUTOPTS): Kill.
12650         (install-headers-tar): Use "xpf" for tar headerfile extraction
12651         * i370/x-oe (TAROUTOPTS): Delete.
12652         * m68k/x-apollo68 (TAROUTOPTS): Delete.
12653         * m68k/x-hp320 (TAROUTOPTS): Delete.
12654         * m68k/x-hp320g (TAROUTOPTS): Delete.
12655         * gcc.texi: Update bug reporting text.
12656
12657 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12658
12659         * reg-stack.c (change_stack) Fixed problem with negative array index.
12660
12661 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
12662
12663         * extend.texi, install.texi: Fix spelling mistakes.
12664
12665         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
12666         (s-attrtab); No longer try to use pre-made insn-attrtab file.
12667         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
12668         PREMADE_ATTRTAB_MD.
12669         * mips/t-ecoff: Likewise.
12670         * mips/t-elf: Likewise.
12671         * mips/t-mips: Likewise.
12672         * mips/t-osfrose: Likewise.
12673         * mips/t-r3900: Likewise.
12674         * mips/t-svr3: Likewise.
12675         * mips/t-svr4: Likewise.
12676         * mips/t-ultrix: Likewise.
12677
12678         * gcc.texi: Document recommend means to provide software floating
12679         point libraries in libgcc.a
12680
12681 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
12682
12683         * c-lex.c (yylex): We can have a number with no digits.
12684
12685 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
12686
12687         * jump.c (delete_prior_computation): New function, broken
12688         out of delete_computation.  Check for side effects with
12689         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
12690         multi-word hard registers.
12691         (delete_computation): Use it.  Check for side effects with
12692         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
12693         missing REG_DEAD note for a register which is both set and
12694         used by an insn.
12695
12696 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
12697
12698         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
12699         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
12700         (ASM_FILE_START): Import _mcount with the right type.
12701         (ASM_DECLARE_FUNCTION_NAME): Define.
12702         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
12703         * pa.c (output_function_prologue): Always emit the function's label
12704         here.
12705         * pa.h (TEXT_SPACE_P): Define.
12706         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
12707         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
12708         * som.h (TEXT_SPACE_P): Delete.
12709         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
12710         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
12711
12712 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
12713
12714         * expr.c (emit_group_load): Allow src to be a CONCAT.
12715
12716 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12717
12718         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
12719         (___mulsi3): Use '!' comment character.
12720
12721 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12722
12723         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
12724
12725 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
12726
12727         * gcc.c: Update URLs and mail addresses.
12728         * gcc.texi: Likewise.
12729
12730 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
12731
12732         * rs6000.c (current_file_function_operand): Return zero for
12733         weak functions.
12734         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
12735         weak symbols.
12736         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
12737         for weak symbols.
12738
12739 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
12740
12741         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
12742         allocate space in the stack frame for the PIC register.
12743
12744 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
12745
12746         * m68k.md (xordi3, anddi3): These patterns are not available on
12747         the coldfire.
12748
12749 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
12750
12751         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
12752         (PUT_REAL): Likewise.
12753
12754 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12755
12756         * final.c (shorten_branches): Don't add an alignment for loops
12757         that have no label inside.
12758
12759 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12760
12761         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
12762         prototypes in macro HAVE_cmpstrsi.
12763
12764         * cpplib.c (cpp_get_token): Remove unused label `op3'.
12765
12766         * emit-rtl.c (operand_subword): Remove unused variable
12767         `bits_per_word'.
12768
12769         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
12770
12771         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
12772
12773 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
12774
12775         * cpphash.c (macroexpand): Delete leading whitespace when arg
12776         is concatenated before.
12777         (unsafe_chars): Correct test for whether + and - can extend a
12778         token.
12779
12780         * cppinit.c (cpp_start_read): Do dependencies for
12781         -include/-imacros files also.
12782
12783         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
12784         tokenizing non-directive lines.
12785         (cpp_expand_to_buffer): Temporarily disable no-output mode.
12786         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
12787         the input file.
12788
12789 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
12790
12791         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
12792
12793         * c-lex.c: Sync with C++ frontend.
12794         (linemode): New variable.
12795         (parse_float): imag, conversion_errno, and type are output only.
12796         (yylex): Adjust.  Move initial '.' case into main switch.
12797         Use linemode.
12798         (handle_generic_pragma): Just deal with tokens.
12799         (readescape): Use ISXDIGIT and ISGRAPH.
12800         * c-parse.in: Add END_OF_LINE token.
12801
12802         * c-lex.c (lang_init): Generalize.
12803         (nextchar): Remove.  Replace uses with UNGETC.
12804         (skip_white_space): Handle linemode here.  Optimize for cpplib.
12805         (skip_white_space_on_line): Remove.
12806         (extend_token_buffer_to): New fn.
12807         (extend_token_buffer): Use it.
12808         (read_line_number, check_newline): Just deal with tokens.
12809         (token_getch, token_put_back): New fns.
12810         (yylex): Use them.  More cpplib optimizations.  Simplify.
12811
12812 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
12813                           Jason Merrill  <jason@yorick.cygnus.com>
12814
12815         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
12816         (consume_string): Make this smart about USE_CPPLIB.
12817         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
12818         (yylex): Rewrite to be intelligent about USE_CPPLIB.
12819         Also, clean up cases where we redundantly set token_buffer[0].
12820         (read_line_number): New fn.
12821         (ignore_escape_flag): New variable.
12822
12823 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
12824
12825         * a29k/t-a29kbare: Fix some comments.
12826         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
12827         (FPBIT, DPBIT): Define.
12828         * a29k/t-vx29k: Likewise.
12829         * arc/t-arc: Likewise.
12830         * arm/t-arm-elf: Likewise.
12831         * arm/t-bare: Likewise.
12832         * arm/t-pe: Likewise.
12833         * arm/t-pe-thumb: Likewise.
12834         * arm/t-semi: Likewise.
12835         * arm/t-thumb: Likewise.
12836         * arm/t-thumb-elf: Likewise.
12837         * arm/t-thumb-linux: Likewise.
12838         * h8300/t-h8300: Likewise.
12839         * i960/t-i960: Likewise.
12840         * i960/t-vxworks960: Likewise.
12841         * m32r/t-m32r: Likewise.
12842         * mips/t-ecoff: Likewise.
12843         * mips/t-elf: Likewise.
12844         * mips/t-r3900: Likewise.
12845         * pa/t-pro: Likewise.
12846         * rs6000/t-aix43: Likewise.
12847         * rs6000/t-beos: Likewise.
12848         * rs6000/t-newas: Likewise.
12849         * rs6000/t-ppccomm: Likewise.
12850         * rs6000/t-rs6000: Likewise.
12851         * rs6000/t-winnt: Likewise.
12852         * rs6000/t-xnewas: Likewise.
12853         * rs6000/t-xrs6000: Likewise.
12854         * sh/t-sh: Likewise.
12855         * sparc/t-elf: Likewise.
12856         * sparc/t-sparcbare: Likewise.
12857         * sparc/t-sparclite: Likewise.
12858         * sparc/t-splet: Likewise.
12859         * v850/t-v850: Likewise.
12860         * mn10200/t-mn10200: Fix comments.
12861         * mn10300/t-mn10300: Likewise.
12862
12863         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
12864         dummy operand.  Allocate a new pseudo for the dummy operand.
12865         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
12866
12867         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
12868
12869 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
12870
12871         * configure: Rebuilt.
12872         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
12873
12874 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
12875
12876         * recog.c (preproces_constraints): Zero recog_op_alt before
12877         processing the constraints.
12878
12879         * arm.c (typedef minipool_node): Renamed from pool_node.
12880         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
12881         (add_minipool_constant): New function.
12882         (dump_minipool): New function.
12883         (find_barrier): Remove special case for getting the insn size of
12884         an insn that references the constant pool.
12885         (minipool_fixup): New structure.
12886         (push_minipool_barrier): New function.
12887         (push_minipool_fix): New function.
12888         (note_invalid_constants): New function.
12889         (add_pool_constant, dump_table, fixit, broken_move): Delete.
12890         (arm_reorg): Rewrite code to fix up the constant pool into a
12891         series of mini-pools embedded in the insn stream.
12892         (arm_output_epilogue): New function, made mainly from the body
12893         of output_func_epilogue.
12894         (output_func_epilogue): Move insn generation part of epilogue code
12895         to arm_output_epilogue.
12896         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
12897         * arm.md (pool_range): New attribute.
12898         (zero_extendqidi2): Add attribute pool_range.
12899         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
12900         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
12901         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
12902         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
12903         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
12904         (epilogue): New expand.
12905         (epilogue_insn): New insn.  Call arm_output_epilogue.
12906
12907         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
12908         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
12909
12910 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
12911
12912         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
12913
12914 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
12915
12916         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
12917
12918 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
12919
12920         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
12921
12922 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
12923
12924         * global.c: Fix comment.
12925
12926 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
12927
12928         * gcc.c (access_check): New static function.
12929         (find_a_file): Use it when searching a directory list.
12930         * collect2.c (find_a_file): Don't accept directories found when
12931         searching a directory list.
12932
12933 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
12934
12935         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
12936         function parameters with `&'.
12937         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
12938
12939 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
12940
12941         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
12942         or tidy_fallthru_edge if the last insn in the block is not
12943         an unconditional jump or a simple conditional jump.
12944
12945 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12946
12947         * Makefile.in (c-decl.o): Depends on defaults.h.
12948
12949 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
12950
12951         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
12952         PA1.1 and above.
12953         (CLASS_MAX_NREGS): Likewise.
12954
12955 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
12956
12957         * cse.c (cse_insn): Fix dumb thinko in last change.
12958
12959 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12960
12961         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
12962         "const char *".
12963
12964 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
12965
12966         * dwarf2out.c (add_location_or_const_value_attribute): Correct
12967         test for sizes of passed and declared parameter types.
12968
12969 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12970
12971         * fixincludes: Fix the return type of bsearch, char* -> void*.
12972
12973         * fixinc/inclhack.def: Likewise.
12974
12975 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
12976
12977         * invoke.texi (-fdump-translation-unit): New option.
12978
12979 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
12980
12981         * expr.h (PROMOTE_PROTOTYPES): Move ...
12982         * defaults.h: ... to here.
12983         * c-decl.c: Include defaults.h instead of expr.h.
12984         * c-typeck.c: Include defaults.h.
12985
12986 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
12987
12988         * toplev.h (errorcount): Declare.
12989         (warningcount): Likewise.
12990         (sorrycount): Likewise.
12991         * c-lex.c (errorcount): Don't declare.
12992         * dwarf2out.c (errorcount): Don't declare.
12993
12994 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
12995
12996         * config/libgloss.h: Add a note discouraging use with ELF.
12997         * configure.in: Don't use libgloss.h for ELF targets.
12998         Always use_collect2 on a.out targets.
12999
13000 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
13001
13002         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
13003         (force_to_mode, case ASHIFTRT): Add shiftrt label.
13004
13005 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13006
13007         * loop.c (strength_reduce): When doing biv->giv conversion, update
13008         reg note of NEXT->insn.
13009
13010 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13011
13012         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
13013
13014 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13015
13016         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
13017         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
13018         Ensure expr.h is included.
13019         * c-typecheck.c (convert_arguments): Ditto.
13020
13021         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
13022
13023         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
13024         * config/convex/convex.h: Ditto.
13025         * config/dsp16xx/dsp16xx.h: Ditto.
13026         * config/fx80/fx80.h: Ditto.
13027         * config/gmicro/gmicro.h: Ditto.
13028         * config/i370/i370.h: Ditto.
13029         * config/i386/i386.h: Ditto.
13030         * config/m32r/m32r.h: Ditto.
13031         * config/m68k/m68k.h: Ditto.
13032         * config/m88k/m88k.h: Ditto.
13033         * config/mips/mips.h: Ditto.
13034         * config/pa/pa.h: Ditto.
13035         * config/pyr/pyr.h: Ditto.
13036         * config/tahoe/tahoe.h: Ditto.
13037         * config/we32k/we32k.h: Ditto.
13038
13039         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
13040         based on arch size.
13041
13042         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
13043
13044         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
13045         from comment.
13046
13047         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
13048
13049 1999-08-02  Richard Henderson  <rth@cygnus.com>
13050
13051         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
13052         for the register spill block.
13053         (m32r_va_arg): New.
13054         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
13055         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
13056
13057         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
13058         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
13059         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
13060
13061 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13062
13063         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
13064         MAX_WCHAR_TYPE defined in sparc.h.
13065         * config/sparc/linuxaout.h: Likewise.
13066         * config/sparc/linux64.h: Likewise.
13067         Also default to -mvis if CPU is UltraSPARC.
13068
13069 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13070
13071         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
13072         (RTX_OK_FOR_OLO10): Likewise.
13073         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
13074         %lo(), allow it in addresses...
13075         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
13076         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
13077         does not make sense.
13078         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
13079         (sparc_output_scratch_registers): New function.
13080         (output_function_prologue, sparc_flat_output_function_prologue): Use
13081         it.
13082         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
13083         defined.
13084         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
13085         * configure.in: Add check for .register pseudo-op support in as and
13086         check for offsetable %lo().
13087         * acconfig.h: Add templates for the above checks.
13088         * configure: Regenerate.
13089
13090 1999-08-02  Richard Henderson  <rth@cygnus.com>
13091
13092         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
13093         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
13094         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
13095
13096 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13097
13098         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
13099         reg_biv_class.
13100
13101 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
13102
13103         * config/float-sparc.h: New file.
13104         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
13105         sparc-*-linux-gnu and sparc64-*-linux*.
13106
13107 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13108
13109         * rs6000.c (rs6000_va_list): Type is an array.
13110         (rs6000_va_start): Don't doubly adjust for varargs.
13111         (rs6000_va_arg): Evaluate long long GPR adjustment.
13112
13113 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
13114
13115         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
13116         -maix64 and -maix32.
13117         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
13118         LINK_SPEC): Change appropriately.
13119         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
13120         (u_short_cint_operand): Likewise.
13121         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
13122         for 64-bit hosts.
13123         * rs6000/t-aix43 (MULTILIB): Change to -m64.
13124
13125         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
13126
13127 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
13128
13129         * rs6000/rs6000.c (num_insns_constant_wide): Correct
13130         for type promotion.
13131         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
13132         (non_add_cint_operand): Likewise.
13133         (logical_operand): Likewise.
13134         (non_logical_cint_operand): Likewise.
13135         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
13136         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
13137         (rs6000_select_rtx_section): Suppress warning.
13138         (small_data_operand): Suppress warning.
13139         (rs6000_got_register): Suppress warning.
13140         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
13141         type, so `J' is generally the wrong constraint for a SImode value;
13142         use `L' instead.
13143         (andsi3_internal2): Likewise.
13144         (andsi3_internal3): Likewise.
13145         (iorsi3_internal1): Likewise.
13146         (xorsi3_internal1): Likewise.
13147         (movsi): Likewise.
13148         (movsf_softfloat): Likewise.
13149         (scc insns): Likewise.
13150         (movsi+2): Preserve sign bits of SImode constant.
13151         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
13152         (movdf+1): Sign-extend properly.
13153         (movdi_32+1): Sign-extend properly.
13154         (scc insns): Sign-extend properly.
13155
13156         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
13157         K, L, and T.
13158
13159 1999-08-02  Richard Henderson  <rth@cygnus.com>
13160
13161         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
13162         -mcpu parsing code.
13163         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
13164         * alpha.md (all fp insns): Likewise.
13165
13166 1999-08-02  Nick Clifton  <nickc@cygnus.com>
13167
13168         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
13169         already defined.
13170
13171 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
13172
13173         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
13174         pic_load_label generator directly.
13175         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
13176         No longer a named pattern.
13177
13178 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
13179
13180         * explow.c (force_reg): Call force_operand if X does not
13181         satisfy general_operand.
13182
13183 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
13184
13185         * fix-header.c (main): When testing for CONTINUED, use string
13186         equality, not pointer equality.
13187
13188 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
13189
13190         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
13191
13192 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
13193
13194         * cse.c (cse_insn): Fix loop which deletes insns after a jump
13195         that has become an unconditional jump.
13196
13197         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
13198         (output_function_epilogue): Similarly.
13199
13200 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13201
13202         * tree.h (init_dummy_function_start): Declare.
13203
13204 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13205
13206         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
13207         last_expr_type, last_expr_value, block_start_count, block_stack,
13208         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
13209         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
13210         dynamically in stmt elt of struct function for each function.
13211         (struct nesting): Rename function_call_count elt to n_function_calls,
13212         target_temp_slot_level to block_target_temp_slot_level.  All users
13213         changed.
13214         (struct stmt_status): New structure definition.
13215         Add many accessor macros for stmt_status elements which previously
13216         were global variables.
13217         (init_stmt_for_function): Allocate stmt elt for current_function.
13218         Reflect that block_start_count was renamed to
13219         current_block_start_count.
13220         (save_stmt_status, restore_stmt_status): Delete functions.
13221         (preserve_subexpressions_p): Don't access loop_stack when outside
13222         a function.
13223         (expand_start_bindings): Reflect that block_start_count was renamed to
13224         current_block_start_count.
13225         (expand_fixup): Likewise.
13226         (expand_decl): Don't access block_stack when outside a function.
13227         (expand_decl_cleanup): Likewise.
13228         (expand_dcc_cleanup): Likewise.
13229         (expand_dhc_cleanup): Likewise.
13230         (expand_anon_union_decl): Likewise.
13231         (set_file_and_line_for_stmt): New function.
13232         (in_control_zone_p): New function.
13233
13234         * function.h (struct function): Add new elt stmt.
13235         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
13236         case_stack, nesting_stack, nesting_depth, block_start_count,
13237         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
13238         emit_lineno, goto_fixup_chain.
13239         (save_eh_status, restore_eh_status, save_stmt_status,
13240         restore_stmt_status): Delete declarations.
13241         * function.c (push_function_context_to): Don't call save_stmt_status.
13242         (pop_function_context_to): Don't call restore_stmt_status.
13243         * tree.h (in_control_zone_p): Declare.
13244         * rtl.h (set_file_and_line_for_stmt): Declare.
13245
13246         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
13247         call set_file_and_line_for_stmt.
13248
13249 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
13250
13251         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
13252         Also update copyright.
13253
13254 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13255
13256         * c-pragma.c: Don't include "except.h".
13257         * emit-rtl.c: Likewise.
13258         * stor-layout.c: Likewise.
13259         * tree.c: Likewise.
13260         * varasm.c: Likewise.
13261
13262         * flow.c: Include "function.h".
13263         * tree.h (init_dummy_function_start): Declare new function.
13264
13265         * except.h (struct eh_status): New structure.
13266         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
13267         been included.
13268         (eh_return_stub_label, ehstack, catchstack, ehqueue,
13269         catch_clauses, false_label_stack, caught_return_label_stack,
13270         protect_list, current_function_ehc): Add accessor macros for the
13271         corresponding fields in current_function->eh; delete declarations
13272         for all items that used to be declared here.
13273         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
13274         catch_clauses, false_label_stack, caught_return_label_stack,
13275         protect_list, current_function_ehc): Delete variables.
13276         (init_eh_for_function): Allocate current_function->eh.
13277         (save_eh_status, restore_eh_status): Delete functions.
13278
13279         * function.h (struct function): Add fields next_global and eh.
13280         Delete all exception handling related fields.
13281         * function.c (current_function): New variable.
13282         (all_functions): New variable.
13283         (push_function_context_to): Don't allocate a struct function,
13284         use current_function instead.  Call init_dummy_function_start when
13285         outside a function.  Clear current_function before returning.
13286         (pop_function_context_from): Restore current_function.
13287         Don't free the restored struct function.
13288         (prepare_function_start): New function.
13289         (init_dummy_function_start): New function.
13290         (init_function_start): Break out some code into prepare_function_start
13291         and call it here.
13292
13293         * stmt.c (save_stmt_status): Don't call save_eh_status.
13294         (restore_stmt_status): Don't call restore_eh_status.
13295
13296         * Makefile.in: Update dependencies.
13297
13298 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
13299
13300         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
13301         of depending on a magic constant value.  Update comments.
13302         (hppa_expand_prologue): Similarly.
13303
13304         * pa.md (reload_indi, reload_outdi): Allow any register for the
13305         original reload register.
13306
13307 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
13308
13309         * cccp.c (print_help): Change marcos to macros.
13310
13311 1999-07-30  Richard Henderson  <rth@cygnus.com>
13312
13313         * c-typeck.c (initializer_constant_valid_p): Move ...
13314         * c-common.c (initializer_constant_valid_p): ... here.  Use
13315         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
13316         of label addresses.
13317         * c-common.h (initializer_constant_valid_p): Declare.
13318         * c-tree.h (initializer_constant_valid_p): Remove.
13319
13320 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
13321
13322         * config/i386/sol2-c1.asm: Align the stack.
13323         * config/i386/sol2-gc1.asm: Likewise.
13324
13325 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
13326
13327         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
13328         -Asparclite for sparc86x.
13329         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
13330         sparc86x.
13331         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
13332
13333 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
13334
13335         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
13336         the user if using the non-default arch size in BI_ARCH configuration.
13337         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
13338
13339         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
13340         Fix patterns so that they actually match.
13341         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
13342         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
13343         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
13344         TARGET_HARD_MUL32.
13345         (mulsidi3): Reflect this in the expand.
13346         (smulsi3_highpart): Only on TARGET_ARCH32.
13347         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
13348         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
13349         (umulsidi3): Reflect this in the expand.
13350         (umulsi3_highpart): Only on TARGET_ARCH32.
13351         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
13352         don't require g0 to be zero.
13353         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
13354         ({,u}divsi3): New expands.
13355         ({,u}divsi3_sp64): New patterns.
13356         (after lshrdi3_v8plus): Four new patterns to help combiner
13357         optimizing nested mixed mode shifts.
13358
13359         * config/sparc/sparc.c (sparc_override_options): Use deprecated
13360         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
13361         speed things up. Don't use them by default on plain v9 in 64bit
13362         mode, according to what SPAMv9 sais.
13363
13364         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
13365         top 32 bits of %[og][0-7] in signal handlers.
13366         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
13367
13368 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
13369
13370         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
13371         (ashlsi3): Corresponding changes.
13372
13373         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
13374
13375 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
13376
13377         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
13378
13379 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13380
13381         * arm.h (Hint): Delete macro.
13382         Substitute HOST_WIDE_INT for Hint in some prototypes.
13383         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
13384
13385 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
13386
13387         * builtins.c (expand_builtin_setjmp): Use force_operand to
13388         make sure that the buffer address is in a suitable form to be
13389         passed to force_reg.
13390
13391 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
13392
13393         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
13394         them here.
13395
13396 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
13397
13398         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
13399         proper mode in the condition string.
13400         (icacheflush, dcacheflush): Remove modes from match_operands.
13401
13402         * pa.c (emit_move_sequence): Always convert scratch_reg to the
13403         proper mode before using it.
13404
13405         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
13406         pair.
13407
13408         * pa.c (store_reg): Do not call add_high_const generator directly.
13409         (load_reg, set_reg_plus_d): Likewise.
13410         * pa.md (add_high_const): No longer a named pattern.
13411
13412         * pa.c (legitimize_address): Consistently use Pmode rather than
13413         SImode.  Do not call gen_pic2_highpart directly anymore.
13414         * pa.md (pic2_highpart): No longer a named pattern.
13415         (pic2_lo_sum): Similarly.  Reformat to make more readable.
13416
13417         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
13418         needed.
13419
13420         * README: Update.
13421
13422 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13423
13424         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
13425
13426 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
13427
13428         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
13429         and tag the spill mems.
13430         (hppa_va_start): New.
13431         (hppa_va_arg): New.
13432         * pa.h (EXPAND_BUILTIN_VA_START): New.
13433         (EXPAND_BUILTIN_VA_ARG): New.
13434
13435 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
13436
13437         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
13438         and tag the spill mems.
13439         (mn10300_va_start): New.
13440         (mn10300_va_arg): New.
13441         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
13442         (EXPAND_BUILTIN_VA_ARG): New.
13443
13444 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
13445
13446         * mn10200.c (mn10200_va_arg): New.
13447         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
13448
13449 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
13450
13451         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
13452         rather than play with TREE_INT_CST_LOW.
13453
13454 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
13455
13456         * config/arm/telf.h: Include dbxelf.h.
13457         (CPP_PREDEFINES): Only define if not already defined.
13458         (ASM_IDENTIFY_GCC): Likewise.
13459         (SUBTARGET_EXTRA_SECTIONS): Likewise.
13460         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
13461         * config/arm/thumb.h (LINK_SPEC): Only define if not already
13462         defined.
13463         (DBX_DEBUGGING_INFO): Don't define.
13464         * config/arm/linux-telf.h: New file.
13465         * config/arm/linux-tgas.h: New file.
13466         * config/arm/t-thumb-linux: New file.
13467         * config/arm/uclinux-elf.h: New file.
13468         * config/arm/uclinux-telf.h: New file.
13469         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
13470         thumb-*-uclinux): New targets.
13471         * configure: Regenerate.
13472
13473 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
13474
13475         * pa.md (post_store, pre_load): New expanders.
13476         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
13477         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
13478         need to directly generate RTL for them.
13479         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
13480         changes.
13481
13482 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
13483
13484         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
13485         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
13486         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
13487         (secndary_reload_class): Make TARGET_ELF conditional compile.
13488         (print_operand_address): Similar.
13489         (output_toc): Print all values as hex.
13490         (get_issue_rate): Rearrange and add RS64A and PPC630.
13491         * rs6000.h (processor_type): Add RS64A and PPC630.
13492         (PROCESSOR_POWERPC64): New.
13493         (PROMOTE_MODE): Use word_mode.
13494         (RTX_COSTS): Add RS64A and PPC630.
13495         * rs6000.md (scheduling information): Add lmul and ldiv
13496         representing 64-bit integer multiply and divide.  Add rs64a and
13497         PPC630 information.
13498         (ashldi3): Add support for "rldic" instruction.
13499         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
13500
13501 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
13502
13503         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
13504         instead of V8 for sparclite86x in cpu_table.
13505
13506 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13507
13508         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
13509         output_file_directive.
13510
13511 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
13512
13513         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
13514         tree for op1, not the rtl.
13515
13516 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
13517
13518         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
13519         to m88k_va_start, leaving only the register spill.
13520         (m88k_build_va_list): New.
13521         (m88k_va_start): New.
13522         (m88k_va_arg): New.
13523         * m88k.h (BUILD_VA_LIST_TYPE): New.
13524         (EXPAND_BUILTIN_VA_START): New.
13525         (EXPAND_BUILTIN_VA_ARG): New.
13526
13527 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
13528
13529         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
13530         Rename from expand_builtin_saveregs.
13531         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
13532
13533 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
13534
13535         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
13536         for the register spill block.
13537         (i960_build_va_list): New.
13538         (i960_va_start): New.
13539         (i960_va_arg): New.
13540         * i960.h (BUILD_VA_LIST_TYPE): New.
13541         (EXPAND_BUILTIN_VA_START): New.
13542         (EXPAND_BUILTIN_VA_ARG): New.
13543         * i960.md (store_multiple): Use change_address on individul mems.
13544
13545 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
13546
13547         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
13548         an ARRAY_TYPE.
13549         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
13550         (expand_builtin_va_end): Evaluate arg for side effects.
13551         * c-common.c (c_common_nodes_and_builtins): Construct a
13552         va_list_arg_type_node to handle array decomposition to pointer.
13553
13554 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
13555
13556         * except.c (start_dynamic_cleanup): Use force_operand on the
13557         buffer's address.
13558
13559 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
13560
13561         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
13562         * c4x.c (c4x_va_arg): New.
13563
13564 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
13565
13566         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
13567         has manual_pop set.
13568
13569 1999-07-26  Nathan Sidwell  <nathan@acm.org>
13570
13571         * eh-common.h (__eh_matcher): Prototype correctly.
13572
13573 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
13574
13575         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
13576         (TARGET_SINGLE_PIC_BASE): Likewise.
13577         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
13578         definitions.
13579         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
13580         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
13581         (TARGET_OPTIONS): Add -mpic-register=N.
13582         (OUTPUT_INT_ADDR_CONST): New macro.
13583         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
13584         LEGITIMATE_PIC_OPERAND_P): Likewise.
13585         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
13586         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
13587         output_addr_const directly.
13588         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
13589         ARM port.
13590         (thumb_pic_register, thumb_pic_register_string): Declare.
13591
13592         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
13593         from arm.c.
13594         (label_mentioned_p): New function: Imported from arm.c.
13595         (legitimize_pic_address): New function: Imported from arm.c.
13596         (is_pic):New function: Imported from arm.c.
13597         (thumb_finalize_pic):New function: Imported from arm.c.
13598         (add_constant): Cope with PIC constants.
13599         (fixit): Cope with PIC constants.
13600         (output_return): Do not treat the PIC register as live if
13601         TARGET_SINGLE_PIC_BASE is true.
13602         (thumb_function_prologue): Do not treat the PIC register as live if
13603         TARGET_SINGLE_PIC_BASE is true.
13604         (thumb_expand_prologue): Do not treat the PIC register as live if
13605         TARGET_SINGLE_PIC_BASE is true.
13606         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
13607         TARGET_SINGLE_PIC_BASE is true.
13608         (thumb_print_operand): Accept '|'.
13609         (thumb_override_options): Process PIC options.
13610
13611         * config/arm/thumb.md (movsi): Support PIC.
13612         (call_insn): Change "i" constraint to "X".
13613         (call_value_insn): Likewise.
13614         (consttable_4, consttable_8, consttable_end): Set and clear
13615         "making_const_table" as appropriate.
13616         (pic_load_addr, pic_add_dot_plus_four): New insns.
13617
13618         * invoke.texi (Thumb Options): Fix spelling.  Document new
13619         options -msingle-pic-base and -mpic-register=.
13620
13621 1999-07-26  Andrew Haley  <aph@cygnus.com>
13622
13623         * config/m32r/initfini.c (__init): Use a full word immediate for
13624         __fini: this allows it to be placed in any memory region.
13625
13626         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
13627         -mmodel=medium.  This is OK for all memory models.
13628
13629 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
13630
13631         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
13632         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
13633
13634 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
13635
13636         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
13637         defined.
13638
13639         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
13640
13641 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
13642
13643         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
13644         (BUILD_VA_LIST_TYPE): New.
13645         (EXPAND_BUILTIN_VA_START): New.
13646         (EXPAND_BUILTIN_VA_ARG): New.
13647         * i860.c (output_delayed_branch): Disable.
13648         (output_delay_insn): Likewise.
13649         (i860_saveregs): New.
13650         (i860_build_va_list): New.
13651         (i860_va_start): New.
13652         (i860_va_arg): New.
13653         * i860.md: Disable all peepholes using output_delayed_branch.
13654         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
13655
13656 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
13657
13658         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
13659         (BUILD_VA_LIST_TYPE): New.
13660         (EXPAND_BUILTIN_VA_START): New.
13661         (EXPAND_BUILTIN_VA_ARG): New.
13662         * clipper.c (clipper_builtin_saveregs): Only dump registers.
13663         Return the address of the save area.
13664         (clipper_build_va_list): New.
13665         (clipper_va_start): New.
13666         (clipper_va_arg): New.
13667
13668 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
13669
13670         * arc.h (EXPAND_BUILTIN_VA_START): New.
13671         (EXPAND_BUILTIN_VA_ARG): New.
13672         * arc.c (arc_setup_incoming_varargs): Set alias set of
13673         varargs save area.
13674         (arc_va_start): New.
13675         (arc_va_arg): New.
13676
13677 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
13678
13679         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
13680         (BUILD_VA_LIST_TYPE): New.
13681         (EXPAND_BUILTIN_VA_START): New.
13682         (EXPAND_BUILTIN_VA_ARG): New.
13683         * alpha.c (alpha_builtin_saveregs): Delete.
13684         (alpha_build_va_list): New.
13685         (alpha_va_start): New.
13686         (alpha_va_arg): New.
13687
13688 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
13689
13690         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
13691         column zero.
13692         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
13693         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
13694
13695         * gcc.texi: More changes related to list conversion.
13696         * invoke.texi: Likewise.
13697
13698 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
13699
13700         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
13701         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
13702         (expand_builtin_next_arg): Accept ARGLIST not EXP.
13703         (stabilize_va_list): New function.
13704         (std_expand_builtin_va_start): New function.
13705         (expand_builtin_va_start): New function.
13706         (get_varargs_alias_set): New function.
13707         (std_expand_builtin_va_arg): New function.
13708         (expand_builtin_va_arg): New function.
13709         (expand_builtin_va_end): New function.
13710         (expand_builtin_va_copy): New function.
13711         (expand_builtin): Call them.
13712         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
13713         __builtin_{varargs_start,stdarg_start,end,copy}.
13714         (build_va_arg): New function.
13715         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
13716         (build_va_arg): Declare.
13717         * c-decl.c (ptr_type_node, va_list_type_node): New.
13718         * c-parse.gperf (__builtin_va_arg): New.
13719         * c-parse.in (VA_ARG): New token.
13720         (unary_expr): Recognize it.
13721         * expr.c (expand_expr): Expand VA_ARG_EXPR.
13722         * expr.h (std_expand_builtin_va_start): Declare.
13723         (std_expand_builtin_va_arg): Declare.
13724         (expand_builtin_va_arg): Declare.
13725         (get_varargs_alias_set): Declare.
13726         * tree.def (VA_ARG_EXPR): New.
13727         * tree.h (BUILT_IN_VARARGS_START): New.
13728         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
13729         (ptr_type_node, va_list_type_node): Declare.
13730         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
13731         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
13732         * m88k.h, m88k.c: Likewise.
13733         * mn10300.h, mn10300.c: Likewise.
13734         * pa.h, pa.c: Likewise.
13735         * rs6000.h, rs6000.c: Likewise.
13736         * sh.h, sh.c: Likewise.
13737         * sparc.h, sparc.c: Likewise.
13738
13739         * emit-rtl.c (operand_subword): Copy alias set.
13740         (change_address): Likewise.
13741
13742 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
13743
13744         * pa.c (compute_frame_size): Scan all the used callee saved registers,
13745         not just the first one.
13746
13747 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
13748
13749         * config/arm/arm.h (TARGET_SWITCHES): Add
13750         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
13751         (TARGET_OPTIONS): Add -mpic-register=.
13752         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
13753         (arm_pic_register_string): Declare.
13754         (NEED_PLT_GOT): Delete, replace with ...
13755         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
13756         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
13757         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
13758         * config/arm/arm.c (arm_override_options): Add new option
13759         -mpic-register=N.
13760         (arm_pic_register_string): New variable.
13761         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
13762         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
13763         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
13764         (output_return_instruction): Likewise.
13765         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
13766         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
13767         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
13768
13769         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
13770         mention of -msched-prolog.  Document new options -msingle-pic-base
13771         and -mpic-register=.
13772
13773 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
13774
13775         * haifa-sched.c (reemit_notes): Tidy.
13776         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
13777         haifa's routine.
13778
13779 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
13780
13781         * explow.c (trunc_int_for_mode): New function.
13782         (plus_constant_wide): Use it.
13783         * combine.c (simplify_and_const_int): Likewise.
13784         (merge_outer_ops): Likewise.
13785         (simplify_shift_const): Likewise.
13786         * cse.c (simplify_unary_operation): Likewise.
13787         (simplify_binary_operation): Likewise.
13788         * emit-rtl.c (operand_subword): Likewise.
13789         * rtl.h: Declare it.
13790
13791 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13792
13793         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
13794         (use NUM_REGS instead of NUM_INTS).
13795
13796 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13797
13798         * builtins.c: New file.
13799         * expr.c (saveregs_value, apply_args_value):  Delete definition,
13800         moved into builtins.c.
13801         (string_constant): No longer static.
13802         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
13803         apply_args_size, apply_result_size, result_vector,
13804         expand_builtin_apply_args, expand_builtin_apply,
13805         expand_builtin_return): Delete functions, moved into builtins.c.
13806         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
13807         * expr.h (saveregs_value, apply_args_value): Declare variables.
13808         (expand_builtin, string_constant): Declare functions.
13809         * Makefile.in: Update to build builtin.o.
13810
13811 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
13812
13813         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
13814         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
13815         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
13816         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
13817         false.
13818         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
13819         Define to zero.
13820
13821 1999-07-21  Michael Meissner  <meissner@cygnus.com>
13822
13823         * print-rtl.c (print_rtx): Print the names of the virtual
13824         registers.
13825
13826 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
13827
13828         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
13829         introduced in previous delta.
13830
13831 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13832
13833         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
13834         to avoid name clash.
13835
13836 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13837
13838         * c-lex.c (yylex) : Correct the test for overflow when lexing
13839         integer literals.
13840
13841 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
13842
13843         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
13844         (adjust_priority): Always call ADJUST_PRIORITY.
13845         (schedule_insn): Only put insns into the ready at cost 0.
13846         (schedule_block): Remove redundant initial sort.  Give clock_var
13847         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
13848         is not 0.
13849         * tm.texi (MD_SCHED_REORDER): Update docs.
13850
13851         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
13852         * sparc.c (ultra_reorder_called_this_block): Delete.
13853         (ultrasparc_sched_init): Don't set it.
13854         (ultrasparc_sched_reorder): Don't check it.
13855
13856 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
13857
13858         * rs6000.h (struct rs6000_args): Add sysv_gregno.
13859         * rs6000.c (init_cumulative_args): Init sysv_gregno.
13860         (function_arg_boundary): Align DFmode.
13861         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
13862         to get fp reg and stack overflow correct.
13863         (function_arg): Likewise.
13864         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
13865         (setup_incoming_varargs): Restructure for ABI_V4; use
13866         function_arg_advance to skip final named argument.
13867         (expand_builtin_saveregs): Properly unskip the last integer arg
13868         when doing varargs.  Adjust overflow location calculation.
13869
13870         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
13871         explicitly unsigned.
13872         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
13873         (__VA_GP_REGSAVE): Similarly.
13874         (__va_longlong_p): Delete.
13875         (__va_arg_type_violation): New declaration.
13876         (va_arg): Restructure.  Flag promotion errors.  Align double.
13877         TFmode passed by reference.
13878
13879         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
13880         in the HOST_BITS_PER_WIDE_INT > 32 case.
13881
13882 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13883
13884         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
13885
13886 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
13887
13888         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
13889         * toplev.c (documented_lang_options): Add -fpreprocessed.
13890         * cpplib.h (struct cpp_buffer): Add preprocessed.
13891         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
13892         (cpp_start_read): Don't expand macros or emit an initial #line
13893         directive if -fpreprocessed.
13894
13895 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
13896
13897         * cpplib.h (struct cpp_buffer): Added manual_pop for
13898         better C++ tokenization.
13899         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
13900         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
13901         * c-common.c (cpp_token): Make non-static.
13902
13903 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13904
13905         * c-common.h: New file.
13906         * c-common.c (permanent_obstack): Delete unused declaration.
13907         (c_global_trees): New array.
13908         (c_common_nodes_and_builtins): New function; split off common code
13909         from init_decl_processing in both c-decl.c and cp/decl.c.
13910         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
13911         c_global_trees and accessor macros defined in c-common.h.
13912         Include c-common.h.
13913         * c-decl.c: Delete definitions for tree nodes that were replaced by
13914         c_global_trees.
13915         (init_decl_processing): Build void_list_node.
13916         Call c_common_nodes_and_builtins; delete code to generate the common
13917         builtins here.
13918         * objc/objc-act.c (build_module_descriptor): Rename variable
13919         void_list_node to avoid clash with c-common.h.
13920
13921         * Makefile.in: Update dependencies.
13922         * objc/Make-lang.in: Likewise.
13923
13924 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
13925
13926         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
13927         (UNIQUE_SECTION_P): Likewise.
13928         (UNIQUE_SECTION): Likewise.
13929
13930 1999-07-19  Linas Vepstas  <linas@linas.org>
13931
13932         * config/i370/README: New file.
13933         * config/i370/linux.h: New file.
13934         * config/i370/mvs.h: New file.
13935         * config/i370/oe.h: New file.
13936         * config/i370/t-linux: New file.
13937         * config/i370/t-mvs: New file.
13938         * config/i370/t-oe: New file.
13939         * config/i370/x-oe: New file.
13940         * config/i370/xm-linux.h: New file.
13941         * config/i370/xm-mvs.h: New file.
13942         * config/i370/xm-oe.h: New file.
13943
13944         * i370.c (label_node_t): Add first_ref_page, label_addr,
13945         label_first_ref, label_last_ref members.
13946         (mvs_need_base_reload): Renamed from mvs_label_emitted.
13947         (MAX_MVS_LABEL_SIZE): Define.
13948         (MAX_LONG_LABEL_SIZE): Define.
13949         (alias_node_t, alias_anchor, alias_number): New.
13950         (mvs_function_table): Reorder for EBCDIC.
13951         (ascebc, ebcasc): Unconditionally define.
13952         (i370_branch_dest, i370_branch_length): New functions.
13953         (i370_short_branch, i370_label_scan): New functions.
13954         (mvs_get_label): Renamed from mvs_add_label.  Search for
13955         an existing label before creating a new one.
13956         (mvs_add_label): New function.
13957         (mvs_get_label_page): New function.
13958         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
13959         over the entire list.
13960         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
13961         (mvs_check_page) [TARGET_ELF_ABI]: New function.
13962         (mvs_add_alias, mvs_need_alias): New functions.
13963         (mvs_get_alias, mvs_check_alias): New functions.
13964         (handle_pragma): New function.
13965         (mvs_function_check): New function.
13966         (unsigned_jump_follows_p): Search harder.
13967         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
13968         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
13969         * i370.h (TARGET_VERSION): Delete.
13970         (CPP_SPEC, CPP_PREDEFINES): Delete.
13971         (mvs_label_emitted): Delete.
13972         (TARGET_EBCDIC): Delete.
13973         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
13974         (HANDLE_PRAGMA): Define.
13975         (HARD_REGNO_NREGS): Handle complex modes.
13976         (HARD_REGNO_MODE_OK): Likewise.
13977         (CLASS_MAX_NREGS): Likewise.
13978         (RET_REG): Likewise.
13979         (EXTRA_CONSTRAINT): Define.
13980         (RETURN_IN_MEMORY): True for DImode.
13981         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
13982         (FUNCTION_PROFILER): Delete.
13983         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
13984         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
13985         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
13986         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
13987         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
13988         (ASM_FILE_START): Add "RMODE ANY".
13989         (ASM_OUTPUT_EXTERNAL): Check for aliases.
13990         (ASM_GLOBALIZE_LABEL): Likewise.
13991         (ASM_OUTPUT_LABELREF): Likewise.
13992         (ASM_OUTPUT_COMMON): Likewise.
13993         (PRINT_OPERAND): Handle 'K', 'W', default.
13994         (PRINT_OPERAND_ADDRESS): New.
13995         (Lots of defines): Add support for TARGET_ELF_ABI.
13996         * i370.md (attr length): New.  Define for all patterns.
13997         (*): Lots of tweeks to assembly output and constraints.
13998
13999 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
14000
14001         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
14002         Disable patterns performing SImode comparisons with SImode values
14003         if TARGET_POWERPC64 and instruction does not sign-extend or does
14004         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
14005         differ for signed quantities.
14006         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
14007         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
14008         (decrement_and_branch_on_count): Add 64-bit variant.
14009
14010 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14011
14012         * final.c (output_asm_insn): When searching for the matching string
14013         for a given dialect, don't run past the end of the list of
14014         alternatives if there are fewer alternatives in the template than
14015         dialects.
14016
14017 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
14018
14019         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
14020         Removed paragraph about compression of files and size limitation,
14021         duplicated in the FAQ.  Use gcc-patches for posting patches.
14022         * gcc.c (main): Updated URL with bug reporting instructions to
14023         gcc.gnu.org.  Removed e-mail address.
14024         * system.h (abort): Likewise.
14025
14026 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14027
14028         * Makefile.in (stmp-multilib-sub): Make the files extracted
14029         from $(LIBGCC1) writable.
14030
14031 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
14032
14033         * config/arm/aout.h: Reformat for improved readability.
14034
14035         * config/arm/arm.h: Reformat for improved readability.
14036         Replace uses of fprintf with asm_fprintf where appropriate.
14037         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
14038         function declaration assembler actions.
14039         (NUM_INTS): New macro: Convert from bytes to words.
14040         (NUM_REGS): New macro: Compute number of registers required to
14041         hold a quanitity of tyep MODE.
14042         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
14043         types.
14044         (NUM_ARG_REGS): New macro: The number of argument registers
14045         available.
14046         (ARG_REGISTER): New macro: Compute the register number of the Nth
14047         argument register.
14048         (LAST_ARG_REGNUM): New macro: The number of the last argument
14049         register.
14050         (SP_REGNUM): New macro: Register number of the stack pointer.
14051         (FP_REGNUM): New macro: Register number of the frame pointer.
14052         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
14053         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
14054         CUMULATIVE_ARGS so that it counts registers not bytes.
14055
14056         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
14057         TARGET_INTERWORK.
14058         Replace uses of fprintf with asm_fprintf where appropriate.
14059         (output_ascii_pseudo_op): Replace with version from thumb.c
14060
14061         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
14062
14063         * config/arm/elf.h (CPP_PREDEFINES): Replace with
14064         SUBTARGET_CPP_SPEC.
14065         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
14066         (ASM_FILE_START): Emit ASM_APP_OFF.
14067
14068 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
14069
14070         * pa.c (compute_frame_size): Round frame according to
14071         STACK_BOUNDARY rather than a hardwired value.
14072
14073         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
14074
14075         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
14076         of "1".
14077         * configure: Rebuilt.
14078
14079         * configure.in (hppa*-*-linux*): New configuration.
14080         * configure: Rebuilt.
14081         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
14082         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
14083         * pa/pa-linux.h: New file.
14084         * pa/t-linux: New file.
14085         * pa/xm-linux.h: New file.
14086
14087         * pa.c (hppa_legitimize_address): Change references from SImode to
14088         either Pmode or word_mode as appropriate.
14089         (emit_move_sequence, store_reg, load_reg): Likewise.
14090         (set_reg_plus_d, hppa_expand_prologue): Likewise.
14091         (output_mul_insn): Likewise.
14092         * pa.h (PROMOTE_MODE): Likewise.
14093         (INITIALZE_TRAMPOLINE): Likewise.
14094         (Pmode): Define to word_mode.
14095
14096         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
14097         value of 4.  Allocate 8 bytes for each FP register save.
14098         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
14099         value of 4.
14100         (hppa_expand_prologue): Likewise.
14101         * pa.h (PROMOTE_MODE): Likewise.
14102         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
14103         (FUNCTION_ARG_BOUNDARY): Likewise.
14104
14105         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
14106
14107         * pa.c (out_of_line_prologue_epilogue): Delete.
14108         (override_options): Remove -mspace related code.
14109         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
14110         (compute_frame_size): Only allocate space for register that
14111         actually need to be saved.
14112         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
14113         (TARGET_SWITCHES): Remove -mspace, -mno-space
14114         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
14115         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
14116         * pa/ee.asm, pa/ee_fp.asm: Delete.
14117
14118         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
14119
14120         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
14121         directive in column zero.
14122
14123 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
14124
14125         * m68k.c (output_function_prologue): Fix computation of save mask
14126         when generating PIC code.
14127
14128 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
14129
14130         * tree.c (build_type_attribute_variant): Move current_obstack restore
14131         after build_qualified_type call.
14132
14133 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
14134
14135         * configure.in: Use t-iris6, even with GNU LD.
14136         * config/mips/iris6gld.h: Fix typo in linker spec.
14137         * config/mips/t-iris6gld: Remove.
14138
14139 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
14140
14141         * rs6000.md (insv, extzv): Remove SImode dependence in named
14142         patterns.  Explicitly generate DImode RTL if PowerPC64 and
14143         operand is DImode.
14144         (insvdi): Reverse start and size in instruction template.
14145
14146 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
14147
14148         * invoke.texi: Typo fixes.
14149
14150 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
14151
14152         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
14153         handle at this time instead of silently generating incorrect code.
14154         (gen_imagpart): Likewise.
14155
14156         * reload.c (find_reloads): Emit a USE for a pseudo register without
14157         a hard register if we could not create an optional reload for the
14158         pseudo.
14159
14160 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14161
14162         * c-typeck.c (output_init_element, process_init_element):
14163         When advancing constructor_unfilled_fields for a RECORD_TYPE,
14164         check for nameless bit fields.
14165
14166 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
14167
14168         * regclass.c (scan_one_insn): Notice subregs that change the
14169         size of their operand.
14170         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
14171
14172 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
14173
14174         * configure.in (alpha*-*-*): Include alpha/t-ieee.
14175         * configure: Rebuilt.
14176         * alpha/t-ieee: New file.
14177
14178 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
14179
14180         * rs6000.c (find_addr_reg): Do not select r0 as an address
14181         register.
14182
14183 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
14184
14185         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
14186
14187 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
14188
14189         * rs6000.md (movsf): Do not force easy FP constants into memory.
14190
14191         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
14192         immed_double_const to ensure they are properly truncated then
14193         sign extended.
14194
14195 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
14196
14197         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
14198         always unless NO_DEBUG is used.  Compile this code
14199         unconditionally.
14200         (replace_symbols_in_block): Compile it unconditionally.
14201
14202 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
14203
14204         * configure.in (i?86-*-elf*): New target.
14205         * configure: Rebuilt.
14206         * i386/i386elf.h, i386/t-i386elf: New files.
14207
14208 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14209
14210         * toplev.c (main): Don't complain about saying -gdwarf.
14211         (rest_of_compilation): Remove redundant code.
14212
14213 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
14214
14215         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
14216
14217 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
14218
14219         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
14220         "Li960R:", to avoid name clash.
14221
14222 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14223
14224         * loop.c (check_dbra_loop): When reversing a loop, delete all
14225         REG_EQUAL notes referencing the reversed biv except those which are
14226         for a giv based on it.
14227
14228 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
14229
14230         * version.c: Drop "gcc-" prefix from version #.
14231
14232 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
14233
14234         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
14235         the label if we're being verbose.
14236
14237 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
14238
14239         * m68k.c (output_function_prologue): Add pic register to mask
14240         if live and flag_pic.
14241         (output_function_epilogue): Likewise.
14242
14243 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
14244
14245         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
14246         directives in column zero.
14247
14248         * pa/elf.h (ASM_FILE_START): Define.
14249         * pa/som.h (ASM_FILE_START): Include .level directives.
14250         * pa/hpux10.h (ASM_FILE_START): Delete.
14251         * pa/hpux11.h (ASM_FILE_START): Delete.
14252
14253         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
14254
14255 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14256
14257         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
14258         when reload_out equals reload_in.
14259
14260 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
14261
14262         * invoke.texi (Spec Files): New node: Describe the contents of
14263         spec files.
14264
14265 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
14266
14267         * invoke.texi (DEC Alpha Options): Put @end table at
14268         beginning of line, to avoid confusing texi2html.
14269
14270 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
14271
14272         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
14273         introduced in previous delta.
14274
14275 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14276
14277         * reload1.c (gen_reload): When synthesizing a 3 operand add
14278         sequence, improve test for when to reload OP1 into the reload
14279         register instead of OP0.
14280
14281 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
14282
14283         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
14284
14285 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
14286
14287         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
14288         string literal.
14289
14290 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
14291
14292         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
14293         (va_dcl): Use __builtin_va_alist_t.
14294
14295 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
14296
14297         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
14298         on the permanent_obstack.
14299         * dwarfout.c (output_type): Likewise.
14300
14301 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14302
14303         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14304         Merged from c-typeck.c and cp/typeck.c.
14305         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14306         Merged into c-common.
14307
14308 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
14309
14310         * c-lex.c (errorcount): Declare it.
14311         (finish_parse): Update errorcount when using CPPLIB.
14312
14313 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
14314
14315         * fixinc/inclhack.def(end_else_label): Double the backslash so
14316         sed gets a chance to see it.
14317         * fixinc/inclhack.sh: regen
14318         * fixinc/fixincl.x: regen
14319
14320 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
14321
14322         Add framework to support armv5 architecture when it becomes
14323         available:
14324
14325         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
14326         (arm_arch5): New variable.
14327         (all_architectures): Add armv5 line.
14328         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
14329         -march=armv5 is specified on the command line.
14330         (arm_arch5): Export this variable.
14331         * invoke.texi: Document new string accepted by -march= switch for
14332         ARM ports.
14333
14334         * config/arm/arm.h: Replace use of constant 12 as a register
14335         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
14336         * config/arm/arm.c: Replace use of constant 12 as a register
14337         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
14338
14339         * config/arm/elf.h: Tidy up.
14340         * config/arm/coff.h: Tidy up.
14341
14342 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
14343
14344         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
14345         * gcc/config/mips/t-iris6gld: New file.
14346         * gcc/config/mips/iris6gld.h: Likewise.
14347
14348 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14349
14350         * c-decl.c (widest_integer_literal_type_node,
14351         widest_unsigned_literal_type) : New.
14352         (init_decl_processing): Handle/use the two new types.
14353         * c-common.c (type_for_size,type_for_mode) : Same.
14354         * c-lex.c (yylex) : Same.
14355         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
14356         Same.
14357         * c-tree.h (widest_integer_literal_type_node,
14358         widest_unsigned_literal_type) : New.
14359
14360 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
14361
14362         * dwarfout.c (field_byte_offset): Correctly compute the object's
14363         byte offset for the first bit of a field which crosses an alignment
14364         boundary on a !BYTES_BIG_ENDIAN target.
14365
14366 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
14367
14368         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
14369         ntohs.
14370
14371 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
14372                           Jeff Law <law@cygnus.com>
14373
14374         * ginclude/varargs.h (va_dcl): Use word_mode for type of
14375         __builtin_va_list.
14376
14377         * except.c: Include intl.h.
14378         (expand_eh_return): Set current_function_cannot_inline.
14379         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
14380         * function.h (struct function): Add eh_return_stub_label.
14381         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
14382         * Makefile.in (except.o): Depend on intl.h.
14383
14384 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
14385
14386         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
14387         same as offsettable in cases 1 and 2.
14388
14389 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
14390
14391         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
14392         (extlh, extwh): Likewise.
14393
14394 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14395
14396         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
14397
14398 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
14399
14400         * configure.in: Add arm-pe and thumb-pe targets.
14401         * configure: Regenerate.
14402
14403         * thumb.c (arm_naked_function_p): New function: Determines if
14404         a function is naked (has no gcc generated prologue/epilogue).
14405         (is_called_in_ARM_mode): Return true if the func has the
14406         interfacearm attribute.
14407         (output_return): Do not generate a return for naked functions.
14408         (thumb_function_prologue): Do not generate a prologue for
14409         naked functions.
14410         (thumb_expand_prologue): Do not generate a prologue for naked
14411         functions.
14412         (thumb_expand_epilogue): Do not generate an epilogue for naked
14413         functions.
14414         (arm_valid_machine_decl_attribute): New function, copied from
14415         arm.c:  Permit naked and interfacearm attributes.
14416
14417         * config/arm/pe.c: New file: Support code for arm-pe target.
14418         * config/arm/pe.h: New file: Header file for arm-pe target.
14419         * config/arm/tpe.h: New file: Header file for thumb-pe target.
14420         * config/arm/t-thumb-pe: New file: Makefile fragment for
14421         thumb-pe target.
14422
14423 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
14424
14425         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
14426         -fPIC or -fpic is specified.
14427
14428 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
14429
14430         * expr.c (emit_block_move): Use copy_to_mode_reg for
14431         !TARGET_MEM_FUNCTIONS case too.
14432
14433         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
14434         appropriate.
14435         * configure: Rebuilt.
14436         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
14437         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
14438         definitions made redundant by dbxelf.h inclusion.  Delete
14439         lots of definitions related to assembly output that are
14440         specific to the SOM object format.
14441         * pa.c (output_function_prologue): Do not emit the function's
14442         name for OBJ_ELF.
14443         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
14444         * pa-pro.h: Deleted.
14445         * som.h: New file with SOM specific definitions.
14446         * elf.h: New file with ELF specific definitions.
14447
14448         * elfos.h (const_section): Output a tab before assembler directives.
14449         (ctors_section, dtors_section): Likewise.
14450         (ASM_OUTPUT_SECTION_NAME): Likewise.
14451
14452         * pa/pa1.h: Delete unused file.
14453
14454 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
14455
14456         * configure.in (hppa*-hp-hpux11*): New configuration.
14457         * configure: Rebuilt.
14458         * pa/pa-hpux11.h: New file.
14459         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
14460         command line.
14461
14462         * mips.md (leasi, leadi): New patterns.
14463
14464         * expr.c (emit_block_move): Properly handle case where one of the
14465         block move arguments has a queued increment or decrement.
14466         (clear_storage): Similarly.  Fix formatting goof.
14467
14468 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
14469
14470         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
14471         semicolon from the BSD VA_LIST replacement expression.
14472
14473         * fixinc/inclhack.sh: regen
14474         * fixinc/fixincl.x: regen
14475
14476         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
14477         now use the fixincl program.
14478
14479 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
14480
14481         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
14482         case.  Also make the PIC register call_used.
14483
14484         * m68k.h (FINALIZE_PIC): Delete.
14485         * m68k.c (finalize_pic): Delete.
14486
14487 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
14488
14489         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
14490         to memory.
14491
14492 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
14493
14494         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
14495
14496 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
14497
14498         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
14499
14500 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
14501
14502         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
14503
14504 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
14505
14506         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
14507
14508 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
14509
14510         * rs6000.c (output_toc): Always use hex values for floating-point
14511         constants.  Store single-precision values in upper-half of TOC
14512         entry in 64-bit mode.
14513         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
14514         to final constraints.
14515         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
14516         (fctiwz): Improve accuracy of RTL for pattern.
14517
14518 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14519
14520         * expr.c (expand_expr): Allow RTL_EXPR's through the
14521         MAX_INTEGER_COMPUTATION_MODE checks.
14522
14523 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
14524
14525         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
14526         such that MASK_SUPPORT_ARCH is not negative.
14527
14528 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
14529
14530         * loop.c (verify_dominator): Properly handle ADDR_VEC and
14531         ADDR_DIFF_VEC insns that appear inside loops.
14532
14533 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
14534                           Jeff Law <law@cygnus.com>
14535
14536         * rs6000.md (movdf_hardfloat32): Revert previous patch.
14537         Handle LO_SUM the same as offsettable in cases 1 and 2.
14538         * rs6000.c (find_addr_reg): Revert previous patch.
14539
14540 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
14541
14542         * system.h (strstr): New external function declaration.
14543         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
14544         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
14545         * config.in, configure: Rebuilt.
14546
14547 1999-06-24  Tom Tromey  <tromey@cygnus.com>
14548
14549         * gcc.c (main): Read user-specified specs files after computing
14550         additional startfile_prefixes.
14551
14552 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
14553
14554         Revert these two patches:
14555
14556         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14557         * loop.c (strength_reduce): When doing biv->giv conversion, update
14558         reg note of NEXT->insn.
14559
14560         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14561         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14562         reg_biv_class.
14563         (recombine_givs): Set ix field after sorting.
14564
14565 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14566
14567         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
14568         for the parts of an UNSPEC / UNSPEC_VOLATILE.
14569
14570 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
14571
14572         *fixinc/inclhack.def:  Add fix development commentary
14573         (read_ret_type): reactivate and add selection clause
14574         (zzz_*): tweak output file name to match what is used in hackshell.tpl
14575         *fixinc/{fixincl.x|inclhack.sh}: regen
14576
14577 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
14578
14579         * expr.c (expand_expr): STRIP_NOPS before checking against
14580         MAX_INTEGER_COMPUTATION_MODE
14581         (check_max_integer_computation_mode): Likewise.
14582
14583 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
14584
14585         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
14586
14587 1999-06-22  Jim Wilson  <wilson@cygnus.com>
14588
14589         * expr.c (store_expr): When target is a promoted subreg, return a
14590         promoted subreg as a result.
14591
14592 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
14593
14594         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
14595         coding standards.
14596         (dwarf2out_define): Mark unused parameters appropriately.
14597         (gen_unspecified_parameters_die): Ditto.
14598         (gen_subprogram_die): Fix signed/unsigned warnings.
14599         (gen_variable_die): Ditto.
14600
14601 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
14602
14603         * fixinc/inclhack.def(end_else_label): combined else_label
14604         and endif_label and fixed the sed expression.
14605         *fixinc/{fixincl.x|inclhack.sh}: regen
14606
14607 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
14608
14609         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
14610         'x' when handling non-offsettable addresses
14611
14612 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
14613
14614         * final.c (shorten_branches): Don't try to split an insn that has
14615         been deleted.
14616
14617 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
14618
14619         * config/mips/mips.c (symbolic_expression_p): New function.
14620         (mips_select_rtx_section): Put symbolic expressions in the
14621         data section, not the read-only data section.
14622
14623 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
14624
14625         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
14626
14627 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
14628
14629         * collect2.c (main): Log frame table count.
14630         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
14631         (scan_prog_file) [COFF]: Handle frame tables.
14632
14633         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
14634         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
14635         * alpha/elf.h: Undef them again.
14636         * alpha/vms.h: Remove their definitions.
14637
14638 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14639
14640         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
14641         remove the clobber of r0 and change the REG_UNUSED note to
14642         REG_INC.
14643
14644 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
14645
14646         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
14647         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
14648         fits in HOST_WIDE_INT and one uses union to access a long constant
14649         as double.
14650
14651 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
14652
14653         * sparc.c (sparc_override_options): Don't allow profiling for
14654         code models other than medlow.
14655         (sparc_function_profiler): New function from old FUNCTION_PROFILER
14656         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
14657         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
14658         (sparc_block_profiler): Likewise.
14659         (sparc_function_block_profiler_exit): Likewise.
14660         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
14661         (FUNCTION_BLOCK_PROFILER): Likewise.
14662         (BLOCK_PROFILER): Likewise.
14663         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
14664         (MCOUNT_FUNCTION): New.
14665         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
14666         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
14667         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
14668         (MCOUNT_FUNCTION): New.
14669         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
14670         (BLOCK_PROFILER): Delete.
14671         (MCOUNT_FUNCTION): New.
14672
14673 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
14674
14675         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
14676
14677 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
14678
14679         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
14680         Add the macros.
14681
14682         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
14683         Ditto.
14684
14685         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
14686         Ditto.
14687
14688         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
14689         Ditto.
14690
14691 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
14692
14693         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
14694         types.
14695
14696 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
14697
14698         * i386/djgpp.h (LIB_SPEC): New.
14699         (STARTFILE_SPEC): New.
14700
14701         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
14702
14703 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
14704
14705         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
14706         compiler flags.
14707
14708         * system.h (WSTOPSIG): New macro.
14709
14710 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14711
14712         * c-pragma.c (push_alignment): Don't ignore alignments greater than
14713         4 bytes.
14714         (insert_pack_attributes): Take into account member natural
14715         alignment.
14716
14717         * i386/winnt.c (exports_head): New static variable.
14718         (i386_pe_record_exported_symbol): New function.
14719         (i386_pe_asm_file_end): Use.
14720         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
14721         symbols to be emitted at end of assembly.
14722         (ASM_DECLARE_OBJECT_NAME): Likewise.
14723         (ASM_DECLARE_FUNCTION_NAME): Likewise.
14724
14725         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
14726         -iwithprefix.
14727
14728 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
14729
14730         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
14731         in last change.
14732
14733 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
14734
14735         * haifa-sched.c (sched_analyze_1): Use free_list instead of
14736         zapping reg_last_uses directly.
14737         (sched_analyze_2, sched_analyze_insn): Likewise.
14738         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
14739
14740 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
14741
14742         * rs6000.md (movdf_hardfloat32): Use worst case insn length
14743         attributes for cases 1 and 2.
14744
14745 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
14746
14747         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
14748         instead of set.
14749
14750 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
14751
14752         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
14753
14754 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
14755
14756         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
14757         PIC_OFFSET_TABLE_REGNUM for general alloaction.
14758         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
14759         must be stacked if it is used for PIC accesses.
14760         * arm.c (use_return_insn): Handle PIC register specially.
14761         (output_return_instruction): Likewise.
14762         (output_func_{prologue,epilogue}): Likewise.
14763         (output_expand_prologue): Likewise.
14764
14765         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
14766         (*strsi_predec): Renamed from *strqi_predec.
14767         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
14768         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
14769
14770         * arm.c (arm_override_options): Remove warning about PIC code
14771         not being supported.
14772
14773 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
14774
14775         * rs6000.c (find_addr_reg): New function.
14776         * rs6000.h (find_addr_reg): Declare.
14777         (offsettable_addr_operand): Delete.
14778         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
14779         from and stores to GPRs.
14780
14781 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
14782
14783         * alpha.c (alpha_expand_block_move): Use get_insns rather than
14784         gen_sequence as argument to emit_no_conflict_block.
14785
14786 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
14787
14788         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
14789         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
14790         *fixinc/fixincl.x: regen
14791         *fixinc/inclhack.sh: regen
14792
14793 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
14794
14795         * added support for -mpcrel (PC relative addressing for m68k)
14796         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
14797         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
14798         * m68k.c (print_operand_address): Handle 32-bit PIC case.
14799         (comments for general_src_operand): Add some explanation
14800         about EXTRA_CONSTRAINTS.
14801         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
14802         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
14803         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
14804         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
14805         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
14806         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
14807         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
14808         if not already set.
14809         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
14810         * m68k.h (TARGET_PCREL): New target flag.
14811         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
14812         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
14813         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
14814         contains a SYMBOL_REF.  Relax this constraint during reload, since
14815         we want to use the predicates, not reload's built-in concept of a
14816         valid memory address, to control what insns need reloading.
14817         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
14818         operands (essentially 'g', 'm', and 's' under normal circumstances).
14819         * m68k.c (print_operand): Cause printing of pc-relative addresses
14820         to include pc register.
14821         (print_operand_address): Ditto.
14822         (general_src_operand): Accept operands that are not only
14823         general_operands, but are also valid when used as a pc-relative
14824         source.
14825         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
14826         (memory_src_operand): Similar, for memory_operands.
14827         (pcrel_address): New predicate to accept the special case of a
14828         pc-relative address.
14829         * m68k.md (many patterns): Rewrite common SImode, HImode, and
14830         QImode insns to accept *_src_operand instead of *_operand where
14831         pc-relative operands can fit.  For example, a pc-relative operand
14832         can be used as a memory source operand for addsi3, but not as a
14833         memory destination.
14834         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
14835
14836 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
14837
14838         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
14839         .thumb_set pseudo op to mark aliases of thumb functions.
14840
14841 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
14842
14843         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
14844         preference to ASM_OUTPUT_DEF, if it is defined.
14845
14846         * tm.texi: Document new, optional target macro
14847         ASM_OUTPUT_DEF_FROM_DECLS.
14848
14849 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
14850
14851         * fixincludes: ISCNTL patch
14852         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
14853         (dgux_int_varargs): new for DG/UX
14854         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
14855
14856 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
14857
14858         * invoke.texi (ia32 options): Fix typo.
14859
14860 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14861
14862         * loop.c (strength_reduce): When doing biv->giv conversion, update
14863         reg note of NEXT->insn.
14864
14865 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
14866
14867         * loop.c (move_movables): Note issues with replacing REGs with
14868         SUBREGs.
14869         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
14870
14871 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
14872
14873         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
14874
14875         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
14876         the reference to `mcount' was not correct for the ELF on FreeBSD.
14877
14878 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14879
14880         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14881         reg_biv_class.
14882
14883         (recombine_givs): Set ix field after sorting.
14884
14885 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
14886
14887         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
14888         to safe to extract a subword out of a REG.
14889
14890 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14891
14892         * sh.md (mulsi3): Don't add a no-op move at the end.
14893
14894 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14895
14896         * cse.c (cse_insn): Don't put hard register source into tables for
14897         the last insn of a libcall.
14898
14899 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14900
14901         * loop.c (strength_reduce): Insert sets of derived givs at every
14902         biv increment, even if it's the only one.
14903
14904 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
14905
14906         * dwarfout.c (add_incomplete_type): New fn.
14907         (output_type): Call it.
14908         (retry_incomplete_types): New fn.
14909         (dwarfout_finish): Call it.
14910
14911         From Eric Raskin <ehr@listworks.com>:
14912         (output_type): Output types for bases.
14913
14914 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
14915
14916         * mips.c (mips_output_conditional_branch): Add `break'
14917         between `default' label and `close braces'.
14918
14919 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
14920
14921         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
14922         specifications and make it realistic.
14923         (LIB_SPEC): Likewise.
14924
14925 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
14926
14927         * config/mips/mips.c (mips_secondary_reload_class): Check for
14928         (PLUS (SP) (REG)) and return appropriate register class.
14929         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
14930         Handle (PLUS (SP) (REG)).
14931         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
14932         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
14933         of emit_insn for tablejump.
14934
14935 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
14936
14937         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
14938         asm_fprintf format string by itself.
14939         (output_function_profiler): Likewise.
14940
14941 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
14942
14943         * combine.c (simplify_logical, case AND): Only call
14944         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
14945         or the constant is positive.
14946
14947 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
14948
14949         * configure.in: Fix typo in rs6000-ibm-aix4 case.
14950         * configure: Regenerate.
14951
14952 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
14953
14954         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
14955         require a sub-version #.
14956         * configure: Rebuilt.
14957
14958 1999-06-14  Robert Lipe  (robertlipe@usa.net)
14959
14960         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
14961
14962 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
14963
14964         * c-typeck.c (process_init_element): Detect excess elements in
14965         char array initializer.
14966
14967 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
14968
14969         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
14970
14971 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
14972
14973         * invoke.texi (Option Summary): Add -fpermissive flag.
14974
14975 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
14976
14977         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
14978         that require PIC code sequences.
14979
14980 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
14981
14982         * configure.in: Add new target: thumb-elf.
14983         * configure: Regenerate.
14984         * config/arm/t-thumb-elf: New file: Makefile fragment for
14985         thumb-elf build.
14986         * config/arm/telf.h: New file: Header file for thumb-elf
14987         build.
14988
14989 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
14990
14991         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
14992         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
14993         initializers is some circumstances.
14994
14995         * fixinc/inclhack.def (endif_label): Add additional selector for
14996         more bogus stuff after #endif statements.
14997         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
14998
14999 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15000
15001         * i386/cygwin.h (SET_ASM_OP): Define.
15002
15003 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15004
15005         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
15006
15007 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15008
15009         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
15010         latter.
15011
15012         * sh.md (ic_invalidate_line_i): Remove second alternative.
15013
15014 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15015
15016         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
15017         test for the presence of valid prototypes.  Delete bypass expr.
15018         (ioctl_fix_ctrl): Correct the selection expression.
15019         (no_double_slash): Correct quoting rules
15020         *fixinc/fixincl.x: regen
15021         *fixinc/inclhack.sh: regen
15022
15023 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
15024
15025         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
15026
15027 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15028
15029         * rs6000.md (movsi_got_internal_mem): Delete.
15030         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
15031         (GOT_TOC_REGNUM): Delete.
15032         (PIC_OFFSET_TABLE_REGNUM): Define.
15033         (FINALIZE_PIC): Disable.
15034         * rs6000.c (rs6000_got_register): New code for fixed pic register.
15035         (rs6000_replace_regno): Delete.
15036         (rs6000_finalize_pic): Likewise.
15037         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
15038
15039 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15040
15041         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
15042         is a note; use <= for the compare; advance P while it is
15043         a NOTE.
15044
15045 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
15046
15047         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
15048         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
15049
15050         * varasm.c (remove_from_pending_weak_list): Verify t->name
15051         is non-NULL before passing it to strcmp.
15052
15053 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15054
15055         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
15056         the typed arguments are not part of a comment
15057         (ioctl_fix_ctrl): Added a purpose comment
15058         *fixinc/fixincl.x: regenerate
15059         *fixinc/inclhack.sh: regenerate
15060
15061 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15062
15063         * invoke.texi: Add C4x invocation docs.
15064
15065 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15066
15067         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
15068         Define new macros.
15069         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
15070         TARGET_EXPOSE_LDP.
15071         (c4x_legitimize_reload_address): New function.
15072         * config/c4x/c4x.md: Update docs.
15073
15074 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
15075
15076         * fixincludes: Avoid removing '.'.
15077         * fixinc/fixinc.svr4: Likewise.
15078         * fixinc/fixinc.winnt: Likewise.
15079         * fixinc/inclhack.tpl: Likewise.
15080         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
15081
15082 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15083
15084         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
15085         pattern.
15086         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
15087
15088 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15089
15090         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
15091         correctly.
15092
15093 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
15094
15095         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
15096         * configure: Regenerate.
15097
15098 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
15099
15100         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
15101         values.
15102
15103 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
15104
15105         * fixinc/inclhack.def (avoid_bool): Also catch
15106         "typedef [unsigned] int bool".
15107         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15108
15109         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
15110         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
15111         * configure: Rebuilt.
15112
15113 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
15114
15115         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
15116         such that we can override its definitions if necessary.
15117         (CPP_SPEC): New define.  Support processor specific predefines via
15118         %(cpp_cpu).
15119         (CC1_SPEC): New define.  Support processor specific compiler
15120         options via %(cc1_cpu).
15121         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
15122         -static.
15123
15124 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15125
15126         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
15127         between sed's -e flag, and the open-quote following it.
15128         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15129
15130 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
15131                           Jeffrey A Law  (law@cygnus.com)
15132
15133         * varasm.c (assemble_start_function): Remove the function
15134         from the pending weak decls list when we define a function.
15135         (assemble_variable): Similarly for variables.
15136         (weak_finish): Ignore items on the list with a NULL name.
15137         (remove_from_ending_weak_list); New function to "remove" an item
15138         from the pending weak declarations list.
15139
15140 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15141
15142         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
15143
15144 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
15145
15146         * c-lex.c (GETC): Redefine to call getch.
15147         (UNGETC): Redefine to call put_back.
15148         (putback_buffer): New structure type.
15149         (putback): New static structure.
15150         (getch): New function.
15151         (put_back): New function.
15152         (yylex): Replace unused bytes from bad multibyte character.
15153
15154 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
15155
15156         * cpplib.c (do_define): Cast `alloca' return value.
15157         (do_include, do_undef, do_pragma): Likewise.
15158         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
15159         values.
15160         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
15161         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
15162
15163 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15164
15165         * sparc.md (abstf2): This should be an expand.
15166         (split after abstf2_notv9): Fix mode.
15167         (abstf2_hq_v9): New pattern.
15168         (abstf2_v9): Only use when no hard quad.
15169         (absdf2_v9): Fix if target is not the same as source.
15170         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
15171         Add correct output constraints.
15172
15173 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
15174
15175         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
15176         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
15177
15178 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
15179
15180         * mips.h (mips_output_conditional_branch): New function.
15181         (mips_adjust_insn_length): Likewise.
15182         (ASSEMBLER_SCRATCH_REGNUM): New macro.
15183         (ADJUST_INSN_LENGTH): Likewise.
15184         * mips.c (print_operand): Add `F' and `W' for floating-point
15185         comparison opcodes.
15186         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
15187         are now in bytes.
15188         (mips_adjust_insn_length): New function.
15189         (mips_output_conditional_branch): New function.
15190         * mips.md (length): Adjust attribute definition to handle
15191         conditional branches.   Change lengths to bytes, rather than
15192         instructions throughout.  Remove length attribute from
15193         instructions whose length is four bytes, and rely on the default
15194         instead.
15195         (dslot): Fix typo in comment.
15196         Reword conditional branch patterns to use
15197         mips_output_conditional_branch.
15198
15199 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15200
15201         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
15202         (LIB_SPEC): Likewise.
15203         Link with -lprof1_r for -g/-pg.
15204
15205 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
15206
15207         * loop.c (check_dbra_loop): Fix change of Jan 19.
15208
15209 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
15210
15211         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
15212         (STARTFILE_SPEC):  Define, override the svr4.h version.
15213         (ENDFILE_SPEC):  Likewise.
15214
15215 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
15216
15217         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
15218         * fixinc/fixincl.x: Regenerated.
15219         * fixinc/inclhack.sh: Regenerated.
15220
15221 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15222
15223         * sh.c (barrier_align): Don't return early for normal branch/barrier
15224         when optimizing for SH2.
15225
15226 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
15227
15228         * i386/udk.h (LINK_SPEC): Correct linker search path for
15229         system libraries.
15230
15231 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15232
15233         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
15234         (braf_label_ref_operand): Delete.
15235         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
15236         * sh.md (casesi_jump_2): Operand1 is now the inside of a
15237         label_ref, and has no predicate.
15238         The patten has a predicate to guard against invalid substitutions.
15239         (dummy_jump): Delete.
15240         (casesi): Update use of casesi_jump_2.
15241
15242 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15243
15244         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
15245         *fixinc/fixincl.x: regenerate
15246         *fixinc/inclhack.sh: regenerate
15247
15248 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
15249
15250         * dwarf2out.c (add_incomplete_type): New fn.
15251         (gen_struct_or_union_type_die): Call it.
15252         (retry_incomplete_types): New fn.
15253         (dwarf2out_finish): Call it.
15254
15255 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
15256
15257         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
15258         current block starts with a CODE_LABEL and ends with a CALL and
15259         we can not find all the argument setup instructions for the CALL.
15260
15261 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
15262
15263         Revert this change:
15264         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15265         something is a candidate for optimize_bit_field_compare.
15266
15267 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15268
15269         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
15270
15271 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
15272
15273         * alpha.c (override_options): Thinko in last patch.
15274
15275         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
15276         (LIB_SPEC): Recognize -pthread.
15277
15278 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
15279
15280         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
15281         definition in config/arm/coff.h
15282         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
15283
15284 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15285
15286         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
15287         fixes that need "file=xxx\n" prepended before invocation
15288         (start_fixer - new): starting the fixer process is complex enough
15289         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
15290         (process): uses the new routine; omit usage of putenv()
15291         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
15292         * fixinc/fixincl.x: regenerate
15293
15294 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
15295
15296         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
15297         and version #s (1.1 -> 2.96) as needed.
15298         * README.g77: Kill way out of date file in the toplevel directory.
15299
15300 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
15301
15302         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
15303         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
15304         * configure: Rebuilt.
15305         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
15306         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
15307         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
15308         (SWITCH_TAKES_ARG): Likewise.
15309         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
15310         * config/t-freebsd: Moved from config/i386/ so it can used for all
15311         FreeBSD targets.
15312
15313 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
15314
15315         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
15316
15317 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
15318
15319         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
15320         * configure: Rebuilt.
15321
15322 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
15323
15324         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
15325         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
15326         * rs6000/rs6000.c (rs6000_file_start): Use putc.
15327         (rs6000_output_load_toc_table): Same.
15328         (output_prolog, output_mi_thunk): Same.
15329         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
15330         (ASM_GLOBALIZE_LABEL): Use putc.
15331
15332 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
15333
15334         * alpha.md (reload_*_help): New patterns and splitters.
15335         (reload_*): Use them.
15336         (mov[qh]i): Likewise.
15337
15338 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
15339
15340         * cccp.c (handle_directive): Handle backslash-newlines in quoted
15341         strings correctly.
15342
15343 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
15344
15345         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
15346
15347 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
15348
15349         * flow.c (mark_regs_live_at_end, insn_dead_p,
15350         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
15351         and HARD_FRAME_POINTER_REGNUM special treatment if reload
15352         hasn't run or the frame pointer is needed.
15353         * haifa-sched.c (attach_deaths): Likewise.
15354         * sched.c (attach_deaths): Likewise.
15355
15356 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
15357
15358         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
15359         calculate_can_reach_end returns nonzero.
15360
15361         * configure.in (native gas tests): Search for an assembler in the
15362         same manner that the installed compiler will.
15363         * configure: Rebuilt.
15364         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
15365
15366         * alias.c (find_base_term): Improve handling of addresses
15367         constructed from binary operations.
15368
15369 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
15370
15371         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
15372
15373 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
15374
15375         * function.h (cleanup_label, frame_offset): Declare.
15376         (tail_recursion_label, tail_recursion_reentry): Likewise.
15377         (arg_pointer_save_area, rtl_expr_chain): Likewise.
15378         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
15379         (tail_recursion_label, tail_recursion_reentry): Likewise.
15380         (arg_pointer_save_area, rtl_expr_chain): Likewise.
15381
15382 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
15383
15384         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
15385         defined.
15386         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
15387         (MAX_OFILE_ALIGNMENT): Define.
15388
15389 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
15390
15391         * fixincl.c: Replace local include scheme with #includes of
15392         gansidecl.h and system.h.
15393         * procopen.c:  Likewise.
15394         * server.c:  Likewise.
15395
15396 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
15397
15398         * i386/t-dgux (EXTRA_PARTS): Add crti.o
15399         (crti.o): Add build rule and dependencies.
15400         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
15401
15402 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15403
15404         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
15405         (LIB_LINUX_SPEC): Likewise.
15406         (LIB_LINUX_SPEC): Add support for -pthread
15407         (CPP_OS_LINUX_SPEC): Likewise.
15408         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
15409         specified.
15410
15411 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
15412
15413         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
15414         conditional move.
15415         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
15416         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
15417         for IEEE math and CC_FCOMI.
15418         (put_jump_code): No IEEE if CC_FCOMI is set.
15419
15420 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
15421
15422         * fold-const.c (fold_truthop): Make the field reference unsigned
15423         when converting a single bit compare.
15424
15425 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15426
15427         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
15428
15429 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
15430
15431         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
15432         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
15433         version did.
15434
15435         * reload.c (push_reload): Do not call remove_address_replacements
15436         when presented with identical optional reloads.
15437
15438 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
15439
15440         * alpha.h (MASK_FIX, TARGET_FIX): New.
15441         (MASK_*): Reorganize constants.
15442         (CPP_AM_FIX_SPEC): New.
15443         (TARGET_SWITCHES): Add FIX.
15444         (EXTRA_SPECS): Likewise.
15445         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
15446         (SECONDARY_MEMORY_NEEDED): Likewise.
15447         (REGISTER_MOVE_COST): Likewise.
15448         * alpha.c (override_options): Add FIX support.  Always use
15449         ALPHA_TP_PROG for ev6.
15450         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
15451         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
15452         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
15453
15454 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
15455
15456         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
15457         something is a candidate for optimize_bit_field_compare.
15458
15459 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
15460
15461         * gcc.texi (Passes): Document branch-shortening.
15462         * invoke.texi (Debugging Options): Document the fact that `-dp'
15463         outputs length information for instructions.
15464
15465 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
15466
15467         * flow.c: Revert previous delta.
15468
15469 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
15470
15471         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
15472         FRAME_POINTER_REGNUM.
15473         (mark_set_1): Ditto.
15474         (mark_used_regs): Ditto.
15475
15476 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
15477
15478         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
15479         (GOT_PCREL): New macro.  Define to 1 if not already defined.
15480         * arm/elf.h (GOT_PCREL): Define to 0.
15481         * arm.c (arm_finalize_pic): Take into account the setting of
15482         GOT_PCREL.
15483
15484 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
15485
15486         * output.h (STRIP_NAME_ENCODING): Provide default definition.
15487         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
15488
15489         * flow.c (mark_set_1): Do not record BLKmode stores as dead
15490         store elimination candidates.
15491
15492 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15493
15494         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
15495         TARGET_GAS.
15496
15497 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
15498
15499         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
15500         Add use of x-aix41-gld.
15501
15502 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15503
15504         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
15505         (ASM_OUTPUT_DESTRUCTOR): Define.
15506
15507 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
15508
15509         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
15510         last CODE_LABEL in a loop if we have previously passed a jump
15511         to the top of the loop.
15512
15513 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
15514
15515         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
15516         applying Philip's patch.
15517
15518 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
15519
15520         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
15521         are not VAR_DECLs.
15522
15523 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
15524
15525         * loop.c (strength_reduce): Grow reg_single_usage as needed.
15526
15527 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
15528
15529         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
15530         Also remove a useless comment.
15531
15532 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
15533
15534         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
15535
15536 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
15537
15538         * collect2.c (main): Only generate import or export file and add
15539         to link arguments if non-empty.  Use xmalloc not alloca.
15540         (write_{export,import}_file): Delete.
15541         (write_aix_file): New function.
15542         (locatelib): Use xmalloc not malloc.
15543         (GCC_OK_SYMBOL): Do not check type if aix64.
15544
15545 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
15546
15547         Based on patch by Scott Bambrough and Pat Beirne:
15548         * config/arm/arm.c (making_const_table): New variable.
15549         * config/arm/arm.h (making_const_table): Declare.
15550         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
15551         appropriate.
15552         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
15553         Keep track of when we are building the constant table.
15554
15555 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
15556
15557         * config/arm/arm.c (arm_override_options): Fix erroneous warning
15558         message.
15559
15560 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
15561
15562         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
15563         defined.
15564
15565 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
15566
15567         * tm.texi (FUNCTION_ARG): Correct description of a stack element
15568         in a PARALLEL.
15569
15570 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
15571
15572         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
15573
15574 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15575
15576         * rs6000.c (output_mi_thunk): Enable full support again.
15577
15578 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15579
15580         * sh.h (BRANCH_COST): Define.
15581
15582 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
15583
15584         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
15585
15586 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
15587
15588         * function.c (assign_stack_local): Align stack slot propertly.
15589         (assign_outer_stack_local): Likewise.
15590
15591 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
15592
15593         * expr.h (lang_expand_constant): Declare.
15594         * toplev.c (lang_expand_constant): Define it.
15595         * varasm.c (output_constant): Use it.
15596
15597 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15598
15599         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
15600         Change function definitions to K&R style.
15601
15602 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15603
15604         * fixinc/fixincl.c: We must not ignore SIGCLD now.
15605
15606 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
15607
15608         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
15609         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
15610         (several places): omit static initialization
15611         (process): use single fd, since only the read fd is used
15612         * fixinc/gnu-regex.c: define 'const' away, if not supported
15613         * fixinc/procopen.c(several places): omit static initialization
15614         * fixinc/server.c: define 'volitile' away, if not supported
15615
15616 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
15617
15618         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
15619         asm_fprintf and %L to generate the label name.
15620         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
15621         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
15622
15623 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
15624
15625         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
15626         insn for a conditional jump can not be found.
15627
15628 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
15629
15630         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
15631         on variables in specific sections other than .sbss and .sdata.
15632
15633 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
15634
15635         * stmt.c (expand_return): Call start_cleanup_deferral and
15636         end_cleanup_deferral around conditional code.
15637
15638 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
15639
15640         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
15641         filename lists.  Utilizes new "krstr" AutoGen function.
15642         * fixinc/fixincl.x: Rebuilt.
15643
15644 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
15645
15646         * i386.c (output_float_compare): Avoid GNU-C extensions.
15647
15648 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
15649
15650         * version.c: Bump to distinguish mainline tree from the
15651         gcc-2.95 branch.
15652
15653 See ChangeLog.1 for earlier changes.