OSDN Git Service

* i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
2
3         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4         (abs?f2_if): Likewise.
5
6 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
7
8         * ggc.h (ggc_test_and_set_mark): New macro.
9         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10         (ggc_mark_tree): Likewise.
11         (ggc_mark_rtvec): Likewise.
12         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion. 
13
14 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
15
16         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
17         containing types.
18         (decl_scope_table): Just an array of trees now.
19         (push_decl_scope): Simplify.
20         (dwarf2out_init): Adjust.
21         (local_scope_p): New fn.
22         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
23         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
24         (gen_typedef_die): Likewise.
25         (gen_lexical_block_die): Don't call push/pop_decl_scope.
26         (gen_inlined_subroutine_die): Likewise.
27         (gen_abstract_function): Set current_function_decl temporarily.
28         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
29         Handle block extern declarations.  Don't call push/pop_decl_scope.
30         (gen_decl_die): Fix logic for block externs.
31
32 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
33
34         * calls.c (special_function_p): Remove `realloc' and add `strdup'
35         to the list of functions which have attribute malloc by default.
36
37 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
38
39         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
40         integer constant does not match the traditional type, limit the
41         warnings to cases where the base of the type is ten.
42
43         * invoke.texi (-Wtraditional): Document it.
44
45 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
46
47         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
48         * rs6000.md: Only access a CONST_INT with INTVAL
49
50 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
51
52         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
53         (compute_nearerout): Likewise.
54         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
55         size_t to unsigned long for formatting.
56
57 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
58
59         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
60         Allow the user to override call-used/fixed state of %g2-5
61         registers from the command line (with the exception of %g4 for
62         embedded model).
63         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
64         there is a higher chance of having a leaf function.
65         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
66         for ARCH64 which has %ccr register.
67         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
68         patterns.
69         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
70         insn accept into delay slot any insn which does not use %[ol]
71         registers.  Accept some LO_SUM and shift left by 1 for the normal
72         restore case.
73         (output_function_epilogue): Likewise.
74         (epilogue_renumber): Added argument which inhibits any renumbering
75         and just tests if the rtx does not use any %[ol] registers.
76         (output_return): Reflect above change.
77
78 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
79
80         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
81         aggregate passing for sizes <= 16 bytes.
82
83 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
84
85         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
86         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
87         * reload.c (find_dummy_reload): Likewise.
88         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
89         * reload1.c (reload_as_needed): Likewise.
90         * stupid.c (stupid_find_reg): Likewise.
91         * tm.texi (Obsolete Register Macros): Delete section.
92         * gmicro.h: Remove all traces of the two macros.
93         * i386.h: Likewise.
94         * m88k.h: Likewise.
95         * mips.h: Likewise.
96
97 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
98
99         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
100         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
101         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
102         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
103         units for the sparclite86x chip.
104         (flush): Revert October 14th change; add SImode specifically.
105         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
106         * invoke.texi: Document it.
107
108 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
109
110         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
111         psimode_truncation_operand.
112
113         * config/mn10200/mn10200.c (psimode_truncation_operand): New
114         function.  Return true if the operand is either a MEM valid
115         for a PSImode address or not a MEM at all.
116
117         * config/mn10200/mn10200.md (truncsipsi2): Use
118         psimode_truncation_operand.
119
120 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
121
122         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
123         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
124         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
125         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
126         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
127         (flow_loop_level_compute, low_loops_level_compute): Likewise.
128         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
129         * basic-block.h: Protect from multiple inclusion.
130         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
131         (struct loops, struct loop): Define structures.
132         * sbitmap.c (sbitmap_a_subset_b_p): New function.
133         * sbitmap.h: Protect from multiple inclusion.
134         (sbitmap_a_subset_b_p): Add prototype.
135         * Makefile.in (LOOP_H): New macro.
136         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
137
138 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
139
140         * cppinit.c (CAT): The argument list of this macro may not contain
141         spaces !
142
143 1999-11-29  David S. Miller  <davem@redhat.com>
144
145         Move quantity tables and register equivalence chains into
146         per-qty and per-register structure arrays respectively.
147         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
148         qty_const_insn, qty_comparison_code, qty_comparison_const,
149         qty_comparison_qty): Delete, replace with...
150         (qty_table): this structure table.
151         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
152         (reg_eqv_table): this structure table.
153         (make_new_qty): Add argument MODE.  Caller updated.
154         Update to use qty_table and reg_eqv_table.
155         (make_regs_eqv, delete_reg_equiv, insert_regs,
156         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
157         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
158         cse_process_notes, cse_main, cse_basic_block): Likewise.
159
160 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
161
162         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
163         operation if C is negative.
164         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
165         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
166         law for some divisions if constant is negative and change other
167         divisions to the opposite rounding.
168
169         * expr.c (store_constructor_field): If bit position is not multiple
170         of alignment of TARGET's mode, use BLKmode.
171
172         * expr.c (expand_expr_unaligned): Add more code from full case
173         that is needed when OP0 is in a register.
174
175 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
176
177         * dwarfout.c (field_byte_offset): Size can be zero if there was
178         an error.
179
180 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
181
182         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
183         (associate_trees): Delete unused var TEM.
184         (extract_muldiv): Delete unused var CANCEL_P.
185                         
186         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
187         (target_isinf, target_isnan, target_negative): Add return types to
188         function definitions.
189
190 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
191
192         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
193         * fixinc/hackshell.tpl: ditto
194         * fixinc/fixtests.c(double_slash_test): more C++ header testing
195         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
196
197 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
198
199         * reload.c (push_reload): When looking for a register to put into
200         reg_rtx, make sure all hard regs in a multi-reg register are in the
201         right class and nonfixed.
202
203         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
204         pending_read_insns, pending_write_insns, pending_read_mems,
205         pending_write_mems, pending_list_length, last_pending_memory_flush,
206         last_function_call, sched_before_next_call): Move static variables
207         into a structure.
208         (bb_ prefixed versions): Replace with single array bb_deps.
209         (struct deps): New structure.
210         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
211         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
212         argument of type "struct deps *"; use that instead of global
213         variables.  All callers changed.
214         (init_rgn_data_dependencies): Delete function.
215         (init_rtx_vector): Delete function.
216         (init_deps): New function.
217
218         (free_pending_lists): Simplify, we always use the bb_deps array even
219         if only one basic block.
220         (compute_block_backward_dependences): Likewise.
221         (schedule_region): Likewise.
222
223         (propagate_deps): New function, broken out of
224         compute_block_backward_dependences.
225         (compute_block_backward_dependences): Use it.
226
227         * alpha.md: Delete useless patterns that tried to work around
228         register elimination problems.
229
230         * unroll.c (loop_iterations): Don't abort if iteration variable
231         was made by loop.
232
233         From Joern Rennecke:
234         * reload1.c (reloads_conflict): Reverse test comparing operand
235         numbers when testing for conflict between output/outaddr reloads.
236
237 1999-11-29  David S. Miller  <davem@redhat.com>
238
239         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
240         arg.
241         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
242
243 1999-11-28  Robert Lipe  <robertl@cygnus.com>
244
245         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
246         table from .fini into .dtor.                                
247
248 1999-11-28  Anthony Green  <green@cygnus.com>
249
250         * tree.h (struct tree_decl): Add malloc_flag.
251         (DECL_IS_MALLOC): Define.
252         * c-common.c (attrs): Add A_MALLOC attribute.
253         (init_attributes): Add this attribute to the table.
254         (decl_attributes): Handle malloc attribute.
255         * calls.c (special_function_p): Check for the malloc attribute.
256         * extend.texi (Function Attributes): Document malloc attribute.
257
258 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
259
260         * pa.md (reload shift-add patterns): Remove.
261
262 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
263
264         * reorg.c (dbr_schedule) Print more statistics. Corrected
265         problem when printing info when 3 delay slots are filled.
266
267 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
268
269         * combine.c (setup_incoming_promotions): Pass an outgoing
270         regno to FUNCTION_ARG_REGNO_P which it expects.
271
272 1999-11-28  Andreas Jaeger  <aj@suse.de>
273
274         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
275
276 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
277
278         * cccp.c (do_include): Avoid initialization of automatic variable.
279
280         * integrate.c (mark_stores): Function definition made void, to match
281         previous declaration.
282         * regclass.c (dump_regclass): Ditto.
283         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
284
285 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
286
287         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
288         known to be multiple of divisor.
289
290         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
291
292         * combine.c (try_combine): Add code to try to merge a set of a
293         two-word pseudo to a constant with a setting of one of those words
294         to a constant.
295
296         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
297         (split_tree): Completely rework to make more general.
298         (make_range, fold): Call negate_expr.
299         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
300         (fold, associate): Call new split_tree and associate_trees.
301         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
302
303 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
304
305         * loop.c (try_copy_prop): Avoid GNU C extension.
306
307 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
308
309         * except.c (init_eh_for_function): Still zero eh_return_context,
310         eh_return_stack_adjust, and eh_return_handler.
311
312         * except.h (eh_status): Adjust documentation for x_protect_list.
313         (begin_protect_partials): New function.
314         * except.c (enqueue_eh_entry): Fix formatting.
315         (get_first_handler): Add consistency check.
316         (add_partial_entry): Adjust usage of protect_list.
317         (emit_cleanup_handler): Save and restore ehqueue.
318         (expand_start_all_catch): Add comment.
319         (begin_protect_partials): New function.
320         (end_protect_partials): Adjust usage of protect_list.
321         (init_eh_for_function): Use xcalloc.
322
323 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
324
325         * c-common.c (check_format_info): Don't call a variadic function
326         with a non-literal format string.
327
328         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
329
330         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
331         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
332         Likewise.
333
334         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
335         Likewise.
336
337         * collect2.c (collect_wait): Likewise.
338
339         * dbxout.c (dbxout_type): Likewise.
340
341         * gcc.c (do_spec_1): Likewise.
342
343         * genemit.c (gen_insn, gen_expand): Likewise.
344
345         * genrecog.c (write_switch, write_subroutine): Likewise.
346
347         * mips-tfile.c (catch_signal, botch): Likewise.
348
349         * print-rtl.c (print_rtx): Likewise.
350
351         * toplev.c (default_print_error_function, report_error_function,
352         _fatal_insn): Likewise.
353
354 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
355
356         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
357
358 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
359
360         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
361         operations when needed.
362         * i386.md (fop_?f_comm): New.
363         (fop_?f_1): Do not accept commutative operands.
364
365 1999-11-25  Andreas Jaeger  <aj@suse.de>
366
367         * config/mips/mips.md (casesi_internal): Add missing brace.
368
369 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
370
371         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
372         (splice_child_die): Handle moving a child DIE from the declaration
373         DIE of a class to its specification.
374         (gen_struct_or_union_type_die): Use 'complete' consistently.
375         (gen_decl_die): Generate the virtual context DIE first.
376         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
377
378 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
379
380         * config/mips/mips.md (call_value_multiple_interanal1): New.
381
382 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
383
384         * dwarf2out.c (free_AT, free_die): New fns.
385         (remove_children): Call them.
386         (output_line_info): Disable removal of duplicate notes.
387
388         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
389         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
390         means pretend the type isn't defined.
391         Don't defer emitting types.
392         (gen_type_die_for_member): New fn.
393         (gen_decl_die): Call it.
394         (splice_child_die): New fn.
395         (gen_member_die): Call it rather than generate duplicate dies.
396
397         Defer emitting information for the abstract instance of an inline
398         until we either inline it or emit an out-of-line copy.
399         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
400         from output_inline_function if DECL_ABSTRACT is also set.
401         (block_ultimate_origin): Likewise.
402         (gen_abstract_function): New fn.
403         (gen_decl_die, gen_inlined_subroutine_die): Call it.
404         (gen_subprogram_die):  An abstract instance is not a declaration
405         just because it doesn't match current_function_decl.  Don't abort
406         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
407         has an abstract origin.
408         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
409         abstract instance here.
410
411 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
412
413         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
414         where we need to reload fpul from a system register.
415
416 1999-11-24  Andreas Jaeger  <aj@suse.de>
417
418         * config/mips/linux.h (CPP_PREDEFINES): Added.
419         (LINK_SPEC): Remove -Y since this is only needed on sparc.
420
421 1999-11-24  Andreas Jaeger  <aj@suse.de>
422
423         * config/mips/linux.h (TARGET_VERSION): Added.
424         (HANDLE_SYSV_PRAGMA): Added.
425         (DEFAULT_VTABLE_THUNKS): Added.
426
427 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
428
429         * local-alloc.c (qty): New structure and static variable.
430         (qty_phys_reg): Remove, all references changed to qty.
431         (qty_n_refs): Likewise.
432         (qty_min_class): Likewise.
433         (qty_birth): Likewise.
434         (qty_death): Likewise.
435         (qty_size): Likewise.
436         (qty_mode): Likewise.
437         (qty_n_calls_crossed): Likewise.
438         (qty_alternate_class): Likewise.
439         (qty_changes_size): Likewise.
440         (qty_first_reg): Likewise.
441         (alloc_qty): Rename variable QTY to QTYNO.
442         (finf_free_reg): Likewise.
443         (local_alloc): Allocate qty, do not allocate the removed variables.
444
445 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
446
447         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
448         when -membedded-pic is passed.
449
450         * config/mips/mips.md (casesi): Handle 64-bit case too.
451         (casesi_internal_di): New insn.
452
453         * config/mips/mips.c (embedded_pic_offset): Always make the
454         embedded-pic subtractions relative to the name of the current
455         function by use of the magic string "..CURRENT_FUNCTION".
456         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
457
458 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
459
460         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
461         of (const_int 0), when what we really care about is
462         whether it's a zero constant anyway.
463         (div_trap_mips16): Likewise.
464
465 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
466
467         * loop.c (loop_optimize): Always find_loop_tree_blocks and
468         unroll_block_trees when generating debuggable code.
469
470         * tree.h (unsave_expr_1): New function.
471         (lang_unsave): New variable.
472         (get_callee_fndecl): New function.
473         * tree.c (unsave_expr_now_r): New function.
474         (lang_unsave): Define.
475         (unsave_expr_1): Likewise.
476         (unsave_expr_now_r): Split out from unsave_expr_now.
477         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
478         call unsave_expr_now_r.
479         (get_callee_fndecl): Define.
480
481         * Makefile.in (gencheck): Don't depend on lang_tree_files.
482         (gencheck.o): Do depend on lang_tree_files.
483
484         * integrate.h (copy_decl_for_inlining): New declaration.
485         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
486         (copy_decl_for_inlining): New function.
487         (integrate_parm_decls): Use it.
488         (integrate_decl_tree): Likewise.
489
490 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
491
492         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split 
493         the second two from the first.
494         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
495         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
496         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than 
497         ISA_HAS_FP4.
498         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
499         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
500         ISA_HAS_FP4.
501
502 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
503
504         * pa.md (call_internal_symref, call_value_internal_symref): No mode
505         needed on the address operand.
506         * pa.c (call_operand_address): Check for the correct mode.
507
508 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
509
510         * loop.c: Include "basic-block.h".
511         (try_copy_prop, replace_loop_reg): New functions.
512         (load_mems): Detect registers that just hold copies of the hoisted
513         mem, and call try_copy_prop to eliminate them.
514         * Makefile.in (loop.o): Update dependencies.
515
516 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
517
518         * Makefile.in (gencheck.o): Depend on gencheck.h.
519         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
520         (insn-peep.o): Depend on except.h and function.h.
521         (insn-attrtab.o): Depend on RECOG_H.
522         (insn-output.o): Depend on toplev.h and flags.h.
523         (gengenrtl.o): Depend on real.h.
524         (gen-protos.o): Depend on cpplib.h and cpphash.h.
525         Unify all dependencies to be on RECOG_H rather than recog.h.
526
527 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
528
529         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
530         * configure.in: Try building a bi-arch 32/64-bit compiler on
531         sparc-*-solaris2.7 and higher.
532         * configure: Rebuild.
533
534 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
535
536         * config/freebsd.h: New, FreeBSD architecture independent file.
537         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
538         independent pieces.
539         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
540         directly by i386/freebsd.h.
541         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
542         independent configuration file.
543         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
544         directly by i386/freebsd.h.
545         * configure: Rebuilt.
546
547         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
548         which is in the user's namespace.
549         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
550         `i386' which is not in our namespace.
551
552 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
553
554         * invoke.texi (ARM Options): Add in -mno-alignment-traps
555
556 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
557
558         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
559         (add_dwarf_attr, add_child_die): Just push onto the front.
560         (reverse_die_lists): New fn.
561         (add_sibling_attributes): Use it.
562         (push_decl_scope): Reorganize.
563         (add_name_and_src_coords_attributes): Don't set file and line for
564         an artificial decl.
565         (gen_subprogram_die): An artificial function doesn't need to match
566         file and line.
567         (gen_compile_unit_die): Return the generated die.  Only add 
568         AT_comp_dir if the filename is relative.
569         (remove_AT): Simplify loop.  Also free string values.
570         (output_die): A DIE ref can't be null.
571         (output_value_format, value_format): Take a dw_attr_ref.
572         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
573         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
574         AT_addr, AT_lbl): New fns.
575         (various): Use them.
576         (various): Constify.
577
578 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
579
580         * combine.c (combine_simplify_rtx): When handling a SUBREG,
581         take SUBREG_WORD into account.
582         (if_then_else_cond): Likewise.
583
584 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
585
586         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising 
587         clause from BSD license, pursuant with
588
589           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
590
591 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
592
593         * loop.c (load_mems): Reformat slightly.
594         * basic-block.h (regset_head): New typedef.
595         (INIT_REG_SET): New macro.
596
597 1999-11-22  Bruce Korb  <autogen@linuxbox.com
598
599         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
600         (mips-dec-bsd*): non-functional code
601         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
602
603         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
604         added three replacement fixes
605         (no_double_slash): removed comments that are not (any longer) pertinent
606         (bad_lval): this fix currently runs against many files.
607         The comment seems to indicate that we should select for files
608         containing 'pragma extern_prefix'.
609
610         * fixinc/fixinc.x86-linux-gnu: deleted
611         * fixinc/inclhack.sh:  regen
612         * fixinc/fixincl.x:  regen
613         * fixinc/fixincl.sh:  regen
614
615 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
616
617         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
618         its code is INSN and it has no notes.
619
620 1999-11-22  Andrew Haley  <aph@cygnus.com>
621
622         * varasm.c (function_defined): Remove.
623         (make_function_rtl): Don't set function_defined.
624         (make_decl_rtl): Remove global register warning.
625         * regclass.c (no_global_reg_vars): New variable.
626         (globalize_reg): Warn if function has already been defined.
627         (regclass_init): Set no_global_reg_vars.
628
629 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
630
631         * regclass.c (reg_pref): New structure and static variable
632         (prefclass): Delete.
633         (altclass): Delete.
634         (all uses of prefclass and altclass): Use reg_pref instead.
635
636 1999-11-21  Nick Clifton  <nickc@cygnus.com>
637
638         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
639         -malignment-traps. 
640         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
641         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
642         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
643
644 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
645
646         * varasm.c (output_constructor): Solve problem with long long
647         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
648
649 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
650
651         * global.c (allocno): New structure and static variable.
652         (allocno_reg): Remove, all references replaced by allocno.
653         (allocno_size): Likewise.
654         (hard_reg_conflicts): Likewise.
655         (hard_reg_preferences): Likewise.
656         (hard_reg_copy_preferences): Likewise.
657         (hard_reg_full_preferences): Likewise.
658         (regs_someone_prefers): Likewise.
659         (allocno_calls_crossed): Likewise.
660         (allocno_n_refs): Likewise.
661         (allocno_live_length): Likewise.
662         (find_reg): Rename ALLOCNO to NUM.
663
664         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
665         references updated.
666         (may_move_out_cost): New variable.
667         (init_reg_sets_1): Initialize may_move_out_cost.
668         (record_reg_classes): Use may_move_out_cost.
669
670         * regclass.c (dump_regclass): New function.
671         (regclass): New parameter DUMP, call DUMP_REGCLASS.
672         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
673         pass rtl_dump_file to regclass.
674         * rtl.h (regclass): Update prototype.
675
676 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
677
678         * i386.md (neg, not and abs patterns): Revmap to use
679         ix86_expand_unary_operator and ix86_unary_operator_ok.
680         (add?f and sub?f expanders): Force operand 1 to register.
681         * i386.c (ix86_expand_unary_operator): Rewrite.
682         (ix86_unary_operator_ok): Ensure that memory operands
683         match real opcode.
684         (ix86_binary_operator_ok): Do not allow operand 1 to
685         come into memory and operand 0 not.
686         (ix86_expand_binary_operator): Ensure that
687         src1 is not non-matching memory.
688
689         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
690         to support integer registers and memory.
691         (abss?2_integer): Likewise.
692
693         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
694         (REG_CLASS_NAMES): Likewise.
695         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
696         and GENERAL_REGS.
697         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
698         (movsf): Likewise; unify 4th and 5th alternative.
699         (pushdf): Likewise.
700         (movdf_1): Likewise; rename to movdf_integer.
701         (pushxf): Likewise; rename to pushxf_integer; fix output template;
702         remove redundant splitter.
703         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
704         (movdf_nointeger): New.
705         (movxf_nointeger): New.
706         (pushxf_nointeger): New.
707
708         * i386.md (extend?f?f): Split to expander and pattern, refuse two
709         memory operands in patterns.
710         (fop*): Refuse two memory operands.
711
712         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
713         on !TARGET_USE_CLTD CPUs.
714
715 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
716
717         * extend.texi: Document C++ restricted pointers and references. 
718
719 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
720
721         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
722         (invalidate_skipped_set): Call it unconditionally.
723         (cse_set_around_loop): Likewise.
724
725 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
726
727         * rtl.texi (mem): Add documentation for alias-set argument 
728         to RTX `mem'.
729
730 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
731
732         * i386.h (struct_processor_costs): New fields int_load, int_store,
733         fp_move, fp_load and fp_store
734         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
735         fp->int moves
736         (MEMORY_MOVE_COST): New macro.
737         * i386.c (386_cost): Define new fields.
738         (i486_cost): Likewise.
739         (pentium_cost): Likewise.
740         (pentiumpro_cost): Likewise.
741         (k6_cost): Likewise.
742
743 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
744                           Geoffrey Keating  <geoffk@cygnus.com>
745
746         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
747
748         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
749         MASK_ALIGN_INT.
750         
751         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
752         (TARGET_STRICT_ALIGNMENT): New macro.
753         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
754         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
755         * invoke.texi (M680x0 Options): Document -mstrict-align.
756
757 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
758                           Richard Henderson  <rth@cygnus.com>
759
760         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
761         (ix86_split_long_move): Declare.
762         * i386.c (split_xf, ix86_split_movdi): Remove.
763         (ix86_split_to_parts, ix86_split_long_move): New.
764         * i386.md (dimode move splitters): Use ix86_split_long_move.
765         (dfmode move splitters): Likewise.
766         (xfmode move splitters): Likewise.
767         (movsf_1): Allow F->r.
768         (movdf_1, movxf_1): Allow F->ro.
769
770 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
771
772         * except.h (struct eh_entry): Add goto_entry_p.
773         (eh_region_from_symbol): Remove prototype.
774         * except.c (find_func_region_from_symbol): New function.
775         (emit_cleanup_handler): Likewise.
776         (eh_region_from_symbol): Make it static.
777         (add_new_handler): Verify the argument.
778         (find_func_region): Update comment.
779         (expand_eh_region_end): Expand handlers here, rater than waiting
780         until expand_leftover_cleanups or start_all_catch.
781         (expand_leftover_cleanups): Don't expand here.
782         (expand_start_all_catch): Or here.
783         (expand_rethrow): Check the return value from find_func_region.
784         * function.c (expand_function_end): Emit the catch_clauses.
785         
786 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
787
788         * integrate.c (expand_inline_function): Add necessary check for NULL.
789
790 1999-11-18  Nick Clifton  <nickc@cygnus.com>
791
792         * toplev.c (main): Correctly detect an unrecognised option.
793
794         * cppinit.c (cpp_handle_option): Do not claim to have consumed
795         a -f option if it has not been recognised.
796
797 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
798
799         * basic-block.h (update_life_extent): Remove trailing comma on
800         enumeration type list.
801
802 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
803
804         * varasm.c (output_constructor) Solved problem with long long
805         bitfields. Corrected calculating this_time and shift. Also
806         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
807
808 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
809
810         * flow.c (split_edge): Take looping structure into account when
811         determining where to put the new block note.
812
813 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
814
815         * Makefile.in (ggc-none.o): Provide host specific version if
816         needed.
817
818 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
819
820         * cse.c (delete_trivially_dead_insns): Identify no-op insns
821         containing subregs too.
822
823 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
824
825         * invoke.texi: Add documentation for -muninit-const-in-rodata.
826         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
827         (TARGET_UNINIT_CONST_IN_RODATA): Define.
828         (text_section): Add switches -munint-const-in-rodata and
829         -mno-uninit-const-in-rodata.
830         (ASM_OUTPUT_COMMON): Remove.
831         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
832         const objects should be placed in read-only data. Otherwise declare
833         them in common.
834
835 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
836
837         * jump.c (jump_optimize_1): Revert last change.
838
839 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
840
841         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
842         test if optimizing for size.
843
844 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
845
846         * Makefile.in (toplev.o): Depend on except.h.
847         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
848
849 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
850
851         * i386.md (divmodsi4): Rewrite to expander.
852         (*divmodsi4_nocltd): New.
853         (*divmodsi4_cltd): New.
854         (divmodsi4 splitter): Handle the case when input comes in edx.
855         (udivmodhi4): Do not use constraints in exander.
856         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
857
858 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
859
860         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
861         for the common case.
862
863 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
864
865         * explow.c (hard_function_value): Add outgoing argument.
866         * expr.h (hard_function_value): Declare it.
867         * calls.c (expand_call, emit_library_call_value): Update callers.
868         * function.c (aggregate_value_p): Ditto.
869         (diddle_return_value): Must look at the outgoing registers
870         on archs with register windows.
871
872 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
873
874         * alpha.c (alpha_build_va_list): Use make_lang_type and
875         initialize TYPE_NAME for the va_list record.
876
877         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
878
879         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
880         for printing.
881         * ggc.h (struct ggc_statistics): Rearrange elements for better
882         packing on 64-bit hosts.
883         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
884         (compute_nearerout): Likewise.
885
886 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
887
888         * config/rs6000/rs6000.c (first_reg_to_save): Save
889         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
890
891 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
892
893         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
894         notion of nesting to find the DIE for a type or function.
895         DIEs can go in limbo even if we got a context_die.
896         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
897         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
898         for local type.
899         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
900         (gen_type_die): Writing out the context doesn't cause member class
901         template instantiations to be written out as well.
902
903 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
904
905         * rs6000.h (ASM_OUTPUT_DEF): New.
906         Based on proposed addition from David Edelsohn.
907
908 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
909             Bruce Korb  <autogen@linuxbox.com>
910
911         * fixinc/inclhack.def
912         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
913         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
914                 in net/inet.h.
915         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
916         (svr4_endian): enabled with SVR5
917         (svr4_mkdev): simplified syntax and enabled with SVR5
918
919 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
920
921         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
922         * configure: Rebuilt.
923         * config/t-freebsd-thread: New file.
924
925 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
926
927         * i386.c (ix86_decompose_address): Verify the base is a REG
928         before trying to examine its register number.
929
930         * basic-block.h: Remove all #defines and prototypes related to
931         integer lists.
932         (free_bb_mem, compute_preds_succs): Remove prototype.
933         * rtl.h (free_bb_mem): Remove prototype.
934         * flow.c (alloc_int_list_node); Remove function.
935         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
936         (compute_preds_succs, free_bb_mem): Likewise.
937         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
938         * toplev.c (rest_of_compilation): Likewise.
939         * haifa-sched.c (build_control_flow): Use flow generated edge
940         list to build the haifa specific edge list.
941         (find_rgns): Use new CFG data structures instead of pred/succ lists.
942         (schedule_insns): Do not build pred/succ lists anymore.  Instead
943         build the edge table.
944
945         * basic-block.h (dump_bb_data): Remove declaration.
946         * flow.c (dump_bb_data): Remove function.
947         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
948         (sbitmap_union_of_predsucc): Likewise.
949
950         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
951         argument.  All callers changed.
952         (delete_null_pointer_checks_1): No longer need to compute the
953         pred/succ lists.
954
955         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
956         All callers changed.
957         (pre_expr_reaches_here_p_work): Likewise.
958         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
959         * lcm.c (compute_laterin): Fix initialization of LATER.
960         (compute_nearerout): Similarly for NEARER.
961
962 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
963
964         * cse.c (set_nonvarying_address_components): Delete unused function.
965         (refers_to_p): Likewise.
966
967 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
968
969         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
970         needed.
971
972 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
973
974         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
975         definition in do while (0).
976
977 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
978
979         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
980
981 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
982
983         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
984
985 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
986
987         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
988         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
989         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
990         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
991
992         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
993         saved on the stack.  Output more accurate stack frame statistics
994         into assembler file.
995
996 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
997
998         * genextract.c (record_insn_name): New function.
999         (get_insn_name): No longer a stub.
1000         (main): Call record_insn_name for each insn.  After each label
1001         written, print the insn name in a comment.
1002
1003 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1004
1005         * output.h (const_section, init_section, fini_section): Add
1006         prototypes.
1007
1008         * alpha/elf.h (const_section): Delete declaration.
1009
1010         * svr4.h (const_section): Likewise.
1011
1012 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
1013
1014         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
1015         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
1016         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
1017         expressions.
1018         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
1019         variable-sized array bounds.
1020         
1021 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
1022
1023         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
1024         ASM_OUTPUT_LABEL.
1025
1026 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1027
1028         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
1029         addresses the same way GO_IF_LEGITIMATE_INDEX does. 
1030
1031 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1032
1033         * cse.c (hash_arg_in_struct): Delete.
1034         (struct table_elt): Delete elt in_struct.
1035         (struct set): Delete elt src_in_struct.
1036         (merge_equiv_classes): Don't set either hash_arg_in_struct or
1037         the corresponding in_struct elts.
1038         (canon_hash): Likewise.
1039         (safe_hash): Likewise.
1040         (find_best_addr): Likewise.
1041         (record_jump_cond): Likewise.
1042         (cse_insn): Likewise.
1043
1044 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
1045
1046         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
1047
1048         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
1049         unsigned types.
1050
1051 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
1052
1053         * function.c (diddle_return_value): Put back check that the DECL_RTL
1054         for the function is a register.
1055
1056         * function.c (diddle_return_value): Use hard_function_value to
1057         get an rtx suitable for use in the USE/CLOBBER insn.
1058
1059         * global.c (global_conflicts): Update comments.
1060         (record_conflicts): No need to record conflicts between pseudos here.
1061
1062 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
1063
1064         * fixinc/fixincl.c: Added verbose levels for status messages
1065
1066 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1067
1068         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
1069         operand as argument to expand_and or expand_binop.
1070
1071 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
1072
1073         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
1074         gcc_add_string_root.
1075
1076 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
1077
1078         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
1079
1080 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
1081
1082         * flow.c (compute_flow_dominators): Initially put all blocks on
1083         the worklist.
1084         * lcm.c (compute_antinout_edge, compute_available): Similarly.
1085         * gcse.c (compute_cprop_avinout): Remove.
1086         (compute_cprop_data): Use compute_available.
1087         (delete_null_pointer_checks_1): Use compute_available.
1088
1089         * basic-block.h (compute_available): Returns a void now.
1090         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
1091         to return a value anymore.
1092         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
1093         worklists.  Fix boundary cases. Compute maximal solutions.
1094         (compute_laterin, compute_nearerout): Similarly.
1095
1096         * dwarf2out.c (add_AT_location_description): Allow
1097         (mem (plus (pseudo) (...)) too.
1098
1099 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
1100
1101         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
1102
1103 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
1104                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1105
1106         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
1107
1108         * gansidecl.h: Likewise.
1109
1110         * rtl.c: Likewise.
1111
1112         * rtl.h: Likewise.
1113
1114         * toplev.h: Likewise.
1115
1116         * tree.c: Likewise.
1117
1118         * tree.h: Likewise.
1119
1120         * varray.c: Likewise.
1121
1122         * varray.h: Likewise.
1123
1124 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
1125
1126         * gcov.c (struct arcdata): Add hits and total, remove prob.
1127         (output_branch_counts): New.
1128         (process_args): Set output_branch_counts if -c.
1129         (calculate_branch_probs): Store hits and total instead of
1130         percentage.
1131         (output_data): Emit counts if output_branch_counts is true.
1132         * gcov.texi (Invoking Gcov): Document -c switch..
1133
1134 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
1135
1136         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
1137         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
1138
1139 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
1140
1141         * invoke.texi (C Dialect Options): Add missing builtins from
1142         c-common.c to list.
1143         * extend.texi (Other Builtins): Copy to this list.
1144
1145 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1146
1147         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
1148         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
1149         redundant bitmap.h.
1150
1151 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
1152
1153         * flow.c (compute_flow_dominators): No longer treat basic block 0
1154         or (n_basic_blocks - 1) specially.  Clear the AUX field before
1155         starting computation of doms/pdoms.  Fix initial state for pdoms.
1156
1157 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1158
1159         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
1160         match rtl.o's: added ggc.h and toplev.h
1161         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
1162         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
1163         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
1164
1165 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
1166
1167         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
1168         from HAVE_DOS_BASED_FILESYSTEM.
1169         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
1170         HAVE_DOS_BASED_FILESYSTEM.
1171         (main): Likewise.
1172         (split_directories): Only special-case DOS file names if
1173         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
1174         instead of explicit tests.  Conditionalize on !VMS.
1175         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
1176         tests.  Conditionalize on !VMS.
1177         (process_command): Only use make_relative_prefix if !VMS.
1178         (free_split_directories): Conditionalize on !VMS.
1179         (DIR_UP): Conditionalize on !VMS.
1180
1181 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1182
1183         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
1184
1185 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1186
1187         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
1188         case.
1189
1190 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
1191
1192         * invoke.texi (Environment Variables): Document relative path
1193         lookup.
1194         * gcc.c (DIR_UP): If not defined, define as "..".
1195         (standard_bindir_prefix): New static, holds target location to
1196         install binaries.
1197         (split_directories): New function to split a filename into
1198         component directories.
1199         (free_split_directories): New function, release memory allocated
1200         by split_directories.
1201         (make_relative_prefix): New function, make a relative pathname if
1202         the compiler is not in the expected location.
1203         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
1204         can figure out an appropriate prefix from argv[0].
1205         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
1206         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
1207         STANDARD_BINDIR_PREFIX.
1208
1209 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1210
1211         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
1212         in c4x.c.
1213         * config/c4x/c4x.h: Moved prototypes to c4x.h.
1214         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
1215         c4x_secondary_memory_needed) Delete.
1216         (fp_zero_operand): Add mode argument.
1217
1218 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
1219
1220         * reload1.c (reload_reg_free_for_value_p): Don't use a register
1221         that is in reload_reg_used.
1222
1223 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
1224
1225         * config/arm/arm-protos.h: New file: Prototypes for functions
1226         defined in arm.c and pe.c.
1227         * config/arm/arm.h: Fix compile time warnings.
1228         * config/arm/arm.c: Fix compile time warnings.
1229         * config/arm/pe.h: Fix compile time warnings.
1230         * config/arm/aout.h: Fix compile time warnings.
1231
1232 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
1233
1234         * config/m32r/m32r-protos.h: New file: Prototypes for functions
1235         defined in m32r.c
1236         
1237         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
1238         Add support for subtargets.
1239         Add prototypes for new predicates.
1240         Add scheduling macros.
1241         
1242         * config/m32r/m32r.c: Fix compile time warnings.
1243         (int8_operand): New predicate function.
1244         (reg_or_cmp_int16_operand): New predicate function.
1245         (extend_operand): New predicate function.
1246         (m32r_adjust_code): New scheduling function.
1247         (m32r_adjust_priorty): New scheduling function.
1248         (m32r_sched_init): New scheduling function.
1249         (m32r_sched_reorder): New scheduling function.
1250         (m32r_sched_variable_issue): New scheduling function.
1251         (direct_return): New codegen function.
1252         (m32r_not_same_reg): New rtl testsing function.
1253         
1254         * config/m32r/m32r.md: Fix compile time warnings.
1255         Add support for pre decrement and post increment memory
1256         references.
1257         Add S<cc> patterns.
1258         Add fabs patterns.
1259         
1260 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1261
1262         * global.c (EXECUTE_IF_CONFLICT): Don't define.
1263         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
1264         (find_reg): Likewise.
1265
1266 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
1267
1268         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
1269         to avoid assembler errors.
1270
1271 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
1272
1273         * config/v850/v850-protos.h: New file: Prototypes for functions
1274         defined in v850.c
1275         * config/v850/v850.h: Move prototypes to v850-protos.h
1276         * config/v850/v850.c: Move prototypes to v850-protos.h
1277         * config/v850/v850.md: Fix compile time warnings.
1278
1279         * config/fr30/fr30-protos.h: New file: Prototypes for functions
1280         defined in fr30.c
1281         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
1282         * config/fr30/fr30.c: Fix compile time warnings.
1283         * config/fr30/fr30.md: Fix compile time warnings.
1284
1285 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
1286
1287         * tree.h (get_containing_scope): Declare it.
1288         * tree.c (get_containing_scope): New fucntion.
1289         (decl_function_context): Use it.
1290         * toplev.c (rest_of_compilation): Use get_containing_scope.
1291
1292 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1293
1294         * Makefile.in (rtl.o): Depend on toplev.h.
1295
1296 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
1297
1298         * cse.c (delete_trivially_dead_insns): Replace alloca with
1299         xmalloc/xcalloc.
1300         * except.c (update_rethrow_references): Likewise.
1301         (init_eh_nesting_info): Likewise.
1302         * function.c (identify_blocks): Likewise.
1303         * gcse.c (dump_hash_table): Likewise.
1304         * graph.c (print_rtl_graph_with_bb): Likewise.
1305         * loop.c (combine_movables): Likewise.
1306         (move_movables): Likewise.
1307         (count_loop_regs_set): Likewise.
1308         (strength_reduce): Likewise.
1309         * profile.c (compute_branch_probabilities): New function, split
1310         out from ...
1311         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
1312         * regclass.c (regclass): Likewise.
1313         * regmove.c (regmove_optimize): Likewise.
1314         * toplev.c (compile_file): Likewise.
1315         (main): Don't mess with the stack rlimit.
1316         
1317 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
1318
1319         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
1320         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
1321
1322 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
1323
1324         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
1325
1326 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
1327
1328         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
1329         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
1330         macro expansion.
1331
1332 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
1333
1334         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
1335
1336 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
1337
1338         * gcse.c (post_dominators): Kill.
1339         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
1340         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
1341         pass in a pdom array since we do not need pdoms.
1342         * haifa-sched.c (schedule_insns): Similarly.
1343         * flow.c (compute_dominators): Remove dead function.
1344         (compute_flow_dominators): Do not compute doms or pdoms if the
1345         caller does not request them.  Split up loop to build doms and
1346         pdoms.  Use a worklist to compute doms and pdoms.
1347         * basic-block.h (compute_dominators): Remove prototype.
1348
1349 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
1350
1351         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
1352         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
1353         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
1354         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
1355         (cant_move, fed_by_spec_load, is_load_insn): Remove.
1356         (schedule_region): Remove unused variable.
1357         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
1358
1359 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
1360
1361         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
1362         (update_equiv_regs): Likewise.
1363         (block_alloc): Likewise.
1364         * reg-stack.c (reg_to_stack): Likewise.
1365         (convert_regs_2): Likewise.
1366         * reload1.c (reload_as_needed): Likewise.
1367         
1368 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
1369
1370         * Makefile.in (dbxout.o): Depend on ggc.h.
1371         (dwarf2out.o): Likewise.
1372         (xcoffout.o): Likewise.
1373         * dbxout.c: Include ggc.h.
1374         (dbxout_init): Register lastfile as a root.
1375         * dwarf2out.c: Include ggc.h.
1376         (dwarf2out_line): Register lastfile as a root.
1377         * xcoffout.c: Include ggc.h.
1378         (xcoffout_source_line): Register xcoff_lastfile as a root.
1379
1380 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
1381
1382         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
1383
1384 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
1385
1386         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
1387         defined.
1388         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
1389
1390 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1391
1392         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
1393         (EXECUTE_IF_CONFLICT): Likewise.
1394         (ALLOCNO_LIVE_P): Avoid signed division.
1395         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
1396         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
1397         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
1398
1399 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
1400
1401         * haifa-sched.c (schedule_block): Don't crash if there's no
1402         next insn for an interblock movement.
1403         (add_branch_dependences): Don't allow clobber insns to move either.
1404
1405 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
1406
1407         * i386.c (split_xf): New.
1408         * i386-protos.h: Declare it.
1409         * i386.md (movxf_1): Add general regs alternatives.
1410         (movxf_1+1): New splitter for same.
1411
1412 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
1413
1414         * function.c (purge_addressof_1): Add missing return values.
1415
1416 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
1417
1418         * function.c (is_addressof): New function.  Returns true if
1419         the given piece of RTL is an ADDRESSOF.
1420         (purge_addressof_1): Make boolean.  Return false if the
1421         ADDRESSOFs could not be purged.
1422         (purge_addressof): If ADDRESSOFs could not be purged from the
1423         notes attached to an insn, remove the offending note(s),
1424         unless they are attached to a libcall.
1425
1426 1999-11-05  Andreas Jaeger  <aj@suse.de>
1427
1428         * genoutput.c (null_operand =): Initialize all fields.
1429
1430         * errors.h: Add extern to prototypes.
1431
1432 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
1433
1434         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
1435         * configure: Rebuilt.
1436
1437 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1438
1439         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
1440         (mirror_conflicts): New function.
1441         (global_alloc): Call it.
1442         (expand_preferences): Remove redundant CONFLICTP test.
1443         (find_reg, dump_conflicts): Likewise.
1444         (prune_preferences): Process conflicts one word at a time.
1445
1446 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
1447
1448         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
1449         instead of an explicit loop.
1450
1451 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
1452
1453         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
1454         if REG_RETVAL check succeeds, then put classp in src_elt.
1455
1456 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
1457
1458         * function.c (pad_to_arg_alignment): Only update argument_pad
1459         if the argument's alignment is greater than STACK_BOUNDARY.
1460
1461 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
1462
1463         * bitmap.h (BITMAP_XFREE): New.
1464         * flow.c (life_analysis): Use it.
1465         (life_analysis_1): Free blocks.
1466
1467         * combine.c (undo_commit): New.
1468         (try_combine): Use it.  Don't zap undobuf.undos.
1469         (combine_instructions): Don't zap undobuf.undos; free the
1470         undobuf.frees list.
1471
1472         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
1473
1474         * stmt.c (cost_table_): New.
1475         (estimate_case_costs): Use it instead of xmalloc.
1476
1477         * toplev.c (compile_file): Reuse dumpname memory instead
1478         of strdup'ing it.
1479
1480 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
1481
1482         * reg-stack.c (convert_regs_1): Initialize target_stack->top
1483         after verifying an EH edge.
1484
1485         * haifa-sched.c (init_rgn_data_dependences): Correctly
1486         size bb_pending_lists_length when zeroing.
1487
1488 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
1489
1490         * function.c (diddle_return_value): New.
1491         (expand_function_end): Use it.
1492         * stmt.c (expand_null_return): Likewise.
1493         (expand_value_return): Likewise.
1494
1495         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
1496
1497         * reload1.c (reload): Don't remove return value clobbers.
1498
1499 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
1500
1501         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
1502
1503 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
1504
1505         * cse.c (cse_main): Use xmalloc, not alloca.
1506         (cse_basic_block): Likewise.
1507         * local-alloc.c (local_alloc): Likewise.
1508
1509 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
1510                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1511
1512         * rtl.c: Include toplev.h.
1513         (fatal): Remove declaration.
1514
1515 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
1516
1517         * haifa-sched.c (schedule_block): Fix thinko.
1518
1519 1999-11-03  James McKelvey <mckelvey@fafnir.com>
1520
1521         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
1522         S_IR* defined values
1523
1524 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
1525
1526         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
1527         call `malloc' instead.
1528
1529 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
1530
1531         * flags.h (flag_renumber_insns): Declare.
1532         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
1533         renumbering table.
1534         * rtl.h (renumber_insns): Change prototype.
1535         * toplev.c (flag_renumber_insns): Define.
1536         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
1537         
1538 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
1539
1540         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
1541         and fpsqrtd.  Use them and create fdiv function unit to more
1542         accurately represent fpu sqrt pipeline semantics on UltraSparc.
1543         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
1544
1545 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
1546
1547         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
1548         3 on UltraSparc.
1549         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
1550         insn into ready list, do not use just a raw swap.
1551
1552 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
1553
1554         * rtl.h (renumber_insns): New function.
1555         (remove_unnecessary_notes): Likewise.
1556         * emit-rtl.c (renumber_insns): Define.
1557         (remove_unncessary_notes): Likewise.
1558         * toplev.c (rest_of_compilation): Remove dead code.
1559         Use renumber_insns and remove_unncessary_notes.
1560
1561         * gcse.c (struct null_pointer_info): New type.
1562         (get_bitmap_width): New function.
1563         (current_block): Remove.
1564         (nonnull_local): Likewise.
1565         (nonnull_killed): Likewise.
1566         (invalidate_nonnull_info): Take a null_pointer_info as input.
1567         (delete_null_pointer_checks_1): New function.
1568         (delete_null_pointer_checks): Use it.
1569
1570         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
1571         (split_edges): Likewise.
1572         (schedule_block): Likewise.
1573         (compute_block_backward_dependencies): Likewise.
1574         (schedule_region): Likewise.
1575         (schedule_insns): Likewise.
1576         
1577 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
1578
1579         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
1580         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
1581         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
1582         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
1583         * jump.c (delete_unreferenced_labels): Don't delete if
1584         LABEL_ALTERNATE_NAME is set.
1585         * print-rtl.c (print_rtx): Dump alternate name.
1586         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
1587         * rtl.h (LABEL_ALTERNATE_NAME): Define.
1588         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
1589         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
1590
1591 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1592
1593         * fix-header.c (recognized_extern, recognized_function): Constify
1594         a char*.
1595
1596         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
1597         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1598         (compute_available): Remove unused variable `last'.
1599         (compute_nearerout): Remove unused variable `temp_bitmap'.
1600         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1601         Remove unused variable `x'.
1602
1603         * scan.h (recognized_function, recognized_extern): Constify a
1604         char*.
1605
1606         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
1607
1608 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1609
1610          * varasm.c (decode_rtx_const): Use XSTR to access the string
1611          of a SYMBOL_REF.
1612
1613 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
1614
1615         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
1616
1617 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1618
1619         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
1620
1621 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
1622
1623         * pa.c (ireg_operand): New function.
1624         * pa.h (PREDICATE_CODES): Handle ireg_operand.
1625         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
1626         Fix out of date comment.
1627
1628         * pa.md (negdi2): Turn into expander + anonymous pattern.
1629
1630         * reload.c (find_reloads): Fix typos in recent change.
1631
1632         * dwarf2out.c: Do not include ctype.h.
1633
1634 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1635
1636         * regclass.c (record_reg_classes): Always use may_move_cost when
1637         seeing how operand fits with various register classes.
1638
1639 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
1640
1641         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
1642         * toplev.c: Revert Nov 1 13:22 change.
1643
1644 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
1645
1646         * config/pa/pa.md (height reduction patterns): Add checks for
1647         overlapping operands to avoid semantic-destroying splits for 
1648         height reduction patterns.
1649
1650 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1651
1652         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
1653         have been an hyphen, fixed.
1654         * configure: Rebuilt.
1655
1656 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
1657
1658         * config/arm/tpe.h: Add prototypes for exported functions.
1659         * config/arm/pe.c: Fix compile time warnings.
1660         * config/arm/semi.h: Fix compile time warnings.
1661         * config/arm/arm.c: Fix compile time warnings.
1662         * config/arm/arm.h: Fix compile time warnings.
1663         * config/arm/arm.md: Fix compile time warnings.
1664         * config/arm/thumb.c: Fix compile time warnings.
1665         * config/arm/thumb.h: Fix compile time warnings.
1666         * config/arm/thumb.md: Fix compile time warnings.
1667
1668 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
1669
1670         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
1671         detection code
1672
1673         * unroll.c (unroll_loop): Remove LOOP notes when loop is
1674         completely unrolled.
1675
1676 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1677
1678         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
1679
1680 Tue Nov  2 09:43:00 1999   Catherine Moore  <clm@cygnus.com>
1681
1682         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
1683         * rtl.h (rtx_equal_p): Move prototype.
1684         * rtl.c (rtx_equal_function_value_matters): Move from 
1685         rtlanal.c
1686         (rtx_equal_p): Likewise.
1687         * rtlanal.c (rtx_equal_function_value_matters): Delete.
1688         (rtx_equal_p): Likewise.
1689
1690 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
1691
1692         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
1693         ! HAS_INIT_SECTION.
1694
1695 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
1696
1697         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
1698
1699         * pa.h (ADDR_VEC_ALIGN): Define.
1700
1701         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
1702         notes when presented with "if (foo) break; end_of_loop" and
1703         the break sequence gets moved out of the loop.
1704
1705         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
1706         Remove explicit zero initializations of entries within MAP.
1707
1708 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
1709
1710         * reg-stack.c (convert_regs_1): Handle EH edges specially.
1711
1712 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
1713
1714         * bitmap.h (BITMAP_XMALLOC): New macro.
1715         * flow.c (CLEAN_ALLOCA): Remove.
1716         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
1717         (life_analysis): Likewise.
1718         (update_life_info): Don't use CLEAN_ALLOCA.
1719         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
1720         (calculate_global_regs_live): Likewise.
1721         (print_rtl_with_bb): Likewise.
1722         (verify_flow_info): Likewise.
1723         * global.c (global_alloc): Likewise.
1724         (global_conflicts): Likewise.
1725         * integrate.c (save_for_inline_nocopy): Likewise.
1726         (expand_inline_function): Likewise.
1727         * jump.c (jump_optimize_1): Likewise.
1728         (duplicate_loop_exit_test): Likewise.
1729         (thread_jumps): Likewise.
1730         * loop.c (loop_optimize): Likewise.
1731         (combine_givs): Likewise.
1732         (recombine_givs): Likewise.
1733         * reorg.c (dbr_schedule): Likewise.
1734         * unroll.c (unroll_loop): Likewise.
1735         
1736         * combine.c (combine_instructions): Use xmalloc instead of alloca.
1737
1738 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
1739
1740         * toplev.c (rest_of_compilation): Don't optimize the CFG
1741         when rebuilding, just before dbr.
1742
1743 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1744
1745         * output.h (assemble_end_function, assemble_destructor,
1746         assemble_constructor, assemble_gc_entry, assemble_global,
1747         assemble_label, output_constant_pool) Constify a char*.
1748
1749         * varasm.c (assemble_destructor, assemble_constructor,
1750         assemble_gc_entry, assemble_end_function, assemble_global,
1751         assemble_label, output_constant_pool): Likewise.
1752
1753 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
1754
1755         * config/arm/thumb.c (thumb_expand_prologue): Add comments
1756         explaining what is goin on in this function.
1757
1758 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1759
1760         * regclass.c (record_reg_classes): In matching case, recompute
1761         costs since the direction of movement is different.
1762
1763 Sun Oct 31 21:59:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
1764
1765         * resource.c (mark_target_live_regs): For unconditional branches,
1766         the resources found at the branch target should be added to the
1767         resources found so far, not intersected.
1768
1769 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
1770
1771         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
1772         old cpp's.
1773         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
1774         (sys/mman.h): Include this file only if #HAVE_MMAP.
1775         (run_compiles): Initialize `esac_fmt' with one old KR string, not
1776         with automatically concatenated ANSI strings.
1777
1778 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
1779
1780         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
1781         (DIV_ROUND_UP): Robustify.
1782         (ggc_recalculate_in_use_p): New function.
1783         (release_pages): Don't inline it.
1784         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
1785         outer contexts.
1786         (ggc_pop_context): Use ggc_recalculate_in_use_p.
1787         (clear_marks): Always save in_use_p.
1788         (sweep_pages): Use ggc_recalculate_in_use_p.
1789         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
1790         Release pages before counting statistics.
1791         
1792 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
1793
1794         * toplev.c (rest_of_compilation): Fix thinko in this change:
1795         
1796         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
1797
1798         (rest_of_compilation): If inside an inlined external function,
1799         pretend we are just being declared.
1800
1801 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
1802
1803         * flow.c (calculate_global_regs_live): Fix thinko.
1804
1805         * integrate.c (expand_inline_function): Fix bugs in previous
1806         change from Oct 28, 1999.
1807
1808 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
1809
1810         * stmt.c (expand_value_return): Fix typo in this change:
1811
1812         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1813         (expand_value_return): Correctly convert VAL when promoting function
1814         return; support RETURN_REG being a PARALLEL.
1815         
1816 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
1817
1818         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
1819
1820 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1821
1822         * hard-reg-set.h (reg_names): Constify a char*.
1823
1824         * regclass.c  (reg_names): Likewise.
1825
1826         * regs.h (reg_names): Likewise
1827
1828         * a29k/a29k.c (reg_names): Delete declaration.
1829
1830         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
1831
1832         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
1833         arc_output_function_epilogue): Likewise.
1834
1835         * elxsi/elxsi.c (reg_names): Likewise.
1836
1837         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
1838         
1839         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
1840         Likewise.
1841
1842         * m88k/m88k.c (output_function_profiler): Likewise.
1843
1844         * sparc/sparc.c (sparc_flat_output_function_prologue,
1845         sparc_flat_output_function_epilogue): Likewise.
1846
1847 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
1848
1849         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
1850         warning from -Wuninitialized and put it under -W.
1851         * function.c (uninitialized_vars_warning): Warn only when the
1852         corresponding flag is set.
1853
1854 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
1855
1856         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
1857         is nonzero and the single set does not have an elt, then assign
1858         it an elt.
1859
1860         * simplify-rtx.c: New file.
1861         * Makefile.in (OBJS): Add simplify-rtx.o
1862         (simplify-rtx.o): Add dependencies.
1863         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
1864         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
1865         (cse_gen_binary, simplify_unary_operation): Delete.
1866         (simplify_binary_operation, simplify_plus_minus): Likewise.
1867         (check_fold_consts, simplify_relation_operation): Likewise.
1868         (simplify_ternary_operation): Likewise.
1869         (delete_trivially_dead_insns): Simplify the contents of the
1870         REG_EQUAL note before trying to substitute it into the source
1871         of the reg-reg copy at the end of a libcall sequence.
1872
1873         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
1874         references/callers changed.
1875
1876         * mn10200.c (mn10200_va_arg): Force the return value into a
1877         register.
1878
1879         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
1880
1881         * cccp.c (macroexpand): Avoid out of range accesses for omitted
1882         arguments.
1883
1884 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
1885
1886         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
1887
1888 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
1889
1890         * fold-const.c (fold): Fix thinko when optimizing comparisons
1891         against -0.0.
1892
1893 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
1894
1895         * gcc.texi (Passes): Update front-end files to their current 
1896         location.
1897
1898 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
1899
1900         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
1901         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
1902         (PREDICATE_CODES): Add addition_operation.
1903         * alpha-protos.h (addition_operation): Declare.
1904         (secondary_reload_class): Likewise.
1905         * alpha.c (addition_operation): New.
1906         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
1907         * alpha.md (adddi3): Turn into expander.
1908         (*lda, *adddi_2): New.
1909         (movsf, movdf patterns): Don't preference integer regs.
1910         (movsi, movdi patterns): Don't preference fp regs.
1911
1912 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
1913
1914         * genrecog.c (write_switch): Check for duplicate CODE cases.
1915
1916 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
1917
1918         * ggc-common.c: Update pre-function commentary.
1919         * ggc-page.c: Likewise.
1920         (poison): Remove.
1921         (poison_pages): Use memset directly.
1922         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
1923         (ggc_collect): Poison before sweeping.
1924         * ggc-simple.c: Update pre-function commentary.
1925         (ggc_alloc_obj): Poison non-zeroed memory.
1926
1927 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
1928
1929         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
1930         match format string, even on 64-bit hosts.
1931         * gcc-page.c (ggc_page_print_statistics): Likewise.
1932
1933 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
1934
1935         * config/i386/i386.c (ix86_cpu): Revert last patch.
1936         * config/i386/i386.h (ix86_cpu): Ditto.
1937
1938 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
1939
1940         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
1941         TYPE_SIZE, convert type of result to sizetype.
1942
1943 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
1944
1945         * flow.c (count_or_remove_death_notes): Equate NULL with the
1946         universal set.
1947
1948         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
1949         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
1950         dbr_schedule.
1951
1952         * i386.c (pic_label_no): Delete.
1953         (ix86_attr_length_default): Don't use single_set to peek
1954         inside a parallel.
1955
1956         * recog.c (peephole2_optimize): Allow recog_next_insn to index
1957         the first insn after bb->end.
1958         * i386.md (push mem peeps): Scratch is live after evaluation
1959         of the memory.
1960         (cmp mem peep): Similarly.
1961
1962 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
1963
1964         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
1965         * function.c (pad_to_arg_alignment): Add missing braces.
1966
1967 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1968
1969         * alpha/alpha-protos.h (literal_section): Add prototype.
1970         (alpha_need_linkage, alpha_start_function,alpha_end_function):
1971         Constify a char*.
1972
1973         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
1974         prototype.
1975         (alpha_start_function, alpha_end_function, float_strings,
1976         alpha_need_linkage): Constify a char*
1977
1978         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
1979
1980         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
1981
1982         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1983
1984         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1985
1986 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1987
1988         * flow.c (debug_flow_info): Add prototype.
1989
1990         * gcc.c (main): Likewise.
1991
1992         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
1993         Likewise.
1994
1995         * reload1.c (failed_reload, set_reload_reg): Likewise.
1996         
1997         * mips-tfile.c (main): Likewise.
1998         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
1999         with ATTRIBUTE_NORETURN.
2000
2001 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
2002
2003        * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
2004        DECL is not a memory ref.
2005  
2006 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
2007
2008         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
2009         * config/i386/i386.c (ix86_cpu): Add extern attribute.
2010
2011 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
2012
2013         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
2014         * config/mips/elf64.h: ditto.
2015
2016 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
2017
2018         * expr.c (emit_push_insn): New argument alignment_pad.
2019         Update all callers.  Adjust stack pointer based on alignment pad.
2020         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
2021         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
2022         (locate_and_pad_parm): New argument alignment_pad.  Update all
2023         callers.
2024         * expr.h (emit_push_insn): Update prototype.
2025         (locate_and_pad_parm): Update prototype.
2026         * calls.c (arg_data):  Add new field alignment_pad.
2027         (initialize_argument_information): Initialize alignment_pad.
2028
2029 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
2030
2031         * except.c (free_eh_nesting_info): Free the info itself.
2032         * function.c (free_after_compilation): Don't free NULL.
2033         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
2034         (pre_edge_insert): Free inserted.
2035         * stmt.c (free_stmt_status): Don't free NULL.
2036
2037 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
2038
2039         * gcov.c (DIR_SEPARATOR): Provide default.
2040         (output_data): Add test for MS-DOS format absolute filename.
2041         (fancy_abort): Correct program name.
2042         (open_files): Open all files in binary mode.
2043         * libgcc2.c (__bb_exit_func): Likewise.
2044
2045         * profile.c (init_branch_prob): Specify binary when opening files.
2046
2047         * flags.h (flag_unwind_tables): New decl.
2048         * toplev.c (flag_unwind_table): New definition.
2049         (f_options): Add -funwind-tables.
2050         (decode_g_option): Clarify warning when unknown -g option is given.
2051         (rest_of_compilation): If inside an inlined external function,
2052         pretend we are just being declared.
2053
2054         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
2055         (dwarf2out_frame_finish): Likewise.
2056
2057 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
2058
2059         * fold-const.c (merge_ranges): In not in0, but in1, handle
2060         upper bounds equal like subset case.
2061
2062 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
2063
2064         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
2065         passed in a register but moved to the stack.
2066
2067 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
2068
2069         * gcc.c (pass_exit_codes, greatest_status): New variables.
2070         (struct option_map): Add entry for "--pass-exit-codes".
2071         (execute): Update greatest_status if error.
2072         (display_help): Add documentation for -pass-exit-codes.
2073         (process_command): Handle -pass-exit-codes.
2074         (main): Look at pass_exit_codes and greatest_status on call to exit.
2075
2076 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2077
2078         * reload.c (find_reloads): Refine test for no input reload
2079         case to not includes reloads emitted after insn.
2080
2081         * function.c (find_temp_slots_from_address): Handle sum involving
2082         a register that points to a temp slot.
2083         (update_temp_slot_address): Make recursive call if both old and
2084         new are PLUS with a common operand.
2085         * calls.c (expand_call): Mark temp slot for result as having
2086         address taken.
2087         
2088         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
2089
2090         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
2091         component as well as "BINUTILS".
2092
2093         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
2094         * integrate.c (copy_rtx_and_substitute): Likewise.
2095         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
2096         All callers changed.
2097         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
2098         
2099         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
2100         gdb extensions, write size of type; also be more consistent
2101         in using references when this is a subtype.
2102
2103         * pa.md (extv, extzv, insv): Use define_expand to reject constant
2104         that is out of range.
2105
2106         * loop.c (unknown_constant_address_altered): New variable.
2107         (prescan_loop): Initialize it.
2108         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
2109         (invariant_p, case MEM): Remove handling for volatile and readony;
2110         check new variable if readonly.
2111         (check_dbra_loop): Chdeck unknown_constant_address_altered.
2112
2113         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
2114         (addr_affects_sp_p): Removed from note_mem_written and only
2115         define #ifdef AUTO_INC_DEC.
2116
2117         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
2118
2119         * regclass.c (record_reg_classes): Properly handle register move
2120         directions.
2121
2122         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
2123         Don't think valid if both operands are invalid.
2124         (struct constant_descriptor): New field RTL.
2125         (mark_const_hash_entry): Mark it.
2126         (record_constant{,_rtx}): Initialize it.
2127         (output_constant_def): Allocate RTL in permanent obstack and
2128         save in table.
2129         ({record,compare}_constant_1): Modes must match for
2130         CONSTRUCTOR of ARRAY_TYPE.
2131
2132         * c-common.h (initializer_constant_valid_p): Delete decl from here.
2133         * output.h (initializer_constant_valid_p): Move decl to here.
2134         * c-common.c (initializer_constant_valid_p): Delete function from here.
2135         * varasm.c (initializer_constant_valid_p): Move function to here.
2136
2137         * tree.h (STRIP_SIGN_NOPS): New macro.
2138         * fold-const.c (optimize_minmax_comparison): New function.
2139         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
2140         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
2141         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
2142         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
2143         widening conversions.
2144         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
2145         to look at size of mode, not precision of type; also add missing cases.
2146         (optimize_bit_field_compare, decode_field_reference): Don't try to
2147         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
2148
2149         * dwarf2out.c (ctype.h): Include.
2150         (dwarf2out_set_demangle_name_func): New function.
2151         (size_of_line_info): Deleted.
2152         (output_line_info): Compute size of line info table from difference
2153         of labels.
2154         (base_type_die, add_name_attribute): Call demangle function, if any.
2155         (field_byte_offset): Use bits per word for variable length fields.
2156         (gen_array_type_die): Add array name.
2157         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
2158         (dwarf2out_add_library_unit_info): New function.
2159
2160         * explow.c (set_stack_check_libfunc): New function.
2161         (stack_check_libfunc): New static variable.
2162         (probe_stack_range): Allow front-end to set up a libfunc to call.
2163
2164         * combine.c (simplify_comparison): When making comparison in wider
2165         mode, check for having commuted an AND and a SUBREG.
2166         (contains_muldiv): New function.
2167         (try_combine): Call it when dividing a PARALLEL.
2168         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
2169         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
2170         a PLUS.
2171         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
2172         use one of the CLOBBERs instead.
2173         (if_then_else_cond): If comparing against zero, just return thing
2174         being compared.
2175
2176         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
2177         Don't generate shifts and subtract if have conditional arithmetic.
2178
2179         * rtl.h (delete_barrier): New declaration.
2180         * jump.c (jump_optimize): Set up to handle conditional call.
2181         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
2182         (delete_barrier): New function.
2183
2184         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
2185
2186         * recog.c (nonmemory_operand): Accept ADDRESSOF.
2187
2188         * tree.c (build_type_attribute_variant): Push to obstack of
2189         ttype around type_hash_canon call.
2190
2191         * expr.c (placeholder_list): Move decl to file scope.
2192         (expand_expr): Don't force access to volatile just because its
2193         address is taken.
2194         If ignoring reference operations, just expand the operands.
2195         (expand_expr, case COMPONENT_REF): Propagate
2196         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
2197         Refine test for using bitfield operations vs pointer punning.
2198         (expand_expr, case CONVERT_EXPR): If converting to
2199         BLKmode UNION_TYPE from BLKmode, just return inner object.
2200         Use proper mode in store_field call.
2201         Properly set sizes of object to store and total size in store_field
2202         call for convert to union.
2203         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
2204         memory (like for ADDR_EXPR).  Also, don't put constant in register if
2205         we'll want it in memory.
2206         (readonly_fields_p): New function.
2207         (expand_expr, case INDIRECT_REF): Call it if LHS.
2208         (expand_assignment): Handle a RESULT_DECL where
2209         DECL_RTL is a PARALLEL.
2210         (do_jump, case WITH_RECORD_EXPR): New case.
2211         (get_inner_reference): Always go inside a CONVERT_EXPR
2212         and NOP_EXPR if both modes are the same.
2213         (store_field): Use bitfield operations if size of bitsize is not same
2214         as size of RHS's type.
2215         Check for bitpos not a multiple of alignment in BLKmode case.
2216         Do block move in largest possible alignment.
2217         (store_constructor): Set BITSIZE to -1 for variable size and properly
2218         in case of array of BLKmode.
2219         (expand_expr_unaligned): New function.
2220         (do_compare_and_jump): Call it.
2221
2222         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
2223         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
2224         does not include 'o'.
2225
2226         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
2227         both SET_DEST and SET_SRC reference a virtual register.
2228         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
2229
2230         * integrate.c (expand_inline_function): Handle case of setting
2231         virtual stack vars register (from built in setjmp); when parameter
2232         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
2233         (subst_constant): Add new parm, MEMONLY.
2234         (expand_inline_function, integrate_parm_decls): Pass new parm.
2235         (integrate_decl_tree): Likewise.
2236         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
2237         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
2238         (copy_rtx_and_substitute, case SET): Add explicit calls to
2239         copy_rtx_and_substitute for both sides.
2240
2241         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
2242         constraints.
2243         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
2244         within INDEX_TYPE, instead of before.
2245         (fixup_gotos): Use f->target_rtl, not the next insn,
2246         since latter may be from a later fixup.
2247         (expand_value_return): Correctly convert VAL when promoting function
2248         return; support RETURN_REG being a PARALLEL.
2249         (expand_return): When checking for result in regs and having
2250         cleanup, consider PARALLEL in DECL_RTL as being in regs.
2251
2252 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
2253
2254         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
2255         last_nominal_fname): Mark const.
2256         (struct include_hash: name, nshort, control_macro): Mark
2257         const.
2258         (struct macrodef: symnam): Mark const.
2259         (struct if_stack: fname): Mark const.
2260         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
2261         (IStable): New character-syntax array which encompasses all
2262         the old is_foo arrays.
2263         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
2264         is_space): New macros for interrogating IStable.
2265         (check_macro_name): Kill last argument.  All callers changed.
2266
2267         * cppinit.c (initialize_char_syntax): Delete.
2268         (is_idchar, is_idstart, is_hor_space, is_space,
2269         trigraph_table): Delete.
2270         (IStable): New.  Initialize with clever macros to avoid
2271         information duplication.
2272         (builtin_array): Table of builtins to get rid of explicit list
2273         in initialize_builtins.
2274         (initialize_builtins): Use builtins_array.
2275         (cpp_start_read): Call init_IStable, and set IStable['$'] if
2276         opts->dollars_in_ident.
2277
2278         * cppexp.c: Change all refs to is_xyz[] arrays to use new
2279         is_xyz() macros.
2280         (cpp_parse_expr): Avoid 'format string is not constant'
2281         warning. Use ISGRAPH to identify printable chars.
2282         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
2283         is_xyz() macros.
2284         (read_and_prescan): Map trigraphs to chars with open-coded
2285         if-else-if-... sequence, not a lookup table.
2286         * cpphash.c: Change all refs to is_xyz[] arrays to use new
2287         is_xyz() macros.
2288         * cpplib.c: Change all refs to is_xyz[] arrays to use new
2289         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
2290         (check_macro_name): Remove ability to report an invalid
2291         assertion name, which is never used.
2292         (do_line): Constify a couple of char *'s.
2293         * cppmain.c (main): Call cpp_cleanup before returning.
2294
2295 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
2296
2297         * ggc.h (struct ggc_statistics): New type.
2298         (ggc_get_size): New function.
2299         (ggc_print_statistics): Likewise.
2300         * ggc-common.c (ggc_stats): New variable.
2301         (ggc_mark_rtx_children): Keep statistics.
2302         (ggc_mark_tree_children): Likewise.
2303         (ggc_print_statistics): New function.
2304         * ggc-page.c (struct globals): Add bytes_mapped field.
2305         (alloc_anon): Update it.
2306         (release_pages): Likewise.
2307         (ggc_get_size): New function.
2308         (ggc_page_print_statistics): New function.
2309         * ggc-simple.c (ggc_get_size): New function.
2310         
2311 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
2312
2313         * flow.c (propagate_block): When the last reference to a label
2314         before an ADDR_VEC is deleted because the reference is a dead
2315         store, delete the ADDR_VEC.
2316
2317 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
2318
2319         * resource.c (find_free_register): Don't use the frame pointer
2320         if frame_pointer_needed.
2321
2322 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
2323
2324         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
2325         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
2326
2327         * config/i960/i960.c (i960_va_start): New locals base, num.
2328         Use INDIRECT_REF instead of ARRAY_REF on valist.
2329         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
2330
2331 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
2332
2333         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
2334
2335 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
2336
2337         * tree.def (PLACEHOLDER_EXPR): Update comments.
2338
2339 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2340
2341         * c-common.c (check_format_info): Avoid non-literal format string
2342         warnings when `first_arg_num' is zero.
2343
2344 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2345
2346         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
2347
2348 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
2349
2350         * arm.md (casesi_insn): Add a clobber of the condition code
2351         register.
2352
2353 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
2354
2355         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
2356         used by both cc1 and cc1plus.
2357         
2358 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
2359
2360         * config/arm/arm.c: Initialise arm_structure_size_boundary to
2361         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
2362         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
2363         to the value 32 if it has not already been defined.
2364         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
2365         Override definition in arm.h with a value of 8.
2366
2367 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
2368
2369         * c-pragma.c (push_alignment): Don't check the return value
2370         of xmalloc.
2371
2372 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
2373
2374         * sparc.h (ADJUST_COST): Fix thinko.
2375
2376 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
2377
2378         * cccp.c (rescan): Fixed obp pointer handling around call to
2379         check_expand subroutine.
2380
2381 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
2382
2383         * gcse.c (delete_null_pointer_checks): Only record non-null info
2384         for pseudos when examining stores.
2385
2386         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
2387         splitters for these patterns.  Use "#" for output templates.
2388         (addsi3_carryin_shift): New pattern.
2389
2390 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
2391
2392         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
2393         of the function return register into a plain REG until
2394         after function inlining is done.
2395
2396 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
2397
2398         * jump.c (jump_optimize_1): If we did cross-jumping, and
2399         the data will matter, rebuild the CFG.
2400         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
2401         not optimizing.  Don't run shorten_branches.
2402         * toplev.c (rest_of_compilation): Run shorten_branches after
2403         reg_to_stack.
2404
2405 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
2406
2407         * rtl.h (note_stores): Add additional paramter.
2408         * rtlanal.c (reg_set_p_1): Take additional paramter.
2409         (reg_set_last_1): Likewise.
2410         (reg_set_p): Adjust call to note_stores.
2411         (reg_set_last): Likewise.
2412         (note_stores): Pass data parameter to worker function.
2413         * alias.c (record_set): Take additional parameter.
2414         (init_alias_analysis): Pass it.
2415         * caller-save.c (mark_set_regs): Take additional parameter.
2416         (save_call_clobbered_regs): Pass NULL to note_stores.
2417         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
2418         parameter.
2419         (record_dead_and_set_regs_1): Likewise.
2420         (reg_dead_at_p_1): Likewise.
2421         (combine_instructions): Adjust calls to note_stores.
2422         (try_combine): Likewise.
2423         (record_dead_insn): Remove.
2424         (record_dead_and_set_regs): Adjust calls to note_stores.
2425         (reg_dead_at_p): Likewise.
2426         * cse.c (invalidate_skipped_set): Take additional parameter.
2427         (cse_check_loop_start): Likewise.
2428         (cse_check_loop_start_value): Remove.
2429         (cse_set_around_loop): Adjust calls to note_stores.
2430         * flow.c (notice_stack_pointer_modification): Take additional
2431         parameter.  Remove duplicate declaration.
2432         (record_volatile_insns): Adjust calls to note_stores.
2433         * gcse.c (record_set_info): Take additional parameter.
2434         (record_last_set_info): Likewise.
2435         (invalidate_nonnull_info): Likewise.
2436         (record_set_insn): Remove.
2437         (compute_sets): Adjust calls to note_stores.
2438         (last_set_insn): Remove.
2439         (compute_hash_table): Adjust calls to note_stores.
2440         (insert_insn_end_bb): Likewise.
2441         (delete_null_pointer_checks): Likewise.
2442         * global.c (mark_reg_store): Take additional parameter.
2443         (mark_reg_clobber): Likewise.
2444         (reg_becomes_live): Likewise.
2445         (global_conflicts): Adjust calls to note_stores.
2446         (build_insn_chain): Likewise.
2447         * integrate.c (note_modified_parmregs): Take additional parameter.
2448         (mark_stores): Likewise.  Make it static.
2449         (save_for_inline_nocopy): Adjust calls to note_stores.
2450         (try_constants): Likewise.
2451         * integrate.h (mark_stores): Remove declaration.
2452         * jump.c (mark_modified_reg): Take additional parameter.
2453         (thread_jumps): Adjust calls to note_stores.
2454         * local-alloc.c (validate_equiv_mem_from_store): Take additional
2455         parameter.
2456         (no_equiv): Likewise.
2457         (reg_is_set): Likewise.
2458         (validate_equiv_mem): Adjust calls to note_stores.
2459         (update_equiv_regs): Likewise.
2460         (block_alloc): Likewise.
2461         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
2462         (note_addr_stored): Take additional parameter.
2463         (note_set_pseudo_multiple_uses): Likewise.
2464         (record_initial): Likewise.
2465         (prescan_loop): Adjust calls to note_stores.
2466         (strength_reduce): Likewise.
2467         (check_dbra_loop): Likewise.
2468         * regmove.c (flags_set_1): Take additional paramter.
2469         (mark_flags_life_zones): Adjust calls to note_stores.
2470         * reload1.c (mark_not_eliminable): Take additional parameter.
2471         (forget_old_reloads_1): Likewise.
2472         (reload_cse_invalidate_rtx): Likewise.
2473         (reload_cse_check_clobber): Likewise.
2474         (reload_combine_note_store): Likewise.
2475         (move2add_note_store): Likewise.
2476         (reload): Adjust calls to note_stores.
2477         (reload_as_needed): Likewise.
2478         (emit_reload_insns): Likewise.
2479         (reload_cse_regs_1): Likewise.
2480         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
2481         (reload_combine): Adjust calls to note_stores.
2482         * resource.c (update_live_status): Take additional paramter.
2483         (mark_target_live_regs): Adjust calls to note_stores.
2484         * stupid.c (find_clobbered_regs): Take additional parameter.
2485         (stupid_life_analysis): Adjust calls to note_stores.
2486         
2487 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
2488
2489         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
2490         definition. 
2491
2492         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
2493         definition.
2494
2495         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
2496         of the variable arm_structure_size_boundary.
2497
2498 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
2499
2500         * alias.c (init_alias_analysis): Allocate reg_known_value and
2501         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
2502         and reg_seen.
2503         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
2504         * cse.c (cse_main): Call end_alias_analysis.
2505         * haifa-sched.c (schedule_insns): Likewise.
2506         * local-alloc. (update_equiv_regs): Likewise.
2507         * reload1.c (reload_cse_regs): Likewise.
2508         
2509 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2510
2511         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
2512         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
2513         mapping from MASK_FPU.
2514
2515 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
2516
2517         * sparc.md (call): Don't bound structure return size to 0xfff.
2518
2519 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
2520
2521         * resource.c (mark_target_live_regs): Check that the target
2522         insn wasn't created after compute_bb_for_insn.
2523
2524 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
2525
2526         * ggc-page.c (poison_pages): Don't be overzealous.
2527
2528 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
2529
2530         * alias.c: Update comments for ADDRESS.
2531         (nonlocal_reference_p): Look inside the ADDRESS to determine if
2532         it is a local memory reference.
2533
2534         * c-typeck.c (build_function_call): Check that the built-in
2535         function is of class BUILT_IN_NORMAL before trying to recongize
2536         it as BUILT_IN_ABS.
2537         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
2538         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
2539
2540 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
2541
2542         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
2543         of alloca.
2544         (pre_gcse): Likewise.
2545         (hoist_expr_reaches_here_p): Likewise.
2546         (hoist_code): Likewise.
2547         (pre_expr_reaches_here_p): Replace alloca with xcalloc.   Move core
2548         code to ...
2549         (pre_expr_reaches_here_p_work): ... here.
2550         (expr_reaches_here_p): Replace alloca with xcalloc.   Move core 
2551         code to ...
2552         (expr_reaches_here_p_work): ... here.
2553
2554 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
2555
2556         * resource.c (find_basic_block): Delete.
2557         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
2558         (init_resource_info): Call compute_bb_for_insn.
2559
2560 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
2561
2562         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
2563         with already adjacent blocks, but no fallthru.
2564         (merge_blocks_move_successor_nojumps): Simplify.
2565         (debug_flow_info): New.
2566
2567         * toplev.c (rest_of_compilation): Open jump1 dump file before
2568         jump and close after, as opposed to just using dump_rtl.
2569
2570 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2571
2572         * reload.h (earlyclobber_operand_p): Declare.
2573         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
2574         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
2575         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
2576         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
2577
2578 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
2579                           Richard Henderson  <rth@cygnus.com>
2580
2581         * emit-rtl.c (emit_block_insn_before): New.
2582         (emit_block_insn_after): New.
2583         * basic-block.h: Declare them.
2584
2585         * bitmap.h: Protect from multiple inclusion.
2586
2587         * recog.c (scratch_operand): Handle VOIDmode correctly.
2588
2589         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
2590
2591         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
2592         * function.c (assign_parms): Likewise.
2593         * global.c (global_conflicts): Clarify STACK_REGS commentary.
2594
2595         * reg-stack.c (max_uid): Remove.
2596         (blocks, block_begin, block_end, block_drops_in): Remove.
2597         (block_stack_in, block_out_reg_set, block_number): Remove.
2598         (struct block_info_def, BLOCK_INFO): New.
2599         (enum emit_where): New.
2600         (current_block): New.
2601         (BLOCK_NUM): Remove.
2602         (mark_regs_pat, record_label_references): Remove.
2603         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
2604         (nan): New.
2605         (goto_block_pat, print_blocks, dump_stack_info): Remove.
2606         (reg_to_stack): Simplified test for existance of fp code.  Use
2607         flow.c code.  Call shorten_branches after cross-jump opt.
2608         (check_asm_stack_operands): Renamed from record_asm_reg_life.
2609         Return false if the asm doesn't use stack regs.  Don't do life
2610         analysis on the asm.
2611         (emit_pop_insn): Replace function pointer arg `when' with
2612         enum `where'.  Update all callers.
2613         (change_stack): Likewise.  Update basic block end.
2614         (emit_swap_insn): Use current_block->head to limit reverse search
2615         for start of block.  Use emit_block_insn_after.
2616         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
2617         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
2618         structure assignment instead of bcopy.
2619         (print_stack): New.
2620         (convert_regs_entry, convert_regs_exit): New.
2621         (convert_regs_1, convert_regs_2): Split out from convert_regs.
2622         Work on basic blocks and the CFG.
2623         (convert_regs): Use them.
2624
2625         * i386.c (output_fix_trunc): Remove code for DImode input operand
2626         not at top-of-stack.
2627         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
2628         appropriate mode.
2629         (fix_truncdi_1): Allow any mode scratch.
2630
2631 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
2632
2633         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
2634         * linux.h, netbsd.h, vms.h: Not here.
2635
2636 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
2637
2638         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
2639         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
2640         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
2641         CONDITIONAL_REGISTER_USEAGE): Use them. 
2642         * config/mips/mips.c (mips_move_1word,mips_move_2words,
2643         gen_conditional_branch,override_options) : Use them.
2644         * config/mips/mips.md : Use them.
2645
2646 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
2647
2648         * i386.md (zero_extendqihi2): Use SImode register name with andl.
2649
2650 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
2651
2652         * integrate.c (function_cannot_inline_p): Don't allow inlining
2653         if setjmp is used.
2654
2655 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2656
2657         * c-parse.in (cast_expr): Constify.
2658
2659         * cccp.c (special_symbol): Likewise.
2660
2661         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
2662
2663         * dwarf2out.c (base_type_die): Likewise.
2664
2665         * global.c (allocno_compare): Likewise.
2666
2667         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
2668
2669         * regclass.c (fix_register): Likewise.
2670
2671         * rtl.h (fix_register): Likewise.
2672
2673         * stupid.c (stupid_reg_compare): Likewise.
2674
2675         * toplev.c (decode_f_option): Likewise.
2676
2677         * tree.c (build_complex_type): Likewise.
2678
2679 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
2680
2681         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
2682
2683 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2684
2685         * reload.c (find_reloads): Compute mode and nregs fields of all
2686         reloads.
2687         * reload1.c (calculate_needs_all_insns): Simplify a bit.
2688         (calculate_needs): Use precomputed mode/nregs values.
2689         (allocate_reload_reg): Likewise.
2690         Break out two...
2691         (failed_reload, set_reload_reg): ... new functions.
2692         (choose_reload_regs_init): New function, mostly broken out from...
2693         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
2694         Also lose one #if 0 block.
2695
2696 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
2697
2698         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name 
2699         substitution.
2700
2701 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
2702
2703         * tree.h (BLOCK_TYPE_TAGS): Remove.
2704         (BLOCK_END_NOTE): Likewise.
2705         (BLOCK_LIVE_RANGE_FLAG): Likewise.
2706         (BLOCK_LIVE_RANGE_START): Likewise.
2707         (BLOCK_LIVE_RANGE_END): Likewise.
2708         (tree_block): Remove live_range_flag, live_range_var_flag, and
2709         type_tags.  Remove end_note, live_range_start, and live_range_end.
2710         (remember_end_note): Remove prototype.
2711         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
2712         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
2713         remember_end_note.
2714         * ggc-common.c (ggc_mark_tree_children): Don't mark
2715         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
2716         * integrate.c (adjust_copied_decl_tree): Remove.
2717         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
2718         * stmt.c (last_block_end_note): Remove.
2719         (init_stmt): Don't add a GC root for it.
2720         (expand_fixup): Don't set it.
2721         (remember_end_note): Remove.
2722         (expand_end_bindings): Don't set last_block_end_note.
2723
2724 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2725
2726         * reload1.c (reload_reg_free_for_value_p): Show
2727         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
2728         reloads.
2729
2730 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
2731
2732         * expmed.c (extract_bit_field): Allow for the case of non-integer
2733         objects that are smaller than a word (like SFmode on a 64-bit
2734         machine).
2735
2736         * loop.c (basic_induction_var): A non-integer variable which is
2737         being set by a paradoxical subreg is probably not a biv.
2738
2739 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2740
2741         * prefix.c (translate_name) Check for empty prefix string.
2742
2743 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
2744
2745         * Makefile.in (CPP_CROSS_NAME): New variable.
2746         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
2747         xcpp.
2748         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
2749         names of the files to be uninstalled.
2750
2751 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
2752
2753         * collect2.c (IS_DIR_SEPARATOR): Define.
2754         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
2755
2756         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
2757         functions too.
2758
2759         * haifa-sched.c (add_dependence): Update the true dependency
2760         cache the first time we add a true dependence to the LOG_LINKS chain.
2761
2762 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
2763
2764         * fold-const.c (fold): Fix comment.
2765
2766 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2767
2768         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
2769         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
2770         dbxout_start_new_source_file, dbxout_source_file,
2771         dbxout_source_line, dbxout_finish, dbxout_type_fields,
2772         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
2773         Constify a char*.
2774         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
2775         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
2776         (dbxout_block): Initialize variable `blocknum'. 
2777
2778         * dbxout.h (dbxout_init, dbxout_finish,
2779         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
2780         dbxout_args, dbxout_source_line): Constify a char*.
2781
2782         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
2783         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
2784         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
2785         low_pc_attribute, high_pc_attribute, body_begin_attribute,
2786         body_end_attribute, comp_dir_attribute, sf_names_attribute,
2787         src_info_attribute, mac_info_attribute, producer_attribute,
2788         lookup_filename, generate_macinfo_entry, fundamental_type_code,
2789         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
2790         dwarfout_undef): Constify a char*.
2791         (add_incomplete_type, retry_incomplete_types): Add prototypes.
2792
2793         * dwarfout.h (dwarfout_define, dwarfout_undef,
2794         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
2795
2796 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
2797
2798         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
2799         (MULTILIB_ISA_DEFAULT): New.
2800         (MULTILIB_DEFAULTS): Use it.
2801         * config/mips/mips.c (): Remove the now unnecessary definition
2802         of MIPS_ISA_DEFAULT.
2803         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
2804         unnecessary definition.
2805
2806 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
2807
2808         * arm.md (pic_load_addr): Add constraints to operand 1.
2809
2810 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
2811
2812         * fixinc/genfixes:  Provide a means for specifying -D options to
2813         AutoGen
2814
2815 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
2816
2817         * arm.c (arm_override_options): Correct initialization of
2818         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
2819         arm_is_strong, and arm_is_6_or_7.
2820
2821         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
2822         (note_set_pseudo_multiple_uses): New function.
2823         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
2824         if a pseudo set in the loop exit is used elsewhere.
2825
2826 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
2827
2828         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
2829
2830 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
2831
2832         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
2833         a single load-address pattern.
2834
2835 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
2836
2837         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
2838         depending on whether or not line-number notes are present.
2839
2840 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2841
2842         * cccp.c (progname, file_buf, default_include, include_file,
2843         macrodef, definition, hashval, wchar_type, user_label_prefix,
2844         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
2845         expand_to_temp_buffer, is_system_include, base_name,
2846         absolute_filename, read_name_map, open_include_file,
2847         record_control_macro, check_precompiled, check_preconditions,
2848         pcfinclude, pass_thru_directive, create_definition,
2849         check_macro_name, comp_def_part, collect_expansion,
2850         check_assertion, read_token_list, assertion_install,
2851         assertion_lookup, eval_if_expression, conditional_skip,
2852         validate_else, skip_quoted_string, quote_string, macarg1,
2853         error_from_errno, install, lookup, hashf, dump_defn_1,
2854         perror_with_name, pfatal_with_name, main, trigraph_pcp,
2855         check_white_space, rescan, handle_directive, monthnames,
2856         special_symbol, do_include, remap_include_file, write_output,
2857         arglist, do_assert, do_unassert, do_line, do_error, do_once,
2858         do_ident, do_sccs, do_xifdef, skip_if_group,
2859         output_line_directive, macroexpand, macarg, change_newlines,
2860         initialize_builtins, make_definition): Constify a char*.
2861
2862         * pcp.h (stringdef): Likewise.
2863
2864 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
2865
2866         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
2867         not of pattern.
2868
2869 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
2870                           Richard Henderson  <rth@cygnus.com>
2871
2872         * alias.c: Include ggc.h.
2873         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
2874         (record_set): Verify enough room in reg_base_value.
2875         (init_alias_analysis): Allocate reg_base_value with xcalloc.
2876         Register it as a GC root.
2877         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
2878         * Makefile.in (alias.o): Depend on ggc.h.
2879
2880         * unroll.c (unroll_loop): Verify the insn before a barrier
2881         is a JUMP_INSN before checking JUMP_LABEL.
2882
2883 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2884
2885         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
2886         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
2887         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
2888         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
2889         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
2890         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
2891
2892 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2893
2894         * output.h (ctors_section, dtors_section, bss_section): Prototype.
2895
2896         * alpha/alpha-interix.h (text_section): Delete prototype.
2897         * alpha/elf.h (text_section): Likewise.
2898         * arm/linux-elf.h (text_section): Likewise.
2899         * arm/linux-telf.h (text_section): Likewise.
2900         * c4x/c4x.h (text_section): Likewise.
2901         * dsp16xx/dsp16xx.h (bss_section): Likewise.
2902         * elfos.h (text_section): Likewise.
2903         * i386/aix386ng.h (text_section): Likewise.
2904         * i386/i386-interix.h (text_section): Likewise.
2905         * i386/sco5.h (text_section): Likewise.
2906         * i386/svr3gas.h (text_section): Likewise.
2907         * nextstep.h (text_section): Likewise.
2908         * psos.h (text_section): Likewise.
2909         * ptx4.h (text_section): Likewise.
2910         * svr3.h (text_section): Likewise.
2911         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
2912
2913 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2914
2915         * final.c (peephole): Delete prototype.
2916
2917         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
2918         (pre_insert_copies): Remove unused variable `bb'.
2919
2920         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
2921         prototypes.
2922
2923         * output.h (peephole): Add prototype.
2924
2925 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
2926
2927         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
2928         -O0.
2929
2930 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
2931
2932         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
2933         for inlined declarations.
2934
2935 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
2936
2937         * arm.c (logical_binary_operator): New fucntion.
2938         * arm.h (logical_binary_operator): Declare it.
2939         (PREDICATE_CODES): Handle logical_binary_operator.
2940         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
2941         output constraints.  Add appropriate splitters.
2942         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
2943         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
2944         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
2945
2946 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2947
2948         * genoutput.c (struct operand_data): New elt eliminable.
2949         (output_operand_data): Write it.
2950         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
2951         (compare_operands): Take it into account.
2952         * recog.h (struct insn_operand_data): New elt eliminable.
2953         * reload1.c (check_eliminable_occurrences, elimination_effects): New
2954         functions.
2955         (old_asm_operands_vec, new_asm_operands_vec): Delete.
2956         (eliminate_regs): Move code that detects changes to elimination
2957         target regs into new function elimination_effects.
2958         Delete one #if 0 block.
2959         Abort for USE, CLOBBER, ASM_OPERANDS and SET. 
2960         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
2961         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
2962         Only call eliminate_regs for real operands of the insn, not for parts
2963         of its structure or parts matched by things like match_operator.
2964         Use elimination_effects and check_eliminable_occurrences.  Use
2965         copy_insn to duplicate the pattern when not in the final pass.
2966
2967 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
2968
2969         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
2970         and fld.
2971
2972 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
2973
2974         * fixinc/README: document the "mach" machine matching test
2975         * fixinc/fixfixes.c: Implement the #else/#endif label fix
2976         * fixinc/fixtests.c: Implement the #else/#endif label test
2977         * fixinc/inclhack.def: utilize these tests and fixes
2978         * fixinc/inclhack.sh:  regen
2979         * fixinc/fixincl.x:  regen
2980         * fixinc/fixincl.sh:  regen
2981
2982 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
2983
2984         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
2985         depend on ggc.h.
2986
2987 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
2988
2989         * gcc.1: Document exit codes.
2990
2991 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2992
2993         * calls.c: Include tm_p.h later, so everything we need is defined.
2994         * expr.c: Likewise.
2995         * function.c: Likewise.
2996
2997         * except.c: Include tm_p.h.
2998
2999         * sparc.c: Likewise.
3000         (dwarf2out_cfi_label): Don't prototype.
3001         (check_return_regs, epilogue_renumber,
3002         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
3003         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
3004         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
3005         ultra_schedule_insn): Add static prototype.
3006         (data_segment_operand, text_segment_operand): Call itself with the
3007         proper number of arguments.
3008         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
3009
3010         * sparc.h: Move all declarations to sparc-protos.h.
3011         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
3012         symbolic_operand.
3013
3014         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
3015
3016         * config/svr4.h (text_section, ctors_section, dtors_section): Add
3017         Prototypes.
3018         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
3019         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3020         ASM_OUTPUT_ASCII): Constify a char*.
3021         
3022         * sparc-protos.h: New file for sparc prototypes.
3023         
3024 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3025
3026         * function.c (record_insns, contains): Always declare and define.
3027         (record_insns): Mark with ATTRIBUTE_UNUSED.
3028
3029 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3030
3031         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
3032         to .section when outputting a .bss section to deal with multiple
3033         .bss input sections (as happens with -fdata-sections)
3034         Also output %progbits, not @progbits so the assembler doesn't treat as
3035         a comment.
3036         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
3037
3038         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
3039         thumb parts even when building with non-thumb CPUs, by forcing
3040         thumb mode.     
3041
3042 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
3043
3044         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
3045         (movdf_const_intreg_sp64): Similarly.
3046
3047         * local-alloc.c (update_equiv_regs): Check the correct insn
3048         for pre-existing REG_EQUIV notes.
3049
3050 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
3051
3052         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
3053         block reached by a branch if we're not going to actually process
3054         this block.
3055
3056 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
3057
3058         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
3059         a local extern function declaration.
3060
3061 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
3062
3063         * i386.c (ix86_expand_prologue): Properly wrap USE around
3064         reg for CALL_INSN_FUNCTION_USAGE.
3065
3066 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
3067
3068         * config/mips/mips.md (movdf_internal1a): Allow floating-point
3069         move between GP_REGs.
3070
3071 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
3072
3073         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
3074         the mode size when finding out if an offset is legal.
3075
3076 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
3077
3078         * basic-block.h (PROP_*): Move constants from ...
3079         * flow.c: ... here.
3080         (compute_bb_for_insn): Free the array before reallocating.
3081         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
3082         (allocate_reg_life_data): Reset all reg variables collected by
3083         propagate_block.
3084         (get_block_head_tail): Don't convert from bb to block.
3085         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
3086         (find_insn_reg_weight): Take block not bb.
3087         (schedule_block): Don't set block num for moved insns.
3088         (schedule_region): Don't update_life_info or find_insn_reg_weight.
3089         (schedule_insns): Do it here instead.
3090         * combine.c (combine_instructions): Invoke compute_bb_for_insn
3091         before update_life_info.
3092         * recog.c (split_all_insns, peephole2_optimize): Update for
3093         new arg to update_life_info.
3094         * rtlanal.c (remove_note): Cope with NULL note.
3095         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
3096         if we did sched1.
3097
3098 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
3099
3100         * jump.c (jump_optimize_1): More accurately detect casesi insns.
3101
3102         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
3103         block records so that merge_blocks_nomove will clean up correctly.
3104         (split_edge): Handle casesi insns.
3105
3106         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
3107
3108 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
3109
3110         * pa.md (call, call_value): Do not emit a blockage after restoring
3111         the PIC register.
3112
3113 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
3114
3115         * c-typeck.c (c_expand_asm_operands): Fix typo.
3116
3117 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3118
3119         * arm.c (fpu_rhs_operand): Verify modes.
3120         (fpu_add_operand): Likewise.
3121         (di_operand): Likewise.
3122         (soft_df_operand): Likewise.
3123
3124 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
3125
3126         * arm.c (arm_return_in_memory): APCS rules state that the elements
3127         of a structure returned in a register must be 'integer-like'.
3128
3129 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
3130
3131         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
3132         in the source tree when the generated targets are out of date
3133         * fixinc/genfixes: Alter it to run individual fixes for make.
3134         * fixinc/README: rewrite
3135         * fixinc/inclhack.def: moved initial comments to README
3136
3137 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
3138
3139         * toplev.c (main): Do not generate an error message if an
3140         unrecognised command line switch is recognisable by another
3141         language.  If extra_warnings are enabled, then generate a
3142         warning message instead.
3143
3144 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3145
3146         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
3147         (insert_pack_attributes): Delete prototype.
3148
3149         * c-pragma.c (default_alignment): New static variable.
3150         (push_alignment): Initialize to current effective alignment.
3151         (pop_alignment): Use to set new alignment.
3152         (insert_pack_attributes): Delete function.
3153         (handle_pragma_token): Set default_alignment as well each time 
3154         a #pragma pack(<n>) is encountered.
3155
3156 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
3157
3158         * reg-stack.c (stack_result): Aggregates are not returned in
3159         stack registers.
3160
3161 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
3162
3163         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
3164
3165 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
3166
3167         * basic-block.h (set_block_num): Declare.
3168         * flow.c (update_life_info): Don't call compute_bb_for_insn
3169         or free_basic_block_vars.
3170         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
3171         (insn_orig_block): Remove.
3172         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
3173         (schedule_block): Keep BLOCK_NUM up-to-date.
3174         (schedule_insns): Use compute_bb_for_insn.
3175         * recog.c (split_all_insns): Likewise.
3176         (peephole2_optimize): Likewise.
3177
3178 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
3179
3180         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
3181         if the pic register is used.
3182
3183 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3184
3185         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
3186         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
3187         if that tests TREE_PERMANENT.
3188
3189 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
3190
3191         * cse.c (invalidate_for_call): Do not remove memory references from
3192         the table here.  It's handled elsewhere.
3193
3194         * haifa-sched.c (add_dependence): Protect references to the
3195         true dependency cache with #ifdef INSN_SCHEDULING.
3196         (remove_dependence): Similarly.
3197
3198         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
3199         to the cfg code that this is a return instruction.
3200         * mn10300.md (return_internal): Similarly.
3201
3202         * combine.c (get_last_value): If the last set of a register
3203         is after subst_low_cuid, then we can not use it to determine
3204         the register's last value.
3205
3206 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
3207
3208         * Makefile.in: Back out previous change.
3209         
3210 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
3211
3212         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
3213
3214         * haifa-sched.c (add_dependence): Only check/update the cache
3215         if it exists.
3216         (remove_dependence): Likewise.
3217         (schedule_insns): Only create the true_dependency_cache if the
3218         average number of instructions in a basic block is very large.
3219
3220 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
3221
3222         * Makefile.in (ggc-common.o): Depend on genrtl.h.
3223         (ggc-simple.o): Likewise.
3224         (ggc-page.o): Likewise.
3225
3226 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
3227
3228         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
3229         Prototype for exported functions.
3230         (pre_lcm, pre_rev_lcm): Remove prototypes.
3231         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
3232         (compute_available): Move to lcm.c, and change parameter order.
3233         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
3234         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
3235         (gcse_main): No longer call compute_preds_succs.  Rebuild the
3236         set table after reach pre pass.
3237         (pre_insert_map, pre_delete_map, edge_list): New.
3238         (alloc_pre_mem): Allocate edge vectors.
3239         (free_pre_mem): Delete edge vectors.
3240         (compute_pre_data): Call new edge based lcm routines.
3241         (process_insert_insn): New function.
3242         (insert_insn_end_bb): Use it.
3243         (pre_edge_insert): New function.
3244         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
3245         needed.
3246         (pre_insert_copies): Revamp using new edge based lcm outputs.
3247         (pre_delete): Likewise.
3248         (one_pre_gcse_pass): Insert & remove fake edges to the exit
3249         block.
3250         (compute_code_hoist_vbeinout): New new edge based routines.
3251         * lcm.c: Remove all the old LCM functions.  Replace with new ones
3252         that work with the new cfg datastructures and work with edges
3253         instead of blocks.
3254
3255 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3256
3257         * reload.h (struct reload): Add new fields "mode" and "nregs".
3258         * reload1.c: Change all occurrences of reload_mode and reload_nregs
3259         to reference the "mode" and "nregs" field within struct reload.
3260
3261 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
3262
3263         * haifa-sched.c (true_dependency_cache): New.
3264         (add_dependence): Use the true dependency cache to avoid expensive
3265         walks down the LOG_LINKS dependency list.  Add entries to the
3266         cache as necessary.
3267         (remove_dependence): Remove entries from the true dependency cache
3268         as needed.
3269         (schedule_insns): Allocate and initialize and free the true
3270         dependency cache.
3271
3272         * haifa-sched.c (schedule_insns): Do not remove inter-block
3273         dependencies anymore.
3274
3275 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
3276
3277         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
3278         * i386/t-winnt: Likewise.
3279
3280 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
3281
3282         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
3283
3284 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
3285
3286         * Makefile.in (LANGUAGES): Omit "proto".
3287         (clean): Remove stale comment about removing unprotoize.c.
3288
3289 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3290
3291         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
3292         using arithmetic on void pointers.
3293
3294 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
3295
3296         * haifa-sched.c (compute_block_forward_dependencies): Only check
3297         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
3298
3299 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
3300
3301         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
3302         (expr_equiv_p): Reject memories with different alias sets.
3303
3304 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
3305
3306         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
3307         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
3308         (f_options): Add "bounded-pointers" and "bounds-check" entries.
3309         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
3310         (lang_init): Set default for flag_bounds_check if still "unspecified".
3311
3312 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3313
3314         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
3315
3316 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3317
3318         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
3319         instructions.
3320
3321 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3322
3323         * config/c4x/c4x.md (*db_noclobber, 
3324         *decrement_and_branch_until_zero_noclobber): New patterns and 
3325         associated splitters.
3326
3327 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3328
3329         * config/c4x/c4x.md (parallel instruction patterns): Rework
3330         constraints to keep reload happy.
3331
3332 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3333
3334         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
3335         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
3336         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
3337         Add new patterns and associated post-reload splitters.
3338
3339 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3340
3341         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
3342
3343 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3344
3345         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
3346         if appropriate.
3347         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
3348
3349 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3350
3351         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
3352         memory mode.
3353
3354 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
3355
3356         * pa.c (move_operand): Rely on memory_address_p to determine the
3357         validity of non-indexed memory addresses.
3358         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
3359         operand in DFmode and SFmode when generating PA2.0 code.
3360
3361 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
3362
3363         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
3364
3365 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
3366
3367         * mips.c (function_prologue): Fix argument types.
3368         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
3369         (casesi_internal): Write to the scratch register.
3370
3371 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
3372
3373         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
3374         to U_CHAR **.
3375         (parse_charconst): Delete unnecessary cast when calling
3376         cpp_parse_escape.
3377         (cpplib.h): Kill prototype of cpp_parse_escape.
3378
3379 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
3380
3381         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
3382         * unroll.c (unroll_loop): Cast return value of alloca.
3383         * i370/i370.c: Include function.h and toplev.h.
3384         (i370_label_scan): Remove c++ commented abort.
3385         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
3386         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
3387         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
3388         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
3389
3390 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
3391
3392         * config/t-freebsd: Do not override USER_H.
3393         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
3394
3395 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
3396                           Mumit Khan  <khan@xraylith.wisc.edu>
3397
3398         * c-parse.in (component_decl): Support anonymous struct/union.
3399         (%expect): Update.
3400         * c-parse.y: Regenerate.
3401         * c-parse.c: Likewise.
3402         * objc/objc-parse.y: Likewise.
3403         * objc/objc-parse.c: Likewise.
3404         * c-decl.c (finish_struct): Don't sort the fields.
3405         (field_decl_cmp): Delete unused function.
3406
3407 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
3408
3409         * sparc.md (movsf_const_intreg): Revert last constraint change.
3410         (movdf_const_intreg_sp32): Likewise.
3411
3412 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
3413
3414         * cse.c: Include hashtab.h instead of splay-tree.h
3415         (struct cse_reg_info): No longer use variant union.  Add new
3416         field "regno".  All references changed to avoid union.
3417         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
3418         (free_cse_reg_info): Remove.
3419         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
3420         (get_cse_reg_info): Revamp to use expandable hash tables instead
3421         of splay trees.  Initialize new fields in cse_reg_info structure.
3422         (new_basic_block): Similarly.
3423
3424 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
3425
3426         * genrecog.c (message_with_line): Prototype.
3427         (validate_pattern): Pass along the set for the dest, not a flag.
3428         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
3429         Check for PC/CC0 as sources.
3430         (nodes_identical): Check for children position match before 
3431         allowing the combination.
3432
3433         * rtl.c (read_rtx): Track line number across \\\n.
3434
3435 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
3436
3437         * mips.h (SPECIAL_MODE_PREDICATES): New.
3438         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
3439         (movdi+1, movsi+1): Add output reload constraint.
3440         (casesi_internal): Likewise.  Fix commentary.
3441         (return_internal): Use pmode_register_operand.
3442
3443 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
3444
3445         * 1750a.md (movstrqi): Add missing output reload constraint.
3446         (call_value): Likewise.
3447         * a29k.md (cpxxx patterns): Add missing match_operator mode.
3448         (jmpfdec): Add missing inout reload constraint.
3449         * elxsi.md (addsi patterns): Add missing output reload constraint.
3450         (move from sp): Use @ alternates.
3451         (call_value): No constraint on output.
3452         * fr30.md (movsi_pop): Add missing output reload constraint.
3453         (movsf_constant_store): Likewise.
3454         (splits): Remove constraints.
3455         (subsi3): Add missing mode.
3456         * i370.md (cmpstrsi+1): Add missing output reload constraint.
3457         (call_value): Likewise.
3458         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
3459         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
3460         * m32r.md (movsicc_internal): Add output reload constraint.
3461         (movstrsi_internal): Add inout reload constraints.
3462         * m88k.h (reg_names): Don't declare.
3463         (SPECIAL_MODE_PREDICATES): New.
3464         * m88k.md (*): Use register_operand not reg_or_0_operand
3465         on destinations.
3466         * mn10200.h (PREDICATE_CODES): New.
3467         * ns32k.md (ffs pattern): Add output reload constraint.
3468         * pdp11.md (sob pattern): Add inout reload constraint.
3469         * sh.md (splits): Remove constraints.
3470         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
3471         * v850.md (pattern_is_ok_for_epilogue): Likewise.
3472         * vax.md (jgequ pattern): Add inout reload constraint.
3473
3474 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
3475
3476         * configure.in (djgpp): Revert previous patch.
3477         * configure: Rebuit.
3478         * config/i386/djgpp.h: Revert previous patch.
3479
3480 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
3481
3482         * fixinc/inclhack.def: Restore patch lost during last merge of
3483         "no_bogosity" branch.
3484         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3485
3486 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3487
3488         * fixincludes: Add a HPUX 11 fix for inttypes.h.
3489         * fixinc/inclhack.def: Same.
3490         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
3491
3492 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
3493
3494         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
3495         as the base of a PLUS.
3496
3497 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3498
3499         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
3500         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
3501         
3502 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
3503
3504         * pa.md (post_stw+1): Use pmode_register_operand.
3505         (dcacheflush, icacheflush): Likewise.
3506
3507         * i386.md (movstricthi_1): Allow r/r.
3508
3509 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
3510
3511         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
3512         to (not (and (arg0) (arg1))). Similary for and.
3513
3514         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
3515         falltrought to assocate code.
3516         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
3517         bits in common.
3518
3519         * combine.c (simplify_logical): Convert XOR to IOR if operands have
3520         no bits in common; remove XOR to ROTATE conversion.
3521
3522 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3523
3524         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
3525
3526 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3527
3528         * config/c4x/c4x.c (dst_operand): New.
3529         (PREDICATE_CODES): Update.
3530         * config/c4x/c4x.h (dst_operand): Declare it.
3531         * config/c4x/c4x.md:  Define mode for each unspec usage.
3532         (move patterns):  Use dst_operand predicate instead of src_operand.
3533         (movqi_update, movqf_update): Delete.
3534
3535 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
3536
3537         * recog.c (pmode_register_operand): New.
3538         * recog.h: Declare it.
3539         * genrecog.c (pred_codes): Likewise.
3540         (special_mode_pred_table): Likewise.
3541         (validate_pattern): Don't warn no mode for address_operand.
3542
3543         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
3544         if the operand is not insn-like.
3545
3546 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
3547                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
3548
3549         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
3550
3551 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
3552
3553         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
3554         instead of general_operand in a SET_DEST.  Use const_double_operand
3555         instead of an explicit test against CONST_DOUBLE.
3556         (movsf_const_lo): Add missing register mode.
3557         (goto_handler_and_restore): Add auxiliary test for Pmode.
3558         (flush): Adjust to use address_operand.
3559         (return_sf_no_fpu): Add missing output constraint.
3560
3561 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
3562
3563         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
3564         for call return value.
3565         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
3566
3567 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
3568
3569         * toplev.c (main): Only warn about options for other languages.
3570         * collect2.c (main): Pass -w to sub-gcc.
3571
3572 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
3573
3574         * flow.c (propagate_block): Add call-clobbered registers to
3575         significant too.
3576
3577         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
3578         zapping mem_set_list.
3579         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
3580         (mark_set_1, mark_used_regs): Likewise.
3581
3582 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
3583
3584         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
3585
3586 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3587
3588         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
3589         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
3590         options. Also add a new item "C-only Warning Options" to the
3591         option summary.
3592
3593 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
3594
3595         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
3596         from multiple calls.
3597
3598 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
3599
3600         * i386.md (call value patterns): Move to the end of the file.
3601         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
3602
3603 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
3604
3605         * configure.in (djgpp configuration): Define extra_objects..
3606         * configure: Rebuilt.
3607         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
3608         (DTORS_SECTION_ASM_OP): Define.
3609         (INIT_SECTION_ASM_OP): Define.
3610         (FINI_SECTION_ASM_OP): Define.
3611         (DATA_SECTION_ASM_OP): Define.
3612         (TEXT_SECTION_ASM_OP): Define.
3613         (EH_FRAME_SECTION_ASM_OP): Define.
3614         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
3615         (STARTFILE_SPEC): Add crtbegin.o.
3616         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
3617         to here from LINK_COMMAND_SPEC.
3618         (DO_GLOBAL_CTORS_BODY): Define.
3619         (CRTSTUFF_USE_FINI_SECTION): Define
3620         (HAS_INIT_SECTION): Delete.
3621
3622 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
3623
3624         * Makefile.in (all.cross): Depend on xcpp$(exeext).
3625
3626 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
3627
3628         * pa.h (PREDICATE_CODES): New.
3629
3630         * genrecog.c (validate_pattern): Condense the destination
3631         non-lvalue message.
3632
3633 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
3634
3635         * alpha.md (call-1): Supply missing mode for operator.
3636         (*): Add missing output reload constraints.  Remove constraints
3637         from define_splits.
3638
3639         * i386.h (SPECIAL_MODE_PREDICATES): New.
3640         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
3641         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
3642         (addsi_lea_3): Add missing mode for op 3.
3643         (prologue_set_got, prologue_get_pc): Add missing modes.
3644         (*) Add missing output reload constraints.
3645
3646 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
3647
3648         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
3649         check for member bit-size overflow and use var_size if it occurs.
3650         (layout_record): Use bitsize_int() to define the type size in bits.
3651         Likewise for computation and assignment to DECL_FIELD_BITPOS.
3652         (layout_decl): Likewise when assigning to DECL_SIZE.
3653
3654 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
3655
3656         * genrecog.c (validate_pattern): Typo last change.  Verify
3657         that output operands have output reloads.
3658
3659 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
3660
3661         * genrecog.c (special_mode_pred_table): New.
3662         (NUM_SPECIAL_MODE_PREDS): New.
3663         (find_operand): New.
3664         (validate_pattern): New argument `insn'.  Warn for assignment to
3665         any predicate accepting non-lvalues.  Conditionaly warn for
3666         match_operand without a mode.  Try much harder to match source
3667         and destination modes on a set.
3668         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
3669
3670 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
3671
3672         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
3673
3674 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
3675
3676         * combine.c (simplify_logical): Recognize xor pattern that encodes
3677         rotation.
3678
3679 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3680
3681         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
3682         alignment.
3683
3684 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
3685
3686         * ggc-page.c (MAP_FAILED): Provide default.
3687
3688 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
3689
3690         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
3691         * sparc.h (PREDICATE_CODES): Update.
3692
3693 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
3694
3695         * alpha.c (some_ni_operand): New.
3696         * alpha-protos.h: Declare it.
3697         * alpha.h (PREDICATE_CODES): Update.
3698         * alpha.md (sXaddq reload insns): Use some_ni_operand 
3699         for SET_DEST instead of some_operand.
3700
3701 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
3702                           Jim Wilson  <wilson@cygnus.com>
3703
3704         * genrecog.c (maybe_both_true_2): Don't compare modes of
3705         two DT_pred tests.
3706         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
3707         after find_afterward.
3708         (debug_decision_1): Dump next and afterward codes.
3709
3710 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
3711
3712         * rtl.c (dump_and_abort): Remove.
3713         (fatal_with_file_and_line): New.
3714         (fatal_expected_char): New.
3715         (read_rtx_lineno, read_rtx_filename): New.
3716         (read_skip_spaces): Track line number.
3717         (read_name): Use fatal_with_file_and_line.
3718         (read_rtx): Use fatal_expected_char.  Track line number.
3719         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
3720
3721         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
3722         if it isn't a CODE_LABEL.
3723
3724         * genattr.c (main): Set read_rtx_filename.
3725         * genattrtab.c (main): Likewise.
3726         * gencodes.c (main): Likewise.
3727         * genconfig.c (main): Likewise.
3728         * genemit.c (main): Likewise.
3729         * genextract.c (main): Likewise.
3730         * genflags.c (main): Likewise.
3731         * genopinit.c (main): Likewise.
3732         * genoutput.c (main): Likewise.
3733         * genpeep.c (main): Likewise.
3734
3735         * genrecog.c (decision_test.u.insn): Add `lineno'.
3736         (pattern_lineno, error_count): New variables.
3737         (message_with_line): New.
3738         (add_to_sequence): Break out checking code to ...
3739         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
3740         (merge_insn): Use message_with_line.
3741         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
3742         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
3743
3744 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3745
3746         * expr.c (store_constructor): Clear union if constructor is empty.
3747
3748 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
3749
3750         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
3751         Add !endian checks.  Change %{...} to %(...).
3752
3753 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
3754
3755         * i386.md (*addsi3_cc): Renamed from addcsi3.
3756         (*addsi3_carry): Renamed from addxsi3.
3757         (*subsi3_cc): Renamed from subcsi3.
3758         (*subsi3_carry): Renamed from subxsi3.
3759         (*xorqi_cc_1): Renamed from xorcqi_1.
3760         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
3761         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
3762
3763 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
3764
3765         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
3766         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
3767
3768 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
3769
3770         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
3771         climb up the chain of insns.
3772
3773 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
3774
3775         * genrecog.c (write_subroutine): Careful for null trees.
3776         (process_tree): Don't elide empty functions.
3777
3778 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
3779
3780         * Makefile.in (genrtl.o): Depend on ggc.h.
3781         * configure.in (valloc): Probe for it.
3782         (with-gc): Use ggc-page if valloc present.
3783         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
3784         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
3785         (ggc_alloc_string): Moved from ggc-page.c.
3786         * ggc-none.c (ggc_alloc_obj): New.
3787         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
3788         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
3789         (struct globals): Likewise for dev_zero_fd.
3790         (init_ggc): Likewise for it's initialization.
3791         (ggc_allocated_p): Move careful dereference from ...
3792         (ggc_lookup_page_table): ... here.  Delete.
3793         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
3794         (alloc_anon): Use valloc if no mmap.
3795         (release_pages): Use free if using valloc.
3796         (ggc_alloc_obj): Renamed from alloc_obj.
3797         (ggc_set_mark): Renamed from mark_obj.
3798         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
3799         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
3800         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
3801         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete. 
3802         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
3803         (ggc_collect): Use fp printing instead of our own rounding.
3804         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
3805         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
3806         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
3807         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
3808         (struct ggc_string, struct ggc_any): Delete.
3809         (offsetof): Provide default definition.
3810         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
3811         (PTR_KEY): New.
3812         (struct ggc_mem): New, from corpse of ggc_any.
3813         (struct ggc_status): Delete.
3814         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
3815         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
3816         (n_strings_collected, n_anys_collected): Delete.
3817         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
3818         (ggc_alloc_string, ggc_alloc): Delete.
3819         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
3820         (ggc_free_string, ggc_free_any): Delete.
3821         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
3822         (ggc_compare_addresses, ggc_mark_string): Delete.
3823         (ggc_mark_string_if_gcable, ggc_mark): Delete.
3824         (search_data): Delete.
3825         (struct globals): New.
3826         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.   
3827         (tree_insert, tree_lookup): New.
3828         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
3829         (clear_marks, sweep_objs): New.
3830         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
3831         (init_ggc): Set allocated_last_gc.
3832         (ggc_push_context): Gut.  Use G.context.
3833         (ggc_pop_context): Likewise.
3834         (ggc_pop_context_1): New.
3835         (debug_ggc_tree): New.
3836         (debug_ggc_balance, tally_leaves): New.
3837         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
3838         (ggc_mark_string_if_gcable): Remove decl.
3839         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
3840         (ggc_mark_rtvec_children): New.
3841         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
3842         (ggc_mark_if_gcable): New decl.
3843         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
3844         (ggc_alloc_tree, ggc_alloc): Likewise.
3845         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
3846         (ggc_alloc_obj): New decl.
3847         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
3848         (ggc_alloc_tree, ggc_alloc): Likewise.
3849         (ggc_set_mark): New decl.
3850         * rtl.h (struct rtx_def): Remove gc_mark.
3851         (struct rtvec_def): Likewise.
3852         * tree.h (struct tree_common): Likewise.
3853
3854 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
3855
3856         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
3857         float_format and thread_file definitions.
3858         * configure: Rebuilt.
3859
3860 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
3861
3862         * extend.texi (Function Names): Document types of function names.
3863
3864 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3865
3866         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
3867         an earlyclobbered output conflict with RELOAD_INPUT reloads.
3868
3869 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3870
3871         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
3872
3873 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3874
3875         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
3876
3877 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
3878
3879         * collect2.c (main): Do prelimnary link on AIX if rflag.
3880
3881 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3882
3883         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
3884         __CTOR_LIST__ in opposite order, which is the correct order for sorted
3885         constructors.
3886         (__do_global_dtors): similarly for __DTOR_LIST__.
3887
3888 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3889                                 Diego Novillo <dnovillo@cygnus.com>
3890
3891         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
3892         FPUL_REGS.
3893
3894 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
3895
3896         * fixincl/*: Merged "no_bogosity" branch
3897         * fixincl/fixlib.h: protect against doubly defining t_bool
3898         * fixincl/server.h: protect against doubly defining t_bool
3899
3900 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
3901
3902         * genoutput.c: Include toplev.h.
3903
3904 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
3905
3906         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
3907         Undef.
3908         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
3909         * configure: Regenerate.
3910
3911 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
3912
3913         * gcse.c (delete_null_pointer_checks): Returns void.
3914
3915 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
3916
3917         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
3918         * emit-rtl.c (copy_insn_1): Likewise.
3919
3920 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
3921
3922         * config/mips/mips.c (mips_build_va_list): Correct
3923         TREE_CHAIN setting when hard-float.
3924         (mips_va_start): Use corrected setting.
3925         (mips_va_arg): Likewise.  Also pass a tree to build of
3926         POSTINCREMENT_EXPR rather than a naked 'int'.
3927
3928 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
3929
3930         * ggc.h (ggc_push_context): Fix comment.
3931         (ggc_pop_context): Likewise.
3932         (mark_string_if_gcable): Likewise.
3933         * ggc-common.c (ggc_mark_rtx_children): Use
3934         ggc_mark_string_if_gcable.
3935         * ggc-page.c (ggc_lookup_page_table): New function.
3936         (ggc_allocated_p): Likewise.
3937         (mark_obj): Fix formatting.
3938         (ggc_mark_string_if_gcable): New function.
3939         * ggc-simple.c (ggc_allocated_strings): New variable.
3940         (ggc_strings_used): Likewise.
3941         (ggc_compare_addresses): New function.
3942         (ggc_pop_context): Pop the `any' memory too.
3943         (ggc_mark_string_if_gcable): New function.
3944         (ggc_collect): Initialize and tear down ggc_allocated_strings.
3945         
3946 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
3947
3948         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
3949         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
3950         * rs6000.c (expand_block_move): Match movstrsi_?reg register
3951         changes.
3952
3953 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
3954
3955         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
3956         (sched_reg_live_length, sched_reg_basic_block): Delete.
3957         (current_block_num, bb_live_regs, old_live_regs): Delete.
3958         (dead_notes, struct sometimes): Delete.
3959         (sched_note_set, birthing_insn_p): Delete.
3960         (adjust_priority): Gut useless reg lifetime code.
3961         (create_reg_dead_note, attach_deaths): Delete.
3962         (attach_deaths_insn, new_sometimes_live): Delete.
3963         (finish_sometimes_live): Delete.
3964         (find_pre_sched_live, find_post_sched_live): Delete.
3965         (update_reg_usage): Delete.
3966         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
3967         (schedule_insns): Delete reg lifetime code.
3968         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
3969         (unlink_other_notes): Adjust REG_NOTE commentary.
3970         (reemit_notes): Use REG_SAVE_NOTE.
3971         (schedule_block): Likewise.
3972         (schedule_region): Allocate bitmap of blocks in region.  Use
3973         count_or_remove_death_notes.  Use update_life_info.
3974
3975         * rtl.h (REG_SAVE_NOTE): New.
3976         * rtl.c (reg_note_name): Update.
3977         
3978 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
3979
3980         * combine.c (refresh_blocks, need_refresh): New.
3981         (combine_instructions): Allocate refresh_blocks.  Invoke
3982         update_life_info if needed.
3983         (distribute_notes): Mark refresh_blocks instead of installing
3984         USE insns.
3985         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
3986         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
3987
3988         * Makefile.in (recog.o): Depend on basic-block.h.
3989
3990 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
3991
3992         * genrecog.c (add_to_sequence): Thinko last change: delete
3993         shadowing allow_const_int variable.
3994
3995 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3996
3997         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
3998         __GNUC__ and __GNUC_MINOR__.
3999
4000         * gansidecl.h: Likewise.
4001
4002         * rtl.c: Likewise.
4003         
4004         * rtl.h: Likewise.
4005
4006         * toplev.h: Likewise.
4007
4008         * tree.c: Likewise.
4009
4010         * tree.h: Likewise.
4011
4012         * varray.c: Likewise.
4013
4014         * varray.h: Likewise.
4015
4016 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4017
4018         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
4019         use one before a jump table.
4020
4021         * rtl.def (ADDRESS): Change documentation to match reality.
4022         * md.texi: Don't document it.
4023         * gmicro.md (load address pattern): Use 'p' constraint, delete use
4024         of ADDRESS rtx.
4025
4026         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
4027
4028 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
4029
4030         * genrecog.c (add_to_sequence): Move allow_const_int test outside
4031         known predicate block; default allow_const_int true.
4032         (debug_decision_list): New.
4033
4034 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
4035
4036         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
4037
4038 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
4039
4040         * gcse.c (gcse_main): Avoid global optimizations if we have a
4041         large number of basic blocks and the ratio of edges to blocks
4042         is high.
4043         (delete_null_pointer_checks): Likewise.
4044
4045 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
4046
4047         * c-common.c (check_format_info): Warn if format string isn't a
4048         string literal.
4049
4050 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4051
4052         * configure.in (arm*-*-*): Don't let autoconf remove brackets
4053         * configure: regenerate
4054
4055 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
4056
4057         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
4058         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
4059         (peepholes): Re-enable.
4060
4061 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
4062
4063         * Makefile.in (flow.o): Depend on TREE_H.
4064         * basic-block.h (REG_SET_EQUAL_P): New.
4065         (XOR_REG_SET): New.
4066         (n_edges): Declare.
4067         (free_regset_vector): Remove declaration.
4068         (flow_delete_insn_chain): Declare.
4069         (enum update_life_extent): New.
4070         (update_life_info, count_or_remove_death_notes): Declare.
4071         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
4072         Verify register live at bb->global_live_at_start before adding USE.
4073         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
4074         (CLEAN_ALLOCA): New.
4075         (n_edges): New. 
4076         (PROP_*): New flags.
4077         (find_basic_blocks_1): Use alloc_EXPR_LIST.
4078         (clear_edges): Zero n_edges.
4079         (make_edge): Increment n_edges.
4080         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
4081         (flow_delete_insn_chain): Export.
4082         (delete_block): Decrement n_edges.
4083         (merge_blocks_nomove): Likewise.
4084         (life_analysis): Give life_analysis_1 PROP flags.
4085         (verify_wide_reg_1, verify_wide_reg): New.
4086         (verify_local_live_at_start): New.
4087         (update_life_info): Rewrite to call into propogate_block.
4088         (mark_reg): New.
4089         (mark_regs_live_at_end): After reload, if epilogue as rtl, 
4090         always mark stack pointer.  Conditionally mark PIC register.
4091         After reload, mark call-saved registers, return regsiters.
4092         (life_analysis_1): Accept PROP flags not remove_dead_code.
4093         Call mark_regs_live_at_end before zeroing regs_ever_live.
4094         Use calculate_global_regs_live.  Copy global_live_at_end before
4095         calling final propagate_block.  Zero reg_next_use on exit.
4096         (calculate_global_regs_live): New.
4097         (allocate_bb_life_data): Don't allocate bb->local_set.
4098         (init_regset_vector, free_regset_vector): Remove.
4099         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
4100         Test flags before every operation.  Warn if prologue/epilogue insn
4101         would have been deleted.
4102         (mark_set_regs, mark_set_1): Accept and use FLAGS. 
4103         Use alloc_EXPR_LIST.
4104         (mark_used_regs): Accept and use FLAGS, not FINAL.
4105         Remove special handling for RETURN.
4106         (try_pre_increment): Use alloc_EXPR_LIST.
4107         (dump_flow_info): Dump n_edges.
4108         (unlink_insn_chain, split_hard_reg_notes): Remove.
4109         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
4110         (find_insn_with_note, new_insn_dead_notes): Remove.
4111         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
4112         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
4113         (replace_insns): Remove.
4114         (count_or_remove_death_notes): New.
4115         (verify_flow_info): Abort on error after all checks.
4116         (remove_edge): Decrement n_edges.
4117         (remove_fake_edges): Tweek format.
4118         * haifa-sched.c (schedule_insns): Use split_all_insns.
4119         * output.h (update_life_info): Remove declaration.
4120         * recog.c (split_all_insns): From the corpse of split_block_insns,
4121         do the whole function block by block.  Use update_life_info.
4122         (recog_last_allowed_insn): New.
4123         (recog_next_insn): Mind it.
4124         (peephole2_optimize): Set it.  Walk backwards through blocks.
4125         Use update_life_info.
4126         * rtl.h (update_flow_info, replace_insns): Remove declarations.
4127         (split_all_insns): Declare.
4128         * toplev.c (rest_of_compilation): Thread prologue before flow2.
4129         Use split_all_insns.
4130
4131         * i386.md (or -1 peep2s): Disable.
4132
4133 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
4134
4135         * config/mips/mips.md (movstrsi+[123]) : Combine these into
4136         a single pattern.  Scrap the 'd' versions as unnecessary. 
4137
4138         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
4139         tablejump_mips162,tablejump_internal4): The operands to a
4140         label_ref must be VOIDmode.
4141
4142 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4143
4144         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
4145
4146 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
4147
4148         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
4149
4150 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
4151
4152         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
4153         cache every function if ggc_p.
4154
4155 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4156
4157         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
4158         instead of copy_rtx.  Accept sequences that contain asm statements.
4159         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
4160         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
4161         orig_asm_operands_vector, copy_asm_operands_vector,
4162         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
4163         variables.
4164         * rtl.h (copy_insn, copy_insn_1): Declare.
4165
4166 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4167
4168         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
4169
4170         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
4171         arguments to `current_file_function_operand'.
4172
4173         * genrecog.c: Include hard-reg-set.h and resource.h in the
4174         generated output file.
4175
4176         * real.c: Include tm_p.h.
4177
4178 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4179
4180         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
4181         output operand.
4182
4183 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
4184
4185         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
4186         before the fctiwz insn.
4187
4188 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4189                           Mark Mitchell  <mark@codesourcery.com>
4190
4191         * tree.c (make_lang_type_fn): New funtion pointer.
4192         (make_lang_type): Call it.
4193         * tree.h (make_lang_type): Declare.
4194         (make_lang_type_fn): Likewise.
4195         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
4196
4197 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
4198
4199         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
4200         make sure that HIGH instructions are copied into BASE_REGS.
4201
4202 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
4203
4204         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
4205
4206 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
4207
4208         * c-decl.c (finish_struct): Use simpler method of
4209         removing elements of a singly-linked list.
4210
4211 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
4212
4213         * alpha.md (peephole2's): Comment out peephole2's that generate
4214         buggy code.
4215
4216 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
4217
4218         * genrecog.c (add_to_sequence): Disable mode check for
4219         wildcard matches.
4220
4221 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4222
4223         * ggc-simple.c (init_ggc): Set empty_string.
4224
4225 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
4226
4227         * configure.in: Detect mmap.  Add --with-gc=foo to select
4228         garbage collector; default to page if mmap available.
4229         * Makefile.in (GGC): Substitute.
4230
4231 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
4232
4233         * c-decl.c (ggc_p): Enable.
4234
4235 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4236
4237         * flow.c (verify_flow_info): Make it extern & unconditionally define.
4238
4239 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
4240
4241         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
4242         string for little-endian-data.
4243
4244 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
4245
4246         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
4247         case somebody tries to compile --enable-checking code with gcc
4248         1.34 or such.
4249
4250 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
4251
4252         * genrecog.c (add_to_sequence): Verify operand to label_ref is
4253         VOIDmode.
4254
4255 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
4256
4257         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
4258         * jump.c (jump_optimize_1): Document why.
4259
4260 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4261
4262         * collect2.c (scan_prog_file, scan_libraries): Prototype function
4263         pointers and casts for `int_handler' and `quit_handler'.
4264
4265         * flow.c (verify_flow_info, split_hard_reg_notes,
4266         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
4267         remove_edge, remove_fake_successors): Add static prototypes.
4268         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
4269         (mark_set_1): Initialize variable `regno'.
4270         (unlink_insn_chain): Likewise for variable `curr'.
4271         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
4272
4273         * loop.c (strength_reduce): Initialize variable
4274         `unrolled_insn_copies'.
4275         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
4276         prototypes.  Change these functions to take const PTR parameters
4277         to avoid prototype conflict when used as the comparson argument
4278         for qsort.
4279         (check_dbra_loop): Initialize variable `comparison_val'.
4280
4281         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
4282         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
4283         (find_valid_class): Initialize variable `best_class'.
4284         (find_reloads): Call memcpy, not bcopy.
4285
4286         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
4287         (hard_reg_use_compare): Don't needlessly cast away const.
4288         (reload_reg_class_lower): Likewise.
4289         (choose_reload_regs): Initialize variable `regno'.
4290
4291 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
4292
4293         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
4294
4295 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
4296
4297         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
4298         ({,d}discard): Add forward declarations.  Declare parameter as
4299         unused.
4300         (main_without_main): Explicitly declare return type to be int.
4301         (memcpy): Properly declare.
4302
4303         * libgcc2.c (toplevel): If inhibit_libc is defined and not
4304         building the trampoline support, declare malloc, free, and
4305         atexit.
4306         (__clear_cache): Mark arguments as potentially unused.
4307         
4308         * frame.c (toplevel): If inhibit_libc is defined, declare
4309         malloc and free.
4310
4311 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
4312
4313         * flow.c (make_edge): Accept an optional 2D bitmap in which
4314         to cache edge existence.  Update all callers.
4315         (make_label_edge, make_eh_edge): Pass through the edge cache.
4316         (make_edges): Provide the cache.
4317
4318 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4319
4320         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
4321         a char*.
4322         (local_mbtowc): Change the type of variable `i' from int to size_t.
4323
4324         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
4325         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
4326
4327 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
4328
4329         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
4330         after other includes that define the appropriate types.  Include
4331         tm_p.h for getting user prototypes.
4332         * ggc-callbacks.c (toplevel): Ditto.
4333         * ggc-none.c (toplevel): Ditto.
4334         * gcc-page.c (toplevel): Ditto.
4335         * ggc-simple.c (toplevel): Ditto.
4336
4337 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
4338                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
4339
4340         * config/mips/mips.c (mips_move_2words): Split doubles if
4341         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
4342
4343 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
4344
4345         * genrecog.c (struct decision_test): New.
4346         (struct decision): Remove test-related members, sort the rest by size.
4347         (IS_SPLIT): Simplify.
4348         (new_decision, new_decision_test): New.
4349         (add_to_sequence): Use them.  No special handling for args of
4350         non-MATCH codes.
4351         (maybe_both_true): Renamed from not_both_true; return sense changed.
4352         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
4353         of maybe_both_true and adjusted for decision_test.
4354         (position_merit): Remove.
4355         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
4356         (merge_accept_insn): New, broken out of merge_trees.
4357         (merge_trees): Use them.  No special case for c_test; no node
4358         splitting; use test type instead of position_merit.
4359         (factor_tests): New.
4360         (simplify_tests): New.
4361         (break_out_subroutines): Don't write code now.
4362         (find_afterward): New.
4363         (write_afterward, write_switch, write_cond): New.
4364         (write_action, is_unconditional): New.
4365         (write_node): New.  Use them.
4366         (write_tree_1): Rewrite.  Use the new functions above.
4367         (write_tree): Remove afterward processing.
4368         (write_subroutine): Simplify function variant emission.
4369         (write_subroutines): New.
4370         (same_codes, clear_codes): Remove.
4371         (same_modes, clear_modes): Remove.
4372         (write_header): New, broken out of main.
4373         (make_insn_sequence): Use new_decision and new_decision_test.
4374         (process_tree): New, broken out of main.
4375         (main): Adjust for merge_trees interface change. 
4376         Don't #define operands in the output file.
4377         (record_insn_name): New, broken out of make_insn_sequence.
4378         (debug_decision_2, debug_decision_1, debug_decision_0): New.
4379         (debug_decision): New.
4380
4381 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
4382
4383         * resource.c (find_free_register): Mark class_str argument const.
4384         * resource.h: Update prototype to match.
4385
4386         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
4387         * i386.md: Give all anonymous insns names.
4388
4389 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
4390
4391         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
4392         blocks.
4393
4394 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
4395
4396         * toplev.c (dbr_sched_time): Unconditional.
4397         (peephole2_time): New.
4398         (compile_file): Add pass numbers to all of the dump file suffixes.
4399         Dump peephole2_time.  Don't dump times for non-applicable passes.
4400         (rest_of_compilation): Add pass numbers to dump file suffixes.
4401         Conditionalize calls to the scheduler.
4402         * invoke.texi: Update.
4403
4404 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
4405
4406         * flow.c (make_edges): Fix insn iteration.
4407         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
4408         (find_basic_blocks_1): Fix spelling mistake.
4409
4410 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
4411
4412         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
4413         always have side-effects.  Use memset not bzero.
4414         (make_node): Likewise.
4415
4416 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
4417
4418         * stmt.c (expand_anon_union_decl): When any of the elements of the
4419         union is addressable, so is the entire union.
4420
4421 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
4422
4423         * sbitmap.c (sbitmap_ones): Don't set too many bits.
4424
4425         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
4426         * bitmap.c (bitmap_operation): Return true iff TO changed.
4427         (bitmap_equal_p): New.
4428         (bitmap_bit_p): Tidy arithmetic.
4429         (debug_bitmap_file): Likewise.
4430
4431 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
4432
4433         * toplev.c (rest_of_compilation): Turn on cse_not_expected
4434         before cse2 instead of after.
4435
4436 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
4437
4438         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
4439         register offsets. 
4440
4441 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4442
4443         * cppinit.c (is_idchar initializer): Loosen tests to accept
4444         gcc 2.>6 and >2.
4445
4446 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
4447
4448         * mips.md: Define conditional move patterns for floating point
4449         operands and DI mode conditions.
4450
4451 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
4452
4453         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
4454         always have side-effects.
4455
4456 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
4457
4458         * mn10200.c (asm_file_start): Fix typo.
4459
4460         * cppinit.c (is_idchar initializer): Tighten tests for when
4461         to put the table into initialized memory.
4462
4463         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
4464         not an array of rtunion.
4465         * gcc-page.c (ggc_alloc_rtvec): Similarly.
4466         * gcc-simple (ggc_free_rtvec): Similarly.
4467
4468         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
4469         of rtunions.
4470
4471         * mbchar.h: Add missing #endif.
4472
4473         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
4474         (FPBIT, DPBIT): Define.
4475
4476 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4477
4478         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
4479
4480         * profile.c (instrument_arcs, output_gcov_string,
4481         tablejump_entry_p): Add static prototypes.
4482         (output_gcov_string): Constify a char*.
4483         
4484         * regmove.c (replacement_quality, fixup_match_2): Add static
4485         prototypes.
4486
4487         * resource.h (reg_dead_p): Add extern prototype.
4488
4489         * rtl.c (trim_filename): Add static prototype.
4490
4491         * scan-decls.c (skip_to_closing_brace): Likewise.
4492
4493         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
4494         (expand_end_case): Initialize variable `range'.
4495         (emit_case_nodes): Remove unused prototype `rtx_fn'.
4496
4497         * varasm.c (asm_emit_uninitialised): Add static prototype.
4498         (asm_emit_uninitialised, assemble_variable): Mark parameter with
4499         ATTRIBUTE_UNUSED.
4500
4501 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4502
4503         * cpplib.c (if_directive_nameo): Add static prototype.
4504
4505         * cse.c (cse_insn): Remove unused variable `p'.
4506
4507         * except.c (create_rethrow_ref, push_entry,
4508         receive_exception_label, new_eh_region_entry, find_func_region,
4509         clear_function_eh_region, process_nestinfo): Add static prototypes.
4510         (get_reg_for_handler): Hide definition.
4511         (process_nestinfo): Initialize variable `extra_handlers'.
4512
4513         * expr.h (expand_builtin_longjmp): Add extern prototype.
4514
4515         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
4516
4517         * function.c (prepare_function_start): Likewise.
4518         (pop_function_context_from): Mark parameter `context' with
4519         ATTRIBUTE_UNUSED.
4520         (push_temp_slots_for_block, flush_addressof): Hide definition.
4521         
4522         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
4523         solve_program_flow_graph, calculate_branch_probs,
4524         function_summary, main, fancy_abort): Add prototypes.
4525
4526         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
4527         (add_hash): Constify a char*.
4528
4529         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
4530         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
4531         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
4532
4533         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
4534
4535         * lists.c (free_list, zap_lists): Likewise.
4536
4537 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4538
4539         * alias.c (nonlocal_reference_p): Add static prototype.
4540
4541         * bitmap.c (bitmap_element_allocate): Prototype args in function
4542         pointer cast.
4543
4544         * builtins.c (stabilize_va_list): Add static prototype.
4545         (expand_builtin_va_arg): Constify a char*.
4546         
4547         * c-lex.c (getch, put_back, extend_token_buffer_to,
4548         read_line_number, token_getch, token_put_back): Add static
4549         prototypes.
4550
4551         * c-parse.gperf (hash, is_reserved_word): Likewise.
4552
4553         * cccp.c (is_dir_separator): Likewise.
4554
4555 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4556
4557         * graph.h: New file to prototype functions exported by graph.c.
4558
4559         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
4560
4561         * graph.c: Include graph.h.
4562
4563         * toplev.c: Likewise.  Remove redundant prototypes.
4564
4565 Sat Oct  2 11:28:33 1999   Krister Walfridsson <cato@df.lth.se>
4566
4567         * invoke.texi: Removed duplicated description for -Q.
4568
4569 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
4570
4571         * extend.texi: Grammar fix in __extension__ text.
4572
4573 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
4574
4575         * md.texi (define_peephole2): New section.
4576
4577 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
4578
4579         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
4580         (mov $-1 to or peepholer): Enable for pentium when optimizing for
4581         speed.
4582
4583 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
4584
4585         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
4586
4587 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
4588
4589         * i386.md (ffs expander): Emit Pentium friendly code for
4590         TARGET_PENTIUM.
4591
4592 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
4593
4594         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES 
4595         for non-trees.
4596         (build1): Likewise.
4597         
4598 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4599
4600         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
4601
4602 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
4603
4604         * config/m68k/m68k.c (use_return_insn): Return false if the pic
4605         register is in use.
4606
4607 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4608
4609         * md.texi (No Constraints): Delete section.
4610         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
4611         * final.c (final_scan_insn): We always have register constraints.
4612         * genattrtab.c: Don't include "insn-config.h".
4613         (write_attr_case): We always have register constraints.
4614         * genconfig.c (register_constraint_flag): Delete.
4615         (walk_insn_part): Don't check whether we have register constraints.
4616         (main): Don't write out "#define REGISTER_CONSTRAINTS".
4617         * genoutput.c (have_constraints): Delete.
4618         (main): Don't set it.
4619         (output_operand_data): We always have constraints.
4620         (scan_operands): Likewise.
4621         (compare_operands): Likewise.
4622         * local-alloc.c (block_alloc): We always have constraints.
4623         (requires_inout): Always compile this function.
4624         * recog.c (extract_insn): We always have constraints.
4625         (constrain_operands, reg_fits_class_p): Always compile these
4626         functions.
4627         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
4628         fields.
4629         (struct insn_operand_data): Likewise.
4630         * regclass.c (regclass): We always have constraints.
4631         (record_reg_classes, copy_cost, record_address_regs,
4632         auto_inc_dec_reg_p): Always compile these functions.
4633         * regmove.c (regmove_optimize): We always have constraints.
4634         * reload.c (find_reloads): Likewise.
4635         * reload1.c (reload): Likewise.
4636         (reload_cse_simplify_operands): Likewise.
4637         * i860.c (output_delay_insn): Likewise.
4638
4639 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
4640
4641         * iris6.h (BUILD_VA_LIST_TYPE): Define.
4642
4643 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4644
4645         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
4646         for the va_list record.
4647
4648 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
4649
4650         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
4651         prologues.
4652
4653 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
4654
4655         * alias.c: Include insn-flags.h.
4656         * Makefile.in (alias.o): Update.
4657
4658 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
4659
4660         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
4661         to LTU and GEU.  Handle more cases using sbb.
4662
4663 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
4664
4665         * i386.md (truncatexfdf splitters): Do not use subreg.
4666         (fop XFmode patterns): Fix mode in operand testing.
4667
4668 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
4669
4670         * jump.c (jump_optimize_1): Amend last change to test only the
4671         form of the operand, not the insn.
4672
4673         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
4674         not register_operand to determine when B may need preloading.
4675
4676 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
4677
4678         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
4679         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
4680         (call-value patterns): Move to end of file.
4681         (*): Remove mode from label_ref in (pc) context.
4682         (movstrqi): Use memory not general_operand for BLKmode operands.
4683         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode 
4684         to register_operand operands.
4685         (peep2 patterns): Convert from commented-out peephole patterns.
4686
4687 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4688
4689         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
4690         to BUILT_IN_INIT_DWARF_REG_SIZES.
4691         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
4692         Renamed from BUILT_IN_DWARF_REG_SIZE; call
4693         expand_builtin_init_dwarf_reg_sizes.
4694         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
4695         with __builtin_init_dwarf_reg_size_table.
4696         * dwarf2out.c (struct reg_size_range): Delete.
4697         (expand_builtin_init_dwarf_reg_sizes): New function.
4698         (expand_builtin_dwarf_reg_size): Delete.
4699         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
4700         (expand_builtin_dwarf_reg_size): Don't declare.
4701         * libgcc2.c (dwarf_reg_size_table_initialized): New.
4702         (dwarf_reg_size_table): New.
4703         (init_reg_size_table): New function.
4704         (copy_reg): Use dwarf_reg_size_table.
4705         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
4706         before use.
4707
4708 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
4709
4710         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): 
4711         Correctly build argument list to constructor and destructor functions.
4712
4713 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
4714
4715         * c-tree.h (warn_float_equal): Declare.
4716         * c-decl.c (warn_float_equal): Define.
4717         (c_decode_option): Recognize -W[no-]float-equal.
4718         * c-typeck.c (build_binary_op): Conditionally warn
4719         about equality tests of floating point types.
4720         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
4721         * invoke.texi: Add docs for -Wfloat-equal warning.
4722
4723 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
4724
4725         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
4726         generating RTL directly.
4727         * mips.h (INIT_TARGET_OPTABS): Likewise.
4728         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
4729
4730         * expr.h (init_mov_optab): Delete declaration
4731
4732         * h8300.c (WORD_REG_USED): Update to avoid useless register
4733         saves in interrupt functions and functions which never return.
4734
4735         * cse.c (struct set): Delete inner_dest_loc field. 
4736         (cse_insn): Remove assignments to inner_dest_loc field.
4737
4738 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
4739
4740         * ggc-page.c: Don't include <unistd.h> etc taken care of
4741         by "system.h".  Include <sys/mman.h> afterward.
4742
4743 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
4744
4745         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
4746         ggc_alloc_string.
4747
4748 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
4749
4750         * xcoffout.c (xcoffout_declare_function): Add documentation.
4751         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
4752         TARGET_64BIT.  Compare constant to -1, not bit pattern.
4753         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
4754         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
4755         gen_movsi typos.
4756
4757 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
4758
4759         * dwarf2out.c (add_abstract_origin_attribute): Abort if
4760         origin_die is NULL.
4761         (gen_inlined_enumeration_type_die): Do not abort if the type has
4762         not been writeen out.
4763         (gen_inlined_structure_type_die): Do not abort if the type has
4764         not been writeen out.
4765         (gen_inlined_union_type_die): Do not abort if the type has
4766         not been writeen out.
4767         (gen_tagged_type_instantiation_die): Do not abort if the type
4768         has not been written out.
4769
4770 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4771
4772         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
4773         call it.
4774         * reg-stack.c (straighten_stack): Copy hard reg set with
4775         COPY_HARD_REG_SET.
4776
4777 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
4778
4779         * builtins.c (stabilize_va_list): Stabilize array type va_list
4780         to a pointer type, not the base record type.
4781         (expand_builtin_va_copy): Dereference the pointers explicitly;
4782         use the correct size for the copy.
4783
4784         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
4785         (rs6000_va_arg): Likewise.
4786
4787 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
4788
4789         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
4790
4791 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
4792
4793         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
4794         field.
4795         (DECL_BUILT_IN_CLASS): Adjust accordingly.
4796
4797 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
4798
4799         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
4800         (init_ggc): Use it instead of a constant.
4801         (ggc_collect): Bound allocated_last_gc by it.
4802
4803 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
4804
4805         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
4806         with va_list.
4807
4808 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
4809
4810         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
4811         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
4812         * configure:  Regen.
4813         * config/mips/openbsd.h:  New, OpenBSD little endian target.
4814         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
4815         * config/mips/xm-openbsd.h:  New, OpenBSD host.
4816
4817 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
4818
4819         * config/m68k/m68k.c (output_function_prologue,
4820         output_function_epilogue): Use
4821         current_function_uses_pic_offset_table instead of regs_ever_live
4822         to decide whether to save/restore pic register.
4823         (legitimize_pic_address): Don't modify regs_ever_live any more.
4824
4825 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
4826
4827         * function.h (struct function): Add x_dont_save_pending_sizes_p.
4828         * stor-layout.c (variable_size): Don't add sizes to the pending
4829         sizes list if x_dont_save_pending_sizes_p is set.
4830         
4831 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
4832
4833         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
4834         for symbolic_operand().
4835         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
4836
4837 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4838
4839         * combine.c (gen_rtx_combine): Add missing call to va_end().
4840
4841         * final.c (asm_fprintf): Likewise.
4842
4843         * genattrtab.c (attr_rtx): Likewise.
4844
4845 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
4846
4847         * cse.c: Update comments.
4848         (cse_insn): When converting a conditional/computed jump into
4849         an unconditional jump, always make sure a BARRIER immediately
4850         follows the converted jump.  Do not delete unreachable code.
4851         (cse_basic_block): Do not delete unreachable code.
4852         * toplev.c (rest_of_compilation): Move call to 
4853         delete_trivially_dead_insns after the conditional call to
4854         jump_optimize.
4855
4856 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4857
4858         * collect2.c (make_temp_file): Don't prototype.
4859
4860         * gcc.c (make_temp_file): Likewise.
4861
4862         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
4863
4864 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
4865
4866         * varasm.c (asm_emit_uninitialised): New function: Generate
4867         the assembler statements necessary to declare an uninitialised 
4868         variable.
4869         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
4870         variable.
4871         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
4872         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
4873         section.
4874         (assemble_variable): Use asm_emit_uninitialised to emit an
4875         uninitialised variable.
4876
4877 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
4878
4879         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
4880         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
4881         <geoffk@cygnus.com>.
4882
4883 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
4884
4885         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
4886         * c-common.h (builtin_function): Don't declare.
4887
4888         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
4889         DECL_BUILT_IN.
4890         (pushdecl): Likewise.
4891         (finish_decl): Likewise.
4892         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
4893         int.  All callers changed.
4894         Set the builtin's DECL_BUILT_IN_CLASS.
4895         * tree.h (enum built_in_class): New.
4896         (enum built_in_function): Delete NOT_BUILT_IN.
4897         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
4898         in a union.
4899         (DECL_SET_FUNCTION_CODE): Likewise.
4900         (DECL_BUILT_IN_CLASS): New macro.
4901         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
4902         (struct tree_decl): Split builtin function code field into a
4903         struct.
4904         (builtin_function): Declare.
4905
4906 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
4907
4908         * optabs.c (init_traps): Fix typo in last change.
4909
4910 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
4911
4912         * toplev.c (rest_of_decl_compilation): Update comment.
4913
4914 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
4915
4916         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
4917         in .sbss if appropriate.
4918         (EXTRA_SECTION_FUNCTIONS): Add sbss.
4919         (SBSS_SECTION_ASM_OP): New macro.
4920         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
4921         (EXTRA_SECTIONS): Add in_sbss.
4922         * config/mips/mips.h: Prototype sbss_section.
4923
4924 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
4925
4926         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
4927         to disappear.
4928
4929 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
4930
4931         * optabs.c (init_traps): Register trap_rtx as a GC root.
4932
4933 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4934
4935         * config/mips/mips.c (function_arg_pass_by_reference): Define
4936         unconditionally, since it's called unconditionally.
4937
4938 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
4939
4940         * toplev.c (documented_lang_options): Add -fshort-wchar.
4941         * c-decl.c (c_decode_option): Likewise.
4942         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
4943         for wchar_t.
4944         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
4945         * gcc.c (default_compilers): If -fshort-wchar, 
4946         override __WCHAR_TYPE__.
4947         * tm.texi (C Dialect Options): Add -fshort-wchar.
4948
4949         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
4950         symbol for a variable.
4951
4952         * cpplib.h (CPP_PREPROCESSED): New macro.
4953         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
4954         we're seeing this input for a second time.
4955
4956 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
4957
4958         * emit-rtl.c (init_emit_once): Initialize modes first.
4959
4960 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
4961
4962         * config/i386/i386.c (pic_label_name): Change to char pointer.
4963         (global_offset_table): New variable.
4964         (load_pic_register): Fill global_offset_table if it hasn't
4965         already been done.  Allocate pic_label_name dynamically.
4966         * ggc.h (empty_string): New variable.
4967         * ggc-simple.c (empty_string): Likewise.
4968         (init_ggc): Allocate empty_string and add as root.
4969         * stmt.c (digit_strings): New variable.
4970         (init_stmt): Add last_block_end_note as root.  Allocate and
4971         initialize digit_strings. 
4972         (expand_asm_operands): Use empty_string instead of string
4973         constant.  Use digit_strings instead of string constants.
4974         * profile.c (init_arc_profiler): Allocate string with
4975         ggc_alloc_string instead of xmalloc.
4976         (output_func_start_profiler): Likewise.
4977         * c-typeck.c (digest_init): Check if init is error_mark_node.
4978
4979 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
4980                           Richard Henderson  <rth@cygnus.com>
4981
4982         * ggc-page.c: New file.
4983         * Makefile.in (ggc-page.o): New.
4984
4985 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
4986
4987         * invoke.texi: Document -fdelete-null-pointer-checks
4988         * toplev.c (flag_delete_null_pointer_checks): New.
4989         (f_options): Add entry for -fdelete-null-pointer-checks.
4990         (rest_of_compilation): Conditionalize null pointer check
4991         elimination on flag_delete_null_pointer_checks.
4992         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
4993
4994 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
4995
4996         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
4997         copyright notice and special exception to GPL.
4998
4999 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5000
5001         * abi64.h (mips_function_value): Add prototype arguments.
5002
5003         * mips-protos.h: New file with mips prototypes.
5004
5005         * mips.c: Include "tm_p.h".
5006         (mktemp, lookup_name): Add prototype arguments.
5007         (extern_list, string_constant, mips_fill_delay_slot,
5008         mips_output_external, mips_output_external_libcall,
5009         mips_output_filename, mips_declare_object, function_prologue,
5010         mips_expand_prologue, function_epilogue, mips16_constant,
5011         build_mips16_function_stub, mips_output_conditional_branch):
5012         Constify a char*.
5013         (mips_va_start): Remove unused variable `u'.
5014         (mips_va_arg): Cast value to unsigned when comparing against one.
5015         (trace): Delete.
5016         (save_restore_insns, mips_expand_prologue): Add missing arg in
5017         call to `large_int'.
5018
5019         * mips.h: Move prototypes to mips-protos.h.
5020         (data_section, memory_address_p, rdata_section,
5021         readonly_data_section, simple_epilogue_p, text_section): Delete
5022         prototypes delcared elsewhere.
5023         (mips_epilogue_delay_slots, print_options): Delete unused decls.
5024         (trace): Delete.
5025         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
5026
5027         * mips.md: Delete extra args in call to `mips_move_2words'.
5028
5029         * xm-iris6.h (alloca): Add prototype argument.
5030
5031         * genpeep.c: Include "tm_p.h" in generated output file.
5032
5033 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
5034
5035         * basic-block.h (find_edge_index): Change parameters.
5036         * flow.c (verify_edge_list): Pass basic_block parameters to
5037         find_edge_index instead of integers.
5038
5039 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
5040
5041         * combine.c (simplify_comparison): Use an unsigned shift to adjust
5042         the constant.
5043
5044 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
5045
5046         * gcc.1: Fix a formatting error.
5047
5048 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5049
5050         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
5051         i786, mn10200, mn10300, pdp11, v850.
5052
5053 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
5054
5055         * libgcc2.c (num_digits): Add prototype with 
5056         __attribute__((const)).
5057         (__terminate): Add prototype.
5058
5059 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
5060
5061         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
5062
5063         * alpha/alpha.c (print_operand): Fix type of `code'.
5064         (alpha_output_filename): Constify.
5065         * alpha/alpha.h: Move all function declarations ...
5066         * alpha/alpha-protos.h: ... here.  New file.
5067         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
5068         (SECTION_FUNCTION_TEMPLATE): Likewise.
5069
5070 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5071
5072         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
5073         * expr.c (expand_expr): Likewise.
5074         (do_jump): Likewise.
5075         (do_store_flag): Pass ccp_store_flag to can_compare_p.
5076         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
5077         accessor macros.
5078         (enum can_compare_purpose): New.
5079         (can_compare_p): Adjust prototype.
5080         (prepare_cmp_insn, prepare_operand): Declare.
5081         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
5082         * optabs.c (cmp_available_p): Deleted.
5083         (expand_abs): Pass ccp_jump to can_compare_p.
5084         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
5085         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
5086         Call can_compare_p rather than cmp_available_p.
5087         (prepare_operand): No longer static.
5088         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
5089         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
5090         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
5091         sequence to use emit_cmp_and_jump_insns.
5092         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
5093
5094 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
5095
5096         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
5097         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
5098         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
5099         (plus (reg) (const_int 0))
5100         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
5101         
5102 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
5103
5104         * rs6000.c (expand_block_move): DImode loads and stores require
5105         word-aligned displacements.  Increment address registers with
5106         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
5107
5108 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
5109
5110         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
5111         is no name for the base type, rather than segfault.  If we are
5112         writing out a complex integer type, use DW_ATE_lo_user.
5113
5114         * expr.c (emit_move_insn_1): If we are copying a complex that fits
5115         in one word or less (complex char, complex short, or on 64 bit
5116         systems complex float) to/from a hard register, copy it through
5117         memory instead of dying in gen_{real,imag}part.  If we have a
5118         short complex type, prevent inlining since it allocates stack
5119         memory.
5120
5121         * tree.c (build_complex_type): If we are writing dwarf2 output,
5122         generate a name for complex integer types.
5123
5124 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
5125
5126         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
5127         * flow.c (remove_edge): Remove extra whitespace.
5128         (remove_fake_edges): Fix comment.
5129         (add_noreturn_fake_exit_edges): Use the correct name.
5130
5131 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
5132
5133         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
5134         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
5135         (clean): Depend on INTL_CLEAN.
5136         (maintainer-clean): Adjust.
5137
5138 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5139
5140         * configure.in (AC_PREREQ): Bump to 2.13.
5141         (AC_C_STRINGIZE): Call this instead of using a custom macro.
5142
5143         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
5144
5145         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
5146
5147         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
5148
5149         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
5150         (HAVE_STRINGIZE): Define.
5151
5152 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
5153
5154         * c-parse.in: save and restore warn_pointer_arith on __extension__
5155         along with pedantic.
5156         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
5157         Set the type of extension to itype rather than $<itype>1 kludge.
5158         * extend.texi (Alternate Keywords): Adjust documentation.
5159         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
5160
5161 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
5162
5163         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
5164         most assembler templates.
5165
5166         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
5167         FP loads and stores.
5168         (following_call): Always return zero for the PA8000.
5169         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
5170         FP loads and stores.
5171         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
5172
5173         * pa.h (BRANCH_COST): Define.
5174
5175         * pa.md (return, return_internal): Use bve for PA2.0.
5176
5177         * pa.md (fused multiply): Add variants which reduce height for the
5178         fused multiply, but which still generate 2 insns.
5179         (fnegabs): Similarly.
5180
5181         * pa.md (subsi3): Turn into an expander.  Create two anonymous
5182         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
5183         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
5184
5185         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
5186         for TARGET_PA_20.
5187         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
5188         code generation.
5189         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
5190         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
5191
5192         * regclass.c (init_regs): Add "top_of_stack" as a garbage
5193         collection root.
5194
5195         * flow.c (record_active_eh_regions): Terminate loop after finding
5196         the last insn in the last basic block.
5197
5198 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5199
5200         * config/c4x/c4x.md: Delete parallel instruction peepholes.
5201
5202 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5203
5204         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
5205
5206 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5207
5208         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
5209         splitting to not use output template.
5210
5211 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5212
5213         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
5214         * config/c4x/c4x.c (c4x_va_start): New function.
5215
5216 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
5217
5218         * genrecog.c (not_both_true): Handle correctly cases when called for
5219         tests with different positions in the insn.
5220
5221 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5222
5223         * machmode.h (HOST_PTR_PRINTF): Move from here ...
5224
5225         * system.h (HOST_PTR_PRINTF): ... to here.
5226
5227         * mips-tfile.c: Don't include machmode.h.
5228
5229         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
5230         (mips-tfile.o): Don't depend on machmode.h.
5231
5232 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5233
5234         * haifa-sched.c (sched_analyze): Rename local variable `region' to
5235         avoid conflicts with typedef struct `region' at the top level scope.
5236
5237 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
5238
5239         * basic-block.h (basic_block): Add eh_beg, eh_end.
5240         * flow.c (entry_exit_blocks): Update.
5241         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
5242         Call new functions.
5243         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
5244         lists.c functions to allocate insn lists.
5245         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
5246         edge creation ...
5247         (make_eh_edge): ... here.  New.
5248         (move_stray_eh_region_notes): New.
5249         (record_active_eh_regions): New.
5250         (delete_unreachable_blocks): Split out block merging ...
5251         (try_merge_blocks): ... here.  New.
5252         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
5253         Dump debugging data.
5254         (merge_blocks_move_successor_nojumps): Likewise.
5255         (merge_blocks): Use eh_beg+eh_end to validate block movement.
5256
5257 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5258
5259         * extend.texi (Bound member functions): Document unbound pmf
5260         conversion.
5261
5262 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
5263
5264         * flow.c (split_edge): Handle insertion on a fallthrough edge which
5265         has the EXIT_BLOCK as a dest.
5266
5267 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
5268
5269         * flow.c (remove_edge): New function to remove an edge from the 
5270         flow graph.
5271         (remove_fake_successors): New function to remove fake successor edges.
5272         (remove_fake_edges): New function to remove all fake edges from the
5273         flow graph.
5274         (add_fake_exit_edges): New function to add fake edges from all blocks
5275         with no successors to the exit block.
5276         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add 
5277         prototypes for new functions.
5278
5279 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
5280
5281         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
5282         Use Pmode to determine whether to output .dword or .word.
5283
5284 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
5285
5286         * tree.c (built_in_filename): New variable.
5287         (BUILT_IN_FILENAME): New macro.
5288         (init_tree_codes): Allocate built_in_filename.
5289         (make_node): Use built_in_filename instead of string constant.
5290
5291 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
5292
5293         * configure.in: Add fr30 target.
5294         * configure: Regenerate.
5295         * config/fr30: New directory.
5296         * config/fr30/crti.asm: New file.
5297         * config/fr30/fr30.c: New file.
5298         * config/fr30/crtn.asm: New file.
5299         * config/fr30/fr30.h: New file.
5300         * config/fr30/fr30.md: New file.
5301         * config/fr30/lib1funcs.asm: New file.
5302         * config/fr30/t-fr30: New file.
5303         * config/fr30/xm-fr30.h: New file.
5304
5305 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
5306
5307         * flow.c (merge_blocks_move_successor_nojumps): Delete the
5308         BARRIER at the end of the successor, not the BARRIER before
5309         the successor.
5310
5311         * pa.c (pa_add_gc_roots): Fix thinko in last change.
5312
5313 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
5314
5315         * stmt.c (any_pending_cleanups): Don't crash when 
5316         current_function->stmt is unset.
5317
5318 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5319
5320         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
5321         other initializations that may use it for relative offsets.
5322
5323 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5324
5325         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
5326         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
5327         * config/i386/sol2dbg.h: Removed.
5328         * config/i386/sol2gas.h: New file, to enable gas work-around.
5329         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
5330         Don't use sol2dbg.h.
5331         * configure: Rebuilt.
5332
5333 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
5334
5335         * invoke.texi (-fthis-is-variable): Remove documentation.
5336
5337 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
5338
5339         * basic-block.h (compute_bb_for_insn): Declare.
5340         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
5341         to use; set size of basic_block_for_insn directly.
5342         (find_basic_blocks): Update.
5343
5344 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5345
5346         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
5347
5348 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5349
5350         * crtstuff.c (ON_EXIT): Delete empty macro definition.
5351         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
5352
5353 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
5354
5355         * c-decl.c (c_decode_option): Extend comment.
5356
5357 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
5358
5359         * toplev.c (progname): Make 'const char *'
5360         (flag_print_mem): Move out of main.
5361         (version_flag): Move out of main.
5362         (filename): Move out of main.
5363         (debug_args): Remove g prefix from options.
5364         (documented_lang_options): Remove cpplib specific options.
5365         (display_help): Add g prefix to debug options.
5366         (check_lang_option): Delete this function.
5367         (decode_d_option): New function: Decode -d... option.
5368         (decode_f_option): New function: Decode -f... option.
5369         (decode_W_option): New function: Decode -W... option.
5370         (decode_g_option): New function: Decode -g... option.
5371         (independent_decode_option): New function: Decode a language
5372         independent command line option.
5373         (main): Invoke lang_decode_option and then
5374         independent_decode_option on each command line option in
5375         turn. 
5376
5377 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
5378
5379         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
5380          * fold-const.c (fold_range_test): Do not try to fold the range
5381          test if the rhs or lhs has side effects.
5382
5383         * basic-block.h (compute_flow_dominators): Declare.
5384
5385         * gcse.c (alloc_code_hoist_mem): New function.
5386         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
5387         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
5388         (hoist_code, one_code_hoisting_pass): Likewise.
5389         (gcse_main): If optimizing for size, then hoist expressions
5390         computed in multiple dominated basic blocks.
5391
5392         * gcse.c (invalid_nonnull_info): New function.
5393         (delete_null_pointer_checks): Likewise.
5394         * rtl.h (delete_null_pointer_checks): Declare.
5395         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
5396
5397         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
5398         (merge-blocks_move_successor_nojumps): Likewise.
5399         (merge_blocks): Allow merging of some blocks, even if it requires
5400         physical movement of the blocks, but not if it requires new jumps.
5401
5402         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
5403         Callers and prototype changed.
5404         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
5405
5406 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5407
5408         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
5409         -YP when both -p and -pg are present.  From i386/sol2.h.
5410
5411 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5412
5413         * Makefile.in (distclean): Delete tm_p.h.
5414         * configure.in: Create a new file, "tm_p.h", from a list in
5415         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
5416         "i386/i386-protos.h".
5417
5418         * alias.c: Include "tm_p.h".
5419         * c-typeck.c: Likewise.
5420         * calls.c: Likewise.
5421         * cse.c: Likewise.
5422         * emit-rtl.c: Likewise.
5423         * explow.c: Likewise.
5424         * expmed.c: Likewise.
5425         * expr.c: Likewise.
5426         * final.c: Likewise.
5427         * flow.c: Likewise.
5428         * fold-const.c: Likewise.
5429         * function.c: Likewise.
5430         * gcse.c: Likewise.
5431         * global.c: Likewise.
5432         * haifa-sched.c: Likewise.
5433         * integrate.c: Likewise.
5434         * jump.c: Likewise.
5435         * local-alloc.c: Likewise.
5436         * loop.c: Likewise.
5437         * optabs.c: Likewise.
5438         * recog.c: Likewise.
5439         * reg-stack.c: Likewise.
5440         * regclass.c: Likewise.
5441         * regmove.c: Likewise.
5442         * reload.c: Likewise.
5443         * reload1.c: Likewise.
5444         * reorg.c: Likewise.
5445         * resource.c: Likewise.
5446         * stmt.c: Likewise.
5447         * stor-layout.c: Likewise.
5448         * toplev.c: Likewise.
5449         * tree.c: Likewise.
5450         * unroll.c: Likewise.
5451         * genattrtab.c (main): Make generated file include "tm_p.h".
5452         * genemit.c (main): Likewise.
5453         * genoutput.c (main): Likewise.
5454         * genrecog.c (main): Likewise.
5455
5456         * i386.h: Delete all prototypes.
5457         * i386.c: Include "tm_p.h".
5458         (ix86_attr_length_default): Call constant_call_address_operand
5459         with correct number of arguments.
5460         * i386-protos.h: New file.
5461         * i386.md (unnamed patterns): Call constant_call_address_operand
5462         with correct number of arguments.
5463         (exception_receiver): Call load_pic_register with correct number
5464         of arguments.
5465
5466 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
5467
5468         * c-pragma.c (mark_align_stack): Dereference the void* properly.
5469
5470 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
5471
5472         * rtl.h (insns_safe_to_move_p): New function.
5473         * loop.c (find_and_verify_loops): Use it.
5474         * rtlanal.c (insns_safe_to_move_p): Define it.
5475
5476 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
5477
5478         * c-pragma.c: Include ggc.h.
5479         * Makefile.in (c-pragma.o): Update.
5480
5481 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5482
5483         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
5484         (LIB_SPEC): Likewise.
5485         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
5486         Reindent -YP/-p/-pg.
5487         Copied from config/sparc/sol2.h.
5488
5489 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
5490
5491         * c-pragma.c (mark_align_stack): New.
5492         (init_pragma): New.
5493         * c-pragma.h (init_pragma): Declare it.
5494         * c-lex.c (init_parse): Call it.
5495
5496 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5497
5498         * configure.in: Pick up thread library on Solaris/x86 just
5499         like on Solaris/sparc.
5500         * configure: Rebuilt.
5501
5502 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
5503
5504         * rtl.h (global_rtx_index): New enum.
5505         (global_rtl): Change to array of rtx.
5506         (pc_rtx, cc0_rtx): Redefine accordingly.
5507         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
5508         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
5509         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
5510         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
5511         (const_int_rtx): Change to array of rtx.
5512         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
5513         accordingly. 
5514         * emit-rtl.c (global_rtl): Change to array of rtx.
5515         (const_int_rtx): Change to aray of rtx.
5516         (gen_rtx_CONST_INT): Redefine accordingly.
5517         (init_emit_once): Allocate and initialize global_rtl.  Likewise
5518         for const_int_rtx.  Add both as GC roots.
5519         * genattrtab.c (global_rtl): Update declaration.
5520
5521 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
5522
5523         * Makefile (USER_H): Add iso646.h back.
5524
5525 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
5526
5527         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
5528         zapping the LOG_LINKS of sched_before_next_call.
5529
5530         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
5531         * pa.c (insn_refs_are_delayed): Renamed from
5532         insn_sets_and_refs_are_delayed.
5533
5534 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
5535
5536         * functiion.h (struct function): Add x_whole_function_mode_p.
5537         (retrofit_block): Declare.
5538         * function.c (retrofit_block): New function.
5539         (identify_blocks): Add assertions.  Allow an incomplete set of
5540         block notes if we're still generating code for the function.
5541         * integrate.c: Include loop.h.
5542         (expand_inline_function): Call find_loop_tree_blocks to map block
5543         notes to blocks when in whole-function mode.  Use retrofit_block
5544         to insert new BLOCKs for the inlined function, rather than
5545         insert_block.
5546         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
5547         * Makefile.in (integrate.o): Depend on loop.h.
5548
5549 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
5550
5551         * tree.h (warn_about_unused_variables): Declare.
5552         * stmt.c (warn_about_unused_variables): New function, split out
5553         from ...
5554         (expand_end_bindings): Here.
5555
5556 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
5557
5558         * stmt.c (preserve_subexpressions_p): Don't crash when
5559         current_function->stmt is unset.
5560
5561 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
5562
5563         * stmt.c (expand_start_bindings): Allow callers to pass a flag
5564         indicating that no NOTE_INSN_BLOCK_BEG note is required.
5565         (expand_start_target_temps): Use it.
5566         * except.c (expand_eh_region_start_for_decl): Likewise.
5567         * expr.c (expand_expr): Likewise.
5568
5569 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
5570
5571         * fold-const.c (operand_equal_p): Pay attention to side effects.
5572
5573 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
5574
5575         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
5576         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
5577
5578         * tlink.c (scan_linker_output): Look for keywords before accepting
5579         a mangled name in quotes.
5580
5581 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
5582
5583         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
5584         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
5585
5586 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
5587
5588         * alpha.md: Revert Thu Nov 26 change that came in through the
5589         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
5590         Avoid earlyclobber when possible.
5591
5592 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5593
5594         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
5595
5596         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
5597         Define HAVE_ON_EXIT.
5598
5599 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5600
5601         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
5602         CTYPE_CONV in all ctype macros.
5603
5604         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
5605         from system.h.
5606
5607         * cexp.y (initialize_random_junk): Likewise.
5608
5609         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
5610
5611         * i370.c (handle_pragma): Likewise.
5612
5613         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
5614
5615         * v850.c (override_options): Likewise.
5616
5617         * doprint.c (_doprnt): Likewise.
5618
5619         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
5620         Likewise.
5621
5622         * fixinc/server.c (load_data): Likewise.
5623
5624         * fold-const.c (real_hex_to_f): Likewise.
5625
5626         * genattr.c (write_upcase, gen_attr): Likewise.
5627
5628         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
5629         write_upcase): Likewise.
5630
5631         * genemit.c (print_code): Likewise.
5632
5633         * genopinit.c (gen_insn): Likewise.
5634
5635         * genpeep.c (print_code): Likewise.
5636
5637         * genrecog.c (print_code): Likewise.
5638
5639         * optabs.c (init_libfuncs): Likewise.
5640
5641 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
5642
5643         * haifa-sched.c (sched_analyze): Keep the list of notes organized
5644         in pairs.
5645         (reemit_notes): Likewise.
5646
5647 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
5648
5649         * ggc.h (ggc_root): Move to ggc-common.c.
5650         (roots): Remove.
5651         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
5652         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
5653         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
5654         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
5655         * ggc-common.c (ggc_root): Move from ggc.h.
5656         (roots): Declare, static.
5657         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
5658         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
5659         null or check/set mark bit.
5660         (ggc_mark_roots): New.
5661         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
5662
5663 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
5664
5665         * m32r.c: Include toplev.h.
5666         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
5667         (gen_compare): Rename swap_p to must_swap to match uses.
5668         Add default abort case.
5669         (m32r_output_function_epilogue): Remove unused variables.
5670         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
5671         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
5672         define to empty parameter list.  Update all uses.
5673         (predicate decls): Use enum machine_mode not int.
5674         * m32r.md (movsi): Call abort, not fatal_insn.
5675         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
5676
5677 1999-09-14  Andrew Haley  <aph@cygnus.com>
5678
5679         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
5680         use $0 instead of 0.
5681
5682 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5683
5684         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
5685         computation out of loop over hard regs.
5686
5687 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
5688
5689         * function.c (identify_blocks): Don't shadow a variable in an 
5690         outer scope.
5691         * integrate.c (integrate_decl_tree): Don't use pushlevel,
5692         pushdecl, or poplevel to build up the new BLOCK tree.
5693         (expand_inline_function): Likewise.
5694         (integrate_parm_decls): Likewise.
5695
5696 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
5697
5698         * c-typeck.c (qualify_type): Merge qualifiers from both types.
5699
5700 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
5701
5702         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
5703         * invoke.texi: Document this change.
5704
5705 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
5706
5707         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
5708         Free the struct.
5709         (mark_emit_status): Renamed from mark_emit_state.
5710         * except.c (mark_eh_status): Renamed from mark_eh_state.
5711         Check not null before marking.
5712         (free_eh_status): New.
5713         * expr.c (mark_expr_status, free_expr_status): New.
5714         * function.c (free_machine_status): New.
5715         (free_after_parsing): New.
5716         (free_after_compilation): Move bits to free_after_parsing; call
5717         free_eh_status, free_expr_status; zero the marked members of the
5718         function state.
5719         (prepare_function_start): No can_garbage_collect. 
5720         Call init_eh_for_function.
5721         (expand_dummy_function_end): Free up current_function state.
5722         (mark_function_status): Renamed from mark_function_state.
5723         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
5724         * function.h (struct function): No can_garbage_collect.
5725         (free_machine_status, free_after_parsing): Declare.
5726         (free_eh_status, free_expr_status): Declare.
5727         * ggc.h (mark_expr_status): Declare.
5728         * stmt.c (free_stmt_status): Free the struct.
5729         (mark_stmt_status): Renamed from mark_stmt_state.
5730         (init_stmt): Don't call init_eh.
5731         (init_stmt_for_function): Don't call init_eh_for_function.
5732         * toplev.c (compile_file): Call init_eh.
5733         (rest_of_compilation): Free basic block info before ggc_collect.
5734         Call free_after_parsing; conditionally call free_after_compilation.
5735         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
5736         Check not null before marking.
5737         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
5738
5739 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
5740
5741         * c-lex.c (yylex): Initialize warn.
5742
5743 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
5744
5745         * pa.c (emit_move_sequence): Properly set the mode of the scratch
5746         register when performing secondary reloads for the SAR register.
5747
5748 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
5749
5750         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
5751         (NOTE_BLOCK): New macro.
5752         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
5753         * function.h (identify_blocks): Change prototype.
5754         * function.c (identify_blocks): Simplify.
5755         (reorder_blocks): Likewise.
5756         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a 
5757         NOTE_INSN_BLOCK_{BEG,END}.
5758         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
5759         the list of saved notes if the note isn't a
5760         NOTE_INSN_BLOCK_{BEG,END}.
5761         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
5762         NOTE_BLOCK_NUMBER.
5763         (reemit_notes): Adjust recreation of notes to reflect new saved
5764         note structure.
5765         * print-rtl.c (print_rtx): Print the address of the BLOCK when
5766         printing a block note.
5767         * stmt.c (block_vector): Remove.
5768         (find_loop_tree_blocks): Simplify.
5769         (unroll_block_trees): Likewise.
5770         * tree.h (reorder_block): Change prototype.
5771         
5772 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
5773
5774         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
5775         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
5776         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
5777         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
5778         (atexit, exit): Simplify.
5779         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
5780         * config/lots: Remove defns of HAVE_ATEXIT.
5781
5782 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
5783
5784         * calls.c (precompute_arguments): Fix typo in comment.
5785         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
5786         TARGET_EXPR.
5787
5788 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
5789
5790         * dsp16xx.c (override_options): Fix typos in GC root registration.
5791
5792 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
5793
5794         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
5795         from config/svr4.h.
5796         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
5797         (FUNCTION_PROFILER): Redefine appropriately for Linux.
5798         (CC1_SPEC): Likewise.
5799
5800 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5801
5802         * genattr.c (main): Add extern prototype.  Call return, not exit.
5803         * genattrtab.c (main): Likewise.
5804         * gencheck.c (main): Likewise.
5805         * gencodes.c (main): Likewise.
5806         * genconfig.c (main): Likewise.
5807         * genemit.c (main): Likewise.
5808         * genextract.c (main): Likewise.
5809         * genflags.c (main): Likewise.
5810         * gengenrtl.c (main): Likewise.
5811         * genopinit.c (main): Likewise.
5812         * genoutput.c (main): Likewise.
5813         * genpeep.c (main): Likewise.
5814         * genrecog.c (main): Likewise.
5815         
5816         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
5817         * genattrtab.c (get_insn_name): Likewise.
5818         * gencodes.c (get_insn_name): Likewise.
5819         * genconfig.c (get_insn_name): Likewise.
5820         * genemit.c (get_insn_name): Likewise.
5821         * genextract.c (get_insn_name): Likewise.
5822         * genflags.c (get_insn_name): Likewise.
5823         * genopinit.c (get_insn_name): Likewise.
5824         * genpeep.c (get_insn_name): Likewise.
5825         
5826         * gencheck.c (usage): Add static prototype.
5827         * genextract.c (print_path): Constify a char*.
5828         * genopinit.c (optabs): Likewise.
5829         * genoutput.c (operand_data, data, output_predicate_decls,
5830         compare_operands): Likewise.
5831         * genrecog.c (write_tree): Add default case in switch.
5832
5833 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5834
5835         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
5836
5837         * print-rtl.c (get_insn_name): Remove prototype.
5838
5839         * toplev.h (progname): Declare const.
5840
5841         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
5842         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
5843         dump_sched_info, dump_local_alloc, regset_release_memory,
5844         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
5845         error_with_file_and_line, error_with_decl, error_for_asm, error,
5846         fatal, warning_with_file_and_line, warning_with_decl, warning,
5847         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
5848         Remove redundant prototypes.
5849
5850         (notice, check_lang_option, report_file_and_line, vnotice,
5851         mark_file_stack): Add static prototype.
5852         (set_fatal_function): Add prototype.
5853         (vnotice, report_file_and_line, set_fatal_function,
5854         check_lang_option): Constify a char*.
5855         (main): Prototype.  Call return, not exit.
5856
5857 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5858
5859         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
5860
5861         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
5862
5863         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
5864
5865         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
5866
5867 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5868
5869         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
5870         behave as if it's zero in all cases.
5871         (expand_function_start): Adjust call to assign_parms.
5872         * tree.h (assign_parms): Adjust prototype.
5873         * objc/objc-act.c (hack_method_prototype): Adjust call to
5874         assign_parms.
5875
5876 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
5877
5878         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
5879         arg_pointer_rtx fixed if the argument pointer register is
5880         not fixed.
5881         (NONZERO_BASE_PLUS_P): Likewise.
5882
5883 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
5884
5885         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
5886         match_insn2 to match_insn.
5887         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
5888
5889 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
5890
5891         * Makefile.in (USER_H): Remove va-foo.h.
5892
5893         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
5894         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
5895         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
5896         va-spur.h,va-v850.h}: Remove.
5897
5898 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
5899
5900         * sparc/sparc.md (eligible_for_return_delay): New attribute.
5901         (in_return_delay): Use it instead of match_insn.
5902
5903 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5904
5905         * config/alpha/va_list.h (va-alpha.h): Do not include.
5906         (__gnuc_va_list): Typedef as in varargs.h.
5907
5908 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
5909
5910         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
5911         DECL_LIVE_RANGE_RTL.
5912
5913 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
5914
5915         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
5916         not NOTE_BLOCK_NUMBER.
5917         (expand_eh_region_end): Likewise.
5918         (find_exception_handler_labels): Likewise.
5919         (scan_region): Likewise.
5920         (exception_optimize): Likewise.
5921         (update_rethrow_references): Likewise.
5922         (set_insn_eh_region): Likewise.
5923         * final.c (final_scan_insn): Likewise.
5924         * flow.c (make_edges): Likewise.
5925         * integrate.c (expand_inline_function): Likewise.
5926         * print-rtl.c (print_rtx): Likewise.
5927
5928 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
5929
5930         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
5931         terms of builtin functions and types.
5932
5933         * mips.c (mips_build_va_list): New.
5934         (mips_va_start, mips_va_arg): New.
5935         * mips.h (BUILD_VA_LIST_TYPE): New.
5936         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5937
5938         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
5939         (sh_build_va_list, sh_va_start, sh_va_arg): New.
5940         * sh.h (BUILD_VA_LIST_TYPE): New.
5941         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5942
5943 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
5944
5945         * recog.h (struct recog_data): Make dup_num, operand_address_p,
5946         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
5947         (struct insn_data): Likewise with n_operands, n_dups, 
5948         n_alternatives, output_format.
5949         * regclass.c (scan_one_insn): Cast n_operands to int before
5950         arithmetic inside comparison.
5951
5952 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
5953
5954         * toplev.c (compile_function): Unconditionally emit nop.
5955
5956 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5957
5958         * haifa-sched.c (actual_hazard): Move declaration of variable
5959         `this_cost' into the scope where it is used.
5960
5961 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5962
5963         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
5964         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
5965         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
5966
5967         * genrecog.c (make_insn_sequence): Call memset, not bzero.
5968
5969         * jump.c (find_insert_position): Don't declare or define unless
5970         !HAVE_conditional_arithmetic.
5971         (returnjump_p_1, delete_prior_computation): Add static prototypes.
5972
5973         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
5974         
5975         * recog.c (offsettable_address_p): Prototype function pointer.
5976         (preprocess_constraints): Call memset, not bzero.
5977         
5978         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
5979         (gcc_obstack_init): Don't declare.
5980         (fix_sizetype): Add static prototype.
5981         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
5982         (tree_cons): Call memset, not bzero.
5983
5984         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
5985         definition in macro ASM_WEAKEN_LABEL.
5986         (mark_const_hash_entry): Add static prototype.
5987
5988 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5989
5990         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
5991
5992         * unroll.c (find_common_reg_term, subtract_reg_term,
5993         loop_find_equiv_value): Add static prototypes.
5994         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
5995         (copy_loop_body): Remove unreachable break statement.
5996         
5997         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
5998
5999         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
6000         
6001 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6002
6003         Undo some changes from the gcc2 merge:
6004         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
6005         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
6006         pointers.
6007
6008         Undo this change:
6009         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
6010         * emit-rtl.c (gen_lowpart_common): Disable optimization of
6011         initialized float-int union if the value is a NaN.
6012
6013 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6014
6015         * gthr-win32.h: New file.
6016
6017         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
6018         shared as a valid attribute.
6019         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
6020         * extend.texi: Document `shared' variable attribute.
6021
6022 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
6023
6024         * configure.in: Handle --enable-threads on FreeBSD.
6025         * configure: Rebuit.
6026
6027 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6028
6029         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add 
6030         thread support.
6031         * configure: Rebuilt.
6032
6033 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
6034                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
6035                           Rosimildo DaSilva <rdasilva@connecttel.com>
6036
6037         * configure.in (m68k-*-rtemscoff*): Added.
6038         * configure.in (mips64orion-*-rtems*): Converted to ELF.
6039         * configure.in (sparc-*-rtemsaout*): Added as alias for old
6040         sparc-rtems configuration.
6041         * configure.in (sparc-*-rtemself*): Added.
6042         * configure.in (sparc-*-rtems*): Now ELF not a.out.
6043         * config/i386/rtems.h: Added comment.
6044         * config/sparc/rtemself.h: New file.
6045
6046         * configure.in (m68k-rtemself): Added.
6047         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
6048         and DWARF_DEBUGGING_INFO.
6049         * config/m68k/crti.s: New file.
6050         * config/m68k/crtn.s: New file.
6051         * config/m68k/t-crtstuff: New file.
6052         * config/m68k/rtemself.h: New file.
6053
6054         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
6055         global ctor/dtor and C++ exception handling.
6056         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
6057         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
6058         ENDFILE_SPEC.
6059         * config/i386/t-rtems-i386: New File.
6060
6061 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
6062
6063         * stmt.c (expand_end_case): Return right away if the case stack is
6064         empty.
6065
6066 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
6067
6068         * Makefile.in (version.c): Remove rule incorrectly brought in from
6069         the gcc2 merge.
6070
6071 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
6072
6073         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
6074         * msdos/top.sed:  Take into account a prepended $(SHELL) to
6075         move-if-change.
6076         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
6077
6078         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
6079
6080 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6081
6082         * regmove.c (fixup_match_1): Don't change an unchanging register.
6083         (stable_but_for_p): Renamed to:
6084         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
6085         Changed all callers.
6086
6087 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
6088
6089         * loop.c (strength_reduce): Don't call reg_used_between_p if the
6090         insn from BL2 is after the insn from BL.
6091
6092 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
6093
6094         * recog.h (INSN_OUTPUT_FORMAT_*): New.
6095         (struct insn_data): Merge `template' and `outfun' into `output'.
6096         Add `output_format'.
6097         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
6098         (struct data): Remove `outfun'; add `output_format'.
6099         (name_for_index): Remove declaration.
6100         (output_insn_data): Handle output formats.
6101         (process_template): Emit the bare array for @.
6102         (gen_expand, gen_split): Set output_format to NONE.
6103         * output.h (get_insn_template): Declare.
6104         * final.c (get_insn_template): New.
6105         (final_scan_insn): Use it.
6106         * toplev.c (compile_file): Likewise.
6107
6108         * c4x/c4x.c (c4x_process_after_reload): Likewise.
6109         * i860/i860.c (output_delayed_branch): Likewise.
6110         (output_delay_insn): Likewise.
6111
6112 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6113
6114         * rtl.c (obstack_alloc_rtx): Removed.
6115
6116 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
6117
6118         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
6119
6120 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
6121
6122         * i386.c (call_insn_operand): Reject const_int.
6123         (expander_call_insn_operand): Use call_insn_operand.
6124
6125 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6126
6127         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
6128
6129 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
6130
6131         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
6132         Use DImode operation.
6133
6134 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
6135
6136         * gcc.c: Include sys/resource.h.
6137         (report_times): New flag.
6138         (execute):  If report_times is set, calculate and report the
6139         CPU time consumed by each subprocess.
6140
6141         (rus, prus): New globals.
6142         (option_map): Add --time.
6143         (display_help): Document -time.
6144         (process_command): Set report_times if -time is given.
6145         Turn off -pipe if -time is given.
6146
6147         * invoke.texi: Document new option -time.
6148
6149         * configure.in: Check for getrusage.  Check if we have to
6150         prototype getrusage.
6151         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
6152         * configure: Regenerate.
6153         * config.in: Regenerate.
6154
6155 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
6156
6157         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
6158         fields.
6159
6160 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
6161
6162         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
6163         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
6164         (nan): Return _thenan_sf or _thenan_df as appropriate.
6165         (L_thenan_sf): Define _thenan_sf.
6166         (L_thenan_df): Define _thenan_df.
6167
6168         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
6169         (DPBIT_FUNCS): Add _thenan_df.
6170
6171 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
6172
6173         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
6174         TYPE_SIZE_UNIT.
6175
6176 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6177
6178         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
6179
6180         * gcc.h: New file.
6181         (lang_specific_driver): Don't take a function pointer parameter.
6182         All callers changed.
6183
6184         * gcc.c: Include gcc.h.
6185         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
6186         lang_specific_extra_outfiles, fatal): Don't declare.
6187         (multilib_defaults_raw): Constify.
6188         (read_specs): Call memset, rather than bzero.
6189         (main): Call return, not exit.
6190         (lookup_compiler): Call memcpy, not bcopy.
6191         (fatal): Make extern.
6192
6193         * cppspec.c: Include gcc.h.
6194         (lang_specific_driver): Initialize variable `quote'.  Constify a
6195         char*.  All calls to the function pointer parameter now
6196         explicitly call `fatal'.
6197
6198         * gccspec.c (lang_specific_driver): Include gcc.h.
6199
6200 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
6201
6202         * arm.c (note_invalid_constants): Use recog_data.operand_type
6203         for recog_op_type.
6204
6205 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6206
6207         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
6208         Declare.
6209
6210         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
6211         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
6212         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
6213         reload_secondary_in_reload, reload_secondary_out_reload,
6214         reload_secondary_in_icode, reload_secondary_out_icode,
6215         reload_reg_rtx, reload_when_needed): Delete declarations.
6216         (struct reload): New structure.
6217         (rld): Declare new array.
6218         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
6219         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
6220         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
6221         reload_secondary_in_reload, reload_secondary_out_reload,
6222         reload_secondary_in_icode, reload_secondary_out_icode,
6223         reload_reg_rtx, reload_when_needed): Delete definitions.
6224         (rld): New array.
6225         (whole file): Replace uses of the deleted arrays with uses of rld.
6226         * reload1.c (whole file): Replace uses of the deleted arrays with
6227         uses of rld.
6228         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
6229         explicit loops, not with bcopy.
6230
6231 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
6232
6233         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
6234         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
6235         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
6236         insn_name): Delete and consolidate into new structures.
6237         (insn_operand_predicate_fn): New.
6238         (insn_output_fn): New.
6239         (insn_gen_fn): New.
6240         (struct insn_operand_data): New.
6241         (struct insn_data): New.
6242         (insn_data): New.
6243         (OUT_FCN): Update for insn_data change.
6244         * builtins.c (expand_builtin_strlen): Likewise.
6245         (expand_builtin_memcmp): Likewise.
6246         * combine.c (make_extraction, simplify_comparison): Likewise.
6247         * cse.c (canon_reg, cse_insn): Likewise.
6248         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
6249         * expmed.c (store_bit_field, extract_bit_field): Likewise.
6250         (emit_store_flag): Likewise.
6251         * expr.c (convert_move, emit_block_move): Likewise.
6252         (clear_storage, emit_push_insn, expand_increment): Likewise.
6253         (do_store_flag): Likewise.
6254         * expr.h (GEN_FCN): Likewise.
6255         (insn_gen_function): Die.
6256         * final.c (final_scan_insn): Update for insn_data change.
6257         (output_asm_name): Likewise.
6258         * function.c (fixup_var_refs_1): Likewise.
6259         * loop.c (check_dbra_loop): Likewise.
6260         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
6261         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
6262         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
6263         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
6264         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
6265         * regmove.c (gen_add3_insn): Likewise.
6266         * reload.c (push_secondary_reload, combine_reloads): Likewise.
6267         (find_reloads, find_reloads_address_1): Likewise.
6268         (debug_reload_to_stream): Likewise.
6269         * reload1.c (emit_reload_insns, gen_reload): Likewise.
6270         * stmt.c (expand_end_case): Likewise.
6271         * toplev.c (compile_file): Likewise.
6272
6273         * c4x/c4x.c (c4x_process_after_reload): Likewise.
6274         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
6275
6276         * print-rtl.c (insn_name_ptr): Remove declaration.
6277         (get_insn_name): Declare.
6278         (print_rtx): Use it.
6279         * genoutput.c (insn_name_ptr): Remove.
6280         (next_operand_number): New.
6281         (struct operand_data): New.
6282         (null_operand, odata, odata_end): New.
6283         (struct data): Use struct operand_data.
6284         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
6285         (get_insn_name): Renamed from name_for_index.
6286         (output_prologue): Define NO_MD_PROTOTYPES.
6287         (output_predicate_decls): Break out from output_epilogue.
6288         Iterate over the operands list.
6289         (output_operand_data): Break out from output_epilogue.  Emit
6290         just the operands list.
6291         (output_insn_data): Break out from output_epilogue.  Emit just
6292         the insn data.
6293         (output_epilogue): Remove.
6294         (output_get_insn_name): New.
6295         (constraints, op_n_alternatives, predicates, address_p): Die.
6296         (modes, strict_low, seen): Die.
6297         (scan_operands): Take new param `d' instead of writing to 
6298         seven global variables.
6299         (compare_operands): New.
6300         (place_operands): New.
6301         (validate_insn_alternatives): Update for struct data change.
6302         (gen_insn): Don't zero or copy 7 global arrays.  Update for
6303         scan_operands; call place_operands.
6304         (gen_peephole, gen_expand, gen_split): Likewise.
6305         (main): Update for new output routines.
6306
6307         * genattr.c (insn_name_ptr): Remove.
6308         (get_insn_name): New function.
6309         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
6310         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
6311         * genrecog.c: Likewise.
6312
6313         * alpha.md (adddi3): Make `pattern' array static.
6314
6315 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6316
6317         * config/c4x/c4x.h (c4x_rpts_cycles_string,
6318         c4x_cpu_version_string): Constify char *.
6319         * config/c4x/c4x.c (c4x_rpts_cycles_string,
6320         c4x_cpu_version_string): Likewise.
6321
6322 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
6323
6324         * tree.c (save_tree_status): Revert 10 Sep change.
6325         (restore_tree_status): Likewise.  Call obstack_free with NULL 
6326         before freeing the obstack proper.
6327
6328 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
6329
6330         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
6331
6332         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
6333         surrounding context.
6334
6335 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
6336
6337         * tree.c (type_hash_canon): Put all types in the hash-table, when
6338         GC'ing.
6339
6340 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
6341
6342         * recog.h (struct recog_data, recog_data): New.
6343         (recog_foo variables): Kill.
6344         * recog.c (recog_operand, recog_operand_loc): Kill.
6345         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
6346         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
6347         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
6348         (recog_data): Define.
6349         (extract_insn): Update all recog_foo references to use recog_data.
6350         (preprocess_constraints, constrain_operands): Likewise.
6351         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
6352         * genattrtab.c (main): Likewise.
6353         * genextract.c (main): Likewise.
6354         * genoutput.c: Likewise.
6355         * genrecog.c (write_subroutine, main): Likewise.
6356         * local-alloc.c (block_alloc): Likewise.
6357         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
6358         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
6359         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
6360         * reload.c (find_reloads, find_reloads_toplev): Likewise.
6361         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
6362         (reload_cse_simplify_operands): Likewise.
6363
6364         * arc/arc.c (arc_final_prescan_insn): Likewise.
6365         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
6366         * h8300/h8300.c (notice_update_cc): Likewise.
6367         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
6368         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
6369         * mn10200/mn10200.c (notice_update_cc): Likewise.
6370         * mn10300/mn10300.c (notice_update_cc): Likewise.
6371         * romp/romp.c (update_cc): Likewise.
6372         * sparc/sparc.c (check_pic): Likewise.
6373         * v850/v850.c (notice_update_cc): Likewise.
6374
6375         * genemit.c (main): Don't declare recog_operand.
6376
6377 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
6378
6379         * ggc.h (rtvec_def): Forward declare.
6380         (tree_node): Likewise.
6381         (ggc_root): Define.
6382         (roots): Declare.
6383         (ggc_set_mark_rtx): Add prototype.
6384         (ggc_set_mark_rtvec): Likewise.
6385         (ggc_set_mark_tree): Likewise.
6386         * ggc-simple.c (ggc_root): Don't define.
6387         (roots): Don't declare.
6388         (ggc_mark_rtx): Remove.
6389         (ggc_mark_rtvec): Likewise.
6390         (ggc_mark_tree): Likewise.
6391         (ggc_mark_varray): Likewise.
6392         (ggc_mark_tree_hash_table_entry): Likewise.
6393         (ggc_mark_tree_hash_table): Likewise.
6394         (ggc_set_mart_rtx): New function.
6395         (ggc_set_mark_rtvec): Likewise.
6396         (ggc_set_mark_tree): Likewise.
6397         (ggc_add_root): Remove.
6398         (ggc_add_rtx_root): Likewise.
6399         (ggc_remove_tree_root): Likewise.
6400         (ggc_add_string_root): Likewise.
6401         (ggc_add_tree_varray_root): Likewise.
6402         (ggc_add_tree_hash_table_root): Likewise.
6403         (ggc_del_root): Likewise.
6404         (ggc_mark_rtx_ptr): Likewise.
6405         (ggc_mark_tree_ptr): Likewise.
6406         (ggc_mark_string_ptr): Likewise.
6407         (ggc_mark_tree_varray_ptr): Likewise.
6408         (ggc_mark_tree_hash_table_ptr): Likewise.
6409         * ggc-common.c: New file.
6410         * Makefile.in (OBJS): Add ggc-common.o.
6411         (ggc-common.o): List dependencies.
6412
6413 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
6414
6415         * cppalloc.c (xstrdup): Use memcpy.
6416         * cpperror.c (cpp_print_containing_files): Don't use
6417         cpp_notice.
6418         * cpplib.c (conditional_skip): Set temp->lineno.
6419         (do_endif): Make error message less obscure.
6420         (if_directive_name): New function.
6421         (cpp_get_token [case EOF]): Unwind the if stack and generate
6422         error messages for each unterminated conditional in this file.
6423         (parse_string):  Do not behave differently if -traditional.
6424
6425 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
6426
6427         * builtins.c (expand_builtin_va_arg): Cope with an array-type
6428         va_list decomposing to pointer-type.
6429         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
6430         (rs6000_va_arg): Likewise.
6431
6432 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
6433
6434         * except.c (start_dynamic_handler): Compute size using
6435         STACK_SAVEAREA_MODE.
6436
6437 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6438
6439         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
6440         include directory headers.  Don't define strrchr.  Don't provide
6441         my_* replacement functions.  Prefer PTR over `pointer_type'.
6442         Don't prototype system functions.  Don't redefine getopt.
6443
6444         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
6445         safe_read, safe_write, save_pointers, restore_pointers,
6446         is_id_char, in_system_include_dir, directory_specified_p,
6447         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
6448         find_corresponding_lparen, referenced_file_is_newer,
6449         save_def_or_dec, munge_compile_params, gen_aux_info_file,
6450         process_aux_info_file, identify_lineno, check_source,
6451         seek_to_line, forward_to_next_token_char, output_bytes,
6452         output_string, output_up_to, other_variable_style_function,
6453         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
6454         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
6455         find_static_definition, connect_defs_and_decs, add_local_decl,
6456         add_global_decls, needs_to_be_converted, visit_each_hash_node,
6457         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
6458         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
6459         scan_for_missed_items, edit_file, string_list_cons): Add static
6460         prototypes.
6461         (standard_exec_prefix, target_machine, target_version,
6462         default_syscalls_dir, string_list, string_list_cons, find_file,
6463         do_cleaning): Constify a char*.
6464         (safe_read, safe_write): Use PTR, not a char*.
6465         (is_id_char): Take an int, not a char.
6466         (main): Add prototype.  Call return, not exit.
6467
6468 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
6469
6470         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
6471         when comparing types.
6472
6473 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
6474
6475         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
6476         (strength_reduce): Release the varrays from the no-bivs early exit.
6477
6478         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
6479         the loop over the registers.
6480
6481         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
6482         for a new obstack.
6483         (restore_tree_status): Check that instead when freeing the obstack.
6484
6485 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
6486
6487         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
6488         as pointers.
6489
6490 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6491
6492         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
6493         operand size modifiers.
6494
6495 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6496
6497         * c-common.c (c_common_nodes_and_builtins): Don't build
6498         va_list_type_node.
6499         * c-common.h (enum c_tree_index and related accesor macros): Remove
6500         everything now declared in tree.h.
6501         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6502         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
6503         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
6504         (error_mark_node, void_type_node, char_type_node, integer_type_node,
6505         unsigned_type_node, ptr_type_node, va_list_type_node,
6506         integer_zero_node, null_pointer_node, integer_one_node): Delete.
6507         (init_decl_processing): Call build_common_tree_nodes and
6508         build_common_tree_nodes_2 instead of building their nodes here.
6509         Don't add roots for these nodes.
6510         * stor-layout.c (size_zero_node, size_one_node): Delete.
6511         (set_sizetype): Make a new node for bitsizetype each time.
6512         * tree.c (global_trees): New variable.
6513         (init_obstacks): Add a gc root for it.
6514         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6515         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
6516         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
6517         (build_common_tree_nodes): New function.
6518         (fix_sizetype): New function.
6519         (build_common_tree_nodes_2): New function.
6520         * tree.h (enum tree_index): New.
6521         (global_trees): Declare.
6522         Add accessor macros for all nodes now moved to global_trees.
6523         Delete their declarations.
6524
6525 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
6526
6527         * c-decl.c (finish_function): When processing a nested function,
6528         push and pop GC context around rest_of_compilation.
6529
6530 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
6531
6532         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
6533         Default ix86_arch to PROCESSOR_I386.
6534         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
6535         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
6536         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
6537         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
6538         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
6539         (EXTRA_SPECS): Remove deleted specs.
6540
6541 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
6542
6543         * function.c (assign_stack_local_1): Allocate from
6544         function->x_frame_offset, not frame_offset.
6545
6546 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
6547
6548         * ggc.h (lang_cleanup_tree): Remove.
6549         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
6550         * ggc-callbacks.c (lang_cleanup_tree): Remove.
6551
6552         * c-decl.c (finish_struct): Use ggc_alloc to allocate
6553         TYPE_LANG_SPECIFIC when garbage collecting.
6554         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
6555         (lang_cleanup_tree): Remove.
6556
6557 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
6558
6559         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
6560         * crtstuff.c: Not here.
6561         * dwarf2out.c: Or here.
6562         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
6563         info.
6564
6565 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
6566
6567         * function.h (free_after_compilation): Remove decl parameter.
6568         (free_varasm_status0: Likewise.
6569         (free_emit_status): Likewise.
6570         (free_stmt_status): Likewise.
6571         (free_after_compilation): Likewise.
6572         (init_lang_status): New variable.
6573         (free_lang_status): Likewise.
6574         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
6575         * function.c (init_lang_status): New variable.
6576         (free_lang_status): Likewise.
6577         (push_function_context_to): Don't set function::decl here.
6578         (free_after_copmilation): Make decl parameter implicit.  Call
6579         free_lang_status if defined.
6580         (prepare_function_start): Call init_lang_status if defined.
6581         (init_function_start): Set function::decl here.
6582         * profile.c (output_func_start_profiler): Don't call pushdecl
6583         until we've actually started the function.
6584         * stmt.c (free_stmt_status): Make decl parameter implicit.
6585         * toplev.c (rest_of_compilation): Don't pass decl to
6586         free_after_compilation.
6587         * varasm.c (free_varasm_status): Likewise.
6588
6589 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6590
6591         * except.c (call_get_eh_context): Add root when allocating static
6592         tree variable.
6593
6594 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
6595
6596         * arm.c: Include "ggc.h".
6597         (arm_add_gc_roots): New function.
6598         (arm_override_options): Call it.
6599         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
6600
6601         * arm.md (define_asm_attributes): Add a pool_range attribute.
6602
6603 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
6604
6605         * extend.texi (Volatiles): New node.
6606
6607 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
6608
6609         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
6610         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
6611         (struct ggc_any): Replace `mark' with `magic_mark'.
6612         (ggc_alloc_string): Use memcpy, not bcopy.
6613         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
6614         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
6615         (ggc_free_any): New.
6616         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
6617         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
6618         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
6619         Use IS_MARKED. Use ggc_free_any.
6620
6621 1999-09-09  Scott Bambrough <scottb@netwinder.org>
6622
6623         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
6624
6625 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
6626
6627         * toplev.c (main): Always init_ggc.
6628
6629 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
6630
6631         * except.c (find_all_handler_type_matches): Free the list if
6632         we found no matches.
6633
6634         * combine.c (SUBST): Break out to a real function do_SUBST.
6635         (SUBST_INT): Likewise.
6636         * gcse.c (free_pre_mem): Free `temp_bitmap'.
6637         (pre_insert): Free `inserted'.
6638         * loop.c (basic_induction_var): Always set `location'.
6639
6640         * function.c (expand_function_end): Add initial_trampoline as a root.
6641         * rtl.h (init_varasm_once): Declare.
6642         * toplev.c (compile_file): Call it.
6643         * ggc-simple.c (ggc_mark_string_ptr): New.
6644         (ggc_add_string_root): New.
6645         (ggc_collect): Disable collection avoidance temporarily.
6646         * ggc.h (ggc_add_string_root): Declare.
6647         * except.c (create_rethrow_ref): Use ggc_alloc_string.
6648         * optabs.c (init_libfuncs): Likewise.
6649         * varasm.c (named_section): Use ggc_alloc_string.
6650         (make_function_rtl): Likewise.
6651         (make_decl_rtl): Likewise.
6652         (assemble_static_space): Likewise.
6653         (assemble_trampoline_template): Likewise.
6654         (output_constant_def): Likewise.
6655         (force_const_mem): Likewise.
6656         (mark_const_hash_entry): New.
6657         (mark_pool_sym_hash_table): New.
6658         (mark_varasm_state): Use it.
6659         (init_varasm_once): New.
6660
6661         * expr.h (init_one_libfunc): Declare.
6662         * optabs.c (init_one_libfunc): New.
6663         (init_optabs): Use it.
6664         * config/gofast.h: Likewise.
6665         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
6666         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
6667
6668 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
6669
6670         * Makefile.in (cppexp.o): Depend on cpphash.h.
6671         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
6672         Include cpphash.h.
6673         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
6674         * cpplib.c (do_define): Generalise to handle poisoned definitions,
6675         redefining poisoned identifiers, etc.
6676         (do_undef): Don't allow poisoned identifiers to be undefined.
6677         (do_pragma): Add #pragma poison.
6678         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6679
6680         * cccp.c: Add T_POISON node type.
6681         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
6682         poisoned xxx.
6683         (do_define): Generalise to handle poisoned definitions,
6684         redefining poisoned identifiers, etc.
6685         (do_undef): Don't allow poisoned identifiers to be undefined.
6686         (do_pragma): Add #pragma poison.
6687         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6688
6689         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
6690         * c-pragma.h: Add ps_poison state.  We now always have generic
6691         pragmas.
6692
6693 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
6694
6695         * ggc.h (ggc_alloc): New function.
6696         (ggc_mark): Likewise.
6697         * ggc-simple.c (ggc_any): New structure.
6698         (ggc_status): Add anys.
6699         (n_anys_collected): New variable.
6700         (ggc_alloc): Define.
6701         (ggc_mark): Likewise.
6702         (ggc_collect): Collect the anys.
6703
6704 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6705
6706         * c-decl.c (mark_binding_level): Make static to match prototype.
6707
6708 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
6709
6710         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
6711
6712 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
6713
6714         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
6715         will use into account.  Expand the max width to 5.
6716         * rtl.c: Likewise.
6717
6718 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
6719
6720         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
6721         for the rtx length.
6722
6723 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
6724
6725         * alpha.md (call value patterns): Remove the result predicates.
6726
6727 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
6728
6729         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
6730         last change.
6731
6732 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6733
6734         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
6735         changed from extern char *, to extern PTR.  Also fix typo in
6736         NEED_DECLARATION_REALLOC test.
6737
6738         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
6739
6740 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6741
6742         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
6743         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
6744         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
6745         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
6746
6747         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
6748
6749         * cccp.c (pcfinclude): Likewise.
6750
6751         * global.c (allocno_compare): Likewise.
6752
6753         * haifa-sched.c (rank_for_schedule): Likewise.
6754
6755         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
6756
6757         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
6758
6759         * stupid.c (stupid_reg_compare): Likewise.
6760
6761         * tree.c (_obstack_allocated_p): Likewise.
6762
6763         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
6764
6765 1999-09-08  Bruce Korb  autogen@linuxbox.com
6766
6767         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
6768         why "gperf -F" fails.
6769         * gcc/cp/Makefile.in: ditto
6770         * gcc/Makefile.in: ditto
6771         * gcc/java/Makefile.in: ditto
6772
6773 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
6774
6775         * lists.c: Include ggc.h.
6776         (zap_lists): New.
6777         (init_EXPR_INSN_LIST_cache): Install it.
6778
6779         * ggc-simple.c (init_ggc): Absorb the old init.
6780         (ggc_push_context): Use xcalloc.
6781         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
6782         (ggc_collect): Add [rvts] tags to the collection stats.
6783
6784 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
6785
6786         * cccp.c (main): Fix handling of -include and -imacros options.
6787
6788 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
6789
6790         * cpplib.c (cpp_push_buffer): Fix order of arguments.
6791
6792 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
6793
6794         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
6795         genrtl.c.
6796
6797 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
6798
6799         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
6800         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
6801         and SET_DEST. Update comment.
6802
6803 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6804
6805         * config/c4x/c4x.c: Include ggc.h.
6806         (c4x_add_gc_roots): New function.
6807         (c4x_override_options): Call c4x_add_gc_roots.
6808
6809 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
6810
6811         * defaults.h (TARGET_ESC): Move ...
6812         * system.h: ... here, where Linas had it in the first place.  Silly me.
6813
6814 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
6815
6816         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
6817         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
6818         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
6819         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
6820         * defaults.h (TARGET_ESC): Add default.
6821
6822 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
6823
6824         * configure.in: add i370-*-openedition, i370-*-mvs and
6825         i370-*-linux targets
6826
6827 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
6828
6829         * dsp16xxx.c: Include ggc.h
6830         (override_options): Mark GC roots.
6831         * mn10200.c: Include ggc.h.
6832         (asm_file_start): Mark GC roots.
6833         * tahoe.c: Include ggc.h.
6834         (extensible_operand): Mark GC roots.
6835
6836 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
6837
6838         * README: Add section discussing status of ELF ABI.
6839         * i370.c: Fix misc spelling mistakes.
6840         (i370_label_scan): Updated notes, exception handling.
6841         (i370_function_prolog): Simplify ELF stack handling.
6842         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
6843         (STACK_GROWS_DOWNWARD): ELF stack grows down.
6844         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
6845         * i370.md: (movdi): Add notes.
6846         (floatsidf2): Use stack not rtca for scratch float area.
6847         (iorsi3): Correct operand constraints.
6848         * x-oe: Restore TAROUTOPTS which are used by pax.
6849
6850 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
6851
6852         * rs6000.c: Include ggc.h.
6853         (rs6000_add_gc_roots): New function.
6854         (override_options): Call it.
6855
6856 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
6857
6858         * alpha.h (alpha_compare): New.
6859         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
6860         * alpha.c: Likewise for the definitions.
6861         (alpha_emit_conditional_branch): Update for alpha_compare.
6862         (alpha_emit_conditional_move): Likewise.
6863         * alpha.md (cmpdf, cmpdi): Likewise.
6864         (setcc patterns): Likewise.  Zero alpha_compare after use.
6865         (sne): Optimize (x != 0) into (0U < x).
6866
6867 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
6868
6869         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
6870         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
6871         (INIT_EXPANDERS): Remove.
6872         * alpha.c: Include ggc.h.
6873         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
6874         (alpha_init_machine_status, alpha_mark_machine_status): New.
6875         (override_options): Install them.
6876         (struct machine_function): Moved to alpha.h.
6877         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
6878         (alpha_init_expanders): Remove.
6879         (alpha_return_addr): Adjust to use current_function->machine.
6880         (alpha_ra_ever_killed): Likewise.
6881         (alpha_expand_epilogue): Likewise.
6882         * alpha.md (eh_epilogue): Likewise.
6883
6884 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
6885                           Melissa O'Neill  <oneill@cs.sfu.ca>
6886                           Geoffrey Keating  <geoffk@cygnus.com>
6887
6888         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
6889         call-used registers (call-saved registers must still be contiguous
6890         and end with r31, of course).
6891
6892 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
6893
6894         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
6895         (self_promoting_type_p): Delete.
6896         (self_promoting_args_p): Move ...
6897         * c-common.c: ... here.
6898         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
6899         (simple_type_promotes_to): New.
6900         * builtins.c (lang_type_promotes_to): New.
6901         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
6902         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
6903         * c-common.h: ... here.
6904         (self_promoting_args_p, simple_type_promotes_to): Declare.
6905         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
6906         (grokdeclarator): Likewise.
6907         * tree.h (lang_type_promotes_to): Declare.
6908
6909 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
6910
6911         Add some machine-dependent GC roots.
6912         * sparc.c: Include ggc.h.
6913         (sparc_add_gc_roots): New function.
6914         (mark_ultrasparc_pipeline_state): Likewise.
6915         (override_options): Call sparc_add_gc_roots.
6916         * pa.c: Include ggc.h.
6917         (pa_add_gc_roots): New function.
6918         (mark_deferred_plabels): Likewise.
6919         (override_options): Call pa_add_gc_roots.
6920         * mips.c: Include ggc.h.
6921         (mips_add_gc_roots): New function.
6922         (override_options): Use it.
6923
6924 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6925
6926         * cpperror.c (cpp_file_line_for_message): Constify a char*.
6927
6928         * cppexp.c (parse_number, parse_charconst, cpp_lex,
6929         cpp_parse_expr): Add static prototypes.
6930         (parse_charconst): Don't cast away const-ness.
6931         (token): Constify a char*.
6932
6933         * cppfiles.c (file_name_list, include_hash, find_include_file,
6934         finclude, initialize_input_buffer): Constify a char*.
6935         (file_cleanup, find_position): Add static prototypes.
6936
6937         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
6938         collect_expansion): Add static prototypes.
6939         (cpp_install, create_definition, monthnames): Constify a char*.
6940
6941         * cpphash.h (cpp_install): Likewise.
6942
6943         * cppinit.c (known_suffixes, default_include,
6944         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
6945         (base_name, dump_special_to_buffer, initialize_dependency_output):
6946         Add static prototypes.
6947
6948         * cpplib.c (my_strerror): Constify a char*.
6949         (null_underflow, null_cleanup, skip_comment, copy_comment,
6950         copy_rest_of_line, handle_directive, pass_thru_directive,
6951         get_directive_token, read_line_number, cpp_print_file_and_line,
6952         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
6953         v_cpp_warning_with_line, detect_if_not_defined,
6954         consider_directive_while_skipping): Add static prototypes.
6955         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
6956         cpp_pedwarn_with_file_and_line): Constify a char*.
6957
6958         * cpplib.h (cpp_options, include_hash, progname, definition,
6959         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
6960         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
6961         find_include_file, deps_output, include_hash): Constify a char*.
6962
6963         * cppmain.c (progname): Constify.
6964         (main): Add prototype.  Use return, not exit.
6965
6966         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
6967         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
6968         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
6969         check_protection): Add static prototype.
6970         (xfree): Remove.
6971         (progname, recognized_macrom, recognized_extern): Constify a char*.
6972         (main): Add prototype.
6973
6974         * gen-protos.c (progname): Constify a char*.
6975
6976 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
6977
6978         * emit-rtl.c (free_emit_status): Take decl as a parameter.
6979         (init_emit_once): Add more GC roots.
6980         * except.c (mark_func_eh_entry): New function.
6981         (mark_eh_node): Mark false_label and rethrow_label.
6982         (init_eh): Add more GC roots.
6983         * function.c (free_after_compilation): Take decl as a paramter.
6984         Call free_stmt_status.
6985         (mark_function_state): Don't assume x_parm_reg_stack_loc is
6986         non-NULL.
6987         * function.h (free_after_compilation): Change prototype.
6988         (free_varasm_status): Likewise.
6989         (free_emit_status): Likewise.
6990         (free_stmt_status): New function.
6991         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
6992         Remove, replacing with ...
6993         (ggc_status): New structure.
6994         (ggc_chain): New variable.
6995         (init_gcc): Define.
6996         (ggc_push_context): New function.
6997         (ggc_pop_context): Likewise.
6998         (ggc_alloc_rtx): Adjust for use of ggc_chain.
6999         (ggc_alloc_rtvec): Likewise.
7000         (ggc_alloc_tree): Likewise.
7001         (ggc_alloc_string): Likewise.
7002         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
7003         (ggc_mark_tree): Give language-dependent code a chance to mark
7004         `x' nodes.
7005         (ggc_mark_tree_varray): Handle empty arrays.
7006         (ggc_collect): Adjust for use of ggc_chain.  Clear
7007         bytes_alloced_since_last_gc.
7008         * ggc.h (ggc_pop_context): New function.
7009         (ggc_push_context): Likewise.
7010         * print-tree.c (print_node): Don't print obstacks when GC'ing.
7011         * stmt.c (free_stmt_status): New function.
7012         (init_stmt_for_function): Clear last_expr_value.
7013         * toplev.c (rest_of_compilation): Always call free_after_compilation.
7014         Conditionalize call to ggc_collect.
7015         (main): Call init_ggc.
7016         * tree.c (push_obstacks): Do the push, even when GC'ing.
7017         (push_obstacks_nochange): Likewise.
7018         (pop_obstacks): Liekwise.
7019         * varasm.c (free_varasm_status): Take decl as a parameter.
7020
7021 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
7022
7023         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
7024         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
7025         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
7026         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
7027
7028 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
7029
7030         * pa/x-pa-mpeix: New file for the MPE port.
7031
7032         * pa/quadlib.asm: New file for long double support.
7033
7034         * configure.in: Add hppa1.0-*-mpeix for MPE port.
7035         * configure: Rebuilt.
7036
7037 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
7038
7039         * final.c (shorten_branches): Fix last change.
7040
7041 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
7042
7043         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
7044
7045 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
7046
7047         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
7048         details.
7049
7050 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7051
7052         * c-aux-info.c (concat): Don't define.
7053
7054         * cccp.c (my_strerror): Likewise.  All callers changed to use
7055         xstrerror instead.
7056         (do_include): Call xstrdup, not xmalloc/strcpy.
7057         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
7058         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
7059
7060         * collect2.c (my_strsignal): Likewise.  All callers changed to use
7061         strsignal instead.
7062         (locatelib): Call xstrdup, not xmalloc/strcpy.
7063
7064         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
7065
7066         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
7067
7068         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
7069
7070         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
7071
7072         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
7073
7074         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
7075
7076         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
7077         malloc/realloc.
7078         (find_all_handler_type_matches): Likewise.  Don't check return
7079         value.
7080         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
7081         xmalloc, not malloc.
7082         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
7083
7084         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
7085         (init_spec): Call xcalloc, not xmalloc/bzero.
7086         (set_spec): Call xstrdup, not save_string.
7087         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
7088         (find_a_file): Call xstrdup, not xmalloc/strcpy.
7089         (process_command): Call xstrdup, not save_string.
7090         (main): Call xcalloc, not xmalloc/bzero.
7091
7092         * gcov.c (xmalloc): Don't define.
7093         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
7094         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
7095         (output_data): Call xcalloc, not xmalloc/bzero.
7096
7097         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
7098
7099         * mips-tdump.c (xmalloc): Don't define.
7100         (print_symbol): Call xmalloc, not malloc.
7101         (read_tfile): Call xcalloc, not calloc.
7102
7103         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
7104         Don't define.  All callers of xfree/my_strsignal changed to use
7105         free/strsignal instead.
7106         (allocate_cluster): Call xcalloc, not calloc.
7107
7108         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
7109         Fix memory leak, free allocated memory.
7110
7111         * prefix.c (translate_name): Call xstrdup, not save_string.
7112         (update_path): Likewise.
7113
7114         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
7115
7116         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
7117         Don't define.  Callers of xfree/savestring2 changed to use
7118         free/concat instead.
7119
7120         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
7121         (init_elim_table): Likewise.
7122
7123         * resource.c (init_resource_info): Likewise.
7124
7125         * stupid.c (stupid_life_analysis): Likewise.
7126
7127         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
7128         (open_dump_file): Call concat, not xmalloc/strcpy/...
7129         (clean_dump_file): Likewise.
7130         (compile_file): Call xstrdup, not xmalloc/strcpy.
7131
7132 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
7133
7134         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
7135         * v850.c (v850_va_arg): New.
7136
7137 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7138
7139         * haifa-sched.c: Tidy comments.
7140
7141 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7142
7143         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
7144         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
7145         $(out_object_file)): Depend on ggc.h.
7146         * c-common.c: Include "ggc.h".
7147         (combine_strings): If doing GC, use ggc_alloc_string.
7148         * c-decl.c: Include "ggc.h".
7149         (ggc_p): Define with value 0.
7150         (mark_binding_level): New function.
7151         (init_decl_processing): Add GC roots.
7152         (mark_c_function_context): New function.
7153         (lang_mark_false_label_stack): New function.
7154         (lang_mark_tree): New function.
7155         (lang_cleanup_tree): New function.
7156         * c-lang.c: Include "ggc.h".
7157         (lang_init): Call c_parse_init.
7158         * c-lex.c: Include "ggc.h".
7159         (check_linenum): If doing GC, don't copy filenames to permanent
7160         obstack.
7161         * c-parse.in: Include "ggc.h".
7162         (c_parse_init): New function.
7163         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
7164         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
7165
7166         * except.c (mark_eh_state): Mark more state.
7167         * function.c (mark_function_state): Likewise.
7168         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
7169         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
7170         * toplev.c (mark_file_stack): New function.
7171         (compile_file): If doing GC, use ggc_alloc_string on input filename.
7172         (main): Add root for input_file_stack.
7173
7174         * i386.c: Include "ggc.h".
7175         (ix86_mark_machine_status): New function.
7176         (override_options): Set mark_machine_status.
7177
7178 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7179
7180         * tree.c (copy_node): Copy node contents also if doing GC.
7181
7182 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
7183
7184         * collect2.c (scan_libraries): Fix double-thinko :-).
7185
7186 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
7187
7188         * collect2.c (scan_libraries): Fix thinko.
7189
7190         * cse.c (delete_trivially_dead_insns): Do not skip the last
7191         insn if it is a real insn.
7192
7193 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
7194
7195         * Makefile.in (ggc-simple.o): Depend on hash.h.
7196         * ggc.h (ggc_add_tree_hash_table_root): Declare.
7197         (ggc_mark_tree_varray): Likewise.
7198         (ggc_mark_tree_hash_table): Likewise.
7199         * ggc-simple.c: Include hash.h.
7200         (ggc_mark_tree_hash_table_ptr): New function.
7201         (ggc_mark_tree_hash_table_entry): Likewise.
7202         (ggc_mark_tree_hash_table): Likewise.
7203         (ggc_add_tree_hash_table_root): Likewise.
7204         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
7205         rtx, when defining fields.
7206
7207 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7208
7209         * profile.c (output_func_start_profiler): Remove apparently
7210         nonsensical call to start_sequence.
7211
7212 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
7213
7214         * clipper/clipper.c (clipper_va_start): Fix typos.
7215
7216         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
7217         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
7218         (spur_va_arg): New stub.
7219
7220         * configure.in: Comment out pyramid.
7221
7222 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
7223
7224         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
7225         don't conflict with the bits that win32, cygwin, and dgux
7226         defines.
7227
7228 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
7229                           Bernd Schmidt <bernds@cygnus.co.uk>
7230
7231         * integrate.c (function_cannot_inline_p): Do not inline
7232         functions with forced labels.
7233
7234 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
7235                           Bernd Schmidt <bernds@cygnus.co.uk>
7236                           Mark Mitchell  <mark@codesourcery.com>
7237
7238         * Makefile.in (ggc-simple.o): Depend on varray.h.
7239         (rtl.o): Depend on ggc.h.
7240         (genattrtab.o): Depend on ggc.h.
7241         (print-tree.o): Likewise.
7242         (fold-const.o): Likewise.
7243         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
7244         (make_insn_raw): Don't cache insns when GC'ing.
7245         (emit_insn_before): Likewise.
7246         (emit_insn_after): Likewise.
7247         (emit_insn): Likewise.
7248         (start_sequence): Use xmalloc to allocate the sequence_stack.
7249         (end_sequence): Add free to free it.
7250         (gen_sequence): Don't cache insns when GC'ing.
7251         (clear_emit_caches): Don't use sequence_element_free_list.
7252         (init_emit): Use xcalloc, not xmalloc+bzero.
7253         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
7254         * function.c (pop_function_context_from): Use free to free the
7255         fixup_var_refs_queue.
7256         (put_reg_into_stack): Allocate it with xmalloc.
7257         * genattrtab.c: Include ggc.h.
7258         (operate_exp): Don't use obstack_free when GC'ing.
7259         (simplify_cond): Likewise.
7260         (simplify_text_exp): Likewise.
7261         (optimize_attrs): Likewise.
7262         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
7263         GC'ing.
7264         (gencode): Generate a #include for ggc.h.
7265         * ggc-callbacks.c (ggc_p): Define it to zero.
7266         * ggc-none.c (ggc_p): Likewise.
7267         * ggc-simple.c: Include varray.h.
7268         (ggc_mark_tree_varray): New function.
7269         (ggc_add_tree_varray_root): Likewise.
7270         (ggc_mark_tree_varray_ptr): Likewise.
7271         * ggc.h (ggc_p): Declare.
7272         (varray_head_tag): Likewise.
7273         (ggc_add_tree_varray_root): Declare.
7274         * print-tree.c (print_node): Don't check for TREE_PERMANENT
7275         inconsistencies when GC'ing.
7276         * rtl.c: Include ggc.h.
7277         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
7278         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
7279         (rtx_free): Don't call obstack_free when GC'ing.
7280         * toplev.c (rest_of_compilation): Call ggc_collect after every
7281         pass, if GC'ing.
7282         * tree.c (push_obstacks): Do nothing, if GC'ing.
7283         (pop_obstacks_nochange): Likewise.
7284         (pop_obstacks): Likewise.
7285         (make_node): Use ggc_alloc_tree when GC'ing.
7286         (copy_node): Likewise.
7287         (get_identifier): Use ggc_alloc_string when GC'ing.
7288         (build_string): Likewise.
7289         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
7290         (tree_cons): Likewise.
7291         (build1): Likewise.
7292         (type_hash_canon): Don't call obstack_free when GC'ing.
7293
7294 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
7295
7296         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
7297         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
7298
7299 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
7300                           Bernd Schmidt <bernds@cygnus.co.uk>
7301                           Mark Mitchell  <mark@codesourcery.com>
7302
7303         * Makefile.in (stor-layout.o): Depend on ggc.h.
7304         (expr.o): Depend on ggc.h.
7305         (profile.o): Depend on ggc.h.
7306         (stor-layout.o): Depend on ggc.h.
7307         * emit-rtl.c (init_emit_once): Add gc roots.
7308         * expr.c: Include ggc.h.
7309         (emit_block_move): Add gc roots.
7310         (clear_storage): Likewise.
7311         * expr.h (init_stor_layout_once): New function.
7312         * profile.c: Include ggc.h.
7313         (init_arc_profiler): profiler_label is a root.
7314         * scan.c (make_sstring_space): Trust xrealloc to function
7315         correctly with first parameter NULL.
7316         * stor-layout.c: Include ggc.h.
7317         (set_sizetype): Add gc root.
7318         (init_stor_layout_once): New function.
7319         * toplev.c (compile_file): Call it.
7320
7321 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
7322                           Bernd Schmidt <bernds@cygnus.co.uk>
7323                           Mark Mitchell  <mark@codesourcery.com>
7324
7325         * Makefile.in (tree.o): Depend on ggc.h.
7326         (varasm.o): Likewise.
7327         (function.o): Likewise.
7328         (stmt.o): Likewise.
7329         (except.o): Likewise.
7330         (optabs.o): Likewise.
7331         (emit-rtl.o): Likewise.
7332         * emit-rtl.c: Include ggc.h.
7333         (sequence_element_free_list): Remove, and all references.
7334         (mark_sequence): New functions.
7335         (mark_emit_state): New function.
7336         * except.c: Include ggc.h.
7337         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
7338         (mark_tree_label_node): New functions.
7339         (mark_eh_state): New function.
7340         * function.c: Include ggc.h.
7341         (mark_temp_slot, mark_function_chain): New functions.
7342         (mark_function_state): New function.
7343         (init_function_once): New function.
7344         * function.h (init_function_once): New function.
7345         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
7346         * ggc.h (label_node): Declare.
7347         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
7348         (lang_mark_false_label_stack): New function.
7349         (mark_temp_slot): Remove declaration.
7350         (mark_function_chain): Likewise.
7351         (mark_eh_state): Adjust prototype.
7352         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
7353         Likewise.
7354         * optabs.c: Include ggc.h.
7355         (mark_optab): New function.
7356         (init_optabs): Add gc roots.
7357         * stmt.c: Include ggc.h.
7358         (mark_cond_nesting, mark_loop_nesting): New functions.
7359         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
7360         (mark_stmt_state): New function.
7361         * toplev.c (compile_file): Call init_function_once.
7362         * tree.c: Include ggc.h.
7363         (type_hash): Move declaration earlier in file.
7364         (TYPE_HASH_SIZE, type_hash_table): Likewise.
7365         (init_obstacks): Add gc roots.
7366         (mark_type_hash): New function.
7367         * varasm.c: Include ggc.h.
7368         (mark_pool_constant): New function.
7369         (mark_varasm_state): New function.
7370
7371 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7372
7373         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
7374
7375 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
7376
7377         * c-decl.c (struct language_function): Renamed from struct c_function.
7378         Delete elt NEXT.
7379         (c_function_chain): Delete.
7380         (push_c_function_context): New arg F.  Don't warn about nested
7381         functions here.  Fill LANGUAGE elt of F.  Delete code to update
7382         c_function_chain.  Don't call push_function_context.
7383         (pop_c_function_context): New arg F.  Restore from there instead of
7384         from c_function_chain.  Don't call pop_function_context.  Clear out
7385         LANGUAGE field of F when done.
7386         * c-lang.c: Include "function.h"
7387         (lang_init): Initialize save_lang_status and restore_lang_status.
7388         * c-parse.in (nested_function, nested_function_notype): Warn about
7389         nested functions.  Call push_function_context/pop_function_context
7390         instead of the _c_ variants.
7391         * c-tree.h (push_c_function_context, pop_c_function_context): Update
7392         prototype.
7393         * Makefile.in (c-lang.o): Update dependencies.
7394
7395         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
7396         regno_pointer_flag, regno_pointer_align.
7397         (gen_reg_rtx): Use xrealloc to enlarge them.
7398         (free_emit_status): New function.
7399         * function.c (mark_machine_status, mark_lang_status): New variables.
7400         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
7401         in some bits from assign_stack_local.  All callers changed to use new
7402         name.
7403         (assign_stack_local): Just call assign_stack_local_1.
7404         (free_after_compilation): New function.
7405         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
7406         (trampoline_address): Likewise.
7407         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
7408         (prepare_function_start): Explicitly clear some more variables.
7409         * function.h (struct function): New elt can_garbage_collect.
7410         (mark_machine_status, mark_lang_status): Declare variables.
7411         (free_after_compilation, free_emit_status, free_varasm_status,
7412         init_varasm_status): Declare functions.
7413         * toplev.c (rest_of_compilation): Call free_after_compilation when
7414         done with the current function.
7415         * varasm.c (free_varasm_status): New function.
7416
7417 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
7418
7419         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
7420         (EXPAND_BUILTIN_VA_ARG): Define.
7421         * sparc.c (sparc_va_start): New.
7422         (sparc_va_arg): New.
7423
7424 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7425
7426         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
7427
7428 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7429
7430         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
7431
7432 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
7433
7434         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
7435         (OBJS): Add $(GGC).
7436         (ggc-callbacks.o): New target.
7437         * ggc-callbacks.c: New file.
7438
7439 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7440
7441         * expr.h: Collapse individual optab and libfunc vars to arrays.
7442         (optab_index, libfunc_index): New enumerations.
7443         (optab_table, libfunc_table): New arrays.
7444         Add accessor macros for both.
7445
7446         * optabs.c (optab_table, libfunc_table): New.
7447         Delete declarations for individual optab and libfunc vars.
7448
7449 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
7450
7451         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
7452
7453 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
7454
7455         * Makefile.in (GGC, GGC_LIB): New.
7456         (HOST_RTL): Include ggc-none.o.
7457         (ggc-simple.o): New target.
7458         (ggc-none.o): Likewise.
7459         * tree.h (tree_common): Add gc_mark.
7460         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
7461         (struct rtvec_def): Add gc_mark.
7462         * emit-rtl.c (global_rtl): Update static initializers to contain
7463         enough initializers.
7464         * ggc.h, ggc-none.c, ggc-simple.c: New files.
7465         * toplev.c (gc_time): New variable.
7466         (all_time): New variable.
7467         (compile_file): Print gc time.
7468         (print_time): Calculate percentage of the whole.
7469
7470 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7471
7472         Change obstack memory management and varasm constant pool handling so
7473         that nested functions are treated like any other functions.
7474         * function.c (init_machine_status): New variable.
7475         (push_function_context_to): Set contains_functions for the outer
7476         function.  Don't call save_varasm_status.
7477         (pop_function_context_from): Don't call restore_varasm_status.  Don't
7478         set current_function_contains_functions.
7479         (prepare_function_start): Call init_varasm_status rather than
7480         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
7481         is non-null.
7482         * function.h (struct function) Add field varasm.  Delete fields
7483         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
7484         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
7485         (init_machine_status): Declare.
7486         (save_varasm_status, restore_varasm_status): Delete declarations.
7487         (save_tree_status, restore_tree_status): Delete last argument.
7488         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
7489         code.  All callers changed.
7490         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
7491         save_constants_in_decl_trees, restore_constants, save_constants,
7492         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
7493         functions.
7494         (inlining): New variable.
7495         (reg_map, label_map, insn_map, orig_asm_operands_vector,
7496         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
7497         variables.
7498         (save_for_inline_nocopy): Don't save constants.
7499         Don't set inl_emit field in current_function.
7500         (expand_inline_function): Use emit field, not inl_emit, of the inlined
7501         function.  Set new variable inlining before
7502         calling copy_rtx_and_substitute.
7503         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
7504         constant pool references if inlining is nonzero.
7505         Delete ADDRESS and (most of the) CONST cases.
7506         (output_inline_function): Save and restore current_function/
7507         current_function_decl.  Delete restore_constants code.  Don't call
7508         init_const_rtx_hash_table.
7509         * output.h (init_const_rtx_hash_table): Don't declare.
7510         * rtl.h (struct function): Declare.
7511         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
7512         * toplev.c (rest_of_compilation): Don't treat nested functions or
7513         functions containing them specially.  Delete all code to deal with
7514         save_for_inline_copying.
7515         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
7516         inline_obstacks): Delete variables.
7517         (save_tree_status): Lose arg CONTEXT.  All callers changed.
7518         Simply allocate a new function_maybepermanent_obstack for the new
7519         function, delete all the special cases.
7520         Don't save inline_obstacks.
7521         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
7522         Delete special handling for function_maybepermanent_obstack; simply
7523         free it if empty.
7524         Don't restore inline_obstacks.
7525         (permanent_allocation):  Delete code that frees inline_obstacks.
7526         (print_inline_obstack_statistics): Delete function.
7527         (dump_tree_statistics): Don't call it.
7528         * varasm.c (struct varasm_status): New.
7529         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
7530         last_pool, pool_offset, const_double_chain): Delete global
7531         variables, replace with accessor macros.
7532         (immed_double_const): Don't walk const_double_chain outside a
7533         function, but don't treat nested functions specially anymore.
7534         (immed_real_const_1): Likewise.
7535         (clear_const_double_mem): Don't treat nested functions specially.
7536         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
7537         (save_varasm_status, restore_varasm_status): Delete functions.
7538         (init_varasm_status): New function.
7539         (force_const_mem): Don't treat nested functions specially.
7540         (find_pool_constant): Accept new arg F, search for constants in
7541         that function's pool rather than the current one.  All callers
7542         changed.
7543         (get_pool_constant_for_function, get_pool_mode_for_function): New
7544         functions.
7545
7546         * i386.c (init_386_machine_status): New function, mostly from
7547         clear_386_stack_locals.
7548         (struct machine_functions): Rename element names to avoid name
7549         clashes.
7550         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
7551         macros, replacing global variables.
7552         (clear_386_stack_locals, save_386_machine_status,
7553         restore_386_machine_status): Delete functions.
7554         (override_options): Initialize init_machine_status.
7555         * i386.h (INIT_EXPANDERS): Delete macro.
7556         (save_386_machine_status, restore_386_machine_status,
7557         clear_386_stack_locals): Delete declarations.
7558
7559 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7560
7561         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
7562         (doloop_begin):  Simplify pattern and use emit_jump_insn.
7563         (doloop_end): Simplify pattern, switch operand order,
7564         and use emit_jump_insn.
7565
7566 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7567
7568         * function.h (struct function): Add new element LANGUAGE.
7569         (save_lang_status): Declare new variable.
7570         (restore_lang_status): Likewise.
7571         * function.c (save_lang_status): Define.
7572         (restore_lang_status): Likewise.
7573         (push_function_context_to): Call language-specific save function.
7574         (pop_function_context_from): Call language-specific restore function.
7575
7576 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
7577
7578         * i386.md (movsf_1): Check REG_P before use of REGNO.
7579         (movdf_1): Likewise.
7580         (movxf_1): Likewise.
7581         (extendsfdf2): Likewise.
7582         (extendsfxf2): Likewise.
7583         (extenddfxf2): Likewise.
7584
7585 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7586
7587         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
7588         constants into memory.
7589         (c4x_shiftable_constant): New function.
7590         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
7591         (c4x_shiftable_constant): Declare.
7592         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
7593         ashlqi3_noclobber): Add new patterns and associated splitters.
7594
7595 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
7596
7597         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
7598         * dwarf2out.c (dwarf2out_frame_init): Likewise.
7599         * final.c (shorten_branches): Likewise.
7600         * global.c (global_alloc): Likewise.
7601         * haifa-sched.c (build_control_flow): Likewise.
7602         * stmt.c (check_for_full_enumeration_handling): Likewise.
7603         (estimate_case_costs): Likewise.
7604
7605 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
7606
7607         * rtl.h (RTL_CHECKC2): Fix typo in last change.
7608
7609 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
7610
7611         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
7612         (recompute_reg_usage): Likewise.
7613         * rtlanal.c (find_regno_fusage): Likewise.
7614
7615         * rtl.c (rtl_check_failed_code1): New function.
7616         (rtl_check_failed_code2): New.
7617         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
7618         (RTL_CHECKC1, RTL_CHECKC2): New.
7619         (XC*): New accessor macros.
7620         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
7621         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
7622         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
7623         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
7624         (TRAP_*, RANGE_INFO_*): Likewise.
7625
7626 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7627
7628         * Makefile.in (tlink.o): Don't depend on toplev.h.
7629
7630         * collect2.c (c_file, o_file, export_file, import_file, ldout,
7631         output_file, nm_file_name, ldd_file_name, strip_file_name,
7632         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
7633         add_prefix, prefix_from_env, prefix_from_string, do_wait,
7634         fork_execute, maybe_unlink, add_to_list,
7635         extract_init_priority, write_list, dump_list,
7636         dump_prefix_list, write_list_with_asm, write_c_file,
7637         write_c_file_stat, write_c_file_glob, scan_prog_file,
7638         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
7639         ignore_library, extract_string, notice, dump_file, target_machine,
7640         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
7641         read_file, print_load_command): Constify a char*.
7642         (fdopen, error, fatal, fatal_perror): Don't prototype.
7643         (my_strerror): Remove.  All callers use xstrerror instead.
7644         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
7645         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
7646         to xcalloc/strcpy/strcat/...  to one call to concat.
7647         (main, scan_prog_file, scan_libraries): Use an intermediate
7648         `const char **' to build an argv array.
7649         (mapfile, libselect, libcompare, locatelib): Add prototypes.
7650
7651         * collect2.h (collect_execute, collect_wait, dump_file,
7652         file_exists): Constify a char*.
7653         (ldout, c_file_name, temporary_obstack, permanent_obstack,
7654         temporary_firstobj, vflag, debug): Add extern declarations.
7655         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
7656
7657         * tlink.c: Don't include toplev.h.
7658         (vflag, debug, ldout, c_file_name, temporary_obstack,
7659         permanent_obstack, temporary_firstobj): Don't declare.
7660         (tlink_execute, frob_extension, symbol_hash_lookup,
7661         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
7662         recompile_files, read_repo_files, demangle_new_symbols,
7663         scan_linker_output): Constify a char*.
7664         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
7665         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
7666
7667 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
7668
7669         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
7670         (relative) rather than jsr (absolute) subroutine call insns.
7671         * config/m68k/m68k-coff.h: Ditto.
7672
7673 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
7674
7675         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
7676         now rework these too.
7677         (arm_reorg): If an insn can't reach the end of the current pool,
7678         ensure that we emit that pool before the insn.
7679
7680 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
7681
7682         * tlink.c (scan_linker_output): Skip the initial underscore in
7683         a mangled name if appropriate.
7684
7685 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7686
7687         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
7688         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
7689         error_with_ivar, gen_declarator, create_builtin_decl,
7690         my_build_string, generate_descriptor_table, generate_ivars_list,
7691         generate_dispatch_table, check_protocols, TAG_GETCLASS,
7692         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
7693         dump_base_name, lang_decode_option, build_encode_expr,
7694         start_class, finish_class, encode_pointer, really_start_method,
7695         gen_declaration, dump_interface, handle_class_ref, handle_impent):
7696         Constify.
7697         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
7698         Add static prototypes.
7699         (build_objc_string_decl, build_selector_reference_decl,
7700         encode_bitfield, build_class_reference_decl): Remove unused
7701         parameter, all callers changed.
7702         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
7703         (objc_printable_name): Likewise.  Change second parameter to type int.
7704         (init_objc): Use memcpy, not bcopy, to avoid casts.
7705
7706 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
7707
7708         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
7709         reg notes on a deleted insn.
7710         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
7711
7712 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
7713
7714         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
7715
7716 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7717
7718         * stmt.c (expand_asm_operands): Fix index into inout_mode when
7719         reading it.
7720
7721 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
7722
7723         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
7724         * tm.texi (MD_ASM_CLOBBERS): Document it.
7725
7726 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
7727
7728         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
7729         * except.c (expand_rethrow): Remove unused variable.
7730         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
7731         * flow.c (replace_insns): Likewise.
7732         (create_edge_list, verify_edge_list): Likewise.
7733         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
7734
7735         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
7736         is special code to run.
7737         (main): Don't define operands to emit_operand.
7738         * genrecog.c (main): Don't emit an empty peephole2_insn function.
7739
7740         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
7741
7742         * alpha/alpha.h (normal_memory_operand): Declare.
7743         (reg_no_subreg_operand): Declare.
7744         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
7745
7746 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
7747
7748         * c-parse.in (compstmt_primary_start): New, broken out of first
7749         part of compstmt handling in primary.
7750         (primary): Use it.  Add an error clause.
7751         (compstmt_nostart): Renamed from compstmt; remove all
7752         initial invocations of compstmt_start.
7753         (compstmt): New.
7754
7755 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
7756
7757         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
7758         needed.
7759
7760 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
7761
7762         * combine.c (simplify_shift_const): Remove extra semicolon.
7763         * dwarf2out.c (remove_AT): Likewise.
7764         * expmed.c (expand_mult): Likewise.
7765         * gcov.c (create_program_flow_graph): Likewise.
7766         * reorg.c (mostly_true_jump): Likewise.
7767
7768 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
7769
7770         * fold-const.c (fold_range_test): Do not try to fold the range
7771         test if the rhs or lhs has side effects.
7772
7773         * combine.c (simplify_rtx): Recognize another case of a synthesized
7774         sign extension.
7775
7776         * varasm.c (mark_constant_pool): When marking indirect references,
7777         only look at SYMBOL_REFs.
7778
7779         * except.c (expand_fixup_region_end): Do not peek at
7780         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
7781
7782 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
7783
7784         * flags.h: New variables align_loops, align_loops_log,
7785         align_jumps, align_jumps_log, align_labels, align_labels_log,
7786         align_functions, align_functions_log.
7787         * toplev.c: Define them.
7788         (f_options): Handle -falign-* when they have no argument.
7789         (main): Add logic to set variables for -falign-functions,
7790         -falign-jumps, -falign-labels, -falign-loops.
7791         Make it -fsched-verbose=<n> and -finline-limit=<n>.
7792         (display_help): Change help to match options.
7793         * final.c (LABEL_ALIGN): Default to align_labels_log.
7794         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
7795         (LOOP_ALIGN): Default to align_loops_log.
7796         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
7797         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
7798         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
7799         * varasm.c (assemble_start_function): Handle align_functions.
7800
7801         * config/sparc/sparc.h: Don't declare sparc_align_*.
7802         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
7803         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
7804         sparc.c.
7805         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
7806         it's a promise.
7807         * config/sparc/sparc.c: Delete sparc_align_loops,
7808         sparc_align_jumps, sparc_align_funcs and the corresponding string
7809         variables.
7810         (sparc_override_options): Default align_functions on ultrasparc.
7811         Delete -malign-* handling.
7812
7813         * config/mips/mips.c (override_options):  On 64-bit targets,
7814         try to align code to 64-bit boundaries.
7815         (print_operand): New substitution, %~,
7816         which aligns labels to align_labels_log.
7817         * config/mips/mips.md (div_trap_normal): Use %~.
7818         (div_trap_mips16): Likewise.
7819         (abssi): Likewise.
7820         (absdi2): Likewise.
7821         (ffssi2): Likewise.
7822         (ffsdi2): Likewise.
7823         (ashldi3_internal): Likewise.
7824         (ashrdi3_internal): Likewise.
7825         (lshrdi3_internal): Likewise.
7826         (casesi_internal): Likewise.
7827
7828 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
7829
7830         Merge new ia32 backend from the branch!
7831
7832         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
7833         See ChangeLog.P2 on new_ia32_branch for details.
7834
7835         * rtl.h (stack_regs_mentioned_p): Delete prototype.
7836         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
7837         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
7838         * i386/gas.h (ASM_FILE_START): Define.
7839         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
7840         for name change of ix86_valid_decl_attribute_p.
7841         (i386_pe_valid_type_attribute_p): Similarly.
7842
7843 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
7844
7845         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
7846         to step through CC modes.
7847
7848 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7849
7850         * regmove.c (fixup_match_1): Don't move INSN in front of P if
7851         it would end up in the shadow of a live flags regsiter.
7852
7853 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7854
7855         * reload1.c: Fix many indentation problems.
7856         * reload.c: Likewise.
7857
7858 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
7859
7860         * alias.c (non_local_reference_p): Constify fmt.
7861
7862 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
7863
7864         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
7865
7866 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
7867
7868         * cse.c (delete_trivially_dead_insns): Do not delete stores to
7869         the internal_arg_pointer.
7870
7871 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
7872
7873         Merge peephole2 from new_ia32_branch:
7874         * Makefile.in (STAGESTUFF): Add *.peephole2.
7875         (mostlyclean): Likewise.
7876         (recog.o): Depend on resource.h.
7877
7878         * final.c (peephole): Conditionalize decl on HAVE_peephole.
7879         (final_scan_insn): Likewise for the invocation of peephole.
7880         * genconfig.c (main): Look for peephole and peephole2 patterns.
7881         Emit HAVE_peephole* accordingly.
7882         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
7883         * flags.h (flag_peephole2): Declare.
7884         * toplev.c: New pass peephole2.  New flag -fpeephole2.
7885
7886         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
7887         * gencodes.c (main): Likewise.
7888         * genextract.c (main): Likewise.
7889         * genoutput.c (main): Likewise.
7890         * genemit.c (max_operand_1): Look for the max scratch operand.
7891         (gen_rtx_scratch): New.
7892         (gen_exp): Use it, and pass on new arg subroutine_type.
7893         (gen_expand): Take max scratch into account.
7894         (gen_split): Emit peephole2 functions.
7895         (output_peephole2_scratch): New.
7896         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
7897         * genrecog.c (routine_type): Add PEEPHOLE2.
7898         (IS_SPLIT): New.
7899         (make_insn_sequence): Match outer parallel for peep2.  Discard
7900         top level scratches and dups.
7901         (add_to_sequence): New args insn_type and top.  Update all callers.
7902         Handle toplevel peep2 matching insns.
7903         (write_subroutine): Handle peep2.
7904         (write_tree_1): Likewise.
7905         (write_tree): Likewise.
7906         (main): Likewise.
7907         (change_state): New arg afterward.  Update all callers.
7908         Handle matching separate insns.
7909         * recog.c (recog_next_insn): New.
7910         (peephole2_optimize): New.
7911         * rtl.def (DEFINE_PEEPHOLE2): New.
7912         * resource.c (find_free_register): New argument last_insn.  Use it
7913         to find a register available through the entire span.
7914         * resource.h (find_free_register): Update prototype.
7915
7916 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
7917
7918         * i386.c (output_strlen_unroll): Don't write xops[7]
7919         label if it wasn't set.
7920
7921 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
7922
7923         * cpplib.c (struct directive): Const-ify name pointer and
7924         function pointer prototype.
7925         (validate_else, do_define, do_line, do_include, do_undef,
7926         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
7927         do_elif, do_endif, do_sccs, do_assert, do_unassert,
7928         do_warning): Const-ify second arg.
7929         (directive_table): Mark const.  Reorder entries by frequency
7930         of usage, record statistics.
7931
7932 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
7933
7934         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
7935         bounds- check RTL accesses if --enable-checking.
7936         (RTVEC_ELT): Bounds check if --enable-checking.
7937         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
7938         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
7939         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
7940         GET_NUM_ELEM.
7941         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
7942         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
7943
7944         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
7945         (NOTE_SOURCE_FILE): Use X0STR.
7946         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
7947         MEM_ALIAS_SET): Use X0INT.
7948         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
7949         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
7950         Use X0EXP.
7951         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
7952         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
7953         (rtl_check_failed_bounds, rtl_check_failed_type1,
7954         rtl_check_failed_type2, rtvec_check_failed_bounds): New
7955         functions.
7956         (fancy_abort): Fix comment.
7957
7958         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
7959         (cse_insn): Decrement LABEL_NUSES for jump target before
7960         deleting jump insn.
7961         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
7962         * final.c (alter_subreg): Compute regno before changing x to
7963         REG; set REGNO(x) after changing it.
7964         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
7965         notes containing CONST_INTs.
7966         (delete_eh_regions): Use NOTE_EH_HANDLER.
7967         * function.c (put_reg_into_stack): Make reg a MEM before
7968         initializing it.
7969         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
7970         delete insn.
7971         (gen_mem_addressof): Make reg a MEM before initializing it.
7972         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
7973         X0WINT.
7974         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
7975         deleting an insn, not after.
7976         (block_alloc): Only look at PATTERN(insn) if we have to, and
7977         only if it's format class 'i'.
7978         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
7979         CONST_INT before using its INTVAL.
7980         * print-rtl.c (print_rtx): Use X0STR.
7981         * regmove.c (fixup_match_1): Don't look at PATTERN of
7982         non-class-'i' insn chain elements.
7983         * reload.c (loc_mentioned_in_p): Take address of
7984         in->fld[1].rtx directly.
7985         * reload1.c (reload): Change reg to a MEM before initializing
7986         it.
7987         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
7988         have no names.
7989         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
7990
7991 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
7992
7993         * config/mips/mips.c (machine_dependent_reorg): Force a
7994         barrier to output the local constant pool if a barrier hasn't
7995         been found at a natural point in the instruction stream.
7996
7997 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7998
7999         * c-parse.in (language_string): Constify.
8000
8001         * dwarf2out.c (language_string): Remove declaration.
8002
8003         * dwarfout.c (language_string): Likewise.
8004
8005         * toplev.c (language_string, init_parse, finish_parse): Likewise.
8006
8007         * tree.h (language_string, init_parse, finish_parse): Declare.
8008
8009         * i386/sun386.h (language_string): Remove declaration.
8010
8011         * mips.h (language_string): Likewise.
8012
8013         * nextstep.h (language_string): Likewise.
8014
8015         * nextstep21.h (language_string): Likewise.
8016
8017         * rs6000.c (language_string): Likewise.
8018
8019 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8020
8021         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
8022         (getpwd.o): Remove target.
8023
8024         * getpwd.c: Delete file.  Its in libiberty now.
8025
8026         * dbxout.c (getpwd): Don't prototype.
8027         * dwarf2out.c (getpwd): Likewise
8028         * dwarfout.c (getpwd): Likewise
8029         * final.c (getpwd): Likewise.
8030         * protoize.c (getpwd): Likewise.
8031
8032 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8033
8034         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
8035
8036 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
8037
8038         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
8039         mark_set_resources.
8040
8041 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
8042
8043         * fixinc/Makefile.in (subdir): New.
8044         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
8045         (Makefile): New.
8046
8047 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
8048
8049         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
8050         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
8051         be shared.
8052
8053         * invoke.texi: Fix typo.
8054
8055         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
8056         changed.  Handle autoincrement addressing modes.
8057
8058         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
8059         just like we would the virtual incoming args register when
8060         integrating.
8061
8062 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
8063
8064         * rs6000.h (ASM_FILE_START): Specify complete filename, including
8065         path, in .file directive.
8066
8067 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
8068
8069         * gcc.texi (External Bugs): Remove obsolete note about Perl on
8070         SunOS.
8071
8072 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
8073
8074         * stdbool.h: Make the typedef name _Bool, with bool a #defined
8075         alias.
8076
8077 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8078
8079         * tree.c (tree_code_name): Constify a char*.
8080
8081         * tree.h (tree_code_name, decl_printable_name): Likewise.
8082
8083         * function.h (struct function): Likewise.
8084
8085         * toplev.c (decl_name, decl_printable_name): Likewise.
8086
8087         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
8088
8089         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
8090         (init_objc): Remove function pointer cast.
8091
8092 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
8093
8094         * pa.md (interspace_jump): New pattern.
8095         (builtin_longjmp): New expander.
8096
8097 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
8098
8099         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
8100         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
8101         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
8102
8103 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
8104
8105         * jump.c (delete_prior_computation): Also check calls
8106         to constant functions.  Don't bother checking for a
8107         REG_UNUSED note before adding it.
8108         (delete_computation): Handle multi-word hard registers
8109         when synthesizing missing REG_DEAD notes for a register
8110         which is both set and used by an insn.
8111
8112 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8113
8114         * loop.c (this_loop_info): New variable.
8115         (loop_has_call, loop_has_volatile, loop_has_tablejump,
8116         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
8117         All uses updated.
8118         (prescan_loop, strength_reduce): New argument loop_info.  All callers
8119         updated.
8120         (scan_loop): New variable loop_info, initialise to address of
8121         this_loop_info.
8122         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
8123         Delete variable loop_has_multiple_exit targets and replace with
8124         field in this_loop_info.
8125         (find_and_verify_loops): Rename this_loop to this_loop_num.
8126         (strength_reduce): Delete loop_iteration_info.  Replace variable
8127         loop_info with function argument of same name.
8128         (insert_bct): Rework test for loop being completely unrolled.
8129
8130         * loop.h (struct loop_info): New fields num, loops_enclosed,
8131         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
8132         has_indirect_jump, and cont.  Redefine use of unroll_number.
8133         (loop_unroll_number): Delete.
8134
8135         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
8136         field of loop_info.
8137         (loop_iterations): Delete variable vtop and instead use
8138         loop_info->vtop computed in prescan_loop.
8139
8140 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
8141
8142         * fix-header.c (main): Do not pass a null pointer to strcmp.
8143
8144 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
8145
8146         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
8147         filenames.
8148         * configure: Rebuilt.
8149
8150 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
8151
8152         * jump.c (jump_optimize_1): Do not delete assignments to
8153         internal_arg_pointer.
8154         * cse.c (delete_trivially_dead_insns): Always consider a set of
8155         the internal_arg_pointer live.
8156
8157 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
8158
8159         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
8160         (update_life_info) [REG_WAS_0]: Search the original insns rather
8161         than the new insns for the note.  Fix typos finding note_dest.
8162         If no dest found, discard the note rather than abort.
8163         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
8164         (replace_insns): Remove the old insn list after update_life_info
8165         not before.
8166
8167 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
8168
8169         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
8170         sched_analyze_insn.
8171         (sched_analyze_1): Let add_dependence care for not adding dups.
8172         (sched_analyze_2): Likewise.
8173         (add_branch_dependences): Likewise.
8174
8175 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8176
8177         * i386/winnt.c (export_list): New type.
8178         (exports_head): Rename to
8179         (export_head):  this.
8180         (i386_pe_record_exported_symbol): Add is_data flag.
8181         (i386_pe_asm_file_end): Emit directive for exported variables.
8182         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
8183         prototype.
8184         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
8185         (ASM_DECLARE_OBJECT_NAME): Likewise.
8186         (ASM_DECLARE_FUNCTION_NAME): Likewise.
8187         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
8188
8189 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
8190
8191         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
8192
8193         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
8194         operand.
8195
8196 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
8197
8198         * config/openbsd.h: Define SET_ASM_OP.
8199         * tm.texi: cross-reference SET_ASM_OP in the index.
8200
8201 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
8202
8203         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
8204         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
8205         and class_narrowest_mode at compile time.  Kill init_rtl.
8206         Mark rtx_length, mode_class, mode_size, mode_unit_size,
8207         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
8208         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
8209         EXTRA_CC_NAMES.
8210         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
8211         format.
8212         * rtl.h: Declare rtx_length and rtx_format as const.
8213         * machmode.def: Define CC().  Use CC() to define CCmode.  If
8214         EXTRA_CC_MODES is defined, expand it here.
8215         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
8216         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
8217         const.  Kill all references to EXTRA_CC_MODES.
8218
8219         * toplev.c: Don't prototype or call init_rtl.
8220         * optabs.c: Don't call init_mov_optab.
8221         * genemit.c: Don't generate init_mov_optab.  Don't call
8222         init_rtl.
8223         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
8224         here.
8225         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
8226         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
8227         genrecog.c: Don't call init_rtl.
8228
8229         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
8230         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
8231         definition of EXTRA_CC_MODES.
8232
8233         * md.texi: Kill ref to EXTRA_CC_NAMES.
8234         * tm.texi: Document new way to define EXTRA_CC_MODES.
8235
8236         * genrecog.c: Do not look up the name of a define_split.
8237         (Unrelated bugfix.)
8238
8239 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
8240
8241         * config/v850/v850.md: Fix typo introduced by previous delta.
8242
8243 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8244
8245         * gcc.c (fatal): Make definition static to match prototype.
8246
8247 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8248
8249         * combine.c (get_last_value): Don't look for earlier sets if the last
8250         known set is somewhere in between the insns being combined.
8251
8252 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
8253
8254         * configure.in: Don't use shell ! to negate exit codes
8255         * configure: Regenerate
8256
8257 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
8258
8259         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
8260         the fact that ALIGN is measured in bits, not bytes.
8261
8262 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
8263
8264         * errors.c: New file; defines functions error, warning, and
8265         fatal, variables have_error and progname.
8266         * errors.h: New file; prototypes and decls for stuff in errors.c.
8267
8268         * Makefile: Add rules to build errors.o and
8269         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
8270         genopinit, genrecog, genextract, genpeep, genattr, and
8271         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
8272         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
8273         genpeep.o, genattr.o, and genoutput.o.
8274
8275         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
8276         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
8277         define or prototype fatal.  Set progname at beginning of main.
8278         * genoutput.c:  Likewise, and don't define or prototype error
8279         either.
8280
8281         * c-typeck.c (c_expand_start_case): Return immediately if exp
8282         is an ERROR_MARK.
8283         * fold-const.c (operand_equal_p): Return immediately if arg1
8284         or arg0 are ERROR_MARKs.
8285         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
8286         fields of type ERROR_MARK when calculating if the record can
8287         go in a register.
8288
8289 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
8290         with much help from Jeffrey A Law and Richard Henderson
8291
8292         * i386.md: In the 6 insns which call output_fix_trunc,
8293         earlyclobber operands[0].
8294
8295 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
8296
8297         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
8298         creating new registers.
8299
8300 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
8301
8302         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
8303         i386_reg_alloc_order, i386_regparm_string,
8304         i386_align_loops_string, i386_align_jumps_string,
8305         i386_align_funcs_string, i386_preferred_stack_boundary_string,
8306         and i386_branch_cost_string as type "const char *".
8307         * i386.c: Define all above strings as type "const char *".
8308
8309 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
8310
8311         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
8312         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
8313
8314 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
8315
8316         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
8317         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
8318
8319 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
8320
8321         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
8322         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
8323         (dwarf2out_line, dwarf2out_finish): Likewise.
8324         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
8325
8326 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8327
8328         * tree.c (lang_unsave_expr_now) : Correct return type.
8329         * tree.h (lang_unsave_expr_now) : Same.
8330
8331 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
8332
8333         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
8334         instead of duplicating code.
8335
8336 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8337
8338         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
8339
8340 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
8341
8342         * tree.h: fancy_abort always takes three args.
8343         * resource.c: Move include of system.h before toplev.h.
8344
8345 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
8346
8347         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
8348         as SYMBOL_REFs.
8349
8350 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
8351
8352         * system.h: Don't redefine abort or trim_filename.
8353         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
8354         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
8355         whether or not __FUNCTION__ is available.
8356         * tree.h: Duplicate rtl.h's definition of abort, for files
8357         that don't include rtl.h.  Delete all code to perform type
8358         checking with a compiler other than GCC.
8359         * varray.h: Delete all code to perform type checking with a
8360         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
8361         its arguments exactly once, using a statement expression.
8362         Adjust the VARRAY_<type> accessor macros to match.
8363         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
8364         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
8365         caller's location.  Define fatal_insn and fatal_insn_not_found
8366         as macros that use _fatal_insn and _fatal_insn_not_found.
8367         (fancy_abort, trim_filename): Kill prototypes.
8368
8369         * rtl.c (trim_filename): Move here from toplev.c.
8370         (fancy_abort): New function.
8371         (DIR_SEPARATOR): Provide default definition.
8372         * tree.c (tree_check_failed, tree_class_check_failed): Go
8373         through fancy_abort.
8374         (tree_check, tree_class_check, cst_or_constructor_check,
8375         expr_check): Delete.
8376         * varray.c (varray_check_failed): New function.
8377         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
8378         _fatal_insn and _fatal_insn_not_found.  Go through
8379         fancy_abort.
8380         (trim_filename, fancy_abort): Delete.
8381
8382         * builtins.c (expand_builtin_args_info): Report ICE with abort.
8383         * except.c (start_catch_handler): Report ICE with error/abort
8384         combo.
8385         * final.c (output_operand_lossage): Likewise.
8386         * flow.c (verify_flow_info): Likewise.
8387
8388         * gcc.c: Prototype fatal.
8389         * gengenrtl.c: Undef abort after including rtl.h not system.h.
8390         * genattr.c, genattrtab.c, genemit.c, genextract.c,
8391         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
8392         Don't define fancy_abort.
8393
8394 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
8395
8396         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
8397         canonization.
8398
8399 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
8400
8401         * m88k.h (VERSION_INFO2): Kill.
8402         (VERSION_STRING): Kill.
8403         (TM_RCS_ID): Kill.
8404         (VERSION_INFO1): Tidy.
8405         (TARGET_VERSION): Update.
8406         * m88k/dgux.h (VERSION_INFO2): Kill.
8407         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
8408         * m88k/luna.h (VERSION_INFO1): Tidy.
8409         * m88k/sysv4.h (VERSION_INFO1): Likewise.
8410         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
8411         (output_file_start): Adjust for death of VERSION_STRING.
8412
8413 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
8414
8415         * cpplib.c (detect_if_not_defined): New function.
8416         (do_if): Use it to detect potential once-only headers.
8417
8418 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
8419
8420         * c-common.c (combine_strings): Always set TREE_CONSTANT.
8421
8422 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8423
8424         * combine.c (nonzero_bits) : Allow single-ly set registers to be
8425         anywere in the function only if they are pseudos and set before
8426         being used (not live at the start of the function).
8427         (num_sign_bit_copies) : Same.
8428         (get_last_value_validate) : Same.
8429         (get_last_value) : Same.
8430
8431 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
8432
8433         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
8434         where N and M are constant and N is an integer multiple of M.
8435
8436 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8437
8438         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
8439         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
8440         sbitmap_union_of_preds): Add prototypes.
8441         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
8442         the intersection of successors with the new flow graph structures.
8443         (sbitmap_intersection_of_preds): New function to compute the
8444         intersection of predecessors with the new flow graph structures.
8445         (sbitmap_union_of_succs): New function to compute the union of
8446         successors with the new flow graph structures.
8447         (sbitmap_union_of_preds): New function to compute the union of
8448         predecessors with the new flow graph structures.
8449         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
8450         (expr_reaches_here_p): Use edge and basic_block structures instead
8451         of s_preds and s_succs.
8452         (compute_cprop_avinout): Use new sbitmap routines.
8453         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
8454         of s_preds and s_succs.
8455         * flow.c (compute_flow_dominators): Compute dominators using
8456         edges and basic blocks instead of s_preds and s_succs.
8457
8458 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
8459
8460         * lists.c (unused_insn_list, unused_expr_list): New file for
8461         maintaining various types of lists. New statics for maintaining a
8462         cache of available INSN_LIST and EXPR_LIST nodes.
8463         (free_list): Static function for freeing a list of INSN/EXPR nodes.
8464         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
8465         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
8466         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
8467         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
8468         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
8469         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
8470         (free_INSN_LIST_node): Free an individual INSN_LIST node.
8471         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
8472         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
8473         (remove_dependence, free_pending_lists): Use new global routines.
8474         (flush_pending_lists, sched_analyze_insn): Use new global routines.
8475         (sched_analyze, compute_block_backward_dependences): Use new routines.
8476         (sched_analyze_1, sched_analyze_2): Use new routines.
8477         (schedule_insns): Use new global routines.
8478         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
8479         prototypes.
8480         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
8481         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
8482         prototypes.
8483         * toplev.c (rest_of_compilation): Initialize node cache.
8484         * Makefile.in (OBJS): Add lists.o to list of object files.
8485         (lists.o): Add dependancies.
8486
8487 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
8488
8489         * config/v850/v850.md: Fix compile time warning messages.
8490         * config/v850/v850.c: Fix compile time warning messages.
8491         * config/v850/v850.h: Fix compile time warning messages.
8492
8493 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8494
8495         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
8496         Remove unused prototype for `init_lengths'.
8497
8498 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8499
8500         * calls.c (emit_call_1): Mark parameter `stack_size' with
8501         ATTRIBUTE_UNUSED.
8502         (expand_call): Initialize variable `insn'.
8503         (emit_library_call): Likewise for variable `high_to_save'.
8504         (emit_library_call_value): Likewise.
8505         (store_one_arg): Likewise for variables `lower_bound' and
8506         `upper_bound'.
8507
8508         * combine.c (try_combine): Likewise for variables `i2_code_number'
8509         and `other_code_number'.
8510         (find_split_point): Likewise for variables `pos', `unsignedp' and
8511         `inner'.
8512         (simplify_if_then_else): Likewise for variables `op' and `c1'.
8513         (simplify_and_const_int): Remove unused variable `width'.
8514         (merge_outer_ops): Likewise.
8515
8516         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
8517         HOST_WIDE_INT' when comparing against one.
8518         (simplify_relational_operation): Likewise.
8519         (cse_insn): Initialize variables `src_eqv_volatile',
8520         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
8521
8522         * final.c (init_final): Constify parameter `filename'.
8523         (final_start_function): Mark parameter `optimize' with
8524         ATTRIBUTE_UNUSED.
8525         (profile_function): Likewise for parameters `first' and `optimize'.
8526         (output_source_line): Likewise for parameter `file'.
8527
8528         * integrate.c (subst_constants): Cast a value to `size_t' when
8529         comparing against one.
8530         (mark_stores): Initialize variable `mode'.  Cast a value to
8531         `size_t' when comparing against one.
8532
8533         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
8534
8535         * loop.c (move_movables): Initialize variable `first'.
8536         (strength_reduce): Likewise for variable `increment'.
8537         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
8538         value to `size_t' when comparing against one.
8539         (load_mems): Initialize variable `end_label'.
8540
8541         * output.h (init_final): Constify parameter.
8542
8543         * reload.c (decompose): Initialize variable `base'.
8544
8545         * reload1.c (reload): Likewise for variable `is_scalar'.
8546         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
8547         (choose_reload_regs): Initialize variable `mode'.
8548         (emit_reload_insns): Likewise for variable `store_insn'.
8549         (reload_cse_noop_set_p): Mark parameter `insn' with
8550         ATTRIBUTE_UNUSED.
8551         (reload_combine): Initialize variable `set'.
8552
8553         * unroll.c (unroll_loop): Likewise for variable `local_label'.
8554         (copy_loop_body): Cast a value to `size_t' when comparing against
8555         one.
8556
8557         * varasm.c (assemble_variable): Initialize variable `size_tree'.
8558         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
8559         (remove_from_pending_weak_list): Mark parameter `name' with
8560         ATTRIBUTE_UNUSED.
8561
8562 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8563
8564         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
8565         gcse dump file.
8566
8567 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
8568
8569         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
8570         (ASM_DECLARE_FUNCTION_NAME): Define.
8571         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
8572         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
8573         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
8574         not already defined.
8575
8576 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8577
8578         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
8579         of n_popped when call/call_value are not defined.
8580
8581 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
8582
8583         * tm.texi: GNU CC -> GCC conversion.
8584         (CC1_SPEC): Indicate it is used for all language front ends.
8585
8586 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
8587
8588         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
8589         NOTE_INSN_EH_REGION_END correctly.
8590
8591 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
8592                           Jeff Law <law@cygnus.com>
8593
8594         * loop.c (strength_reduce): Automatically unroll loops if the
8595         unrolled loop size is smaller than the rolled loop size.
8596
8597         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
8598         and delete comment that code should be rewritten.
8599
8600 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
8601
8602         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
8603         as reachable.
8604
8605         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
8606
8607 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8608
8609         * fixinc/mkfixinc.sh: Don't fix uwin headers.
8610         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
8611         (LINK_SPEC): Add -u _main when building executables.
8612         (ASM_DECLARE_FUNCTION): Update from Cygwin.
8613         (ASM_FILE_END): Use the default for ix86-pe.
8614         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
8615
8616 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
8617
8618         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
8619         and ASM_CLOSE_PAREN are empty strings.
8620
8621 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
8622                           Geoffrey Keating <geoffk@cygnus.com>
8623
8624         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
8625         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
8626         (unprotoize.o): Ditto.
8627         (test-protoize-simple): Don't define STD_PROTO_DIR.
8628         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
8629         changes to make 'test-protoize-simple' pass.
8630         (STD_PROTO_DIR): Remove define.
8631         (STANDARD_EXEC_PREFIX): Supply default define.
8632         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
8633         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
8634         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
8635         (GET_ENV_PATH_LIST): New macro.
8636         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
8637         (do_processing): Initialize default_syscalls_dir using new
8638         macros.  Use it to initialize syscalls_absolute_filename.
8639
8640 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
8641
8642         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
8643         B into a register before emit_conditional_move.
8644
8645 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
8646
8647         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
8648         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
8649         multiplicand out of (+ (* a b) (* c d)).
8650
8651 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
8652                           Richard Henderson  <rth@cygnus.com>
8653
8654         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
8655         (new_insn_dead_notes): Likewise.
8656         (update_n_sets): Likewise.
8657         (update_flow_info): Move to flow.c, renamed to update_life_info;
8658         extend to handle multiple source insns.
8659         * flow.c: Include resource.h
8660         (unlink_insn_chain): New.
8661         (split_hard_reg_notes): New.
8662         (maybe_add_dead_note): New.
8663         (maybe_add_dead_note_use): New.
8664         (find_insn_with_note): New.
8665         (new_insn_dead_notes): New.
8666         (update_n_sets): New.
8667         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
8668         (maybe_remove_dead_notes): New.
8669         (update_life_info): New.
8670         (prepend_reg_notes): New.
8671         (replace_insns): New.
8672         * output.h (update_life_info): Declare.
8673         * recog.c (split_block_insns): Use update_life_info.
8674         * resource.c (find_free_register): Use reg_alloc_order, don't use
8675         fixed regs, make sure the mode is supported, don't use new regs.
8676         (reg_dead_p): New.
8677         * rtl.h (replace_insns): Declare.
8678
8679 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
8680
8681         * expr.c (expand_expr): Cope with COND_EXPRs with one
8682         non-returning branch.
8683
8684 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
8685
8686         * expr.c (store_expr): Always pass down the target, even when not
8687         doing CSE.
8688
8689 1999-08-24  Nick Clifton  <nickc@cygnus.com>
8690
8691         * configure.in: Define target_cpu_default for v850 targets.
8692         * configure: Regenerate
8693
8694         * config/v850/v850.h (TARGET_CPU_generic): Define.
8695         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
8696         addresses are 4 byte aligned.
8697
8698         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
8699         addresses.
8700
8701 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8702
8703         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
8704         (main): Add prototypes.
8705
8706         * genattrtab.c (substitute_address, write_const_num_delay_slots,
8707         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
8708         (write_attr_get): Emit prototypes along with function definition.
8709         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
8710         (write_complex_function): Emit static prototype along with
8711         function definition.
8712
8713         * genemit.c (gen_split): Emit prototypes along with function
8714         definition.
8715
8716         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
8717         Likewise for predicates and `insn_operand_predicate'.
8718         (process_template): Emit static prototype along with function
8719         definition.
8720
8721         * genrecog.c (make_insn_sequence): Constify a char*.  Add
8722         prototypes for get_split_*().
8723         (write_subroutine): Emit prototypes along with function
8724         definition.
8725
8726 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8727
8728         * gcse.c (find_avail_set): Follow chains of register-register copies.
8729         Use oprs_not_set_p to guarantee that the returned value can be
8730         substituted.
8731         (cprop_insn): Don't verify the return value of find_avail_set with
8732         oprs_not_set_p.
8733
8734         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
8735         (cprop_cc0_jump): New function.
8736         (cprop_insn): Break out new function cprop_jump and use it.
8737         Also use cprop_cc0_jump for machines with CC0.
8738         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
8739
8740         * tree.h (current_function_calls_setjmp,
8741         current_function_calls_longjmp): Delete declarations.
8742         * dsp16xx.c: Include "function.h".
8743         * elxsi.c: Likewise.
8744         * gmicro.c: Likewise.
8745         * h8300.c: Likewise.
8746         * i370.c: Likewise.
8747         * m32r.c: Likewise.
8748         * mn10200.c: Likewise.
8749         * mn10300.c: Likewise.
8750         * ns32k.c: Likewise.
8751         * spur.c: Likewise.
8752         * v850.c: Likewise.
8753
8754         * rtl.h (rtx_equal_function_value_matters): Declare.
8755         * toplev.c (rtx_equal_function_value_matters): Don't declare.
8756         * cse.c: Likewise.
8757         * function.c: Likewise.
8758         * emit-rtl.c: Likewise.
8759
8760 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
8761
8762         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
8763         call.
8764
8765 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8766
8767         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
8768         exactly.
8769
8770 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
8771
8772         * cpp.texi: Add a node documenting macro varargs (copied
8773         from extend.texi).
8774
8775 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
8776
8777         * cppspec.c: Put a null pointer at the end of the new argv.
8778
8779 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
8780
8781         * configure.in: Remove code to select/de-select the haifa
8782         scheduler.  Every scheduled port gets haifa now.
8783         * configure: Rebuilt.
8784         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
8785         * sched.c Deleted.
8786         * Makefile.in: Corresponding changes.
8787
8788 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8789
8790         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
8791         All callers changed.
8792         (prepare_float_lib_cmp): Likewise.
8793         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
8794         * expr.h (emit_float_lib_cmp): Delete declaration.
8795         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
8796         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
8797         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
8798         specially.
8799         (cmptf): Now conditional on TARGET_HARD_QUAD.
8800
8801 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
8802
8803         * resource.c (mark_target_live_regs): Use
8804         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
8805
8806 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8807
8808         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
8809
8810         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
8811
8812         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
8813
8814 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8815
8816         * rtl.h (rtx_format): Constify a char*.
8817
8818         * rtl.c (rtx_format): Likewise.
8819         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
8820         (init_rtl): Use accessor macro, not `rtx_format'.
8821
8822         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
8823         char*.
8824
8825         * caller-save.c (mark_referenced_regs): Likewise.
8826
8827         * combine.c (subst, make_compound_operation, known_cond,
8828         gen_rtx_combine, update_table_tick, get_last_value_validate,
8829         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
8830
8831         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
8832         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
8833         count_reg_usage): Likewise.
8834
8835         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
8836         Likewise.
8837
8838         * final.c (leaf_renumber_regs_insn): Likewise.
8839
8840         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
8841         dump_edge_info, count_reg_references): Likewise.
8842
8843         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
8844         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
8845         Likewise.
8846
8847         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
8848         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
8849         add_label_notes): Likewise.
8850
8851         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
8852         clear_struct_flag, count_sub_rtxs, count_alternatives,
8853         compares_alternatives_p, contained_in_p, walk_attr_value,
8854         write_expr_attr_cache): Likewise.
8855
8856         * genconfig.c (walk_insn_part): Likewise.
8857
8858         * genemit.c (max_operand_1, gen_exp): Likewise.
8859
8860         * genextract.c (walk_rtx): Likewise.
8861
8862         * genflags.c (num_operands): Likewise.
8863
8864         * genoutput.c (scan_operands): Likewise.
8865
8866         * genpeep.c (match_rtx): Likewise.
8867
8868         * genrecog.c (add_to_sequence): Likewise.
8869
8870         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
8871         Likewise.
8872
8873         * integrate.c (save_constants, copy_for_inline,
8874         copy_rtx_and_substitute, subst_constants, restore_constants):
8875         Likewise.
8876
8877         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
8878         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
8879
8880         * local-alloc.c (contains_replace_regs, memref_referenced_p):
8881         Likewise.
8882
8883         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
8884         add_label_notes, replace_call_address, count_nonfixed_reads,
8885         invariant_p, find_single_use_in_loop, find_mem_givs,
8886         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
8887         Likewise.
8888
8889         * print-rtl.c (reg_names, print_rtx): Likewise.
8890
8891         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
8892
8893         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
8894         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
8895         print_blocks): Likewise.
8896
8897         * regclass.c (fix_register, record_address_regs,
8898         reg_scan_mark_refs): Likewise.
8899
8900         * regmove.c (stable_but_for_p): Likewise.
8901
8902         * reload.c (loc_mentioned_in_p, operands_match_p,
8903         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
8904         copy_replacements, refers_to_regno_for_reload_p,
8905         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
8906         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
8907         Likewise.
8908
8909         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
8910         delete_address_reloads_1, count_occurrences,
8911         reload_cse_mem_conflict_p, reload_combine_note_use,
8912         add_auto_inc_notes): Likewise.
8913
8914         * resource.c (mark_referenced_resources, mark_set_resources):
8915         Likewise.
8916
8917         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
8918         reg_mentioned_p, regs_set_between_p, modified_between_p,
8919         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
8920         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
8921         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
8922         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
8923
8924         * sched.c (sched_analyze_2, attach_deaths): Likewise.
8925
8926         * stupid.c (stupid_mark_refs): Likewise.
8927
8928         * unroll.c (remap_split_bivs): Likewise.
8929
8930         * varasm.c (mark_constants): Likewise.
8931
8932         * a29k/a29k.c (uses_local_reg_p): Likewise.
8933
8934         * alpha/alpha.c (summarize_insn): Likewise.
8935
8936         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
8937         eliminate_lr2ip): Likewise.
8938
8939         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
8940
8941         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
8942         reg_mentioned_in_mem): Likewise.
8943
8944         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
8945         symbolic_reference_mentioned_p): Likewise.
8946
8947         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
8948
8949         * sh/sh.c (regs_used, mark_use): Likewise.
8950
8951         * vax/vax.c (vax_rtx_cost): Likewise.
8952
8953 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8954
8955         * machmode.h (mode_name): Constify a char*.
8956
8957         * rtl.c (mode_name): Likewise.
8958
8959         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
8960
8961         * optabs.c (init_libfuncs): Constify a char*.
8962
8963         * print-tree.c (mode_name): Remove redundant declaration.
8964         (print_node): Use accessor macro, not `mode_name'.
8965
8966         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
8967         not `mode_name'.
8968         (new_spill_reg): Constify a char*.
8969
8970         * tree.c (mode_name): Remove redundant declaration.
8971
8972 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8973
8974         * rtl.c (rtx_name): Constify a char*.
8975
8976         * rtl.h (rtx_name, fix_sched_param): Likewise.
8977
8978         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
8979         (mypr): Use accessor macro, not `rtx_name'.
8980
8981         * genemit.c (print_code): Constify a char*.
8982
8983         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
8984
8985         * genpeep.c (print_code): Constify a char*.
8986
8987         * genrecog.c (print_code): Likewise.
8988
8989         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
8990         end_bb): Add static prototype.
8991         (draw_edge): Constify a char*.
8992         (end_bb): Remove unused parameter.
8993
8994         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
8995         print_block_visualization): Constify a char*.
8996
8997 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
8998
8999         * c-common.c (c_get_alias_set): Update comment.
9000
9001 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9002
9003         * linux.h (LIB_SPEC): Added.
9004
9005 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9006
9007         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
9008
9009 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
9010
9011         * tree.c (expr_check): Fix typo in last change.
9012
9013 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
9014
9015         * rtl.def (NOTE): Change format to "iuu0n".
9016         (ADDR_DIFF_VEC): Change format to "eEee0".
9017         (ADDRESSOF): Change format to "eit".
9018
9019         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
9020         (RTVEC_ELT): Change to match.
9021         (XVECEXP): Use XVEC and RTVEC_ELT.
9022         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
9023         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
9024         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
9025         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
9026         TRAP_CONDITION, TRAP_CODE): Use XEXP.
9027         (INTVAL): Use XWINT.
9028         (ADDRESSOF_DECL): Use XTREE.
9029         (SET_ADDRESSOF_DECL): Delete.
9030         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
9031         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
9032         ifdefed out since 2.6 at least.
9033         (gen_rtvec_vv): Delete prototype.
9034
9035         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
9036         not rtunion.
9037         (copy_most_rtx): Handle 't' format letter.
9038         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
9039         (gen_rtvec_vv): Delete function.  All callers changed to use
9040         gen_rtvec_v instead.
9041         * print-rtl.c (print_rtx): Move special casing of NOTEs to
9042         the '0' format letter.
9043
9044         * function.c (gen_mem_addressof): Don't use
9045         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
9046         instead.
9047         * integrate.c (copy_rtx_and_substitute): Likewise.
9048         Copy 't' slots with XTREE.
9049         (subst_constants): Treat 't' slots like '[swi]' slots.
9050         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
9051         * jump.c (rtx_equal_for_thread_p): Likewise.
9052         * rtlanal.c (rtx_equal_p): Likewise.
9053         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
9054         only four arguments.
9055         * gengenrtl.c (type_from_format): Provide correct types for
9056         'b' and 't' slots.
9057
9058
9059         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
9060         If a recent gcc is in use (always in stage2 and beyond), use
9061         statement expressions, so we don't make a function call unless
9062         the check fails.  Evaluate arguments exactly once.
9063         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
9064         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
9065         Delete.
9066         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
9067         they evaluate their arguments exactly once, irrespective of
9068         the compiler in use.
9069
9070         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
9071         is used by the currently-enabled check macros.  This is:
9072         (tree_check_failed, tree_class_check_failed): For gcc.
9073         (tree_check, tree_class_check, cst_or_constructor_check,
9074         expr_check): For other compilers.
9075
9076         * gencheck.c: Do not define any *_CHECK1 macros.
9077
9078 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
9079                           Mark Mitchell <mark@codesourcery.com>
9080
9081         * c-common.c (c_get_alias_set): Fix support for poitners and
9082         references.
9083
9084 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
9085
9086         * alias.c: Include tree.h.
9087         (nonlocal_reference_p, mark_constant_function): New functions.
9088         * flow.c (life_analysis): Call mark_constant_function.
9089         * rtl.h (mark_constant_function): Declare it.
9090
9091 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
9092
9093         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
9094         unrecognisable switches.
9095
9096 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9097
9098         * loop.c (recombine_givs): Set ix field after sorting.
9099         (recombine_givs): Remove bogus index / giv lockstep looping.
9100
9101 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9102
9103         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
9104         on CODE.
9105         (emit_store_flag_force): Use do_compare_rtx_and_jump.
9106         (do_cmp_and_jump): Formatting fixes.
9107         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
9108         do_compare_rtx_and_jump instead of compare_from_rtx.
9109         (do_compare_rtx_and_jump): New function; mostly copied from
9110         compare_from_rtx.
9111         (do_jump_for_compare): Delete.
9112         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
9113         MIN_EXPR.
9114         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
9115         of compare/do_jump_for_compare pairs.
9116         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
9117         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
9118         compare_from_rtx/do_jump_for_compare pairs.
9119         (do_jump_by_parts_equality): Likewise.
9120         (do_jump_by_parts_equality_rtx): Likewise.
9121         * expr.h (do_compare_rtx_and_jump): Declare.
9122         * optabs.c (prepare_cmp_insn): New function, contains most of the code
9123         that used to be in emit_cmp_insn.
9124         (cmp_available_p): New function.
9125         (prepare_operand): New function.
9126         (emit_cmp_and_jump_insn_1): New function, contains some code that used
9127         to be in emit_cmp_insn.
9128         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
9129         parameters to be pointers; don't emit final compare but modify some of
9130         the values pointed to by the args so the caller can perform the
9131         correct comparison.
9132         (expand_binop): Call emit_store_flag_force with signed forms of
9133         comparison code.
9134         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
9135         emit_jump_insn pair.
9136         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
9137         emit_cmp_and_jump_insn_1.  Call emit_queue.
9138         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
9139         arg.
9140         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
9141         jump sets cc0 before deleting it.
9142         * integrate.c (expand_inline_function): Likewise.
9143         * unroll.c (unroll_loop): Similar changes in several places.
9144         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
9145         before deleting it.
9146
9147 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9148
9149         * Makefile.in (insn-recog.o): Update dependencies.
9150         * genrecog.c (main): Make generated file include "function.h".
9151
9152 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
9153
9154         * cse.c (cse_insn): Call never_reached_warning when a jump is
9155         changed to be unconditional.
9156         * flags.h: Declare warn_notreached.
9157         * flow.c (delete_block): Call never_reached_warning when
9158         a block is deleted.
9159         * jump.c (delete_barrier_successors): Call never_reached_warning
9160         when we delete everything after a BARRIER.
9161         (never_reached_warning): New function.
9162         * rtl.h: Declare never_reached_warning.
9163         * toplev.c (warn_notreached): New variable.
9164         (lang_independent_options): Set warn_notreached
9165         when -Wunreachable-code.
9166         (compile_file): We need line numbers for -Wunreachable-code.
9167
9168 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
9169
9170         * haifa-sched.c (insn_unit): Fix typo on out of range test.
9171         * sched.c (insn_unit): Likewise.
9172
9173 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
9174
9175         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
9176
9177 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9178
9179         * flow.c (create_edge_list): Use xmalloc, not malloc.
9180
9181 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
9182
9183         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
9184         C-style comments.  Do not lose the character before double slash.
9185
9186 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9187
9188         * basic-block.h (struct edge_list): Stucture to maintain a vector
9189         of edges.
9190         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
9191          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
9192         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
9193         New function prototypes.
9194         * flow.c (create_edge_list): Function to create an edge list.
9195         (free_edge_list): Discards memory used by an edge list.
9196         (print_edge_list): Debug output showing an edge list.
9197         (verify_edge_list): Internal consistency check for an edge list.
9198         (find_edge_index): Function to find an edge index for a pred and succ.
9199
9200 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
9201
9202         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
9203         hashtable.
9204
9205 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
9206
9207         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
9208
9209 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9210
9211         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
9212
9213 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
9214
9215         * toplev.c (rest_of_compilation): Allow machine dependent
9216         reorganisation pass to place information into the RTL dump
9217         file if it so wishes.
9218
9219 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
9220
9221         * explow.c (hard_function_value): Use VOIDmode instead of
9222         MAX_MACHINE_MODE.
9223         * stmt.c (expand_return): Likewise.
9224         * stor-layout.c (get_best_mode): Likewise.
9225
9226         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
9227         emit call instead of emit_insn call.
9228
9229 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9230
9231         * configure.in: Handle --disable/enable-win32-registry.
9232         * install.texi: Document --disable/enable-win32-registry.
9233         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
9234         (WIN32_REGISTRY_KEY): New macro.
9235         * prefix.c: Use to enable/disable win32-specific code.
9236         (lookup_key): Use versioned key.
9237         * configure: Regenerate.
9238         * config.in: Likewise.
9239
9240 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
9241
9242         * cpplib.c (read_line_number): New fn, split out of...
9243         (do_line): Here.
9244
9245 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
9246
9247         tree.c (lang_unsave_expr_now) : New.
9248         (unsave_expr_now): Call lang_unsave_expr_now.
9249         tree.h (lang_unsave_expr_now) : New.
9250
9251 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
9252
9253         * toplev.c (flag_new_exceptions): On by default.
9254
9255 1999-08-13  Michael Meissner  <meissner@cygnus.com>
9256
9257         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
9258
9259 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
9260
9261         * dwarfout.c (fundamental_type_code): Return FT_boolean for
9262         INTEGER_TYPE with precision==1, it's __java_boolean.
9263
9264 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9265
9266         * global.c (prune_preferences): Move some invariants out of the
9267         inner loop.
9268
9269 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
9270
9271         * configure.in (alpha*-dec-osf*): Add osf5.
9272
9273 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
9274
9275         * configure.in: Rework handling of ARM GNU/Linux slightly.
9276         (arm*-*-linux-gnuoldld): New target.
9277         * configure: Regenerate.
9278         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
9279         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
9280         * config/arm/linux-oldld.h: New file.
9281         * config/arm/linux-elf26.h: Don't include linux-elf.h.
9282         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
9283         Don't define.
9284         * config/arm/linux-elf.h (ASM_SPEC): Define.
9285         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
9286         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
9287         for 26-bit APCS and old linker.
9288         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
9289         `arm_elf'.
9290         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
9291         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
9292         don't define `arm' or `arm_elf'.
9293         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
9294         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
9295
9296 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
9297
9298         * rtl.texi: Fix typo.
9299
9300 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
9301
9302         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
9303
9304 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
9305
9306         * extend.texi (C++ Signatures): Remove node.
9307         * invoke.texi: Remove discussion of -fhandle-signatures,
9308         signature, sigof, __signature__, and __sigof__.
9309
9310 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
9311
9312         * Makefile.in (JAVAGC): Removed.
9313
9314 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9315
9316         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
9317
9318 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
9319
9320         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
9321
9322 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
9323
9324         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
9325         a register that is already known to be a pointer.
9326
9327 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
9328
9329         * fixinc/inclhack.tpl: Only install assert.h conditionally.
9330         * fixinc/inclhack.sh: Regenerated.
9331         * fixinc/fixincl.sh: Regenerated.
9332
9333 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
9334
9335         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
9336         Fix documentation of -ansi flag to describe its C++ behavior.
9337         Remove bogus reference to GCC 2.9.
9338
9339 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
9340
9341         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
9342         note if it is non-NULL.
9343
9344 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9345
9346         * except.h (eh_nesting_info): Add new structure defintion.
9347         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
9348         (reachable_handlers, update_rethrow_references): Add function
9349         prototypes.
9350         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
9351         a rethrow symbol instead of an integer exception region number.
9352         * flow.c (Make_edges): Use new exception nesting routines to determine
9353         which handlers are reachable from a CALL or asynchronous insn.
9354         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
9355         goto receivers.
9356         (delete_eh_regions): Update rethrow labels, and don't delete
9357         regions which are the target of a rethrow.
9358         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
9359         avoid overloading the SYMBOL_REF_USED flag.
9360         (rethrow_symbol_map): Use new rethrow_ref field.
9361         (rethrow_used): Use new rethrow_ref field.
9362         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
9363         of an integer.  Fix formatting.
9364         (output_exception_table_entry): Use new rethrow_ref field.
9365         (can_throw): Check for EH_REGION_NOTE before deciding
9366         whether a CALL can throw or not.
9367         (scan_region): Call rethrow_used() instead of accessing data structure.
9368         (update_rethrow_references): New function to make sure only regions
9369         which are still targets of a rethrow are flagged as such.
9370         (process_nestinfo): New static function to initialize a handler
9371         list for a specific region.
9372         (init_eh_nesting_info): New function to allocate and initialize
9373         the list of all EH handlers reachable from all regions.
9374         (reachable_handlers): New function to retrieve the list of handlers
9375         reachable from a specific region and insn.
9376         (free_eh_nesting_info): New function to dispose of a list of
9377         reachable handlers.
9378
9379 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9380
9381         * flow.c (split_edge): Set JUMP_LABEL field.
9382         (commit_one_edge_insertion): Set head correctly for insert_before.
9383         When inserting insns, update insn block numbers if allocated.
9384
9385 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9386
9387         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
9388         retry_incomplete_types): Add static prototype.
9389         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
9390         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
9391         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
9392         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
9393         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
9394         Constify a char*.
9395
9396         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
9397         dwarf2out_start_source_file, dwarf2out_line): Likewise.
9398
9399 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9400
9401         * output.h (assemble_name): Constify a char*.
9402
9403         * varasm.c (UNIQUE_SECTION, assemble_start_function,
9404         assemble_variable, assemble_name): Likewise.
9405
9406         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
9407
9408         * arm/pe.c (arm_pe_unique_section): Likewise.
9409
9410         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
9411
9412         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
9413
9414         * i386/interix.c (i386_pe_unique_section): Likewise.
9415
9416         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9417
9418         * i386/winnt.c (i386_pe_unique_section): Likewise.
9419
9420         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
9421
9422         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
9423
9424         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
9425
9426         * pa/pa.c (output_call): Likewise.
9427
9428         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
9429
9430         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
9431
9432         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
9433         Likewise.
9434
9435         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
9436         Likewise.
9437
9438         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
9439
9440         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
9441         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
9442
9443         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
9444
9445 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9446
9447         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
9448
9449 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9450
9451         * tree.h (lang_identify): Constify a char*.
9452         (print_error_function): Add extern prototype.  Constify a char*.
9453
9454         * c-lang.c (lang_identify): Constify a char*.
9455
9456         * objc/objc-act.c (lang_identify): Constify a char*.
9457
9458 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9459
9460         * genpeep.c (main): Make generated file include "function.h".
9461         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
9462
9463 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9464
9465         * Makefile.in: Update dependencies.
9466         * alias.c: Include "function.h"
9467         * c-decl.c: Likewise.
9468         * caller-save.c: Likewise.
9469         * calls.c: Likewise.
9470         * combine.c: Likewise.
9471         * cse.c: Likewise.
9472         * explow.c: Likewise.
9473         * final.c: Likewise.
9474         * global.c: Likewise.
9475         * graph.c: Likewise.
9476         * local-alloc.c: Likewise.
9477         * loop.c: Likewise.
9478         * optabs.c: Likewise.
9479         * profile.c: Likewise.
9480         * recog.c: Likewise.
9481         * regclass.c: Likewise.
9482         * regmove.c: Likewise.
9483         * reload.c: Likewise.
9484         * reorg.c: Likewise.
9485         * resource.c: Likewise.
9486         * sched.c: Likewise.
9487         * stupid.c: Likewise.
9488         * config/1750a/1750a.c: Likewise.
9489         * config/a29k/a29k.c: Likewise.
9490         * config/arc/arc.c: Likewise.
9491         * config/arm/arm.c: Likewise.
9492         * config/arm/thumb.c: Likewise.
9493         * config/c4x/c4x.c: Likewise.
9494         * config/clipper/clipper.c: Likewise.
9495         * config/convex/convex.c: Likewise.
9496         * config/fx80/fx80.c: Likewise.
9497         * config/i860/i860.c: Likewise.
9498         * config/m68k/m68k.c: Likewise.
9499         * config/m88k/m88k.c: Likewise.
9500         * config/mips/mips.c: Likewise.
9501         * config/pdp11/pdp11.c: Likewise.
9502         * config/pyr/pyr.c: Likewise.
9503         * config/romp/romp.c: Likewise.
9504         * config/sh/sh.c: Likewise.
9505         * config/tahoe/tahoe.c: Likewise.
9506         * config/vax/vax.c: Likewise.
9507         * config/we32k/we32k.c: Likewise.
9508         * config/sparc/sparc.c: Include "function.h".
9509         (mem_min_alignment): Test current_function rather than
9510         regno_pointer_align.
9511         * config/pa/pa.c: Likewise.
9512         (compute_frame_size): Delete declaration of
9513         current_function_outgoing_args_size.
9514         * config/arc/arc.h (current_function_varargs): Delete declaration.
9515         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
9516         declaration.
9517         * config/i370/i370.h (current_function_outgoing_args_size): Delete
9518         declaration.
9519         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
9520         current_function_uses_pic_offset_table.
9521         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
9522         of current_function_returns_pointer.
9523         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9524         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9525         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9526         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9527         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9528         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9529         * config/m88k/m88k.c: Include "function.h"
9530         (call_used_regs, current_function_pretend_args_size,
9531         current_function_outgoing_args_size, frame_pointer_needed): Delete
9532         declarations.
9533         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
9534         declaration.
9535         * config/mips/mips.h (current_function_calls_alloca): Delete
9536         declaration.
9537         * config/mn10200/mn10200.h (current_function_needs_context,
9538         rtx_equal_function_value_matters): Delete declarations.
9539         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
9540         flag_pic): Delete declarations.
9541         * config/pa/pa.h (current_function_pretend_args_size,
9542         current_function_decl): Delete declarations.
9543         * config/pa/som.h (current_function_varargs): Delete declaration.
9544         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
9545         declaration.
9546         * config/pyr/pyr.h (current_function_pretend_args_size,
9547         current_function_args_size, current_function_calls_alloca): Delete
9548         declarations.
9549         * config/sh/sh.h (current_function_varargs): Delete declaration.
9550         * config/sparc/sparc.h (current_function_outgoing_args_size,
9551         current_function_calls_alloca, current_function_decl): Delete
9552         declarations.
9553         * config/spur/spur.h (current_function_pretend_args_size,
9554         current_function_calls_alloca): Delete declarations.
9555         * config/v850/v850.c (current_function_outgoing_args_size): Delete
9556         declaration.
9557         * config/vax/vms.h (current_function_name): Delete declaration.
9558         * gcse.c: Include "function.h".
9559         (current_function_name, current_function_calls_setjmp): Delete
9560         declarations.
9561         * haifa-sched.c: Include "function.h".
9562         (forced_labels): Delete declaration.
9563         * jump.c: Likewise.
9564         * reg-stack.c: Likewise.
9565         * reload1.c: Likewise.
9566         * genemit.c (main): Make generated file include function.h.
9567         * genoutput.c (output_prologue): Likewise.
9568
9569         * builtins.c (saveregs_value, apply_args_value): Delete variables.
9570         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
9571         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
9572         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
9573         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
9574         macros for some of them.
9575         (emit_filename, emit_lineno): Delete declarations.
9576         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
9577         regno_pointer_* variables through current_function.
9578         (gen_inline_header_rtx): Delete function.
9579         (save_emit_status): Delete function.
9580         (set_new_last_label_num): New function.
9581         (clear_emit_caches): New function.
9582         (restore_emit_status): Just clear last_labelnum and call
9583         clear_emit_caches.
9584         (get_last_insn_anywhere): Variable sequence_stack is now accessed
9585         through macro seq_stack.
9586         (add_insn_after): Likewise.
9587         (add_insn_before): Likewise.
9588         (remove_insn): Likewise.
9589         (pop_topmost_sequence): Likewise.
9590         (in_sequence_p): Likewise.
9591         (start_sequence_for_rtl_expr): Likewise.
9592         (start_sequence): Likewise, and likewise for
9593         sequence_rtl_expr/seq_rtl_expr.
9594         (push_topmost_sequence): Likewise.
9595         (end_sequence): Likewise.
9596         (init_virtual_regs): Now takes a "struct emit_status *" argument.
9597         All callers changed.  Store into that pointer instead of globals.
9598         (init_emit): Allocate emit elt of current_function.
9599         Changes for sequence_rtl_expr/sequence_stack renaming.
9600         Call clear_emit_caches instead of doing it in-line.
9601         Access regno_pointer_* variables through current_function.
9602         (init_emit_once) Don't clear sequence_stack.
9603
9604         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
9605         Delete variables.
9606         (arg_pointer_save_area): Delete declaration.
9607         (finish_expr_for_function): Renamed from init_queue; no longer static.
9608         (init_expr): Don't call init_queue.
9609         (save_expr_status, restore_expr_status): Delete functions.
9610         (expand_expr): Changes to reflect new layout of struct function.
9611         Don't access current_function_check_memory_usage when current_function
9612         is 0.
9613         * expr.h (forced_labels, save_expr_regs, saveregs_value,
9614         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
9615         current_function_outgoing_args_size, current_function_arg_offset_rtx,
9616         current_function_uses_const_pool, function_call_count,
9617         current_function_uses_pic_offset_table, nonlocal_labels,
9618         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
9619         current_function_check_memory_usage, nonlocal_goto_handler_slots,
9620         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
9621         declarations.
9622         (finish_expr_for_function): Declare.
9623         * flags.h (current_function_has_nonlocal_label,
9624         current_function_has_nonlocal_goto, current_function_is_thunk,
9625         current_function_has_computed_jump): Delete declarations.
9626         * flow.c (forced_labels): Delete declaration.
9627         * function.c (current_function_pops_args,
9628         current_function_returns_struct, current_function_returns_pcc_struct,
9629         current_function_needs_context, current_function_calls_setjmp,
9630         current_function_calls_longjmp, current_function_has_nonlocal_label,
9631         current_function_has_nonlocal_goto, current_function_is_thunk,
9632         current_function_has_computed_jump, current_function_calls_alloca,
9633         current_function_contains_functions, current_function_returns_pointer,
9634         current_function_epilogue_delay_list, current_function_args_size,
9635         current_function_pretend_args_size, current_function_arg_offset_rtx,
9636         current_function_outgoing_args_size, current_function_varargs,
9637         current_function_stdarg, current_function_args_info, cleanup_label,
9638         current_function_name, current_function_uses_const_pool,
9639         current_function_instrument_entry_exit, current_function_return_rtx,
9640         current_function_uses_pic_offset_table, nonlocal_labels,
9641         current_function_internal_arg_pointer, current_function_cannot_inline,
9642         current_function_check_memory_usage, function_call_count,
9643         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
9644         nonlocal_goto_stack_level, return_label, save_expr_regs,
9645         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
9646         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
9647         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
9648         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
9649         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
9650         Delete variables.
9651         (push_function_context_to): Don't save them.  Don't call
9652         save_storage_status, save_emit_status or save_expr_status.
9653         (pop_function_context_from): Don't restore them.  Don't call
9654         restore_storage_status or restore_expr_status.
9655         (get_func_frame_size): New function.
9656         (get_frame_size): Use it.
9657         (assign_outer_stack_local): Reflect some member name changes in struct
9658         function.
9659         (put_reg_into_stack): Likewise.
9660         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
9661         seq_rtl_expr.
9662         (fixup_var_refs): Likewise.
9663         (fix_lexical_addr): Likewise.
9664         (trampoline_address): Likewise.
9665         (prepare_function_start): Clear field inlinable of current_function.
9666         (init_function_for_compilation): New function.
9667         (expand_dummy_function_end): New function.
9668         (expand_function_end): Call finish_expr_for_function.
9669         * function.h (struct emit_status): New; fields moved here from struct
9670         function and from global variables.  Add accessor macros for some of
9671         the fields.
9672         (struct expr_status): Likewise.
9673         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
9674         (struct function): Add fields expr and emit, inlinable, inl_emit,
9675         original_arg_vector, original_decl_initial, inl_last_parm_insn,
9676         inl_max_label_num.  Add many comments.
9677         Add accessor macros for all elts of struct function that no longer
9678         have a global variable.
9679         (cleanup_label, return_label, frame_offset, tail_recursion_label,
9680         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
9681         stack_slot_list): Delete declarations.
9682         (get_func_frame_size): Declare.
9683         (save_expr_status, restore_expr_status, save_emit_status,
9684         save_storage_status, restore_storage_status): Delete declarations.
9685         (init_virtual_regs): Declare.
9686         * output.h (current_function_pops_args,
9687         current_function_returns_struct, current_function_returns_pcc_struct,
9688         current_function_needs_context, current_function_calls_setjmp,
9689         current_function_calls_longjmp, current_function_calls_alloca,
9690         current_function_has_nonlocal_label, current_function_varargs,
9691         current_function_has_computed_jump, current_function_returns_pointer,
9692         current_function_contains_functions, current_function_args_size,
9693         current_function_pretend_args_size, current_function_stdarg,
9694         current_function_outgoing_args_size, current_function_args_info,
9695         current_function_name, current_function_return_rtx,
9696         current_function_epilogue_delay_list,
9697         current_function_uses_const_pool, current_function_cannot_inline):
9698         Delete declarations.
9699         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
9700         regno_reg_rtx): Delete declaration.
9701         (REGNO_POINTER_FLAG): Delete macro.
9702         * stmt.c (expand_goto): Changes to reflect that some fields in struct
9703         function were renamed.
9704         * stor-layout.c (save_storage_status, restore_storage_status): Delete
9705         functions.
9706         * toplev.c: Include "function.h".
9707         (current_function_decl): Delete declaration.
9708         (compile_file): Call init_dummy_function_start and
9709         expand_dummy_function_end around some initializations that need to
9710         emit rtl.
9711         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
9712         Call init_function_for_compilation.
9713         * unroll.c: Include "function.h"
9714         (unroll_loop): Access regno_pointer_* variables through
9715         current_function.
9716
9717         * tree.h (struct tree_decl): Add elt f to saved_insns member.
9718         (DECL_SAVED_INSNS): use it.
9719         (expand_dummy_function_end): Declare.
9720         (init_function_for_compilation): Declare.
9721         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
9722         that it's no longer an INLINE_HEADER.
9723         (expand_call): Likewise.
9724         * integrate.c (finish_inline): Delete function.
9725         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
9726         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
9727         args.  Don't generate an INLINE_HEADER rtx, just return the arg
9728         vector.  All callers changed.
9729         (save_for_inline_copying):  Create a duplicate struct emit_status to
9730         hold the emit state for compiling the current function.  Use this and
9731         the other new fields in struct function that are for integration
9732         instead of an INLINE_HEADER.
9733         Use memcpy instead of bcopy.
9734         Store the current struct function in DECL_SAVED_INSNS of fndecl.
9735         (save_for_inline_nocopy): Similar changes, except no new emit_status
9736         is needed here.
9737         (expand_inline_function): Get information from function structure,
9738         not from an inline header rtx.
9739         (output_inline_function): Lose code to extract the necessary
9740         information from an inline header; simply put back the function
9741         structure into current_function.  Clear its inlinable elt.
9742         * rtl.def (INLINE_HEADER): Delete.
9743         * rtl.h: Delete all accessors for an INLINE_HEADER.
9744         (gen_inline_header_rtx): Delete declaration.
9745         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
9746         Delete declarations.
9747         (REGNO_POINTER_ALIGN): Delete.
9748         (clear_emit_caches): Declare.
9749         (set_new_last_label_num): Declare.
9750
9751 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
9752
9753         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
9754
9755         * except.c (expand_eh_region_start_for_decl): Always start a new block.
9756         * stmt.c (is_eh_region): Make sure current_function is present, too.
9757
9758 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
9759
9760         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
9761         for 64bit PA targets.
9762
9763         * pa.h (SELECT_SECTION): Define.
9764         * som.h (SELECT_SECTION): Delete.
9765
9766 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9767
9768         * alias.c (init_alias_analysis): Wrap call to
9769         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
9770
9771 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
9772
9773         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
9774         <sys/asm.h> contains an asm comment with an apostrophe
9775         * fixinc/inclhack.sh:  regen
9776         * fixinc/fixincl.x:  regen
9777
9778 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
9779
9780         * function.c (init_function_start): Clear prologue & epilogue.
9781         (prologue_epilogue_contains): New function.
9782         * alias.c (init_alias_analysis): Use it.
9783         * rtl.h (prologue_epilogue_contains): Declare it.
9784
9785 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
9786
9787         * jump.c (onlyjump_p): New function.
9788         * rtl.h: Declare it.
9789         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
9790         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
9791
9792 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
9793
9794         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
9795         to invert loops.  Simplify block scanning.
9796
9797 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
9798
9799         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
9800         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
9801
9802 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
9803
9804         * config/sparc/liteelf.h: New file to support sparclite-elf target
9805         * config/sparc/t-sp86x: New file to support sparc86x targets
9806         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
9807         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
9808         * configure.in: Support above target triplets
9809         * configure: Regenerated
9810
9811 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
9812
9813         * fixinc/server.c (server_setup): Do not prefix function used as
9814         parameter with `&'.
9815
9816 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
9817
9818         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
9819         Remove fp reg alternatives.
9820
9821 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
9822
9823         * Makefile.in (TAROUTOPTS): Kill.
9824         (install-headers-tar): Use "xpf" for tar headerfile extraction
9825         * i370/x-oe (TAROUTOPTS): Delete.
9826         * m68k/x-apollo68 (TAROUTOPTS): Delete.
9827         * m68k/x-hp320 (TAROUTOPTS): Delete.
9828         * m68k/x-hp320g (TAROUTOPTS): Delete.
9829         * gcc.texi: Update bug reporting text.
9830
9831 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9832
9833         * reg-stack.c (change_stack) Fixed problem with negative array index.
9834
9835 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
9836
9837         * extend.texi, install.texi: Fix spelling mistakes.
9838
9839         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
9840         (s-attrtab); No longer try to use pre-made insn-attrtab file.
9841         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
9842         PREMADE_ATTRTAB_MD.
9843         * mips/t-ecoff: Likewise.
9844         * mips/t-elf: Likewise.
9845         * mips/t-mips: Likewise.
9846         * mips/t-osfrose: Likewise.
9847         * mips/t-r3900: Likewise.
9848         * mips/t-svr3: Likewise.
9849         * mips/t-svr4: Likewise.
9850         * mips/t-ultrix: Likewise.
9851
9852         * gcc.texi: Document recommend means to provide software floating
9853         point libraries in libgcc.a
9854
9855 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
9856
9857         * c-lex.c (yylex): We can have a number with no digits.
9858
9859 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
9860
9861         * jump.c (delete_prior_computation): New function, broken
9862         out of delete_computation.  Check for side effects with
9863         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
9864         multi-word hard registers.
9865         (delete_computation): Use it.  Check for side effects with
9866         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
9867         missing REG_DEAD note for a register which is both set and
9868         used by an insn.
9869
9870 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
9871
9872         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
9873         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
9874         (ASM_FILE_START): Import _mcount with the right type.
9875         (ASM_DECLARE_FUNCTION_NAME): Define.
9876         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
9877         * pa.c (output_function_prologue): Always emit the function's label
9878         here.
9879         * pa.h (TEXT_SPACE_P): Define.
9880         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9881         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
9882         * som.h (TEXT_SPACE_P): Delete.
9883         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9884         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
9885
9886 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
9887
9888         * expr.c (emit_group_load): Allow src to be a CONCAT.
9889
9890 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9891
9892         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
9893         (___mulsi3): Use '!' comment character.
9894
9895 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9896
9897         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
9898
9899 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
9900
9901         * gcc.c: Update URLs and mail addresses.
9902         * gcc.texi: Likewise.
9903
9904 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
9905
9906         * rs6000.c (current_file_function_operand): Return zero for
9907         weak functions.
9908         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
9909         weak symbols.
9910         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
9911         for weak symbols.
9912
9913 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
9914
9915         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
9916         allocate space in the stack frame for the PIC register.
9917
9918 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
9919
9920         * m68k.md (xordi3, anddi3): These patterns are not available on
9921         the coldfire.
9922
9923 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
9924
9925         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
9926         (PUT_REAL): Likewise.
9927
9928 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9929
9930         * final.c (shorten_branches): Don't add an alignment for loops
9931         that have no label inside.
9932
9933 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9934
9935         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
9936         prototypes in macro HAVE_cmpstrsi.
9937
9938         * cpplib.c (cpp_get_token): Remove unused label `op3'.
9939
9940         * emit-rtl.c (operand_subword): Remove unused variable
9941         `bits_per_word'.
9942
9943         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
9944
9945         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
9946
9947 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
9948
9949         * cpphash.c (macroexpand): Delete leading whitespace when arg
9950         is concatenated before.
9951         (unsafe_chars): Correct test for whether + and - can extend a
9952         token.
9953
9954         * cppinit.c (cpp_start_read): Do dependencies for
9955         -include/-imacros files also.
9956
9957         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
9958         tokenizing non-directive lines.
9959         (cpp_expand_to_buffer): Temporarily disable no-output mode.
9960         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
9961         the input file.
9962
9963 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
9964
9965         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
9966
9967         * c-lex.c: Sync with C++ frontend.
9968         (linemode): New variable.
9969         (parse_float): imag, conversion_errno, and type are output only.
9970         (yylex): Adjust.  Move initial '.' case into main switch.
9971         Use linemode.
9972         (handle_generic_pragma): Just deal with tokens.
9973         (readescape): Use ISXDIGIT and ISGRAPH.
9974         * c-parse.in: Add END_OF_LINE token.
9975
9976         * c-lex.c (lang_init): Generalize.
9977         (nextchar): Remove.  Replace uses with UNGETC.
9978         (skip_white_space): Handle linemode here.  Optimize for cpplib.
9979         (skip_white_space_on_line): Remove.
9980         (extend_token_buffer_to): New fn.
9981         (extend_token_buffer): Use it.
9982         (read_line_number, check_newline): Just deal with tokens.
9983         (token_getch, token_put_back): New fns.
9984         (yylex): Use them.  More cpplib optimizations.  Simplify.
9985
9986 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
9987                           Jason Merrill  <jason@yorick.cygnus.com>
9988
9989         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
9990         (consume_string): Make this smart about USE_CPPLIB.
9991         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
9992         (yylex): Rewrite to be intelligent about USE_CPPLIB.
9993         Also, clean up cases where we redundantly set token_buffer[0].
9994         (read_line_number): New fn.
9995         (ignore_escape_flag): New variable.
9996
9997 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
9998
9999         * a29k/t-a29kbare: Fix some comments.
10000         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
10001         (FPBIT, DPBIT): Define.
10002         * a29k/t-vx29k: Likewise.
10003         * arc/t-arc: Likewise.
10004         * arm/t-arm-elf: Likewise.
10005         * arm/t-bare: Likewise.
10006         * arm/t-pe: Likewise.
10007         * arm/t-pe-thumb: Likewise.
10008         * arm/t-semi: Likewise.
10009         * arm/t-thumb: Likewise.
10010         * arm/t-thumb-elf: Likewise.
10011         * arm/t-thumb-linux: Likewise.
10012         * h8300/t-h8300: Likewise.
10013         * i960/t-i960: Likewise.
10014         * i960/t-vxworks960: Likewise.
10015         * m32r/t-m32r: Likewise.
10016         * mips/t-ecoff: Likewise.
10017         * mips/t-elf: Likewise.
10018         * mips/t-r3900: Likewise.
10019         * pa/t-pro: Likewise.
10020         * rs6000/t-aix43: Likewise.
10021         * rs6000/t-beos: Likewise.
10022         * rs6000/t-newas: Likewise.
10023         * rs6000/t-ppccomm: Likewise.
10024         * rs6000/t-rs6000: Likewise.
10025         * rs6000/t-winnt: Likewise.
10026         * rs6000/t-xnewas: Likewise.
10027         * rs6000/t-xrs6000: Likewise.
10028         * sh/t-sh: Likewise.
10029         * sparc/t-elf: Likewise.
10030         * sparc/t-sparcbare: Likewise.
10031         * sparc/t-sparclite: Likewise.
10032         * sparc/t-splet: Likewise.
10033         * v850/t-v850: Likewise.
10034         * mn10200/t-mn10200: Fix comments.
10035         * mn10300/t-mn10300: Likewise.
10036
10037         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
10038         dummy operand.  Allocate a new pseudo for the dummy operand.
10039         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
10040
10041         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
10042
10043 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
10044
10045         * configure: Rebuilt.
10046         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
10047
10048 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
10049
10050         * recog.c (preproces_constraints): Zero recog_op_alt before
10051         processing the constraints.
10052
10053         * arm.c (typedef minipool_node): Renamed from pool_node.
10054         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
10055         (add_minipool_constant): New function.
10056         (dump_minipool): New function.
10057         (find_barrier): Remove special case for getting the insn size of
10058         an insn that references the constant pool.
10059         (minipool_fixup): New structure.
10060         (push_minipool_barrier): New function.
10061         (push_minipool_fix): New function.
10062         (note_invalid_constants): New function.
10063         (add_pool_constant, dump_table, fixit, broken_move): Delete.
10064         (arm_reorg): Rewrite code to fix up the constant pool into a
10065         series of mini-pools embedded in the insn stream.
10066         (arm_output_epilogue): New function, made mainly from the body
10067         of output_func_epilogue.
10068         (output_func_epilogue): Move insn generation part of epilogue code
10069         to arm_output_epilogue.
10070         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
10071         * arm.md (pool_range): New attribute.
10072         (zero_extendqidi2): Add attribute pool_range.
10073         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
10074         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
10075         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
10076         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
10077         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
10078         (epilogue): New expand.
10079         (epilogue_insn): New insn.  Call arm_output_epilogue.
10080
10081         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
10082         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
10083
10084 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
10085
10086         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10087
10088 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
10089
10090         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
10091
10092 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
10093
10094         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
10095
10096 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
10097
10098         * global.c: Fix comment.
10099
10100 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
10101
10102         * gcc.c (access_check): New static function.
10103         (find_a_file): Use it when searching a directory list.
10104         * collect2.c (find_a_file): Don't accept directories found when
10105         searching a directory list.
10106
10107 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
10108
10109         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
10110         function parameters with `&'.
10111         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
10112
10113 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
10114
10115         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
10116         or tidy_fallthru_edge if the last insn in the block is not
10117         an unconditional jump or a simple conditional jump.
10118
10119 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10120
10121         * Makefile.in (c-decl.o): Depends on defaults.h.
10122
10123 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
10124
10125         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
10126         PA1.1 and above.
10127         (CLASS_MAX_NREGS): Likewise.
10128
10129 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
10130
10131         * cse.c (cse_insn): Fix dumb thinko in last change.
10132
10133 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10134
10135         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
10136         "const char *".
10137
10138 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10139
10140         * dwarf2out.c (add_location_or_const_value_attribute): Correct
10141         test for sizes of passed and declared parameter types.
10142
10143 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10144
10145         * fixincludes: Fix the return type of bsearch, char* -> void*.
10146
10147         * fixinc/inclhack.def: Likewise.
10148
10149 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
10150
10151         * invoke.texi (-fdump-translation-unit): New option.
10152
10153 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
10154
10155         * expr.h (PROMOTE_PROTOTYPES): Move ...
10156         * defaults.h: ... to here.
10157         * c-decl.c: Include defaults.h instead of expr.h.
10158         * c-typeck.c: Include defaults.h.
10159
10160 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
10161
10162         * toplev.h (errorcount): Declare.
10163         (warningcount): Likewise.
10164         (sorrycount): Likewise.
10165         * c-lex.c (errorcount): Don't declare.
10166         * dwarf2out.c (errorcount): Don't declare.
10167
10168 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
10169
10170         * config/libgloss.h: Add a note discouraging use with ELF.
10171         * configure.in: Don't use libgloss.h for ELF targets.
10172         Always use_collect2 on a.out targets.
10173
10174 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
10175
10176         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
10177         (force_to_mode, case ASHIFTRT): Add shiftrt label.
10178
10179 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10180
10181         * loop.c (strength_reduce): When doing biv->giv conversion, update
10182         reg note of NEXT->insn.
10183
10184 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
10185
10186         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
10187
10188 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
10189
10190         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
10191         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
10192         Ensure expr.h is included.
10193         * c-typecheck.c (convert_arguments): Ditto.
10194
10195         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
10196
10197         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
10198         * config/convex/convex.h: Ditto.
10199         * config/dsp16xx/dsp16xx.h: Ditto.
10200         * config/fx80/fx80.h: Ditto.
10201         * config/gmicro/gmicro.h: Ditto.
10202         * config/i370/i370.h: Ditto.
10203         * config/i386/i386.h: Ditto.
10204         * config/m32r/m32r.h: Ditto.
10205         * config/m68k/m68k.h: Ditto.
10206         * config/m88k/m88k.h: Ditto.
10207         * config/mips/mips.h: Ditto.
10208         * config/pa/pa.h: Ditto.
10209         * config/pyr/pyr.h: Ditto.
10210         * config/tahoe/tahoe.h: Ditto.
10211         * config/we32k/we32k.h: Ditto.
10212
10213         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
10214         based on arch size.
10215
10216         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
10217
10218         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
10219         from comment.
10220
10221         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
10222
10223 1999-08-02  Richard Henderson  <rth@cygnus.com>
10224
10225         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
10226         for the register spill block.
10227         (m32r_va_arg): New.
10228         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
10229         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
10230
10231         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
10232         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
10233         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
10234
10235 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
10236
10237         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
10238         MAX_WCHAR_TYPE defined in sparc.h.
10239         * config/sparc/linuxaout.h: Likewise.
10240         * config/sparc/linux64.h: Likewise.
10241         Also default to -mvis if CPU is UltraSPARC.
10242
10243 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
10244
10245         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
10246         (RTX_OK_FOR_OLO10): Likewise.
10247         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
10248         %lo(), allow it in addresses...
10249         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
10250         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
10251         does not make sense.
10252         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
10253         (sparc_output_scratch_registers): New function.
10254         (output_function_prologue, sparc_flat_output_function_prologue): Use
10255         it.
10256         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
10257         defined.
10258         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
10259         * configure.in: Add check for .register pseudo-op support in as and
10260         check for offsetable %lo().
10261         * acconfig.h: Add templates for the above checks.
10262         * configure: Regenerate.
10263
10264 1999-08-02  Richard Henderson  <rth@cygnus.com>
10265
10266         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
10267         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
10268         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
10269
10270 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10271
10272         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
10273         reg_biv_class.
10274
10275 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
10276
10277         * config/float-sparc.h: New file.
10278         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
10279         sparc-*-linux-gnu and sparc64-*-linux*.
10280
10281 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10282
10283         * rs6000.c (rs6000_va_list): Type is an array.
10284         (rs6000_va_start): Don't doubly adjust for varargs.
10285         (rs6000_va_arg): Evaluate long long GPR adjustment.
10286
10287 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
10288
10289         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
10290         -maix64 and -maix32.
10291         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
10292         LINK_SPEC): Change appropriately.
10293         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
10294         (u_short_cint_operand): Likewise.
10295         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
10296         for 64-bit hosts.
10297         * rs6000/t-aix43 (MULTILIB): Change to -m64.
10298
10299         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
10300
10301 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
10302
10303         * rs6000/rs6000.c (num_insns_constant_wide): Correct
10304         for type promotion.
10305         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
10306         (non_add_cint_operand): Likewise.
10307         (logical_operand): Likewise.
10308         (non_logical_cint_operand): Likewise.
10309         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
10310         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
10311         (rs6000_select_rtx_section): Suppress warning.
10312         (small_data_operand): Suppress warning.
10313         (rs6000_got_register): Suppress warning.
10314         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
10315         type, so `J' is generally the wrong constraint for a SImode value;
10316         use `L' instead.
10317         (andsi3_internal2): Likewise.
10318         (andsi3_internal3): Likewise.
10319         (iorsi3_internal1): Likewise.
10320         (xorsi3_internal1): Likewise.
10321         (movsi): Likewise.
10322         (movsf_softfloat): Likewise.
10323         (scc insns): Likewise.
10324         (movsi+2): Preserve sign bits of SImode constant.
10325         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
10326         (movdf+1): Sign-extend properly.
10327         (movdi_32+1): Sign-extend properly.
10328         (scc insns): Sign-extend properly.
10329
10330         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
10331         K, L, and T.
10332
10333 1999-08-02  Richard Henderson  <rth@cygnus.com>
10334
10335         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
10336         -mcpu parsing code.
10337         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
10338         * alpha.md (all fp insns): Likewise.
10339
10340 1999-08-02  Nick Clifton  <nickc@cygnus.com>
10341
10342         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
10343         already defined.
10344
10345 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
10346
10347         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
10348         pic_load_label generator directly.
10349         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
10350         No longer a named pattern.
10351
10352 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
10353
10354         * explow.c (force_reg): Call force_operand if X does not
10355         satisfy general_operand.
10356
10357 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
10358
10359         * fix-header.c (main): When testing for CONTINUED, use string
10360         equality, not pointer equality.
10361
10362 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
10363
10364         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
10365
10366 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
10367
10368         * cse.c (cse_insn): Fix loop which deletes insns after a jump
10369         that has become an unconditional jump.
10370
10371         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
10372         (output_function_epilogue): Similarly.
10373
10374 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10375
10376         * tree.h (init_dummy_function_start): Declare.
10377
10378 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10379
10380         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
10381         last_expr_type, last_expr_value, block_start_count, block_stack,
10382         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
10383         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
10384         dynamically in stmt elt of struct function for each function.
10385         (struct nesting): Rename function_call_count elt to n_function_calls,
10386         target_temp_slot_level to block_target_temp_slot_level.  All users
10387         changed.
10388         (struct stmt_status): New structure definition.
10389         Add many accessor macros for stmt_status elements which previously
10390         were global variables.
10391         (init_stmt_for_function): Allocate stmt elt for current_function.
10392         Reflect that block_start_count was renamed to
10393         current_block_start_count.
10394         (save_stmt_status, restore_stmt_status): Delete functions.
10395         (preserve_subexpressions_p): Don't access loop_stack when outside
10396         a function.
10397         (expand_start_bindings): Reflect that block_start_count was renamed to
10398         current_block_start_count.
10399         (expand_fixup): Likewise.
10400         (expand_decl): Don't access block_stack when outside a function.
10401         (expand_decl_cleanup): Likewise.
10402         (expand_dcc_cleanup): Likewise.
10403         (expand_dhc_cleanup): Likewise.
10404         (expand_anon_union_decl): Likewise.
10405         (set_file_and_line_for_stmt): New function.
10406         (in_control_zone_p): New function.
10407
10408         * function.h (struct function): Add new elt stmt.
10409         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
10410         case_stack, nesting_stack, nesting_depth, block_start_count,
10411         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
10412         emit_lineno, goto_fixup_chain.
10413         (save_eh_status, restore_eh_status, save_stmt_status,
10414         restore_stmt_status): Delete declarations.
10415         * function.c (push_function_context_to): Don't call save_stmt_status.
10416         (pop_function_context_to): Don't call restore_stmt_status.
10417         * tree.h (in_control_zone_p): Declare.
10418         * rtl.h (set_file_and_line_for_stmt): Declare.
10419
10420         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
10421         call set_file_and_line_for_stmt.
10422
10423 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
10424
10425         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
10426         Also update copyright.
10427
10428 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10429
10430         * c-pragma.c: Don't include "except.h".
10431         * emit-rtl.c: Likewise.
10432         * stor-layout.c: Likewise.
10433         * tree.c: Likewise.
10434         * varasm.c: Likewise.
10435
10436         * flow.c: Include "function.h".
10437         * tree.h (init_dummy_function_start): Declare new function.
10438
10439         * except.h (struct eh_status): New structure.
10440         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
10441         been included.
10442         (eh_return_stub_label, ehstack, catchstack, ehqueue,
10443         catch_clauses, false_label_stack, caught_return_label_stack,
10444         protect_list, current_function_ehc): Add accessor macros for the
10445         corresponding fields in current_function->eh; delete declarations
10446         for all items that used to be declared here.
10447         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
10448         catch_clauses, false_label_stack, caught_return_label_stack,
10449         protect_list, current_function_ehc): Delete variables.
10450         (init_eh_for_function): Allocate current_function->eh.
10451         (save_eh_status, restore_eh_status): Delete functions.
10452
10453         * function.h (struct function): Add fields next_global and eh.
10454         Delete all exception handling related fields.
10455         * function.c (current_function): New variable.
10456         (all_functions): New variable.
10457         (push_function_context_to): Don't allocate a struct function,
10458         use current_function instead.  Call init_dummy_function_start when
10459         outside a function.  Clear current_function before returning.
10460         (pop_function_context_from): Restore current_function.
10461         Don't free the restored struct function.
10462         (prepare_function_start): New function.
10463         (init_dummy_function_start): New function.
10464         (init_function_start): Break out some code into prepare_function_start
10465         and call it here.
10466
10467         * stmt.c (save_stmt_status): Don't call save_eh_status.
10468         (restore_stmt_status): Don't call restore_eh_status.
10469
10470         * Makefile.in: Update dependencies.
10471
10472 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
10473
10474         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
10475         of depending on a magic constant value.  Update comments.
10476         (hppa_expand_prologue): Similarly.
10477
10478         * pa.md (reload_indi, reload_outdi): Allow any register for the
10479         original reload register.
10480
10481 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
10482
10483         * cccp.c (print_help): Change marcos to macros.
10484
10485 1999-07-30  Richard Henderson  <rth@cygnus.com>
10486
10487         * c-typeck.c (initializer_constant_valid_p): Move ...
10488         * c-common.c (initializer_constant_valid_p): ... here.  Use
10489         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
10490         of label addresses.
10491         * c-common.h (initializer_constant_valid_p): Declare.
10492         * c-tree.h (initializer_constant_valid_p): Remove.
10493
10494 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
10495
10496         * config/i386/sol2-c1.asm: Align the stack.
10497         * config/i386/sol2-gc1.asm: Likewise.
10498
10499 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
10500
10501         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
10502         -Asparclite for sparc86x.
10503         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
10504         sparc86x.
10505         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
10506
10507 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
10508
10509         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
10510         the user if using the non-default arch size in BI_ARCH configuration.
10511         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
10512
10513         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
10514         Fix patterns so that they actually match.
10515         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
10516         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
10517         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
10518         TARGET_HARD_MUL32.
10519         (mulsidi3): Reflect this in the expand.
10520         (smulsi3_highpart): Only on TARGET_ARCH32.
10521         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
10522         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
10523         (umulsidi3): Reflect this in the expand.
10524         (umulsi3_highpart): Only on TARGET_ARCH32.
10525         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
10526         don't require g0 to be zero.
10527         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
10528         ({,u}divsi3): New expands.
10529         ({,u}divsi3_sp64): New patterns.
10530         (after lshrdi3_v8plus): Four new patterns to help combiner
10531         optimizing nested mixed mode shifts.
10532
10533         * config/sparc/sparc.c (sparc_override_options): Use deprecated
10534         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
10535         speed things up. Don't use them by default on plain v9 in 64bit
10536         mode, according to what SPAMv9 sais.
10537
10538         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
10539         top 32 bits of %[og][0-7] in signal handlers.
10540         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
10541
10542 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
10543
10544         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
10545         (ashlsi3): Corresponding changes.
10546
10547         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
10548
10549 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
10550
10551         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
10552
10553 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10554
10555         * arm.h (Hint): Delete macro.
10556         Substitute HOST_WIDE_INT for Hint in some prototypes.
10557         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
10558
10559 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
10560
10561         * builtins.c (expand_builtin_setjmp): Use force_operand to
10562         make sure that the buffer address is in a suitable form to be
10563         passed to force_reg.
10564
10565 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
10566
10567         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
10568         them here.
10569
10570 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
10571
10572         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
10573         proper mode in the condition string.
10574         (icacheflush, dcacheflush): Remove modes from match_operands.
10575
10576         * pa.c (emit_move_sequence): Always convert scratch_reg to the
10577         proper mode before using it.
10578
10579         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
10580         pair.
10581
10582         * pa.c (store_reg): Do not call add_high_const generator directly.
10583         (load_reg, set_reg_plus_d): Likewise.
10584         * pa.md (add_high_const): No longer a named pattern.
10585
10586         * pa.c (legitimize_address): Consistently use Pmode rather than
10587         SImode.  Do not call gen_pic2_highpart directly anymore.
10588         * pa.md (pic2_highpart): No longer a named pattern.
10589         (pic2_lo_sum): Similarly.  Reformat to make more readable.
10590
10591         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
10592         needed.
10593
10594         * README: Update.
10595
10596 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10597
10598         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
10599
10600 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
10601
10602         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
10603         and tag the spill mems.
10604         (hppa_va_start): New.
10605         (hppa_va_arg): New.
10606         * pa.h (EXPAND_BUILTIN_VA_START): New.
10607         (EXPAND_BUILTIN_VA_ARG): New.
10608
10609 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
10610
10611         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
10612         and tag the spill mems.
10613         (mn10300_va_start): New.
10614         (mn10300_va_arg): New.
10615         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
10616         (EXPAND_BUILTIN_VA_ARG): New.
10617
10618 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
10619
10620         * mn10200.c (mn10200_va_arg): New.
10621         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
10622
10623 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
10624
10625         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
10626         rather than play with TREE_INT_CST_LOW.
10627
10628 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
10629
10630         * config/arm/telf.h: Include dbxelf.h.
10631         (CPP_PREDEFINES): Only define if not already defined.
10632         (ASM_IDENTIFY_GCC): Likewise.
10633         (SUBTARGET_EXTRA_SECTIONS): Likewise.
10634         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
10635         * config/arm/thumb.h (LINK_SPEC): Only define if not already
10636         defined.
10637         (DBX_DEBUGGING_INFO): Don't define.
10638         * config/arm/linux-telf.h: New file.
10639         * config/arm/linux-tgas.h: New file.
10640         * config/arm/t-thumb-linux: New file.
10641         * config/arm/uclinux-elf.h: New file.
10642         * config/arm/uclinux-telf.h: New file.
10643         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
10644         thumb-*-uclinux): New targets.
10645         * configure: Regenerate.
10646
10647 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
10648
10649         * pa.md (post_store, pre_load): New expanders.
10650         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
10651         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
10652         need to directly generate RTL for them.
10653         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
10654         changes.
10655
10656 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
10657
10658         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
10659         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
10660         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
10661         (secndary_reload_class): Make TARGET_ELF conditional compile.
10662         (print_operand_address): Similar.
10663         (output_toc): Print all values as hex.
10664         (get_issue_rate): Rearrange and add RS64A and PPC630.
10665         * rs6000.h (processor_type): Add RS64A and PPC630.
10666         (PROCESSOR_POWERPC64): New.
10667         (PROMOTE_MODE): Use word_mode.
10668         (RTX_COSTS): Add RS64A and PPC630.
10669         * rs6000.md (scheduling information): Add lmul and ldiv
10670         representing 64-bit integer multiply and divide.  Add rs64a and
10671         PPC630 information.
10672         (ashldi3): Add support for "rldic" instruction.
10673         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
10674
10675 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
10676
10677         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
10678         instead of V8 for sparclite86x in cpu_table.
10679
10680 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10681
10682         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
10683         output_file_directive.
10684
10685 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
10686
10687         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
10688         tree for op1, not the rtl.
10689
10690 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
10691
10692         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
10693         to m88k_va_start, leaving only the register spill.
10694         (m88k_build_va_list): New.
10695         (m88k_va_start): New.
10696         (m88k_va_arg): New.
10697         * m88k.h (BUILD_VA_LIST_TYPE): New.
10698         (EXPAND_BUILTIN_VA_START): New.
10699         (EXPAND_BUILTIN_VA_ARG): New.
10700
10701 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
10702
10703         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
10704         Rename from expand_builtin_saveregs.
10705         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
10706
10707 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
10708
10709         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
10710         for the register spill block.
10711         (i960_build_va_list): New.
10712         (i960_va_start): New.
10713         (i960_va_arg): New.
10714         * i960.h (BUILD_VA_LIST_TYPE): New.
10715         (EXPAND_BUILTIN_VA_START): New.
10716         (EXPAND_BUILTIN_VA_ARG): New.
10717         * i960.md (store_multiple): Use change_address on individul mems.
10718
10719 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
10720
10721         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
10722         an ARRAY_TYPE.
10723         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
10724         (expand_builtin_va_end): Evaluate arg for side effects.
10725         * c-common.c (c_common_nodes_and_builtins): Construct a
10726         va_list_arg_type_node to handle array decomposition to pointer.
10727
10728 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
10729
10730         * except.c (start_dynamic_cleanup): Use force_operand on the
10731         buffer's address.
10732
10733 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
10734
10735         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
10736         * c4x.c (c4x_va_arg): New.
10737
10738 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
10739
10740         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
10741         has manual_pop set.
10742
10743 1999-07-26  Nathan Sidwell  <nathan@acm.org>
10744
10745         * eh-common.h (__eh_matcher): Prototype correctly.
10746
10747 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
10748
10749         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
10750         (TARGET_SINGLE_PIC_BASE): Likewise.
10751         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
10752         definitions.
10753         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
10754         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
10755         (TARGET_OPTIONS): Add -mpic-register=N.
10756         (OUTPUT_INT_ADDR_CONST): New macro.
10757         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
10758         LEGITIMATE_PIC_OPERAND_P): Likewise.
10759         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
10760         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
10761         output_addr_const directly.
10762         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
10763         ARM port.
10764         (thumb_pic_register, thumb_pic_register_string): Declare.
10765
10766         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
10767         from arm.c.
10768         (label_mentioned_p): New function: Imported from arm.c.
10769         (legitimize_pic_address): New function: Imported from arm.c.
10770         (is_pic):New function: Imported from arm.c.
10771         (thumb_finalize_pic):New function: Imported from arm.c.
10772         (add_constant): Cope with PIC constants.
10773         (fixit): Cope with PIC constants.
10774         (output_return): Do not treat the PIC register as live if
10775         TARGET_SINGLE_PIC_BASE is true.
10776         (thumb_function_prologue): Do not treat the PIC register as live if
10777         TARGET_SINGLE_PIC_BASE is true.
10778         (thumb_expand_prologue): Do not treat the PIC register as live if
10779         TARGET_SINGLE_PIC_BASE is true.
10780         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
10781         TARGET_SINGLE_PIC_BASE is true.
10782         (thumb_print_operand): Accept '|'.
10783         (thumb_override_options): Process PIC options.
10784
10785         * config/arm/thumb.md (movsi): Support PIC.
10786         (call_insn): Change "i" constraint to "X".
10787         (call_value_insn): Likewise.
10788         (consttable_4, consttable_8, consttable_end): Set and clear
10789         "making_const_table" as appropriate.
10790         (pic_load_addr, pic_add_dot_plus_four): New insns.
10791
10792         * invoke.texi (Thumb Options): Fix spelling.  Document new
10793         options -msingle-pic-base and -mpic-register=.
10794
10795 1999-07-26  Andrew Haley  <aph@cygnus.com>
10796
10797         * config/m32r/initfini.c (__init): Use a full word immediate for
10798         __fini: this allows it to be placed in any memory region.
10799
10800         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
10801         -mmodel=medium.  This is OK for all memory models.
10802
10803 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
10804
10805         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
10806         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
10807
10808 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
10809
10810         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
10811         defined.
10812
10813         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
10814
10815 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
10816
10817         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
10818         (BUILD_VA_LIST_TYPE): New.
10819         (EXPAND_BUILTIN_VA_START): New.
10820         (EXPAND_BUILTIN_VA_ARG): New.
10821         * i860.c (output_delayed_branch): Disable.
10822         (output_delay_insn): Likewise.
10823         (i860_saveregs): New.
10824         (i860_build_va_list): New.
10825         (i860_va_start): New.
10826         (i860_va_arg): New.
10827         * i860.md: Disable all peepholes using output_delayed_branch.
10828         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
10829
10830 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
10831
10832         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
10833         (BUILD_VA_LIST_TYPE): New.
10834         (EXPAND_BUILTIN_VA_START): New.
10835         (EXPAND_BUILTIN_VA_ARG): New.
10836         * clipper.c (clipper_builtin_saveregs): Only dump registers.
10837         Return the address of the save area.
10838         (clipper_build_va_list): New.
10839         (clipper_va_start): New.
10840         (clipper_va_arg): New.
10841
10842 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
10843
10844         * arc.h (EXPAND_BUILTIN_VA_START): New.
10845         (EXPAND_BUILTIN_VA_ARG): New.
10846         * arc.c (arc_setup_incoming_varargs): Set alias set of
10847         varargs save area.
10848         (arc_va_start): New.
10849         (arc_va_arg): New.
10850
10851 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
10852
10853         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
10854         (BUILD_VA_LIST_TYPE): New.
10855         (EXPAND_BUILTIN_VA_START): New.
10856         (EXPAND_BUILTIN_VA_ARG): New.
10857         * alpha.c (alpha_builtin_saveregs): Delete.
10858         (alpha_build_va_list): New.
10859         (alpha_va_start): New.
10860         (alpha_va_arg): New.
10861
10862 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
10863
10864         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
10865         column zero.
10866         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
10867         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
10868
10869         * gcc.texi: More changes related to list conversion.
10870         * invoke.texi: Likewise.
10871
10872 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
10873
10874         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
10875         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
10876         (expand_builtin_next_arg): Accept ARGLIST not EXP.
10877         (stabilize_va_list): New function.
10878         (std_expand_builtin_va_start): New function.
10879         (expand_builtin_va_start): New function.
10880         (get_varargs_alias_set): New function.
10881         (std_expand_builtin_va_arg): New function.
10882         (expand_builtin_va_arg): New function.
10883         (expand_builtin_va_end): New function.
10884         (expand_builtin_va_copy): New function.
10885         (expand_builtin): Call them.
10886         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
10887         __builtin_{varargs_start,stdarg_start,end,copy}.
10888         (build_va_arg): New function.
10889         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
10890         (build_va_arg): Declare.
10891         * c-decl.c (ptr_type_node, va_list_type_node): New.
10892         * c-parse.gperf (__builtin_va_arg): New.
10893         * c-parse.in (VA_ARG): New token.
10894         (unary_expr): Recognize it.
10895         * expr.c (expand_expr): Expand VA_ARG_EXPR.
10896         * expr.h (std_expand_builtin_va_start): Declare.
10897         (std_expand_builtin_va_arg): Declare.
10898         (expand_builtin_va_arg): Declare.
10899         (get_varargs_alias_set): Declare.
10900         * tree.def (VA_ARG_EXPR): New.
10901         * tree.h (BUILT_IN_VARARGS_START): New.
10902         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
10903         (ptr_type_node, va_list_type_node): Declare.
10904         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
10905         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
10906         * m88k.h, m88k.c: Likewise.
10907         * mn10300.h, mn10300.c: Likewise.
10908         * pa.h, pa.c: Likewise.
10909         * rs6000.h, rs6000.c: Likewise.
10910         * sh.h, sh.c: Likewise.
10911         * sparc.h, sparc.c: Likewise.
10912
10913         * emit-rtl.c (operand_subword): Copy alias set.
10914         (change_address): Likewise.
10915
10916 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
10917
10918         * pa.c (compute_frame_size): Scan all the used callee saved registers,
10919         not just the first one.
10920
10921 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
10922
10923         * config/arm/arm.h (TARGET_SWITCHES): Add
10924         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
10925         (TARGET_OPTIONS): Add -mpic-register=.
10926         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
10927         (arm_pic_register_string): Declare.
10928         (NEED_PLT_GOT): Delete, replace with ...
10929         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
10930         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
10931         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
10932         * config/arm/arm.c (arm_override_options): Add new option
10933         -mpic-register=N.
10934         (arm_pic_register_string): New variable.
10935         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
10936         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
10937         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
10938         (output_return_instruction): Likewise.
10939         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
10940         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
10941         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
10942
10943         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
10944         mention of -msched-prolog.  Document new options -msingle-pic-base
10945         and -mpic-register=.
10946
10947 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
10948
10949         * haifa-sched.c (reemit_notes): Tidy.
10950         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
10951         haifa's routine.
10952
10953 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
10954
10955         * explow.c (trunc_int_for_mode): New function.
10956         (plus_constant_wide): Use it.
10957         * combine.c (simplify_and_const_int): Likewise.
10958         (merge_outer_ops): Likewise.
10959         (simplify_shift_const): Likewise.
10960         * cse.c (simplify_unary_operation): Likewise.
10961         (simplify_binary_operation): Likewise.
10962         * emit-rtl.c (operand_subword): Likewise.
10963         * rtl.h: Declare it.
10964
10965 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10966
10967         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
10968         (use NUM_REGS instead of NUM_INTS).
10969
10970 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10971
10972         * builtins.c: New file.
10973         * expr.c (saveregs_value, apply_args_value):  Delete definition,
10974         moved into builtins.c.
10975         (string_constant): No longer static.
10976         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
10977         apply_args_size, apply_result_size, result_vector,
10978         expand_builtin_apply_args, expand_builtin_apply,
10979         expand_builtin_return): Delete functions, moved into builtins.c.
10980         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
10981         * expr.h (saveregs_value, apply_args_value): Declare variables.
10982         (expand_builtin, string_constant): Declare functions.
10983         * Makefile.in: Update to build builtin.o.
10984
10985 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
10986
10987         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
10988         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
10989         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
10990         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
10991         false.
10992         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
10993         Define to zero.
10994
10995 1999-07-21  Michael Meissner  <meissner@cygnus.com>
10996
10997         * print-rtl.c (print_rtx): Print the names of the virtual
10998         registers.
10999
11000 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
11001
11002         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
11003         introduced in previous delta.
11004
11005 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11006
11007         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
11008         to avoid name clash.
11009
11010 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11011
11012         * c-lex.c (yylex) : Correct the test for overflow when lexing
11013         integer literals.
11014
11015 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
11016
11017         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
11018         (adjust_priority): Always call ADJUST_PRIORITY.
11019         (schedule_insn): Only put insns into the ready at cost 0.
11020         (schedule_block): Remove redundant initial sort.  Give clock_var
11021         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
11022         is not 0.
11023         * tm.texi (MD_SCHED_REORDER): Update docs.
11024
11025         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
11026         * sparc.c (ultra_reorder_called_this_block): Delete.
11027         (ultrasparc_sched_init): Don't set it.
11028         (ultrasparc_sched_reorder): Don't check it.
11029
11030 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
11031
11032         * rs6000.h (struct rs6000_args): Add sysv_gregno.
11033         * rs6000.c (init_cumulative_args): Init sysv_gregno.
11034         (function_arg_boundary): Align DFmode.
11035         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
11036         to get fp reg and stack overflow correct.
11037         (function_arg): Likewise.
11038         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
11039         (setup_incoming_varargs): Restructure for ABI_V4; use
11040         function_arg_advance to skip final named argument.
11041         (expand_builtin_saveregs): Properly unskip the last integer arg
11042         when doing varargs.  Adjust overflow location calculation.
11043
11044         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
11045         explicitly unsigned.
11046         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
11047         (__VA_GP_REGSAVE): Similarly.
11048         (__va_longlong_p): Delete.
11049         (__va_arg_type_violation): New declaration.
11050         (va_arg): Restructure.  Flag promotion errors.  Align double.
11051         TFmode passed by reference.
11052
11053         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
11054         in the HOST_BITS_PER_WIDE_INT > 32 case.
11055
11056 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
11057
11058         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
11059
11060 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
11061
11062         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
11063         * toplev.c (documented_lang_options): Add -fpreprocessed.
11064         * cpplib.h (struct cpp_buffer): Add preprocessed.
11065         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
11066         (cpp_start_read): Don't expand macros or emit an initial #line
11067         directive if -fpreprocessed.
11068
11069 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
11070
11071         * cpplib.h (struct cpp_buffer): Added manual_pop for
11072         better C++ tokenization.
11073         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
11074         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
11075         * c-common.c (cpp_token): Make non-static.
11076
11077 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11078
11079         * c-common.h: New file.
11080         * c-common.c (permanent_obstack): Delete unused declaration.
11081         (c_global_trees): New array.
11082         (c_common_nodes_and_builtins): New function; split off common code
11083         from init_decl_processing in both c-decl.c and cp/decl.c.
11084         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
11085         c_global_trees and accessor macros defined in c-common.h.
11086         Include c-common.h.
11087         * c-decl.c: Delete definitions for tree nodes that were replaced by
11088         c_global_trees.
11089         (init_decl_processing): Build void_list_node.
11090         Call c_common_nodes_and_builtins; delete code to generate the common
11091         builtins here.
11092         * objc/objc-act.c (build_module_descriptor): Rename variable
11093         void_list_node to avoid clash with c-common.h.
11094
11095         * Makefile.in: Update dependencies.
11096         * objc/Make-lang.in: Likewise.
11097
11098 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
11099
11100         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
11101         (UNIQUE_SECTION_P): Likewise.
11102         (UNIQUE_SECTION): Likewise.
11103
11104 1999-07-19  Linas Vepstas  <linas@linas.org>
11105
11106         * config/i370/README: New file.
11107         * config/i370/linux.h: New file.
11108         * config/i370/mvs.h: New file.
11109         * config/i370/oe.h: New file.
11110         * config/i370/t-linux: New file.
11111         * config/i370/t-mvs: New file.
11112         * config/i370/t-oe: New file.
11113         * config/i370/x-oe: New file.
11114         * config/i370/xm-linux.h: New file.
11115         * config/i370/xm-mvs.h: New file.
11116         * config/i370/xm-oe.h: New file.
11117
11118         * i370.c (label_node_t): Add first_ref_page, label_addr,
11119         label_first_ref, label_last_ref members.
11120         (mvs_need_base_reload): Renamed from mvs_label_emitted.
11121         (MAX_MVS_LABEL_SIZE): Define.
11122         (MAX_LONG_LABEL_SIZE): Define.
11123         (alias_node_t, alias_anchor, alias_number): New.
11124         (mvs_function_table): Reorder for EBCDIC.
11125         (ascebc, ebcasc): Unconditionally define.
11126         (i370_branch_dest, i370_branch_length): New functions.
11127         (i370_short_branch, i370_label_scan): New functions.
11128         (mvs_get_label): Renamed from mvs_add_label.  Search for
11129         an existing label before creating a new one.
11130         (mvs_add_label): New function.
11131         (mvs_get_label_page): New function.
11132         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
11133         over the entire list.
11134         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
11135         (mvs_check_page) [TARGET_ELF_ABI]: New function.
11136         (mvs_add_alias, mvs_need_alias): New functions.
11137         (mvs_get_alias, mvs_check_alias): New functions.
11138         (handle_pragma): New function.
11139         (mvs_function_check): New function.
11140         (unsigned_jump_follows_p): Search harder.
11141         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
11142         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
11143         * i370.h (TARGET_VERSION): Delete.
11144         (CPP_SPEC, CPP_PREDEFINES): Delete.
11145         (mvs_label_emitted): Delete.
11146         (TARGET_EBCDIC): Delete.
11147         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
11148         (HANDLE_PRAGMA): Define.
11149         (HARD_REGNO_NREGS): Handle complex modes.
11150         (HARD_REGNO_MODE_OK): Likewise.
11151         (CLASS_MAX_NREGS): Likewise.
11152         (RET_REG): Likewise.
11153         (EXTRA_CONSTRAINT): Define.
11154         (RETURN_IN_MEMORY): True for DImode.
11155         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
11156         (FUNCTION_PROFILER): Delete.
11157         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
11158         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
11159         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
11160         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
11161         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
11162         (ASM_FILE_START): Add "RMODE ANY".
11163         (ASM_OUTPUT_EXTERNAL): Check for aliases.
11164         (ASM_GLOBALIZE_LABEL): Likewise.
11165         (ASM_OUTPUT_LABELREF): Likewise.
11166         (ASM_OUTPUT_COMMON): Likewise.
11167         (PRINT_OPERAND): Handle 'K', 'W', default.
11168         (PRINT_OPERAND_ADDRESS): New.
11169         (Lots of defines): Add support for TARGET_ELF_ABI.
11170         * i370.md (attr length): New.  Define for all patterns.
11171         (*): Lots of tweeks to assembly output and constraints.
11172
11173 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
11174
11175         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
11176         Disable patterns performing SImode comparisons with SImode values
11177         if TARGET_POWERPC64 and instruction does not sign-extend or does
11178         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
11179         differ for signed quantities.
11180         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
11181         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
11182         (decrement_and_branch_on_count): Add 64-bit variant.
11183
11184 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11185
11186         * final.c (output_asm_insn): When searching for the matching string
11187         for a given dialect, don't run past the end of the list of
11188         alternatives if there are fewer alternatives in the template than
11189         dialects.
11190
11191 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
11192
11193         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
11194         Removed paragraph about compression of files and size limitation,
11195         duplicated in the FAQ.  Use gcc-patches for posting patches.
11196         * gcc.c (main): Updated URL with bug reporting instructions to
11197         gcc.gnu.org.  Removed e-mail address.
11198         * system.h (abort): Likewise.
11199
11200 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11201
11202         * Makefile.in (stmp-multilib-sub): Make the files extracted
11203         from $(LIBGCC1) writable.
11204
11205 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
11206
11207         * config/arm/aout.h: Reformat for improved readability.
11208
11209         * config/arm/arm.h: Reformat for improved readability.
11210         Replace uses of fprintf with asm_fprintf where appropriate.
11211         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
11212         function declaration assembler actions.
11213         (NUM_INTS): New macro: Convert from bytes to words.
11214         (NUM_REGS): New macro: Compute number of registers required to
11215         hold a quanitity of tyep MODE.
11216         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
11217         types.
11218         (NUM_ARG_REGS): New macro: The number of argument registers
11219         available.
11220         (ARG_REGISTER): New macro: Compute the register number of the Nth
11221         argument register.
11222         (LAST_ARG_REGNUM): New macro: The number of the last argument
11223         register.
11224         (SP_REGNUM): New macro: Register number of the stack pointer.
11225         (FP_REGNUM): New macro: Register number of the frame pointer.
11226         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
11227         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
11228         CUMULATIVE_ARGS so that it counts registers not bytes.
11229
11230         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
11231         TARGET_INTERWORK.
11232         Replace uses of fprintf with asm_fprintf where appropriate.
11233         (output_ascii_pseudo_op): Replace with version from thumb.c
11234
11235         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
11236
11237         * config/arm/elf.h (CPP_PREDEFINES): Replace with
11238         SUBTARGET_CPP_SPEC.
11239         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
11240         (ASM_FILE_START): Emit ASM_APP_OFF.
11241
11242 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
11243
11244         * pa.c (compute_frame_size): Round frame according to
11245         STACK_BOUNDARY rather than a hardwired value.
11246
11247         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
11248
11249         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
11250         of "1".
11251         * configure: Rebuilt.
11252
11253         * configure.in (hppa*-*-linux*): New configuration.
11254         * configure: Rebuilt.
11255         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
11256         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
11257         * pa/pa-linux.h: New file.
11258         * pa/t-linux: New file.
11259         * pa/xm-linux.h: New file.
11260
11261         * pa.c (hppa_legitimize_address): Change references from SImode to
11262         either Pmode or word_mode as appropriate.
11263         (emit_move_sequence, store_reg, load_reg): Likewise.
11264         (set_reg_plus_d, hppa_expand_prologue): Likewise.
11265         (output_mul_insn): Likewise.
11266         * pa.h (PROMOTE_MODE): Likewise.
11267         (INITIALZE_TRAMPOLINE): Likewise.
11268         (Pmode): Define to word_mode.
11269
11270         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
11271         value of 4.  Allocate 8 bytes for each FP register save.
11272         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
11273         value of 4.
11274         (hppa_expand_prologue): Likewise.
11275         * pa.h (PROMOTE_MODE): Likewise.
11276         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
11277         (FUNCTION_ARG_BOUNDARY): Likewise.
11278
11279         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
11280
11281         * pa.c (out_of_line_prologue_epilogue): Delete.
11282         (override_options): Remove -mspace related code.
11283         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
11284         (compute_frame_size): Only allocate space for register that
11285         actually need to be saved.
11286         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
11287         (TARGET_SWITCHES): Remove -mspace, -mno-space
11288         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
11289         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
11290         * pa/ee.asm, pa/ee_fp.asm: Delete.
11291
11292         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
11293
11294         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
11295         directive in column zero.
11296
11297 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
11298
11299         * m68k.c (output_function_prologue): Fix computation of save mask
11300         when generating PIC code.
11301
11302 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
11303
11304         * tree.c (build_type_attribute_variant): Move current_obstack restore
11305         after build_qualified_type call.
11306
11307 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
11308
11309         * configure.in: Use t-iris6, even with GNU LD.
11310         * config/mips/iris6gld.h: Fix typo in linker spec.
11311         * config/mips/t-iris6gld: Remove.
11312
11313 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
11314
11315         * rs6000.md (insv, extzv): Remove SImode dependence in named
11316         patterns.  Explicitly generate DImode RTL if PowerPC64 and
11317         operand is DImode.
11318         (insvdi): Reverse start and size in instruction template.
11319
11320 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
11321
11322         * invoke.texi: Typo fixes.
11323
11324 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
11325
11326         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
11327         handle at this time instead of silently generating incorrect code.
11328         (gen_imagpart): Likewise.
11329
11330         * reload.c (find_reloads): Emit a USE for a pseudo register without
11331         a hard register if we could not create an optional reload for the
11332         pseudo.
11333
11334 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11335
11336         * c-typeck.c (output_init_element, process_init_element):
11337         When advancing constructor_unfilled_fields for a RECORD_TYPE,
11338         check for nameless bit fields.
11339
11340 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
11341
11342         * regclass.c (scan_one_insn): Notice subregs that change the
11343         size of their operand.
11344         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
11345
11346 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
11347
11348         * configure.in (alpha*-*-*): Include alpha/t-ieee.
11349         * configure: Rebuilt.
11350         * alpha/t-ieee: New file.
11351
11352 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
11353
11354         * rs6000.c (find_addr_reg): Do not select r0 as an address
11355         register.
11356
11357 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
11358
11359         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
11360
11361 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
11362
11363         * rs6000.md (movsf): Do not force easy FP constants into memory.
11364
11365         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
11366         immed_double_const to ensure they are properly truncated then
11367         sign extended.
11368
11369 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11370
11371         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
11372         always unless NO_DEBUG is used.  Compile this code
11373         unconditionally.
11374         (replace_symbols_in_block): Compile it unconditionally.
11375
11376 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
11377
11378         * configure.in (i?86-*-elf*): New target.
11379         * configure: Rebuilt.
11380         * i386/i386elf.h, i386/t-i386elf: New files.
11381
11382 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
11383
11384         * toplev.c (main): Don't complain about saying -gdwarf.
11385         (rest_of_compilation): Remove redundant code.
11386
11387 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
11388
11389         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
11390
11391 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
11392
11393         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
11394         "Li960R:", to avoid name clash.
11395
11396 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11397
11398         * loop.c (check_dbra_loop): When reversing a loop, delete all
11399         REG_EQUAL notes referencing the reversed biv except those which are
11400         for a giv based on it.
11401
11402 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
11403
11404         * version.c: Drop "gcc-" prefix from version #.
11405
11406 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
11407
11408         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
11409         the label if we're being verbose.
11410
11411 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
11412
11413         * m68k.c (output_function_prologue): Add pic register to mask
11414         if live and flag_pic.
11415         (output_function_epilogue): Likewise.
11416
11417 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
11418
11419         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
11420         directives in column zero.
11421
11422         * pa/elf.h (ASM_FILE_START): Define.
11423         * pa/som.h (ASM_FILE_START): Include .level directives.
11424         * pa/hpux10.h (ASM_FILE_START): Delete.
11425         * pa/hpux11.h (ASM_FILE_START): Delete.
11426
11427         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
11428
11429 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11430
11431         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
11432         when reload_out equals reload_in.
11433
11434 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
11435
11436         * invoke.texi (Spec Files): New node: Describe the contents of
11437         spec files.
11438
11439 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
11440
11441         * invoke.texi (DEC Alpha Options): Put @end table at
11442         beginning of line, to avoid confusing texi2html.
11443
11444 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
11445
11446         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
11447         introduced in previous delta.
11448
11449 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11450
11451         * reload1.c (gen_reload): When synthesizing a 3 operand add
11452         sequence, improve test for when to reload OP1 into the reload
11453         register instead of OP0.
11454
11455 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
11456
11457         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
11458
11459 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
11460
11461         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
11462         string literal.
11463
11464 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
11465
11466         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
11467         (va_dcl): Use __builtin_va_alist_t.
11468
11469 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
11470
11471         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
11472         on the permanent_obstack.
11473         * dwarfout.c (output_type): Likewise.
11474
11475 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11476
11477         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11478         Merged from c-typeck.c and cp/typeck.c.
11479         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11480         Merged into c-common.
11481
11482 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
11483
11484         * c-lex.c (errorcount): Declare it.
11485         (finish_parse): Update errorcount when using CPPLIB.
11486
11487 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
11488
11489         * fixinc/inclhack.def(end_else_label): Double the backslash so
11490         sed gets a chance to see it.
11491         * fixinc/inclhack.sh: regen
11492         * fixinc/fixincl.x: regen
11493
11494 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
11495
11496         Add framework to support armv5 architecture when it becomes
11497         available:
11498
11499         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
11500         (arm_arch5): New variable.
11501         (all_architectures): Add armv5 line.
11502         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
11503         -march=armv5 is specified on the command line.
11504         (arm_arch5): Export this variable.
11505         * invoke.texi: Document new string accepted by -march= switch for
11506         ARM ports.
11507
11508         * config/arm/arm.h: Replace use of constant 12 as a register
11509         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
11510         * config/arm/arm.c: Replace use of constant 12 as a register
11511         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
11512
11513         * config/arm/elf.h: Tidy up.
11514         * config/arm/coff.h: Tidy up.
11515
11516 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
11517
11518         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
11519         * gcc/config/mips/t-iris6gld: New file.
11520         * gcc/config/mips/iris6gld.h: Likewise.
11521
11522 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11523
11524         * c-decl.c (widest_integer_literal_type_node,
11525         widest_unsigned_literal_type) : New.
11526         (init_decl_processing): Handle/use the two new types.
11527         * c-common.c (type_for_size,type_for_mode) : Same.
11528         * c-lex.c (yylex) : Same.
11529         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11530         Same.
11531         * c-tree.h (widest_integer_literal_type_node,
11532         widest_unsigned_literal_type) : New.
11533
11534 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
11535
11536         * dwarfout.c (field_byte_offset): Correctly compute the object's
11537         byte offset for the first bit of a field which crosses an alignment
11538         boundary on a !BYTES_BIG_ENDIAN target.
11539
11540 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
11541
11542         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
11543         ntohs.
11544
11545 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
11546                           Jeff Law <law@cygnus.com>
11547
11548         * ginclude/varargs.h (va_dcl): Use word_mode for type of
11549         __builtin_va_list.
11550
11551         * except.c: Include intl.h.
11552         (expand_eh_return): Set current_function_cannot_inline.
11553         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
11554         * function.h (struct function): Add eh_return_stub_label.
11555         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
11556         * Makefile.in (except.o): Depend on intl.h.
11557
11558 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
11559
11560         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
11561         same as offsettable in cases 1 and 2.
11562
11563 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
11564
11565         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
11566         (extlh, extwh): Likewise.
11567
11568 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11569
11570         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
11571
11572 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
11573
11574         * configure.in: Add arm-pe and thumb-pe targets.
11575         * configure: Regenerate.
11576
11577         * thumb.c (arm_naked_function_p): New function: Determines if
11578         a function is naked (has no gcc generated prologue/epilogue).
11579         (is_called_in_ARM_mode): Return true if the func has the
11580         interfacearm attribute.
11581         (output_return): Do not generate a return for naked functions.
11582         (thumb_function_prologue): Do not generate a prologue for
11583         naked functions.
11584         (thumb_expand_prologue): Do not generate a prologue for naked
11585         functions.
11586         (thumb_expand_epilogue): Do not generate an epilogue for naked
11587         functions.
11588         (arm_valid_machine_decl_attribute): New function, copied from
11589         arm.c:  Permit naked and interfacearm attributes.
11590
11591         * config/arm/pe.c: New file: Support code for arm-pe target.
11592         * config/arm/pe.h: New file: Header file for arm-pe target.
11593         * config/arm/tpe.h: New file: Header file for thumb-pe target.
11594         * config/arm/t-thumb-pe: New file: Makefile fragment for
11595         thumb-pe target.
11596
11597 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
11598
11599         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
11600         -fPIC or -fpic is specified.
11601
11602 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
11603
11604         * expr.c (emit_block_move): Use copy_to_mode_reg for
11605         !TARGET_MEM_FUNCTIONS case too.
11606
11607         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
11608         appropriate.
11609         * configure: Rebuilt.
11610         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
11611         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
11612         definitions made redundant by dbxelf.h inclusion.  Delete
11613         lots of definitions related to assembly output that are
11614         specific to the SOM object format.
11615         * pa.c (output_function_prologue): Do not emit the function's
11616         name for OBJ_ELF.
11617         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
11618         * pa-pro.h: Deleted.
11619         * som.h: New file with SOM specific definitions.
11620         * elf.h: New file with ELF specific definitions.
11621
11622         * elfos.h (const_section): Output a tab before assembler directives.
11623         (ctors_section, dtors_section): Likewise.
11624         (ASM_OUTPUT_SECTION_NAME): Likewise.
11625
11626         * pa/pa1.h: Delete unused file.
11627
11628 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
11629
11630         * configure.in (hppa*-hp-hpux11*): New configuration.
11631         * configure: Rebuilt.
11632         * pa/pa-hpux11.h: New file.
11633         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
11634         command line.
11635
11636         * mips.md (leasi, leadi): New patterns.
11637
11638         * expr.c (emit_block_move): Properly handle case where one of the
11639         block move arguments has a queued increment or decrement.
11640         (clear_storage): Similarly.  Fix formatting goof.
11641
11642 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
11643
11644         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
11645         semicolon from the BSD VA_LIST replacement expression.
11646
11647         * fixinc/inclhack.sh: regen
11648         * fixinc/fixincl.x: regen
11649
11650         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
11651         now use the fixincl program.
11652
11653 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
11654
11655         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
11656         case.  Also make the PIC register call_used.
11657
11658         * m68k.h (FINALIZE_PIC): Delete.
11659         * m68k.c (finalize_pic): Delete.
11660
11661 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
11662
11663         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
11664         to memory.
11665
11666 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
11667
11668         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
11669
11670 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
11671
11672         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
11673
11674 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
11675
11676         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
11677
11678 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
11679
11680         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
11681
11682 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
11683
11684         * rs6000.c (output_toc): Always use hex values for floating-point
11685         constants.  Store single-precision values in upper-half of TOC
11686         entry in 64-bit mode.
11687         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
11688         to final constraints.
11689         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
11690         (fctiwz): Improve accuracy of RTL for pattern.
11691
11692 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11693
11694         * expr.c (expand_expr): Allow RTL_EXPR's through the
11695         MAX_INTEGER_COMPUTATION_MODE checks.
11696
11697 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
11698
11699         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
11700         such that MASK_SUPPORT_ARCH is not negative.
11701
11702 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
11703
11704         * loop.c (verify_dominator): Properly handle ADDR_VEC and
11705         ADDR_DIFF_VEC insns that appear inside loops.
11706
11707 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
11708                           Jeff Law <law@cygnus.com>
11709
11710         * rs6000.md (movdf_hardfloat32): Revert previous patch.
11711         Handle LO_SUM the same as offsettable in cases 1 and 2.
11712         * rs6000.c (find_addr_reg): Revert previous patch.
11713
11714 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
11715
11716         * system.h (strstr): New external function declaration.
11717         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
11718         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
11719         * config.in, configure: Rebuilt.
11720
11721 1999-06-24  Tom Tromey  <tromey@cygnus.com>
11722
11723         * gcc.c (main): Read user-specified specs files after computing
11724         additional startfile_prefixes.
11725
11726 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
11727
11728         Revert these two patches:
11729
11730         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11731         * loop.c (strength_reduce): When doing biv->giv conversion, update
11732         reg note of NEXT->insn.
11733
11734         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11735         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
11736         reg_biv_class.
11737         (recombine_givs): Set ix field after sorting.
11738
11739 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11740
11741         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
11742         for the parts of an UNSPEC / UNSPEC_VOLATILE.
11743
11744 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
11745
11746         *fixinc/inclhack.def:  Add fix development commentary
11747         (read_ret_type): reactivate and add selection clause
11748         (zzz_*): tweak output file name to match what is used in hackshell.tpl
11749         *fixinc/{fixincl.x|inclhack.sh}: regen
11750
11751 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
11752
11753         * expr.c (expand_expr): STRIP_NOPS before checking against
11754         MAX_INTEGER_COMPUTATION_MODE
11755         (check_max_integer_computation_mode): Likewise.
11756
11757 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
11758
11759         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
11760
11761 1999-06-22  Jim Wilson  <wilson@cygnus.com>
11762
11763         * expr.c (store_expr): When target is a promoted subreg, return a
11764         promoted subreg as a result.
11765
11766 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
11767
11768         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
11769         coding standards.
11770         (dwarf2out_define): Mark unused parameters appropriately.
11771         (gen_unspecified_parameters_die): Ditto.
11772         (gen_subprogram_die): Fix signed/unsigned warnings.
11773         (gen_variable_die): Ditto.
11774
11775 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
11776
11777         * fixinc/inclhack.def(end_else_label): combined else_label
11778         and endif_label and fixed the sed expression.
11779         *fixinc/{fixincl.x|inclhack.sh}: regen
11780
11781 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
11782
11783         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
11784         'x' when handling non-offsettable addresses
11785
11786 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
11787
11788         * final.c (shorten_branches): Don't try to split an insn that has
11789         been deleted.
11790
11791 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
11792
11793         * config/mips/mips.c (symbolic_expression_p): New function.
11794         (mips_select_rtx_section): Put symbolic expressions in the
11795         data section, not the read-only data section.
11796
11797 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
11798
11799         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
11800
11801 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
11802
11803         * collect2.c (main): Log frame table count.
11804         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
11805         (scan_prog_file) [COFF]: Handle frame tables.
11806
11807         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
11808         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
11809         * alpha/elf.h: Undef them again.
11810         * alpha/vms.h: Remove their definitions.
11811
11812 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11813
11814         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
11815         remove the clobber of r0 and change the REG_UNUSED note to
11816         REG_INC.
11817
11818 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
11819
11820         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
11821         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
11822         fits in HOST_WIDE_INT and one uses union to access a long constant
11823         as double.
11824
11825 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
11826
11827         * sparc.c (sparc_override_options): Don't allow profiling for
11828         code models other than medlow.
11829         (sparc_function_profiler): New function from old FUNCTION_PROFILER
11830         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
11831         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
11832         (sparc_block_profiler): Likewise.
11833         (sparc_function_block_profiler_exit): Likewise.
11834         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
11835         (FUNCTION_BLOCK_PROFILER): Likewise.
11836         (BLOCK_PROFILER): Likewise.
11837         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
11838         (MCOUNT_FUNCTION): New.
11839         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
11840         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
11841         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
11842         (MCOUNT_FUNCTION): New.
11843         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
11844         (BLOCK_PROFILER): Delete.
11845         (MCOUNT_FUNCTION): New.
11846
11847 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
11848
11849         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
11850
11851 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11852
11853         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11854         Add the macros.
11855
11856         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11857         Ditto.
11858
11859         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11860         Ditto.
11861
11862         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11863         Ditto.
11864
11865 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
11866
11867         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
11868         types.
11869
11870 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
11871
11872         * i386/djgpp.h (LIB_SPEC): New.
11873         (STARTFILE_SPEC): New.
11874
11875         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
11876
11877 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
11878
11879         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
11880         compiler flags.
11881
11882         * system.h (WSTOPSIG): New macro.
11883
11884 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11885
11886         * c-pragma.c (push_alignment): Don't ignore alignments greater than
11887         4 bytes.
11888         (insert_pack_attributes): Take into account member natural
11889         alignment.
11890
11891         * i386/winnt.c (exports_head): New static variable.
11892         (i386_pe_record_exported_symbol): New function.
11893         (i386_pe_asm_file_end): Use.
11894         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
11895         symbols to be emitted at end of assembly.
11896         (ASM_DECLARE_OBJECT_NAME): Likewise.
11897         (ASM_DECLARE_FUNCTION_NAME): Likewise.
11898
11899         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
11900         -iwithprefix.
11901
11902 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
11903
11904         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
11905         in last change.
11906
11907 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
11908
11909         * haifa-sched.c (sched_analyze_1): Use free_list instead of
11910         zapping reg_last_uses directly.
11911         (sched_analyze_2, sched_analyze_insn): Likewise.
11912         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
11913
11914 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
11915
11916         * rs6000.md (movdf_hardfloat32): Use worst case insn length
11917         attributes for cases 1 and 2.
11918
11919 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
11920
11921         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
11922         instead of set.
11923
11924 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
11925
11926         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
11927
11928 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
11929
11930         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
11931         PIC_OFFSET_TABLE_REGNUM for general alloaction.
11932         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
11933         must be stacked if it is used for PIC accesses.
11934         * arm.c (use_return_insn): Handle PIC register specially.
11935         (output_return_instruction): Likewise.
11936         (output_func_{prologue,epilogue}): Likewise.
11937         (output_expand_prologue): Likewise.
11938
11939         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
11940         (*strsi_predec): Renamed from *strqi_predec.
11941         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
11942         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
11943
11944         * arm.c (arm_override_options): Remove warning about PIC code
11945         not being supported.
11946
11947 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
11948
11949         * rs6000.c (find_addr_reg): New function.
11950         * rs6000.h (find_addr_reg): Declare.
11951         (offsettable_addr_operand): Delete.
11952         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
11953         from and stores to GPRs.
11954
11955 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
11956
11957         * alpha.c (alpha_expand_block_move): Use get_insns rather than
11958         gen_sequence as argument to emit_no_conflict_block.
11959
11960 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
11961
11962         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
11963         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
11964         *fixinc/fixincl.x: regen
11965         *fixinc/inclhack.sh: regen
11966
11967 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
11968
11969         * added support for -mpcrel (PC relative addressing for m68k)
11970         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
11971         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
11972         * m68k.c (print_operand_address): Handle 32-bit PIC case.
11973         (comments for general_src_operand): Add some explanation
11974         about EXTRA_CONSTRAINTS.
11975         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
11976         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
11977         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
11978         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
11979         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
11980         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
11981         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
11982         if not already set.
11983         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
11984         * m68k.h (TARGET_PCREL): New target flag.
11985         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
11986         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
11987         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
11988         contains a SYMBOL_REF.  Relax this constraint during reload, since
11989         we want to use the predicates, not reload's built-in concept of a
11990         valid memory address, to control what insns need reloading.
11991         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
11992         operands (essentially 'g', 'm', and 's' under normal circumstances).
11993         * m68k.c (print_operand): Cause printing of pc-relative addresses
11994         to include pc register.
11995         (print_operand_address): Ditto.
11996         (general_src_operand): Accept operands that are not only
11997         general_operands, but are also valid when used as a pc-relative
11998         source.
11999         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
12000         (memory_src_operand): Similar, for memory_operands.
12001         (pcrel_address): New predicate to accept the special case of a
12002         pc-relative address.
12003         * m68k.md (many patterns): Rewrite common SImode, HImode, and
12004         QImode insns to accept *_src_operand instead of *_operand where
12005         pc-relative operands can fit.  For example, a pc-relative operand
12006         can be used as a memory source operand for addsi3, but not as a
12007         memory destination.
12008         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
12009
12010 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
12011
12012         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
12013         .thumb_set pseudo op to mark aliases of thumb functions.
12014
12015 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
12016
12017         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
12018         preference to ASM_OUTPUT_DEF, if it is defined.
12019
12020         * tm.texi: Document new, optional target macro
12021         ASM_OUTPUT_DEF_FROM_DECLS.
12022
12023 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12024
12025         * fixincludes: ISCNTL patch
12026         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
12027         (dgux_int_varargs): new for DG/UX
12028         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
12029
12030 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
12031
12032         * invoke.texi (ia32 options): Fix typo.
12033
12034 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12035
12036         * loop.c (strength_reduce): When doing biv->giv conversion, update
12037         reg note of NEXT->insn.
12038
12039 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
12040
12041         * loop.c (move_movables): Note issues with replacing REGs with
12042         SUBREGs.
12043         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
12044
12045 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
12046
12047         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
12048
12049         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
12050         the reference to `mcount' was not correct for the ELF on FreeBSD.
12051
12052 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12053
12054         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
12055         reg_biv_class.
12056
12057         (recombine_givs): Set ix field after sorting.
12058
12059 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
12060
12061         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
12062         to safe to extract a subword out of a REG.
12063
12064 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12065
12066         * sh.md (mulsi3): Don't add a no-op move at the end.
12067
12068 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12069
12070         * cse.c (cse_insn): Don't put hard register source into tables for
12071         the last insn of a libcall.
12072
12073 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12074
12075         * loop.c (strength_reduce): Insert sets of derived givs at every
12076         biv increment, even if it's the only one.
12077
12078 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
12079
12080         * dwarfout.c (add_incomplete_type): New fn.
12081         (output_type): Call it.
12082         (retry_incomplete_types): New fn.
12083         (dwarfout_finish): Call it.
12084
12085         From Eric Raskin <ehr@listworks.com>:
12086         (output_type): Output types for bases.
12087
12088 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12089
12090         * mips.c (mips_output_conditional_branch): Add `break'
12091         between `default' label and `close braces'.
12092
12093 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
12094
12095         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
12096         specifications and make it realistic.
12097         (LIB_SPEC): Likewise.
12098
12099 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
12100
12101         * config/mips/mips.c (mips_secondary_reload_class): Check for
12102         (PLUS (SP) (REG)) and return appropriate register class.
12103         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
12104         Handle (PLUS (SP) (REG)).
12105         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
12106         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
12107         of emit_insn for tablejump.
12108
12109 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
12110
12111         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
12112         asm_fprintf format string by itself.
12113         (output_function_profiler): Likewise.
12114
12115 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
12116
12117         * combine.c (simplify_logical, case AND): Only call
12118         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
12119         or the constant is positive.
12120
12121 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
12122
12123         * configure.in: Fix typo in rs6000-ibm-aix4 case.
12124         * configure: Regenerate.
12125
12126 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
12127
12128         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
12129         require a sub-version #.
12130         * configure: Rebuilt.
12131
12132 1999-06-14  Robert Lipe  (robertlipe@usa.net)
12133
12134         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
12135
12136 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
12137
12138         * c-typeck.c (process_init_element): Detect excess elements in
12139         char array initializer.
12140
12141 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12142
12143         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
12144
12145 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
12146
12147         * invoke.texi (Option Summary): Add -fpermissive flag.
12148
12149 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
12150
12151         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
12152         that require PIC code sequences.
12153
12154 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
12155
12156         * configure.in: Add new target: thumb-elf.
12157         * configure: Regenerate.
12158         * config/arm/t-thumb-elf: New file: Makefile fragment for
12159         thumb-elf build.
12160         * config/arm/telf.h: New file: Header file for thumb-elf
12161         build.
12162
12163 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
12164
12165         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
12166         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
12167         initializers is some circumstances.
12168
12169         * fixinc/inclhack.def (endif_label): Add additional selector for
12170         more bogus stuff after #endif statements.
12171         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
12172
12173 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12174
12175         * i386/cygwin.h (SET_ASM_OP): Define.
12176
12177 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12178
12179         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
12180
12181 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12182
12183         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
12184         latter.
12185
12186         * sh.md (ic_invalidate_line_i): Remove second alternative.
12187
12188 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12189
12190         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
12191         test for the presence of valid prototypes.  Delete bypass expr.
12192         (ioctl_fix_ctrl): Correct the selection expression.
12193         (no_double_slash): Correct quoting rules
12194         *fixinc/fixincl.x: regen
12195         *fixinc/inclhack.sh: regen
12196
12197 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
12198
12199         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
12200
12201 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12202
12203         * rs6000.md (movsi_got_internal_mem): Delete.
12204         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
12205         (GOT_TOC_REGNUM): Delete.
12206         (PIC_OFFSET_TABLE_REGNUM): Define.
12207         (FINALIZE_PIC): Disable.
12208         * rs6000.c (rs6000_got_register): New code for fixed pic register.
12209         (rs6000_replace_regno): Delete.
12210         (rs6000_finalize_pic): Likewise.
12211         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
12212
12213 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12214
12215         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
12216         is a note; use <= for the compare; advance P while it is
12217         a NOTE.
12218
12219 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
12220
12221         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
12222         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
12223
12224         * varasm.c (remove_from_pending_weak_list): Verify t->name
12225         is non-NULL before passing it to strcmp.
12226
12227 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12228
12229         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
12230         the typed arguments are not part of a comment
12231         (ioctl_fix_ctrl): Added a purpose comment
12232         *fixinc/fixincl.x: regenerate
12233         *fixinc/inclhack.sh: regenerate
12234
12235 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12236
12237         * invoke.texi: Add C4x invocation docs.
12238
12239 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12240
12241         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
12242         Define new macros.
12243         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
12244         TARGET_EXPOSE_LDP.
12245         (c4x_legitimize_reload_address): New function.
12246         * config/c4x/c4x.md: Update docs.
12247
12248 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
12249
12250         * fixincludes: Avoid removing '.'.
12251         * fixinc/fixinc.svr4: Likewise.
12252         * fixinc/fixinc.winnt: Likewise.
12253         * fixinc/inclhack.tpl: Likewise.
12254         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
12255
12256 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12257
12258         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
12259         pattern.
12260         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
12261
12262 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12263
12264         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
12265         correctly.
12266
12267 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
12268
12269         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
12270         * configure: Regenerate.
12271
12272 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
12273
12274         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
12275         values.
12276
12277 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
12278
12279         * fixinc/inclhack.def (avoid_bool): Also catch
12280         "typedef [unsigned] int bool".
12281         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
12282
12283         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
12284         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
12285         * configure: Rebuilt.
12286
12287 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
12288
12289         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
12290         such that we can override its definitions if necessary.
12291         (CPP_SPEC): New define.  Support processor specific predefines via
12292         %(cpp_cpu).
12293         (CC1_SPEC): New define.  Support processor specific compiler
12294         options via %(cc1_cpu).
12295         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
12296         -static.
12297
12298 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12299
12300         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
12301         between sed's -e flag, and the open-quote following it.
12302         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
12303
12304 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
12305                           Jeffrey A Law  (law@cygnus.com)
12306
12307         * varasm.c (assemble_start_function): Remove the function
12308         from the pending weak decls list when we define a function.
12309         (assemble_variable): Similarly for variables.
12310         (weak_finish): Ignore items on the list with a NULL name.
12311         (remove_from_ending_weak_list); New function to "remove" an item
12312         from the pending weak declarations list.
12313
12314 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
12315
12316         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
12317
12318 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
12319
12320         * c-lex.c (GETC): Redefine to call getch.
12321         (UNGETC): Redefine to call put_back.
12322         (putback_buffer): New structure type.
12323         (putback): New static structure.
12324         (getch): New function.
12325         (put_back): New function.
12326         (yylex): Replace unused bytes from bad multibyte character.
12327
12328 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
12329
12330         * cpplib.c (do_define): Cast `alloca' return value.
12331         (do_include, do_undef, do_pragma): Likewise.
12332         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
12333         values.
12334         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
12335         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
12336
12337 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
12338
12339         * sparc.md (abstf2): This should be an expand.
12340         (split after abstf2_notv9): Fix mode.
12341         (abstf2_hq_v9): New pattern.
12342         (abstf2_v9): Only use when no hard quad.
12343         (absdf2_v9): Fix if target is not the same as source.
12344         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
12345         Add correct output constraints.
12346
12347 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
12348
12349         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
12350         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
12351
12352 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
12353
12354         * mips.h (mips_output_conditional_branch): New function.
12355         (mips_adjust_insn_length): Likewise.
12356         (ASSEMBLER_SCRATCH_REGNUM): New macro.
12357         (ADJUST_INSN_LENGTH): Likewise.
12358         * mips.c (print_operand): Add `F' and `W' for floating-point
12359         comparison opcodes.
12360         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
12361         are now in bytes.
12362         (mips_adjust_insn_length): New function.
12363         (mips_output_conditional_branch): New function.
12364         * mips.md (length): Adjust attribute definition to handle
12365         conditional branches.   Change lengths to bytes, rather than
12366         instructions throughout.  Remove length attribute from
12367         instructions whose length is four bytes, and rely on the default
12368         instead.
12369         (dslot): Fix typo in comment.
12370         Reword conditional branch patterns to use
12371         mips_output_conditional_branch.
12372
12373 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12374
12375         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
12376         (LIB_SPEC): Likewise.
12377         Link with -lprof1_r for -g/-pg.
12378
12379 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12380
12381         * loop.c (check_dbra_loop): Fix change of Jan 19.
12382
12383 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
12384
12385         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
12386         (STARTFILE_SPEC):  Define, override the svr4.h version.
12387         (ENDFILE_SPEC):  Likewise.
12388
12389 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
12390
12391         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
12392         * fixinc/fixincl.x: Regenerated.
12393         * fixinc/inclhack.sh: Regenerated.
12394
12395 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12396
12397         * sh.c (barrier_align): Don't return early for normal branch/barrier
12398         when optimizing for SH2.
12399
12400 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
12401
12402         * i386/udk.h (LINK_SPEC): Correct linker search path for
12403         system libraries.
12404
12405 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12406
12407         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
12408         (braf_label_ref_operand): Delete.
12409         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
12410         * sh.md (casesi_jump_2): Operand1 is now the inside of a
12411         label_ref, and has no predicate.
12412         The patten has a predicate to guard against invalid substitutions.
12413         (dummy_jump): Delete.
12414         (casesi): Update use of casesi_jump_2.
12415
12416 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12417
12418         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
12419         *fixinc/fixincl.x: regenerate
12420         *fixinc/inclhack.sh: regenerate
12421
12422 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
12423
12424         * dwarf2out.c (add_incomplete_type): New fn.
12425         (gen_struct_or_union_type_die): Call it.
12426         (retry_incomplete_types): New fn.
12427         (dwarf2out_finish): Call it.
12428
12429 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
12430
12431         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
12432         current block starts with a CODE_LABEL and ends with a CALL and
12433         we can not find all the argument setup instructions for the CALL.
12434
12435 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
12436
12437         Revert this change:
12438         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
12439         something is a candidate for optimize_bit_field_compare.
12440
12441 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12442
12443         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
12444
12445 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
12446
12447         * alpha.c (override_options): Thinko in last patch.
12448
12449         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
12450         (LIB_SPEC): Recognize -pthread.
12451
12452 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
12453
12454         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
12455         definition in config/arm/coff.h
12456         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
12457
12458 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12459
12460         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
12461         fixes that need "file=xxx\n" prepended before invocation
12462         (start_fixer - new): starting the fixer process is complex enough
12463         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
12464         (process): uses the new routine; omit usage of putenv()
12465         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
12466         * fixinc/fixincl.x: regenerate
12467
12468 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
12469
12470         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
12471         and version #s (1.1 -> 2.96) as needed.
12472         * README.g77: Kill way out of date file in the toplevel directory.
12473
12474 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
12475
12476         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
12477         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
12478         * configure: Rebuilt.
12479         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
12480         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
12481         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
12482         (SWITCH_TAKES_ARG): Likewise.
12483         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
12484         * config/t-freebsd: Moved from config/i386/ so it can used for all
12485         FreeBSD targets.
12486
12487 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
12488
12489         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
12490
12491 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
12492
12493         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
12494         * configure: Rebuilt.
12495
12496 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
12497
12498         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
12499         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
12500         * rs6000/rs6000.c (rs6000_file_start): Use putc.
12501         (rs6000_output_load_toc_table): Same.
12502         (output_prolog, output_mi_thunk): Same.
12503         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
12504         (ASM_GLOBALIZE_LABEL): Use putc.
12505
12506 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
12507
12508         * alpha.md (reload_*_help): New patterns and splitters.
12509         (reload_*): Use them.
12510         (mov[qh]i): Likewise.
12511
12512 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
12513
12514         * cccp.c (handle_directive): Handle backslash-newlines in quoted
12515         strings correctly.
12516
12517 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
12518
12519         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
12520
12521 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
12522
12523         * flow.c (mark_regs_live_at_end, insn_dead_p,
12524         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
12525         and HARD_FRAME_POINTER_REGNUM special treatment if reload
12526         hasn't run or the frame pointer is needed.
12527         * haifa-sched.c (attach_deaths): Likewise.
12528         * sched.c (attach_deaths): Likewise.
12529
12530 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
12531
12532         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
12533         calculate_can_reach_end returns nonzero.
12534
12535         * configure.in (native gas tests): Search for an assembler in the
12536         same manner that the installed compiler will.
12537         * configure: Rebuilt.
12538         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
12539
12540         * alias.c (find_base_term): Improve handling of addresses
12541         constructed from binary operations.
12542
12543 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
12544
12545         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
12546
12547 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
12548
12549         * function.h (cleanup_label, frame_offset): Declare.
12550         (tail_recursion_label, tail_recursion_reentry): Likewise.
12551         (arg_pointer_save_area, rtl_expr_chain): Likewise.
12552         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
12553         (tail_recursion_label, tail_recursion_reentry): Likewise.
12554         (arg_pointer_save_area, rtl_expr_chain): Likewise.
12555
12556 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
12557
12558         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
12559         defined.
12560         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
12561         (MAX_OFILE_ALIGNMENT): Define.
12562
12563 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
12564
12565         * fixincl.c: Replace local include scheme with #includes of
12566         gansidecl.h and system.h.
12567         * procopen.c:  Likewise.
12568         * server.c:  Likewise.
12569
12570 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
12571
12572         * i386/t-dgux (EXTRA_PARTS): Add crti.o
12573         (crti.o): Add build rule and dependencies.
12574         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
12575
12576 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12577
12578         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
12579         (LIB_LINUX_SPEC): Likewise.
12580         (LIB_LINUX_SPEC): Add support for -pthread
12581         (CPP_OS_LINUX_SPEC): Likewise.
12582         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
12583         specified.
12584
12585 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
12586
12587         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
12588         conditional move.
12589         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
12590         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
12591         for IEEE math and CC_FCOMI.
12592         (put_jump_code): No IEEE if CC_FCOMI is set.
12593
12594 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12595
12596         * fold-const.c (fold_truthop): Make the field reference unsigned
12597         when converting a single bit compare.
12598
12599 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12600
12601         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
12602
12603 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
12604
12605         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
12606         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
12607         version did.
12608
12609         * reload.c (push_reload): Do not call remove_address_replacements
12610         when presented with identical optional reloads.
12611
12612 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
12613
12614         * alpha.h (MASK_FIX, TARGET_FIX): New.
12615         (MASK_*): Reorganize constants.
12616         (CPP_AM_FIX_SPEC): New.
12617         (TARGET_SWITCHES): Add FIX.
12618         (EXTRA_SPECS): Likewise.
12619         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
12620         (SECONDARY_MEMORY_NEEDED): Likewise.
12621         (REGISTER_MOVE_COST): Likewise.
12622         * alpha.c (override_options): Add FIX support.  Always use
12623         ALPHA_TP_PROG for ev6.
12624         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
12625         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
12626         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
12627
12628 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
12629
12630         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
12631         something is a candidate for optimize_bit_field_compare.
12632
12633 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
12634
12635         * gcc.texi (Passes): Document branch-shortening.
12636         * invoke.texi (Debugging Options): Document the fact that `-dp'
12637         outputs length information for instructions.
12638
12639 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
12640
12641         * flow.c: Revert previous delta.
12642
12643 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
12644
12645         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
12646         FRAME_POINTER_REGNUM.
12647         (mark_set_1): Ditto.
12648         (mark_used_regs): Ditto.
12649
12650 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
12651
12652         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
12653         (GOT_PCREL): New macro.  Define to 1 if not already defined.
12654         * arm/elf.h (GOT_PCREL): Define to 0.
12655         * arm.c (arm_finalize_pic): Take into account the setting of
12656         GOT_PCREL.
12657
12658 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
12659
12660         * output.h (STRIP_NAME_ENCODING): Provide default definition.
12661         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
12662
12663         * flow.c (mark_set_1): Do not record BLKmode stores as dead
12664         store elimination candidates.
12665
12666 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12667
12668         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
12669         TARGET_GAS.
12670
12671 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
12672
12673         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
12674         Add use of x-aix41-gld.
12675
12676 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
12677
12678         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
12679         (ASM_OUTPUT_DESTRUCTOR): Define.
12680
12681 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
12682
12683         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
12684         last CODE_LABEL in a loop if we have previously passed a jump
12685         to the top of the loop.
12686
12687 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
12688
12689         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
12690         applying Philip's patch.
12691
12692 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
12693
12694         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
12695         are not VAR_DECLs.
12696
12697 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
12698
12699         * loop.c (strength_reduce): Grow reg_single_usage as needed.
12700
12701 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
12702
12703         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
12704         Also remove a useless comment.
12705
12706 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
12707
12708         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
12709
12710 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
12711
12712         * collect2.c (main): Only generate import or export file and add
12713         to link arguments if non-empty.  Use xmalloc not alloca.
12714         (write_{export,import}_file): Delete.
12715         (write_aix_file): New function.
12716         (locatelib): Use xmalloc not malloc.
12717         (GCC_OK_SYMBOL): Do not check type if aix64.
12718
12719 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
12720
12721         Based on patch by Scott Bambrough and Pat Beirne:
12722         * config/arm/arm.c (making_const_table): New variable.
12723         * config/arm/arm.h (making_const_table): Declare.
12724         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
12725         appropriate.
12726         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
12727         Keep track of when we are building the constant table.
12728
12729 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
12730
12731         * config/arm/arm.c (arm_override_options): Fix erroneous warning
12732         message.
12733
12734 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
12735
12736         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
12737         defined.
12738
12739 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
12740
12741         * tm.texi (FUNCTION_ARG): Correct description of a stack element
12742         in a PARALLEL.
12743
12744 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
12745
12746         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
12747
12748 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12749
12750         * rs6000.c (output_mi_thunk): Enable full support again.
12751
12752 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12753
12754         * sh.h (BRANCH_COST): Define.
12755
12756 Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
12757
12758         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
12759
12760 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
12761
12762         * function.c (assign_stack_local): Align stack slot propertly.
12763         (assign_outer_stack_local): Likewise.
12764
12765 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
12766
12767         * expr.h (lang_expand_constant): Declare.
12768         * toplev.c (lang_expand_constant): Define it.
12769         * varasm.c (output_constant): Use it.
12770
12771 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12772
12773         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
12774         Change function definitions to K&R style.
12775
12776 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12777
12778         * fixinc/fixincl.c: We must not ignore SIGCLD now.
12779
12780 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
12781
12782         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
12783         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
12784         (several places): omit static initialization
12785         (process): use single fd, since only the read fd is used
12786         * fixinc/gnu-regex.c: define 'const' away, if not supported
12787         * fixinc/procopen.c(several places): omit static initialization
12788         * fixinc/server.c: define 'volitile' away, if not supported
12789
12790 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12791
12792         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
12793         asm_fprintf and %L to generate the label name.
12794         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
12795         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
12796
12797 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
12798
12799         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
12800         insn for a conditional jump can not be found.
12801
12802 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
12803
12804         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
12805         on variables in specific sections other than .sbss and .sdata.
12806
12807 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
12808
12809         * stmt.c (expand_return): Call start_cleanup_deferral and
12810         end_cleanup_deferral around conditional code.
12811
12812 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
12813
12814         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
12815         filename lists.  Utilizes new "krstr" AutoGen function.
12816         * fixinc/fixincl.x: Rebuilt.
12817
12818 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
12819
12820         * i386.c (output_float_compare): Avoid GNU-C extensions.
12821
12822 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
12823
12824         * version.c: Bump to distinguish mainline tree from the
12825         gcc-2.95 branch.
12826
12827 See ChangeLog.1 for earlier changes.