OSDN Git Service

* config/mips/mips.md (call_value_multiple_interanal1): New.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
2
3         * config/mips/mips.md (call_value_multiple_interanal1): New.
4
5 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
6
7         * dwarf2out.c (free_AT, free_die): New fns.
8         (remove_children): Call them.
9         (output_line_info): Disable removal of duplicate notes.
10
11         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
13         means pretend the type isn't defined.
14         Don't defer emitting types.
15         (gen_type_die_for_member): New fn.
16         (gen_decl_die): Call it.
17         (splice_child_die): New fn.
18         (gen_member_die): Call it rather than generate duplicate dies.
19
20         Defer emitting information for the abstract instance of an inline
21         until we either inline it or emit an out-of-line copy.
22         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
23         from output_inline_function if DECL_ABSTRACT is also set.
24         (block_ultimate_origin): Likewise.
25         (gen_abstract_function): New fn.
26         (gen_decl_die, gen_inlined_subroutine_die): Call it.
27         (gen_subprogram_die):  An abstract instance is not a declaration
28         just because it doesn't match current_function_decl.  Don't abort
29         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
30         has an abstract origin.
31         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
32         abstract instance here.
33
34 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
35
36         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
37         where we need to reload fpul from a system register.
38
39 1999-11-24  Andreas Jaeger  <aj@suse.de>
40
41         * config/mips/linux.h (CPP_PREDEFINES): Added.
42         (LINK_SPEC): Remove -Y since this is only needed on sparc.
43
44 1999-11-24  Andreas Jaeger  <aj@suse.de>
45
46         * config/mips/linux.h (TARGET_VERSION): Added.
47         (HANDLE_SYSV_PRAGMA): Added.
48         (DEFAULT_VTABLE_THUNKS): Added.
49
50 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
51
52         * local-alloc.c (qty): New structure and static variable.
53         (qty_phys_reg): Remove, all references changed to qty.
54         (qty_n_refs): Likewise.
55         (qty_min_class): Likewise.
56         (qty_birth): Likewise.
57         (qty_death): Likewise.
58         (qty_size): Likewise.
59         (qty_mode): Likewise.
60         (qty_n_calls_crossed): Likewise.
61         (qty_alternate_class): Likewise.
62         (qty_changes_size): Likewise.
63         (qty_first_reg): Likewise.
64         (alloc_qty): Rename variable QTY to QTYNO.
65         (finf_free_reg): Likewise.
66         (local_alloc): Allocate qty, do not allocate the removed variables.
67
68 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
69
70         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
71         when -membedded-pic is passed.
72
73         * config/mips/mips.md (casesi): Handle 64-bit case too.
74         (casesi_internal_di): New insn.
75
76         * config/mips/mips.c (embedded_pic_offset): Always make the
77         embedded-pic subtractions relative to the name of the current
78         function by use of the magic string "..CURRENT_FUNCTION".
79         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
80
81 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
82
83         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
84         of (const_int 0), when what we really care about is
85         whether it's a zero constant anyway.
86         (div_trap_mips16): Likewise.
87
88 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
89
90         * loop.c (loop_optimize): Always find_loop_tree_blocks and
91         unroll_block_trees when generating debuggable code.
92
93         * tree.h (unsave_expr_1): New function.
94         (lang_unsave): New variable.
95         (get_callee_fndecl): New function.
96         * tree.c (unsave_expr_now_r): New function.
97         (lang_unsave): Define.
98         (unsave_expr_1): Likewise.
99         (unsave_expr_now_r): Split out from unsave_expr_now.
100         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
101         call unsave_expr_now_r.
102         (get_callee_fndecl): Define.
103
104         * Makefile.in (gencheck): Don't depend on lang_tree_files.
105         (gencheck.o): Do depend on lang_tree_files.
106
107         * integrate.h (copy_decl_for_inlining): New declaration.
108         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
109         (copy_decl_for_inlining): New function.
110         (integrate_parm_decls): Use it.
111         (integrate_decl_tree): Likewise.
112
113 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
114
115         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split 
116         the second two from the first.
117         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
118         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
119         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than 
120         ISA_HAS_FP4.
121         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
122         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
123         ISA_HAS_FP4.
124
125 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
126
127         * pa.md (call_internal_symref, call_value_internal_symref): No mode
128         needed on the address operand.
129         * pa.c (call_operand_address): Check for the correct mode.
130
131 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
132
133         * loop.c: Include "basic-block.h".
134         (try_copy_prop, replace_loop_reg): New functions.
135         (load_mems): Detect registers that just hold copies of the hoisted
136         mem, and call try_copy_prop to eliminate them.
137         * Makefile.in (loop.o): Update dependencies.
138
139 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
140
141         * Makefile.in (gencheck.o): Depend on gencheck.h.
142         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
143         (insn-peep.o): Depend on except.h and function.h.
144         (insn-attrtab.o): Depend on RECOG_H.
145         (insn-output.o): Depend on toplev.h and flags.h.
146         (gengenrtl.o): Depend on real.h.
147         (gen-protos.o): Depend on cpplib.h and cpphash.h.
148         Unify all dependencies to be on RECOG_H rather than recog.h.
149
150 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
151
152         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
153         * configure.in: Try building a bi-arch 32/64-bit compiler on
154         sparc-*-solaris2.7 and higher.
155         * configure: Rebuild.
156
157 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
158
159         * config/freebsd.h: New, FreeBSD architecture independent file.
160         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
161         independent pieces.
162         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
163         directly by i386/freebsd.h.
164         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
165         independent configuration file.
166         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
167         directly by i386/freebsd.h.
168         * configure: Rebuilt.
169
170         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
171         which is in the user's namespace.
172         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
173         `i386' which is not in our namespace.
174
175 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
176
177         * invoke.texi (ARM Options): Add in -mno-alignment-traps
178
179 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
180
181         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
182         (add_dwarf_attr, add_child_die): Just push onto the front.
183         (reverse_die_lists): New fn.
184         (add_sibling_attributes): Use it.
185         (push_decl_scope): Reorganize.
186         (add_name_and_src_coords_attributes): Don't set file and line for
187         an artificial decl.
188         (gen_subprogram_die): An artificial function doesn't need to match
189         file and line.
190         (gen_compile_unit_die): Return the generated die.  Only add 
191         AT_comp_dir if the filename is relative.
192         (remove_AT): Simplify loop.  Also free string values.
193         (output_die): A DIE ref can't be null.
194         (output_value_format, value_format): Take a dw_attr_ref.
195         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
196         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
197         AT_addr, AT_lbl): New fns.
198         (various): Use them.
199         (various): Constify.
200
201 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
202
203         * combine.c (combine_simplify_rtx): When handling a SUBREG,
204         take SUBREG_WORD into account.
205         (if_then_else_cond): Likewise.
206
207 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
208
209         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising 
210         clause from BSD license, pursuant with
211
212           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
213
214 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
215
216         * loop.c (load_mems): Reformat slightly.
217         * basic-block.h (regset_head): New typedef.
218         (INIT_REG_SET): New macro.
219
220 1999-11-22  Bruce Korb  <autogen@linuxbox.com
221
222         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
223         (mips-dec-bsd*): non-functional code
224         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
225
226         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
227         added three replacement fixes
228         (no_double_slash): removed comments that are not (any longer) pertinent
229         (bad_lval): this fix currently runs against many files.
230         The comment seems to indicate that we should select for files
231         containing 'pragma extern_prefix'.
232
233         * fixinc/fixinc.x86-linux-gnu: deleted
234         * fixinc/inclhack.sh:  regen
235         * fixinc/fixincl.x:  regen
236         * fixinc/fixincl.sh:  regen
237
238 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
239
240         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
241         its code is INSN and it has no notes.
242
243 1999-11-22  Andrew Haley  <aph@cygnus.com>
244
245         * varasm.c (function_defined): Remove.
246         (make_function_rtl): Don't set function_defined.
247         (make_decl_rtl): Remove global register warning.
248         * regclass.c (no_global_reg_vars): New variable.
249         (globalize_reg): Warn if function has already been defined.
250         (regclass_init): Set no_global_reg_vars.
251
252 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
253
254         * regclass.c (reg_pref): New structure and static variable
255         (prefclass): Delete.
256         (altclass): Delete.
257         (all uses of prefclass and altclass): Use reg_pref instead.
258
259 1999-11-21  Nick Clifton  <nickc@cygnus.com>
260
261         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
262         -malignment-traps. 
263         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
264         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
265         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
266
267 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
268
269         * varasm.c (output_constructor): Solve problem with long long
270         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
271
272 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
273
274         * global.c (allocno): New structure and static variable.
275         (allocno_reg): Remove, all references replaced by allocno.
276         (allocno_size): Likewise.
277         (hard_reg_conflicts): Likewise.
278         (hard_reg_preferences): Likewise.
279         (hard_reg_copy_preferences): Likewise.
280         (hard_reg_full_preferences): Likewise.
281         (regs_someone_prefers): Likewise.
282         (allocno_calls_crossed): Likewise.
283         (allocno_n_refs): Likewise.
284         (allocno_live_length): Likewise.
285         (find_reg): Rename ALLOCNO to NUM.
286
287         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
288         references updated.
289         (may_move_out_cost): New variable.
290         (init_reg_sets_1): Initialize may_move_out_cost.
291         (record_reg_classes): Use may_move_out_cost.
292
293         * regclass.c (dump_regclass): New function.
294         (regclass): New parameter DUMP, call DUMP_REGCLASS.
295         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
296         pass rtl_dump_file to regclass.
297         * rtl.h (regclass): Update prototype.
298
299 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
300
301         * i386.md (neg, not and abs patterns): Revmap to use
302         ix86_expand_unary_operator and ix86_unary_operator_ok.
303         (add?f and sub?f expanders): Force operand 1 to register.
304         * i386.c (ix86_expand_unary_operator): Rewrite.
305         (ix86_unary_operator_ok): Ensure that memory operands
306         match real opcode.
307         (ix86_binary_operator_ok): Do not allow operand 1 to
308         come into memory and operand 0 not.
309         (ix86_expand_binary_operator): Ensure that
310         src1 is not non-matching memory.
311
312         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
313         to support integer registers and memory.
314         (abss?2_integer): Likewise.
315
316         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
317         (REG_CLASS_NAMES): Likewise.
318         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
319         and GENERAL_REGS.
320         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
321         (movsf): Likewise; unify 4th and 5th alternative.
322         (pushdf): Likewise.
323         (movdf_1): Likewise; rename to movdf_integer.
324         (pushxf): Likewise; rename to pushxf_integer; fix output template;
325         remove redundant splitter.
326         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
327         (movdf_nointeger): New.
328         (movxf_nointeger): New.
329         (pushxf_nointeger): New.
330
331         * i386.md (extend?f?f): Split to expander and pattern, refuse two
332         memory operands in patterns.
333         (fop*): Refuse two memory operands.
334
335         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
336         on !TARGET_USE_CLTD CPUs.
337
338 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
339
340         * extend.texi: Document C++ restricted pointers and references. 
341
342 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
343
344         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
345         (invalidate_skipped_set): Call it unconditionally.
346         (cse_set_around_loop): Likewise.
347
348 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
349
350         * rtl.texi (mem): Add documentation for alias-set argument 
351         to RTX `mem'.
352
353 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
354
355         * i386.h (struct_processor_costs): New fileds int_load, int_store,
356         fp_move, fp_load and fp_store
357         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
358         fp->int moves
359         (MEMORY_MOVE_COST): New macro.
360         * i386.c (386_cost): Define new fields.
361         (i486_cost): Likewise.
362         (pentium_cost): Likewise.
363         (pentiumpro_cost): Likewise.
364         (k6_cost): Likewise.
365
366 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
367                           Geoffrey Keating  <geoffk@cygnus.com>
368
369         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
370
371         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
372         MASK_ALIGN_INT.
373         
374         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
375         (TARGET_STRICT_ALIGNMENT): New macro.
376         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
377         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
378         * invoke.texi (M680x0 Options): Document -mstrict-align.
379
380 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
381                           Richard Henderson  <rth@cygnus.com>
382
383         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
384         (ix86_split_long_move): Declare.
385         * i386.c (split_xf, ix86_split_movdi): Remove.
386         (ix86_split_to_parts, ix86_split_long_move): New.
387         * i386.md (dimode move splitters): Use ix86_split_long_move.
388         (dfmode move splitters): Likewise.
389         (xfmode move splitters): Likewise.
390         (movsf_1): Allow F->r.
391         (movdf_1, movxf_1): Allow F->ro.
392
393 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
394
395         * except.h (struct eh_entry): Add goto_entry_p.
396         (eh_region_from_symbol): Remove prototype.
397         * except.c (find_func_region_from_symbol): New function.
398         (emit_cleanup_handler): Likewise.
399         (eh_region_from_symbol): Make it static.
400         (add_new_handler): Verify the argument.
401         (find_func_region): Update comment.
402         (expand_eh_region_end): Expand handlers here, rater than waiting
403         until expand_leftover_cleanups or start_all_catch.
404         (expand_leftover_cleanups): Don't expand here.
405         (expand_start_all_catch): Or here.
406         (expand_rethrow): Check the return value from find_func_region.
407         * function.c (expand_function_end): Emit the catch_clauses.
408         
409 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
410
411         * integrate.c (expand_inline_function): Add necessary check for NULL.
412
413 1999-11-18  Nick Clifton  <nickc@cygnus.com>
414
415         * toplev.c (main): Correctly detect an unrecognised option.
416
417         * cppinit.c (cpp_handle_option): Do not claim to have consumed
418         a -f option if it has not been recognised.
419
420 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
421
422         * basic-block.h (update_life_extent): Remove trailing comma on
423         enumeration type list.
424
425 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
426
427         * varasm.c (output_constructor) Solved problem with long long
428         bitfields. Corrected calculating this_time and shift. Also
429         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
430
431 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
432
433         * flow.c (split_edge): Take looping structure into account when
434         determining where to put the new block note.
435
436 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
437
438         * Makefile.in (ggc-none.o): Provide host specific version if
439         needed.
440
441 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
442
443         * cse.c (delete_trivially_dead_insns): Identify no-op insns
444         containing subregs too.
445
446 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
447
448         * invoke.texi: Add documentation for -muninit-const-in-rodata.
449         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
450         (TARGET_UNINIT_CONST_IN_RODATA): Define.
451         (text_section): Add switches -munint-const-in-rodata and
452         -mno-uninit-const-in-rodata.
453         (ASM_OUTPUT_COMMON): Remove.
454         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
455         const objects should be placed in read-only data. Otherwise declare
456         them in common.
457
458 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
459
460         * jump.c (jump_optimize_1): Revert last change.
461
462 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
463
464         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
465         test if optimizing for size.
466
467 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
468
469         * Makefile.in (toplev.o): Depend on except.h.
470         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
471
472 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
473
474         * i386.md (divmodsi4): Rewrite to expander.
475         (*divmodsi4_nocltd): New.
476         (*divmodsi4_cltd): New.
477         (divmodsi4 splitter): Handle the case when input comes in edx.
478         (udivmodhi4): Do not use constraints in exander.
479         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
480
481 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
482
483         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
484         for the common case.
485
486 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
487
488         * explow.c (hard_function_value): Add outgoing argument.
489         * expr.h (hard_function_value): Declare it.
490         * calls.c (expand_call, emit_library_call_value): Update callers.
491         * function.c (aggregate_value_p): Ditto.
492         (diddle_return_value): Must look at the outgoing registers
493         on archs with register windows.
494
495 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
496
497         * alpha.c (alpha_build_va_list): Use make_lang_type and
498         initialize TYPE_NAME for the va_list record.
499
500         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
501
502         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
503         for printing.
504         * ggc.h (struct ggc_statistics): Rearrange elements for better
505         packing on 64-bit hosts.
506         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
507         (compute_nearerout): Likewise.
508
509 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
510
511         * config/rs6000/rs6000.c (first_reg_to_save): Save
512         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
513
514 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
515
516         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
517         notion of nesting to find the DIE for a type or function.
518         DIEs can go in limbo even if we got a context_die.
519         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
520         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
521         for local type.
522         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
523         (gen_type_die): Writing out the context doesn't cause member class
524         template instantiations to be written out as well.
525
526 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
527
528         * rs6000.h (ASM_OUTPUT_DEF): New.
529         Based on proposed addition from David Edelsohn.
530
531 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
532             Bruce Korb  <autogen@linuxbox.com>
533
534         * fixinc/inclhack.def
535         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
536         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
537                 in net/inet.h.
538         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
539         (svr4_endian): enabled with SVR5
540         (svr4_mkdev): simplified syntax and enabled with SVR5
541
542 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
543
544         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
545         * configure: Rebuilt.
546         * config/t-freebsd-thread: New file.
547
548 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
549
550         * i386.c (ix86_decompose_address): Verify the base is a REG
551         before trying to examine its register number.
552
553         * basic-block.h: Remove all #defines and prototypes related to
554         integer lists.
555         (free_bb_mem, compute_preds_succs): Remove prototype.
556         * rtl.h (free_bb_mem): Remove prototype.
557         * flow.c (alloc_int_list_node); Remove function.
558         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
559         (compute_preds_succs, free_bb_mem): Likewise.
560         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
561         * toplev.c (rest_of_compilation): Likewise.
562         * haifa-sched.c (build_control_flow): Use flow generated edge
563         list to build the haifa specific edge list.
564         (find_rgns): Use new CFG data structures instead of pred/succ lists.
565         (schedule_insns): Do not build pred/succ lists anymore.  Instead
566         build the edge table.
567
568         * basic-block.h (dump_bb_data): Remove declaration.
569         * flow.c (dump_bb_data): Remove function.
570         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
571         (sbitmap_union_of_predsucc): Likewise.
572
573         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
574         argument.  All callers changed.
575         (delete_null_pointer_checks_1): No longer need to compute the
576         pred/succ lists.
577
578         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
579         All callers changed.
580         (pre_expr_reaches_here_p_work): Likewise.
581         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
582         * lcm.c (compute_laterin): Fix initialization of LATER.
583         (compute_nearerout): Similarly for NEARER.
584
585 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
586
587         * cse.c (set_nonvarying_address_components): Delete unused function.
588         (refers_to_p): Likewise.
589
590 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
591
592         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
593         needed.
594
595 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
596
597         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
598         definition in do while (0).
599
600 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
601
602         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
603
604 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
605
606         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
607
608 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
609
610         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
611         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
612         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
613         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
614
615         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
616         saved on the stack.  Output more accurate stack frame statistics
617         into assembler file.
618
619 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
620
621         * genextract.c (record_insn_name): New function.
622         (get_insn_name): No longer a stub.
623         (main): Call record_insn_name for each insn.  After each label
624         written, print the insn name in a comment.
625
626 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
627
628         * output.h (const_section, init_section, fini_section): Add
629         prototypes.
630
631         * alpha/elf.h (const_section): Delete declaration.
632
633         * svr4.h (const_section): Likewise.
634
635 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
636
637         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
638         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
639         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
640         expressions.
641         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
642         variable-sized array bounds.
643         
644 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
645
646         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
647         ASM_OUTPUT_LABEL.
648
649 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
650
651         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
652         addresses the same way GO_IF_LEGITIMATE_INDEX does. 
653
654 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
655
656         * cse.c (hash_arg_in_struct): Delete.
657         (struct table_elt): Delete elt in_struct.
658         (struct set): Delete elt src_in_struct.
659         (merge_equiv_classes): Don't set either hash_arg_in_struct or
660         the corresponding in_struct elts.
661         (canon_hash): Likewise.
662         (safe_hash): Likewise.
663         (find_best_addr): Likewise.
664         (record_jump_cond): Likewise.
665         (cse_insn): Likewise.
666
667 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
668
669         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
670
671         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
672         unsigned types.
673
674 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
675
676         * function.c (diddle_return_value): Put back check that the DECL_RTL
677         for the function is a register.
678
679         * function.c (diddle_return_value): Use hard_function_value to
680         get an rtx suitable for use in the USE/CLOBBER insn.
681
682         * global.c (global_conflicts): Update comments.
683         (record_conflicts): No need to record conflicts between pseudos here.
684
685 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
686
687         * fixinc/fixincl.c: Added verbose levels for status messages
688
689 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
690
691         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
692         operand as argument to expand_and or expand_binop.
693
694 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
695
696         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
697         gcc_add_string_root.
698
699 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
700
701         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
702
703 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
704
705         * flow.c (compute_flow_dominators): Initially put all blocks on
706         the worklist.
707         * lcm.c (compute_antinout_edge, compute_available): Similarly.
708         * gcse.c (compute_cprop_avinout): Remove.
709         (compute_cprop_data): Use compute_available.
710         (delete_null_pointer_checks_1): Use compute_available.
711
712         * basic-block.h (compute_available): Returns a void now.
713         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
714         to return a value anymore.
715         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
716         worklists.  Fix boundary cases. Compute maximal solutions.
717         (compute_laterin, compute_nearerout): Similarly.
718
719         * dwarf2out.c (add_AT_location_description): Allow
720         (mem (plus (pseudo) (...)) too.
721
722 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
723
724         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
725
726 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
727                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
728
729         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
730
731         * gansidecl.h: Likewise.
732
733         * rtl.c: Likewise.
734
735         * rtl.h: Likewise.
736
737         * toplev.h: Likewise.
738
739         * tree.c: Likewise.
740
741         * tree.h: Likewise.
742
743         * varray.c: Likewise.
744
745         * varray.h: Likewise.
746
747 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
748
749         * gcov.c (struct arcdata): Add hits and total, remove prob.
750         (output_branch_counts): New.
751         (process_args): Set output_branch_counts if -c.
752         (calculate_branch_probs): Store hits and total instead of
753         percentage.
754         (output_data): Emit counts if output_branch_counts is true.
755         * gcov.texi (Invoking Gcov): Document -c switch..
756
757 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
758
759         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
760         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
761
762 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
763
764         * invoke.texi (C Dialect Options): Add missing builtins from
765         c-common.c to list.
766         * extend.texi (Other Builtins): Copy to this list.
767
768 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
769
770         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
771         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
772         redundant bitmap.h.
773
774 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
775
776         * flow.c (compute_flow_dominators): No longer treat basic block 0
777         or (n_basic_blocks - 1) specially.  Clear the AUX field before
778         starting computation of doms/pdoms.  Fix initial state for pdoms.
779
780 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
781
782         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
783         match rtl.o's: added ggc.h and toplev.h
784         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
785         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
786         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
787
788 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
789
790         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
791         from HAVE_DOS_BASED_FILESYSTEM.
792         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
793         HAVE_DOS_BASED_FILESYSTEM.
794         (main): Likewise.
795         (split_directories): Only special-case DOS file names if
796         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
797         instead of explicit tests.  Conditionalize on !VMS.
798         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
799         tests.  Conditionalize on !VMS.
800         (process_command): Only use make_relative_prefix if !VMS.
801         (free_split_directories): Conditionalize on !VMS.
802         (DIR_UP): Conditionalize on !VMS.
803
804 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
805
806         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
807
808 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
809
810         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
811         case.
812
813 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
814
815         * invoke.texi (Environment Variables): Document relative path
816         lookup.
817         * gcc.c (DIR_UP): If not defined, define as "..".
818         (standard_bindir_prefix): New static, holds target location to
819         install binaries.
820         (split_directories): New function to split a filename into
821         component directories.
822         (free_split_directories): New function, release memory allocated
823         by split_directories.
824         (make_relative_prefix): New function, make a relative pathname if
825         the compiler is not in the expected location.
826         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
827         can figure out an appropriate prefix from argv[0].
828         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
829         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
830         STANDARD_BINDIR_PREFIX.
831
832 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
833
834         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
835         in c4x.c.
836         * config/c4x/c4x.h: Moved prototypes to c4x.h.
837         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
838         c4x_secondary_memory_needed) Delete.
839         (fp_zero_operand): Add mode argument.
840
841 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
842
843         * reload1.c (reload_reg_free_for_value_p): Don't use a register
844         that is in reload_reg_used.
845
846 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
847
848         * config/arm/arm-protos.h: New file: Prototypes for functions
849         defined in arm.c and pe.c.
850         * config/arm/arm.h: Fix compile time warnings.
851         * config/arm/arm.c: Fix compile time warnings.
852         * config/arm/pe.h: Fix compile time warnings.
853         * config/arm/aout.h: Fix compile time warnings.
854
855 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
856
857         * config/m32r/m32r-protos.h: New file: Prototypes for functions
858         defined in m32r.c
859         
860         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
861         Add support for subtargets.
862         Add prototypes for new predicates.
863         Add scheduling macros.
864         
865         * config/m32r/m32r.c: Fix compile time warnings.
866         (int8_operand): New predicate function.
867         (reg_or_cmp_int16_operand): New predicate function.
868         (extend_operand): New predicate function.
869         (m32r_adjust_code): New scheduling function.
870         (m32r_adjust_priorty): New scheduling function.
871         (m32r_sched_init): New scheduling function.
872         (m32r_sched_reorder): New scheduling function.
873         (m32r_sched_variable_issue): New scheduling function.
874         (direct_return): New codegen function.
875         (m32r_not_same_reg): New rtl testsing function.
876         
877         * config/m32r/m32r.md: Fix compile time warnings.
878         Add support for pre decrement and post increment memory
879         references.
880         Add S<cc> patterns.
881         Add fabs patterns.
882         
883 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
884
885         * global.c (EXECUTE_IF_CONFLICT): Don't define.
886         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
887         (find_reg): Likewise.
888
889 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
890
891         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
892         to avoid assembler errors.
893
894 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
895
896         * config/v850/v850-protos.h: New file: Prototypes for functions
897         defined in v850.c
898         * config/v850/v850.h: Move prototypes to v850-protos.h
899         * config/v850/v850.c: Move prototypes to v850-protos.h
900         * config/v850/v850.md: Fix compile time warnings.
901
902         * config/fr30/fr30-protos.h: New file: Prototypes for functions
903         defined in fr30.c
904         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
905         * config/fr30/fr30.c: Fix compile time warnings.
906         * config/fr30/fr30.md: Fix compile time warnings.
907
908 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
909
910         * tree.h (get_containing_scope): Declare it.
911         * tree.c (get_containing_scope): New fucntion.
912         (decl_function_context): Use it.
913         * toplev.c (rest_of_compilation): Use get_containing_scope.
914
915 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
916
917         * Makefile.in (rtl.o): Depend on toplev.h.
918
919 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
920
921         * cse.c (delete_trivially_dead_insns): Replace alloca with
922         xmalloc/xcalloc.
923         * except.c (update_rethrow_references): Likewise.
924         (init_eh_nesting_info): Likewise.
925         * function.c (identify_blocks): Likewise.
926         * gcse.c (dump_hash_table): Likewise.
927         * graph.c (print_rtl_graph_with_bb): Likewise.
928         * loop.c (combine_movables): Likewise.
929         (move_movables): Likewise.
930         (count_loop_regs_set): Likewise.
931         (strength_reduce): Likewise.
932         * profile.c (compute_branch_probabilities): New function, split
933         out from ...
934         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
935         * regclass.c (regclass): Likewise.
936         * regmove.c (regmove_optimize): Likewise.
937         * toplev.c (compile_file): Likewise.
938         (main): Don't mess with the stack rlimit.
939         
940 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
941
942         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
943         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
944
945 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
946
947         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
948
949 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
950
951         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
952         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
953         macro expansion.
954
955 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
956
957         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
958
959 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
960
961         * gcse.c (post_dominators): Kill.
962         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
963         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
964         pass in a pdom array since we do not need pdoms.
965         * haifa-sched.c (schedule_insns): Similarly.
966         * flow.c (compute_dominators): Remove dead function.
967         (compute_flow_dominators): Do not compute doms or pdoms if the
968         caller does not request them.  Split up loop to build doms and
969         pdoms.  Use a worklist to compute doms and pdoms.
970         * basic-block.h (compute_dominators): Remove prototype.
971
972 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
973
974         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
975         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
976         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
977         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
978         (cant_move, fed_by_spec_load, is_load_insn): Remove.
979         (schedule_region): Remove unused variable.
980         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
981
982 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
983
984         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
985         (update_equiv_regs): Likewise.
986         (block_alloc): Likewise.
987         * reg-stack.c (reg_to_stack): Likewise.
988         (convert_regs_2): Likewise.
989         * reload1.c (reload_as_needed): Likewise.
990         
991 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
992
993         * Makefile.in (dbxout.o): Depend on ggc.h.
994         (dwarf2out.o): Likewise.
995         (xcoffout.o): Likewise.
996         * dbxout.c: Include ggc.h.
997         (dbxout_init): Register lastfile as a root.
998         * dwarf2out.c: Include ggc.h.
999         (dwarf2out_line): Register lastfile as a root.
1000         * xcoffout.c: Include ggc.h.
1001         (xcoffout_source_line): Register xcoff_lastfile as a root.
1002
1003 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
1004
1005         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
1006
1007 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
1008
1009         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
1010         defined.
1011         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
1012
1013 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1014
1015         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
1016         (EXECUTE_IF_CONFLICT): Likewise.
1017         (ALLOCNO_LIVE_P): Avoid signed division.
1018         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
1019         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
1020         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
1021
1022 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
1023
1024         * haifa-sched.c (schedule_block): Don't crash if there's no
1025         next insn for an interblock movement.
1026         (add_branch_dependences): Don't allow clobber insns to move either.
1027
1028 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
1029
1030         * i386.c (split_xf): New.
1031         * i386-protos.h: Declare it.
1032         * i386.md (movxf_1): Add general regs alternatives.
1033         (movxf_1+1): New splitter for same.
1034
1035 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
1036
1037         * function.c (purge_addressof_1): Add missing return values.
1038
1039 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
1040
1041         * function.c (is_addressof): New function.  Returns true if
1042         the given piece of RTL is an ADDRESSOF.
1043         (purge_addressof_1): Make boolean.  Return false if the
1044         ADDRESSOFs could not be purged.
1045         (purge_addressof): If ADDRESSOFs could not be purged from the
1046         notes attached to an insn, remove the offending note(s),
1047         unless they are attached to a libcall.
1048
1049 1999-11-05  Andreas Jaeger  <aj@suse.de>
1050
1051         * genoutput.c (null_operand =): Initialize all fields.
1052
1053         * errors.h: Add extern to prototypes.
1054
1055 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
1056
1057         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
1058         * configure: Rebuilt.
1059
1060 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1061
1062         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
1063         (mirror_conflicts): New function.
1064         (global_alloc): Call it.
1065         (expand_preferences): Remove redundant CONFLICTP test.
1066         (find_reg, dump_conflicts): Likewise.
1067         (prune_preferences): Process conflicts one word at a time.
1068
1069 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
1070
1071         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
1072         instead of an explicit loop.
1073
1074 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
1075
1076         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
1077         if REG_RETVAL check succeeds, then put classp in src_elt.
1078
1079 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
1080
1081         * function.c (pad_to_arg_alignment): Only update argument_pad
1082         if the argument's alignment is greater than STACK_BOUNDARY.
1083
1084 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
1085
1086         * bitmap.h (BITMAP_XFREE): New.
1087         * flow.c (life_analysis): Use it.
1088         (life_analysis_1): Free blocks.
1089
1090         * combine.c (undo_commit): New.
1091         (try_combine): Use it.  Don't zap undobuf.undos.
1092         (combine_instructions): Don't zap undobuf.undos; free the
1093         undobuf.frees list.
1094
1095         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
1096
1097         * stmt.c (cost_table_): New.
1098         (estimate_case_costs): Use it instead of xmalloc.
1099
1100         * toplev.c (compile_file): Reuse dumpname memory instead
1101         of strdup'ing it.
1102
1103 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
1104
1105         * reg-stack.c (convert_regs_1): Initialize target_stack->top
1106         after verifying an EH edge.
1107
1108         * haifa-sched.c (init_rgn_data_dependences): Correctly
1109         size bb_pending_lists_length when zeroing.
1110
1111 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
1112
1113         * function.c (diddle_return_value): New.
1114         (expand_function_end): Use it.
1115         * stmt.c (expand_null_return): Likewise.
1116         (expand_value_return): Likewise.
1117
1118         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
1119
1120         * reload1.c (reload): Don't remove return value clobbers.
1121
1122 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
1123
1124         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
1125
1126 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
1127
1128         * cse.c (cse_main): Use xmalloc, not alloca.
1129         (cse_basic_block): Likewise.
1130         * local-alloc.c (local_alloc): Likewise.
1131
1132 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
1133                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1134
1135         * rtl.c: Include toplev.h.
1136         (fatal): Remove declaration.
1137
1138 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
1139
1140         * haifa-sched.c (schedule_block): Fix thinko.
1141
1142 1999-11-03  James McKelvey <mckelvey@fafnir.com>
1143
1144         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
1145         S_IR* defined values
1146
1147 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
1148
1149         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
1150         call `malloc' instead.
1151
1152 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
1153
1154         * flags.h (flag_renumber_insns): Declare.
1155         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
1156         renumbering table.
1157         * rtl.h (renumber_insns): Change prototype.
1158         * toplev.c (flag_renumber_insns): Define.
1159         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
1160         
1161 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
1162
1163         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
1164         and fpsqrtd.  Use them and create fdiv function unit to more
1165         accurately represent fpu sqrt pipeline semantics on UltraSparc.
1166         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
1167
1168 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
1169
1170         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
1171         3 on UltraSparc.
1172         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
1173         insn into ready list, do not use just a raw swap.
1174
1175 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
1176
1177         * rtl.h (renumber_insns): New function.
1178         (remove_unnecessary_notes): Likewise.
1179         * emit-rtl.c (renumber_insns): Define.
1180         (remove_unncessary_notes): Likewise.
1181         * toplev.c (rest_of_compilation): Remove dead code.
1182         Use renumber_insns and remove_unncessary_notes.
1183
1184         * gcse.c (struct null_pointer_info): New type.
1185         (get_bitmap_width): New function.
1186         (current_block): Remove.
1187         (nonnull_local): Likewise.
1188         (nonnull_killed): Likewise.
1189         (invalidate_nonnull_info): Take a null_pointer_info as input.
1190         (delete_null_pointer_checks_1): New function.
1191         (delete_null_pointer_checks): Use it.
1192
1193         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
1194         (split_edges): Likewise.
1195         (schedule_block): Likewise.
1196         (compute_block_backward_dependencies): Likewise.
1197         (schedule_region): Likewise.
1198         (schedule_insns): Likewise.
1199         
1200 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
1201
1202         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
1203         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
1204         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
1205         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
1206         * jump.c (delete_unreferenced_labels): Don't delete if
1207         LABEL_ALTERNATE_NAME is set.
1208         * print-rtl.c (print_rtx): Dump alternate name.
1209         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
1210         * rtl.h (LABEL_ALTERNATE_NAME): Define.
1211         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
1212         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
1213
1214 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1215
1216         * fix-header.c (recognized_extern, recognized_function): Constify
1217         a char*.
1218
1219         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
1220         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1221         (compute_available): Remove unused variable `last'.
1222         (compute_nearerout): Remove unused variable `temp_bitmap'.
1223         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1224         Remove unused variable `x'.
1225
1226         * scan.h (recognized_function, recognized_extern): Constify a
1227         char*.
1228
1229         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
1230
1231 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1232
1233          * varasm.c (decode_rtx_const): Use XSTR to access the string
1234          of a SYMBOL_REF.
1235
1236 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
1237
1238         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
1239
1240 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1241
1242         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
1243
1244 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
1245
1246         * pa.c (ireg_operand): New function.
1247         * pa.h (PREDICATE_CODES): Handle ireg_operand.
1248         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
1249         Fix out of date comment.
1250
1251         * pa.md (negdi2): Turn into expander + anonymous pattern.
1252
1253         * reload.c (find_reloads): Fix typos in recent change.
1254
1255         * dwarf2out.c: Do not include ctype.h.
1256
1257 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1258
1259         * regclass.c (record_reg_classes): Always use may_move_cost when
1260         seeing how operand fits with various register classes.
1261
1262 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
1263
1264         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
1265         * toplev.c: Revert Nov 1 13:22 change.
1266
1267 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
1268
1269         * config/pa/pa.md (height reduction patterns): Add checks for
1270         overlapping operands to avoid semantic-destroying splits for 
1271         height reduction patterns.
1272
1273 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1274
1275         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
1276         have been an hyphen, fixed.
1277         * configure: Rebuilt.
1278
1279 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
1280
1281         * config/arm/tpe.h: Add prototypes for exported functions.
1282         * config/arm/pe.c: Fix compile time warnings.
1283         * config/arm/semi.h: Fix compile time warnings.
1284         * config/arm/arm.c: Fix compile time warnings.
1285         * config/arm/arm.h: Fix compile time warnings.
1286         * config/arm/arm.md: Fix compile time warnings.
1287         * config/arm/thumb.c: Fix compile time warnings.
1288         * config/arm/thumb.h: Fix compile time warnings.
1289         * config/arm/thumb.md: Fix compile time warnings.
1290
1291 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
1292
1293         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
1294         detection code
1295
1296         * unroll.c (unroll_loop): Remove LOOP notes when loop is
1297         completely unrolled.
1298
1299 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1300
1301         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
1302
1303 Tue Nov  2 09:43:00 1999   Catherine Moore  <clm@cygnus.com>
1304
1305         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
1306         * rtl.h (rtx_equal_p): Move prototype.
1307         * rtl.c (rtx_equal_function_value_matters): Move from 
1308         rtlanal.c
1309         (rtx_equal_p): Likewise.
1310         * rtlanal.c (rtx_equal_function_value_matters): Delete.
1311         (rtx_equal_p): Likewise.
1312
1313 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
1314
1315         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
1316         ! HAS_INIT_SECTION.
1317
1318 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
1319
1320         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
1321
1322         * pa.h (ADDR_VEC_ALIGN): Define.
1323
1324         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
1325         notes when presented with "if (foo) break; end_of_loop" and
1326         the break sequence gets moved out of the loop.
1327
1328         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
1329         Remove explicit zero initializations of entries within MAP.
1330
1331 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
1332
1333         * reg-stack.c (convert_regs_1): Handle EH edges specially.
1334
1335 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
1336
1337         * bitmap.h (BITMAP_XMALLOC): New macro.
1338         * flow.c (CLEAN_ALLOCA): Remove.
1339         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
1340         (life_analysis): Likewise.
1341         (update_life_info): Don't use CLEAN_ALLOCA.
1342         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
1343         (calculate_global_regs_live): Likewise.
1344         (print_rtl_with_bb): Likewise.
1345         (verify_flow_info): Likewise.
1346         * global.c (global_alloc): Likewise.
1347         (global_conflicts): Likewise.
1348         * integrate.c (save_for_inline_nocopy): Likewise.
1349         (expand_inline_function): Likewise.
1350         * jump.c (jump_optimize_1): Likewise.
1351         (duplicate_loop_exit_test): Likewise.
1352         (thread_jumps): Likewise.
1353         * loop.c (loop_optimize): Likewise.
1354         (combine_givs): Likewise.
1355         (recombine_givs): Likewise.
1356         * reorg.c (dbr_schedule): Likewise.
1357         * unroll.c (unroll_loop): Likewise.
1358         
1359         * combine.c (combine_instructions): Use xmalloc instead of alloca.
1360
1361 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
1362
1363         * toplev.c (rest_of_compilation): Don't optimize the CFG
1364         when rebuilding, just before dbr.
1365
1366 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1367
1368         * output.h (assemble_end_function, assemble_destructor,
1369         assemble_constructor, assemble_gc_entry, assemble_global,
1370         assemble_label, output_constant_pool) Constify a char*.
1371
1372         * varasm.c (assemble_destructor, assemble_constructor,
1373         assemble_gc_entry, assemble_end_function, assemble_global,
1374         assemble_label, output_constant_pool): Likewise.
1375
1376 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
1377
1378         * config/arm/thumb.c (thumb_expand_prologue): Add comments
1379         explaining what is goin on in this function.
1380
1381 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1382
1383         * regclass.c (record_reg_classes): In matching case, recompute
1384         costs since the direction of movement is different.
1385
1386 Sun Oct 31 21:59:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
1387
1388         * resource.c (mark_target_live_regs): For unconditional branches,
1389         the resources found at the branch target should be added to the
1390         resources found so far, not intersected.
1391
1392 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
1393
1394         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
1395         old cpp's.
1396         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
1397         (sys/mman.h): Include this file only if #HAVE_MMAP.
1398         (run_compiles): Initialize `esac_fmt' with one old KR string, not
1399         with automatically concatenated ANSI strings.
1400
1401 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
1402
1403         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
1404         (DIV_ROUND_UP): Robustify.
1405         (ggc_recalculate_in_use_p): New function.
1406         (release_pages): Don't inline it.
1407         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
1408         outer contexts.
1409         (ggc_pop_context): Use ggc_recalculate_in_use_p.
1410         (clear_marks): Always save in_use_p.
1411         (sweep_pages): Use ggc_recalculate_in_use_p.
1412         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
1413         Release pages before counting statistics.
1414         
1415 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
1416
1417         * toplev.c (rest_of_compilation): Fix thinko in this change:
1418         
1419         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
1420
1421         (rest_of_compilation): If inside an inlined external function,
1422         pretend we are just being declared.
1423
1424 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
1425
1426         * flow.c (calculate_global_regs_live): Fix thinko.
1427
1428         * integrate.c (expand_inline_function): Fix bugs in previous
1429         change from Oct 28, 1999.
1430
1431 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
1432
1433         * stmt.c (expand_value_return): Fix typo in this change:
1434
1435         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1436         (expand_value_return): Correctly convert VAL when promoting function
1437         return; support RETURN_REG being a PARALLEL.
1438         
1439 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
1440
1441         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
1442
1443 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1444
1445         * hard-reg-set.h (reg_names): Constify a char*.
1446
1447         * regclass.c  (reg_names): Likewise.
1448
1449         * regs.h (reg_names): Likewise
1450
1451         * a29k/a29k.c (reg_names): Delete declaration.
1452
1453         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
1454
1455         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
1456         arc_output_function_epilogue): Likewise.
1457
1458         * elxsi/elxsi.c (reg_names): Likewise.
1459
1460         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
1461         
1462         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
1463         Likewise.
1464
1465         * m88k/m88k.c (output_function_profiler): Likewise.
1466
1467         * sparc/sparc.c (sparc_flat_output_function_prologue,
1468         sparc_flat_output_function_epilogue): Likewise.
1469
1470 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
1471
1472         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
1473         warning from -Wuninitialized and put it under -W.
1474         * function.c (uninitialized_vars_warning): Warn only when the
1475         corresponding flag is set.
1476
1477 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
1478
1479         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
1480         is nonzero and the single set does not have an elt, then assign
1481         it an elt.
1482
1483         * simplify-rtx.c: New file.
1484         * Makefile.in (OBJS): Add simplify-rtx.o
1485         (simplify-rtx.o): Add dependencies.
1486         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
1487         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
1488         (cse_gen_binary, simplify_unary_operation): Delete.
1489         (simplify_binary_operation, simplify_plus_minus): Likewise.
1490         (check_fold_consts, simplify_relation_operation): Likewise.
1491         (simplify_ternary_operation): Likewise.
1492         (delete_trivially_dead_insns): Simplify the contents of the
1493         REG_EQUAL note before trying to substitute it into the source
1494         of the reg-reg copy at the end of a libcall sequence.
1495
1496         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
1497         references/callers changed.
1498
1499         * mn10200.c (mn10200_va_arg): Force the return value into a
1500         register.
1501
1502         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
1503
1504         * cccp.c (macroexpand): Avoid out of range accesses for omitted
1505         arguments.
1506
1507 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
1508
1509         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
1510
1511 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
1512
1513         * fold-const.c (fold): Fix thinko when optimizing comparisons
1514         against -0.0.
1515
1516 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
1517
1518         * gcc.texi (Passes): Update front-end files to their current 
1519         location.
1520
1521 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
1522
1523         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
1524         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
1525         (PREDICATE_CODES): Add addition_operation.
1526         * alpha-protos.h (addition_operation): Declare.
1527         (secondary_reload_class): Likewise.
1528         * alpha.c (addition_operation): New.
1529         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
1530         * alpha.md (adddi3): Turn into expander.
1531         (*lda, *adddi_2): New.
1532         (movsf, movdf patterns): Don't preference integer regs.
1533         (movsi, movdi patterns): Don't preference fp regs.
1534
1535 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
1536
1537         * genrecog.c (write_switch): Check for duplicate CODE cases.
1538
1539 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
1540
1541         * ggc-common.c: Update pre-function commentary.
1542         * ggc-page.c: Likewise.
1543         (poison): Remove.
1544         (poison_pages): Use memset directly.
1545         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
1546         (ggc_collect): Poison before sweeping.
1547         * ggc-simple.c: Update pre-function commentary.
1548         (ggc_alloc_obj): Poison non-zeroed memory.
1549
1550 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
1551
1552         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
1553         match format string, even on 64-bit hosts.
1554         * gcc-page.c (ggc_page_print_statistics): Likewise.
1555
1556 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
1557
1558         * config/i386/i386.c (ix86_cpu): Revert last patch.
1559         * config/i386/i386.h (ix86_cpu): Ditto.
1560
1561 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
1562
1563         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
1564         TYPE_SIZE, convert type of result to sizetype.
1565
1566 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
1567
1568         * flow.c (count_or_remove_death_notes): Equate NULL with the
1569         universal set.
1570
1571         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
1572         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
1573         dbr_schedule.
1574
1575         * i386.c (pic_label_no): Delete.
1576         (ix86_attr_length_default): Don't use single_set to peek
1577         inside a parallel.
1578
1579         * recog.c (peephole2_optimize): Allow recog_next_insn to index
1580         the first insn after bb->end.
1581         * i386.md (push mem peeps): Scratch is live after evaluation
1582         of the memory.
1583         (cmp mem peep): Similarly.
1584
1585 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
1586
1587         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
1588         * function.c (pad_to_arg_alignment): Add missing braces.
1589
1590 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1591
1592         * alpha/alpha-protos.h (literal_section): Add prototype.
1593         (alpha_need_linkage, alpha_start_function,alpha_end_function):
1594         Constify a char*.
1595
1596         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
1597         prototype.
1598         (alpha_start_function, alpha_end_function, float_strings,
1599         alpha_need_linkage): Constify a char*
1600
1601         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
1602
1603         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
1604
1605         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1606
1607         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1608
1609 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1610
1611         * flow.c (debug_flow_info): Add prototype.
1612
1613         * gcc.c (main): Likewise.
1614
1615         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
1616         Likewise.
1617
1618         * reload1.c (failed_reload, set_reload_reg): Likewise.
1619         
1620         * mips-tfile.c (main): Likewise.
1621         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
1622         with ATTRIBUTE_NORETURN.
1623
1624 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
1625
1626        * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
1627        DECL is not a memory ref.
1628  
1629 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
1630
1631         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
1632         * config/i386/i386.c (ix86_cpu): Add extern attribute.
1633
1634 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
1635
1636         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
1637         * config/mips/elf64.h: ditto.
1638
1639 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
1640
1641         * expr.c (emit_push_insn): New argument alignment_pad.
1642         Update all callers.  Adjust stack pointer based on alignment pad.
1643         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
1644         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
1645         (locate_and_pad_parm): New argument alignment_pad.  Update all
1646         callers.
1647         * expr.h (emit_push_insn): Update prototype.
1648         (locate_and_pad_parm): Update prototype.
1649         * calls.c (arg_data):  Add new field alignment_pad.
1650         (initialize_argument_information): Initialize alignment_pad.
1651
1652 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
1653
1654         * except.c (free_eh_nesting_info): Free the info itself.
1655         * function.c (free_after_compilation): Don't free NULL.
1656         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
1657         (pre_edge_insert): Free inserted.
1658         * stmt.c (free_stmt_status): Don't free NULL.
1659
1660 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
1661
1662         * gcov.c (DIR_SEPARATOR): Provide default.
1663         (output_data): Add test for MS-DOS format absolute filename.
1664         (fancy_abort): Correct program name.
1665         (open_files): Open all files in binary mode.
1666         * libgcc2.c (__bb_exit_func): Likewise.
1667
1668         * profile.c (init_branch_prob): Specify binary when opening files.
1669
1670         * flags.h (flag_unwind_tables): New decl.
1671         * toplev.c (flag_unwind_table): New definition.
1672         (f_options): Add -funwind-tables.
1673         (decode_g_option): Clarify warning when unknown -g option is given.
1674         (rest_of_compilation): If inside an inlined external function,
1675         pretend we are just being declared.
1676
1677         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
1678         (dwarf2out_frame_finish): Likewise.
1679
1680 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
1681
1682         * fold-const.c (merge_ranges): In not in0, but in1, handle
1683         upper bounds equal like subset case.
1684
1685 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
1686
1687         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
1688         passed in a register but moved to the stack.
1689
1690 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
1691
1692         * gcc.c (pass_exit_codes, greatest_status): New variables.
1693         (struct option_map): Add entry for "--pass-exit-codes".
1694         (execute): Update greatest_status if error.
1695         (display_help): Add documentation for -pass-exit-codes.
1696         (process_command): Handle -pass-exit-codes.
1697         (main): Look at pass_exit_codes and greatest_status on call to exit.
1698
1699 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1700
1701         * reload.c (find_reloads): Refine test for no input reload
1702         case to not includes reloads emitted after insn.
1703
1704         * function.c (find_temp_slots_from_address): Handle sum involving
1705         a register that points to a temp slot.
1706         (update_temp_slot_address): Make recursive call if both old and
1707         new are PLUS with a common operand.
1708         * calls.c (expand_call): Mark temp slot for result as having
1709         address taken.
1710         
1711         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
1712
1713         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
1714         component as well as "BINUTILS".
1715
1716         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
1717         * integrate.c (copy_rtx_and_substitute): Likewise.
1718         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
1719         All callers changed.
1720         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
1721         
1722         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
1723         gdb extensions, write size of type; also be more consistent
1724         in using references when this is a subtype.
1725
1726         * pa.md (extv, extzv, insv): Use define_expand to reject constant
1727         that is out of range.
1728
1729         * loop.c (unknown_constant_address_altered): New variable.
1730         (prescan_loop): Initialize it.
1731         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
1732         (invariant_p, case MEM): Remove handling for volatile and readony;
1733         check new variable if readonly.
1734         (check_dbra_loop): Chdeck unknown_constant_address_altered.
1735
1736         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
1737         (addr_affects_sp_p): Removed from note_mem_written and only
1738         define #ifdef AUTO_INC_DEC.
1739
1740         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
1741
1742         * regclass.c (record_reg_classes): Properly handle register move
1743         directions.
1744
1745         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
1746         Don't think valid if both operands are invalid.
1747         (struct constant_descriptor): New field RTL.
1748         (mark_const_hash_entry): Mark it.
1749         (record_constant{,_rtx}): Initialize it.
1750         (output_constant_def): Allocate RTL in permanent obstack and
1751         save in table.
1752         ({record,compare}_constant_1): Modes must match for
1753         CONSTRUCTOR of ARRAY_TYPE.
1754
1755         * c-common.h (initializer_constant_valid_p): Delete decl from here.
1756         * output.h (initializer_constant_valid_p): Move decl to here.
1757         * c-common.c (initializer_constant_valid_p): Delete function from here.
1758         * varasm.c (initializer_constant_valid_p): Move function to here.
1759
1760         * tree.h (STRIP_SIGN_NOPS): New macro.
1761         * fold-const.c (optimize_minmax_comparison): New function.
1762         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
1763         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
1764         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
1765         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
1766         widening conversions.
1767         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
1768         to look at size of mode, not precision of type; also add missing cases.
1769         (optimize_bit_field_compare, decode_field_reference): Don't try to
1770         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
1771
1772         * dwarf2out.c (ctype.h): Include.
1773         (dwarf2out_set_demangle_name_func): New function.
1774         (size_of_line_info): Deleted.
1775         (output_line_info): Compute size of line info table from difference
1776         of labels.
1777         (base_type_die, add_name_attribute): Call demangle function, if any.
1778         (field_byte_offset): Use bits per word for variable length fields.
1779         (gen_array_type_die): Add array name.
1780         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
1781         (dwarf2out_add_library_unit_info): New function.
1782
1783         * explow.c (set_stack_check_libfunc): New function.
1784         (stack_check_libfunc): New static variable.
1785         (probe_stack_range): Allow front-end to set up a libfunc to call.
1786
1787         * combine.c (simplify_comparison): When making comparison in wider
1788         mode, check for having commuted an AND and a SUBREG.
1789         (contains_muldiv): New function.
1790         (try_combine): Call it when dividing a PARALLEL.
1791         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
1792         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
1793         a PLUS.
1794         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
1795         use one of the CLOBBERs instead.
1796         (if_then_else_cond): If comparing against zero, just return thing
1797         being compared.
1798
1799         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
1800         Don't generate shifts and subtract if have conditional arithmetic.
1801
1802         * rtl.h (delete_barrier): New declaration.
1803         * jump.c (jump_optimize): Set up to handle conditional call.
1804         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
1805         (delete_barrier): New function.
1806
1807         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
1808
1809         * recog.c (nonmemory_operand): Accept ADDRESSOF.
1810
1811         * tree.c (build_type_attribute_variant): Push to obstack of
1812         ttype around type_hash_canon call.
1813
1814         * expr.c (placeholder_list): Move decl to file scope.
1815         (expand_expr): Don't force access to volatile just because its
1816         address is taken.
1817         If ignoring reference operations, just expand the operands.
1818         (expand_expr, case COMPONENT_REF): Propagate
1819         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
1820         Refine test for using bitfield operations vs pointer punning.
1821         (expand_expr, case CONVERT_EXPR): If converting to
1822         BLKmode UNION_TYPE from BLKmode, just return inner object.
1823         Use proper mode in store_field call.
1824         Properly set sizes of object to store and total size in store_field
1825         call for convert to union.
1826         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
1827         memory (like for ADDR_EXPR).  Also, don't put constant in register if
1828         we'll want it in memory.
1829         (readonly_fields_p): New function.
1830         (expand_expr, case INDIRECT_REF): Call it if LHS.
1831         (expand_assignment): Handle a RESULT_DECL where
1832         DECL_RTL is a PARALLEL.
1833         (do_jump, case WITH_RECORD_EXPR): New case.
1834         (get_inner_reference): Always go inside a CONVERT_EXPR
1835         and NOP_EXPR if both modes are the same.
1836         (store_field): Use bitfield operations if size of bitsize is not same
1837         as size of RHS's type.
1838         Check for bitpos not a multiple of alignment in BLKmode case.
1839         Do block move in largest possible alignment.
1840         (store_constructor): Set BITSIZE to -1 for variable size and properly
1841         in case of array of BLKmode.
1842         (expand_expr_unaligned): New function.
1843         (do_compare_and_jump): Call it.
1844
1845         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
1846         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
1847         does not include 'o'.
1848
1849         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
1850         both SET_DEST and SET_SRC reference a virtual register.
1851         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
1852
1853         * integrate.c (expand_inline_function): Handle case of setting
1854         virtual stack vars register (from built in setjmp); when parameter
1855         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
1856         (subst_constant): Add new parm, MEMONLY.
1857         (expand_inline_function, integrate_parm_decls): Pass new parm.
1858         (integrate_decl_tree): Likewise.
1859         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
1860         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
1861         (copy_rtx_and_substitute, case SET): Add explicit calls to
1862         copy_rtx_and_substitute for both sides.
1863
1864         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
1865         constraints.
1866         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
1867         within INDEX_TYPE, instead of before.
1868         (fixup_gotos): Use f->target_rtl, not the next insn,
1869         since latter may be from a later fixup.
1870         (expand_value_return): Correctly convert VAL when promoting function
1871         return; support RETURN_REG being a PARALLEL.
1872         (expand_return): When checking for result in regs and having
1873         cleanup, consider PARALLEL in DECL_RTL as being in regs.
1874
1875 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
1876
1877         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
1878         last_nominal_fname): Mark const.
1879         (struct include_hash: name, nshort, control_macro): Mark
1880         const.
1881         (struct macrodef: symnam): Mark const.
1882         (struct if_stack: fname): Mark const.
1883         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
1884         (IStable): New character-syntax array which encompasses all
1885         the old is_foo arrays.
1886         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
1887         is_space): New macros for interrogating IStable.
1888         (check_macro_name): Kill last argument.  All callers changed.
1889
1890         * cppinit.c (initialize_char_syntax): Delete.
1891         (is_idchar, is_idstart, is_hor_space, is_space,
1892         trigraph_table): Delete.
1893         (IStable): New.  Initialize with clever macros to avoid
1894         information duplication.
1895         (builtin_array): Table of builtins to get rid of explicit list
1896         in initialize_builtins.
1897         (initialize_builtins): Use builtins_array.
1898         (cpp_start_read): Call init_IStable, and set IStable['$'] if
1899         opts->dollars_in_ident.
1900
1901         * cppexp.c: Change all refs to is_xyz[] arrays to use new
1902         is_xyz() macros.
1903         (cpp_parse_expr): Avoid 'format string is not constant'
1904         warning. Use ISGRAPH to identify printable chars.
1905         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
1906         is_xyz() macros.
1907         (read_and_prescan): Map trigraphs to chars with open-coded
1908         if-else-if-... sequence, not a lookup table.
1909         * cpphash.c: Change all refs to is_xyz[] arrays to use new
1910         is_xyz() macros.
1911         * cpplib.c: Change all refs to is_xyz[] arrays to use new
1912         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
1913         (check_macro_name): Remove ability to report an invalid
1914         assertion name, which is never used.
1915         (do_line): Constify a couple of char *'s.
1916         * cppmain.c (main): Call cpp_cleanup before returning.
1917
1918 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
1919
1920         * ggc.h (struct ggc_statistics): New type.
1921         (ggc_get_size): New function.
1922         (ggc_print_statistics): Likewise.
1923         * ggc-common.c (ggc_stats): New variable.
1924         (ggc_mark_rtx_children): Keep statistics.
1925         (ggc_mark_tree_children): Likewise.
1926         (ggc_print_statistics): New function.
1927         * ggc-page.c (struct globals): Add bytes_mapped field.
1928         (alloc_anon): Update it.
1929         (release_pages): Likewise.
1930         (ggc_get_size): New function.
1931         (ggc_page_print_statistics): New function.
1932         * ggc-simple.c (ggc_get_size): New function.
1933         
1934 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
1935
1936         * flow.c (propagate_block): When the last reference to a label
1937         before an ADDR_VEC is deleted because the reference is a dead
1938         store, delete the ADDR_VEC.
1939
1940 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
1941
1942         * resource.c (find_free_register): Don't use the frame pointer
1943         if frame_pointer_needed.
1944
1945 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
1946
1947         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
1948         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
1949
1950         * config/i960/i960.c (i960_va_start): New locals base, num.
1951         Use INDIRECT_REF instead of ARRAY_REF on valist.
1952         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
1953
1954 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
1955
1956         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
1957
1958 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
1959
1960         * tree.def (PLACEHOLDER_EXPR): Update comments.
1961
1962 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1963
1964         * c-common.c (check_format_info): Avoid non-literal format string
1965         warnings when `first_arg_num' is zero.
1966
1967 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1968
1969         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
1970
1971 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
1972
1973         * arm.md (casesi_insn): Add a clobber of the condition code
1974         register.
1975
1976 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
1977
1978         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
1979         used by both cc1 and cc1plus.
1980         
1981 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
1982
1983         * config/arm/arm.c: Initialise arm_structure_size_boundary to
1984         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
1985         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
1986         to the value 32 if it has not already been defined.
1987         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
1988         Override definition in arm.h with a value of 8.
1989
1990 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
1991
1992         * c-pragma.c (push_alignment): Don't check the return value
1993         of xmalloc.
1994
1995 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
1996
1997         * sparc.h (ADJUST_COST): Fix thinko.
1998
1999 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
2000
2001         * cccp.c (rescan): Fixed obp pointer handling around call to
2002         check_expand subroutine.
2003
2004 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
2005
2006         * gcse.c (delete_null_pointer_checks): Only record non-null info
2007         for pseudos when examining stores.
2008
2009         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
2010         splitters for these patterns.  Use "#" for output templates.
2011         (addsi3_carryin_shift): New pattern.
2012
2013 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
2014
2015         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
2016         of the function return register into a plain REG until
2017         after function inlining is done.
2018
2019 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
2020
2021         * jump.c (jump_optimize_1): If we did cross-jumping, and
2022         the data will matter, rebuild the CFG.
2023         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
2024         not optimizing.  Don't run shorten_branches.
2025         * toplev.c (rest_of_compilation): Run shorten_branches after
2026         reg_to_stack.
2027
2028 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
2029
2030         * rtl.h (note_stores): Add additional paramter.
2031         * rtlanal.c (reg_set_p_1): Take additional paramter.
2032         (reg_set_last_1): Likewise.
2033         (reg_set_p): Adjust call to note_stores.
2034         (reg_set_last): Likewise.
2035         (note_stores): Pass data parameter to worker function.
2036         * alias.c (record_set): Take additional parameter.
2037         (init_alias_analysis): Pass it.
2038         * caller-save.c (mark_set_regs): Take additional parameter.
2039         (save_call_clobbered_regs): Pass NULL to note_stores.
2040         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
2041         parameter.
2042         (record_dead_and_set_regs_1): Likewise.
2043         (reg_dead_at_p_1): Likewise.
2044         (combine_instructions): Adjust calls to note_stores.
2045         (try_combine): Likewise.
2046         (record_dead_insn): Remove.
2047         (record_dead_and_set_regs): Adjust calls to note_stores.
2048         (reg_dead_at_p): Likewise.
2049         * cse.c (invalidate_skipped_set): Take additional parameter.
2050         (cse_check_loop_start): Likewise.
2051         (cse_check_loop_start_value): Remove.
2052         (cse_set_around_loop): Adjust calls to note_stores.
2053         * flow.c (notice_stack_pointer_modification): Take additional
2054         parameter.  Remove duplicate declaration.
2055         (record_volatile_insns): Adjust calls to note_stores.
2056         * gcse.c (record_set_info): Take additional parameter.
2057         (record_last_set_info): Likewise.
2058         (invalidate_nonnull_info): Likewise.
2059         (record_set_insn): Remove.
2060         (compute_sets): Adjust calls to note_stores.
2061         (last_set_insn): Remove.
2062         (compute_hash_table): Adjust calls to note_stores.
2063         (insert_insn_end_bb): Likewise.
2064         (delete_null_pointer_checks): Likewise.
2065         * global.c (mark_reg_store): Take additional parameter.
2066         (mark_reg_clobber): Likewise.
2067         (reg_becomes_live): Likewise.
2068         (global_conflicts): Adjust calls to note_stores.
2069         (build_insn_chain): Likewise.
2070         * integrate.c (note_modified_parmregs): Take additional parameter.
2071         (mark_stores): Likewise.  Make it static.
2072         (save_for_inline_nocopy): Adjust calls to note_stores.
2073         (try_constants): Likewise.
2074         * integrate.h (mark_stores): Remove declaration.
2075         * jump.c (mark_modified_reg): Take additional parameter.
2076         (thread_jumps): Adjust calls to note_stores.
2077         * local-alloc.c (validate_equiv_mem_from_store): Take additional
2078         parameter.
2079         (no_equiv): Likewise.
2080         (reg_is_set): Likewise.
2081         (validate_equiv_mem): Adjust calls to note_stores.
2082         (update_equiv_regs): Likewise.
2083         (block_alloc): Likewise.
2084         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
2085         (note_addr_stored): Take additional parameter.
2086         (note_set_pseudo_multiple_uses): Likewise.
2087         (record_initial): Likewise.
2088         (prescan_loop): Adjust calls to note_stores.
2089         (strength_reduce): Likewise.
2090         (check_dbra_loop): Likewise.
2091         * regmove.c (flags_set_1): Take additional paramter.
2092         (mark_flags_life_zones): Adjust calls to note_stores.
2093         * reload1.c (mark_not_eliminable): Take additional parameter.
2094         (forget_old_reloads_1): Likewise.
2095         (reload_cse_invalidate_rtx): Likewise.
2096         (reload_cse_check_clobber): Likewise.
2097         (reload_combine_note_store): Likewise.
2098         (move2add_note_store): Likewise.
2099         (reload): Adjust calls to note_stores.
2100         (reload_as_needed): Likewise.
2101         (emit_reload_insns): Likewise.
2102         (reload_cse_regs_1): Likewise.
2103         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
2104         (reload_combine): Adjust calls to note_stores.
2105         * resource.c (update_live_status): Take additional paramter.
2106         (mark_target_live_regs): Adjust calls to note_stores.
2107         * stupid.c (find_clobbered_regs): Take additional parameter.
2108         (stupid_life_analysis): Adjust calls to note_stores.
2109         
2110 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
2111
2112         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
2113         definition. 
2114
2115         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
2116         definition.
2117
2118         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
2119         of the variable arm_structure_size_boundary.
2120
2121 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
2122
2123         * alias.c (init_alias_analysis): Allocate reg_known_value and
2124         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
2125         and reg_seen.
2126         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
2127         * cse.c (cse_main): Call end_alias_analysis.
2128         * haifa-sched.c (schedule_insns): Likewise.
2129         * local-alloc. (update_equiv_regs): Likewise.
2130         * reload1.c (reload_cse_regs): Likewise.
2131         
2132 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2133
2134         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
2135         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
2136         mapping from MASK_FPU.
2137
2138 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
2139
2140         * sparc.md (call): Don't bound structure return size to 0xfff.
2141
2142 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
2143
2144         * resource.c (mark_target_live_regs): Check that the target
2145         insn wasn't created after compute_bb_for_insn.
2146
2147 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
2148
2149         * ggc-page.c (poison_pages): Don't be overzealous.
2150
2151 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
2152
2153         * alias.c: Update comments for ADDRESS.
2154         (nonlocal_reference_p): Look inside the ADDRESS to determine if
2155         it is a local memory reference.
2156
2157         * c-typeck.c (build_function_call): Check that the built-in
2158         function is of class BUILT_IN_NORMAL before trying to recongize
2159         it as BUILT_IN_ABS.
2160         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
2161         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
2162
2163 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
2164
2165         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
2166         of alloca.
2167         (pre_gcse): Likewise.
2168         (hoist_expr_reaches_here_p): Likewise.
2169         (hoist_code): Likewise.
2170         (pre_expr_reaches_here_p): Replace alloca with xcalloc.   Move core
2171         code to ...
2172         (pre_expr_reaches_here_p_work): ... here.
2173         (expr_reaches_here_p): Replace alloca with xcalloc.   Move core 
2174         code to ...
2175         (expr_reaches_here_p_work): ... here.
2176
2177 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
2178
2179         * resource.c (find_basic_block): Delete.
2180         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
2181         (init_resource_info): Call compute_bb_for_insn.
2182
2183 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
2184
2185         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
2186         with already adjacent blocks, but no fallthru.
2187         (merge_blocks_move_successor_nojumps): Simplify.
2188         (debug_flow_info): New.
2189
2190         * toplev.c (rest_of_compilation): Open jump1 dump file before
2191         jump and close after, as opposed to just using dump_rtl.
2192
2193 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2194
2195         * reload.h (earlyclobber_operand_p): Declare.
2196         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
2197         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
2198         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
2199         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
2200
2201 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
2202                           Richard Henderson  <rth@cygnus.com>
2203
2204         * emit-rtl.c (emit_block_insn_before): New.
2205         (emit_block_insn_after): New.
2206         * basic-block.h: Declare them.
2207
2208         * bitmap.h: Protect from multiple inclusion.
2209
2210         * recog.c (scratch_operand): Handle VOIDmode correctly.
2211
2212         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
2213
2214         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
2215         * function.c (assign_parms): Likewise.
2216         * global.c (global_conflicts): Clarify STACK_REGS commentary.
2217
2218         * reg-stack.c (max_uid): Remove.
2219         (blocks, block_begin, block_end, block_drops_in): Remove.
2220         (block_stack_in, block_out_reg_set, block_number): Remove.
2221         (struct block_info_def, BLOCK_INFO): New.
2222         (enum emit_where): New.
2223         (current_block): New.
2224         (BLOCK_NUM): Remove.
2225         (mark_regs_pat, record_label_references): Remove.
2226         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
2227         (nan): New.
2228         (goto_block_pat, print_blocks, dump_stack_info): Remove.
2229         (reg_to_stack): Simplified test for existance of fp code.  Use
2230         flow.c code.  Call shorten_branches after cross-jump opt.
2231         (check_asm_stack_operands): Renamed from record_asm_reg_life.
2232         Return false if the asm doesn't use stack regs.  Don't do life
2233         analysis on the asm.
2234         (emit_pop_insn): Replace function pointer arg `when' with
2235         enum `where'.  Update all callers.
2236         (change_stack): Likewise.  Update basic block end.
2237         (emit_swap_insn): Use current_block->head to limit reverse search
2238         for start of block.  Use emit_block_insn_after.
2239         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
2240         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
2241         structure assignment instead of bcopy.
2242         (print_stack): New.
2243         (convert_regs_entry, convert_regs_exit): New.
2244         (convert_regs_1, convert_regs_2): Split out from convert_regs.
2245         Work on basic blocks and the CFG.
2246         (convert_regs): Use them.
2247
2248         * i386.c (output_fix_trunc): Remove code for DImode input operand
2249         not at top-of-stack.
2250         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
2251         appropriate mode.
2252         (fix_truncdi_1): Allow any mode scratch.
2253
2254 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
2255
2256         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
2257         * linux.h, netbsd.h, vms.h: Not here.
2258
2259 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
2260
2261         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
2262         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
2263         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
2264         CONDITIONAL_REGISTER_USEAGE): Use them. 
2265         * config/mips/mips.c (mips_move_1word,mips_move_2words,
2266         gen_conditional_branch,override_options) : Use them.
2267         * config/mips/mips.md : Use them.
2268
2269 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
2270
2271         * i386.md (zero_extendqihi2): Use SImode register name with andl.
2272
2273 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
2274
2275         * integrate.c (function_cannot_inline_p): Don't allow inlining
2276         if setjmp is used.
2277
2278 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2279
2280         * c-parse.in (cast_expr): Constify.
2281
2282         * cccp.c (special_symbol): Likewise.
2283
2284         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
2285
2286         * dwarf2out.c (base_type_die): Likewise.
2287
2288         * global.c (allocno_compare): Likewise.
2289
2290         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
2291
2292         * regclass.c (fix_register): Likewise.
2293
2294         * rtl.h (fix_register): Likewise.
2295
2296         * stupid.c (stupid_reg_compare): Likewise.
2297
2298         * toplev.c (decode_f_option): Likewise.
2299
2300         * tree.c (build_complex_type): Likewise.
2301
2302 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
2303
2304         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
2305
2306 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2307
2308         * reload.c (find_reloads): Compute mode and nregs fields of all
2309         reloads.
2310         * reload1.c (calculate_needs_all_insns): Simplify a bit.
2311         (calculate_needs): Use precomputed mode/nregs values.
2312         (allocate_reload_reg): Likewise.
2313         Break out two...
2314         (failed_reload, set_reload_reg): ... new functions.
2315         (choose_reload_regs_init): New function, mostly broken out from...
2316         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
2317         Also lose one #if 0 block.
2318
2319 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
2320
2321         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name 
2322         substitution.
2323
2324 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
2325
2326         * tree.h (BLOCK_TYPE_TAGS): Remove.
2327         (BLOCK_END_NOTE): Likewise.
2328         (BLOCK_LIVE_RANGE_FLAG): Likewise.
2329         (BLOCK_LIVE_RANGE_START): Likewise.
2330         (BLOCK_LIVE_RANGE_END): Likewise.
2331         (tree_block): Remove live_range_flag, live_range_var_flag, and
2332         type_tags.  Remove end_note, live_range_start, and live_range_end.
2333         (remember_end_note): Remove prototype.
2334         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
2335         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
2336         remember_end_note.
2337         * ggc-common.c (ggc_mark_tree_children): Don't mark
2338         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
2339         * integrate.c (adjust_copied_decl_tree): Remove.
2340         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
2341         * stmt.c (last_block_end_note): Remove.
2342         (init_stmt): Don't add a GC root for it.
2343         (expand_fixup): Don't set it.
2344         (remember_end_note): Remove.
2345         (expand_end_bindings): Don't set last_block_end_note.
2346
2347 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2348
2349         * reload1.c (reload_reg_free_for_value_p): Show
2350         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
2351         reloads.
2352
2353 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
2354
2355         * expmed.c (extract_bit_field): Allow for the case of non-integer
2356         objects that are smaller than a word (like SFmode on a 64-bit
2357         machine).
2358
2359         * loop.c (basic_induction_var): A non-integer variable which is
2360         being set by a paradoxical subreg is probably not a biv.
2361
2362 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2363
2364         * prefix.c (translate_name) Check for empty prefix string.
2365
2366 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
2367
2368         * Makefile.in (CPP_CROSS_NAME): New variable.
2369         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
2370         xcpp.
2371         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
2372         names of the files to be uninstalled.
2373
2374 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
2375
2376         * collect2.c (IS_DIR_SEPARATOR): Define.
2377         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
2378
2379         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
2380         functions too.
2381
2382         * haifa-sched.c (add_dependence): Update the true dependency
2383         cache the first time we add a true dependence to the LOG_LINKS chain.
2384
2385 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
2386
2387         * fold-const.c (fold): Fix comment.
2388
2389 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2390
2391         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
2392         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
2393         dbxout_start_new_source_file, dbxout_source_file,
2394         dbxout_source_line, dbxout_finish, dbxout_type_fields,
2395         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
2396         Constify a char*.
2397         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
2398         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
2399         (dbxout_block): Initialize variable `blocknum'. 
2400
2401         * dbxout.h (dbxout_init, dbxout_finish,
2402         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
2403         dbxout_args, dbxout_source_line): Constify a char*.
2404
2405         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
2406         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
2407         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
2408         low_pc_attribute, high_pc_attribute, body_begin_attribute,
2409         body_end_attribute, comp_dir_attribute, sf_names_attribute,
2410         src_info_attribute, mac_info_attribute, producer_attribute,
2411         lookup_filename, generate_macinfo_entry, fundamental_type_code,
2412         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
2413         dwarfout_undef): Constify a char*.
2414         (add_incomplete_type, retry_incomplete_types): Add prototypes.
2415
2416         * dwarfout.h (dwarfout_define, dwarfout_undef,
2417         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
2418
2419 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
2420
2421         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
2422         (MULTILIB_ISA_DEFAULT): New.
2423         (MULTILIB_DEFAULTS): Use it.
2424         * config/mips/mips.c (): Remove the now unnecessary definition
2425         of MIPS_ISA_DEFAULT.
2426         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
2427         unnecessary definition.
2428
2429 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
2430
2431         * arm.md (pic_load_addr): Add constraints to operand 1.
2432
2433 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
2434
2435         * fixinc/genfixes:  Provide a means for specifying -D options to
2436         AutoGen
2437
2438 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
2439
2440         * arm.c (arm_override_options): Correct initialization of
2441         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
2442         arm_is_strong, and arm_is_6_or_7.
2443
2444         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
2445         (note_set_pseudo_multiple_uses): New function.
2446         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
2447         if a pseudo set in the loop exit is used elsewhere.
2448
2449 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
2450
2451         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
2452
2453 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
2454
2455         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
2456         a single load-address pattern.
2457
2458 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
2459
2460         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
2461         depending on whether or not line-number notes are present.
2462
2463 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2464
2465         * cccp.c (progname, file_buf, default_include, include_file,
2466         macrodef, definition, hashval, wchar_type, user_label_prefix,
2467         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
2468         expand_to_temp_buffer, is_system_include, base_name,
2469         absolute_filename, read_name_map, open_include_file,
2470         record_control_macro, check_precompiled, check_preconditions,
2471         pcfinclude, pass_thru_directive, create_definition,
2472         check_macro_name, comp_def_part, collect_expansion,
2473         check_assertion, read_token_list, assertion_install,
2474         assertion_lookup, eval_if_expression, conditional_skip,
2475         validate_else, skip_quoted_string, quote_string, macarg1,
2476         error_from_errno, install, lookup, hashf, dump_defn_1,
2477         perror_with_name, pfatal_with_name, main, trigraph_pcp,
2478         check_white_space, rescan, handle_directive, monthnames,
2479         special_symbol, do_include, remap_include_file, write_output,
2480         arglist, do_assert, do_unassert, do_line, do_error, do_once,
2481         do_ident, do_sccs, do_xifdef, skip_if_group,
2482         output_line_directive, macroexpand, macarg, change_newlines,
2483         initialize_builtins, make_definition): Constify a char*.
2484
2485         * pcp.h (stringdef): Likewise.
2486
2487 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
2488
2489         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
2490         not of pattern.
2491
2492 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
2493                           Richard Henderson  <rth@cygnus.com>
2494
2495         * alias.c: Include ggc.h.
2496         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
2497         (record_set): Verify enough room in reg_base_value.
2498         (init_alias_analysis): Allocate reg_base_value with xcalloc.
2499         Register it as a GC root.
2500         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
2501         * Makefile.in (alias.o): Depend on ggc.h.
2502
2503         * unroll.c (unroll_loop): Verify the insn before a barrier
2504         is a JUMP_INSN before checking JUMP_LABEL.
2505
2506 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2507
2508         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
2509         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
2510         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
2511         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
2512         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
2513         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
2514
2515 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2516
2517         * output.h (ctors_section, dtors_section, bss_section): Prototype.
2518
2519         * alpha/alpha-interix.h (text_section): Delete prototype.
2520         * alpha/elf.h (text_section): Likewise.
2521         * arm/linux-elf.h (text_section): Likewise.
2522         * arm/linux-telf.h (text_section): Likewise.
2523         * c4x/c4x.h (text_section): Likewise.
2524         * dsp16xx/dsp16xx.h (bss_section): Likewise.
2525         * elfos.h (text_section): Likewise.
2526         * i386/aix386ng.h (text_section): Likewise.
2527         * i386/i386-interix.h (text_section): Likewise.
2528         * i386/sco5.h (text_section): Likewise.
2529         * i386/svr3gas.h (text_section): Likewise.
2530         * nextstep.h (text_section): Likewise.
2531         * psos.h (text_section): Likewise.
2532         * ptx4.h (text_section): Likewise.
2533         * svr3.h (text_section): Likewise.
2534         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
2535
2536 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2537
2538         * final.c (peephole): Delete prototype.
2539
2540         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
2541         (pre_insert_copies): Remove unused variable `bb'.
2542
2543         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
2544         prototypes.
2545
2546         * output.h (peephole): Add prototype.
2547
2548 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
2549
2550         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
2551         -O0.
2552
2553 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
2554
2555         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
2556         for inlined declarations.
2557
2558 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
2559
2560         * arm.c (logical_binary_operator): New fucntion.
2561         * arm.h (logical_binary_operator): Declare it.
2562         (PREDICATE_CODES): Handle logical_binary_operator.
2563         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
2564         output constraints.  Add appropriate splitters.
2565         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
2566         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
2567         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
2568
2569 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2570
2571         * genoutput.c (struct operand_data): New elt eliminable.
2572         (output_operand_data): Write it.
2573         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
2574         (compare_operands): Take it into account.
2575         * recog.h (struct insn_operand_data): New elt eliminable.
2576         * reload1.c (check_eliminable_occurrences, elimination_effects): New
2577         functions.
2578         (old_asm_operands_vec, new_asm_operands_vec): Delete.
2579         (eliminate_regs): Move code that detects changes to elimination
2580         target regs into new function elimination_effects.
2581         Delete one #if 0 block.
2582         Abort for USE, CLOBBER, ASM_OPERANDS and SET. 
2583         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
2584         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
2585         Only call eliminate_regs for real operands of the insn, not for parts
2586         of its structure or parts matched by things like match_operator.
2587         Use elimination_effects and check_eliminable_occurrences.  Use
2588         copy_insn to duplicate the pattern when not in the final pass.
2589
2590 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
2591
2592         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
2593         and fld.
2594
2595 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
2596
2597         * fixinc/README: document the "mach" machine matching test
2598         * fixinc/fixfixes.c: Implement the #else/#endif label fix
2599         * fixinc/fixtests.c: Implement the #else/#endif label test
2600         * fixinc/inclhack.def: utilize these tests and fixes
2601         * fixinc/inclhack.sh:  regen
2602         * fixinc/fixincl.x:  regen
2603         * fixinc/fixincl.sh:  regen
2604
2605 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
2606
2607         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
2608         depend on ggc.h.
2609
2610 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
2611
2612         * gcc.1: Document exit codes.
2613
2614 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2615
2616         * calls.c: Include tm_p.h later, so everything we need is defined.
2617         * expr.c: Likewise.
2618         * function.c: Likewise.
2619
2620         * except.c: Include tm_p.h.
2621
2622         * sparc.c: Likewise.
2623         (dwarf2out_cfi_label): Don't prototype.
2624         (check_return_regs, epilogue_renumber,
2625         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
2626         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
2627         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
2628         ultra_schedule_insn): Add static prototype.
2629         (data_segment_operand, text_segment_operand): Call itself with the
2630         proper number of arguments.
2631         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
2632
2633         * sparc.h: Move all declarations to sparc-protos.h.
2634         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
2635         symbolic_operand.
2636
2637         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
2638
2639         * config/svr4.h (text_section, ctors_section, dtors_section): Add
2640         Prototypes.
2641         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
2642         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
2643         ASM_OUTPUT_ASCII): Constify a char*.
2644         
2645         * sparc-protos.h: New file for sparc prototypes.
2646         
2647 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2648
2649         * function.c (record_insns, contains): Always declare and define.
2650         (record_insns): Mark with ATTRIBUTE_UNUSED.
2651
2652 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
2653
2654         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
2655         to .section when outputting a .bss section to deal with multiple
2656         .bss input sections (as happens with -fdata-sections)
2657         Also output %progbits, not @progbits so the assembler doesn't treat as
2658         a comment.
2659         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
2660
2661         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
2662         thumb parts even when building with non-thumb CPUs, by forcing
2663         thumb mode.     
2664
2665 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
2666
2667         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
2668         (movdf_const_intreg_sp64): Similarly.
2669
2670         * local-alloc.c (update_equiv_regs): Check the correct insn
2671         for pre-existing REG_EQUIV notes.
2672
2673 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
2674
2675         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
2676         block reached by a branch if we're not going to actually process
2677         this block.
2678
2679 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
2680
2681         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
2682         a local extern function declaration.
2683
2684 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
2685
2686         * i386.c (ix86_expand_prologue): Properly wrap USE around
2687         reg for CALL_INSN_FUNCTION_USAGE.
2688
2689 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
2690
2691         * config/mips/mips.md (movdf_internal1a): Allow floating-point
2692         move between GP_REGs.
2693
2694 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
2695
2696         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
2697         the mode size when finding out if an offset is legal.
2698
2699 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
2700
2701         * basic-block.h (PROP_*): Move constants from ...
2702         * flow.c: ... here.
2703         (compute_bb_for_insn): Free the array before reallocating.
2704         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
2705         (allocate_reg_life_data): Reset all reg variables collected by
2706         propagate_block.
2707         (get_block_head_tail): Don't convert from bb to block.
2708         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
2709         (find_insn_reg_weight): Take block not bb.
2710         (schedule_block): Don't set block num for moved insns.
2711         (schedule_region): Don't update_life_info or find_insn_reg_weight.
2712         (schedule_insns): Do it here instead.
2713         * combine.c (combine_instructions): Invoke compute_bb_for_insn
2714         before update_life_info.
2715         * recog.c (split_all_insns, peephole2_optimize): Update for
2716         new arg to update_life_info.
2717         * rtlanal.c (remove_note): Cope with NULL note.
2718         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
2719         if we did sched1.
2720
2721 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
2722
2723         * jump.c (jump_optimize_1): More accurately detect casesi insns.
2724
2725         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
2726         block records so that merge_blocks_nomove will clean up correctly.
2727         (split_edge): Handle casesi insns.
2728
2729         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
2730
2731 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
2732
2733         * pa.md (call, call_value): Do not emit a blockage after restoring
2734         the PIC register.
2735
2736 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
2737
2738         * c-typeck.c (c_expand_asm_operands): Fix typo.
2739
2740 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2741
2742         * arm.c (fpu_rhs_operand): Verify modes.
2743         (fpu_add_operand): Likewise.
2744         (di_operand): Likewise.
2745         (soft_df_operand): Likewise.
2746
2747 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
2748
2749         * arm.c (arm_return_in_memory): APCS rules state that the elements
2750         of a structure returned in a register must be 'integer-like'.
2751
2752 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
2753
2754         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
2755         in the source tree when the generated targets are out of date
2756         * fixinc/genfixes: Alter it to run individual fixes for make.
2757         * fixinc/README: rewrite
2758         * fixinc/inclhack.def: moved initial comments to README
2759
2760 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
2761
2762         * toplev.c (main): Do not generate an error message if an
2763         unrecognised command line switch is recognisable by another
2764         language.  If extra_warnings are enabled, then generate a
2765         warning message instead.
2766
2767 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2768
2769         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
2770         (insert_pack_attributes): Delete prototype.
2771
2772         * c-pragma.c (default_alignment): New static variable.
2773         (push_alignment): Initialize to current effective alignment.
2774         (pop_alignment): Use to set new alignment.
2775         (insert_pack_attributes): Delete function.
2776         (handle_pragma_token): Set default_alignment as well each time 
2777         a #pragma pack(<n>) is encountered.
2778
2779 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
2780
2781         * reg-stack.c (stack_result): Aggregates are not returned in
2782         stack registers.
2783
2784 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
2785
2786         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
2787
2788 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
2789
2790         * basic-block.h (set_block_num): Declare.
2791         * flow.c (update_life_info): Don't call compute_bb_for_insn
2792         or free_basic_block_vars.
2793         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
2794         (insn_orig_block): Remove.
2795         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
2796         (schedule_block): Keep BLOCK_NUM up-to-date.
2797         (schedule_insns): Use compute_bb_for_insn.
2798         * recog.c (split_all_insns): Likewise.
2799         (peephole2_optimize): Likewise.
2800
2801 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
2802
2803         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
2804         if the pic register is used.
2805
2806 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2807
2808         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
2809         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
2810         if that tests TREE_PERMANENT.
2811
2812 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
2813
2814         * cse.c (invalidate_for_call): Do not remove memory references from
2815         the table here.  It's handled elsewhere.
2816
2817         * haifa-sched.c (add_dependence): Protect references to the
2818         true dependency cache with #ifdef INSN_SCHEDULING.
2819         (remove_dependence): Similarly.
2820
2821         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
2822         to the cfg code that this is a return instruction.
2823         * mn10300.md (return_internal): Similarly.
2824
2825         * combine.c (get_last_value): If the last set of a register
2826         is after subst_low_cuid, then we can not use it to determine
2827         the register's last value.
2828
2829 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
2830
2831         * Makefile.in: Back out previous change.
2832         
2833 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
2834
2835         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
2836
2837         * haifa-sched.c (add_dependence): Only check/update the cache
2838         if it exists.
2839         (remove_dependence): Likewise.
2840         (schedule_insns): Only create the true_dependency_cache if the
2841         average number of instructions in a basic block is very large.
2842
2843 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
2844
2845         * Makefile.in (ggc-common.o): Depend on genrtl.h.
2846         (ggc-simple.o): Likewise.
2847         (ggc-page.o): Likewise.
2848
2849 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
2850
2851         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
2852         Prototype for exported functions.
2853         (pre_lcm, pre_rev_lcm): Remove prototypes.
2854         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
2855         (compute_available): Move to lcm.c, and change parameter order.
2856         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
2857         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
2858         (gcse_main): No longer call compute_preds_succs.  Rebuild the
2859         set table after reach pre pass.
2860         (pre_insert_map, pre_delete_map, edge_list): New.
2861         (alloc_pre_mem): Allocate edge vectors.
2862         (free_pre_mem): Delete edge vectors.
2863         (compute_pre_data): Call new edge based lcm routines.
2864         (process_insert_insn): New function.
2865         (insert_insn_end_bb): Use it.
2866         (pre_edge_insert): New function.
2867         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
2868         needed.
2869         (pre_insert_copies): Revamp using new edge based lcm outputs.
2870         (pre_delete): Likewise.
2871         (one_pre_gcse_pass): Insert & remove fake edges to the exit
2872         block.
2873         (compute_code_hoist_vbeinout): New new edge based routines.
2874         * lcm.c: Remove all the old LCM functions.  Replace with new ones
2875         that work with the new cfg datastructures and work with edges
2876         instead of blocks.
2877
2878 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2879
2880         * reload.h (struct reload): Add new fields "mode" and "nregs".
2881         * reload1.c: Change all occurrences of reload_mode and reload_nregs
2882         to reference the "mode" and "nregs" field within struct reload.
2883
2884 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
2885
2886         * haifa-sched.c (true_dependency_cache): New.
2887         (add_dependence): Use the true dependency cache to avoid expensive
2888         walks down the LOG_LINKS dependency list.  Add entries to the
2889         cache as necessary.
2890         (remove_dependence): Remove entries from the true dependency cache
2891         as needed.
2892         (schedule_insns): Allocate and initialize and free the true
2893         dependency cache.
2894
2895         * haifa-sched.c (schedule_insns): Do not remove inter-block
2896         dependencies anymore.
2897
2898 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
2899
2900         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
2901         * i386/t-winnt: Likewise.
2902
2903 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
2904
2905         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
2906
2907 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
2908
2909         * Makefile.in (LANGUAGES): Omit "proto".
2910         (clean): Remove stale comment about removing unprotoize.c.
2911
2912 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2913
2914         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
2915         using arithmetic on void pointers.
2916
2917 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
2918
2919         * haifa-sched.c (compute_block_forward_dependencies): Only check
2920         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
2921
2922 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
2923
2924         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
2925         (expr_equiv_p): Reject memories with different alias sets.
2926
2927 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
2928
2929         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
2930         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
2931         (f_options): Add "bounded-pointers" and "bounds-check" entries.
2932         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
2933         (lang_init): Set default for flag_bounds_check if still "unspecified".
2934
2935 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2936
2937         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
2938
2939 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2940
2941         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
2942         instructions.
2943
2944 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2945
2946         * config/c4x/c4x.md (*db_noclobber, 
2947         *decrement_and_branch_until_zero_noclobber): New patterns and 
2948         associated splitters.
2949
2950 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2951
2952         * config/c4x/c4x.md (parallel instruction patterns): Rework
2953         constraints to keep reload happy.
2954
2955 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2956
2957         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
2958         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
2959         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
2960         Add new patterns and associated post-reload splitters.
2961
2962 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2963
2964         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
2965
2966 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2967
2968         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
2969         if appropriate.
2970         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
2971
2972 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2973
2974         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
2975         memory mode.
2976
2977 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
2978
2979         * pa.c (move_operand): Rely on memory_address_p to determine the
2980         validity of non-indexed memory addresses.
2981         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
2982         operand in DFmode and SFmode when generating PA2.0 code.
2983
2984 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
2985
2986         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
2987
2988 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
2989
2990         * mips.c (function_prologue): Fix argument types.
2991         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
2992         (casesi_internal): Write to the scratch register.
2993
2994 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
2995
2996         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
2997         to U_CHAR **.
2998         (parse_charconst): Delete unnecessary cast when calling
2999         cpp_parse_escape.
3000         (cpplib.h): Kill prototype of cpp_parse_escape.
3001
3002 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
3003
3004         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
3005         * unroll.c (unroll_loop): Cast return value of alloca.
3006         * i370/i370.c: Include function.h and toplev.h.
3007         (i370_label_scan): Remove c++ commented abort.
3008         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
3009         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
3010         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
3011         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
3012
3013 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
3014
3015         * config/t-freebsd: Do not override USER_H.
3016         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
3017
3018 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
3019                           Mumit Khan  <khan@xraylith.wisc.edu>
3020
3021         * c-parse.in (component_decl): Support anonymous struct/union.
3022         (%expect): Update.
3023         * c-parse.y: Regenerate.
3024         * c-parse.c: Likewise.
3025         * objc/objc-parse.y: Likewise.
3026         * objc/objc-parse.c: Likewise.
3027         * c-decl.c (finish_struct): Don't sort the fields.
3028         (field_decl_cmp): Delete unused function.
3029
3030 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
3031
3032         * sparc.md (movsf_const_intreg): Revert last constraint change.
3033         (movdf_const_intreg_sp32): Likewise.
3034
3035 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
3036
3037         * cse.c: Include hashtab.h instead of splay-tree.h
3038         (struct cse_reg_info): No longer use variant union.  Add new
3039         field "regno".  All references changed to avoid union.
3040         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
3041         (free_cse_reg_info): Remove.
3042         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
3043         (get_cse_reg_info): Revamp to use expandable hash tables instead
3044         of splay trees.  Initialize new fields in cse_reg_info structure.
3045         (new_basic_block): Similarly.
3046
3047 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
3048
3049         * genrecog.c (message_with_line): Prototype.
3050         (validate_pattern): Pass along the set for the dest, not a flag.
3051         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
3052         Check for PC/CC0 as sources.
3053         (nodes_identical): Check for children position match before 
3054         allowing the combination.
3055
3056         * rtl.c (read_rtx): Track line number across \\\n.
3057
3058 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
3059
3060         * mips.h (SPECIAL_MODE_PREDICATES): New.
3061         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
3062         (movdi+1, movsi+1): Add output reload constraint.
3063         (casesi_internal): Likewise.  Fix commentary.
3064         (return_internal): Use pmode_register_operand.
3065
3066 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
3067
3068         * 1750a.md (movstrqi): Add missing output reload constraint.
3069         (call_value): Likewise.
3070         * a29k.md (cpxxx patterns): Add missing match_operator mode.
3071         (jmpfdec): Add missing inout reload constraint.
3072         * elxsi.md (addsi patterns): Add missing output reload constraint.
3073         (move from sp): Use @ alternates.
3074         (call_value): No constraint on output.
3075         * fr30.md (movsi_pop): Add missing output reload constraint.
3076         (movsf_constant_store): Likewise.
3077         (splits): Remove constraints.
3078         (subsi3): Add missing mode.
3079         * i370.md (cmpstrsi+1): Add missing output reload constraint.
3080         (call_value): Likewise.
3081         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
3082         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
3083         * m32r.md (movsicc_internal): Add output reload constraint.
3084         (movstrsi_internal): Add inout reload constraints.
3085         * m88k.h (reg_names): Don't declare.
3086         (SPECIAL_MODE_PREDICATES): New.
3087         * m88k.md (*): Use register_operand not reg_or_0_operand
3088         on destinations.
3089         * mn10200.h (PREDICATE_CODES): New.
3090         * ns32k.md (ffs pattern): Add output reload constraint.
3091         * pdp11.md (sob pattern): Add inout reload constraint.
3092         * sh.md (splits): Remove constraints.
3093         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
3094         * v850.md (pattern_is_ok_for_epilogue): Likewise.
3095         * vax.md (jgequ pattern): Add inout reload constraint.
3096
3097 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
3098
3099         * configure.in (djgpp): Revert previous patch.
3100         * configure: Rebuit.
3101         * config/i386/djgpp.h: Revert previous patch.
3102
3103 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
3104
3105         * fixinc/inclhack.def: Restore patch lost during last merge of
3106         "no_bogosity" branch.
3107         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3108
3109 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3110
3111         * fixincludes: Add a HPUX 11 fix for inttypes.h.
3112         * fixinc/inclhack.def: Same.
3113         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
3114
3115 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
3116
3117         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
3118         as the base of a PLUS.
3119
3120 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3121
3122         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
3123         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
3124         
3125 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
3126
3127         * pa.md (post_stw+1): Use pmode_register_operand.
3128         (dcacheflush, icacheflush): Likewise.
3129
3130         * i386.md (movstricthi_1): Allow r/r.
3131
3132 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
3133
3134         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
3135         to (not (and (arg0) (arg1))). Similary for and.
3136
3137         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
3138         falltrought to assocate code.
3139         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
3140         bits in common.
3141
3142         * combine.c (simplify_logical): Convert XOR to IOR if operands have
3143         no bits in common; remove XOR to ROTATE conversion.
3144
3145 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3146
3147         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
3148
3149 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3150
3151         * config/c4x/c4x.c (dst_operand): New.
3152         (PREDICATE_CODES): Update.
3153         * config/c4x/c4x.h (dst_operand): Declare it.
3154         * config/c4x/c4x.md:  Define mode for each unspec usage.
3155         (move patterns):  Use dst_operand predicate instead of src_operand.
3156         (movqi_update, movqf_update): Delete.
3157
3158 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
3159
3160         * recog.c (pmode_register_operand): New.
3161         * recog.h: Declare it.
3162         * genrecog.c (pred_codes): Likewise.
3163         (special_mode_pred_table): Likewise.
3164         (validate_pattern): Don't warn no mode for address_operand.
3165
3166         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
3167         if the operand is not insn-like.
3168
3169 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
3170                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
3171
3172         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
3173
3174 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
3175
3176         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
3177         instead of general_operand in a SET_DEST.  Use const_double_operand
3178         instead of an explicit test against CONST_DOUBLE.
3179         (movsf_const_lo): Add missing register mode.
3180         (goto_handler_and_restore): Add auxiliary test for Pmode.
3181         (flush): Adjust to use address_operand.
3182         (return_sf_no_fpu): Add missing output constraint.
3183
3184 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
3185
3186         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
3187         for call return value.
3188         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
3189
3190 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
3191
3192         * toplev.c (main): Only warn about options for other languages.
3193         * collect2.c (main): Pass -w to sub-gcc.
3194
3195 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
3196
3197         * flow.c (propagate_block): Add call-clobbered registers to
3198         significant too.
3199
3200         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
3201         zapping mem_set_list.
3202         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
3203         (mark_set_1, mark_used_regs): Likewise.
3204
3205 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
3206
3207         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
3208
3209 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3210
3211         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
3212         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
3213         options. Also add a new item "C-only Warning Options" to the
3214         option summary.
3215
3216 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
3217
3218         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
3219         from multiple calls.
3220
3221 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
3222
3223         * i386.md (call value patterns): Move to the end of the file.
3224         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
3225
3226 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
3227
3228         * configure.in (djgpp configuration): Define extra_objects..
3229         * configure: Rebuilt.
3230         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
3231         (DTORS_SECTION_ASM_OP): Define.
3232         (INIT_SECTION_ASM_OP): Define.
3233         (FINI_SECTION_ASM_OP): Define.
3234         (DATA_SECTION_ASM_OP): Define.
3235         (TEXT_SECTION_ASM_OP): Define.
3236         (EH_FRAME_SECTION_ASM_OP): Define.
3237         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
3238         (STARTFILE_SPEC): Add crtbegin.o.
3239         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
3240         to here from LINK_COMMAND_SPEC.
3241         (DO_GLOBAL_CTORS_BODY): Define.
3242         (CRTSTUFF_USE_FINI_SECTION): Define
3243         (HAS_INIT_SECTION): Delete.
3244
3245 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
3246
3247         * Makefile.in (all.cross): Depend on xcpp$(exeext).
3248
3249 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
3250
3251         * pa.h (PREDICATE_CODES): New.
3252
3253         * genrecog.c (validate_pattern): Condense the destination
3254         non-lvalue message.
3255
3256 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
3257
3258         * alpha.md (call-1): Supply missing mode for operator.
3259         (*): Add missing output reload constraints.  Remove constraints
3260         from define_splits.
3261
3262         * i386.h (SPECIAL_MODE_PREDICATES): New.
3263         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
3264         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
3265         (addsi_lea_3): Add missing mode for op 3.
3266         (prologue_set_got, prologue_get_pc): Add missing modes.
3267         (*) Add missing output reload constraints.
3268
3269 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
3270
3271         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
3272         check for member bit-size overflow and use var_size if it occurs.
3273         (layout_record): Use bitsize_int() to define the type size in bits.
3274         Likewise for computation and assignment to DECL_FIELD_BITPOS.
3275         (layout_decl): Likewise when assigning to DECL_SIZE.
3276
3277 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
3278
3279         * genrecog.c (validate_pattern): Typo last change.  Verify
3280         that output operands have output reloads.
3281
3282 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
3283
3284         * genrecog.c (special_mode_pred_table): New.
3285         (NUM_SPECIAL_MODE_PREDS): New.
3286         (find_operand): New.
3287         (validate_pattern): New argument `insn'.  Warn for assignment to
3288         any predicate accepting non-lvalues.  Conditionaly warn for
3289         match_operand without a mode.  Try much harder to match source
3290         and destination modes on a set.
3291         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
3292
3293 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
3294
3295         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
3296
3297 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
3298
3299         * combine.c (simplify_logical): Recognize xor pattern that encodes
3300         rotation.
3301
3302 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3303
3304         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
3305         alignment.
3306
3307 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
3308
3309         * ggc-page.c (MAP_FAILED): Provide default.
3310
3311 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
3312
3313         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
3314         * sparc.h (PREDICATE_CODES): Update.
3315
3316 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
3317
3318         * alpha.c (some_ni_operand): New.
3319         * alpha-protos.h: Declare it.
3320         * alpha.h (PREDICATE_CODES): Update.
3321         * alpha.md (sXaddq reload insns): Use some_ni_operand 
3322         for SET_DEST instead of some_operand.
3323
3324 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
3325                           Jim Wilson  <wilson@cygnus.com>
3326
3327         * genrecog.c (maybe_both_true_2): Don't compare modes of
3328         two DT_pred tests.
3329         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
3330         after find_afterward.
3331         (debug_decision_1): Dump next and afterward codes.
3332
3333 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
3334
3335         * rtl.c (dump_and_abort): Remove.
3336         (fatal_with_file_and_line): New.
3337         (fatal_expected_char): New.
3338         (read_rtx_lineno, read_rtx_filename): New.
3339         (read_skip_spaces): Track line number.
3340         (read_name): Use fatal_with_file_and_line.
3341         (read_rtx): Use fatal_expected_char.  Track line number.
3342         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
3343
3344         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
3345         if it isn't a CODE_LABEL.
3346
3347         * genattr.c (main): Set read_rtx_filename.
3348         * genattrtab.c (main): Likewise.
3349         * gencodes.c (main): Likewise.
3350         * genconfig.c (main): Likewise.
3351         * genemit.c (main): Likewise.
3352         * genextract.c (main): Likewise.
3353         * genflags.c (main): Likewise.
3354         * genopinit.c (main): Likewise.
3355         * genoutput.c (main): Likewise.
3356         * genpeep.c (main): Likewise.
3357
3358         * genrecog.c (decision_test.u.insn): Add `lineno'.
3359         (pattern_lineno, error_count): New variables.
3360         (message_with_line): New.
3361         (add_to_sequence): Break out checking code to ...
3362         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
3363         (merge_insn): Use message_with_line.
3364         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
3365         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
3366
3367 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3368
3369         * expr.c (store_constructor): Clear union if constructor is empty.
3370
3371 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
3372
3373         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
3374         Add !endian checks.  Change %{...} to %(...).
3375
3376 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
3377
3378         * i386.md (*addsi3_cc): Renamed from addcsi3.
3379         (*addsi3_carry): Renamed from addxsi3.
3380         (*subsi3_cc): Renamed from subcsi3.
3381         (*subsi3_carry): Renamed from subxsi3.
3382         (*xorqi_cc_1): Renamed from xorcqi_1.
3383         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
3384         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
3385
3386 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
3387
3388         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
3389         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
3390
3391 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
3392
3393         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
3394         climb up the chain of insns.
3395
3396 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
3397
3398         * genrecog.c (write_subroutine): Careful for null trees.
3399         (process_tree): Don't elide empty functions.
3400
3401 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
3402
3403         * Makefile.in (genrtl.o): Depend on ggc.h.
3404         * configure.in (valloc): Probe for it.
3405         (with-gc): Use ggc-page if valloc present.
3406         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
3407         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
3408         (ggc_alloc_string): Moved from ggc-page.c.
3409         * ggc-none.c (ggc_alloc_obj): New.
3410         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
3411         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
3412         (struct globals): Likewise for dev_zero_fd.
3413         (init_ggc): Likewise for it's initialization.
3414         (ggc_allocated_p): Move careful dereference from ...
3415         (ggc_lookup_page_table): ... here.  Delete.
3416         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
3417         (alloc_anon): Use valloc if no mmap.
3418         (release_pages): Use free if using valloc.
3419         (ggc_alloc_obj): Renamed from alloc_obj.
3420         (ggc_set_mark): Renamed from mark_obj.
3421         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
3422         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
3423         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
3424         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete. 
3425         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
3426         (ggc_collect): Use fp printing instead of our own rounding.
3427         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
3428         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
3429         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
3430         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
3431         (struct ggc_string, struct ggc_any): Delete.
3432         (offsetof): Provide default definition.
3433         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
3434         (PTR_KEY): New.
3435         (struct ggc_mem): New, from corpse of ggc_any.
3436         (struct ggc_status): Delete.
3437         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
3438         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
3439         (n_strings_collected, n_anys_collected): Delete.
3440         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
3441         (ggc_alloc_string, ggc_alloc): Delete.
3442         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
3443         (ggc_free_string, ggc_free_any): Delete.
3444         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
3445         (ggc_compare_addresses, ggc_mark_string): Delete.
3446         (ggc_mark_string_if_gcable, ggc_mark): Delete.
3447         (search_data): Delete.
3448         (struct globals): New.
3449         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.   
3450         (tree_insert, tree_lookup): New.
3451         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
3452         (clear_marks, sweep_objs): New.
3453         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
3454         (init_ggc): Set allocated_last_gc.
3455         (ggc_push_context): Gut.  Use G.context.
3456         (ggc_pop_context): Likewise.
3457         (ggc_pop_context_1): New.
3458         (debug_ggc_tree): New.
3459         (debug_ggc_balance, tally_leaves): New.
3460         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
3461         (ggc_mark_string_if_gcable): Remove decl.
3462         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
3463         (ggc_mark_rtvec_children): New.
3464         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
3465         (ggc_mark_if_gcable): New decl.
3466         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
3467         (ggc_alloc_tree, ggc_alloc): Likewise.
3468         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
3469         (ggc_alloc_obj): New decl.
3470         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
3471         (ggc_alloc_tree, ggc_alloc): Likewise.
3472         (ggc_set_mark): New decl.
3473         * rtl.h (struct rtx_def): Remove gc_mark.
3474         (struct rtvec_def): Likewise.
3475         * tree.h (struct tree_common): Likewise.
3476
3477 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
3478
3479         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
3480         float_format and thread_file definitions.
3481         * configure: Rebuilt.
3482
3483 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
3484
3485         * extend.texi (Function Names): Document types of function names.
3486
3487 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3488
3489         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
3490         an earlyclobbered output conflict with RELOAD_INPUT reloads.
3491
3492 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3493
3494         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
3495
3496 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3497
3498         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
3499
3500 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
3501
3502         * collect2.c (main): Do prelimnary link on AIX if rflag.
3503
3504 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3505
3506         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
3507         __CTOR_LIST__ in opposite order, which is the correct order for sorted
3508         constructors.
3509         (__do_global_dtors): similarly for __DTOR_LIST__.
3510
3511 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3512                                 Diego Novillo <dnovillo@cygnus.com>
3513
3514         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
3515         FPUL_REGS.
3516
3517 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
3518
3519         * fixincl/*: Merged "no_bogosity" branch
3520         * fixincl/fixlib.h: protect against doubly defining t_bool
3521         * fixincl/server.h: protect against doubly defining t_bool
3522
3523 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
3524
3525         * genoutput.c: Include toplev.h.
3526
3527 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
3528
3529         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
3530         Undef.
3531         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
3532         * configure: Regenerate.
3533
3534 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
3535
3536         * gcse.c (delete_null_pointer_checks): Returns void.
3537
3538 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3539
3540         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
3541         * emit-rtl.c (copy_insn_1): Likewise.
3542
3543 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
3544
3545         * config/mips/mips.c (mips_build_va_list): Correct
3546         TREE_CHAIN setting when hard-float.
3547         (mips_va_start): Use corrected setting.
3548         (mips_va_arg): Likewise.  Also pass a tree to build of
3549         POSTINCREMENT_EXPR rather than a naked 'int'.
3550
3551 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
3552
3553         * ggc.h (ggc_push_context): Fix comment.
3554         (ggc_pop_context): Likewise.
3555         (mark_string_if_gcable): Likewise.
3556         * ggc-common.c (ggc_mark_rtx_children): Use
3557         ggc_mark_string_if_gcable.
3558         * ggc-page.c (ggc_lookup_page_table): New function.
3559         (ggc_allocated_p): Likewise.
3560         (mark_obj): Fix formatting.
3561         (ggc_mark_string_if_gcable): New function.
3562         * ggc-simple.c (ggc_allocated_strings): New variable.
3563         (ggc_strings_used): Likewise.
3564         (ggc_compare_addresses): New function.
3565         (ggc_pop_context): Pop the `any' memory too.
3566         (ggc_mark_string_if_gcable): New function.
3567         (ggc_collect): Initialize and tear down ggc_allocated_strings.
3568         
3569 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
3570
3571         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
3572         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
3573         * rs6000.c (expand_block_move): Match movstrsi_?reg register
3574         changes.
3575
3576 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
3577
3578         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
3579         (sched_reg_live_length, sched_reg_basic_block): Delete.
3580         (current_block_num, bb_live_regs, old_live_regs): Delete.
3581         (dead_notes, struct sometimes): Delete.
3582         (sched_note_set, birthing_insn_p): Delete.
3583         (adjust_priority): Gut useless reg lifetime code.
3584         (create_reg_dead_note, attach_deaths): Delete.
3585         (attach_deaths_insn, new_sometimes_live): Delete.
3586         (finish_sometimes_live): Delete.
3587         (find_pre_sched_live, find_post_sched_live): Delete.
3588         (update_reg_usage): Delete.
3589         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
3590         (schedule_insns): Delete reg lifetime code.
3591         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
3592         (unlink_other_notes): Adjust REG_NOTE commentary.
3593         (reemit_notes): Use REG_SAVE_NOTE.
3594         (schedule_block): Likewise.
3595         (schedule_region): Allocate bitmap of blocks in region.  Use
3596         count_or_remove_death_notes.  Use update_life_info.
3597
3598         * rtl.h (REG_SAVE_NOTE): New.
3599         * rtl.c (reg_note_name): Update.
3600         
3601 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
3602
3603         * combine.c (refresh_blocks, need_refresh): New.
3604         (combine_instructions): Allocate refresh_blocks.  Invoke
3605         update_life_info if needed.
3606         (distribute_notes): Mark refresh_blocks instead of installing
3607         USE insns.
3608         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
3609         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
3610
3611         * Makefile.in (recog.o): Depend on basic-block.h.
3612
3613 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
3614
3615         * genrecog.c (add_to_sequence): Thinko last change: delete
3616         shadowing allow_const_int variable.
3617
3618 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3619
3620         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
3621         __GNUC__ and __GNUC_MINOR__.
3622
3623         * gansidecl.h: Likewise.
3624
3625         * rtl.c: Likewise.
3626         
3627         * rtl.h: Likewise.
3628
3629         * toplev.h: Likewise.
3630
3631         * tree.c: Likewise.
3632
3633         * tree.h: Likewise.
3634
3635         * varray.c: Likewise.
3636
3637         * varray.h: Likewise.
3638
3639 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3640
3641         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
3642         use one before a jump table.
3643
3644         * rtl.def (ADDRESS): Change documentation to match reality.
3645         * md.texi: Don't document it.
3646         * gmicro.md (load address pattern): Use 'p' constraint, delete use
3647         of ADDRESS rtx.
3648
3649         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
3650
3651 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
3652
3653         * genrecog.c (add_to_sequence): Move allow_const_int test outside
3654         known predicate block; default allow_const_int true.
3655         (debug_decision_list): New.
3656
3657 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
3658
3659         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
3660
3661 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
3662
3663         * gcse.c (gcse_main): Avoid global optimizations if we have a
3664         large number of basic blocks and the ratio of edges to blocks
3665         is high.
3666         (delete_null_pointer_checks): Likewise.
3667
3668 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
3669
3670         * c-common.c (check_format_info): Warn if format string isn't a
3671         string literal.
3672
3673 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3674
3675         * configure.in (arm*-*-*): Don't let autoconf remove brackets
3676         * configure: regenerate
3677
3678 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
3679
3680         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
3681         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
3682         (peepholes): Re-enable.
3683
3684 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
3685
3686         * Makefile.in (flow.o): Depend on TREE_H.
3687         * basic-block.h (REG_SET_EQUAL_P): New.
3688         (XOR_REG_SET): New.
3689         (n_edges): Declare.
3690         (free_regset_vector): Remove declaration.
3691         (flow_delete_insn_chain): Declare.
3692         (enum update_life_extent): New.
3693         (update_life_info, count_or_remove_death_notes): Declare.
3694         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
3695         Verify register live at bb->global_live_at_start before adding USE.
3696         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
3697         (CLEAN_ALLOCA): New.
3698         (n_edges): New. 
3699         (PROP_*): New flags.
3700         (find_basic_blocks_1): Use alloc_EXPR_LIST.
3701         (clear_edges): Zero n_edges.
3702         (make_edge): Increment n_edges.
3703         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
3704         (flow_delete_insn_chain): Export.
3705         (delete_block): Decrement n_edges.
3706         (merge_blocks_nomove): Likewise.
3707         (life_analysis): Give life_analysis_1 PROP flags.
3708         (verify_wide_reg_1, verify_wide_reg): New.
3709         (verify_local_live_at_start): New.
3710         (update_life_info): Rewrite to call into propogate_block.
3711         (mark_reg): New.
3712         (mark_regs_live_at_end): After reload, if epilogue as rtl, 
3713         always mark stack pointer.  Conditionally mark PIC register.
3714         After reload, mark call-saved registers, return regsiters.
3715         (life_analysis_1): Accept PROP flags not remove_dead_code.
3716         Call mark_regs_live_at_end before zeroing regs_ever_live.
3717         Use calculate_global_regs_live.  Copy global_live_at_end before
3718         calling final propagate_block.  Zero reg_next_use on exit.
3719         (calculate_global_regs_live): New.
3720         (allocate_bb_life_data): Don't allocate bb->local_set.
3721         (init_regset_vector, free_regset_vector): Remove.
3722         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
3723         Test flags before every operation.  Warn if prologue/epilogue insn
3724         would have been deleted.
3725         (mark_set_regs, mark_set_1): Accept and use FLAGS. 
3726         Use alloc_EXPR_LIST.
3727         (mark_used_regs): Accept and use FLAGS, not FINAL.
3728         Remove special handling for RETURN.
3729         (try_pre_increment): Use alloc_EXPR_LIST.
3730         (dump_flow_info): Dump n_edges.
3731         (unlink_insn_chain, split_hard_reg_notes): Remove.
3732         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
3733         (find_insn_with_note, new_insn_dead_notes): Remove.
3734         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
3735         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
3736         (replace_insns): Remove.
3737         (count_or_remove_death_notes): New.
3738         (verify_flow_info): Abort on error after all checks.
3739         (remove_edge): Decrement n_edges.
3740         (remove_fake_edges): Tweek format.
3741         * haifa-sched.c (schedule_insns): Use split_all_insns.
3742         * output.h (update_life_info): Remove declaration.
3743         * recog.c (split_all_insns): From the corpse of split_block_insns,
3744         do the whole function block by block.  Use update_life_info.
3745         (recog_last_allowed_insn): New.
3746         (recog_next_insn): Mind it.
3747         (peephole2_optimize): Set it.  Walk backwards through blocks.
3748         Use update_life_info.
3749         * rtl.h (update_flow_info, replace_insns): Remove declarations.
3750         (split_all_insns): Declare.
3751         * toplev.c (rest_of_compilation): Thread prologue before flow2.
3752         Use split_all_insns.
3753
3754         * i386.md (or -1 peep2s): Disable.
3755
3756 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
3757
3758         * config/mips/mips.md (movstrsi+[123]) : Combine these into
3759         a single pattern.  Scrap the 'd' versions as unnecessary. 
3760
3761         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
3762         tablejump_mips162,tablejump_internal4): The operands to a
3763         label_ref must be VOIDmode.
3764
3765 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3766
3767         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
3768
3769 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
3770
3771         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
3772
3773 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
3774
3775         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
3776         cache every function if ggc_p.
3777
3778 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3779
3780         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
3781         instead of copy_rtx.  Accept sequences that contain asm statements.
3782         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
3783         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
3784         orig_asm_operands_vector, copy_asm_operands_vector,
3785         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
3786         variables.
3787         * rtl.h (copy_insn, copy_insn_1): Declare.
3788
3789 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3790
3791         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
3792
3793         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
3794         arguments to `current_file_function_operand'.
3795
3796         * genrecog.c: Include hard-reg-set.h and resource.h in the
3797         generated output file.
3798
3799         * real.c: Include tm_p.h.
3800
3801 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3802
3803         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
3804         output operand.
3805
3806 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
3807
3808         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
3809         before the fctiwz insn.
3810
3811 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3812                           Mark Mitchell  <mark@codesourcery.com>
3813
3814         * tree.c (make_lang_type_fn): New funtion pointer.
3815         (make_lang_type): Call it.
3816         * tree.h (make_lang_type): Declare.
3817         (make_lang_type_fn): Likewise.
3818         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
3819
3820 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
3821
3822         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
3823         make sure that HIGH instructions are copied into BASE_REGS.
3824
3825 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
3826
3827         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
3828
3829 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
3830
3831         * c-decl.c (finish_struct): Use simpler method of
3832         removing elements of a singly-linked list.
3833
3834 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
3835
3836         * alpha.md (peephole2's): Comment out peephole2's that generate
3837         buggy code.
3838
3839 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
3840
3841         * genrecog.c (add_to_sequence): Disable mode check for
3842         wildcard matches.
3843
3844 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3845
3846         * ggc-simple.c (init_ggc): Set empty_string.
3847
3848 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
3849
3850         * configure.in: Detect mmap.  Add --with-gc=foo to select
3851         garbage collector; default to page if mmap available.
3852         * Makefile.in (GGC): Substitute.
3853
3854 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
3855
3856         * c-decl.c (ggc_p): Enable.
3857
3858 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3859
3860         * flow.c (verify_flow_info): Make it extern & unconditionally define.
3861
3862 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
3863
3864         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
3865         string for little-endian-data.
3866
3867 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
3868
3869         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
3870         case somebody tries to compile --enable-checking code with gcc
3871         1.34 or such.
3872
3873 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
3874
3875         * genrecog.c (add_to_sequence): Verify operand to label_ref is
3876         VOIDmode.
3877
3878 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
3879
3880         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
3881         * jump.c (jump_optimize_1): Document why.
3882
3883 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3884
3885         * collect2.c (scan_prog_file, scan_libraries): Prototype function
3886         pointers and casts for `int_handler' and `quit_handler'.
3887
3888         * flow.c (verify_flow_info, split_hard_reg_notes,
3889         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
3890         remove_edge, remove_fake_successors): Add static prototypes.
3891         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
3892         (mark_set_1): Initialize variable `regno'.
3893         (unlink_insn_chain): Likewise for variable `curr'.
3894         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
3895
3896         * loop.c (strength_reduce): Initialize variable
3897         `unrolled_insn_copies'.
3898         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
3899         prototypes.  Change these functions to take const PTR parameters
3900         to avoid prototype conflict when used as the comparson argument
3901         for qsort.
3902         (check_dbra_loop): Initialize variable `comparison_val'.
3903
3904         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
3905         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
3906         (find_valid_class): Initialize variable `best_class'.
3907         (find_reloads): Call memcpy, not bcopy.
3908
3909         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
3910         (hard_reg_use_compare): Don't needlessly cast away const.
3911         (reload_reg_class_lower): Likewise.
3912         (choose_reload_regs): Initialize variable `regno'.
3913
3914 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
3915
3916         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
3917
3918 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
3919
3920         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
3921         ({,d}discard): Add forward declarations.  Declare parameter as
3922         unused.
3923         (main_without_main): Explicitly declare return type to be int.
3924         (memcpy): Properly declare.
3925
3926         * libgcc2.c (toplevel): If inhibit_libc is defined and not
3927         building the trampoline support, declare malloc, free, and
3928         atexit.
3929         (__clear_cache): Mark arguments as potentially unused.
3930         
3931         * frame.c (toplevel): If inhibit_libc is defined, declare
3932         malloc and free.
3933
3934 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
3935
3936         * flow.c (make_edge): Accept an optional 2D bitmap in which
3937         to cache edge existence.  Update all callers.
3938         (make_label_edge, make_eh_edge): Pass through the edge cache.
3939         (make_edges): Provide the cache.
3940
3941 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3942
3943         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
3944         a char*.
3945         (local_mbtowc): Change the type of variable `i' from int to size_t.
3946
3947         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
3948         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
3949
3950 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
3951
3952         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
3953         after other includes that define the appropriate types.  Include
3954         tm_p.h for getting user prototypes.
3955         * ggc-callbacks.c (toplevel): Ditto.
3956         * ggc-none.c (toplevel): Ditto.
3957         * gcc-page.c (toplevel): Ditto.
3958         * ggc-simple.c (toplevel): Ditto.
3959
3960 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
3961                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
3962
3963         * config/mips/mips.c (mips_move_2words): Split doubles if
3964         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
3965
3966 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
3967
3968         * genrecog.c (struct decision_test): New.
3969         (struct decision): Remove test-related members, sort the rest by size.
3970         (IS_SPLIT): Simplify.
3971         (new_decision, new_decision_test): New.
3972         (add_to_sequence): Use them.  No special handling for args of
3973         non-MATCH codes.
3974         (maybe_both_true): Renamed from not_both_true; return sense changed.
3975         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
3976         of maybe_both_true and adjusted for decision_test.
3977         (position_merit): Remove.
3978         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
3979         (merge_accept_insn): New, broken out of merge_trees.
3980         (merge_trees): Use them.  No special case for c_test; no node
3981         splitting; use test type instead of position_merit.
3982         (factor_tests): New.
3983         (simplify_tests): New.
3984         (break_out_subroutines): Don't write code now.
3985         (find_afterward): New.
3986         (write_afterward, write_switch, write_cond): New.
3987         (write_action, is_unconditional): New.
3988         (write_node): New.  Use them.
3989         (write_tree_1): Rewrite.  Use the new functions above.
3990         (write_tree): Remove afterward processing.
3991         (write_subroutine): Simplify function variant emission.
3992         (write_subroutines): New.
3993         (same_codes, clear_codes): Remove.
3994         (same_modes, clear_modes): Remove.
3995         (write_header): New, broken out of main.
3996         (make_insn_sequence): Use new_decision and new_decision_test.
3997         (process_tree): New, broken out of main.
3998         (main): Adjust for merge_trees interface change. 
3999         Don't #define operands in the output file.
4000         (record_insn_name): New, broken out of make_insn_sequence.
4001         (debug_decision_2, debug_decision_1, debug_decision_0): New.
4002         (debug_decision): New.
4003
4004 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
4005
4006         * resource.c (find_free_register): Mark class_str argument const.
4007         * resource.h: Update prototype to match.
4008
4009         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
4010         * i386.md: Give all anonymous insns names.
4011
4012 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
4013
4014         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
4015         blocks.
4016
4017 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
4018
4019         * toplev.c (dbr_sched_time): Unconditional.
4020         (peephole2_time): New.
4021         (compile_file): Add pass numbers to all of the dump file suffixes.
4022         Dump peephole2_time.  Don't dump times for non-applicable passes.
4023         (rest_of_compilation): Add pass numbers to dump file suffixes.
4024         Conditionalize calls to the scheduler.
4025         * invoke.texi: Update.
4026
4027 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
4028
4029         * flow.c (make_edges): Fix insn iteration.
4030         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
4031         (find_basic_blocks_1): Fix spelling mistake.
4032
4033 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
4034
4035         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
4036         always have side-effects.  Use memset not bzero.
4037         (make_node): Likewise.
4038
4039 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
4040
4041         * stmt.c (expand_anon_union_decl): When any of the elements of the
4042         union is addressable, so is the entire union.
4043
4044 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
4045
4046         * sbitmap.c (sbitmap_ones): Don't set too many bits.
4047
4048         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
4049         * bitmap.c (bitmap_operation): Return true iff TO changed.
4050         (bitmap_equal_p): New.
4051         (bitmap_bit_p): Tidy arithmetic.
4052         (debug_bitmap_file): Likewise.
4053
4054 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
4055
4056         * toplev.c (rest_of_compilation): Turn on cse_not_expected
4057         before cse2 instead of after.
4058
4059 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
4060
4061         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
4062         register offsets. 
4063
4064 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4065
4066         * cppinit.c (is_idchar initializer): Loosen tests to accept
4067         gcc 2.>6 and >2.
4068
4069 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
4070
4071         * mips.md: Define conditional move patterns for floating point
4072         operands and DI mode conditions.
4073
4074 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
4075
4076         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
4077         always have side-effects.
4078
4079 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
4080
4081         * mn10200.c (asm_file_start): Fix typo.
4082
4083         * cppinit.c (is_idchar initializer): Tighten tests for when
4084         to put the table into initialized memory.
4085
4086         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
4087         not an array of rtunion.
4088         * gcc-page.c (ggc_alloc_rtvec): Similarly.
4089         * gcc-simple (ggc_free_rtvec): Similarly.
4090
4091         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
4092         of rtunions.
4093
4094         * mbchar.h: Add missing #endif.
4095
4096         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
4097         (FPBIT, DPBIT): Define.
4098
4099 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4100
4101         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
4102
4103         * profile.c (instrument_arcs, output_gcov_string,
4104         tablejump_entry_p): Add static prototypes.
4105         (output_gcov_string): Constify a char*.
4106         
4107         * regmove.c (replacement_quality, fixup_match_2): Add static
4108         prototypes.
4109
4110         * resource.h (reg_dead_p): Add extern prototype.
4111
4112         * rtl.c (trim_filename): Add static prototype.
4113
4114         * scan-decls.c (skip_to_closing_brace): Likewise.
4115
4116         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
4117         (expand_end_case): Initialize variable `range'.
4118         (emit_case_nodes): Remove unused prototype `rtx_fn'.
4119
4120         * varasm.c (asm_emit_uninitialised): Add static prototype.
4121         (asm_emit_uninitialised, assemble_variable): Mark parameter with
4122         ATTRIBUTE_UNUSED.
4123
4124 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4125
4126         * cpplib.c (if_directive_nameo): Add static prototype.
4127
4128         * cse.c (cse_insn): Remove unused variable `p'.
4129
4130         * except.c (create_rethrow_ref, push_entry,
4131         receive_exception_label, new_eh_region_entry, find_func_region,
4132         clear_function_eh_region, process_nestinfo): Add static prototypes.
4133         (get_reg_for_handler): Hide definition.
4134         (process_nestinfo): Initialize variable `extra_handlers'.
4135
4136         * expr.h (expand_builtin_longjmp): Add extern prototype.
4137
4138         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
4139
4140         * function.c (prepare_function_start): Likewise.
4141         (pop_function_context_from): Mark parameter `context' with
4142         ATTRIBUTE_UNUSED.
4143         (push_temp_slots_for_block, flush_addressof): Hide definition.
4144         
4145         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
4146         solve_program_flow_graph, calculate_branch_probs,
4147         function_summary, main, fancy_abort): Add prototypes.
4148
4149         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
4150         (add_hash): Constify a char*.
4151
4152         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
4153         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
4154         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
4155
4156         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
4157
4158         * lists.c (free_list, zap_lists): Likewise.
4159
4160 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4161
4162         * alias.c (nonlocal_reference_p): Add static prototype.
4163
4164         * bitmap.c (bitmap_element_allocate): Prototype args in function
4165         pointer cast.
4166
4167         * builtins.c (stabilize_va_list): Add static prototype.
4168         (expand_builtin_va_arg): Constify a char*.
4169         
4170         * c-lex.c (getch, put_back, extend_token_buffer_to,
4171         read_line_number, token_getch, token_put_back): Add static
4172         prototypes.
4173
4174         * c-parse.gperf (hash, is_reserved_word): Likewise.
4175
4176         * cccp.c (is_dir_separator): Likewise.
4177
4178 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4179
4180         * graph.h: New file to prototype functions exported by graph.c.
4181
4182         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
4183
4184         * graph.c: Include graph.h.
4185
4186         * toplev.c: Likewise.  Remove redundant prototypes.
4187
4188 Sat Oct  2 11:28:33 1999   Krister Walfridsson <cato@df.lth.se>
4189
4190         * invoke.texi: Removed duplicated description for -Q.
4191
4192 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
4193
4194         * extend.texi: Grammar fix in __extension__ text.
4195
4196 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
4197
4198         * md.texi (define_peephole2): New section.
4199
4200 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
4201
4202         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
4203         (mov $-1 to or peepholer): Enable for pentium when optimizing for
4204         speed.
4205
4206 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
4207
4208         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
4209
4210 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
4211
4212         * i386.md (ffs expander): Emit Pentium friendly code for
4213         TARGET_PENTIUM.
4214
4215 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
4216
4217         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES 
4218         for non-trees.
4219         (build1): Likewise.
4220         
4221 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4222
4223         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
4224
4225 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
4226
4227         * config/m68k/m68k.c (use_return_insn): Return false if the pic
4228         register is in use.
4229
4230 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4231
4232         * md.texi (No Constraints): Delete section.
4233         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
4234         * final.c (final_scan_insn): We always have register constraints.
4235         * genattrtab.c: Don't include "insn-config.h".
4236         (write_attr_case): We always have register constraints.
4237         * genconfig.c (register_constraint_flag): Delete.
4238         (walk_insn_part): Don't check whether we have register constraints.
4239         (main): Don't write out "#define REGISTER_CONSTRAINTS".
4240         * genoutput.c (have_constraints): Delete.
4241         (main): Don't set it.
4242         (output_operand_data): We always have constraints.
4243         (scan_operands): Likewise.
4244         (compare_operands): Likewise.
4245         * local-alloc.c (block_alloc): We always have constraints.
4246         (requires_inout): Always compile this function.
4247         * recog.c (extract_insn): We always have constraints.
4248         (constrain_operands, reg_fits_class_p): Always compile these
4249         functions.
4250         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
4251         fields.
4252         (struct insn_operand_data): Likewise.
4253         * regclass.c (regclass): We always have constraints.
4254         (record_reg_classes, copy_cost, record_address_regs,
4255         auto_inc_dec_reg_p): Always compile these functions.
4256         * regmove.c (regmove_optimize): We always have constraints.
4257         * reload.c (find_reloads): Likewise.
4258         * reload1.c (reload): Likewise.
4259         (reload_cse_simplify_operands): Likewise.
4260         * i860.c (output_delay_insn): Likewise.
4261
4262 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
4263
4264         * iris6.h (BUILD_VA_LIST_TYPE): Define.
4265
4266 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4267
4268         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
4269         for the va_list record.
4270
4271 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
4272
4273         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
4274         prologues.
4275
4276 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
4277
4278         * alias.c: Include insn-flags.h.
4279         * Makefile.in (alias.o): Update.
4280
4281 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
4282
4283         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
4284         to LTU and GEU.  Handle more cases using sbb.
4285
4286 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
4287
4288         * i386.md (truncatexfdf splitters): Do not use subreg.
4289         (fop XFmode patterns): Fix mode in operand testing.
4290
4291 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
4292
4293         * jump.c (jump_optimize_1): Amend last change to test only the
4294         form of the operand, not the insn.
4295
4296         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
4297         not register_operand to determine when B may need preloading.
4298
4299 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
4300
4301         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
4302         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
4303         (call-value patterns): Move to end of file.
4304         (*): Remove mode from label_ref in (pc) context.
4305         (movstrqi): Use memory not general_operand for BLKmode operands.
4306         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode 
4307         to register_operand operands.
4308         (peep2 patterns): Convert from commented-out peephole patterns.
4309
4310 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4311
4312         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
4313         to BUILT_IN_INIT_DWARF_REG_SIZES.
4314         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
4315         Renamed from BUILT_IN_DWARF_REG_SIZE; call
4316         expand_builtin_init_dwarf_reg_sizes.
4317         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
4318         with __builtin_init_dwarf_reg_size_table.
4319         * dwarf2out.c (struct reg_size_range): Delete.
4320         (expand_builtin_init_dwarf_reg_sizes): New function.
4321         (expand_builtin_dwarf_reg_size): Delete.
4322         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
4323         (expand_builtin_dwarf_reg_size): Don't declare.
4324         * libgcc2.c (dwarf_reg_size_table_initialized): New.
4325         (dwarf_reg_size_table): New.
4326         (init_reg_size_table): New function.
4327         (copy_reg): Use dwarf_reg_size_table.
4328         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
4329         before use.
4330
4331 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
4332
4333         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): 
4334         Correctly build argument list to constructor and destructor functions.
4335
4336 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
4337
4338         * c-tree.h (warn_float_equal): Declare.
4339         * c-decl.c (warn_float_equal): Define.
4340         (c_decode_option): Recognize -W[no-]float-equal.
4341         * c-typeck.c (build_binary_op): Conditionally warn
4342         about equality tests of floating point types.
4343         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
4344         * invoke.texi: Add docs for -Wfloat-equal warning.
4345
4346 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
4347
4348         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
4349         generating RTL directly.
4350         * mips.h (INIT_TARGET_OPTABS): Likewise.
4351         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
4352
4353         * expr.h (init_mov_optab): Delete declaration
4354
4355         * h8300.c (WORD_REG_USED): Update to avoid useless register
4356         saves in interrupt functions and functions which never return.
4357
4358         * cse.c (struct set): Delete inner_dest_loc field. 
4359         (cse_insn): Remove assignments to inner_dest_loc field.
4360
4361 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
4362
4363         * ggc-page.c: Don't include <unistd.h> etc taken care of
4364         by "system.h".  Include <sys/mman.h> afterward.
4365
4366 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
4367
4368         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
4369         ggc_alloc_string.
4370
4371 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
4372
4373         * xcoffout.c (xcoffout_declare_function): Add documentation.
4374         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
4375         TARGET_64BIT.  Compare constant to -1, not bit pattern.
4376         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
4377         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
4378         gen_movsi typos.
4379
4380 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
4381
4382         * dwarf2out.c (add_abstract_origin_attribute): Abort if
4383         origin_die is NULL.
4384         (gen_inlined_enumeration_type_die): Do not abort if the type has
4385         not been writeen out.
4386         (gen_inlined_structure_type_die): Do not abort if the type has
4387         not been writeen out.
4388         (gen_inlined_union_type_die): Do not abort if the type has
4389         not been writeen out.
4390         (gen_tagged_type_instantiation_die): Do not abort if the type
4391         has not been written out.
4392
4393 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4394
4395         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
4396         call it.
4397         * reg-stack.c (straighten_stack): Copy hard reg set with
4398         COPY_HARD_REG_SET.
4399
4400 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
4401
4402         * builtins.c (stabilize_va_list): Stabilize array type va_list
4403         to a pointer type, not the base record type.
4404         (expand_builtin_va_copy): Dereference the pointers explicitly;
4405         use the correct size for the copy.
4406
4407         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
4408         (rs6000_va_arg): Likewise.
4409
4410 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
4411
4412         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
4413
4414 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
4415
4416         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
4417         field.
4418         (DECL_BUILT_IN_CLASS): Adjust accordingly.
4419
4420 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
4421
4422         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
4423         (init_ggc): Use it instead of a constant.
4424         (ggc_collect): Bound allocated_last_gc by it.
4425
4426 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
4427
4428         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
4429         with va_list.
4430
4431 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
4432
4433         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
4434         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
4435         * configure:  Regen.
4436         * config/mips/openbsd.h:  New, OpenBSD little endian target.
4437         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
4438         * config/mips/xm-openbsd.h:  New, OpenBSD host.
4439
4440 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
4441
4442         * config/m68k/m68k.c (output_function_prologue,
4443         output_function_epilogue): Use
4444         current_function_uses_pic_offset_table instead of regs_ever_live
4445         to decide whether to save/restore pic register.
4446         (legitimize_pic_address): Don't modify regs_ever_live any more.
4447
4448 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
4449
4450         * function.h (struct function): Add x_dont_save_pending_sizes_p.
4451         * stor-layout.c (variable_size): Don't add sizes to the pending
4452         sizes list if x_dont_save_pending_sizes_p is set.
4453         
4454 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
4455
4456         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
4457         for symbolic_operand().
4458         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
4459
4460 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4461
4462         * combine.c (gen_rtx_combine): Add missing call to va_end().
4463
4464         * final.c (asm_fprintf): Likewise.
4465
4466         * genattrtab.c (attr_rtx): Likewise.
4467
4468 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
4469
4470         * cse.c: Update comments.
4471         (cse_insn): When converting a conditional/computed jump into
4472         an unconditional jump, always make sure a BARRIER immediately
4473         follows the converted jump.  Do not delete unreachable code.
4474         (cse_basic_block): Do not delete unreachable code.
4475         * toplev.c (rest_of_compilation): Move call to 
4476         delete_trivially_dead_insns after the conditional call to
4477         jump_optimize.
4478
4479 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4480
4481         * collect2.c (make_temp_file): Don't prototype.
4482
4483         * gcc.c (make_temp_file): Likewise.
4484
4485         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
4486
4487 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
4488
4489         * varasm.c (asm_emit_uninitialised): New function: Generate
4490         the assembler statements necessary to declare an uninitialised 
4491         variable.
4492         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
4493         variable.
4494         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
4495         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
4496         section.
4497         (assemble_variable): Use asm_emit_uninitialised to emit an
4498         uninitialised variable.
4499
4500 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
4501
4502         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
4503         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
4504         <geoffk@cygnus.com>.
4505
4506 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4507
4508         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
4509         * c-common.h (builtin_function): Don't declare.
4510
4511         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
4512         DECL_BUILT_IN.
4513         (pushdecl): Likewise.
4514         (finish_decl): Likewise.
4515         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
4516         int.  All callers changed.
4517         Set the builtin's DECL_BUILT_IN_CLASS.
4518         * tree.h (enum built_in_class): New.
4519         (enum built_in_function): Delete NOT_BUILT_IN.
4520         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
4521         in a union.
4522         (DECL_SET_FUNCTION_CODE): Likewise.
4523         (DECL_BUILT_IN_CLASS): New macro.
4524         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
4525         (struct tree_decl): Split builtin function code field into a
4526         struct.
4527         (builtin_function): Declare.
4528
4529 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
4530
4531         * optabs.c (init_traps): Fix typo in last change.
4532
4533 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
4534
4535         * toplev.c (rest_of_decl_compilation): Update comment.
4536
4537 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
4538
4539         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
4540         in .sbss if appropriate.
4541         (EXTRA_SECTION_FUNCTIONS): Add sbss.
4542         (SBSS_SECTION_ASM_OP): New macro.
4543         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
4544         (EXTRA_SECTIONS): Add in_sbss.
4545         * config/mips/mips.h: Prototype sbss_section.
4546
4547 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
4548
4549         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
4550         to disappear.
4551
4552 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
4553
4554         * optabs.c (init_traps): Register trap_rtx as a GC root.
4555
4556 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4557
4558         * config/mips/mips.c (function_arg_pass_by_reference): Define
4559         unconditionally, since it's called unconditionally.
4560
4561 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
4562
4563         * toplev.c (documented_lang_options): Add -fshort-wchar.
4564         * c-decl.c (c_decode_option): Likewise.
4565         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
4566         for wchar_t.
4567         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
4568         * gcc.c (default_compilers): If -fshort-wchar, 
4569         override __WCHAR_TYPE__.
4570         * tm.texi (C Dialect Options): Add -fshort-wchar.
4571
4572         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
4573         symbol for a variable.
4574
4575         * cpplib.h (CPP_PREPROCESSED): New macro.
4576         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
4577         we're seeing this input for a second time.
4578
4579 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
4580
4581         * emit-rtl.c (init_emit_once): Initialize modes first.
4582
4583 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
4584
4585         * config/i386/i386.c (pic_label_name): Change to char pointer.
4586         (global_offset_table): New variable.
4587         (load_pic_register): Fill global_offset_table if it hasn't
4588         already been done.  Allocate pic_label_name dynamically.
4589         * ggc.h (empty_string): New variable.
4590         * ggc-simple.c (empty_string): Likewise.
4591         (init_ggc): Allocate empty_string and add as root.
4592         * stmt.c (digit_strings): New variable.
4593         (init_stmt): Add last_block_end_note as root.  Allocate and
4594         initialize digit_strings. 
4595         (expand_asm_operands): Use empty_string instead of string
4596         constant.  Use digit_strings instead of string constants.
4597         * profile.c (init_arc_profiler): Allocate string with
4598         ggc_alloc_string instead of xmalloc.
4599         (output_func_start_profiler): Likewise.
4600         * c-typeck.c (digest_init): Check if init is error_mark_node.
4601
4602 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
4603                           Richard Henderson  <rth@cygnus.com>
4604
4605         * ggc-page.c: New file.
4606         * Makefile.in (ggc-page.o): New.
4607
4608 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
4609
4610         * invoke.texi: Document -fdelete-null-pointer-checks
4611         * toplev.c (flag_delete_null_pointer_checks): New.
4612         (f_options): Add entry for -fdelete-null-pointer-checks.
4613         (rest_of_compilation): Conditionalize null pointer check
4614         elimination on flag_delete_null_pointer_checks.
4615         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
4616
4617 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
4618
4619         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
4620         copyright notice and special exception to GPL.
4621
4622 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4623
4624         * abi64.h (mips_function_value): Add prototype arguments.
4625
4626         * mips-protos.h: New file with mips prototypes.
4627
4628         * mips.c: Include "tm_p.h".
4629         (mktemp, lookup_name): Add prototype arguments.
4630         (extern_list, string_constant, mips_fill_delay_slot,
4631         mips_output_external, mips_output_external_libcall,
4632         mips_output_filename, mips_declare_object, function_prologue,
4633         mips_expand_prologue, function_epilogue, mips16_constant,
4634         build_mips16_function_stub, mips_output_conditional_branch):
4635         Constify a char*.
4636         (mips_va_start): Remove unused variable `u'.
4637         (mips_va_arg): Cast value to unsigned when comparing against one.
4638         (trace): Delete.
4639         (save_restore_insns, mips_expand_prologue): Add missing arg in
4640         call to `large_int'.
4641
4642         * mips.h: Move prototypes to mips-protos.h.
4643         (data_section, memory_address_p, rdata_section,
4644         readonly_data_section, simple_epilogue_p, text_section): Delete
4645         prototypes delcared elsewhere.
4646         (mips_epilogue_delay_slots, print_options): Delete unused decls.
4647         (trace): Delete.
4648         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
4649
4650         * mips.md: Delete extra args in call to `mips_move_2words'.
4651
4652         * xm-iris6.h (alloca): Add prototype argument.
4653
4654         * genpeep.c: Include "tm_p.h" in generated output file.
4655
4656 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4657
4658         * basic-block.h (find_edge_index): Change parameters.
4659         * flow.c (verify_edge_list): Pass basic_block parameters to
4660         find_edge_index instead of integers.
4661
4662 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
4663
4664         * combine.c (simplify_comparison): Use an unsigned shift to adjust
4665         the constant.
4666
4667 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
4668
4669         * gcc.1: Fix a formatting error.
4670
4671 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4672
4673         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
4674         i786, mn10200, mn10300, pdp11, v850.
4675
4676 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
4677
4678         * libgcc2.c (num_digits): Add prototype with 
4679         __attribute__((const)).
4680         (__terminate): Add prototype.
4681
4682 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
4683
4684         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
4685
4686         * alpha/alpha.c (print_operand): Fix type of `code'.
4687         (alpha_output_filename): Constify.
4688         * alpha/alpha.h: Move all function declarations ...
4689         * alpha/alpha-protos.h: ... here.  New file.
4690         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
4691         (SECTION_FUNCTION_TEMPLATE): Likewise.
4692
4693 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4694
4695         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
4696         * expr.c (expand_expr): Likewise.
4697         (do_jump): Likewise.
4698         (do_store_flag): Pass ccp_store_flag to can_compare_p.
4699         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
4700         accessor macros.
4701         (enum can_compare_purpose): New.
4702         (can_compare_p): Adjust prototype.
4703         (prepare_cmp_insn, prepare_operand): Declare.
4704         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
4705         * optabs.c (cmp_available_p): Deleted.
4706         (expand_abs): Pass ccp_jump to can_compare_p.
4707         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
4708         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
4709         Call can_compare_p rather than cmp_available_p.
4710         (prepare_operand): No longer static.
4711         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
4712         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
4713         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
4714         sequence to use emit_cmp_and_jump_insns.
4715         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
4716
4717 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
4718
4719         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
4720         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
4721         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
4722         (plus (reg) (const_int 0))
4723         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
4724         
4725 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
4726
4727         * rs6000.c (expand_block_move): DImode loads and stores require
4728         word-aligned displacements.  Increment address registers with
4729         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
4730
4731 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
4732
4733         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
4734         is no name for the base type, rather than segfault.  If we are
4735         writing out a complex integer type, use DW_ATE_lo_user.
4736
4737         * expr.c (emit_move_insn_1): If we are copying a complex that fits
4738         in one word or less (complex char, complex short, or on 64 bit
4739         systems complex float) to/from a hard register, copy it through
4740         memory instead of dying in gen_{real,imag}part.  If we have a
4741         short complex type, prevent inlining since it allocates stack
4742         memory.
4743
4744         * tree.c (build_complex_type): If we are writing dwarf2 output,
4745         generate a name for complex integer types.
4746
4747 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4748
4749         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
4750         * flow.c (remove_edge): Remove extra whitespace.
4751         (remove_fake_edges): Fix comment.
4752         (add_noreturn_fake_exit_edges): Use the correct name.
4753
4754 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
4755
4756         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
4757         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
4758         (clean): Depend on INTL_CLEAN.
4759         (maintainer-clean): Adjust.
4760
4761 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4762
4763         * configure.in (AC_PREREQ): Bump to 2.13.
4764         (AC_C_STRINGIZE): Call this instead of using a custom macro.
4765
4766         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
4767
4768         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
4769
4770         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
4771
4772         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
4773         (HAVE_STRINGIZE): Define.
4774
4775 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
4776
4777         * c-parse.in: save and restore warn_pointer_arith on __extension__
4778         along with pedantic.
4779         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
4780         Set the type of extension to itype rather than $<itype>1 kludge.
4781         * extend.texi (Alternate Keywords): Adjust documentation.
4782         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
4783
4784 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
4785
4786         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
4787         most assembler templates.
4788
4789         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
4790         FP loads and stores.
4791         (following_call): Always return zero for the PA8000.
4792         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
4793         FP loads and stores.
4794         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
4795
4796         * pa.h (BRANCH_COST): Define.
4797
4798         * pa.md (return, return_internal): Use bve for PA2.0.
4799
4800         * pa.md (fused multiply): Add variants which reduce height for the
4801         fused multiply, but which still generate 2 insns.
4802         (fnegabs): Similarly.
4803
4804         * pa.md (subsi3): Turn into an expander.  Create two anonymous
4805         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
4806         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
4807
4808         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
4809         for TARGET_PA_20.
4810         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
4811         code generation.
4812         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
4813         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
4814
4815         * regclass.c (init_regs): Add "top_of_stack" as a garbage
4816         collection root.
4817
4818         * flow.c (record_active_eh_regions): Terminate loop after finding
4819         the last insn in the last basic block.
4820
4821 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4822
4823         * config/c4x/c4x.md: Delete parallel instruction peepholes.
4824
4825 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4826
4827         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
4828
4829 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4830
4831         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
4832         splitting to not use output template.
4833
4834 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4835
4836         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
4837         * config/c4x/c4x.c (c4x_va_start): New function.
4838
4839 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
4840
4841         * genrecog.c (not_both_true): Handle correctly cases when called for
4842         tests with different positions in the insn.
4843
4844 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4845
4846         * machmode.h (HOST_PTR_PRINTF): Move from here ...
4847
4848         * system.h (HOST_PTR_PRINTF): ... to here.
4849
4850         * mips-tfile.c: Don't include machmode.h.
4851
4852         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
4853         (mips-tfile.o): Don't depend on machmode.h.
4854
4855 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4856
4857         * haifa-sched.c (sched_analyze): Rename local variable `region' to
4858         avoid conflicts with typedef struct `region' at the top level scope.
4859
4860 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
4861
4862         * basic-block.h (basic_block): Add eh_beg, eh_end.
4863         * flow.c (entry_exit_blocks): Update.
4864         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
4865         Call new functions.
4866         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
4867         lists.c functions to allocate insn lists.
4868         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
4869         edge creation ...
4870         (make_eh_edge): ... here.  New.
4871         (move_stray_eh_region_notes): New.
4872         (record_active_eh_regions): New.
4873         (delete_unreachable_blocks): Split out block merging ...
4874         (try_merge_blocks): ... here.  New.
4875         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
4876         Dump debugging data.
4877         (merge_blocks_move_successor_nojumps): Likewise.
4878         (merge_blocks): Use eh_beg+eh_end to validate block movement.
4879
4880 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4881
4882         * extend.texi (Bound member functions): Document unbound pmf
4883         conversion.
4884
4885 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4886
4887         * flow.c (split_edge): Handle insertion on a fallthrough edge which
4888         has the EXIT_BLOCK as a dest.
4889
4890 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4891
4892         * flow.c (remove_edge): New function to remove an edge from the 
4893         flow graph.
4894         (remove_fake_successors): New function to remove fake successor edges.
4895         (remove_fake_edges): New function to remove all fake edges from the
4896         flow graph.
4897         (add_fake_exit_edges): New function to add fake edges from all blocks
4898         with no successors to the exit block.
4899         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add 
4900         prototypes for new functions.
4901
4902 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
4903
4904         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
4905         Use Pmode to determine whether to output .dword or .word.
4906
4907 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
4908
4909         * tree.c (built_in_filename): New variable.
4910         (BUILT_IN_FILENAME): New macro.
4911         (init_tree_codes): Allocate built_in_filename.
4912         (make_node): Use built_in_filename instead of string constant.
4913
4914 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
4915
4916         * configure.in: Add fr30 target.
4917         * configure: Regenerate.
4918         * config/fr30: New directory.
4919         * config/fr30/crti.asm: New file.
4920         * config/fr30/fr30.c: New file.
4921         * config/fr30/crtn.asm: New file.
4922         * config/fr30/fr30.h: New file.
4923         * config/fr30/fr30.md: New file.
4924         * config/fr30/lib1funcs.asm: New file.
4925         * config/fr30/t-fr30: New file.
4926         * config/fr30/xm-fr30.h: New file.
4927
4928 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
4929
4930         * flow.c (merge_blocks_move_successor_nojumps): Delete the
4931         BARRIER at the end of the successor, not the BARRIER before
4932         the successor.
4933
4934         * pa.c (pa_add_gc_roots): Fix thinko in last change.
4935
4936 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
4937
4938         * stmt.c (any_pending_cleanups): Don't crash when 
4939         current_function->stmt is unset.
4940
4941 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4942
4943         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
4944         other initializations that may use it for relative offsets.
4945
4946 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4947
4948         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
4949         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
4950         * config/i386/sol2dbg.h: Removed.
4951         * config/i386/sol2gas.h: New file, to enable gas work-around.
4952         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
4953         Don't use sol2dbg.h.
4954         * configure: Rebuilt.
4955
4956 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
4957
4958         * invoke.texi (-fthis-is-variable): Remove documentation.
4959
4960 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
4961
4962         * basic-block.h (compute_bb_for_insn): Declare.
4963         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
4964         to use; set size of basic_block_for_insn directly.
4965         (find_basic_blocks): Update.
4966
4967 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4968
4969         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
4970
4971 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4972
4973         * crtstuff.c (ON_EXIT): Delete empty macro definition.
4974         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
4975
4976 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
4977
4978         * c-decl.c (c_decode_option): Extend comment.
4979
4980 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
4981
4982         * toplev.c (progname): Make 'const char *'
4983         (flag_print_mem): Move out of main.
4984         (version_flag): Move out of main.
4985         (filename): Move out of main.
4986         (debug_args): Remove g prefix from options.
4987         (documented_lang_options): Remove cpplib specific options.
4988         (display_help): Add g prefix to debug options.
4989         (check_lang_option): Delete this function.
4990         (decode_d_option): New function: Decode -d... option.
4991         (decode_f_option): New function: Decode -f... option.
4992         (decode_W_option): New function: Decode -W... option.
4993         (decode_g_option): New function: Decode -g... option.
4994         (independent_decode_option): New function: Decode a language
4995         independent command line option.
4996         (main): Invoke lang_decode_option and then
4997         independent_decode_option on each command line option in
4998         turn. 
4999
5000 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
5001
5002         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
5003          * fold-const.c (fold_range_test): Do not try to fold the range
5004          test if the rhs or lhs has side effects.
5005
5006         * basic-block.h (compute_flow_dominators): Declare.
5007
5008         * gcse.c (alloc_code_hoist_mem): New function.
5009         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
5010         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
5011         (hoist_code, one_code_hoisting_pass): Likewise.
5012         (gcse_main): If optimizing for size, then hoist expressions
5013         computed in multiple dominated basic blocks.
5014
5015         * gcse.c (invalid_nonnull_info): New function.
5016         (delete_null_pointer_checks): Likewise.
5017         * rtl.h (delete_null_pointer_checks): Declare.
5018         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
5019
5020         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
5021         (merge-blocks_move_successor_nojumps): Likewise.
5022         (merge_blocks): Allow merging of some blocks, even if it requires
5023         physical movement of the blocks, but not if it requires new jumps.
5024
5025         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
5026         Callers and prototype changed.
5027         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
5028
5029 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5030
5031         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
5032         -YP when both -p and -pg are present.  From i386/sol2.h.
5033
5034 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5035
5036         * Makefile.in (distclean): Delete tm_p.h.
5037         * configure.in: Create a new file, "tm_p.h", from a list in
5038         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
5039         "i386/i386-protos.h".
5040
5041         * alias.c: Include "tm_p.h".
5042         * c-typeck.c: Likewise.
5043         * calls.c: Likewise.
5044         * cse.c: Likewise.
5045         * emit-rtl.c: Likewise.
5046         * explow.c: Likewise.
5047         * expmed.c: Likewise.
5048         * expr.c: Likewise.
5049         * final.c: Likewise.
5050         * flow.c: Likewise.
5051         * fold-const.c: Likewise.
5052         * function.c: Likewise.
5053         * gcse.c: Likewise.
5054         * global.c: Likewise.
5055         * haifa-sched.c: Likewise.
5056         * integrate.c: Likewise.
5057         * jump.c: Likewise.
5058         * local-alloc.c: Likewise.
5059         * loop.c: Likewise.
5060         * optabs.c: Likewise.
5061         * recog.c: Likewise.
5062         * reg-stack.c: Likewise.
5063         * regclass.c: Likewise.
5064         * regmove.c: Likewise.
5065         * reload.c: Likewise.
5066         * reload1.c: Likewise.
5067         * reorg.c: Likewise.
5068         * resource.c: Likewise.
5069         * stmt.c: Likewise.
5070         * stor-layout.c: Likewise.
5071         * toplev.c: Likewise.
5072         * tree.c: Likewise.
5073         * unroll.c: Likewise.
5074         * genattrtab.c (main): Make generated file include "tm_p.h".
5075         * genemit.c (main): Likewise.
5076         * genoutput.c (main): Likewise.
5077         * genrecog.c (main): Likewise.
5078
5079         * i386.h: Delete all prototypes.
5080         * i386.c: Include "tm_p.h".
5081         (ix86_attr_length_default): Call constant_call_address_operand
5082         with correct number of arguments.
5083         * i386-protos.h: New file.
5084         * i386.md (unnamed patterns): Call constant_call_address_operand
5085         with correct number of arguments.
5086         (exception_receiver): Call load_pic_register with correct number
5087         of arguments.
5088
5089 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
5090
5091         * c-pragma.c (mark_align_stack): Dereference the void* properly.
5092
5093 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
5094
5095         * rtl.h (insns_safe_to_move_p): New function.
5096         * loop.c (find_and_verify_loops): Use it.
5097         * rtlanal.c (insns_safe_to_move_p): Define it.
5098
5099 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
5100
5101         * c-pragma.c: Include ggc.h.
5102         * Makefile.in (c-pragma.o): Update.
5103
5104 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5105
5106         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
5107         (LIB_SPEC): Likewise.
5108         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
5109         Reindent -YP/-p/-pg.
5110         Copied from config/sparc/sol2.h.
5111
5112 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
5113
5114         * c-pragma.c (mark_align_stack): New.
5115         (init_pragma): New.
5116         * c-pragma.h (init_pragma): Declare it.
5117         * c-lex.c (init_parse): Call it.
5118
5119 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5120
5121         * configure.in: Pick up thread library on Solaris/x86 just
5122         like on Solaris/sparc.
5123         * configure: Rebuilt.
5124
5125 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
5126
5127         * rtl.h (global_rtx_index): New enum.
5128         (global_rtl): Change to array of rtx.
5129         (pc_rtx, cc0_rtx): Redefine accordingly.
5130         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
5131         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
5132         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
5133         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
5134         (const_int_rtx): Change to array of rtx.
5135         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
5136         accordingly. 
5137         * emit-rtl.c (global_rtl): Change to array of rtx.
5138         (const_int_rtx): Change to aray of rtx.
5139         (gen_rtx_CONST_INT): Redefine accordingly.
5140         (init_emit_once): Allocate and initialize global_rtl.  Likewise
5141         for const_int_rtx.  Add both as GC roots.
5142         * genattrtab.c (global_rtl): Update declaration.
5143
5144 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
5145
5146         * Makefile (USER_H): Add iso646.h back.
5147
5148 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
5149
5150         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
5151         zapping the LOG_LINKS of sched_before_next_call.
5152
5153         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
5154         * pa.c (insn_refs_are_delayed): Renamed from
5155         insn_sets_and_refs_are_delayed.
5156
5157 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
5158
5159         * functiion.h (struct function): Add x_whole_function_mode_p.
5160         (retrofit_block): Declare.
5161         * function.c (retrofit_block): New function.
5162         (identify_blocks): Add assertions.  Allow an incomplete set of
5163         block notes if we're still generating code for the function.
5164         * integrate.c: Include loop.h.
5165         (expand_inline_function): Call find_loop_tree_blocks to map block
5166         notes to blocks when in whole-function mode.  Use retrofit_block
5167         to insert new BLOCKs for the inlined function, rather than
5168         insert_block.
5169         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
5170         * Makefile.in (integrate.o): Depend on loop.h.
5171
5172 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
5173
5174         * tree.h (warn_about_unused_variables): Declare.
5175         * stmt.c (warn_about_unused_variables): New function, split out
5176         from ...
5177         (expand_end_bindings): Here.
5178
5179 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
5180
5181         * stmt.c (preserve_subexpressions_p): Don't crash when
5182         current_function->stmt is unset.
5183
5184 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
5185
5186         * stmt.c (expand_start_bindings): Allow callers to pass a flag
5187         indicating that no NOTE_INSN_BLOCK_BEG note is required.
5188         (expand_start_target_temps): Use it.
5189         * except.c (expand_eh_region_start_for_decl): Likewise.
5190         * expr.c (expand_expr): Likewise.
5191
5192 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
5193
5194         * fold-const.c (operand_equal_p): Pay attention to side effects.
5195
5196 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
5197
5198         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
5199         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
5200
5201         * tlink.c (scan_linker_output): Look for keywords before accepting
5202         a mangled name in quotes.
5203
5204 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
5205
5206         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
5207         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
5208
5209 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
5210
5211         * alpha.md: Revert Thu Nov 26 change that came in through the
5212         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
5213         Avoid earlyclobber when possible.
5214
5215 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5216
5217         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
5218
5219         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
5220         Define HAVE_ON_EXIT.
5221
5222 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5223
5224         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
5225         CTYPE_CONV in all ctype macros.
5226
5227         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
5228         from system.h.
5229
5230         * cexp.y (initialize_random_junk): Likewise.
5231
5232         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
5233
5234         * i370.c (handle_pragma): Likewise.
5235
5236         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
5237
5238         * v850.c (override_options): Likewise.
5239
5240         * doprint.c (_doprnt): Likewise.
5241
5242         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
5243         Likewise.
5244
5245         * fixinc/server.c (load_data): Likewise.
5246
5247         * fold-const.c (real_hex_to_f): Likewise.
5248
5249         * genattr.c (write_upcase, gen_attr): Likewise.
5250
5251         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
5252         write_upcase): Likewise.
5253
5254         * genemit.c (print_code): Likewise.
5255
5256         * genopinit.c (gen_insn): Likewise.
5257
5258         * genpeep.c (print_code): Likewise.
5259
5260         * genrecog.c (print_code): Likewise.
5261
5262         * optabs.c (init_libfuncs): Likewise.
5263
5264 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
5265
5266         * haifa-sched.c (sched_analyze): Keep the list of notes organized
5267         in pairs.
5268         (reemit_notes): Likewise.
5269
5270 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
5271
5272         * ggc.h (ggc_root): Move to ggc-common.c.
5273         (roots): Remove.
5274         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
5275         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
5276         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
5277         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
5278         * ggc-common.c (ggc_root): Move from ggc.h.
5279         (roots): Declare, static.
5280         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
5281         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
5282         null or check/set mark bit.
5283         (ggc_mark_roots): New.
5284         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
5285
5286 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
5287
5288         * m32r.c: Include toplev.h.
5289         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
5290         (gen_compare): Rename swap_p to must_swap to match uses.
5291         Add default abort case.
5292         (m32r_output_function_epilogue): Remove unused variables.
5293         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
5294         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
5295         define to empty parameter list.  Update all uses.
5296         (predicate decls): Use enum machine_mode not int.
5297         * m32r.md (movsi): Call abort, not fatal_insn.
5298         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
5299
5300 1999-09-14  Andrew Haley  <aph@cygnus.com>
5301
5302         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
5303         use $0 instead of 0.
5304
5305 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5306
5307         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
5308         computation out of loop over hard regs.
5309
5310 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
5311
5312         * function.c (identify_blocks): Don't shadow a variable in an 
5313         outer scope.
5314         * integrate.c (integrate_decl_tree): Don't use pushlevel,
5315         pushdecl, or poplevel to build up the new BLOCK tree.
5316         (expand_inline_function): Likewise.
5317         (integrate_parm_decls): Likewise.
5318
5319 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
5320
5321         * c-typeck.c (qualify_type): Merge qualifiers from both types.
5322
5323 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
5324
5325         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
5326         * invoke.texi: Document this change.
5327
5328 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
5329
5330         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
5331         Free the struct.
5332         (mark_emit_status): Renamed from mark_emit_state.
5333         * except.c (mark_eh_status): Renamed from mark_eh_state.
5334         Check not null before marking.
5335         (free_eh_status): New.
5336         * expr.c (mark_expr_status, free_expr_status): New.
5337         * function.c (free_machine_status): New.
5338         (free_after_parsing): New.
5339         (free_after_compilation): Move bits to free_after_parsing; call
5340         free_eh_status, free_expr_status; zero the marked members of the
5341         function state.
5342         (prepare_function_start): No can_garbage_collect. 
5343         Call init_eh_for_function.
5344         (expand_dummy_function_end): Free up current_function state.
5345         (mark_function_status): Renamed from mark_function_state.
5346         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
5347         * function.h (struct function): No can_garbage_collect.
5348         (free_machine_status, free_after_parsing): Declare.
5349         (free_eh_status, free_expr_status): Declare.
5350         * ggc.h (mark_expr_status): Declare.
5351         * stmt.c (free_stmt_status): Free the struct.
5352         (mark_stmt_status): Renamed from mark_stmt_state.
5353         (init_stmt): Don't call init_eh.
5354         (init_stmt_for_function): Don't call init_eh_for_function.
5355         * toplev.c (compile_file): Call init_eh.
5356         (rest_of_compilation): Free basic block info before ggc_collect.
5357         Call free_after_parsing; conditionally call free_after_compilation.
5358         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
5359         Check not null before marking.
5360         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
5361
5362 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
5363
5364         * c-lex.c (yylex): Initialize warn.
5365
5366 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
5367
5368         * pa.c (emit_move_sequence): Properly set the mode of the scratch
5369         register when performing secondary reloads for the SAR register.
5370
5371 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
5372
5373         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
5374         (NOTE_BLOCK): New macro.
5375         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
5376         * function.h (identify_blocks): Change prototype.
5377         * function.c (identify_blocks): Simplify.
5378         (reorder_blocks): Likewise.
5379         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a 
5380         NOTE_INSN_BLOCK_{BEG,END}.
5381         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
5382         the list of saved notes if the note isn't a
5383         NOTE_INSN_BLOCK_{BEG,END}.
5384         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
5385         NOTE_BLOCK_NUMBER.
5386         (reemit_notes): Adjust recreation of notes to reflect new saved
5387         note structure.
5388         * print-rtl.c (print_rtx): Print the address of the BLOCK when
5389         printing a block note.
5390         * stmt.c (block_vector): Remove.
5391         (find_loop_tree_blocks): Simplify.
5392         (unroll_block_trees): Likewise.
5393         * tree.h (reorder_block): Change prototype.
5394         
5395 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
5396
5397         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
5398         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
5399         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
5400         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
5401         (atexit, exit): Simplify.
5402         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
5403         * config/lots: Remove defns of HAVE_ATEXIT.
5404
5405 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
5406
5407         * calls.c (precompute_arguments): Fix typo in comment.
5408         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
5409         TARGET_EXPR.
5410
5411 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
5412
5413         * dsp16xx.c (override_options): Fix typos in GC root registration.
5414
5415 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
5416
5417         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
5418         from config/svr4.h.
5419         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
5420         (FUNCTION_PROFILER): Redefine appropriately for Linux.
5421         (CC1_SPEC): Likewise.
5422
5423 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5424
5425         * genattr.c (main): Add extern prototype.  Call return, not exit.
5426         * genattrtab.c (main): Likewise.
5427         * gencheck.c (main): Likewise.
5428         * gencodes.c (main): Likewise.
5429         * genconfig.c (main): Likewise.
5430         * genemit.c (main): Likewise.
5431         * genextract.c (main): Likewise.
5432         * genflags.c (main): Likewise.
5433         * gengenrtl.c (main): Likewise.
5434         * genopinit.c (main): Likewise.
5435         * genoutput.c (main): Likewise.
5436         * genpeep.c (main): Likewise.
5437         * genrecog.c (main): Likewise.
5438         
5439         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
5440         * genattrtab.c (get_insn_name): Likewise.
5441         * gencodes.c (get_insn_name): Likewise.
5442         * genconfig.c (get_insn_name): Likewise.
5443         * genemit.c (get_insn_name): Likewise.
5444         * genextract.c (get_insn_name): Likewise.
5445         * genflags.c (get_insn_name): Likewise.
5446         * genopinit.c (get_insn_name): Likewise.
5447         * genpeep.c (get_insn_name): Likewise.
5448         
5449         * gencheck.c (usage): Add static prototype.
5450         * genextract.c (print_path): Constify a char*.
5451         * genopinit.c (optabs): Likewise.
5452         * genoutput.c (operand_data, data, output_predicate_decls,
5453         compare_operands): Likewise.
5454         * genrecog.c (write_tree): Add default case in switch.
5455
5456 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5457
5458         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
5459
5460         * print-rtl.c (get_insn_name): Remove prototype.
5461
5462         * toplev.h (progname): Declare const.
5463
5464         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
5465         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
5466         dump_sched_info, dump_local_alloc, regset_release_memory,
5467         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
5468         error_with_file_and_line, error_with_decl, error_for_asm, error,
5469         fatal, warning_with_file_and_line, warning_with_decl, warning,
5470         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
5471         Remove redundant prototypes.
5472
5473         (notice, check_lang_option, report_file_and_line, vnotice,
5474         mark_file_stack): Add static prototype.
5475         (set_fatal_function): Add prototype.
5476         (vnotice, report_file_and_line, set_fatal_function,
5477         check_lang_option): Constify a char*.
5478         (main): Prototype.  Call return, not exit.
5479
5480 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5481
5482         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
5483
5484         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
5485
5486         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
5487
5488         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
5489
5490 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5491
5492         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
5493         behave as if it's zero in all cases.
5494         (expand_function_start): Adjust call to assign_parms.
5495         * tree.h (assign_parms): Adjust prototype.
5496         * objc/objc-act.c (hack_method_prototype): Adjust call to
5497         assign_parms.
5498
5499 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
5500
5501         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
5502         arg_pointer_rtx fixed if the argument pointer register is
5503         not fixed.
5504         (NONZERO_BASE_PLUS_P): Likewise.
5505
5506 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
5507
5508         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
5509         match_insn2 to match_insn.
5510         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
5511
5512 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
5513
5514         * Makefile.in (USER_H): Remove va-foo.h.
5515
5516         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
5517         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
5518         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
5519         va-spur.h,va-v850.h}: Remove.
5520
5521 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
5522
5523         * sparc/sparc.md (eligible_for_return_delay): New attribute.
5524         (in_return_delay): Use it instead of match_insn.
5525
5526 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5527
5528         * config/alpha/va_list.h (va-alpha.h): Do not include.
5529         (__gnuc_va_list): Typedef as in varargs.h.
5530
5531 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
5532
5533         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
5534         DECL_LIVE_RANGE_RTL.
5535
5536 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
5537
5538         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
5539         not NOTE_BLOCK_NUMBER.
5540         (expand_eh_region_end): Likewise.
5541         (find_exception_handler_labels): Likewise.
5542         (scan_region): Likewise.
5543         (exception_optimize): Likewise.
5544         (update_rethrow_references): Likewise.
5545         (set_insn_eh_region): Likewise.
5546         * final.c (final_scan_insn): Likewise.
5547         * flow.c (make_edges): Likewise.
5548         * integrate.c (expand_inline_function): Likewise.
5549         * print-rtl.c (print_rtx): Likewise.
5550
5551 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
5552
5553         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
5554         terms of builtin functions and types.
5555
5556         * mips.c (mips_build_va_list): New.
5557         (mips_va_start, mips_va_arg): New.
5558         * mips.h (BUILD_VA_LIST_TYPE): New.
5559         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5560
5561         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
5562         (sh_build_va_list, sh_va_start, sh_va_arg): New.
5563         * sh.h (BUILD_VA_LIST_TYPE): New.
5564         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5565
5566 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
5567
5568         * recog.h (struct recog_data): Make dup_num, operand_address_p,
5569         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
5570         (struct insn_data): Likewise with n_operands, n_dups, 
5571         n_alternatives, output_format.
5572         * regclass.c (scan_one_insn): Cast n_operands to int before
5573         arithmetic inside comparison.
5574
5575 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
5576
5577         * toplev.c (compile_function): Unconditionally emit nop.
5578
5579 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5580
5581         * haifa-sched.c (actual_hazard): Move declaration of variable
5582         `this_cost' into the scope where it is used.
5583
5584 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5585
5586         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
5587         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
5588         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
5589
5590         * genrecog.c (make_insn_sequence): Call memset, not bzero.
5591
5592         * jump.c (find_insert_position): Don't declare or define unless
5593         !HAVE_conditional_arithmetic.
5594         (returnjump_p_1, delete_prior_computation): Add static prototypes.
5595
5596         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
5597         
5598         * recog.c (offsettable_address_p): Prototype function pointer.
5599         (preprocess_constraints): Call memset, not bzero.
5600         
5601         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
5602         (gcc_obstack_init): Don't declare.
5603         (fix_sizetype): Add static prototype.
5604         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
5605         (tree_cons): Call memset, not bzero.
5606
5607         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
5608         definition in macro ASM_WEAKEN_LABEL.
5609         (mark_const_hash_entry): Add static prototype.
5610
5611 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5612
5613         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
5614
5615         * unroll.c (find_common_reg_term, subtract_reg_term,
5616         loop_find_equiv_value): Add static prototypes.
5617         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
5618         (copy_loop_body): Remove unreachable break statement.
5619         
5620         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
5621
5622         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
5623         
5624 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5625
5626         Undo some changes from the gcc2 merge:
5627         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
5628         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
5629         pointers.
5630
5631         Undo this change:
5632         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
5633         * emit-rtl.c (gen_lowpart_common): Disable optimization of
5634         initialized float-int union if the value is a NaN.
5635
5636 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5637
5638         * gthr-win32.h: New file.
5639
5640         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
5641         shared as a valid attribute.
5642         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
5643         * extend.texi: Document `shared' variable attribute.
5644
5645 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
5646
5647         * configure.in: Handle --enable-threads on FreeBSD.
5648         * configure: Rebuit.
5649
5650 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5651
5652         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add 
5653         thread support.
5654         * configure: Rebuilt.
5655
5656 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
5657                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
5658                           Rosimildo DaSilva <rdasilva@connecttel.com>
5659
5660         * configure.in (m68k-*-rtemscoff*): Added.
5661         * configure.in (mips64orion-*-rtems*): Converted to ELF.
5662         * configure.in (sparc-*-rtemsaout*): Added as alias for old
5663         sparc-rtems configuration.
5664         * configure.in (sparc-*-rtemself*): Added.
5665         * configure.in (sparc-*-rtems*): Now ELF not a.out.
5666         * config/i386/rtems.h: Added comment.
5667         * config/sparc/rtemself.h: New file.
5668
5669         * configure.in (m68k-rtemself): Added.
5670         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
5671         and DWARF_DEBUGGING_INFO.
5672         * config/m68k/crti.s: New file.
5673         * config/m68k/crtn.s: New file.
5674         * config/m68k/t-crtstuff: New file.
5675         * config/m68k/rtemself.h: New file.
5676
5677         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
5678         global ctor/dtor and C++ exception handling.
5679         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
5680         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
5681         ENDFILE_SPEC.
5682         * config/i386/t-rtems-i386: New File.
5683
5684 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
5685
5686         * stmt.c (expand_end_case): Return right away if the case stack is
5687         empty.
5688
5689 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
5690
5691         * Makefile.in (version.c): Remove rule incorrectly brought in from
5692         the gcc2 merge.
5693
5694 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
5695
5696         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
5697         * msdos/top.sed:  Take into account a prepended $(SHELL) to
5698         move-if-change.
5699         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
5700
5701         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
5702
5703 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5704
5705         * regmove.c (fixup_match_1): Don't change an unchanging register.
5706         (stable_but_for_p): Renamed to:
5707         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
5708         Changed all callers.
5709
5710 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
5711
5712         * loop.c (strength_reduce): Don't call reg_used_between_p if the
5713         insn from BL2 is after the insn from BL.
5714
5715 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
5716
5717         * recog.h (INSN_OUTPUT_FORMAT_*): New.
5718         (struct insn_data): Merge `template' and `outfun' into `output'.
5719         Add `output_format'.
5720         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
5721         (struct data): Remove `outfun'; add `output_format'.
5722         (name_for_index): Remove declaration.
5723         (output_insn_data): Handle output formats.
5724         (process_template): Emit the bare array for @.
5725         (gen_expand, gen_split): Set output_format to NONE.
5726         * output.h (get_insn_template): Declare.
5727         * final.c (get_insn_template): New.
5728         (final_scan_insn): Use it.
5729         * toplev.c (compile_file): Likewise.
5730
5731         * c4x/c4x.c (c4x_process_after_reload): Likewise.
5732         * i860/i860.c (output_delayed_branch): Likewise.
5733         (output_delay_insn): Likewise.
5734
5735 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5736
5737         * rtl.c (obstack_alloc_rtx): Removed.
5738
5739 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
5740
5741         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
5742
5743 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
5744
5745         * i386.c (call_insn_operand): Reject const_int.
5746         (expander_call_insn_operand): Use call_insn_operand.
5747
5748 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5749
5750         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
5751
5752 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
5753
5754         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
5755         Use DImode operation.
5756
5757 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
5758
5759         * gcc.c: Include sys/resource.h.
5760         (report_times): New flag.
5761         (execute):  If report_times is set, calculate and report the
5762         CPU time consumed by each subprocess.
5763
5764         (rus, prus): New globals.
5765         (option_map): Add --time.
5766         (display_help): Document -time.
5767         (process_command): Set report_times if -time is given.
5768         Turn off -pipe if -time is given.
5769
5770         * invoke.texi: Document new option -time.
5771
5772         * configure.in: Check for getrusage.  Check if we have to
5773         prototype getrusage.
5774         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
5775         * configure: Regenerate.
5776         * config.in: Regenerate.
5777
5778 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
5779
5780         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
5781         fields.
5782
5783 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
5784
5785         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
5786         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
5787         (nan): Return _thenan_sf or _thenan_df as appropriate.
5788         (L_thenan_sf): Define _thenan_sf.
5789         (L_thenan_df): Define _thenan_df.
5790
5791         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
5792         (DPBIT_FUNCS): Add _thenan_df.
5793
5794 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
5795
5796         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
5797         TYPE_SIZE_UNIT.
5798
5799 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5800
5801         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
5802
5803         * gcc.h: New file.
5804         (lang_specific_driver): Don't take a function pointer parameter.
5805         All callers changed.
5806
5807         * gcc.c: Include gcc.h.
5808         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
5809         lang_specific_extra_outfiles, fatal): Don't declare.
5810         (multilib_defaults_raw): Constify.
5811         (read_specs): Call memset, rather than bzero.
5812         (main): Call return, not exit.
5813         (lookup_compiler): Call memcpy, not bcopy.
5814         (fatal): Make extern.
5815
5816         * cppspec.c: Include gcc.h.
5817         (lang_specific_driver): Initialize variable `quote'.  Constify a
5818         char*.  All calls to the function pointer parameter now
5819         explicitly call `fatal'.
5820
5821         * gccspec.c (lang_specific_driver): Include gcc.h.
5822
5823 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
5824
5825         * arm.c (note_invalid_constants): Use recog_data.operand_type
5826         for recog_op_type.
5827
5828 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5829
5830         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
5831         Declare.
5832
5833         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
5834         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
5835         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
5836         reload_secondary_in_reload, reload_secondary_out_reload,
5837         reload_secondary_in_icode, reload_secondary_out_icode,
5838         reload_reg_rtx, reload_when_needed): Delete declarations.
5839         (struct reload): New structure.
5840         (rld): Declare new array.
5841         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
5842         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
5843         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
5844         reload_secondary_in_reload, reload_secondary_out_reload,
5845         reload_secondary_in_icode, reload_secondary_out_icode,
5846         reload_reg_rtx, reload_when_needed): Delete definitions.
5847         (rld): New array.
5848         (whole file): Replace uses of the deleted arrays with uses of rld.
5849         * reload1.c (whole file): Replace uses of the deleted arrays with
5850         uses of rld.
5851         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
5852         explicit loops, not with bcopy.
5853
5854 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
5855
5856         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
5857         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
5858         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
5859         insn_name): Delete and consolidate into new structures.
5860         (insn_operand_predicate_fn): New.
5861         (insn_output_fn): New.
5862         (insn_gen_fn): New.
5863         (struct insn_operand_data): New.
5864         (struct insn_data): New.
5865         (insn_data): New.
5866         (OUT_FCN): Update for insn_data change.
5867         * builtins.c (expand_builtin_strlen): Likewise.
5868         (expand_builtin_memcmp): Likewise.
5869         * combine.c (make_extraction, simplify_comparison): Likewise.
5870         * cse.c (canon_reg, cse_insn): Likewise.
5871         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
5872         * expmed.c (store_bit_field, extract_bit_field): Likewise.
5873         (emit_store_flag): Likewise.
5874         * expr.c (convert_move, emit_block_move): Likewise.
5875         (clear_storage, emit_push_insn, expand_increment): Likewise.
5876         (do_store_flag): Likewise.
5877         * expr.h (GEN_FCN): Likewise.
5878         (insn_gen_function): Die.
5879         * final.c (final_scan_insn): Update for insn_data change.
5880         (output_asm_name): Likewise.
5881         * function.c (fixup_var_refs_1): Likewise.
5882         * loop.c (check_dbra_loop): Likewise.
5883         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
5884         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
5885         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
5886         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
5887         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
5888         * regmove.c (gen_add3_insn): Likewise.
5889         * reload.c (push_secondary_reload, combine_reloads): Likewise.
5890         (find_reloads, find_reloads_address_1): Likewise.
5891         (debug_reload_to_stream): Likewise.
5892         * reload1.c (emit_reload_insns, gen_reload): Likewise.
5893         * stmt.c (expand_end_case): Likewise.
5894         * toplev.c (compile_file): Likewise.
5895
5896         * c4x/c4x.c (c4x_process_after_reload): Likewise.
5897         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
5898
5899         * print-rtl.c (insn_name_ptr): Remove declaration.
5900         (get_insn_name): Declare.
5901         (print_rtx): Use it.
5902         * genoutput.c (insn_name_ptr): Remove.
5903         (next_operand_number): New.
5904         (struct operand_data): New.
5905         (null_operand, odata, odata_end): New.
5906         (struct data): Use struct operand_data.
5907         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
5908         (get_insn_name): Renamed from name_for_index.
5909         (output_prologue): Define NO_MD_PROTOTYPES.
5910         (output_predicate_decls): Break out from output_epilogue.
5911         Iterate over the operands list.
5912         (output_operand_data): Break out from output_epilogue.  Emit
5913         just the operands list.
5914         (output_insn_data): Break out from output_epilogue.  Emit just
5915         the insn data.
5916         (output_epilogue): Remove.
5917         (output_get_insn_name): New.
5918         (constraints, op_n_alternatives, predicates, address_p): Die.
5919         (modes, strict_low, seen): Die.
5920         (scan_operands): Take new param `d' instead of writing to 
5921         seven global variables.
5922         (compare_operands): New.
5923         (place_operands): New.
5924         (validate_insn_alternatives): Update for struct data change.
5925         (gen_insn): Don't zero or copy 7 global arrays.  Update for
5926         scan_operands; call place_operands.
5927         (gen_peephole, gen_expand, gen_split): Likewise.
5928         (main): Update for new output routines.
5929
5930         * genattr.c (insn_name_ptr): Remove.
5931         (get_insn_name): New function.
5932         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
5933         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
5934         * genrecog.c: Likewise.
5935
5936         * alpha.md (adddi3): Make `pattern' array static.
5937
5938 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5939
5940         * config/c4x/c4x.h (c4x_rpts_cycles_string,
5941         c4x_cpu_version_string): Constify char *.
5942         * config/c4x/c4x.c (c4x_rpts_cycles_string,
5943         c4x_cpu_version_string): Likewise.
5944
5945 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
5946
5947         * tree.c (save_tree_status): Revert 10 Sep change.
5948         (restore_tree_status): Likewise.  Call obstack_free with NULL 
5949         before freeing the obstack proper.
5950
5951 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
5952
5953         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
5954
5955         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
5956         surrounding context.
5957
5958 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
5959
5960         * tree.c (type_hash_canon): Put all types in the hash-table, when
5961         GC'ing.
5962
5963 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
5964
5965         * recog.h (struct recog_data, recog_data): New.
5966         (recog_foo variables): Kill.
5967         * recog.c (recog_operand, recog_operand_loc): Kill.
5968         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
5969         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
5970         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
5971         (recog_data): Define.
5972         (extract_insn): Update all recog_foo references to use recog_data.
5973         (preprocess_constraints, constrain_operands): Likewise.
5974         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
5975         * genattrtab.c (main): Likewise.
5976         * genextract.c (main): Likewise.
5977         * genoutput.c: Likewise.
5978         * genrecog.c (write_subroutine, main): Likewise.
5979         * local-alloc.c (block_alloc): Likewise.
5980         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
5981         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
5982         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
5983         * reload.c (find_reloads, find_reloads_toplev): Likewise.
5984         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
5985         (reload_cse_simplify_operands): Likewise.
5986
5987         * arc/arc.c (arc_final_prescan_insn): Likewise.
5988         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
5989         * h8300/h8300.c (notice_update_cc): Likewise.
5990         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
5991         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
5992         * mn10200/mn10200.c (notice_update_cc): Likewise.
5993         * mn10300/mn10300.c (notice_update_cc): Likewise.
5994         * romp/romp.c (update_cc): Likewise.
5995         * sparc/sparc.c (check_pic): Likewise.
5996         * v850/v850.c (notice_update_cc): Likewise.
5997
5998         * genemit.c (main): Don't declare recog_operand.
5999
6000 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
6001
6002         * ggc.h (rtvec_def): Forward declare.
6003         (tree_node): Likewise.
6004         (ggc_root): Define.
6005         (roots): Declare.
6006         (ggc_set_mark_rtx): Add prototype.
6007         (ggc_set_mark_rtvec): Likewise.
6008         (ggc_set_mark_tree): Likewise.
6009         * ggc-simple.c (ggc_root): Don't define.
6010         (roots): Don't declare.
6011         (ggc_mark_rtx): Remove.
6012         (ggc_mark_rtvec): Likewise.
6013         (ggc_mark_tree): Likewise.
6014         (ggc_mark_varray): Likewise.
6015         (ggc_mark_tree_hash_table_entry): Likewise.
6016         (ggc_mark_tree_hash_table): Likewise.
6017         (ggc_set_mart_rtx): New function.
6018         (ggc_set_mark_rtvec): Likewise.
6019         (ggc_set_mark_tree): Likewise.
6020         (ggc_add_root): Remove.
6021         (ggc_add_rtx_root): Likewise.
6022         (ggc_remove_tree_root): Likewise.
6023         (ggc_add_string_root): Likewise.
6024         (ggc_add_tree_varray_root): Likewise.
6025         (ggc_add_tree_hash_table_root): Likewise.
6026         (ggc_del_root): Likewise.
6027         (ggc_mark_rtx_ptr): Likewise.
6028         (ggc_mark_tree_ptr): Likewise.
6029         (ggc_mark_string_ptr): Likewise.
6030         (ggc_mark_tree_varray_ptr): Likewise.
6031         (ggc_mark_tree_hash_table_ptr): Likewise.
6032         * ggc-common.c: New file.
6033         * Makefile.in (OBJS): Add ggc-common.o.
6034         (ggc-common.o): List dependencies.
6035
6036 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
6037
6038         * cppalloc.c (xstrdup): Use memcpy.
6039         * cpperror.c (cpp_print_containing_files): Don't use
6040         cpp_notice.
6041         * cpplib.c (conditional_skip): Set temp->lineno.
6042         (do_endif): Make error message less obscure.
6043         (if_directive_name): New function.
6044         (cpp_get_token [case EOF]): Unwind the if stack and generate
6045         error messages for each unterminated conditional in this file.
6046         (parse_string):  Do not behave differently if -traditional.
6047
6048 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
6049
6050         * builtins.c (expand_builtin_va_arg): Cope with an array-type
6051         va_list decomposing to pointer-type.
6052         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
6053         (rs6000_va_arg): Likewise.
6054
6055 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
6056
6057         * except.c (start_dynamic_handler): Compute size using
6058         STACK_SAVEAREA_MODE.
6059
6060 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6061
6062         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
6063         include directory headers.  Don't define strrchr.  Don't provide
6064         my_* replacement functions.  Prefer PTR over `pointer_type'.
6065         Don't prototype system functions.  Don't redefine getopt.
6066
6067         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
6068         safe_read, safe_write, save_pointers, restore_pointers,
6069         is_id_char, in_system_include_dir, directory_specified_p,
6070         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
6071         find_corresponding_lparen, referenced_file_is_newer,
6072         save_def_or_dec, munge_compile_params, gen_aux_info_file,
6073         process_aux_info_file, identify_lineno, check_source,
6074         seek_to_line, forward_to_next_token_char, output_bytes,
6075         output_string, output_up_to, other_variable_style_function,
6076         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
6077         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
6078         find_static_definition, connect_defs_and_decs, add_local_decl,
6079         add_global_decls, needs_to_be_converted, visit_each_hash_node,
6080         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
6081         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
6082         scan_for_missed_items, edit_file, string_list_cons): Add static
6083         prototypes.
6084         (standard_exec_prefix, target_machine, target_version,
6085         default_syscalls_dir, string_list, string_list_cons, find_file,
6086         do_cleaning): Constify a char*.
6087         (safe_read, safe_write): Use PTR, not a char*.
6088         (is_id_char): Take an int, not a char.
6089         (main): Add prototype.  Call return, not exit.
6090
6091 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
6092
6093         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
6094         when comparing types.
6095
6096 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
6097
6098         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
6099         (strength_reduce): Release the varrays from the no-bivs early exit.
6100
6101         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
6102         the loop over the registers.
6103
6104         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
6105         for a new obstack.
6106         (restore_tree_status): Check that instead when freeing the obstack.
6107
6108 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
6109
6110         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
6111         as pointers.
6112
6113 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6114
6115         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
6116         operand size modifiers.
6117
6118 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6119
6120         * c-common.c (c_common_nodes_and_builtins): Don't build
6121         va_list_type_node.
6122         * c-common.h (enum c_tree_index and related accesor macros): Remove
6123         everything now declared in tree.h.
6124         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6125         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
6126         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
6127         (error_mark_node, void_type_node, char_type_node, integer_type_node,
6128         unsigned_type_node, ptr_type_node, va_list_type_node,
6129         integer_zero_node, null_pointer_node, integer_one_node): Delete.
6130         (init_decl_processing): Call build_common_tree_nodes and
6131         build_common_tree_nodes_2 instead of building their nodes here.
6132         Don't add roots for these nodes.
6133         * stor-layout.c (size_zero_node, size_one_node): Delete.
6134         (set_sizetype): Make a new node for bitsizetype each time.
6135         * tree.c (global_trees): New variable.
6136         (init_obstacks): Add a gc root for it.
6137         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6138         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
6139         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
6140         (build_common_tree_nodes): New function.
6141         (fix_sizetype): New function.
6142         (build_common_tree_nodes_2): New function.
6143         * tree.h (enum tree_index): New.
6144         (global_trees): Declare.
6145         Add accessor macros for all nodes now moved to global_trees.
6146         Delete their declarations.
6147
6148 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
6149
6150         * c-decl.c (finish_function): When processing a nested function,
6151         push and pop GC context around rest_of_compilation.
6152
6153 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
6154
6155         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
6156         Default ix86_arch to PROCESSOR_I386.
6157         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
6158         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
6159         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
6160         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
6161         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
6162         (EXTRA_SPECS): Remove deleted specs.
6163
6164 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
6165
6166         * function.c (assign_stack_local_1): Allocate from
6167         function->x_frame_offset, not frame_offset.
6168
6169 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
6170
6171         * ggc.h (lang_cleanup_tree): Remove.
6172         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
6173         * ggc-callbacks.c (lang_cleanup_tree): Remove.
6174
6175         * c-decl.c (finish_struct): Use ggc_alloc to allocate
6176         TYPE_LANG_SPECIFIC when garbage collecting.
6177         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
6178         (lang_cleanup_tree): Remove.
6179
6180 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
6181
6182         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
6183         * crtstuff.c: Not here.
6184         * dwarf2out.c: Or here.
6185         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
6186         info.
6187
6188 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
6189
6190         * function.h (free_after_compilation): Remove decl parameter.
6191         (free_varasm_status0: Likewise.
6192         (free_emit_status): Likewise.
6193         (free_stmt_status): Likewise.
6194         (free_after_compilation): Likewise.
6195         (init_lang_status): New variable.
6196         (free_lang_status): Likewise.
6197         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
6198         * function.c (init_lang_status): New variable.
6199         (free_lang_status): Likewise.
6200         (push_function_context_to): Don't set function::decl here.
6201         (free_after_copmilation): Make decl parameter implicit.  Call
6202         free_lang_status if defined.
6203         (prepare_function_start): Call init_lang_status if defined.
6204         (init_function_start): Set function::decl here.
6205         * profile.c (output_func_start_profiler): Don't call pushdecl
6206         until we've actually started the function.
6207         * stmt.c (free_stmt_status): Make decl parameter implicit.
6208         * toplev.c (rest_of_compilation): Don't pass decl to
6209         free_after_compilation.
6210         * varasm.c (free_varasm_status): Likewise.
6211
6212 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6213
6214         * except.c (call_get_eh_context): Add root when allocating static
6215         tree variable.
6216
6217 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
6218
6219         * arm.c: Include "ggc.h".
6220         (arm_add_gc_roots): New function.
6221         (arm_override_options): Call it.
6222         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
6223
6224         * arm.md (define_asm_attributes): Add a pool_range attribute.
6225
6226 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
6227
6228         * extend.texi (Volatiles): New node.
6229
6230 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
6231
6232         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
6233         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
6234         (struct ggc_any): Replace `mark' with `magic_mark'.
6235         (ggc_alloc_string): Use memcpy, not bcopy.
6236         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
6237         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
6238         (ggc_free_any): New.
6239         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
6240         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
6241         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
6242         Use IS_MARKED. Use ggc_free_any.
6243
6244 1999-09-09  Scott Bambrough <scottb@netwinder.org>
6245
6246         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
6247
6248 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
6249
6250         * toplev.c (main): Always init_ggc.
6251
6252 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
6253
6254         * except.c (find_all_handler_type_matches): Free the list if
6255         we found no matches.
6256
6257         * combine.c (SUBST): Break out to a real function do_SUBST.
6258         (SUBST_INT): Likewise.
6259         * gcse.c (free_pre_mem): Free `temp_bitmap'.
6260         (pre_insert): Free `inserted'.
6261         * loop.c (basic_induction_var): Always set `location'.
6262
6263         * function.c (expand_function_end): Add initial_trampoline as a root.
6264         * rtl.h (init_varasm_once): Declare.
6265         * toplev.c (compile_file): Call it.
6266         * ggc-simple.c (ggc_mark_string_ptr): New.
6267         (ggc_add_string_root): New.
6268         (ggc_collect): Disable collection avoidance temporarily.
6269         * ggc.h (ggc_add_string_root): Declare.
6270         * except.c (create_rethrow_ref): Use ggc_alloc_string.
6271         * optabs.c (init_libfuncs): Likewise.
6272         * varasm.c (named_section): Use ggc_alloc_string.
6273         (make_function_rtl): Likewise.
6274         (make_decl_rtl): Likewise.
6275         (assemble_static_space): Likewise.
6276         (assemble_trampoline_template): Likewise.
6277         (output_constant_def): Likewise.
6278         (force_const_mem): Likewise.
6279         (mark_const_hash_entry): New.
6280         (mark_pool_sym_hash_table): New.
6281         (mark_varasm_state): Use it.
6282         (init_varasm_once): New.
6283
6284         * expr.h (init_one_libfunc): Declare.
6285         * optabs.c (init_one_libfunc): New.
6286         (init_optabs): Use it.
6287         * config/gofast.h: Likewise.
6288         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
6289         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
6290
6291 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
6292
6293         * Makefile.in (cppexp.o): Depend on cpphash.h.
6294         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
6295         Include cpphash.h.
6296         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
6297         * cpplib.c (do_define): Generalise to handle poisoned definitions,
6298         redefining poisoned identifiers, etc.
6299         (do_undef): Don't allow poisoned identifiers to be undefined.
6300         (do_pragma): Add #pragma poison.
6301         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6302
6303         * cccp.c: Add T_POISON node type.
6304         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
6305         poisoned xxx.
6306         (do_define): Generalise to handle poisoned definitions,
6307         redefining poisoned identifiers, etc.
6308         (do_undef): Don't allow poisoned identifiers to be undefined.
6309         (do_pragma): Add #pragma poison.
6310         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6311
6312         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
6313         * c-pragma.h: Add ps_poison state.  We now always have generic
6314         pragmas.
6315
6316 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
6317
6318         * ggc.h (ggc_alloc): New function.
6319         (ggc_mark): Likewise.
6320         * ggc-simple.c (ggc_any): New structure.
6321         (ggc_status): Add anys.
6322         (n_anys_collected): New variable.
6323         (ggc_alloc): Define.
6324         (ggc_mark): Likewise.
6325         (ggc_collect): Collect the anys.
6326
6327 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6328
6329         * c-decl.c (mark_binding_level): Make static to match prototype.
6330
6331 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
6332
6333         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
6334
6335 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
6336
6337         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
6338         will use into account.  Expand the max width to 5.
6339         * rtl.c: Likewise.
6340
6341 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
6342
6343         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
6344         for the rtx length.
6345
6346 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
6347
6348         * alpha.md (call value patterns): Remove the result predicates.
6349
6350 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
6351
6352         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
6353         last change.
6354
6355 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6356
6357         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
6358         changed from extern char *, to extern PTR.  Also fix typo in
6359         NEED_DECLARATION_REALLOC test.
6360
6361         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
6362
6363 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6364
6365         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
6366         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
6367         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
6368         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
6369
6370         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
6371
6372         * cccp.c (pcfinclude): Likewise.
6373
6374         * global.c (allocno_compare): Likewise.
6375
6376         * haifa-sched.c (rank_for_schedule): Likewise.
6377
6378         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
6379
6380         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
6381
6382         * stupid.c (stupid_reg_compare): Likewise.
6383
6384         * tree.c (_obstack_allocated_p): Likewise.
6385
6386         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
6387
6388 1999-09-08  Bruce Korb  autogen@linuxbox.com
6389
6390         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
6391         why "gperf -F" fails.
6392         * gcc/cp/Makefile.in: ditto
6393         * gcc/Makefile.in: ditto
6394         * gcc/java/Makefile.in: ditto
6395
6396 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
6397
6398         * lists.c: Include ggc.h.
6399         (zap_lists): New.
6400         (init_EXPR_INSN_LIST_cache): Install it.
6401
6402         * ggc-simple.c (init_ggc): Absorb the old init.
6403         (ggc_push_context): Use xcalloc.
6404         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
6405         (ggc_collect): Add [rvts] tags to the collection stats.
6406
6407 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
6408
6409         * cccp.c (main): Fix handling of -include and -imacros options.
6410
6411 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
6412
6413         * cpplib.c (cpp_push_buffer): Fix order of arguments.
6414
6415 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
6416
6417         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
6418         genrtl.c.
6419
6420 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
6421
6422         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
6423         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
6424         and SET_DEST. Update comment.
6425
6426 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6427
6428         * config/c4x/c4x.c: Include ggc.h.
6429         (c4x_add_gc_roots): New function.
6430         (c4x_override_options): Call c4x_add_gc_roots.
6431
6432 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
6433
6434         * defaults.h (TARGET_ESC): Move ...
6435         * system.h: ... here, where Linas had it in the first place.  Silly me.
6436
6437 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
6438
6439         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
6440         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
6441         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
6442         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
6443         * defaults.h (TARGET_ESC): Add default.
6444
6445 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
6446
6447         * configure.in: add i370-*-openedition, i370-*-mvs and
6448         i370-*-linux targets
6449
6450 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
6451
6452         * dsp16xxx.c: Include ggc.h
6453         (override_options): Mark GC roots.
6454         * mn10200.c: Include ggc.h.
6455         (asm_file_start): Mark GC roots.
6456         * tahoe.c: Include ggc.h.
6457         (extensible_operand): Mark GC roots.
6458
6459 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
6460
6461         * README: Add section discussing status of ELF ABI.
6462         * i370.c: Fix misc spelling mistakes.
6463         (i370_label_scan): Updated notes, exception handling.
6464         (i370_function_prolog): Simplify ELF stack handling.
6465         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
6466         (STACK_GROWS_DOWNWARD): ELF stack grows down.
6467         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
6468         * i370.md: (movdi): Add notes.
6469         (floatsidf2): Use stack not rtca for scratch float area.
6470         (iorsi3): Correct operand constraints.
6471         * x-oe: Restore TAROUTOPTS which are used by pax.
6472
6473 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
6474
6475         * rs6000.c: Include ggc.h.
6476         (rs6000_add_gc_roots): New function.
6477         (override_options): Call it.
6478
6479 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
6480
6481         * alpha.h (alpha_compare): New.
6482         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
6483         * alpha.c: Likewise for the definitions.
6484         (alpha_emit_conditional_branch): Update for alpha_compare.
6485         (alpha_emit_conditional_move): Likewise.
6486         * alpha.md (cmpdf, cmpdi): Likewise.
6487         (setcc patterns): Likewise.  Zero alpha_compare after use.
6488         (sne): Optimize (x != 0) into (0U < x).
6489
6490 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
6491
6492         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
6493         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
6494         (INIT_EXPANDERS): Remove.
6495         * alpha.c: Include ggc.h.
6496         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
6497         (alpha_init_machine_status, alpha_mark_machine_status): New.
6498         (override_options): Install them.
6499         (struct machine_function): Moved to alpha.h.
6500         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
6501         (alpha_init_expanders): Remove.
6502         (alpha_return_addr): Adjust to use current_function->machine.
6503         (alpha_ra_ever_killed): Likewise.
6504         (alpha_expand_epilogue): Likewise.
6505         * alpha.md (eh_epilogue): Likewise.
6506
6507 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
6508                           Melissa O'Neill  <oneill@cs.sfu.ca>
6509                           Geoffrey Keating  <geoffk@cygnus.com>
6510
6511         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
6512         call-used registers (call-saved registers must still be contiguous
6513         and end with r31, of course).
6514
6515 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
6516
6517         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
6518         (self_promoting_type_p): Delete.
6519         (self_promoting_args_p): Move ...
6520         * c-common.c: ... here.
6521         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
6522         (simple_type_promotes_to): New.
6523         * builtins.c (lang_type_promotes_to): New.
6524         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
6525         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
6526         * c-common.h: ... here.
6527         (self_promoting_args_p, simple_type_promotes_to): Declare.
6528         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
6529         (grokdeclarator): Likewise.
6530         * tree.h (lang_type_promotes_to): Declare.
6531
6532 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
6533
6534         Add some machine-dependent GC roots.
6535         * sparc.c: Include ggc.h.
6536         (sparc_add_gc_roots): New function.
6537         (mark_ultrasparc_pipeline_state): Likewise.
6538         (override_options): Call sparc_add_gc_roots.
6539         * pa.c: Include ggc.h.
6540         (pa_add_gc_roots): New function.
6541         (mark_deferred_plabels): Likewise.
6542         (override_options): Call pa_add_gc_roots.
6543         * mips.c: Include ggc.h.
6544         (mips_add_gc_roots): New function.
6545         (override_options): Use it.
6546
6547 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6548
6549         * cpperror.c (cpp_file_line_for_message): Constify a char*.
6550
6551         * cppexp.c (parse_number, parse_charconst, cpp_lex,
6552         cpp_parse_expr): Add static prototypes.
6553         (parse_charconst): Don't cast away const-ness.
6554         (token): Constify a char*.
6555
6556         * cppfiles.c (file_name_list, include_hash, find_include_file,
6557         finclude, initialize_input_buffer): Constify a char*.
6558         (file_cleanup, find_position): Add static prototypes.
6559
6560         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
6561         collect_expansion): Add static prototypes.
6562         (cpp_install, create_definition, monthnames): Constify a char*.
6563
6564         * cpphash.h (cpp_install): Likewise.
6565
6566         * cppinit.c (known_suffixes, default_include,
6567         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
6568         (base_name, dump_special_to_buffer, initialize_dependency_output):
6569         Add static prototypes.
6570
6571         * cpplib.c (my_strerror): Constify a char*.
6572         (null_underflow, null_cleanup, skip_comment, copy_comment,
6573         copy_rest_of_line, handle_directive, pass_thru_directive,
6574         get_directive_token, read_line_number, cpp_print_file_and_line,
6575         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
6576         v_cpp_warning_with_line, detect_if_not_defined,
6577         consider_directive_while_skipping): Add static prototypes.
6578         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
6579         cpp_pedwarn_with_file_and_line): Constify a char*.
6580
6581         * cpplib.h (cpp_options, include_hash, progname, definition,
6582         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
6583         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
6584         find_include_file, deps_output, include_hash): Constify a char*.
6585
6586         * cppmain.c (progname): Constify.
6587         (main): Add prototype.  Use return, not exit.
6588
6589         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
6590         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
6591         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
6592         check_protection): Add static prototype.
6593         (xfree): Remove.
6594         (progname, recognized_macrom, recognized_extern): Constify a char*.
6595         (main): Add prototype.
6596
6597         * gen-protos.c (progname): Constify a char*.
6598
6599 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
6600
6601         * emit-rtl.c (free_emit_status): Take decl as a parameter.
6602         (init_emit_once): Add more GC roots.
6603         * except.c (mark_func_eh_entry): New function.
6604         (mark_eh_node): Mark false_label and rethrow_label.
6605         (init_eh): Add more GC roots.
6606         * function.c (free_after_compilation): Take decl as a paramter.
6607         Call free_stmt_status.
6608         (mark_function_state): Don't assume x_parm_reg_stack_loc is
6609         non-NULL.
6610         * function.h (free_after_compilation): Change prototype.
6611         (free_varasm_status): Likewise.
6612         (free_emit_status): Likewise.
6613         (free_stmt_status): New function.
6614         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
6615         Remove, replacing with ...
6616         (ggc_status): New structure.
6617         (ggc_chain): New variable.
6618         (init_gcc): Define.
6619         (ggc_push_context): New function.
6620         (ggc_pop_context): Likewise.
6621         (ggc_alloc_rtx): Adjust for use of ggc_chain.
6622         (ggc_alloc_rtvec): Likewise.
6623         (ggc_alloc_tree): Likewise.
6624         (ggc_alloc_string): Likewise.
6625         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
6626         (ggc_mark_tree): Give language-dependent code a chance to mark
6627         `x' nodes.
6628         (ggc_mark_tree_varray): Handle empty arrays.
6629         (ggc_collect): Adjust for use of ggc_chain.  Clear
6630         bytes_alloced_since_last_gc.
6631         * ggc.h (ggc_pop_context): New function.
6632         (ggc_push_context): Likewise.
6633         * print-tree.c (print_node): Don't print obstacks when GC'ing.
6634         * stmt.c (free_stmt_status): New function.
6635         (init_stmt_for_function): Clear last_expr_value.
6636         * toplev.c (rest_of_compilation): Always call free_after_compilation.
6637         Conditionalize call to ggc_collect.
6638         (main): Call init_ggc.
6639         * tree.c (push_obstacks): Do the push, even when GC'ing.
6640         (push_obstacks_nochange): Likewise.
6641         (pop_obstacks): Liekwise.
6642         * varasm.c (free_varasm_status): Take decl as a parameter.
6643
6644 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
6645
6646         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
6647         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
6648         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
6649         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
6650
6651 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
6652
6653         * pa/x-pa-mpeix: New file for the MPE port.
6654
6655         * pa/quadlib.asm: New file for long double support.
6656
6657         * configure.in: Add hppa1.0-*-mpeix for MPE port.
6658         * configure: Rebuilt.
6659
6660 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
6661
6662         * final.c (shorten_branches): Fix last change.
6663
6664 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
6665
6666         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
6667
6668 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
6669
6670         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
6671         details.
6672
6673 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6674
6675         * c-aux-info.c (concat): Don't define.
6676
6677         * cccp.c (my_strerror): Likewise.  All callers changed to use
6678         xstrerror instead.
6679         (do_include): Call xstrdup, not xmalloc/strcpy.
6680         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
6681         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
6682
6683         * collect2.c (my_strsignal): Likewise.  All callers changed to use
6684         strsignal instead.
6685         (locatelib): Call xstrdup, not xmalloc/strcpy.
6686
6687         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
6688
6689         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
6690
6691         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
6692
6693         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
6694
6695         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
6696
6697         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
6698
6699         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
6700         malloc/realloc.
6701         (find_all_handler_type_matches): Likewise.  Don't check return
6702         value.
6703         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
6704         xmalloc, not malloc.
6705         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
6706
6707         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
6708         (init_spec): Call xcalloc, not xmalloc/bzero.
6709         (set_spec): Call xstrdup, not save_string.
6710         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
6711         (find_a_file): Call xstrdup, not xmalloc/strcpy.
6712         (process_command): Call xstrdup, not save_string.
6713         (main): Call xcalloc, not xmalloc/bzero.
6714
6715         * gcov.c (xmalloc): Don't define.
6716         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
6717         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
6718         (output_data): Call xcalloc, not xmalloc/bzero.
6719
6720         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
6721
6722         * mips-tdump.c (xmalloc): Don't define.
6723         (print_symbol): Call xmalloc, not malloc.
6724         (read_tfile): Call xcalloc, not calloc.
6725
6726         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
6727         Don't define.  All callers of xfree/my_strsignal changed to use
6728         free/strsignal instead.
6729         (allocate_cluster): Call xcalloc, not calloc.
6730
6731         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
6732         Fix memory leak, free allocated memory.
6733
6734         * prefix.c (translate_name): Call xstrdup, not save_string.
6735         (update_path): Likewise.
6736
6737         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
6738
6739         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
6740         Don't define.  Callers of xfree/savestring2 changed to use
6741         free/concat instead.
6742
6743         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
6744         (init_elim_table): Likewise.
6745
6746         * resource.c (init_resource_info): Likewise.
6747
6748         * stupid.c (stupid_life_analysis): Likewise.
6749
6750         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
6751         (open_dump_file): Call concat, not xmalloc/strcpy/...
6752         (clean_dump_file): Likewise.
6753         (compile_file): Call xstrdup, not xmalloc/strcpy.
6754
6755 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
6756
6757         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
6758         * v850.c (v850_va_arg): New.
6759
6760 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6761
6762         * haifa-sched.c: Tidy comments.
6763
6764 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6765
6766         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
6767         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
6768         $(out_object_file)): Depend on ggc.h.
6769         * c-common.c: Include "ggc.h".
6770         (combine_strings): If doing GC, use ggc_alloc_string.
6771         * c-decl.c: Include "ggc.h".
6772         (ggc_p): Define with value 0.
6773         (mark_binding_level): New function.
6774         (init_decl_processing): Add GC roots.
6775         (mark_c_function_context): New function.
6776         (lang_mark_false_label_stack): New function.
6777         (lang_mark_tree): New function.
6778         (lang_cleanup_tree): New function.
6779         * c-lang.c: Include "ggc.h".
6780         (lang_init): Call c_parse_init.
6781         * c-lex.c: Include "ggc.h".
6782         (check_linenum): If doing GC, don't copy filenames to permanent
6783         obstack.
6784         * c-parse.in: Include "ggc.h".
6785         (c_parse_init): New function.
6786         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
6787         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
6788
6789         * except.c (mark_eh_state): Mark more state.
6790         * function.c (mark_function_state): Likewise.
6791         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
6792         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
6793         * toplev.c (mark_file_stack): New function.
6794         (compile_file): If doing GC, use ggc_alloc_string on input filename.
6795         (main): Add root for input_file_stack.
6796
6797         * i386.c: Include "ggc.h".
6798         (ix86_mark_machine_status): New function.
6799         (override_options): Set mark_machine_status.
6800
6801 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6802
6803         * tree.c (copy_node): Copy node contents also if doing GC.
6804
6805 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
6806
6807         * collect2.c (scan_libraries): Fix double-thinko :-).
6808
6809 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
6810
6811         * collect2.c (scan_libraries): Fix thinko.
6812
6813         * cse.c (delete_trivially_dead_insns): Do not skip the last
6814         insn if it is a real insn.
6815
6816 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
6817
6818         * Makefile.in (ggc-simple.o): Depend on hash.h.
6819         * ggc.h (ggc_add_tree_hash_table_root): Declare.
6820         (ggc_mark_tree_varray): Likewise.
6821         (ggc_mark_tree_hash_table): Likewise.
6822         * ggc-simple.c: Include hash.h.
6823         (ggc_mark_tree_hash_table_ptr): New function.
6824         (ggc_mark_tree_hash_table_entry): Likewise.
6825         (ggc_mark_tree_hash_table): Likewise.
6826         (ggc_add_tree_hash_table_root): Likewise.
6827         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
6828         rtx, when defining fields.
6829
6830 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
6831
6832         * profile.c (output_func_start_profiler): Remove apparently
6833         nonsensical call to start_sequence.
6834
6835 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
6836
6837         * clipper/clipper.c (clipper_va_start): Fix typos.
6838
6839         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
6840         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
6841         (spur_va_arg): New stub.
6842
6843         * configure.in: Comment out pyramid.
6844
6845 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
6846
6847         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
6848         don't conflict with the bits that win32, cygwin, and dgux
6849         defines.
6850
6851 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
6852                           Bernd Schmidt <bernds@cygnus.co.uk>
6853
6854         * integrate.c (function_cannot_inline_p): Do not inline
6855         functions with forced labels.
6856
6857 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
6858                           Bernd Schmidt <bernds@cygnus.co.uk>
6859                           Mark Mitchell  <mark@codesourcery.com>
6860
6861         * Makefile.in (ggc-simple.o): Depend on varray.h.
6862         (rtl.o): Depend on ggc.h.
6863         (genattrtab.o): Depend on ggc.h.
6864         (print-tree.o): Likewise.
6865         (fold-const.o): Likewise.
6866         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
6867         (make_insn_raw): Don't cache insns when GC'ing.
6868         (emit_insn_before): Likewise.
6869         (emit_insn_after): Likewise.
6870         (emit_insn): Likewise.
6871         (start_sequence): Use xmalloc to allocate the sequence_stack.
6872         (end_sequence): Add free to free it.
6873         (gen_sequence): Don't cache insns when GC'ing.
6874         (clear_emit_caches): Don't use sequence_element_free_list.
6875         (init_emit): Use xcalloc, not xmalloc+bzero.
6876         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
6877         * function.c (pop_function_context_from): Use free to free the
6878         fixup_var_refs_queue.
6879         (put_reg_into_stack): Allocate it with xmalloc.
6880         * genattrtab.c: Include ggc.h.
6881         (operate_exp): Don't use obstack_free when GC'ing.
6882         (simplify_cond): Likewise.
6883         (simplify_text_exp): Likewise.
6884         (optimize_attrs): Likewise.
6885         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
6886         GC'ing.
6887         (gencode): Generate a #include for ggc.h.
6888         * ggc-callbacks.c (ggc_p): Define it to zero.
6889         * ggc-none.c (ggc_p): Likewise.
6890         * ggc-simple.c: Include varray.h.
6891         (ggc_mark_tree_varray): New function.
6892         (ggc_add_tree_varray_root): Likewise.
6893         (ggc_mark_tree_varray_ptr): Likewise.
6894         * ggc.h (ggc_p): Declare.
6895         (varray_head_tag): Likewise.
6896         (ggc_add_tree_varray_root): Declare.
6897         * print-tree.c (print_node): Don't check for TREE_PERMANENT
6898         inconsistencies when GC'ing.
6899         * rtl.c: Include ggc.h.
6900         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
6901         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
6902         (rtx_free): Don't call obstack_free when GC'ing.
6903         * toplev.c (rest_of_compilation): Call ggc_collect after every
6904         pass, if GC'ing.
6905         * tree.c (push_obstacks): Do nothing, if GC'ing.
6906         (pop_obstacks_nochange): Likewise.
6907         (pop_obstacks): Likewise.
6908         (make_node): Use ggc_alloc_tree when GC'ing.
6909         (copy_node): Likewise.
6910         (get_identifier): Use ggc_alloc_string when GC'ing.
6911         (build_string): Likewise.
6912         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
6913         (tree_cons): Likewise.
6914         (build1): Likewise.
6915         (type_hash_canon): Don't call obstack_free when GC'ing.
6916
6917 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
6918
6919         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
6920         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
6921
6922 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
6923                           Bernd Schmidt <bernds@cygnus.co.uk>
6924                           Mark Mitchell  <mark@codesourcery.com>
6925
6926         * Makefile.in (stor-layout.o): Depend on ggc.h.
6927         (expr.o): Depend on ggc.h.
6928         (profile.o): Depend on ggc.h.
6929         (stor-layout.o): Depend on ggc.h.
6930         * emit-rtl.c (init_emit_once): Add gc roots.
6931         * expr.c: Include ggc.h.
6932         (emit_block_move): Add gc roots.
6933         (clear_storage): Likewise.
6934         * expr.h (init_stor_layout_once): New function.
6935         * profile.c: Include ggc.h.
6936         (init_arc_profiler): profiler_label is a root.
6937         * scan.c (make_sstring_space): Trust xrealloc to function
6938         correctly with first parameter NULL.
6939         * stor-layout.c: Include ggc.h.
6940         (set_sizetype): Add gc root.
6941         (init_stor_layout_once): New function.
6942         * toplev.c (compile_file): Call it.
6943
6944 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
6945                           Bernd Schmidt <bernds@cygnus.co.uk>
6946                           Mark Mitchell  <mark@codesourcery.com>
6947
6948         * Makefile.in (tree.o): Depend on ggc.h.
6949         (varasm.o): Likewise.
6950         (function.o): Likewise.
6951         (stmt.o): Likewise.
6952         (except.o): Likewise.
6953         (optabs.o): Likewise.
6954         (emit-rtl.o): Likewise.
6955         * emit-rtl.c: Include ggc.h.
6956         (sequence_element_free_list): Remove, and all references.
6957         (mark_sequence): New functions.
6958         (mark_emit_state): New function.
6959         * except.c: Include ggc.h.
6960         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
6961         (mark_tree_label_node): New functions.
6962         (mark_eh_state): New function.
6963         * function.c: Include ggc.h.
6964         (mark_temp_slot, mark_function_chain): New functions.
6965         (mark_function_state): New function.
6966         (init_function_once): New function.
6967         * function.h (init_function_once): New function.
6968         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
6969         * ggc.h (label_node): Declare.
6970         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
6971         (lang_mark_false_label_stack): New function.
6972         (mark_temp_slot): Remove declaration.
6973         (mark_function_chain): Likewise.
6974         (mark_eh_state): Adjust prototype.
6975         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
6976         Likewise.
6977         * optabs.c: Include ggc.h.
6978         (mark_optab): New function.
6979         (init_optabs): Add gc roots.
6980         * stmt.c: Include ggc.h.
6981         (mark_cond_nesting, mark_loop_nesting): New functions.
6982         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
6983         (mark_stmt_state): New function.
6984         * toplev.c (compile_file): Call init_function_once.
6985         * tree.c: Include ggc.h.
6986         (type_hash): Move declaration earlier in file.
6987         (TYPE_HASH_SIZE, type_hash_table): Likewise.
6988         (init_obstacks): Add gc roots.
6989         (mark_type_hash): New function.
6990         * varasm.c: Include ggc.h.
6991         (mark_pool_constant): New function.
6992         (mark_varasm_state): New function.
6993
6994 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6995
6996         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
6997
6998 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
6999
7000         * c-decl.c (struct language_function): Renamed from struct c_function.
7001         Delete elt NEXT.
7002         (c_function_chain): Delete.
7003         (push_c_function_context): New arg F.  Don't warn about nested
7004         functions here.  Fill LANGUAGE elt of F.  Delete code to update
7005         c_function_chain.  Don't call push_function_context.
7006         (pop_c_function_context): New arg F.  Restore from there instead of
7007         from c_function_chain.  Don't call pop_function_context.  Clear out
7008         LANGUAGE field of F when done.
7009         * c-lang.c: Include "function.h"
7010         (lang_init): Initialize save_lang_status and restore_lang_status.
7011         * c-parse.in (nested_function, nested_function_notype): Warn about
7012         nested functions.  Call push_function_context/pop_function_context
7013         instead of the _c_ variants.
7014         * c-tree.h (push_c_function_context, pop_c_function_context): Update
7015         prototype.
7016         * Makefile.in (c-lang.o): Update dependencies.
7017
7018         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
7019         regno_pointer_flag, regno_pointer_align.
7020         (gen_reg_rtx): Use xrealloc to enlarge them.
7021         (free_emit_status): New function.
7022         * function.c (mark_machine_status, mark_lang_status): New variables.
7023         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
7024         in some bits from assign_stack_local.  All callers changed to use new
7025         name.
7026         (assign_stack_local): Just call assign_stack_local_1.
7027         (free_after_compilation): New function.
7028         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
7029         (trampoline_address): Likewise.
7030         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
7031         (prepare_function_start): Explicitly clear some more variables.
7032         * function.h (struct function): New elt can_garbage_collect.
7033         (mark_machine_status, mark_lang_status): Declare variables.
7034         (free_after_compilation, free_emit_status, free_varasm_status,
7035         init_varasm_status): Declare functions.
7036         * toplev.c (rest_of_compilation): Call free_after_compilation when
7037         done with the current function.
7038         * varasm.c (free_varasm_status): New function.
7039
7040 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
7041
7042         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
7043         (EXPAND_BUILTIN_VA_ARG): Define.
7044         * sparc.c (sparc_va_start): New.
7045         (sparc_va_arg): New.
7046
7047 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7048
7049         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
7050
7051 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7052
7053         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
7054
7055 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
7056
7057         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
7058         (OBJS): Add $(GGC).
7059         (ggc-callbacks.o): New target.
7060         * ggc-callbacks.c: New file.
7061
7062 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7063
7064         * expr.h: Collapse individual optab and libfunc vars to arrays.
7065         (optab_index, libfunc_index): New enumerations.
7066         (optab_table, libfunc_table): New arrays.
7067         Add accessor macros for both.
7068
7069         * optabs.c (optab_table, libfunc_table): New.
7070         Delete declarations for individual optab and libfunc vars.
7071
7072 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
7073
7074         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
7075
7076 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
7077
7078         * Makefile.in (GGC, GGC_LIB): New.
7079         (HOST_RTL): Include ggc-none.o.
7080         (ggc-simple.o): New target.
7081         (ggc-none.o): Likewise.
7082         * tree.h (tree_common): Add gc_mark.
7083         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
7084         (struct rtvec_def): Add gc_mark.
7085         * emit-rtl.c (global_rtl): Update static initializers to contain
7086         enough initializers.
7087         * ggc.h, ggc-none.c, ggc-simple.c: New files.
7088         * toplev.c (gc_time): New variable.
7089         (all_time): New variable.
7090         (compile_file): Print gc time.
7091         (print_time): Calculate percentage of the whole.
7092
7093 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7094
7095         Change obstack memory management and varasm constant pool handling so
7096         that nested functions are treated like any other functions.
7097         * function.c (init_machine_status): New variable.
7098         (push_function_context_to): Set contains_functions for the outer
7099         function.  Don't call save_varasm_status.
7100         (pop_function_context_from): Don't call restore_varasm_status.  Don't
7101         set current_function_contains_functions.
7102         (prepare_function_start): Call init_varasm_status rather than
7103         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
7104         is non-null.
7105         * function.h (struct function) Add field varasm.  Delete fields
7106         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
7107         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
7108         (init_machine_status): Declare.
7109         (save_varasm_status, restore_varasm_status): Delete declarations.
7110         (save_tree_status, restore_tree_status): Delete last argument.
7111         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
7112         code.  All callers changed.
7113         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
7114         save_constants_in_decl_trees, restore_constants, save_constants,
7115         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
7116         functions.
7117         (inlining): New variable.
7118         (reg_map, label_map, insn_map, orig_asm_operands_vector,
7119         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
7120         variables.
7121         (save_for_inline_nocopy): Don't save constants.
7122         Don't set inl_emit field in current_function.
7123         (expand_inline_function): Use emit field, not inl_emit, of the inlined
7124         function.  Set new variable inlining before
7125         calling copy_rtx_and_substitute.
7126         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
7127         constant pool references if inlining is nonzero.
7128         Delete ADDRESS and (most of the) CONST cases.
7129         (output_inline_function): Save and restore current_function/
7130         current_function_decl.  Delete restore_constants code.  Don't call
7131         init_const_rtx_hash_table.
7132         * output.h (init_const_rtx_hash_table): Don't declare.
7133         * rtl.h (struct function): Declare.
7134         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
7135         * toplev.c (rest_of_compilation): Don't treat nested functions or
7136         functions containing them specially.  Delete all code to deal with
7137         save_for_inline_copying.
7138         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
7139         inline_obstacks): Delete variables.
7140         (save_tree_status): Lose arg CONTEXT.  All callers changed.
7141         Simply allocate a new function_maybepermanent_obstack for the new
7142         function, delete all the special cases.
7143         Don't save inline_obstacks.
7144         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
7145         Delete special handling for function_maybepermanent_obstack; simply
7146         free it if empty.
7147         Don't restore inline_obstacks.
7148         (permanent_allocation):  Delete code that frees inline_obstacks.
7149         (print_inline_obstack_statistics): Delete function.
7150         (dump_tree_statistics): Don't call it.
7151         * varasm.c (struct varasm_status): New.
7152         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
7153         last_pool, pool_offset, const_double_chain): Delete global
7154         variables, replace with accessor macros.
7155         (immed_double_const): Don't walk const_double_chain outside a
7156         function, but don't treat nested functions specially anymore.
7157         (immed_real_const_1): Likewise.
7158         (clear_const_double_mem): Don't treat nested functions specially.
7159         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
7160         (save_varasm_status, restore_varasm_status): Delete functions.
7161         (init_varasm_status): New function.
7162         (force_const_mem): Don't treat nested functions specially.
7163         (find_pool_constant): Accept new arg F, search for constants in
7164         that function's pool rather than the current one.  All callers
7165         changed.
7166         (get_pool_constant_for_function, get_pool_mode_for_function): New
7167         functions.
7168
7169         * i386.c (init_386_machine_status): New function, mostly from
7170         clear_386_stack_locals.
7171         (struct machine_functions): Rename element names to avoid name
7172         clashes.
7173         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
7174         macros, replacing global variables.
7175         (clear_386_stack_locals, save_386_machine_status,
7176         restore_386_machine_status): Delete functions.
7177         (override_options): Initialize init_machine_status.
7178         * i386.h (INIT_EXPANDERS): Delete macro.
7179         (save_386_machine_status, restore_386_machine_status,
7180         clear_386_stack_locals): Delete declarations.
7181
7182 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7183
7184         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
7185         (doloop_begin):  Simplify pattern and use emit_jump_insn.
7186         (doloop_end): Simplify pattern, switch operand order,
7187         and use emit_jump_insn.
7188
7189 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7190
7191         * function.h (struct function): Add new element LANGUAGE.
7192         (save_lang_status): Declare new variable.
7193         (restore_lang_status): Likewise.
7194         * function.c (save_lang_status): Define.
7195         (restore_lang_status): Likewise.
7196         (push_function_context_to): Call language-specific save function.
7197         (pop_function_context_from): Call language-specific restore function.
7198
7199 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
7200
7201         * i386.md (movsf_1): Check REG_P before use of REGNO.
7202         (movdf_1): Likewise.
7203         (movxf_1): Likewise.
7204         (extendsfdf2): Likewise.
7205         (extendsfxf2): Likewise.
7206         (extenddfxf2): Likewise.
7207
7208 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7209
7210         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
7211         constants into memory.
7212         (c4x_shiftable_constant): New function.
7213         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
7214         (c4x_shiftable_constant): Declare.
7215         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
7216         ashlqi3_noclobber): Add new patterns and associated splitters.
7217
7218 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
7219
7220         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
7221         * dwarf2out.c (dwarf2out_frame_init): Likewise.
7222         * final.c (shorten_branches): Likewise.
7223         * global.c (global_alloc): Likewise.
7224         * haifa-sched.c (build_control_flow): Likewise.
7225         * stmt.c (check_for_full_enumeration_handling): Likewise.
7226         (estimate_case_costs): Likewise.
7227
7228 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
7229
7230         * rtl.h (RTL_CHECKC2): Fix typo in last change.
7231
7232 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
7233
7234         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
7235         (recompute_reg_usage): Likewise.
7236         * rtlanal.c (find_regno_fusage): Likewise.
7237
7238         * rtl.c (rtl_check_failed_code1): New function.
7239         (rtl_check_failed_code2): New.
7240         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
7241         (RTL_CHECKC1, RTL_CHECKC2): New.
7242         (XC*): New accessor macros.
7243         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
7244         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
7245         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
7246         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
7247         (TRAP_*, RANGE_INFO_*): Likewise.
7248
7249 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7250
7251         * Makefile.in (tlink.o): Don't depend on toplev.h.
7252
7253         * collect2.c (c_file, o_file, export_file, import_file, ldout,
7254         output_file, nm_file_name, ldd_file_name, strip_file_name,
7255         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
7256         add_prefix, prefix_from_env, prefix_from_string, do_wait,
7257         fork_execute, maybe_unlink, add_to_list,
7258         extract_init_priority, write_list, dump_list,
7259         dump_prefix_list, write_list_with_asm, write_c_file,
7260         write_c_file_stat, write_c_file_glob, scan_prog_file,
7261         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
7262         ignore_library, extract_string, notice, dump_file, target_machine,
7263         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
7264         read_file, print_load_command): Constify a char*.
7265         (fdopen, error, fatal, fatal_perror): Don't prototype.
7266         (my_strerror): Remove.  All callers use xstrerror instead.
7267         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
7268         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
7269         to xcalloc/strcpy/strcat/...  to one call to concat.
7270         (main, scan_prog_file, scan_libraries): Use an intermediate
7271         `const char **' to build an argv array.
7272         (mapfile, libselect, libcompare, locatelib): Add prototypes.
7273
7274         * collect2.h (collect_execute, collect_wait, dump_file,
7275         file_exists): Constify a char*.
7276         (ldout, c_file_name, temporary_obstack, permanent_obstack,
7277         temporary_firstobj, vflag, debug): Add extern declarations.
7278         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
7279
7280         * tlink.c: Don't include toplev.h.
7281         (vflag, debug, ldout, c_file_name, temporary_obstack,
7282         permanent_obstack, temporary_firstobj): Don't declare.
7283         (tlink_execute, frob_extension, symbol_hash_lookup,
7284         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
7285         recompile_files, read_repo_files, demangle_new_symbols,
7286         scan_linker_output): Constify a char*.
7287         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
7288         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
7289
7290 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
7291
7292         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
7293         (relative) rather than jsr (absolute) subroutine call insns.
7294         * config/m68k/m68k-coff.h: Ditto.
7295
7296 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
7297
7298         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
7299         now rework these too.
7300         (arm_reorg): If an insn can't reach the end of the current pool,
7301         ensure that we emit that pool before the insn.
7302
7303 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
7304
7305         * tlink.c (scan_linker_output): Skip the initial underscore in
7306         a mangled name if appropriate.
7307
7308 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7309
7310         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
7311         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
7312         error_with_ivar, gen_declarator, create_builtin_decl,
7313         my_build_string, generate_descriptor_table, generate_ivars_list,
7314         generate_dispatch_table, check_protocols, TAG_GETCLASS,
7315         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
7316         dump_base_name, lang_decode_option, build_encode_expr,
7317         start_class, finish_class, encode_pointer, really_start_method,
7318         gen_declaration, dump_interface, handle_class_ref, handle_impent):
7319         Constify.
7320         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
7321         Add static prototypes.
7322         (build_objc_string_decl, build_selector_reference_decl,
7323         encode_bitfield, build_class_reference_decl): Remove unused
7324         parameter, all callers changed.
7325         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
7326         (objc_printable_name): Likewise.  Change second parameter to type int.
7327         (init_objc): Use memcpy, not bcopy, to avoid casts.
7328
7329 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
7330
7331         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
7332         reg notes on a deleted insn.
7333         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
7334
7335 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
7336
7337         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
7338
7339 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7340
7341         * stmt.c (expand_asm_operands): Fix index into inout_mode when
7342         reading it.
7343
7344 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
7345
7346         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
7347         * tm.texi (MD_ASM_CLOBBERS): Document it.
7348
7349 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
7350
7351         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
7352         * except.c (expand_rethrow): Remove unused variable.
7353         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
7354         * flow.c (replace_insns): Likewise.
7355         (create_edge_list, verify_edge_list): Likewise.
7356         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
7357
7358         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
7359         is special code to run.
7360         (main): Don't define operands to emit_operand.
7361         * genrecog.c (main): Don't emit an empty peephole2_insn function.
7362
7363         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
7364
7365         * alpha/alpha.h (normal_memory_operand): Declare.
7366         (reg_no_subreg_operand): Declare.
7367         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
7368
7369 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
7370
7371         * c-parse.in (compstmt_primary_start): New, broken out of first
7372         part of compstmt handling in primary.
7373         (primary): Use it.  Add an error clause.
7374         (compstmt_nostart): Renamed from compstmt; remove all
7375         initial invocations of compstmt_start.
7376         (compstmt): New.
7377
7378 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
7379
7380         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
7381         needed.
7382
7383 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
7384
7385         * combine.c (simplify_shift_const): Remove extra semicolon.
7386         * dwarf2out.c (remove_AT): Likewise.
7387         * expmed.c (expand_mult): Likewise.
7388         * gcov.c (create_program_flow_graph): Likewise.
7389         * reorg.c (mostly_true_jump): Likewise.
7390
7391 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
7392
7393         * fold-const.c (fold_range_test): Do not try to fold the range
7394         test if the rhs or lhs has side effects.
7395
7396         * combine.c (simplify_rtx): Recognize another case of a synthesized
7397         sign extension.
7398
7399         * varasm.c (mark_constant_pool): When marking indirect references,
7400         only look at SYMBOL_REFs.
7401
7402         * except.c (expand_fixup_region_end): Do not peek at
7403         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
7404
7405 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
7406
7407         * flags.h: New variables align_loops, align_loops_log,
7408         align_jumps, align_jumps_log, align_labels, align_labels_log,
7409         align_functions, align_functions_log.
7410         * toplev.c: Define them.
7411         (f_options): Handle -falign-* when they have no argument.
7412         (main): Add logic to set variables for -falign-functions,
7413         -falign-jumps, -falign-labels, -falign-loops.
7414         Make it -fsched-verbose=<n> and -finline-limit=<n>.
7415         (display_help): Change help to match options.
7416         * final.c (LABEL_ALIGN): Default to align_labels_log.
7417         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
7418         (LOOP_ALIGN): Default to align_loops_log.
7419         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
7420         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
7421         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
7422         * varasm.c (assemble_start_function): Handle align_functions.
7423
7424         * config/sparc/sparc.h: Don't declare sparc_align_*.
7425         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
7426         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
7427         sparc.c.
7428         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
7429         it's a promise.
7430         * config/sparc/sparc.c: Delete sparc_align_loops,
7431         sparc_align_jumps, sparc_align_funcs and the corresponding string
7432         variables.
7433         (sparc_override_options): Default align_functions on ultrasparc.
7434         Delete -malign-* handling.
7435
7436         * config/mips/mips.c (override_options):  On 64-bit targets,
7437         try to align code to 64-bit boundaries.
7438         (print_operand): New substitution, %~,
7439         which aligns labels to align_labels_log.
7440         * config/mips/mips.md (div_trap_normal): Use %~.
7441         (div_trap_mips16): Likewise.
7442         (abssi): Likewise.
7443         (absdi2): Likewise.
7444         (ffssi2): Likewise.
7445         (ffsdi2): Likewise.
7446         (ashldi3_internal): Likewise.
7447         (ashrdi3_internal): Likewise.
7448         (lshrdi3_internal): Likewise.
7449         (casesi_internal): Likewise.
7450
7451 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
7452
7453         Merge new ia32 backend from the branch!
7454
7455         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
7456         See ChangeLog.P2 on new_ia32_branch for details.
7457
7458         * rtl.h (stack_regs_mentioned_p): Delete prototype.
7459         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
7460         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
7461         * i386/gas.h (ASM_FILE_START): Define.
7462         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
7463         for name change of ix86_valid_decl_attribute_p.
7464         (i386_pe_valid_type_attribute_p): Similarly.
7465
7466 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
7467
7468         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
7469         to step through CC modes.
7470
7471 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7472
7473         * regmove.c (fixup_match_1): Don't move INSN in front of P if
7474         it would end up in the shadow of a live flags regsiter.
7475
7476 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7477
7478         * reload1.c: Fix many indentation problems.
7479         * reload.c: Likewise.
7480
7481 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
7482
7483         * alias.c (non_local_reference_p): Constify fmt.
7484
7485 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
7486
7487         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
7488
7489 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
7490
7491         * cse.c (delete_trivially_dead_insns): Do not delete stores to
7492         the internal_arg_pointer.
7493
7494 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
7495
7496         Merge peephole2 from new_ia32_branch:
7497         * Makefile.in (STAGESTUFF): Add *.peephole2.
7498         (mostlyclean): Likewise.
7499         (recog.o): Depend on resource.h.
7500
7501         * final.c (peephole): Conditionalize decl on HAVE_peephole.
7502         (final_scan_insn): Likewise for the invocation of peephole.
7503         * genconfig.c (main): Look for peephole and peephole2 patterns.
7504         Emit HAVE_peephole* accordingly.
7505         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
7506         * flags.h (flag_peephole2): Declare.
7507         * toplev.c: New pass peephole2.  New flag -fpeephole2.
7508
7509         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
7510         * gencodes.c (main): Likewise.
7511         * genextract.c (main): Likewise.
7512         * genoutput.c (main): Likewise.
7513         * genemit.c (max_operand_1): Look for the max scratch operand.
7514         (gen_rtx_scratch): New.
7515         (gen_exp): Use it, and pass on new arg subroutine_type.
7516         (gen_expand): Take max scratch into account.
7517         (gen_split): Emit peephole2 functions.
7518         (output_peephole2_scratch): New.
7519         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
7520         * genrecog.c (routine_type): Add PEEPHOLE2.
7521         (IS_SPLIT): New.
7522         (make_insn_sequence): Match outer parallel for peep2.  Discard
7523         top level scratches and dups.
7524         (add_to_sequence): New args insn_type and top.  Update all callers.
7525         Handle toplevel peep2 matching insns.
7526         (write_subroutine): Handle peep2.
7527         (write_tree_1): Likewise.
7528         (write_tree): Likewise.
7529         (main): Likewise.
7530         (change_state): New arg afterward.  Update all callers.
7531         Handle matching separate insns.
7532         * recog.c (recog_next_insn): New.
7533         (peephole2_optimize): New.
7534         * rtl.def (DEFINE_PEEPHOLE2): New.
7535         * resource.c (find_free_register): New argument last_insn.  Use it
7536         to find a register available through the entire span.
7537         * resource.h (find_free_register): Update prototype.
7538
7539 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
7540
7541         * i386.c (output_strlen_unroll): Don't write xops[7]
7542         label if it wasn't set.
7543
7544 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
7545
7546         * cpplib.c (struct directive): Const-ify name pointer and
7547         function pointer prototype.
7548         (validate_else, do_define, do_line, do_include, do_undef,
7549         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
7550         do_elif, do_endif, do_sccs, do_assert, do_unassert,
7551         do_warning): Const-ify second arg.
7552         (directive_table): Mark const.  Reorder entries by frequency
7553         of usage, record statistics.
7554
7555 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
7556
7557         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
7558         bounds- check RTL accesses if --enable-checking.
7559         (RTVEC_ELT): Bounds check if --enable-checking.
7560         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
7561         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
7562         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
7563         GET_NUM_ELEM.
7564         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
7565         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
7566
7567         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
7568         (NOTE_SOURCE_FILE): Use X0STR.
7569         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
7570         MEM_ALIAS_SET): Use X0INT.
7571         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
7572         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
7573         Use X0EXP.
7574         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
7575         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
7576         (rtl_check_failed_bounds, rtl_check_failed_type1,
7577         rtl_check_failed_type2, rtvec_check_failed_bounds): New
7578         functions.
7579         (fancy_abort): Fix comment.
7580
7581         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
7582         (cse_insn): Decrement LABEL_NUSES for jump target before
7583         deleting jump insn.
7584         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
7585         * final.c (alter_subreg): Compute regno before changing x to
7586         REG; set REGNO(x) after changing it.
7587         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
7588         notes containing CONST_INTs.
7589         (delete_eh_regions): Use NOTE_EH_HANDLER.
7590         * function.c (put_reg_into_stack): Make reg a MEM before
7591         initializing it.
7592         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
7593         delete insn.
7594         (gen_mem_addressof): Make reg a MEM before initializing it.
7595         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
7596         X0WINT.
7597         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
7598         deleting an insn, not after.
7599         (block_alloc): Only look at PATTERN(insn) if we have to, and
7600         only if it's format class 'i'.
7601         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
7602         CONST_INT before using its INTVAL.
7603         * print-rtl.c (print_rtx): Use X0STR.
7604         * regmove.c (fixup_match_1): Don't look at PATTERN of
7605         non-class-'i' insn chain elements.
7606         * reload.c (loc_mentioned_in_p): Take address of
7607         in->fld[1].rtx directly.
7608         * reload1.c (reload): Change reg to a MEM before initializing
7609         it.
7610         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
7611         have no names.
7612         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
7613
7614 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
7615
7616         * config/mips/mips.c (machine_dependent_reorg): Force a
7617         barrier to output the local constant pool if a barrier hasn't
7618         been found at a natural point in the instruction stream.
7619
7620 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7621
7622         * c-parse.in (language_string): Constify.
7623
7624         * dwarf2out.c (language_string): Remove declaration.
7625
7626         * dwarfout.c (language_string): Likewise.
7627
7628         * toplev.c (language_string, init_parse, finish_parse): Likewise.
7629
7630         * tree.h (language_string, init_parse, finish_parse): Declare.
7631
7632         * i386/sun386.h (language_string): Remove declaration.
7633
7634         * mips.h (language_string): Likewise.
7635
7636         * nextstep.h (language_string): Likewise.
7637
7638         * nextstep21.h (language_string): Likewise.
7639
7640         * rs6000.c (language_string): Likewise.
7641
7642 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7643
7644         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
7645         (getpwd.o): Remove target.
7646
7647         * getpwd.c: Delete file.  Its in libiberty now.
7648
7649         * dbxout.c (getpwd): Don't prototype.
7650         * dwarf2out.c (getpwd): Likewise
7651         * dwarfout.c (getpwd): Likewise
7652         * final.c (getpwd): Likewise.
7653         * protoize.c (getpwd): Likewise.
7654
7655 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7656
7657         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
7658
7659 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
7660
7661         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
7662         mark_set_resources.
7663
7664 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
7665
7666         * fixinc/Makefile.in (subdir): New.
7667         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
7668         (Makefile): New.
7669
7670 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
7671
7672         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
7673         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
7674         be shared.
7675
7676         * invoke.texi: Fix typo.
7677
7678         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
7679         changed.  Handle autoincrement addressing modes.
7680
7681         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
7682         just like we would the virtual incoming args register when
7683         integrating.
7684
7685 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
7686
7687         * rs6000.h (ASM_FILE_START): Specify complete filename, including
7688         path, in .file directive.
7689
7690 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
7691
7692         * gcc.texi (External Bugs): Remove obsolete note about Perl on
7693         SunOS.
7694
7695 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
7696
7697         * stdbool.h: Make the typedef name _Bool, with bool a #defined
7698         alias.
7699
7700 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7701
7702         * tree.c (tree_code_name): Constify a char*.
7703
7704         * tree.h (tree_code_name, decl_printable_name): Likewise.
7705
7706         * function.h (struct function): Likewise.
7707
7708         * toplev.c (decl_name, decl_printable_name): Likewise.
7709
7710         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
7711
7712         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
7713         (init_objc): Remove function pointer cast.
7714
7715 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
7716
7717         * pa.md (interspace_jump): New pattern.
7718         (builtin_longjmp): New expander.
7719
7720 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
7721
7722         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
7723         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
7724         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
7725
7726 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
7727
7728         * jump.c (delete_prior_computation): Also check calls
7729         to constant functions.  Don't bother checking for a
7730         REG_UNUSED note before adding it.
7731         (delete_computation): Handle multi-word hard registers
7732         when synthesizing missing REG_DEAD notes for a register
7733         which is both set and used by an insn.
7734
7735 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7736
7737         * loop.c (this_loop_info): New variable.
7738         (loop_has_call, loop_has_volatile, loop_has_tablejump,
7739         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
7740         All uses updated.
7741         (prescan_loop, strength_reduce): New argument loop_info.  All callers
7742         updated.
7743         (scan_loop): New variable loop_info, initialise to address of
7744         this_loop_info.
7745         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
7746         Delete variable loop_has_multiple_exit targets and replace with
7747         field in this_loop_info.
7748         (find_and_verify_loops): Rename this_loop to this_loop_num.
7749         (strength_reduce): Delete loop_iteration_info.  Replace variable
7750         loop_info with function argument of same name.
7751         (insert_bct): Rework test for loop being completely unrolled.
7752
7753         * loop.h (struct loop_info): New fields num, loops_enclosed,
7754         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
7755         has_indirect_jump, and cont.  Redefine use of unroll_number.
7756         (loop_unroll_number): Delete.
7757
7758         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
7759         field of loop_info.
7760         (loop_iterations): Delete variable vtop and instead use
7761         loop_info->vtop computed in prescan_loop.
7762
7763 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
7764
7765         * fix-header.c (main): Do not pass a null pointer to strcmp.
7766
7767 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
7768
7769         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
7770         filenames.
7771         * configure: Rebuilt.
7772
7773 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
7774
7775         * jump.c (jump_optimize_1): Do not delete assignments to
7776         internal_arg_pointer.
7777         * cse.c (delete_trivially_dead_insns): Always consider a set of
7778         the internal_arg_pointer live.
7779
7780 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
7781
7782         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
7783         (update_life_info) [REG_WAS_0]: Search the original insns rather
7784         than the new insns for the note.  Fix typos finding note_dest.
7785         If no dest found, discard the note rather than abort.
7786         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
7787         (replace_insns): Remove the old insn list after update_life_info
7788         not before.
7789
7790 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
7791
7792         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
7793         sched_analyze_insn.
7794         (sched_analyze_1): Let add_dependence care for not adding dups.
7795         (sched_analyze_2): Likewise.
7796         (add_branch_dependences): Likewise.
7797
7798 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7799
7800         * i386/winnt.c (export_list): New type.
7801         (exports_head): Rename to
7802         (export_head):  this.
7803         (i386_pe_record_exported_symbol): Add is_data flag.
7804         (i386_pe_asm_file_end): Emit directive for exported variables.
7805         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
7806         prototype.
7807         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
7808         (ASM_DECLARE_OBJECT_NAME): Likewise.
7809         (ASM_DECLARE_FUNCTION_NAME): Likewise.
7810         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
7811
7812 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
7813
7814         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
7815
7816         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
7817         operand.
7818
7819 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
7820
7821         * config/openbsd.h: Define SET_ASM_OP.
7822         * tm.texi: cross-reference SET_ASM_OP in the index.
7823
7824 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
7825
7826         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
7827         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
7828         and class_narrowest_mode at compile time.  Kill init_rtl.
7829         Mark rtx_length, mode_class, mode_size, mode_unit_size,
7830         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
7831         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
7832         EXTRA_CC_NAMES.
7833         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
7834         format.
7835         * rtl.h: Declare rtx_length and rtx_format as const.
7836         * machmode.def: Define CC().  Use CC() to define CCmode.  If
7837         EXTRA_CC_MODES is defined, expand it here.
7838         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
7839         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
7840         const.  Kill all references to EXTRA_CC_MODES.
7841
7842         * toplev.c: Don't prototype or call init_rtl.
7843         * optabs.c: Don't call init_mov_optab.
7844         * genemit.c: Don't generate init_mov_optab.  Don't call
7845         init_rtl.
7846         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
7847         here.
7848         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
7849         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
7850         genrecog.c: Don't call init_rtl.
7851
7852         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
7853         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
7854         definition of EXTRA_CC_MODES.
7855
7856         * md.texi: Kill ref to EXTRA_CC_NAMES.
7857         * tm.texi: Document new way to define EXTRA_CC_MODES.
7858
7859         * genrecog.c: Do not look up the name of a define_split.
7860         (Unrelated bugfix.)
7861
7862 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
7863
7864         * config/v850/v850.md: Fix typo introduced by previous delta.
7865
7866 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7867
7868         * gcc.c (fatal): Make definition static to match prototype.
7869
7870 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7871
7872         * combine.c (get_last_value): Don't look for earlier sets if the last
7873         known set is somewhere in between the insns being combined.
7874
7875 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
7876
7877         * configure.in: Don't use shell ! to negate exit codes
7878         * configure: Regenerate
7879
7880 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
7881
7882         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
7883         the fact that ALIGN is measured in bits, not bytes.
7884
7885 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
7886
7887         * errors.c: New file; defines functions error, warning, and
7888         fatal, variables have_error and progname.
7889         * errors.h: New file; prototypes and decls for stuff in errors.c.
7890
7891         * Makefile: Add rules to build errors.o and
7892         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
7893         genopinit, genrecog, genextract, genpeep, genattr, and
7894         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
7895         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
7896         genpeep.o, genattr.o, and genoutput.o.
7897
7898         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
7899         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
7900         define or prototype fatal.  Set progname at beginning of main.
7901         * genoutput.c:  Likewise, and don't define or prototype error
7902         either.
7903
7904         * c-typeck.c (c_expand_start_case): Return immediately if exp
7905         is an ERROR_MARK.
7906         * fold-const.c (operand_equal_p): Return immediately if arg1
7907         or arg0 are ERROR_MARKs.
7908         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
7909         fields of type ERROR_MARK when calculating if the record can
7910         go in a register.
7911
7912 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
7913         with much help from Jeffrey A Law and Richard Henderson
7914
7915         * i386.md: In the 6 insns which call output_fix_trunc,
7916         earlyclobber operands[0].
7917
7918 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
7919
7920         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
7921         creating new registers.
7922
7923 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
7924
7925         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
7926         i386_reg_alloc_order, i386_regparm_string,
7927         i386_align_loops_string, i386_align_jumps_string,
7928         i386_align_funcs_string, i386_preferred_stack_boundary_string,
7929         and i386_branch_cost_string as type "const char *".
7930         * i386.c: Define all above strings as type "const char *".
7931
7932 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
7933
7934         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
7935         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
7936
7937 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
7938
7939         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
7940         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
7941
7942 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
7943
7944         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
7945         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
7946         (dwarf2out_line, dwarf2out_finish): Likewise.
7947         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
7948
7949 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
7950
7951         * tree.c (lang_unsave_expr_now) : Correct return type.
7952         * tree.h (lang_unsave_expr_now) : Same.
7953
7954 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
7955
7956         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
7957         instead of duplicating code.
7958
7959 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7960
7961         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
7962
7963 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
7964
7965         * tree.h: fancy_abort always takes three args.
7966         * resource.c: Move include of system.h before toplev.h.
7967
7968 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
7969
7970         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
7971         as SYMBOL_REFs.
7972
7973 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
7974
7975         * system.h: Don't redefine abort or trim_filename.
7976         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
7977         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
7978         whether or not __FUNCTION__ is available.
7979         * tree.h: Duplicate rtl.h's definition of abort, for files
7980         that don't include rtl.h.  Delete all code to perform type
7981         checking with a compiler other than GCC.
7982         * varray.h: Delete all code to perform type checking with a
7983         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
7984         its arguments exactly once, using a statement expression.
7985         Adjust the VARRAY_<type> accessor macros to match.
7986         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
7987         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
7988         caller's location.  Define fatal_insn and fatal_insn_not_found
7989         as macros that use _fatal_insn and _fatal_insn_not_found.
7990         (fancy_abort, trim_filename): Kill prototypes.
7991
7992         * rtl.c (trim_filename): Move here from toplev.c.
7993         (fancy_abort): New function.
7994         (DIR_SEPARATOR): Provide default definition.
7995         * tree.c (tree_check_failed, tree_class_check_failed): Go
7996         through fancy_abort.
7997         (tree_check, tree_class_check, cst_or_constructor_check,
7998         expr_check): Delete.
7999         * varray.c (varray_check_failed): New function.
8000         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
8001         _fatal_insn and _fatal_insn_not_found.  Go through
8002         fancy_abort.
8003         (trim_filename, fancy_abort): Delete.
8004
8005         * builtins.c (expand_builtin_args_info): Report ICE with abort.
8006         * except.c (start_catch_handler): Report ICE with error/abort
8007         combo.
8008         * final.c (output_operand_lossage): Likewise.
8009         * flow.c (verify_flow_info): Likewise.
8010
8011         * gcc.c: Prototype fatal.
8012         * gengenrtl.c: Undef abort after including rtl.h not system.h.
8013         * genattr.c, genattrtab.c, genemit.c, genextract.c,
8014         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
8015         Don't define fancy_abort.
8016
8017 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
8018
8019         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
8020         canonization.
8021
8022 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
8023
8024         * m88k.h (VERSION_INFO2): Kill.
8025         (VERSION_STRING): Kill.
8026         (TM_RCS_ID): Kill.
8027         (VERSION_INFO1): Tidy.
8028         (TARGET_VERSION): Update.
8029         * m88k/dgux.h (VERSION_INFO2): Kill.
8030         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
8031         * m88k/luna.h (VERSION_INFO1): Tidy.
8032         * m88k/sysv4.h (VERSION_INFO1): Likewise.
8033         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
8034         (output_file_start): Adjust for death of VERSION_STRING.
8035
8036 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
8037
8038         * cpplib.c (detect_if_not_defined): New function.
8039         (do_if): Use it to detect potential once-only headers.
8040
8041 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
8042
8043         * c-common.c (combine_strings): Always set TREE_CONSTANT.
8044
8045 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8046
8047         * combine.c (nonzero_bits) : Allow single-ly set registers to be
8048         anywere in the function only if they are pseudos and set before
8049         being used (not live at the start of the function).
8050         (num_sign_bit_copies) : Same.
8051         (get_last_value_validate) : Same.
8052         (get_last_value) : Same.
8053
8054 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
8055
8056         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
8057         where N and M are constant and N is an integer multiple of M.
8058
8059 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8060
8061         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
8062         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
8063         sbitmap_union_of_preds): Add prototypes.
8064         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
8065         the intersection of successors with the new flow graph structures.
8066         (sbitmap_intersection_of_preds): New function to compute the
8067         intersection of predecessors with the new flow graph structures.
8068         (sbitmap_union_of_succs): New function to compute the union of
8069         successors with the new flow graph structures.
8070         (sbitmap_union_of_preds): New function to compute the union of
8071         predecessors with the new flow graph structures.
8072         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
8073         (expr_reaches_here_p): Use edge and basic_block structures instead
8074         of s_preds and s_succs.
8075         (compute_cprop_avinout): Use new sbitmap routines.
8076         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
8077         of s_preds and s_succs.
8078         * flow.c (compute_flow_dominators): Compute dominators using
8079         edges and basic blocks instead of s_preds and s_succs.
8080
8081 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8082
8083         * lists.c (unused_insn_list, unused_expr_list): New file for
8084         maintaining various types of lists. New statics for maintaining a
8085         cache of available INSN_LIST and EXPR_LIST nodes.
8086         (free_list): Static function for freeing a list of INSN/EXPR nodes.
8087         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
8088         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
8089         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
8090         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
8091         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
8092         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
8093         (free_INSN_LIST_node): Free an individual INSN_LIST node.
8094         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
8095         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
8096         (remove_dependence, free_pending_lists): Use new global routines.
8097         (flush_pending_lists, sched_analyze_insn): Use new global routines.
8098         (sched_analyze, compute_block_backward_dependences): Use new routines.
8099         (sched_analyze_1, sched_analyze_2): Use new routines.
8100         (schedule_insns): Use new global routines.
8101         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
8102         prototypes.
8103         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
8104         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
8105         prototypes.
8106         * toplev.c (rest_of_compilation): Initialize node cache.
8107         * Makefile.in (OBJS): Add lists.o to list of object files.
8108         (lists.o): Add dependancies.
8109
8110 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
8111
8112         * config/v850/v850.md: Fix compile time warning messages.
8113         * config/v850/v850.c: Fix compile time warning messages.
8114         * config/v850/v850.h: Fix compile time warning messages.
8115
8116 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8117
8118         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
8119         Remove unused prototype for `init_lengths'.
8120
8121 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8122
8123         * calls.c (emit_call_1): Mark parameter `stack_size' with
8124         ATTRIBUTE_UNUSED.
8125         (expand_call): Initialize variable `insn'.
8126         (emit_library_call): Likewise for variable `high_to_save'.
8127         (emit_library_call_value): Likewise.
8128         (store_one_arg): Likewise for variables `lower_bound' and
8129         `upper_bound'.
8130
8131         * combine.c (try_combine): Likewise for variables `i2_code_number'
8132         and `other_code_number'.
8133         (find_split_point): Likewise for variables `pos', `unsignedp' and
8134         `inner'.
8135         (simplify_if_then_else): Likewise for variables `op' and `c1'.
8136         (simplify_and_const_int): Remove unused variable `width'.
8137         (merge_outer_ops): Likewise.
8138
8139         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
8140         HOST_WIDE_INT' when comparing against one.
8141         (simplify_relational_operation): Likewise.
8142         (cse_insn): Initialize variables `src_eqv_volatile',
8143         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
8144
8145         * final.c (init_final): Constify parameter `filename'.
8146         (final_start_function): Mark parameter `optimize' with
8147         ATTRIBUTE_UNUSED.
8148         (profile_function): Likewise for parameters `first' and `optimize'.
8149         (output_source_line): Likewise for parameter `file'.
8150
8151         * integrate.c (subst_constants): Cast a value to `size_t' when
8152         comparing against one.
8153         (mark_stores): Initialize variable `mode'.  Cast a value to
8154         `size_t' when comparing against one.
8155
8156         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
8157
8158         * loop.c (move_movables): Initialize variable `first'.
8159         (strength_reduce): Likewise for variable `increment'.
8160         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
8161         value to `size_t' when comparing against one.
8162         (load_mems): Initialize variable `end_label'.
8163
8164         * output.h (init_final): Constify parameter.
8165
8166         * reload.c (decompose): Initialize variable `base'.
8167
8168         * reload1.c (reload): Likewise for variable `is_scalar'.
8169         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
8170         (choose_reload_regs): Initialize variable `mode'.
8171         (emit_reload_insns): Likewise for variable `store_insn'.
8172         (reload_cse_noop_set_p): Mark parameter `insn' with
8173         ATTRIBUTE_UNUSED.
8174         (reload_combine): Initialize variable `set'.
8175
8176         * unroll.c (unroll_loop): Likewise for variable `local_label'.
8177         (copy_loop_body): Cast a value to `size_t' when comparing against
8178         one.
8179
8180         * varasm.c (assemble_variable): Initialize variable `size_tree'.
8181         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
8182         (remove_from_pending_weak_list): Mark parameter `name' with
8183         ATTRIBUTE_UNUSED.
8184
8185 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8186
8187         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
8188         gcse dump file.
8189
8190 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
8191
8192         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
8193         (ASM_DECLARE_FUNCTION_NAME): Define.
8194         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
8195         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
8196         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
8197         not already defined.
8198
8199 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8200
8201         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
8202         of n_popped when call/call_value are not defined.
8203
8204 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
8205
8206         * tm.texi: GNU CC -> GCC conversion.
8207         (CC1_SPEC): Indicate it is used for all language front ends.
8208
8209 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
8210
8211         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
8212         NOTE_INSN_EH_REGION_END correctly.
8213
8214 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
8215                           Jeff Law <law@cygnus.com>
8216
8217         * loop.c (strength_reduce): Automatically unroll loops if the
8218         unrolled loop size is smaller than the rolled loop size.
8219
8220         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
8221         and delete comment that code should be rewritten.
8222
8223 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
8224
8225         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
8226         as reachable.
8227
8228         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
8229
8230 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8231
8232         * fixinc/mkfixinc.sh: Don't fix uwin headers.
8233         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
8234         (LINK_SPEC): Add -u _main when building executables.
8235         (ASM_DECLARE_FUNCTION): Update from Cygwin.
8236         (ASM_FILE_END): Use the default for ix86-pe.
8237         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
8238
8239 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
8240
8241         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
8242         and ASM_CLOSE_PAREN are empty strings.
8243
8244 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
8245                           Geoffrey Keating <geoffk@cygnus.com>
8246
8247         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
8248         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
8249         (unprotoize.o): Ditto.
8250         (test-protoize-simple): Don't define STD_PROTO_DIR.
8251         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
8252         changes to make 'test-protoize-simple' pass.
8253         (STD_PROTO_DIR): Remove define.
8254         (STANDARD_EXEC_PREFIX): Supply default define.
8255         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
8256         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
8257         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
8258         (GET_ENV_PATH_LIST): New macro.
8259         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
8260         (do_processing): Initialize default_syscalls_dir using new
8261         macros.  Use it to initialize syscalls_absolute_filename.
8262
8263 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
8264
8265         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
8266         B into a register before emit_conditional_move.
8267
8268 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
8269
8270         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
8271         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
8272         multiplicand out of (+ (* a b) (* c d)).
8273
8274 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
8275                           Richard Henderson  <rth@cygnus.com>
8276
8277         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
8278         (new_insn_dead_notes): Likewise.
8279         (update_n_sets): Likewise.
8280         (update_flow_info): Move to flow.c, renamed to update_life_info;
8281         extend to handle multiple source insns.
8282         * flow.c: Include resource.h
8283         (unlink_insn_chain): New.
8284         (split_hard_reg_notes): New.
8285         (maybe_add_dead_note): New.
8286         (maybe_add_dead_note_use): New.
8287         (find_insn_with_note): New.
8288         (new_insn_dead_notes): New.
8289         (update_n_sets): New.
8290         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
8291         (maybe_remove_dead_notes): New.
8292         (update_life_info): New.
8293         (prepend_reg_notes): New.
8294         (replace_insns): New.
8295         * output.h (update_life_info): Declare.
8296         * recog.c (split_block_insns): Use update_life_info.
8297         * resource.c (find_free_register): Use reg_alloc_order, don't use
8298         fixed regs, make sure the mode is supported, don't use new regs.
8299         (reg_dead_p): New.
8300         * rtl.h (replace_insns): Declare.
8301
8302 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
8303
8304         * expr.c (expand_expr): Cope with COND_EXPRs with one
8305         non-returning branch.
8306
8307 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
8308
8309         * expr.c (store_expr): Always pass down the target, even when not
8310         doing CSE.
8311
8312 1999-08-24  Nick Clifton  <nickc@cygnus.com>
8313
8314         * configure.in: Define target_cpu_default for v850 targets.
8315         * configure: Regenerate
8316
8317         * config/v850/v850.h (TARGET_CPU_generic): Define.
8318         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
8319         addresses are 4 byte aligned.
8320
8321         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
8322         addresses.
8323
8324 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8325
8326         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
8327         (main): Add prototypes.
8328
8329         * genattrtab.c (substitute_address, write_const_num_delay_slots,
8330         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
8331         (write_attr_get): Emit prototypes along with function definition.
8332         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
8333         (write_complex_function): Emit static prototype along with
8334         function definition.
8335
8336         * genemit.c (gen_split): Emit prototypes along with function
8337         definition.
8338
8339         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
8340         Likewise for predicates and `insn_operand_predicate'.
8341         (process_template): Emit static prototype along with function
8342         definition.
8343
8344         * genrecog.c (make_insn_sequence): Constify a char*.  Add
8345         prototypes for get_split_*().
8346         (write_subroutine): Emit prototypes along with function
8347         definition.
8348
8349 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8350
8351         * gcse.c (find_avail_set): Follow chains of register-register copies.
8352         Use oprs_not_set_p to guarantee that the returned value can be
8353         substituted.
8354         (cprop_insn): Don't verify the return value of find_avail_set with
8355         oprs_not_set_p.
8356
8357         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
8358         (cprop_cc0_jump): New function.
8359         (cprop_insn): Break out new function cprop_jump and use it.
8360         Also use cprop_cc0_jump for machines with CC0.
8361         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
8362
8363         * tree.h (current_function_calls_setjmp,
8364         current_function_calls_longjmp): Delete declarations.
8365         * dsp16xx.c: Include "function.h".
8366         * elxsi.c: Likewise.
8367         * gmicro.c: Likewise.
8368         * h8300.c: Likewise.
8369         * i370.c: Likewise.
8370         * m32r.c: Likewise.
8371         * mn10200.c: Likewise.
8372         * mn10300.c: Likewise.
8373         * ns32k.c: Likewise.
8374         * spur.c: Likewise.
8375         * v850.c: Likewise.
8376
8377         * rtl.h (rtx_equal_function_value_matters): Declare.
8378         * toplev.c (rtx_equal_function_value_matters): Don't declare.
8379         * cse.c: Likewise.
8380         * function.c: Likewise.
8381         * emit-rtl.c: Likewise.
8382
8383 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
8384
8385         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
8386         call.
8387
8388 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8389
8390         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
8391         exactly.
8392
8393 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
8394
8395         * cpp.texi: Add a node documenting macro varargs (copied
8396         from extend.texi).
8397
8398 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
8399
8400         * cppspec.c: Put a null pointer at the end of the new argv.
8401
8402 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
8403
8404         * configure.in: Remove code to select/de-select the haifa
8405         scheduler.  Every scheduled port gets haifa now.
8406         * configure: Rebuilt.
8407         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
8408         * sched.c Deleted.
8409         * Makefile.in: Corresponding changes.
8410
8411 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8412
8413         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
8414         All callers changed.
8415         (prepare_float_lib_cmp): Likewise.
8416         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
8417         * expr.h (emit_float_lib_cmp): Delete declaration.
8418         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
8419         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
8420         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
8421         specially.
8422         (cmptf): Now conditional on TARGET_HARD_QUAD.
8423
8424 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
8425
8426         * resource.c (mark_target_live_regs): Use
8427         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
8428
8429 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8430
8431         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
8432
8433         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
8434
8435         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
8436
8437 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8438
8439         * rtl.h (rtx_format): Constify a char*.
8440
8441         * rtl.c (rtx_format): Likewise.
8442         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
8443         (init_rtl): Use accessor macro, not `rtx_format'.
8444
8445         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
8446         char*.
8447
8448         * caller-save.c (mark_referenced_regs): Likewise.
8449
8450         * combine.c (subst, make_compound_operation, known_cond,
8451         gen_rtx_combine, update_table_tick, get_last_value_validate,
8452         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
8453
8454         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
8455         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
8456         count_reg_usage): Likewise.
8457
8458         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
8459         Likewise.
8460
8461         * final.c (leaf_renumber_regs_insn): Likewise.
8462
8463         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
8464         dump_edge_info, count_reg_references): Likewise.
8465
8466         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
8467         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
8468         Likewise.
8469
8470         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
8471         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
8472         add_label_notes): Likewise.
8473
8474         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
8475         clear_struct_flag, count_sub_rtxs, count_alternatives,
8476         compares_alternatives_p, contained_in_p, walk_attr_value,
8477         write_expr_attr_cache): Likewise.
8478
8479         * genconfig.c (walk_insn_part): Likewise.
8480
8481         * genemit.c (max_operand_1, gen_exp): Likewise.
8482
8483         * genextract.c (walk_rtx): Likewise.
8484
8485         * genflags.c (num_operands): Likewise.
8486
8487         * genoutput.c (scan_operands): Likewise.
8488
8489         * genpeep.c (match_rtx): Likewise.
8490
8491         * genrecog.c (add_to_sequence): Likewise.
8492
8493         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
8494         Likewise.
8495
8496         * integrate.c (save_constants, copy_for_inline,
8497         copy_rtx_and_substitute, subst_constants, restore_constants):
8498         Likewise.
8499
8500         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
8501         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
8502
8503         * local-alloc.c (contains_replace_regs, memref_referenced_p):
8504         Likewise.
8505
8506         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
8507         add_label_notes, replace_call_address, count_nonfixed_reads,
8508         invariant_p, find_single_use_in_loop, find_mem_givs,
8509         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
8510         Likewise.
8511
8512         * print-rtl.c (reg_names, print_rtx): Likewise.
8513
8514         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
8515
8516         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
8517         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
8518         print_blocks): Likewise.
8519
8520         * regclass.c (fix_register, record_address_regs,
8521         reg_scan_mark_refs): Likewise.
8522
8523         * regmove.c (stable_but_for_p): Likewise.
8524
8525         * reload.c (loc_mentioned_in_p, operands_match_p,
8526         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
8527         copy_replacements, refers_to_regno_for_reload_p,
8528         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
8529         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
8530         Likewise.
8531
8532         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
8533         delete_address_reloads_1, count_occurrences,
8534         reload_cse_mem_conflict_p, reload_combine_note_use,
8535         add_auto_inc_notes): Likewise.
8536
8537         * resource.c (mark_referenced_resources, mark_set_resources):
8538         Likewise.
8539
8540         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
8541         reg_mentioned_p, regs_set_between_p, modified_between_p,
8542         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
8543         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
8544         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
8545         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
8546
8547         * sched.c (sched_analyze_2, attach_deaths): Likewise.
8548
8549         * stupid.c (stupid_mark_refs): Likewise.
8550
8551         * unroll.c (remap_split_bivs): Likewise.
8552
8553         * varasm.c (mark_constants): Likewise.
8554
8555         * a29k/a29k.c (uses_local_reg_p): Likewise.
8556
8557         * alpha/alpha.c (summarize_insn): Likewise.
8558
8559         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
8560         eliminate_lr2ip): Likewise.
8561
8562         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
8563
8564         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
8565         reg_mentioned_in_mem): Likewise.
8566
8567         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
8568         symbolic_reference_mentioned_p): Likewise.
8569
8570         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
8571
8572         * sh/sh.c (regs_used, mark_use): Likewise.
8573
8574         * vax/vax.c (vax_rtx_cost): Likewise.
8575
8576 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8577
8578         * machmode.h (mode_name): Constify a char*.
8579
8580         * rtl.c (mode_name): Likewise.
8581
8582         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
8583
8584         * optabs.c (init_libfuncs): Constify a char*.
8585
8586         * print-tree.c (mode_name): Remove redundant declaration.
8587         (print_node): Use accessor macro, not `mode_name'.
8588
8589         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
8590         not `mode_name'.
8591         (new_spill_reg): Constify a char*.
8592
8593         * tree.c (mode_name): Remove redundant declaration.
8594
8595 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8596
8597         * rtl.c (rtx_name): Constify a char*.
8598
8599         * rtl.h (rtx_name, fix_sched_param): Likewise.
8600
8601         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
8602         (mypr): Use accessor macro, not `rtx_name'.
8603
8604         * genemit.c (print_code): Constify a char*.
8605
8606         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
8607
8608         * genpeep.c (print_code): Constify a char*.
8609
8610         * genrecog.c (print_code): Likewise.
8611
8612         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
8613         end_bb): Add static prototype.
8614         (draw_edge): Constify a char*.
8615         (end_bb): Remove unused parameter.
8616
8617         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
8618         print_block_visualization): Constify a char*.
8619
8620 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
8621
8622         * c-common.c (c_get_alias_set): Update comment.
8623
8624 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8625
8626         * linux.h (LIB_SPEC): Added.
8627
8628 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8629
8630         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
8631
8632 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
8633
8634         * tree.c (expr_check): Fix typo in last change.
8635
8636 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
8637
8638         * rtl.def (NOTE): Change format to "iuu0n".
8639         (ADDR_DIFF_VEC): Change format to "eEee0".
8640         (ADDRESSOF): Change format to "eit".
8641
8642         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
8643         (RTVEC_ELT): Change to match.
8644         (XVECEXP): Use XVEC and RTVEC_ELT.
8645         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
8646         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
8647         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
8648         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
8649         TRAP_CONDITION, TRAP_CODE): Use XEXP.
8650         (INTVAL): Use XWINT.
8651         (ADDRESSOF_DECL): Use XTREE.
8652         (SET_ADDRESSOF_DECL): Delete.
8653         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
8654         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
8655         ifdefed out since 2.6 at least.
8656         (gen_rtvec_vv): Delete prototype.
8657
8658         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
8659         not rtunion.
8660         (copy_most_rtx): Handle 't' format letter.
8661         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
8662         (gen_rtvec_vv): Delete function.  All callers changed to use
8663         gen_rtvec_v instead.
8664         * print-rtl.c (print_rtx): Move special casing of NOTEs to
8665         the '0' format letter.
8666
8667         * function.c (gen_mem_addressof): Don't use
8668         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
8669         instead.
8670         * integrate.c (copy_rtx_and_substitute): Likewise.
8671         Copy 't' slots with XTREE.
8672         (subst_constants): Treat 't' slots like '[swi]' slots.
8673         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
8674         * jump.c (rtx_equal_for_thread_p): Likewise.
8675         * rtlanal.c (rtx_equal_p): Likewise.
8676         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
8677         only four arguments.
8678         * gengenrtl.c (type_from_format): Provide correct types for
8679         'b' and 't' slots.
8680
8681
8682         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
8683         If a recent gcc is in use (always in stage2 and beyond), use
8684         statement expressions, so we don't make a function call unless
8685         the check fails.  Evaluate arguments exactly once.
8686         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
8687         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
8688         Delete.
8689         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
8690         they evaluate their arguments exactly once, irrespective of
8691         the compiler in use.
8692
8693         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
8694         is used by the currently-enabled check macros.  This is:
8695         (tree_check_failed, tree_class_check_failed): For gcc.
8696         (tree_check, tree_class_check, cst_or_constructor_check,
8697         expr_check): For other compilers.
8698
8699         * gencheck.c: Do not define any *_CHECK1 macros.
8700
8701 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
8702                           Mark Mitchell <mark@codesourcery.com>
8703
8704         * c-common.c (c_get_alias_set): Fix support for poitners and
8705         references.
8706
8707 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
8708
8709         * alias.c: Include tree.h.
8710         (nonlocal_reference_p, mark_constant_function): New functions.
8711         * flow.c (life_analysis): Call mark_constant_function.
8712         * rtl.h (mark_constant_function): Declare it.
8713
8714 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
8715
8716         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
8717         unrecognisable switches.
8718
8719 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8720
8721         * loop.c (recombine_givs): Set ix field after sorting.
8722         (recombine_givs): Remove bogus index / giv lockstep looping.
8723
8724 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8725
8726         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
8727         on CODE.
8728         (emit_store_flag_force): Use do_compare_rtx_and_jump.
8729         (do_cmp_and_jump): Formatting fixes.
8730         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
8731         do_compare_rtx_and_jump instead of compare_from_rtx.
8732         (do_compare_rtx_and_jump): New function; mostly copied from
8733         compare_from_rtx.
8734         (do_jump_for_compare): Delete.
8735         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
8736         MIN_EXPR.
8737         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
8738         of compare/do_jump_for_compare pairs.
8739         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
8740         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
8741         compare_from_rtx/do_jump_for_compare pairs.
8742         (do_jump_by_parts_equality): Likewise.
8743         (do_jump_by_parts_equality_rtx): Likewise.
8744         * expr.h (do_compare_rtx_and_jump): Declare.
8745         * optabs.c (prepare_cmp_insn): New function, contains most of the code
8746         that used to be in emit_cmp_insn.
8747         (cmp_available_p): New function.
8748         (prepare_operand): New function.
8749         (emit_cmp_and_jump_insn_1): New function, contains some code that used
8750         to be in emit_cmp_insn.
8751         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
8752         parameters to be pointers; don't emit final compare but modify some of
8753         the values pointed to by the args so the caller can perform the
8754         correct comparison.
8755         (expand_binop): Call emit_store_flag_force with signed forms of
8756         comparison code.
8757         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
8758         emit_jump_insn pair.
8759         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
8760         emit_cmp_and_jump_insn_1.  Call emit_queue.
8761         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
8762         arg.
8763         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
8764         jump sets cc0 before deleting it.
8765         * integrate.c (expand_inline_function): Likewise.
8766         * unroll.c (unroll_loop): Similar changes in several places.
8767         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
8768         before deleting it.
8769
8770 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8771
8772         * Makefile.in (insn-recog.o): Update dependencies.
8773         * genrecog.c (main): Make generated file include "function.h".
8774
8775 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
8776
8777         * cse.c (cse_insn): Call never_reached_warning when a jump is
8778         changed to be unconditional.
8779         * flags.h: Declare warn_notreached.
8780         * flow.c (delete_block): Call never_reached_warning when
8781         a block is deleted.
8782         * jump.c (delete_barrier_successors): Call never_reached_warning
8783         when we delete everything after a BARRIER.
8784         (never_reached_warning): New function.
8785         * rtl.h: Declare never_reached_warning.
8786         * toplev.c (warn_notreached): New variable.
8787         (lang_independent_options): Set warn_notreached
8788         when -Wunreachable-code.
8789         (compile_file): We need line numbers for -Wunreachable-code.
8790
8791 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
8792
8793         * haifa-sched.c (insn_unit): Fix typo on out of range test.
8794         * sched.c (insn_unit): Likewise.
8795
8796 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
8797
8798         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
8799
8800 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8801
8802         * flow.c (create_edge_list): Use xmalloc, not malloc.
8803
8804 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
8805
8806         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
8807         C-style comments.  Do not lose the character before double slash.
8808
8809 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8810
8811         * basic-block.h (struct edge_list): Stucture to maintain a vector
8812         of edges.
8813         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
8814          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
8815         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
8816         New function prototypes.
8817         * flow.c (create_edge_list): Function to create an edge list.
8818         (free_edge_list): Discards memory used by an edge list.
8819         (print_edge_list): Debug output showing an edge list.
8820         (verify_edge_list): Internal consistency check for an edge list.
8821         (find_edge_index): Function to find an edge index for a pred and succ.
8822
8823 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
8824
8825         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
8826         hashtable.
8827
8828 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
8829
8830         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
8831
8832 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8833
8834         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8835
8836 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
8837
8838         * toplev.c (rest_of_compilation): Allow machine dependent
8839         reorganisation pass to place information into the RTL dump
8840         file if it so wishes.
8841
8842 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
8843
8844         * explow.c (hard_function_value): Use VOIDmode instead of
8845         MAX_MACHINE_MODE.
8846         * stmt.c (expand_return): Likewise.
8847         * stor-layout.c (get_best_mode): Likewise.
8848
8849         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
8850         emit call instead of emit_insn call.
8851
8852 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8853
8854         * configure.in: Handle --disable/enable-win32-registry.
8855         * install.texi: Document --disable/enable-win32-registry.
8856         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
8857         (WIN32_REGISTRY_KEY): New macro.
8858         * prefix.c: Use to enable/disable win32-specific code.
8859         (lookup_key): Use versioned key.
8860         * configure: Regenerate.
8861         * config.in: Likewise.
8862
8863 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
8864
8865         * cpplib.c (read_line_number): New fn, split out of...
8866         (do_line): Here.
8867
8868 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8869
8870         tree.c (lang_unsave_expr_now) : New.
8871         (unsave_expr_now): Call lang_unsave_expr_now.
8872         tree.h (lang_unsave_expr_now) : New.
8873
8874 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
8875
8876         * toplev.c (flag_new_exceptions): On by default.
8877
8878 1999-08-13  Michael Meissner  <meissner@cygnus.com>
8879
8880         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
8881
8882 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
8883
8884         * dwarfout.c (fundamental_type_code): Return FT_boolean for
8885         INTEGER_TYPE with precision==1, it's __java_boolean.
8886
8887 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8888
8889         * global.c (prune_preferences): Move some invariants out of the
8890         inner loop.
8891
8892 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
8893
8894         * configure.in (alpha*-dec-osf*): Add osf5.
8895
8896 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
8897
8898         * configure.in: Rework handling of ARM GNU/Linux slightly.
8899         (arm*-*-linux-gnuoldld): New target.
8900         * configure: Regenerate.
8901         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
8902         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
8903         * config/arm/linux-oldld.h: New file.
8904         * config/arm/linux-elf26.h: Don't include linux-elf.h.
8905         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
8906         Don't define.
8907         * config/arm/linux-elf.h (ASM_SPEC): Define.
8908         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
8909         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
8910         for 26-bit APCS and old linker.
8911         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
8912         `arm_elf'.
8913         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
8914         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
8915         don't define `arm' or `arm_elf'.
8916         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
8917         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
8918
8919 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
8920
8921         * rtl.texi: Fix typo.
8922
8923 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
8924
8925         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
8926
8927 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
8928
8929         * extend.texi (C++ Signatures): Remove node.
8930         * invoke.texi: Remove discussion of -fhandle-signatures,
8931         signature, sigof, __signature__, and __sigof__.
8932
8933 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
8934
8935         * Makefile.in (JAVAGC): Removed.
8936
8937 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8938
8939         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
8940
8941 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
8942
8943         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
8944
8945 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
8946
8947         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
8948         a register that is already known to be a pointer.
8949
8950 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
8951
8952         * fixinc/inclhack.tpl: Only install assert.h conditionally.
8953         * fixinc/inclhack.sh: Regenerated.
8954         * fixinc/fixincl.sh: Regenerated.
8955
8956 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
8957
8958         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
8959         Fix documentation of -ansi flag to describe its C++ behavior.
8960         Remove bogus reference to GCC 2.9.
8961
8962 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
8963
8964         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
8965         note if it is non-NULL.
8966
8967 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8968
8969         * except.h (eh_nesting_info): Add new structure defintion.
8970         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
8971         (reachable_handlers, update_rethrow_references): Add function
8972         prototypes.
8973         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
8974         a rethrow symbol instead of an integer exception region number.
8975         * flow.c (Make_edges): Use new exception nesting routines to determine
8976         which handlers are reachable from a CALL or asynchronous insn.
8977         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
8978         goto receivers.
8979         (delete_eh_regions): Update rethrow labels, and don't delete
8980         regions which are the target of a rethrow.
8981         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
8982         avoid overloading the SYMBOL_REF_USED flag.
8983         (rethrow_symbol_map): Use new rethrow_ref field.
8984         (rethrow_used): Use new rethrow_ref field.
8985         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
8986         of an integer.  Fix formatting.
8987         (output_exception_table_entry): Use new rethrow_ref field.
8988         (can_throw): Check for EH_REGION_NOTE before deciding
8989         whether a CALL can throw or not.
8990         (scan_region): Call rethrow_used() instead of accessing data structure.
8991         (update_rethrow_references): New function to make sure only regions
8992         which are still targets of a rethrow are flagged as such.
8993         (process_nestinfo): New static function to initialize a handler
8994         list for a specific region.
8995         (init_eh_nesting_info): New function to allocate and initialize
8996         the list of all EH handlers reachable from all regions.
8997         (reachable_handlers): New function to retrieve the list of handlers
8998         reachable from a specific region and insn.
8999         (free_eh_nesting_info): New function to dispose of a list of
9000         reachable handlers.
9001
9002 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9003
9004         * flow.c (split_edge): Set JUMP_LABEL field.
9005         (commit_one_edge_insertion): Set head correctly for insert_before.
9006         When inserting insns, update insn block numbers if allocated.
9007
9008 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9009
9010         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
9011         retry_incomplete_types): Add static prototype.
9012         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
9013         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
9014         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
9015         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
9016         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
9017         Constify a char*.
9018
9019         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
9020         dwarf2out_start_source_file, dwarf2out_line): Likewise.
9021
9022 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9023
9024         * output.h (assemble_name): Constify a char*.
9025
9026         * varasm.c (UNIQUE_SECTION, assemble_start_function,
9027         assemble_variable, assemble_name): Likewise.
9028
9029         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
9030
9031         * arm/pe.c (arm_pe_unique_section): Likewise.
9032
9033         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
9034
9035         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
9036
9037         * i386/interix.c (i386_pe_unique_section): Likewise.
9038
9039         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9040
9041         * i386/winnt.c (i386_pe_unique_section): Likewise.
9042
9043         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
9044
9045         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
9046
9047         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
9048
9049         * pa/pa.c (output_call): Likewise.
9050
9051         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
9052
9053         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
9054
9055         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
9056         Likewise.
9057
9058         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
9059         Likewise.
9060
9061         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
9062
9063         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
9064         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
9065
9066         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
9067
9068 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9069
9070         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
9071
9072 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9073
9074         * tree.h (lang_identify): Constify a char*.
9075         (print_error_function): Add extern prototype.  Constify a char*.
9076
9077         * c-lang.c (lang_identify): Constify a char*.
9078
9079         * objc/objc-act.c (lang_identify): Constify a char*.
9080
9081 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9082
9083         * genpeep.c (main): Make generated file include "function.h".
9084         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
9085
9086 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9087
9088         * Makefile.in: Update dependencies.
9089         * alias.c: Include "function.h"
9090         * c-decl.c: Likewise.
9091         * caller-save.c: Likewise.
9092         * calls.c: Likewise.
9093         * combine.c: Likewise.
9094         * cse.c: Likewise.
9095         * explow.c: Likewise.
9096         * final.c: Likewise.
9097         * global.c: Likewise.
9098         * graph.c: Likewise.
9099         * local-alloc.c: Likewise.
9100         * loop.c: Likewise.
9101         * optabs.c: Likewise.
9102         * profile.c: Likewise.
9103         * recog.c: Likewise.
9104         * regclass.c: Likewise.
9105         * regmove.c: Likewise.
9106         * reload.c: Likewise.
9107         * reorg.c: Likewise.
9108         * resource.c: Likewise.
9109         * sched.c: Likewise.
9110         * stupid.c: Likewise.
9111         * config/1750a/1750a.c: Likewise.
9112         * config/a29k/a29k.c: Likewise.
9113         * config/arc/arc.c: Likewise.
9114         * config/arm/arm.c: Likewise.
9115         * config/arm/thumb.c: Likewise.
9116         * config/c4x/c4x.c: Likewise.
9117         * config/clipper/clipper.c: Likewise.
9118         * config/convex/convex.c: Likewise.
9119         * config/fx80/fx80.c: Likewise.
9120         * config/i860/i860.c: Likewise.
9121         * config/m68k/m68k.c: Likewise.
9122         * config/m88k/m88k.c: Likewise.
9123         * config/mips/mips.c: Likewise.
9124         * config/pdp11/pdp11.c: Likewise.
9125         * config/pyr/pyr.c: Likewise.
9126         * config/romp/romp.c: Likewise.
9127         * config/sh/sh.c: Likewise.
9128         * config/tahoe/tahoe.c: Likewise.
9129         * config/vax/vax.c: Likewise.
9130         * config/we32k/we32k.c: Likewise.
9131         * config/sparc/sparc.c: Include "function.h".
9132         (mem_min_alignment): Test current_function rather than
9133         regno_pointer_align.
9134         * config/pa/pa.c: Likewise.
9135         (compute_frame_size): Delete declaration of
9136         current_function_outgoing_args_size.
9137         * config/arc/arc.h (current_function_varargs): Delete declaration.
9138         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
9139         declaration.
9140         * config/i370/i370.h (current_function_outgoing_args_size): Delete
9141         declaration.
9142         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
9143         current_function_uses_pic_offset_table.
9144         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
9145         of current_function_returns_pointer.
9146         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9147         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9148         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9149         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9150         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9151         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9152         * config/m88k/m88k.c: Include "function.h"
9153         (call_used_regs, current_function_pretend_args_size,
9154         current_function_outgoing_args_size, frame_pointer_needed): Delete
9155         declarations.
9156         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
9157         declaration.
9158         * config/mips/mips.h (current_function_calls_alloca): Delete
9159         declaration.
9160         * config/mn10200/mn10200.h (current_function_needs_context,
9161         rtx_equal_function_value_matters): Delete declarations.
9162         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
9163         flag_pic): Delete declarations.
9164         * config/pa/pa.h (current_function_pretend_args_size,
9165         current_function_decl): Delete declarations.
9166         * config/pa/som.h (current_function_varargs): Delete declaration.
9167         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
9168         declaration.
9169         * config/pyr/pyr.h (current_function_pretend_args_size,
9170         current_function_args_size, current_function_calls_alloca): Delete
9171         declarations.
9172         * config/sh/sh.h (current_function_varargs): Delete declaration.
9173         * config/sparc/sparc.h (current_function_outgoing_args_size,
9174         current_function_calls_alloca, current_function_decl): Delete
9175         declarations.
9176         * config/spur/spur.h (current_function_pretend_args_size,
9177         current_function_calls_alloca): Delete declarations.
9178         * config/v850/v850.c (current_function_outgoing_args_size): Delete
9179         declaration.
9180         * config/vax/vms.h (current_function_name): Delete declaration.
9181         * gcse.c: Include "function.h".
9182         (current_function_name, current_function_calls_setjmp): Delete
9183         declarations.
9184         * haifa-sched.c: Include "function.h".
9185         (forced_labels): Delete declaration.
9186         * jump.c: Likewise.
9187         * reg-stack.c: Likewise.
9188         * reload1.c: Likewise.
9189         * genemit.c (main): Make generated file include function.h.
9190         * genoutput.c (output_prologue): Likewise.
9191
9192         * builtins.c (saveregs_value, apply_args_value): Delete variables.
9193         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
9194         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
9195         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
9196         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
9197         macros for some of them.
9198         (emit_filename, emit_lineno): Delete declarations.
9199         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
9200         regno_pointer_* variables through current_function.
9201         (gen_inline_header_rtx): Delete function.
9202         (save_emit_status): Delete function.
9203         (set_new_last_label_num): New function.
9204         (clear_emit_caches): New function.
9205         (restore_emit_status): Just clear last_labelnum and call
9206         clear_emit_caches.
9207         (get_last_insn_anywhere): Variable sequence_stack is now accessed
9208         through macro seq_stack.
9209         (add_insn_after): Likewise.
9210         (add_insn_before): Likewise.
9211         (remove_insn): Likewise.
9212         (pop_topmost_sequence): Likewise.
9213         (in_sequence_p): Likewise.
9214         (start_sequence_for_rtl_expr): Likewise.
9215         (start_sequence): Likewise, and likewise for
9216         sequence_rtl_expr/seq_rtl_expr.
9217         (push_topmost_sequence): Likewise.
9218         (end_sequence): Likewise.
9219         (init_virtual_regs): Now takes a "struct emit_status *" argument.
9220         All callers changed.  Store into that pointer instead of globals.
9221         (init_emit): Allocate emit elt of current_function.
9222         Changes for sequence_rtl_expr/sequence_stack renaming.
9223         Call clear_emit_caches instead of doing it in-line.
9224         Access regno_pointer_* variables through current_function.
9225         (init_emit_once) Don't clear sequence_stack.
9226
9227         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
9228         Delete variables.
9229         (arg_pointer_save_area): Delete declaration.
9230         (finish_expr_for_function): Renamed from init_queue; no longer static.
9231         (init_expr): Don't call init_queue.
9232         (save_expr_status, restore_expr_status): Delete functions.
9233         (expand_expr): Changes to reflect new layout of struct function.
9234         Don't access current_function_check_memory_usage when current_function
9235         is 0.
9236         * expr.h (forced_labels, save_expr_regs, saveregs_value,
9237         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
9238         current_function_outgoing_args_size, current_function_arg_offset_rtx,
9239         current_function_uses_const_pool, function_call_count,
9240         current_function_uses_pic_offset_table, nonlocal_labels,
9241         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
9242         current_function_check_memory_usage, nonlocal_goto_handler_slots,
9243         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
9244         declarations.
9245         (finish_expr_for_function): Declare.
9246         * flags.h (current_function_has_nonlocal_label,
9247         current_function_has_nonlocal_goto, current_function_is_thunk,
9248         current_function_has_computed_jump): Delete declarations.
9249         * flow.c (forced_labels): Delete declaration.
9250         * function.c (current_function_pops_args,
9251         current_function_returns_struct, current_function_returns_pcc_struct,
9252         current_function_needs_context, current_function_calls_setjmp,
9253         current_function_calls_longjmp, current_function_has_nonlocal_label,
9254         current_function_has_nonlocal_goto, current_function_is_thunk,
9255         current_function_has_computed_jump, current_function_calls_alloca,
9256         current_function_contains_functions, current_function_returns_pointer,
9257         current_function_epilogue_delay_list, current_function_args_size,
9258         current_function_pretend_args_size, current_function_arg_offset_rtx,
9259         current_function_outgoing_args_size, current_function_varargs,
9260         current_function_stdarg, current_function_args_info, cleanup_label,
9261         current_function_name, current_function_uses_const_pool,
9262         current_function_instrument_entry_exit, current_function_return_rtx,
9263         current_function_uses_pic_offset_table, nonlocal_labels,
9264         current_function_internal_arg_pointer, current_function_cannot_inline,
9265         current_function_check_memory_usage, function_call_count,
9266         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
9267         nonlocal_goto_stack_level, return_label, save_expr_regs,
9268         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
9269         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
9270         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
9271         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
9272         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
9273         Delete variables.
9274         (push_function_context_to): Don't save them.  Don't call
9275         save_storage_status, save_emit_status or save_expr_status.
9276         (pop_function_context_from): Don't restore them.  Don't call
9277         restore_storage_status or restore_expr_status.
9278         (get_func_frame_size): New function.
9279         (get_frame_size): Use it.
9280         (assign_outer_stack_local): Reflect some member name changes in struct
9281         function.
9282         (put_reg_into_stack): Likewise.
9283         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
9284         seq_rtl_expr.
9285         (fixup_var_refs): Likewise.
9286         (fix_lexical_addr): Likewise.
9287         (trampoline_address): Likewise.
9288         (prepare_function_start): Clear field inlinable of current_function.
9289         (init_function_for_compilation): New function.
9290         (expand_dummy_function_end): New function.
9291         (expand_function_end): Call finish_expr_for_function.
9292         * function.h (struct emit_status): New; fields moved here from struct
9293         function and from global variables.  Add accessor macros for some of
9294         the fields.
9295         (struct expr_status): Likewise.
9296         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
9297         (struct function): Add fields expr and emit, inlinable, inl_emit,
9298         original_arg_vector, original_decl_initial, inl_last_parm_insn,
9299         inl_max_label_num.  Add many comments.
9300         Add accessor macros for all elts of struct function that no longer
9301         have a global variable.
9302         (cleanup_label, return_label, frame_offset, tail_recursion_label,
9303         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
9304         stack_slot_list): Delete declarations.
9305         (get_func_frame_size): Declare.
9306         (save_expr_status, restore_expr_status, save_emit_status,
9307         save_storage_status, restore_storage_status): Delete declarations.
9308         (init_virtual_regs): Declare.
9309         * output.h (current_function_pops_args,
9310         current_function_returns_struct, current_function_returns_pcc_struct,
9311         current_function_needs_context, current_function_calls_setjmp,
9312         current_function_calls_longjmp, current_function_calls_alloca,
9313         current_function_has_nonlocal_label, current_function_varargs,
9314         current_function_has_computed_jump, current_function_returns_pointer,
9315         current_function_contains_functions, current_function_args_size,
9316         current_function_pretend_args_size, current_function_stdarg,
9317         current_function_outgoing_args_size, current_function_args_info,
9318         current_function_name, current_function_return_rtx,
9319         current_function_epilogue_delay_list,
9320         current_function_uses_const_pool, current_function_cannot_inline):
9321         Delete declarations.
9322         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
9323         regno_reg_rtx): Delete declaration.
9324         (REGNO_POINTER_FLAG): Delete macro.
9325         * stmt.c (expand_goto): Changes to reflect that some fields in struct
9326         function were renamed.
9327         * stor-layout.c (save_storage_status, restore_storage_status): Delete
9328         functions.
9329         * toplev.c: Include "function.h".
9330         (current_function_decl): Delete declaration.
9331         (compile_file): Call init_dummy_function_start and
9332         expand_dummy_function_end around some initializations that need to
9333         emit rtl.
9334         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
9335         Call init_function_for_compilation.
9336         * unroll.c: Include "function.h"
9337         (unroll_loop): Access regno_pointer_* variables through
9338         current_function.
9339
9340         * tree.h (struct tree_decl): Add elt f to saved_insns member.
9341         (DECL_SAVED_INSNS): use it.
9342         (expand_dummy_function_end): Declare.
9343         (init_function_for_compilation): Declare.
9344         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
9345         that it's no longer an INLINE_HEADER.
9346         (expand_call): Likewise.
9347         * integrate.c (finish_inline): Delete function.
9348         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
9349         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
9350         args.  Don't generate an INLINE_HEADER rtx, just return the arg
9351         vector.  All callers changed.
9352         (save_for_inline_copying):  Create a duplicate struct emit_status to
9353         hold the emit state for compiling the current function.  Use this and
9354         the other new fields in struct function that are for integration
9355         instead of an INLINE_HEADER.
9356         Use memcpy instead of bcopy.
9357         Store the current struct function in DECL_SAVED_INSNS of fndecl.
9358         (save_for_inline_nocopy): Similar changes, except no new emit_status
9359         is needed here.
9360         (expand_inline_function): Get information from function structure,
9361         not from an inline header rtx.
9362         (output_inline_function): Lose code to extract the necessary
9363         information from an inline header; simply put back the function
9364         structure into current_function.  Clear its inlinable elt.
9365         * rtl.def (INLINE_HEADER): Delete.
9366         * rtl.h: Delete all accessors for an INLINE_HEADER.
9367         (gen_inline_header_rtx): Delete declaration.
9368         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
9369         Delete declarations.
9370         (REGNO_POINTER_ALIGN): Delete.
9371         (clear_emit_caches): Declare.
9372         (set_new_last_label_num): Declare.
9373
9374 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
9375
9376         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
9377
9378         * except.c (expand_eh_region_start_for_decl): Always start a new block.
9379         * stmt.c (is_eh_region): Make sure current_function is present, too.
9380
9381 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
9382
9383         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
9384         for 64bit PA targets.
9385
9386         * pa.h (SELECT_SECTION): Define.
9387         * som.h (SELECT_SECTION): Delete.
9388
9389 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9390
9391         * alias.c (init_alias_analysis): Wrap call to
9392         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
9393
9394 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
9395
9396         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
9397         <sys/asm.h> contains an asm comment with an apostrophe
9398         * fixinc/inclhack.sh:  regen
9399         * fixinc/fixincl.x:  regen
9400
9401 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
9402
9403         * function.c (init_function_start): Clear prologue & epilogue.
9404         (prologue_epilogue_contains): New function.
9405         * alias.c (init_alias_analysis): Use it.
9406         * rtl.h (prologue_epilogue_contains): Declare it.
9407
9408 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
9409
9410         * jump.c (onlyjump_p): New function.
9411         * rtl.h: Declare it.
9412         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
9413         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
9414
9415 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
9416
9417         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
9418         to invert loops.  Simplify block scanning.
9419
9420 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
9421
9422         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
9423         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
9424
9425 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
9426
9427         * config/sparc/liteelf.h: New file to support sparclite-elf target
9428         * config/sparc/t-sp86x: New file to support sparc86x targets
9429         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
9430         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
9431         * configure.in: Support above target triplets
9432         * configure: Regenerated
9433
9434 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
9435
9436         * fixinc/server.c (server_setup): Do not prefix function used as
9437         parameter with `&'.
9438
9439 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
9440
9441         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
9442         Remove fp reg alternatives.
9443
9444 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
9445
9446         * Makefile.in (TAROUTOPTS): Kill.
9447         (install-headers-tar): Use "xpf" for tar headerfile extraction
9448         * i370/x-oe (TAROUTOPTS): Delete.
9449         * m68k/x-apollo68 (TAROUTOPTS): Delete.
9450         * m68k/x-hp320 (TAROUTOPTS): Delete.
9451         * m68k/x-hp320g (TAROUTOPTS): Delete.
9452         * gcc.texi: Update bug reporting text.
9453
9454 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9455
9456         * reg-stack.c (change_stack) Fixed problem with negative array index.
9457
9458 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
9459
9460         * extend.texi, install.texi: Fix spelling mistakes.
9461
9462         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
9463         (s-attrtab); No longer try to use pre-made insn-attrtab file.
9464         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
9465         PREMADE_ATTRTAB_MD.
9466         * mips/t-ecoff: Likewise.
9467         * mips/t-elf: Likewise.
9468         * mips/t-mips: Likewise.
9469         * mips/t-osfrose: Likewise.
9470         * mips/t-r3900: Likewise.
9471         * mips/t-svr3: Likewise.
9472         * mips/t-svr4: Likewise.
9473         * mips/t-ultrix: Likewise.
9474
9475         * gcc.texi: Document recommend means to provide software floating
9476         point libraries in libgcc.a
9477
9478 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
9479
9480         * c-lex.c (yylex): We can have a number with no digits.
9481
9482 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
9483
9484         * jump.c (delete_prior_computation): New function, broken
9485         out of delete_computation.  Check for side effects with
9486         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
9487         multi-word hard registers.
9488         (delete_computation): Use it.  Check for side effects with
9489         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
9490         missing REG_DEAD note for a register which is both set and
9491         used by an insn.
9492
9493 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
9494
9495         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
9496         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
9497         (ASM_FILE_START): Import _mcount with the right type.
9498         (ASM_DECLARE_FUNCTION_NAME): Define.
9499         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
9500         * pa.c (output_function_prologue): Always emit the function's label
9501         here.
9502         * pa.h (TEXT_SPACE_P): Define.
9503         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9504         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
9505         * som.h (TEXT_SPACE_P): Delete.
9506         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9507         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
9508
9509 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
9510
9511         * expr.c (emit_group_load): Allow src to be a CONCAT.
9512
9513 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9514
9515         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
9516         (___mulsi3): Use '!' comment character.
9517
9518 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9519
9520         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
9521
9522 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
9523
9524         * gcc.c: Update URLs and mail addresses.
9525         * gcc.texi: Likewise.
9526
9527 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
9528
9529         * rs6000.c (current_file_function_operand): Return zero for
9530         weak functions.
9531         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
9532         weak symbols.
9533         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
9534         for weak symbols.
9535
9536 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
9537
9538         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
9539         allocate space in the stack frame for the PIC register.
9540
9541 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
9542
9543         * m68k.md (xordi3, anddi3): These patterns are not available on
9544         the coldfire.
9545
9546 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
9547
9548         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
9549         (PUT_REAL): Likewise.
9550
9551 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9552
9553         * final.c (shorten_branches): Don't add an alignment for loops
9554         that have no label inside.
9555
9556 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9557
9558         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
9559         prototypes in macro HAVE_cmpstrsi.
9560
9561         * cpplib.c (cpp_get_token): Remove unused label `op3'.
9562
9563         * emit-rtl.c (operand_subword): Remove unused variable
9564         `bits_per_word'.
9565
9566         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
9567
9568         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
9569
9570 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
9571
9572         * cpphash.c (macroexpand): Delete leading whitespace when arg
9573         is concatenated before.
9574         (unsafe_chars): Correct test for whether + and - can extend a
9575         token.
9576
9577         * cppinit.c (cpp_start_read): Do dependencies for
9578         -include/-imacros files also.
9579
9580         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
9581         tokenizing non-directive lines.
9582         (cpp_expand_to_buffer): Temporarily disable no-output mode.
9583         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
9584         the input file.
9585
9586 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
9587
9588         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
9589
9590         * c-lex.c: Sync with C++ frontend.
9591         (linemode): New variable.
9592         (parse_float): imag, conversion_errno, and type are output only.
9593         (yylex): Adjust.  Move initial '.' case into main switch.
9594         Use linemode.
9595         (handle_generic_pragma): Just deal with tokens.
9596         (readescape): Use ISXDIGIT and ISGRAPH.
9597         * c-parse.in: Add END_OF_LINE token.
9598
9599         * c-lex.c (lang_init): Generalize.
9600         (nextchar): Remove.  Replace uses with UNGETC.
9601         (skip_white_space): Handle linemode here.  Optimize for cpplib.
9602         (skip_white_space_on_line): Remove.
9603         (extend_token_buffer_to): New fn.
9604         (extend_token_buffer): Use it.
9605         (read_line_number, check_newline): Just deal with tokens.
9606         (token_getch, token_put_back): New fns.
9607         (yylex): Use them.  More cpplib optimizations.  Simplify.
9608
9609 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
9610                           Jason Merrill  <jason@yorick.cygnus.com>
9611
9612         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
9613         (consume_string): Make this smart about USE_CPPLIB.
9614         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
9615         (yylex): Rewrite to be intelligent about USE_CPPLIB.
9616         Also, clean up cases where we redundantly set token_buffer[0].
9617         (read_line_number): New fn.
9618         (ignore_escape_flag): New variable.
9619
9620 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
9621
9622         * a29k/t-a29kbare: Fix some comments.
9623         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
9624         (FPBIT, DPBIT): Define.
9625         * a29k/t-vx29k: Likewise.
9626         * arc/t-arc: Likewise.
9627         * arm/t-arm-elf: Likewise.
9628         * arm/t-bare: Likewise.
9629         * arm/t-pe: Likewise.
9630         * arm/t-pe-thumb: Likewise.
9631         * arm/t-semi: Likewise.
9632         * arm/t-thumb: Likewise.
9633         * arm/t-thumb-elf: Likewise.
9634         * arm/t-thumb-linux: Likewise.
9635         * h8300/t-h8300: Likewise.
9636         * i960/t-i960: Likewise.
9637         * i960/t-vxworks960: Likewise.
9638         * m32r/t-m32r: Likewise.
9639         * mips/t-ecoff: Likewise.
9640         * mips/t-elf: Likewise.
9641         * mips/t-r3900: Likewise.
9642         * pa/t-pro: Likewise.
9643         * rs6000/t-aix43: Likewise.
9644         * rs6000/t-beos: Likewise.
9645         * rs6000/t-newas: Likewise.
9646         * rs6000/t-ppccomm: Likewise.
9647         * rs6000/t-rs6000: Likewise.
9648         * rs6000/t-winnt: Likewise.
9649         * rs6000/t-xnewas: Likewise.
9650         * rs6000/t-xrs6000: Likewise.
9651         * sh/t-sh: Likewise.
9652         * sparc/t-elf: Likewise.
9653         * sparc/t-sparcbare: Likewise.
9654         * sparc/t-sparclite: Likewise.
9655         * sparc/t-splet: Likewise.
9656         * v850/t-v850: Likewise.
9657         * mn10200/t-mn10200: Fix comments.
9658         * mn10300/t-mn10300: Likewise.
9659
9660         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
9661         dummy operand.  Allocate a new pseudo for the dummy operand.
9662         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
9663
9664         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
9665
9666 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
9667
9668         * configure: Rebuilt.
9669         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
9670
9671 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
9672
9673         * recog.c (preproces_constraints): Zero recog_op_alt before
9674         processing the constraints.
9675
9676         * arm.c (typedef minipool_node): Renamed from pool_node.
9677         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
9678         (add_minipool_constant): New function.
9679         (dump_minipool): New function.
9680         (find_barrier): Remove special case for getting the insn size of
9681         an insn that references the constant pool.
9682         (minipool_fixup): New structure.
9683         (push_minipool_barrier): New function.
9684         (push_minipool_fix): New function.
9685         (note_invalid_constants): New function.
9686         (add_pool_constant, dump_table, fixit, broken_move): Delete.
9687         (arm_reorg): Rewrite code to fix up the constant pool into a
9688         series of mini-pools embedded in the insn stream.
9689         (arm_output_epilogue): New function, made mainly from the body
9690         of output_func_epilogue.
9691         (output_func_epilogue): Move insn generation part of epilogue code
9692         to arm_output_epilogue.
9693         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
9694         * arm.md (pool_range): New attribute.
9695         (zero_extendqidi2): Add attribute pool_range.
9696         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
9697         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
9698         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
9699         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
9700         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
9701         (epilogue): New expand.
9702         (epilogue_insn): New insn.  Call arm_output_epilogue.
9703
9704         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
9705         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
9706
9707 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
9708
9709         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
9710
9711 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
9712
9713         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
9714
9715 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
9716
9717         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
9718
9719 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
9720
9721         * global.c: Fix comment.
9722
9723 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
9724
9725         * gcc.c (access_check): New static function.
9726         (find_a_file): Use it when searching a directory list.
9727         * collect2.c (find_a_file): Don't accept directories found when
9728         searching a directory list.
9729
9730 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
9731
9732         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
9733         function parameters with `&'.
9734         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
9735
9736 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
9737
9738         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
9739         or tidy_fallthru_edge if the last insn in the block is not
9740         an unconditional jump or a simple conditional jump.
9741
9742 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9743
9744         * Makefile.in (c-decl.o): Depends on defaults.h.
9745
9746 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
9747
9748         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
9749         PA1.1 and above.
9750         (CLASS_MAX_NREGS): Likewise.
9751
9752 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
9753
9754         * cse.c (cse_insn): Fix dumb thinko in last change.
9755
9756 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9757
9758         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
9759         "const char *".
9760
9761 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
9762
9763         * dwarf2out.c (add_location_or_const_value_attribute): Correct
9764         test for sizes of passed and declared parameter types.
9765
9766 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9767
9768         * fixincludes: Fix the return type of bsearch, char* -> void*.
9769
9770         * fixinc/inclhack.def: Likewise.
9771
9772 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
9773
9774         * invoke.texi (-fdump-translation-unit): New option.
9775
9776 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
9777
9778         * expr.h (PROMOTE_PROTOTYPES): Move ...
9779         * defaults.h: ... to here.
9780         * c-decl.c: Include defaults.h instead of expr.h.
9781         * c-typeck.c: Include defaults.h.
9782
9783 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
9784
9785         * toplev.h (errorcount): Declare.
9786         (warningcount): Likewise.
9787         (sorrycount): Likewise.
9788         * c-lex.c (errorcount): Don't declare.
9789         * dwarf2out.c (errorcount): Don't declare.
9790
9791 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
9792
9793         * config/libgloss.h: Add a note discouraging use with ELF.
9794         * configure.in: Don't use libgloss.h for ELF targets.
9795         Always use_collect2 on a.out targets.
9796
9797 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
9798
9799         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
9800         (force_to_mode, case ASHIFTRT): Add shiftrt label.
9801
9802 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9803
9804         * loop.c (strength_reduce): When doing biv->giv conversion, update
9805         reg note of NEXT->insn.
9806
9807 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
9808
9809         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
9810
9811 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
9812
9813         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
9814         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
9815         Ensure expr.h is included.
9816         * c-typecheck.c (convert_arguments): Ditto.
9817
9818         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
9819
9820         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
9821         * config/convex/convex.h: Ditto.
9822         * config/dsp16xx/dsp16xx.h: Ditto.
9823         * config/fx80/fx80.h: Ditto.
9824         * config/gmicro/gmicro.h: Ditto.
9825         * config/i370/i370.h: Ditto.
9826         * config/i386/i386.h: Ditto.
9827         * config/m32r/m32r.h: Ditto.
9828         * config/m68k/m68k.h: Ditto.
9829         * config/m88k/m88k.h: Ditto.
9830         * config/mips/mips.h: Ditto.
9831         * config/pa/pa.h: Ditto.
9832         * config/pyr/pyr.h: Ditto.
9833         * config/tahoe/tahoe.h: Ditto.
9834         * config/we32k/we32k.h: Ditto.
9835
9836         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
9837         based on arch size.
9838
9839         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
9840
9841         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
9842         from comment.
9843
9844         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
9845
9846 1999-08-02  Richard Henderson  <rth@cygnus.com>
9847
9848         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
9849         for the register spill block.
9850         (m32r_va_arg): New.
9851         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
9852         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
9853
9854         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
9855         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
9856         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
9857
9858 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
9859
9860         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
9861         MAX_WCHAR_TYPE defined in sparc.h.
9862         * config/sparc/linuxaout.h: Likewise.
9863         * config/sparc/linux64.h: Likewise.
9864         Also default to -mvis if CPU is UltraSPARC.
9865
9866 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
9867
9868         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
9869         (RTX_OK_FOR_OLO10): Likewise.
9870         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
9871         %lo(), allow it in addresses...
9872         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
9873         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
9874         does not make sense.
9875         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
9876         (sparc_output_scratch_registers): New function.
9877         (output_function_prologue, sparc_flat_output_function_prologue): Use
9878         it.
9879         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
9880         defined.
9881         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
9882         * configure.in: Add check for .register pseudo-op support in as and
9883         check for offsetable %lo().
9884         * acconfig.h: Add templates for the above checks.
9885         * configure: Regenerate.
9886
9887 1999-08-02  Richard Henderson  <rth@cygnus.com>
9888
9889         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
9890         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
9891         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
9892
9893 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9894
9895         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
9896         reg_biv_class.
9897
9898 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
9899
9900         * config/float-sparc.h: New file.
9901         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
9902         sparc-*-linux-gnu and sparc64-*-linux*.
9903
9904 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9905
9906         * rs6000.c (rs6000_va_list): Type is an array.
9907         (rs6000_va_start): Don't doubly adjust for varargs.
9908         (rs6000_va_arg): Evaluate long long GPR adjustment.
9909
9910 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
9911
9912         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
9913         -maix64 and -maix32.
9914         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
9915         LINK_SPEC): Change appropriately.
9916         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
9917         (u_short_cint_operand): Likewise.
9918         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
9919         for 64-bit hosts.
9920         * rs6000/t-aix43 (MULTILIB): Change to -m64.
9921
9922         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
9923
9924 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
9925
9926         * rs6000/rs6000.c (num_insns_constant_wide): Correct
9927         for type promotion.
9928         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
9929         (non_add_cint_operand): Likewise.
9930         (logical_operand): Likewise.
9931         (non_logical_cint_operand): Likewise.
9932         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
9933         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
9934         (rs6000_select_rtx_section): Suppress warning.
9935         (small_data_operand): Suppress warning.
9936         (rs6000_got_register): Suppress warning.
9937         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
9938         type, so `J' is generally the wrong constraint for a SImode value;
9939         use `L' instead.
9940         (andsi3_internal2): Likewise.
9941         (andsi3_internal3): Likewise.
9942         (iorsi3_internal1): Likewise.
9943         (xorsi3_internal1): Likewise.
9944         (movsi): Likewise.
9945         (movsf_softfloat): Likewise.
9946         (scc insns): Likewise.
9947         (movsi+2): Preserve sign bits of SImode constant.
9948         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
9949         (movdf+1): Sign-extend properly.
9950         (movdi_32+1): Sign-extend properly.
9951         (scc insns): Sign-extend properly.
9952
9953         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
9954         K, L, and T.
9955
9956 1999-08-02  Richard Henderson  <rth@cygnus.com>
9957
9958         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
9959         -mcpu parsing code.
9960         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
9961         * alpha.md (all fp insns): Likewise.
9962
9963 1999-08-02  Nick Clifton  <nickc@cygnus.com>
9964
9965         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
9966         already defined.
9967
9968 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
9969
9970         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
9971         pic_load_label generator directly.
9972         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
9973         No longer a named pattern.
9974
9975 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
9976
9977         * explow.c (force_reg): Call force_operand if X does not
9978         satisfy general_operand.
9979
9980 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
9981
9982         * fix-header.c (main): When testing for CONTINUED, use string
9983         equality, not pointer equality.
9984
9985 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
9986
9987         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
9988
9989 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
9990
9991         * cse.c (cse_insn): Fix loop which deletes insns after a jump
9992         that has become an unconditional jump.
9993
9994         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
9995         (output_function_epilogue): Similarly.
9996
9997 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9998
9999         * tree.h (init_dummy_function_start): Declare.
10000
10001 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10002
10003         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
10004         last_expr_type, last_expr_value, block_start_count, block_stack,
10005         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
10006         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
10007         dynamically in stmt elt of struct function for each function.
10008         (struct nesting): Rename function_call_count elt to n_function_calls,
10009         target_temp_slot_level to block_target_temp_slot_level.  All users
10010         changed.
10011         (struct stmt_status): New structure definition.
10012         Add many accessor macros for stmt_status elements which previously
10013         were global variables.
10014         (init_stmt_for_function): Allocate stmt elt for current_function.
10015         Reflect that block_start_count was renamed to
10016         current_block_start_count.
10017         (save_stmt_status, restore_stmt_status): Delete functions.
10018         (preserve_subexpressions_p): Don't access loop_stack when outside
10019         a function.
10020         (expand_start_bindings): Reflect that block_start_count was renamed to
10021         current_block_start_count.
10022         (expand_fixup): Likewise.
10023         (expand_decl): Don't access block_stack when outside a function.
10024         (expand_decl_cleanup): Likewise.
10025         (expand_dcc_cleanup): Likewise.
10026         (expand_dhc_cleanup): Likewise.
10027         (expand_anon_union_decl): Likewise.
10028         (set_file_and_line_for_stmt): New function.
10029         (in_control_zone_p): New function.
10030
10031         * function.h (struct function): Add new elt stmt.
10032         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
10033         case_stack, nesting_stack, nesting_depth, block_start_count,
10034         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
10035         emit_lineno, goto_fixup_chain.
10036         (save_eh_status, restore_eh_status, save_stmt_status,
10037         restore_stmt_status): Delete declarations.
10038         * function.c (push_function_context_to): Don't call save_stmt_status.
10039         (pop_function_context_to): Don't call restore_stmt_status.
10040         * tree.h (in_control_zone_p): Declare.
10041         * rtl.h (set_file_and_line_for_stmt): Declare.
10042
10043         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
10044         call set_file_and_line_for_stmt.
10045
10046 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
10047
10048         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
10049         Also update copyright.
10050
10051 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10052
10053         * c-pragma.c: Don't include "except.h".
10054         * emit-rtl.c: Likewise.
10055         * stor-layout.c: Likewise.
10056         * tree.c: Likewise.
10057         * varasm.c: Likewise.
10058
10059         * flow.c: Include "function.h".
10060         * tree.h (init_dummy_function_start): Declare new function.
10061
10062         * except.h (struct eh_status): New structure.
10063         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
10064         been included.
10065         (eh_return_stub_label, ehstack, catchstack, ehqueue,
10066         catch_clauses, false_label_stack, caught_return_label_stack,
10067         protect_list, current_function_ehc): Add accessor macros for the
10068         corresponding fields in current_function->eh; delete declarations
10069         for all items that used to be declared here.
10070         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
10071         catch_clauses, false_label_stack, caught_return_label_stack,
10072         protect_list, current_function_ehc): Delete variables.
10073         (init_eh_for_function): Allocate current_function->eh.
10074         (save_eh_status, restore_eh_status): Delete functions.
10075
10076         * function.h (struct function): Add fields next_global and eh.
10077         Delete all exception handling related fields.
10078         * function.c (current_function): New variable.
10079         (all_functions): New variable.
10080         (push_function_context_to): Don't allocate a struct function,
10081         use current_function instead.  Call init_dummy_function_start when
10082         outside a function.  Clear current_function before returning.
10083         (pop_function_context_from): Restore current_function.
10084         Don't free the restored struct function.
10085         (prepare_function_start): New function.
10086         (init_dummy_function_start): New function.
10087         (init_function_start): Break out some code into prepare_function_start
10088         and call it here.
10089
10090         * stmt.c (save_stmt_status): Don't call save_eh_status.
10091         (restore_stmt_status): Don't call restore_eh_status.
10092
10093         * Makefile.in: Update dependencies.
10094
10095 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
10096
10097         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
10098         of depending on a magic constant value.  Update comments.
10099         (hppa_expand_prologue): Similarly.
10100
10101         * pa.md (reload_indi, reload_outdi): Allow any register for the
10102         original reload register.
10103
10104 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
10105
10106         * cccp.c (print_help): Change marcos to macros.
10107
10108 1999-07-30  Richard Henderson  <rth@cygnus.com>
10109
10110         * c-typeck.c (initializer_constant_valid_p): Move ...
10111         * c-common.c (initializer_constant_valid_p): ... here.  Use
10112         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
10113         of label addresses.
10114         * c-common.h (initializer_constant_valid_p): Declare.
10115         * c-tree.h (initializer_constant_valid_p): Remove.
10116
10117 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
10118
10119         * config/i386/sol2-c1.asm: Align the stack.
10120         * config/i386/sol2-gc1.asm: Likewise.
10121
10122 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
10123
10124         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
10125         -Asparclite for sparc86x.
10126         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
10127         sparc86x.
10128         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
10129
10130 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
10131
10132         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
10133         the user if using the non-default arch size in BI_ARCH configuration.
10134         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
10135
10136         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
10137         Fix patterns so that they actually match.
10138         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
10139         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
10140         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
10141         TARGET_HARD_MUL32.
10142         (mulsidi3): Reflect this in the expand.
10143         (smulsi3_highpart): Only on TARGET_ARCH32.
10144         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
10145         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
10146         (umulsidi3): Reflect this in the expand.
10147         (umulsi3_highpart): Only on TARGET_ARCH32.
10148         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
10149         don't require g0 to be zero.
10150         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
10151         ({,u}divsi3): New expands.
10152         ({,u}divsi3_sp64): New patterns.
10153         (after lshrdi3_v8plus): Four new patterns to help combiner
10154         optimizing nested mixed mode shifts.
10155
10156         * config/sparc/sparc.c (sparc_override_options): Use deprecated
10157         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
10158         speed things up. Don't use them by default on plain v9 in 64bit
10159         mode, according to what SPAMv9 sais.
10160
10161         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
10162         top 32 bits of %[og][0-7] in signal handlers.
10163         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
10164
10165 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
10166
10167         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
10168         (ashlsi3): Corresponding changes.
10169
10170         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
10171
10172 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
10173
10174         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
10175
10176 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10177
10178         * arm.h (Hint): Delete macro.
10179         Substitute HOST_WIDE_INT for Hint in some prototypes.
10180         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
10181
10182 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
10183
10184         * builtins.c (expand_builtin_setjmp): Use force_operand to
10185         make sure that the buffer address is in a suitable form to be
10186         passed to force_reg.
10187
10188 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
10189
10190         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
10191         them here.
10192
10193 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
10194
10195         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
10196         proper mode in the condition string.
10197         (icacheflush, dcacheflush): Remove modes from match_operands.
10198
10199         * pa.c (emit_move_sequence): Always convert scratch_reg to the
10200         proper mode before using it.
10201
10202         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
10203         pair.
10204
10205         * pa.c (store_reg): Do not call add_high_const generator directly.
10206         (load_reg, set_reg_plus_d): Likewise.
10207         * pa.md (add_high_const): No longer a named pattern.
10208
10209         * pa.c (legitimize_address): Consistently use Pmode rather than
10210         SImode.  Do not call gen_pic2_highpart directly anymore.
10211         * pa.md (pic2_highpart): No longer a named pattern.
10212         (pic2_lo_sum): Similarly.  Reformat to make more readable.
10213
10214         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
10215         needed.
10216
10217         * README: Update.
10218
10219 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10220
10221         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
10222
10223 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
10224
10225         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
10226         and tag the spill mems.
10227         (hppa_va_start): New.
10228         (hppa_va_arg): New.
10229         * pa.h (EXPAND_BUILTIN_VA_START): New.
10230         (EXPAND_BUILTIN_VA_ARG): New.
10231
10232 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
10233
10234         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
10235         and tag the spill mems.
10236         (mn10300_va_start): New.
10237         (mn10300_va_arg): New.
10238         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
10239         (EXPAND_BUILTIN_VA_ARG): New.
10240
10241 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
10242
10243         * mn10200.c (mn10200_va_arg): New.
10244         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
10245
10246 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
10247
10248         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
10249         rather than play with TREE_INT_CST_LOW.
10250
10251 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
10252
10253         * config/arm/telf.h: Include dbxelf.h.
10254         (CPP_PREDEFINES): Only define if not already defined.
10255         (ASM_IDENTIFY_GCC): Likewise.
10256         (SUBTARGET_EXTRA_SECTIONS): Likewise.
10257         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
10258         * config/arm/thumb.h (LINK_SPEC): Only define if not already
10259         defined.
10260         (DBX_DEBUGGING_INFO): Don't define.
10261         * config/arm/linux-telf.h: New file.
10262         * config/arm/linux-tgas.h: New file.
10263         * config/arm/t-thumb-linux: New file.
10264         * config/arm/uclinux-elf.h: New file.
10265         * config/arm/uclinux-telf.h: New file.
10266         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
10267         thumb-*-uclinux): New targets.
10268         * configure: Regenerate.
10269
10270 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
10271
10272         * pa.md (post_store, pre_load): New expanders.
10273         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
10274         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
10275         need to directly generate RTL for them.
10276         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
10277         changes.
10278
10279 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
10280
10281         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
10282         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
10283         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
10284         (secndary_reload_class): Make TARGET_ELF conditional compile.
10285         (print_operand_address): Similar.
10286         (output_toc): Print all values as hex.
10287         (get_issue_rate): Rearrange and add RS64A and PPC630.
10288         * rs6000.h (processor_type): Add RS64A and PPC630.
10289         (PROCESSOR_POWERPC64): New.
10290         (PROMOTE_MODE): Use word_mode.
10291         (RTX_COSTS): Add RS64A and PPC630.
10292         * rs6000.md (scheduling information): Add lmul and ldiv
10293         representing 64-bit integer multiply and divide.  Add rs64a and
10294         PPC630 information.
10295         (ashldi3): Add support for "rldic" instruction.
10296         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
10297
10298 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
10299
10300         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
10301         instead of V8 for sparclite86x in cpu_table.
10302
10303 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10304
10305         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
10306         output_file_directive.
10307
10308 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
10309
10310         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
10311         tree for op1, not the rtl.
10312
10313 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
10314
10315         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
10316         to m88k_va_start, leaving only the register spill.
10317         (m88k_build_va_list): New.
10318         (m88k_va_start): New.
10319         (m88k_va_arg): New.
10320         * m88k.h (BUILD_VA_LIST_TYPE): New.
10321         (EXPAND_BUILTIN_VA_START): New.
10322         (EXPAND_BUILTIN_VA_ARG): New.
10323
10324 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
10325
10326         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
10327         Rename from expand_builtin_saveregs.
10328         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
10329
10330 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
10331
10332         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
10333         for the register spill block.
10334         (i960_build_va_list): New.
10335         (i960_va_start): New.
10336         (i960_va_arg): New.
10337         * i960.h (BUILD_VA_LIST_TYPE): New.
10338         (EXPAND_BUILTIN_VA_START): New.
10339         (EXPAND_BUILTIN_VA_ARG): New.
10340         * i960.md (store_multiple): Use change_address on individul mems.
10341
10342 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
10343
10344         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
10345         an ARRAY_TYPE.
10346         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
10347         (expand_builtin_va_end): Evaluate arg for side effects.
10348         * c-common.c (c_common_nodes_and_builtins): Construct a
10349         va_list_arg_type_node to handle array decomposition to pointer.
10350
10351 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
10352
10353         * except.c (start_dynamic_cleanup): Use force_operand on the
10354         buffer's address.
10355
10356 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
10357
10358         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
10359         * c4x.c (c4x_va_arg): New.
10360
10361 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
10362
10363         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
10364         has manual_pop set.
10365
10366 1999-07-26  Nathan Sidwell  <nathan@acm.org>
10367
10368         * eh-common.h (__eh_matcher): Prototype correctly.
10369
10370 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
10371
10372         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
10373         (TARGET_SINGLE_PIC_BASE): Likewise.
10374         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
10375         definitions.
10376         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
10377         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
10378         (TARGET_OPTIONS): Add -mpic-register=N.
10379         (OUTPUT_INT_ADDR_CONST): New macro.
10380         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
10381         LEGITIMATE_PIC_OPERAND_P): Likewise.
10382         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
10383         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
10384         output_addr_const directly.
10385         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
10386         ARM port.
10387         (thumb_pic_register, thumb_pic_register_string): Declare.
10388
10389         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
10390         from arm.c.
10391         (label_mentioned_p): New function: Imported from arm.c.
10392         (legitimize_pic_address): New function: Imported from arm.c.
10393         (is_pic):New function: Imported from arm.c.
10394         (thumb_finalize_pic):New function: Imported from arm.c.
10395         (add_constant): Cope with PIC constants.
10396         (fixit): Cope with PIC constants.
10397         (output_return): Do not treat the PIC register as live if
10398         TARGET_SINGLE_PIC_BASE is true.
10399         (thumb_function_prologue): Do not treat the PIC register as live if
10400         TARGET_SINGLE_PIC_BASE is true.
10401         (thumb_expand_prologue): Do not treat the PIC register as live if
10402         TARGET_SINGLE_PIC_BASE is true.
10403         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
10404         TARGET_SINGLE_PIC_BASE is true.
10405         (thumb_print_operand): Accept '|'.
10406         (thumb_override_options): Process PIC options.
10407
10408         * config/arm/thumb.md (movsi): Support PIC.
10409         (call_insn): Change "i" constraint to "X".
10410         (call_value_insn): Likewise.
10411         (consttable_4, consttable_8, consttable_end): Set and clear
10412         "making_const_table" as appropriate.
10413         (pic_load_addr, pic_add_dot_plus_four): New insns.
10414
10415         * invoke.texi (Thumb Options): Fix spelling.  Document new
10416         options -msingle-pic-base and -mpic-register=.
10417
10418 1999-07-26  Andrew Haley  <aph@cygnus.com>
10419
10420         * config/m32r/initfini.c (__init): Use a full word immediate for
10421         __fini: this allows it to be placed in any memory region.
10422
10423         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
10424         -mmodel=medium.  This is OK for all memory models.
10425
10426 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
10427
10428         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
10429         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
10430
10431 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
10432
10433         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
10434         defined.
10435
10436         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
10437
10438 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
10439
10440         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
10441         (BUILD_VA_LIST_TYPE): New.
10442         (EXPAND_BUILTIN_VA_START): New.
10443         (EXPAND_BUILTIN_VA_ARG): New.
10444         * i860.c (output_delayed_branch): Disable.
10445         (output_delay_insn): Likewise.
10446         (i860_saveregs): New.
10447         (i860_build_va_list): New.
10448         (i860_va_start): New.
10449         (i860_va_arg): New.
10450         * i860.md: Disable all peepholes using output_delayed_branch.
10451         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
10452
10453 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
10454
10455         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
10456         (BUILD_VA_LIST_TYPE): New.
10457         (EXPAND_BUILTIN_VA_START): New.
10458         (EXPAND_BUILTIN_VA_ARG): New.
10459         * clipper.c (clipper_builtin_saveregs): Only dump registers.
10460         Return the address of the save area.
10461         (clipper_build_va_list): New.
10462         (clipper_va_start): New.
10463         (clipper_va_arg): New.
10464
10465 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
10466
10467         * arc.h (EXPAND_BUILTIN_VA_START): New.
10468         (EXPAND_BUILTIN_VA_ARG): New.
10469         * arc.c (arc_setup_incoming_varargs): Set alias set of
10470         varargs save area.
10471         (arc_va_start): New.
10472         (arc_va_arg): New.
10473
10474 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
10475
10476         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
10477         (BUILD_VA_LIST_TYPE): New.
10478         (EXPAND_BUILTIN_VA_START): New.
10479         (EXPAND_BUILTIN_VA_ARG): New.
10480         * alpha.c (alpha_builtin_saveregs): Delete.
10481         (alpha_build_va_list): New.
10482         (alpha_va_start): New.
10483         (alpha_va_arg): New.
10484
10485 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
10486
10487         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
10488         column zero.
10489         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
10490         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
10491
10492         * gcc.texi: More changes related to list conversion.
10493         * invoke.texi: Likewise.
10494
10495 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
10496
10497         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
10498         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
10499         (expand_builtin_next_arg): Accept ARGLIST not EXP.
10500         (stabilize_va_list): New function.
10501         (std_expand_builtin_va_start): New function.
10502         (expand_builtin_va_start): New function.
10503         (get_varargs_alias_set): New function.
10504         (std_expand_builtin_va_arg): New function.
10505         (expand_builtin_va_arg): New function.
10506         (expand_builtin_va_end): New function.
10507         (expand_builtin_va_copy): New function.
10508         (expand_builtin): Call them.
10509         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
10510         __builtin_{varargs_start,stdarg_start,end,copy}.
10511         (build_va_arg): New function.
10512         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
10513         (build_va_arg): Declare.
10514         * c-decl.c (ptr_type_node, va_list_type_node): New.
10515         * c-parse.gperf (__builtin_va_arg): New.
10516         * c-parse.in (VA_ARG): New token.
10517         (unary_expr): Recognize it.
10518         * expr.c (expand_expr): Expand VA_ARG_EXPR.
10519         * expr.h (std_expand_builtin_va_start): Declare.
10520         (std_expand_builtin_va_arg): Declare.
10521         (expand_builtin_va_arg): Declare.
10522         (get_varargs_alias_set): Declare.
10523         * tree.def (VA_ARG_EXPR): New.
10524         * tree.h (BUILT_IN_VARARGS_START): New.
10525         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
10526         (ptr_type_node, va_list_type_node): Declare.
10527         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
10528         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
10529         * m88k.h, m88k.c: Likewise.
10530         * mn10300.h, mn10300.c: Likewise.
10531         * pa.h, pa.c: Likewise.
10532         * rs6000.h, rs6000.c: Likewise.
10533         * sh.h, sh.c: Likewise.
10534         * sparc.h, sparc.c: Likewise.
10535
10536         * emit-rtl.c (operand_subword): Copy alias set.
10537         (change_address): Likewise.
10538
10539 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
10540
10541         * pa.c (compute_frame_size): Scan all the used callee saved registers,
10542         not just the first one.
10543
10544 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
10545
10546         * config/arm/arm.h (TARGET_SWITCHES): Add
10547         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
10548         (TARGET_OPTIONS): Add -mpic-register=.
10549         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
10550         (arm_pic_register_string): Declare.
10551         (NEED_PLT_GOT): Delete, replace with ...
10552         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
10553         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
10554         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
10555         * config/arm/arm.c (arm_override_options): Add new option
10556         -mpic-register=N.
10557         (arm_pic_register_string): New variable.
10558         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
10559         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
10560         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
10561         (output_return_instruction): Likewise.
10562         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
10563         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
10564         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
10565
10566         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
10567         mention of -msched-prolog.  Document new options -msingle-pic-base
10568         and -mpic-register=.
10569
10570 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
10571
10572         * haifa-sched.c (reemit_notes): Tidy.
10573         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
10574         haifa's routine.
10575
10576 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
10577
10578         * explow.c (trunc_int_for_mode): New function.
10579         (plus_constant_wide): Use it.
10580         * combine.c (simplify_and_const_int): Likewise.
10581         (merge_outer_ops): Likewise.
10582         (simplify_shift_const): Likewise.
10583         * cse.c (simplify_unary_operation): Likewise.
10584         (simplify_binary_operation): Likewise.
10585         * emit-rtl.c (operand_subword): Likewise.
10586         * rtl.h: Declare it.
10587
10588 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10589
10590         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
10591         (use NUM_REGS instead of NUM_INTS).
10592
10593 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10594
10595         * builtins.c: New file.
10596         * expr.c (saveregs_value, apply_args_value):  Delete definition,
10597         moved into builtins.c.
10598         (string_constant): No longer static.
10599         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
10600         apply_args_size, apply_result_size, result_vector,
10601         expand_builtin_apply_args, expand_builtin_apply,
10602         expand_builtin_return): Delete functions, moved into builtins.c.
10603         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
10604         * expr.h (saveregs_value, apply_args_value): Declare variables.
10605         (expand_builtin, string_constant): Declare functions.
10606         * Makefile.in: Update to build builtin.o.
10607
10608 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
10609
10610         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
10611         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
10612         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
10613         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
10614         false.
10615         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
10616         Define to zero.
10617
10618 1999-07-21  Michael Meissner  <meissner@cygnus.com>
10619
10620         * print-rtl.c (print_rtx): Print the names of the virtual
10621         registers.
10622
10623 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
10624
10625         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
10626         introduced in previous delta.
10627
10628 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10629
10630         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
10631         to avoid name clash.
10632
10633 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
10634
10635         * c-lex.c (yylex) : Correct the test for overflow when lexing
10636         integer literals.
10637
10638 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
10639
10640         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
10641         (adjust_priority): Always call ADJUST_PRIORITY.
10642         (schedule_insn): Only put insns into the ready at cost 0.
10643         (schedule_block): Remove redundant initial sort.  Give clock_var
10644         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
10645         is not 0.
10646         * tm.texi (MD_SCHED_REORDER): Update docs.
10647
10648         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
10649         * sparc.c (ultra_reorder_called_this_block): Delete.
10650         (ultrasparc_sched_init): Don't set it.
10651         (ultrasparc_sched_reorder): Don't check it.
10652
10653 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
10654
10655         * rs6000.h (struct rs6000_args): Add sysv_gregno.
10656         * rs6000.c (init_cumulative_args): Init sysv_gregno.
10657         (function_arg_boundary): Align DFmode.
10658         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
10659         to get fp reg and stack overflow correct.
10660         (function_arg): Likewise.
10661         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
10662         (setup_incoming_varargs): Restructure for ABI_V4; use
10663         function_arg_advance to skip final named argument.
10664         (expand_builtin_saveregs): Properly unskip the last integer arg
10665         when doing varargs.  Adjust overflow location calculation.
10666
10667         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
10668         explicitly unsigned.
10669         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
10670         (__VA_GP_REGSAVE): Similarly.
10671         (__va_longlong_p): Delete.
10672         (__va_arg_type_violation): New declaration.
10673         (va_arg): Restructure.  Flag promotion errors.  Align double.
10674         TFmode passed by reference.
10675
10676         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
10677         in the HOST_BITS_PER_WIDE_INT > 32 case.
10678
10679 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10680
10681         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
10682
10683 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
10684
10685         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
10686         * toplev.c (documented_lang_options): Add -fpreprocessed.
10687         * cpplib.h (struct cpp_buffer): Add preprocessed.
10688         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
10689         (cpp_start_read): Don't expand macros or emit an initial #line
10690         directive if -fpreprocessed.
10691
10692 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
10693
10694         * cpplib.h (struct cpp_buffer): Added manual_pop for
10695         better C++ tokenization.
10696         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
10697         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
10698         * c-common.c (cpp_token): Make non-static.
10699
10700 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10701
10702         * c-common.h: New file.
10703         * c-common.c (permanent_obstack): Delete unused declaration.
10704         (c_global_trees): New array.
10705         (c_common_nodes_and_builtins): New function; split off common code
10706         from init_decl_processing in both c-decl.c and cp/decl.c.
10707         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
10708         c_global_trees and accessor macros defined in c-common.h.
10709         Include c-common.h.
10710         * c-decl.c: Delete definitions for tree nodes that were replaced by
10711         c_global_trees.
10712         (init_decl_processing): Build void_list_node.
10713         Call c_common_nodes_and_builtins; delete code to generate the common
10714         builtins here.
10715         * objc/objc-act.c (build_module_descriptor): Rename variable
10716         void_list_node to avoid clash with c-common.h.
10717
10718         * Makefile.in: Update dependencies.
10719         * objc/Make-lang.in: Likewise.
10720
10721 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
10722
10723         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
10724         (UNIQUE_SECTION_P): Likewise.
10725         (UNIQUE_SECTION): Likewise.
10726
10727 1999-07-19  Linas Vepstas  <linas@linas.org>
10728
10729         * config/i370/README: New file.
10730         * config/i370/linux.h: New file.
10731         * config/i370/mvs.h: New file.
10732         * config/i370/oe.h: New file.
10733         * config/i370/t-linux: New file.
10734         * config/i370/t-mvs: New file.
10735         * config/i370/t-oe: New file.
10736         * config/i370/x-oe: New file.
10737         * config/i370/xm-linux.h: New file.
10738         * config/i370/xm-mvs.h: New file.
10739         * config/i370/xm-oe.h: New file.
10740
10741         * i370.c (label_node_t): Add first_ref_page, label_addr,
10742         label_first_ref, label_last_ref members.
10743         (mvs_need_base_reload): Renamed from mvs_label_emitted.
10744         (MAX_MVS_LABEL_SIZE): Define.
10745         (MAX_LONG_LABEL_SIZE): Define.
10746         (alias_node_t, alias_anchor, alias_number): New.
10747         (mvs_function_table): Reorder for EBCDIC.
10748         (ascebc, ebcasc): Unconditionally define.
10749         (i370_branch_dest, i370_branch_length): New functions.
10750         (i370_short_branch, i370_label_scan): New functions.
10751         (mvs_get_label): Renamed from mvs_add_label.  Search for
10752         an existing label before creating a new one.
10753         (mvs_add_label): New function.
10754         (mvs_get_label_page): New function.
10755         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
10756         over the entire list.
10757         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
10758         (mvs_check_page) [TARGET_ELF_ABI]: New function.
10759         (mvs_add_alias, mvs_need_alias): New functions.
10760         (mvs_get_alias, mvs_check_alias): New functions.
10761         (handle_pragma): New function.
10762         (mvs_function_check): New function.
10763         (unsigned_jump_follows_p): Search harder.
10764         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
10765         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
10766         * i370.h (TARGET_VERSION): Delete.
10767         (CPP_SPEC, CPP_PREDEFINES): Delete.
10768         (mvs_label_emitted): Delete.
10769         (TARGET_EBCDIC): Delete.
10770         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
10771         (HANDLE_PRAGMA): Define.
10772         (HARD_REGNO_NREGS): Handle complex modes.
10773         (HARD_REGNO_MODE_OK): Likewise.
10774         (CLASS_MAX_NREGS): Likewise.
10775         (RET_REG): Likewise.
10776         (EXTRA_CONSTRAINT): Define.
10777         (RETURN_IN_MEMORY): True for DImode.
10778         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
10779         (FUNCTION_PROFILER): Delete.
10780         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
10781         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
10782         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
10783         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
10784         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
10785         (ASM_FILE_START): Add "RMODE ANY".
10786         (ASM_OUTPUT_EXTERNAL): Check for aliases.
10787         (ASM_GLOBALIZE_LABEL): Likewise.
10788         (ASM_OUTPUT_LABELREF): Likewise.
10789         (ASM_OUTPUT_COMMON): Likewise.
10790         (PRINT_OPERAND): Handle 'K', 'W', default.
10791         (PRINT_OPERAND_ADDRESS): New.
10792         (Lots of defines): Add support for TARGET_ELF_ABI.
10793         * i370.md (attr length): New.  Define for all patterns.
10794         (*): Lots of tweeks to assembly output and constraints.
10795
10796 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
10797
10798         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
10799         Disable patterns performing SImode comparisons with SImode values
10800         if TARGET_POWERPC64 and instruction does not sign-extend or does
10801         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
10802         differ for signed quantities.
10803         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
10804         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
10805         (decrement_and_branch_on_count): Add 64-bit variant.
10806
10807 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10808
10809         * final.c (output_asm_insn): When searching for the matching string
10810         for a given dialect, don't run past the end of the list of
10811         alternatives if there are fewer alternatives in the template than
10812         dialects.
10813
10814 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
10815
10816         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
10817         Removed paragraph about compression of files and size limitation,
10818         duplicated in the FAQ.  Use gcc-patches for posting patches.
10819         * gcc.c (main): Updated URL with bug reporting instructions to
10820         gcc.gnu.org.  Removed e-mail address.
10821         * system.h (abort): Likewise.
10822
10823 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10824
10825         * Makefile.in (stmp-multilib-sub): Make the files extracted
10826         from $(LIBGCC1) writable.
10827
10828 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
10829
10830         * config/arm/aout.h: Reformat for improved readability.
10831
10832         * config/arm/arm.h: Reformat for improved readability.
10833         Replace uses of fprintf with asm_fprintf where appropriate.
10834         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
10835         function declaration assembler actions.
10836         (NUM_INTS): New macro: Convert from bytes to words.
10837         (NUM_REGS): New macro: Compute number of registers required to
10838         hold a quanitity of tyep MODE.
10839         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
10840         types.
10841         (NUM_ARG_REGS): New macro: The number of argument registers
10842         available.
10843         (ARG_REGISTER): New macro: Compute the register number of the Nth
10844         argument register.
10845         (LAST_ARG_REGNUM): New macro: The number of the last argument
10846         register.
10847         (SP_REGNUM): New macro: Register number of the stack pointer.
10848         (FP_REGNUM): New macro: Register number of the frame pointer.
10849         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
10850         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
10851         CUMULATIVE_ARGS so that it counts registers not bytes.
10852
10853         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
10854         TARGET_INTERWORK.
10855         Replace uses of fprintf with asm_fprintf where appropriate.
10856         (output_ascii_pseudo_op): Replace with version from thumb.c
10857
10858         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
10859
10860         * config/arm/elf.h (CPP_PREDEFINES): Replace with
10861         SUBTARGET_CPP_SPEC.
10862         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
10863         (ASM_FILE_START): Emit ASM_APP_OFF.
10864
10865 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
10866
10867         * pa.c (compute_frame_size): Round frame according to
10868         STACK_BOUNDARY rather than a hardwired value.
10869
10870         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
10871
10872         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
10873         of "1".
10874         * configure: Rebuilt.
10875
10876         * configure.in (hppa*-*-linux*): New configuration.
10877         * configure: Rebuilt.
10878         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
10879         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
10880         * pa/pa-linux.h: New file.
10881         * pa/t-linux: New file.
10882         * pa/xm-linux.h: New file.
10883
10884         * pa.c (hppa_legitimize_address): Change references from SImode to
10885         either Pmode or word_mode as appropriate.
10886         (emit_move_sequence, store_reg, load_reg): Likewise.
10887         (set_reg_plus_d, hppa_expand_prologue): Likewise.
10888         (output_mul_insn): Likewise.
10889         * pa.h (PROMOTE_MODE): Likewise.
10890         (INITIALZE_TRAMPOLINE): Likewise.
10891         (Pmode): Define to word_mode.
10892
10893         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
10894         value of 4.  Allocate 8 bytes for each FP register save.
10895         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
10896         value of 4.
10897         (hppa_expand_prologue): Likewise.
10898         * pa.h (PROMOTE_MODE): Likewise.
10899         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
10900         (FUNCTION_ARG_BOUNDARY): Likewise.
10901
10902         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
10903
10904         * pa.c (out_of_line_prologue_epilogue): Delete.
10905         (override_options): Remove -mspace related code.
10906         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
10907         (compute_frame_size): Only allocate space for register that
10908         actually need to be saved.
10909         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
10910         (TARGET_SWITCHES): Remove -mspace, -mno-space
10911         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
10912         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
10913         * pa/ee.asm, pa/ee_fp.asm: Delete.
10914
10915         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
10916
10917         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
10918         directive in column zero.
10919
10920 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
10921
10922         * m68k.c (output_function_prologue): Fix computation of save mask
10923         when generating PIC code.
10924
10925 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
10926
10927         * tree.c (build_type_attribute_variant): Move current_obstack restore
10928         after build_qualified_type call.
10929
10930 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
10931
10932         * configure.in: Use t-iris6, even with GNU LD.
10933         * config/mips/iris6gld.h: Fix typo in linker spec.
10934         * config/mips/t-iris6gld: Remove.
10935
10936 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
10937
10938         * rs6000.md (insv, extzv): Remove SImode dependence in named
10939         patterns.  Explicitly generate DImode RTL if PowerPC64 and
10940         operand is DImode.
10941         (insvdi): Reverse start and size in instruction template.
10942
10943 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
10944
10945         * invoke.texi: Typo fixes.
10946
10947 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
10948
10949         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
10950         handle at this time instead of silently generating incorrect code.
10951         (gen_imagpart): Likewise.
10952
10953         * reload.c (find_reloads): Emit a USE for a pseudo register without
10954         a hard register if we could not create an optional reload for the
10955         pseudo.
10956
10957 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10958
10959         * c-typeck.c (output_init_element, process_init_element):
10960         When advancing constructor_unfilled_fields for a RECORD_TYPE,
10961         check for nameless bit fields.
10962
10963 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
10964
10965         * regclass.c (scan_one_insn): Notice subregs that change the
10966         size of their operand.
10967         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
10968
10969 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
10970
10971         * configure.in (alpha*-*-*): Include alpha/t-ieee.
10972         * configure: Rebuilt.
10973         * alpha/t-ieee: New file.
10974
10975 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
10976
10977         * rs6000.c (find_addr_reg): Do not select r0 as an address
10978         register.
10979
10980 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
10981
10982         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
10983
10984 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
10985
10986         * rs6000.md (movsf): Do not force easy FP constants into memory.
10987
10988         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
10989         immed_double_const to ensure they are properly truncated then
10990         sign extended.
10991
10992 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
10993
10994         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
10995         always unless NO_DEBUG is used.  Compile this code
10996         unconditionally.
10997         (replace_symbols_in_block): Compile it unconditionally.
10998
10999 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
11000
11001         * configure.in (i?86-*-elf*): New target.
11002         * configure: Rebuilt.
11003         * i386/i386elf.h, i386/t-i386elf: New files.
11004
11005 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
11006
11007         * toplev.c (main): Don't complain about saying -gdwarf.
11008         (rest_of_compilation): Remove redundant code.
11009
11010 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
11011
11012         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
11013
11014 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
11015
11016         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
11017         "Li960R:", to avoid name clash.
11018
11019 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11020
11021         * loop.c (check_dbra_loop): When reversing a loop, delete all
11022         REG_EQUAL notes referencing the reversed biv except those which are
11023         for a giv based on it.
11024
11025 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
11026
11027         * version.c: Drop "gcc-" prefix from version #.
11028
11029 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
11030
11031         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
11032         the label if we're being verbose.
11033
11034 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
11035
11036         * m68k.c (output_function_prologue): Add pic register to mask
11037         if live and flag_pic.
11038         (output_function_epilogue): Likewise.
11039
11040 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
11041
11042         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
11043         directives in column zero.
11044
11045         * pa/elf.h (ASM_FILE_START): Define.
11046         * pa/som.h (ASM_FILE_START): Include .level directives.
11047         * pa/hpux10.h (ASM_FILE_START): Delete.
11048         * pa/hpux11.h (ASM_FILE_START): Delete.
11049
11050         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
11051
11052 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11053
11054         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
11055         when reload_out equals reload_in.
11056
11057 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
11058
11059         * invoke.texi (Spec Files): New node: Describe the contents of
11060         spec files.
11061
11062 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
11063
11064         * invoke.texi (DEC Alpha Options): Put @end table at
11065         beginning of line, to avoid confusing texi2html.
11066
11067 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
11068
11069         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
11070         introduced in previous delta.
11071
11072 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11073
11074         * reload1.c (gen_reload): When synthesizing a 3 operand add
11075         sequence, improve test for when to reload OP1 into the reload
11076         register instead of OP0.
11077
11078 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
11079
11080         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
11081
11082 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
11083
11084         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
11085         string literal.
11086
11087 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
11088
11089         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
11090         (va_dcl): Use __builtin_va_alist_t.
11091
11092 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
11093
11094         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
11095         on the permanent_obstack.
11096         * dwarfout.c (output_type): Likewise.
11097
11098 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11099
11100         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11101         Merged from c-typeck.c and cp/typeck.c.
11102         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11103         Merged into c-common.
11104
11105 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
11106
11107         * c-lex.c (errorcount): Declare it.
11108         (finish_parse): Update errorcount when using CPPLIB.
11109
11110 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
11111
11112         * fixinc/inclhack.def(end_else_label): Double the backslash so
11113         sed gets a chance to see it.
11114         * fixinc/inclhack.sh: regen
11115         * fixinc/fixincl.x: regen
11116
11117 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
11118
11119         Add framework to support armv5 architecture when it becomes
11120         available:
11121
11122         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
11123         (arm_arch5): New variable.
11124         (all_architectures): Add armv5 line.
11125         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
11126         -march=armv5 is specified on the command line.
11127         (arm_arch5): Export this variable.
11128         * invoke.texi: Document new string accepted by -march= switch for
11129         ARM ports.
11130
11131         * config/arm/arm.h: Replace use of constant 12 as a register
11132         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
11133         * config/arm/arm.c: Replace use of constant 12 as a register
11134         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
11135
11136         * config/arm/elf.h: Tidy up.
11137         * config/arm/coff.h: Tidy up.
11138
11139 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
11140
11141         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
11142         * gcc/config/mips/t-iris6gld: New file.
11143         * gcc/config/mips/iris6gld.h: Likewise.
11144
11145 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11146
11147         * c-decl.c (widest_integer_literal_type_node,
11148         widest_unsigned_literal_type) : New.
11149         (init_decl_processing): Handle/use the two new types.
11150         * c-common.c (type_for_size,type_for_mode) : Same.
11151         * c-lex.c (yylex) : Same.
11152         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11153         Same.
11154         * c-tree.h (widest_integer_literal_type_node,
11155         widest_unsigned_literal_type) : New.
11156
11157 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
11158
11159         * dwarfout.c (field_byte_offset): Correctly compute the object's
11160         byte offset for the first bit of a field which crosses an alignment
11161         boundary on a !BYTES_BIG_ENDIAN target.
11162
11163 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
11164
11165         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
11166         ntohs.
11167
11168 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
11169                           Jeff Law <law@cygnus.com>
11170
11171         * ginclude/varargs.h (va_dcl): Use word_mode for type of
11172         __builtin_va_list.
11173
11174         * except.c: Include intl.h.
11175         (expand_eh_return): Set current_function_cannot_inline.
11176         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
11177         * function.h (struct function): Add eh_return_stub_label.
11178         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
11179         * Makefile.in (except.o): Depend on intl.h.
11180
11181 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
11182
11183         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
11184         same as offsettable in cases 1 and 2.
11185
11186 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
11187
11188         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
11189         (extlh, extwh): Likewise.
11190
11191 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11192
11193         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
11194
11195 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
11196
11197         * configure.in: Add arm-pe and thumb-pe targets.
11198         * configure: Regenerate.
11199
11200         * thumb.c (arm_naked_function_p): New function: Determines if
11201         a function is naked (has no gcc generated prologue/epilogue).
11202         (is_called_in_ARM_mode): Return true if the func has the
11203         interfacearm attribute.
11204         (output_return): Do not generate a return for naked functions.
11205         (thumb_function_prologue): Do not generate a prologue for
11206         naked functions.
11207         (thumb_expand_prologue): Do not generate a prologue for naked
11208         functions.
11209         (thumb_expand_epilogue): Do not generate an epilogue for naked
11210         functions.
11211         (arm_valid_machine_decl_attribute): New function, copied from
11212         arm.c:  Permit naked and interfacearm attributes.
11213
11214         * config/arm/pe.c: New file: Support code for arm-pe target.
11215         * config/arm/pe.h: New file: Header file for arm-pe target.
11216         * config/arm/tpe.h: New file: Header file for thumb-pe target.
11217         * config/arm/t-thumb-pe: New file: Makefile fragment for
11218         thumb-pe target.
11219
11220 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
11221
11222         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
11223         -fPIC or -fpic is specified.
11224
11225 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
11226
11227         * expr.c (emit_block_move): Use copy_to_mode_reg for
11228         !TARGET_MEM_FUNCTIONS case too.
11229
11230         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
11231         appropriate.
11232         * configure: Rebuilt.
11233         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
11234         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
11235         definitions made redundant by dbxelf.h inclusion.  Delete
11236         lots of definitions related to assembly output that are
11237         specific to the SOM object format.
11238         * pa.c (output_function_prologue): Do not emit the function's
11239         name for OBJ_ELF.
11240         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
11241         * pa-pro.h: Deleted.
11242         * som.h: New file with SOM specific definitions.
11243         * elf.h: New file with ELF specific definitions.
11244
11245         * elfos.h (const_section): Output a tab before assembler directives.
11246         (ctors_section, dtors_section): Likewise.
11247         (ASM_OUTPUT_SECTION_NAME): Likewise.
11248
11249         * pa/pa1.h: Delete unused file.
11250
11251 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
11252
11253         * configure.in (hppa*-hp-hpux11*): New configuration.
11254         * configure: Rebuilt.
11255         * pa/pa-hpux11.h: New file.
11256         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
11257         command line.
11258
11259         * mips.md (leasi, leadi): New patterns.
11260
11261         * expr.c (emit_block_move): Properly handle case where one of the
11262         block move arguments has a queued increment or decrement.
11263         (clear_storage): Similarly.  Fix formatting goof.
11264
11265 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
11266
11267         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
11268         semicolon from the BSD VA_LIST replacement expression.
11269
11270         * fixinc/inclhack.sh: regen
11271         * fixinc/fixincl.x: regen
11272
11273         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
11274         now use the fixincl program.
11275
11276 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
11277
11278         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
11279         case.  Also make the PIC register call_used.
11280
11281         * m68k.h (FINALIZE_PIC): Delete.
11282         * m68k.c (finalize_pic): Delete.
11283
11284 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
11285
11286         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
11287         to memory.
11288
11289 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
11290
11291         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
11292
11293 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
11294
11295         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
11296
11297 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
11298
11299         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
11300
11301 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
11302
11303         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
11304
11305 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
11306
11307         * rs6000.c (output_toc): Always use hex values for floating-point
11308         constants.  Store single-precision values in upper-half of TOC
11309         entry in 64-bit mode.
11310         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
11311         to final constraints.
11312         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
11313         (fctiwz): Improve accuracy of RTL for pattern.
11314
11315 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11316
11317         * expr.c (expand_expr): Allow RTL_EXPR's through the
11318         MAX_INTEGER_COMPUTATION_MODE checks.
11319
11320 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
11321
11322         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
11323         such that MASK_SUPPORT_ARCH is not negative.
11324
11325 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
11326
11327         * loop.c (verify_dominator): Properly handle ADDR_VEC and
11328         ADDR_DIFF_VEC insns that appear inside loops.
11329
11330 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
11331                           Jeff Law <law@cygnus.com>
11332
11333         * rs6000.md (movdf_hardfloat32): Revert previous patch.
11334         Handle LO_SUM the same as offsettable in cases 1 and 2.
11335         * rs6000.c (find_addr_reg): Revert previous patch.
11336
11337 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
11338
11339         * system.h (strstr): New external function declaration.
11340         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
11341         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
11342         * config.in, configure: Rebuilt.
11343
11344 1999-06-24  Tom Tromey  <tromey@cygnus.com>
11345
11346         * gcc.c (main): Read user-specified specs files after computing
11347         additional startfile_prefixes.
11348
11349 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
11350
11351         Revert these two patches:
11352
11353         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11354         * loop.c (strength_reduce): When doing biv->giv conversion, update
11355         reg note of NEXT->insn.
11356
11357         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11358         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
11359         reg_biv_class.
11360         (recombine_givs): Set ix field after sorting.
11361
11362 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11363
11364         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
11365         for the parts of an UNSPEC / UNSPEC_VOLATILE.
11366
11367 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
11368
11369         *fixinc/inclhack.def:  Add fix development commentary
11370         (read_ret_type): reactivate and add selection clause
11371         (zzz_*): tweak output file name to match what is used in hackshell.tpl
11372         *fixinc/{fixincl.x|inclhack.sh}: regen
11373
11374 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
11375
11376         * expr.c (expand_expr): STRIP_NOPS before checking against
11377         MAX_INTEGER_COMPUTATION_MODE
11378         (check_max_integer_computation_mode): Likewise.
11379
11380 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
11381
11382         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
11383
11384 1999-06-22  Jim Wilson  <wilson@cygnus.com>
11385
11386         * expr.c (store_expr): When target is a promoted subreg, return a
11387         promoted subreg as a result.
11388
11389 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
11390
11391         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
11392         coding standards.
11393         (dwarf2out_define): Mark unused parameters appropriately.
11394         (gen_unspecified_parameters_die): Ditto.
11395         (gen_subprogram_die): Fix signed/unsigned warnings.
11396         (gen_variable_die): Ditto.
11397
11398 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
11399
11400         * fixinc/inclhack.def(end_else_label): combined else_label
11401         and endif_label and fixed the sed expression.
11402         *fixinc/{fixincl.x|inclhack.sh}: regen
11403
11404 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
11405
11406         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
11407         'x' when handling non-offsettable addresses
11408
11409 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
11410
11411         * final.c (shorten_branches): Don't try to split an insn that has
11412         been deleted.
11413
11414 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
11415
11416         * config/mips/mips.c (symbolic_expression_p): New function.
11417         (mips_select_rtx_section): Put symbolic expressions in the
11418         data section, not the read-only data section.
11419
11420 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
11421
11422         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
11423
11424 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
11425
11426         * collect2.c (main): Log frame table count.
11427         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
11428         (scan_prog_file) [COFF]: Handle frame tables.
11429
11430         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
11431         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
11432         * alpha/elf.h: Undef them again.
11433         * alpha/vms.h: Remove their definitions.
11434
11435 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11436
11437         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
11438         remove the clobber of r0 and change the REG_UNUSED note to
11439         REG_INC.
11440
11441 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
11442
11443         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
11444         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
11445         fits in HOST_WIDE_INT and one uses union to access a long constant
11446         as double.
11447
11448 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
11449
11450         * sparc.c (sparc_override_options): Don't allow profiling for
11451         code models other than medlow.
11452         (sparc_function_profiler): New function from old FUNCTION_PROFILER
11453         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
11454         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
11455         (sparc_block_profiler): Likewise.
11456         (sparc_function_block_profiler_exit): Likewise.
11457         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
11458         (FUNCTION_BLOCK_PROFILER): Likewise.
11459         (BLOCK_PROFILER): Likewise.
11460         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
11461         (MCOUNT_FUNCTION): New.
11462         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
11463         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
11464         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
11465         (MCOUNT_FUNCTION): New.
11466         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
11467         (BLOCK_PROFILER): Delete.
11468         (MCOUNT_FUNCTION): New.
11469
11470 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
11471
11472         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
11473
11474 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11475
11476         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11477         Add the macros.
11478
11479         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11480         Ditto.
11481
11482         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11483         Ditto.
11484
11485         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11486         Ditto.
11487
11488 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
11489
11490         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
11491         types.
11492
11493 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
11494
11495         * i386/djgpp.h (LIB_SPEC): New.
11496         (STARTFILE_SPEC): New.
11497
11498         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
11499
11500 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
11501
11502         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
11503         compiler flags.
11504
11505         * system.h (WSTOPSIG): New macro.
11506
11507 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11508
11509         * c-pragma.c (push_alignment): Don't ignore alignments greater than
11510         4 bytes.
11511         (insert_pack_attributes): Take into account member natural
11512         alignment.
11513
11514         * i386/winnt.c (exports_head): New static variable.
11515         (i386_pe_record_exported_symbol): New function.
11516         (i386_pe_asm_file_end): Use.
11517         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
11518         symbols to be emitted at end of assembly.
11519         (ASM_DECLARE_OBJECT_NAME): Likewise.
11520         (ASM_DECLARE_FUNCTION_NAME): Likewise.
11521
11522         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
11523         -iwithprefix.
11524
11525 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
11526
11527         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
11528         in last change.
11529
11530 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
11531
11532         * haifa-sched.c (sched_analyze_1): Use free_list instead of
11533         zapping reg_last_uses directly.
11534         (sched_analyze_2, sched_analyze_insn): Likewise.
11535         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
11536
11537 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
11538
11539         * rs6000.md (movdf_hardfloat32): Use worst case insn length
11540         attributes for cases 1 and 2.
11541
11542 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
11543
11544         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
11545         instead of set.
11546
11547 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
11548
11549         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
11550
11551 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
11552
11553         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
11554         PIC_OFFSET_TABLE_REGNUM for general alloaction.
11555         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
11556         must be stacked if it is used for PIC accesses.
11557         * arm.c (use_return_insn): Handle PIC register specially.
11558         (output_return_instruction): Likewise.
11559         (output_func_{prologue,epilogue}): Likewise.
11560         (output_expand_prologue): Likewise.
11561
11562         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
11563         (*strsi_predec): Renamed from *strqi_predec.
11564         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
11565         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
11566
11567         * arm.c (arm_override_options): Remove warning about PIC code
11568         not being supported.
11569
11570 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
11571
11572         * rs6000.c (find_addr_reg): New function.
11573         * rs6000.h (find_addr_reg): Declare.
11574         (offsettable_addr_operand): Delete.
11575         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
11576         from and stores to GPRs.
11577
11578 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
11579
11580         * alpha.c (alpha_expand_block_move): Use get_insns rather than
11581         gen_sequence as argument to emit_no_conflict_block.
11582
11583 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
11584
11585         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
11586         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
11587         *fixinc/fixincl.x: regen
11588         *fixinc/inclhack.sh: regen
11589
11590 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
11591
11592         * added support for -mpcrel (PC relative addressing for m68k)
11593         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
11594         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
11595         * m68k.c (print_operand_address): Handle 32-bit PIC case.
11596         (comments for general_src_operand): Add some explanation
11597         about EXTRA_CONSTRAINTS.
11598         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
11599         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
11600         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
11601         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
11602         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
11603         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
11604         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
11605         if not already set.
11606         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
11607         * m68k.h (TARGET_PCREL): New target flag.
11608         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
11609         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
11610         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
11611         contains a SYMBOL_REF.  Relax this constraint during reload, since
11612         we want to use the predicates, not reload's built-in concept of a
11613         valid memory address, to control what insns need reloading.
11614         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
11615         operands (essentially 'g', 'm', and 's' under normal circumstances).
11616         * m68k.c (print_operand): Cause printing of pc-relative addresses
11617         to include pc register.
11618         (print_operand_address): Ditto.
11619         (general_src_operand): Accept operands that are not only
11620         general_operands, but are also valid when used as a pc-relative
11621         source.
11622         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
11623         (memory_src_operand): Similar, for memory_operands.
11624         (pcrel_address): New predicate to accept the special case of a
11625         pc-relative address.
11626         * m68k.md (many patterns): Rewrite common SImode, HImode, and
11627         QImode insns to accept *_src_operand instead of *_operand where
11628         pc-relative operands can fit.  For example, a pc-relative operand
11629         can be used as a memory source operand for addsi3, but not as a
11630         memory destination.
11631         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
11632
11633 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
11634
11635         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
11636         .thumb_set pseudo op to mark aliases of thumb functions.
11637
11638 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
11639
11640         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
11641         preference to ASM_OUTPUT_DEF, if it is defined.
11642
11643         * tm.texi: Document new, optional target macro
11644         ASM_OUTPUT_DEF_FROM_DECLS.
11645
11646 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
11647
11648         * fixincludes: ISCNTL patch
11649         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
11650         (dgux_int_varargs): new for DG/UX
11651         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
11652
11653 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
11654
11655         * invoke.texi (ia32 options): Fix typo.
11656
11657 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11658
11659         * loop.c (strength_reduce): When doing biv->giv conversion, update
11660         reg note of NEXT->insn.
11661
11662 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
11663
11664         * loop.c (move_movables): Note issues with replacing REGs with
11665         SUBREGs.
11666         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
11667
11668 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
11669
11670         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
11671
11672         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
11673         the reference to `mcount' was not correct for the ELF on FreeBSD.
11674
11675 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11676
11677         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
11678         reg_biv_class.
11679
11680         (recombine_givs): Set ix field after sorting.
11681
11682 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
11683
11684         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
11685         to safe to extract a subword out of a REG.
11686
11687 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11688
11689         * sh.md (mulsi3): Don't add a no-op move at the end.
11690
11691 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11692
11693         * cse.c (cse_insn): Don't put hard register source into tables for
11694         the last insn of a libcall.
11695
11696 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11697
11698         * loop.c (strength_reduce): Insert sets of derived givs at every
11699         biv increment, even if it's the only one.
11700
11701 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
11702
11703         * dwarfout.c (add_incomplete_type): New fn.
11704         (output_type): Call it.
11705         (retry_incomplete_types): New fn.
11706         (dwarfout_finish): Call it.
11707
11708         From Eric Raskin <ehr@listworks.com>:
11709         (output_type): Output types for bases.
11710
11711 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
11712
11713         * mips.c (mips_output_conditional_branch): Add `break'
11714         between `default' label and `close braces'.
11715
11716 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
11717
11718         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
11719         specifications and make it realistic.
11720         (LIB_SPEC): Likewise.
11721
11722 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
11723
11724         * config/mips/mips.c (mips_secondary_reload_class): Check for
11725         (PLUS (SP) (REG)) and return appropriate register class.
11726         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
11727         Handle (PLUS (SP) (REG)).
11728         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
11729         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
11730         of emit_insn for tablejump.
11731
11732 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
11733
11734         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
11735         asm_fprintf format string by itself.
11736         (output_function_profiler): Likewise.
11737
11738 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
11739
11740         * combine.c (simplify_logical, case AND): Only call
11741         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
11742         or the constant is positive.
11743
11744 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
11745
11746         * configure.in: Fix typo in rs6000-ibm-aix4 case.
11747         * configure: Regenerate.
11748
11749 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
11750
11751         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
11752         require a sub-version #.
11753         * configure: Rebuilt.
11754
11755 1999-06-14  Robert Lipe  (robertlipe@usa.net)
11756
11757         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
11758
11759 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
11760
11761         * c-typeck.c (process_init_element): Detect excess elements in
11762         char array initializer.
11763
11764 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11765
11766         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
11767
11768 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
11769
11770         * invoke.texi (Option Summary): Add -fpermissive flag.
11771
11772 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
11773
11774         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
11775         that require PIC code sequences.
11776
11777 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
11778
11779         * configure.in: Add new target: thumb-elf.
11780         * configure: Regenerate.
11781         * config/arm/t-thumb-elf: New file: Makefile fragment for
11782         thumb-elf build.
11783         * config/arm/telf.h: New file: Header file for thumb-elf
11784         build.
11785
11786 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
11787
11788         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
11789         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
11790         initializers is some circumstances.
11791
11792         * fixinc/inclhack.def (endif_label): Add additional selector for
11793         more bogus stuff after #endif statements.
11794         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
11795
11796 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11797
11798         * i386/cygwin.h (SET_ASM_OP): Define.
11799
11800 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11801
11802         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
11803
11804 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11805
11806         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
11807         latter.
11808
11809         * sh.md (ic_invalidate_line_i): Remove second alternative.
11810
11811 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
11812
11813         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
11814         test for the presence of valid prototypes.  Delete bypass expr.
11815         (ioctl_fix_ctrl): Correct the selection expression.
11816         (no_double_slash): Correct quoting rules
11817         *fixinc/fixincl.x: regen
11818         *fixinc/inclhack.sh: regen
11819
11820 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
11821
11822         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
11823
11824 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11825
11826         * rs6000.md (movsi_got_internal_mem): Delete.
11827         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
11828         (GOT_TOC_REGNUM): Delete.
11829         (PIC_OFFSET_TABLE_REGNUM): Define.
11830         (FINALIZE_PIC): Disable.
11831         * rs6000.c (rs6000_got_register): New code for fixed pic register.
11832         (rs6000_replace_regno): Delete.
11833         (rs6000_finalize_pic): Likewise.
11834         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
11835
11836 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11837
11838         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
11839         is a note; use <= for the compare; advance P while it is
11840         a NOTE.
11841
11842 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
11843
11844         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
11845         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
11846
11847         * varasm.c (remove_from_pending_weak_list): Verify t->name
11848         is non-NULL before passing it to strcmp.
11849
11850 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
11851
11852         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
11853         the typed arguments are not part of a comment
11854         (ioctl_fix_ctrl): Added a purpose comment
11855         *fixinc/fixincl.x: regenerate
11856         *fixinc/inclhack.sh: regenerate
11857
11858 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11859
11860         * invoke.texi: Add C4x invocation docs.
11861
11862 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11863
11864         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
11865         Define new macros.
11866         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
11867         TARGET_EXPOSE_LDP.
11868         (c4x_legitimize_reload_address): New function.
11869         * config/c4x/c4x.md: Update docs.
11870
11871 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
11872
11873         * fixincludes: Avoid removing '.'.
11874         * fixinc/fixinc.svr4: Likewise.
11875         * fixinc/fixinc.winnt: Likewise.
11876         * fixinc/inclhack.tpl: Likewise.
11877         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
11878
11879 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11880
11881         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
11882         pattern.
11883         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
11884
11885 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11886
11887         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
11888         correctly.
11889
11890 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
11891
11892         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
11893         * configure: Regenerate.
11894
11895 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
11896
11897         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
11898         values.
11899
11900 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
11901
11902         * fixinc/inclhack.def (avoid_bool): Also catch
11903         "typedef [unsigned] int bool".
11904         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
11905
11906         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
11907         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
11908         * configure: Rebuilt.
11909
11910 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
11911
11912         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
11913         such that we can override its definitions if necessary.
11914         (CPP_SPEC): New define.  Support processor specific predefines via
11915         %(cpp_cpu).
11916         (CC1_SPEC): New define.  Support processor specific compiler
11917         options via %(cc1_cpu).
11918         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
11919         -static.
11920
11921 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11922
11923         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
11924         between sed's -e flag, and the open-quote following it.
11925         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
11926
11927 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
11928                           Jeffrey A Law  (law@cygnus.com)
11929
11930         * varasm.c (assemble_start_function): Remove the function
11931         from the pending weak decls list when we define a function.
11932         (assemble_variable): Similarly for variables.
11933         (weak_finish): Ignore items on the list with a NULL name.
11934         (remove_from_ending_weak_list); New function to "remove" an item
11935         from the pending weak declarations list.
11936
11937 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
11938
11939         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
11940
11941 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
11942
11943         * c-lex.c (GETC): Redefine to call getch.
11944         (UNGETC): Redefine to call put_back.
11945         (putback_buffer): New structure type.
11946         (putback): New static structure.
11947         (getch): New function.
11948         (put_back): New function.
11949         (yylex): Replace unused bytes from bad multibyte character.
11950
11951 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
11952
11953         * cpplib.c (do_define): Cast `alloca' return value.
11954         (do_include, do_undef, do_pragma): Likewise.
11955         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
11956         values.
11957         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
11958         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
11959
11960 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
11961
11962         * sparc.md (abstf2): This should be an expand.
11963         (split after abstf2_notv9): Fix mode.
11964         (abstf2_hq_v9): New pattern.
11965         (abstf2_v9): Only use when no hard quad.
11966         (absdf2_v9): Fix if target is not the same as source.
11967         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
11968         Add correct output constraints.
11969
11970 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
11971
11972         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
11973         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
11974
11975 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
11976
11977         * mips.h (mips_output_conditional_branch): New function.
11978         (mips_adjust_insn_length): Likewise.
11979         (ASSEMBLER_SCRATCH_REGNUM): New macro.
11980         (ADJUST_INSN_LENGTH): Likewise.
11981         * mips.c (print_operand): Add `F' and `W' for floating-point
11982         comparison opcodes.
11983         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
11984         are now in bytes.
11985         (mips_adjust_insn_length): New function.
11986         (mips_output_conditional_branch): New function.
11987         * mips.md (length): Adjust attribute definition to handle
11988         conditional branches.   Change lengths to bytes, rather than
11989         instructions throughout.  Remove length attribute from
11990         instructions whose length is four bytes, and rely on the default
11991         instead.
11992         (dslot): Fix typo in comment.
11993         Reword conditional branch patterns to use
11994         mips_output_conditional_branch.
11995
11996 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11997
11998         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
11999         (LIB_SPEC): Likewise.
12000         Link with -lprof1_r for -g/-pg.
12001
12002 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12003
12004         * loop.c (check_dbra_loop): Fix change of Jan 19.
12005
12006 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
12007
12008         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
12009         (STARTFILE_SPEC):  Define, override the svr4.h version.
12010         (ENDFILE_SPEC):  Likewise.
12011
12012 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
12013
12014         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
12015         * fixinc/fixincl.x: Regenerated.
12016         * fixinc/inclhack.sh: Regenerated.
12017
12018 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12019
12020         * sh.c (barrier_align): Don't return early for normal branch/barrier
12021         when optimizing for SH2.
12022
12023 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
12024
12025         * i386/udk.h (LINK_SPEC): Correct linker search path for
12026         system libraries.
12027
12028 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12029
12030         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
12031         (braf_label_ref_operand): Delete.
12032         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
12033         * sh.md (casesi_jump_2): Operand1 is now the inside of a
12034         label_ref, and has no predicate.
12035         The patten has a predicate to guard against invalid substitutions.
12036         (dummy_jump): Delete.
12037         (casesi): Update use of casesi_jump_2.
12038
12039 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12040
12041         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
12042         *fixinc/fixincl.x: regenerate
12043         *fixinc/inclhack.sh: regenerate
12044
12045 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
12046
12047         * dwarf2out.c (add_incomplete_type): New fn.
12048         (gen_struct_or_union_type_die): Call it.
12049         (retry_incomplete_types): New fn.
12050         (dwarf2out_finish): Call it.
12051
12052 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
12053
12054         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
12055         current block starts with a CODE_LABEL and ends with a CALL and
12056         we can not find all the argument setup instructions for the CALL.
12057
12058 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
12059
12060         Revert this change:
12061         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
12062         something is a candidate for optimize_bit_field_compare.
12063
12064 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12065
12066         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
12067
12068 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
12069
12070         * alpha.c (override_options): Thinko in last patch.
12071
12072         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
12073         (LIB_SPEC): Recognize -pthread.
12074
12075 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
12076
12077         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
12078         definition in config/arm/coff.h
12079         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
12080
12081 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12082
12083         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
12084         fixes that need "file=xxx\n" prepended before invocation
12085         (start_fixer - new): starting the fixer process is complex enough
12086         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
12087         (process): uses the new routine; omit usage of putenv()
12088         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
12089         * fixinc/fixincl.x: regenerate
12090
12091 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
12092
12093         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
12094         and version #s (1.1 -> 2.96) as needed.
12095         * README.g77: Kill way out of date file in the toplevel directory.
12096
12097 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
12098
12099         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
12100         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
12101         * configure: Rebuilt.
12102         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
12103         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
12104         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
12105         (SWITCH_TAKES_ARG): Likewise.
12106         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
12107         * config/t-freebsd: Moved from config/i386/ so it can used for all
12108         FreeBSD targets.
12109
12110 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
12111
12112         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
12113
12114 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
12115
12116         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
12117         * configure: Rebuilt.
12118
12119 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
12120
12121         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
12122         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
12123         * rs6000/rs6000.c (rs6000_file_start): Use putc.
12124         (rs6000_output_load_toc_table): Same.
12125         (output_prolog, output_mi_thunk): Same.
12126         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
12127         (ASM_GLOBALIZE_LABEL): Use putc.
12128
12129 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
12130
12131         * alpha.md (reload_*_help): New patterns and splitters.
12132         (reload_*): Use them.
12133         (mov[qh]i): Likewise.
12134
12135 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
12136
12137         * cccp.c (handle_directive): Handle backslash-newlines in quoted
12138         strings correctly.
12139
12140 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
12141
12142         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
12143
12144 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
12145
12146         * flow.c (mark_regs_live_at_end, insn_dead_p,
12147         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
12148         and HARD_FRAME_POINTER_REGNUM special treatment if reload
12149         hasn't run or the frame pointer is needed.
12150         * haifa-sched.c (attach_deaths): Likewise.
12151         * sched.c (attach_deaths): Likewise.
12152
12153 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
12154
12155         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
12156         calculate_can_reach_end returns nonzero.
12157
12158         * configure.in (native gas tests): Search for an assembler in the
12159         same manner that the installed compiler will.
12160         * configure: Rebuilt.
12161         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
12162
12163         * alias.c (find_base_term): Improve handling of addresses
12164         constructed from binary operations.
12165
12166 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
12167
12168         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
12169
12170 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
12171
12172         * function.h (cleanup_label, frame_offset): Declare.
12173         (tail_recursion_label, tail_recursion_reentry): Likewise.
12174         (arg_pointer_save_area, rtl_expr_chain): Likewise.
12175         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
12176         (tail_recursion_label, tail_recursion_reentry): Likewise.
12177         (arg_pointer_save_area, rtl_expr_chain): Likewise.
12178
12179 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
12180
12181         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
12182         defined.
12183         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
12184         (MAX_OFILE_ALIGNMENT): Define.
12185
12186 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
12187
12188         * fixincl.c: Replace local include scheme with #includes of
12189         gansidecl.h and system.h.
12190         * procopen.c:  Likewise.
12191         * server.c:  Likewise.
12192
12193 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
12194
12195         * i386/t-dgux (EXTRA_PARTS): Add crti.o
12196         (crti.o): Add build rule and dependencies.
12197         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
12198
12199 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12200
12201         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
12202         (LIB_LINUX_SPEC): Likewise.
12203         (LIB_LINUX_SPEC): Add support for -pthread
12204         (CPP_OS_LINUX_SPEC): Likewise.
12205         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
12206         specified.
12207
12208 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
12209
12210         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
12211         conditional move.
12212         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
12213         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
12214         for IEEE math and CC_FCOMI.
12215         (put_jump_code): No IEEE if CC_FCOMI is set.
12216
12217 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12218
12219         * fold-const.c (fold_truthop): Make the field reference unsigned
12220         when converting a single bit compare.
12221
12222 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12223
12224         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
12225
12226 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
12227
12228         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
12229         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
12230         version did.
12231
12232         * reload.c (push_reload): Do not call remove_address_replacements
12233         when presented with identical optional reloads.
12234
12235 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
12236
12237         * alpha.h (MASK_FIX, TARGET_FIX): New.
12238         (MASK_*): Reorganize constants.
12239         (CPP_AM_FIX_SPEC): New.
12240         (TARGET_SWITCHES): Add FIX.
12241         (EXTRA_SPECS): Likewise.
12242         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
12243         (SECONDARY_MEMORY_NEEDED): Likewise.
12244         (REGISTER_MOVE_COST): Likewise.
12245         * alpha.c (override_options): Add FIX support.  Always use
12246         ALPHA_TP_PROG for ev6.
12247         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
12248         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
12249         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
12250
12251 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
12252
12253         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
12254         something is a candidate for optimize_bit_field_compare.
12255
12256 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
12257
12258         * gcc.texi (Passes): Document branch-shortening.
12259         * invoke.texi (Debugging Options): Document the fact that `-dp'
12260         outputs length information for instructions.
12261
12262 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
12263
12264         * flow.c: Revert previous delta.
12265
12266 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
12267
12268         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
12269         FRAME_POINTER_REGNUM.
12270         (mark_set_1): Ditto.
12271         (mark_used_regs): Ditto.
12272
12273 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
12274
12275         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
12276         (GOT_PCREL): New macro.  Define to 1 if not already defined.
12277         * arm/elf.h (GOT_PCREL): Define to 0.
12278         * arm.c (arm_finalize_pic): Take into account the setting of
12279         GOT_PCREL.
12280
12281 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
12282
12283         * output.h (STRIP_NAME_ENCODING): Provide default definition.
12284         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
12285
12286         * flow.c (mark_set_1): Do not record BLKmode stores as dead
12287         store elimination candidates.
12288
12289 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12290
12291         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
12292         TARGET_GAS.
12293
12294 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
12295
12296         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
12297         Add use of x-aix41-gld.
12298
12299 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
12300
12301         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
12302         (ASM_OUTPUT_DESTRUCTOR): Define.
12303
12304 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
12305
12306         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
12307         last CODE_LABEL in a loop if we have previously passed a jump
12308         to the top of the loop.
12309
12310 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
12311
12312         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
12313         applying Philip's patch.
12314
12315 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
12316
12317         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
12318         are not VAR_DECLs.
12319
12320 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
12321
12322         * loop.c (strength_reduce): Grow reg_single_usage as needed.
12323
12324 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
12325
12326         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
12327         Also remove a useless comment.
12328
12329 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
12330
12331         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
12332
12333 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
12334
12335         * collect2.c (main): Only generate import or export file and add
12336         to link arguments if non-empty.  Use xmalloc not alloca.
12337         (write_{export,import}_file): Delete.
12338         (write_aix_file): New function.
12339         (locatelib): Use xmalloc not malloc.
12340         (GCC_OK_SYMBOL): Do not check type if aix64.
12341
12342 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
12343
12344         Based on patch by Scott Bambrough and Pat Beirne:
12345         * config/arm/arm.c (making_const_table): New variable.
12346         * config/arm/arm.h (making_const_table): Declare.
12347         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
12348         appropriate.
12349         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
12350         Keep track of when we are building the constant table.
12351
12352 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
12353
12354         * config/arm/arm.c (arm_override_options): Fix erroneous warning
12355         message.
12356
12357 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
12358
12359         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
12360         defined.
12361
12362 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
12363
12364         * tm.texi (FUNCTION_ARG): Correct description of a stack element
12365         in a PARALLEL.
12366
12367 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
12368
12369         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
12370
12371 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12372
12373         * rs6000.c (output_mi_thunk): Enable full support again.
12374
12375 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12376
12377         * sh.h (BRANCH_COST): Define.
12378
12379 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
12380
12381         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
12382
12383 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
12384
12385         * function.c (assign_stack_local): Align stack slot propertly.
12386         (assign_outer_stack_local): Likewise.
12387
12388 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
12389
12390         * expr.h (lang_expand_constant): Declare.
12391         * toplev.c (lang_expand_constant): Define it.
12392         * varasm.c (output_constant): Use it.
12393
12394 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12395
12396         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
12397         Change function definitions to K&R style.
12398
12399 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12400
12401         * fixinc/fixincl.c: We must not ignore SIGCLD now.
12402
12403 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
12404
12405         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
12406         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
12407         (several places): omit static initialization
12408         (process): use single fd, since only the read fd is used
12409         * fixinc/gnu-regex.c: define 'const' away, if not supported
12410         * fixinc/procopen.c(several places): omit static initialization
12411         * fixinc/server.c: define 'volitile' away, if not supported
12412
12413 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12414
12415         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
12416         asm_fprintf and %L to generate the label name.
12417         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
12418         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
12419
12420 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
12421
12422         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
12423         insn for a conditional jump can not be found.
12424
12425 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
12426
12427         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
12428         on variables in specific sections other than .sbss and .sdata.
12429
12430 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
12431
12432         * stmt.c (expand_return): Call start_cleanup_deferral and
12433         end_cleanup_deferral around conditional code.
12434
12435 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12436
12437         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
12438         filename lists.  Utilizes new "krstr" AutoGen function.
12439         * fixinc/fixincl.x: Rebuilt.
12440
12441 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
12442
12443         * i386.c (output_float_compare): Avoid GNU-C extensions.
12444
12445 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
12446
12447         * version.c: Bump to distinguish mainline tree from the
12448         gcc-2.95 branch.
12449
12450 See ChangeLog.1 for earlier changes.