OSDN Git Service

2000-04-13 Andreas Jaeger <aj@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-13  Andreas Jaeger  <aj@suse.de>
2
3         * config/mips/mips.c (expand_block_move): Pass alignment
4         argument to move_by_pieces in bits, not bytes.
5
6         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
7         __pic__ for little endian.
8
9 2000-04-13  Andreas Jaeger  <aj@suse.de>
10
11         * config/i386/i386-protos.h: Add prototype for
12         uno_comparison_operator.
13
14 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
15
16         * alias.c (nonlocal_reference_p): Take a care for
17         CALL_INSNS's fusage field.
18         * calls.c (ECF_PURE): New flag.
19         (emit_call_1): Handle ECF_PURE calls.
20         (initialize_argument_information): Unset ECF_PURE flag too.
21         (precompute_arguments): Precompute for ECF_PURE too.
22         (expand_call): Handle ECF_PURE calls too.
23         (emit_library_call_value_1): Rename no_queue argument to
24         fn_type, accept value of 2 as pure function.
25         (emit_library_call_value, emit_library_call): Rename no_queue argument
26         to fn_type.
27         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
28
29         * tree.h (DECL_IS_PURE): New macro.
30         (struct tree_decl): Add pure_flag.
31         * c-common.c (enum attrs): Add attribute "pure".
32         (init_attributes): Initialize attribute "pure"
33         (decl_attributes): Handle attribute "pure".
34         * extend.texi (Attribute "pure"): Document.
35         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
36         in pure function.
37         (flags_from_decl_or_type): Support attribute "pure".
38
39 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
40
41         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
42         the token except for numbers and identifiers.
43
44 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
45
46         * i386.c (ix86_expand_binary_operator,
47         ix86_expand_unary_operator): Check no_new_pseudos
48         instead of reload_in_progress and reload_completed.
49         (ix86_split_ashldi, ix86_split_ashrdi,
50         ix86_split_lshrdi): Check no_new_pseudos instead
51         of reload_completed.
52
53 2000-04-12  Jeffrey A Law  (law@cygnus.com)
54
55         * function.c (purge_addressof): Unshare any shared rtl created by
56         purge_addressof and its children.
57
58 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
59
60         * function.c (aggregate_value_p): VOID_TYPE nodes are never
61         aggregates.
62
63 2000-04-05  Andreas Jaeger  <aj@suse.de>
64
65         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
66         not compiling PIC code, add flags for mabi=64.
67         (SUBTARGET_CPP_SIZE_SPEC): New.
68         (SUBTARGET_CPP_SPEC): New.
69         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
70         for MIPS/Linux and lots of code needs these defines.
71
72 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
73
74         * reorg.c (fill_slots_from_thread): Check side_effects_p when
75         trying the "opposite arithmetic" approach.
76
77 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
78
79         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
80         (struct sh_args): Add new field force_mem.
81         (INIT_CUMULATIVE_ARGS): Initialize it.
82         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
83
84 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
85
86         (expand_call): Do not reverse args in "equal from" field.
87         (emit_library_call_value_1): Emit_libcall_block for const and pure
88         function.
89
90 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
91
92         * reload1.c (reload_combine): Don't enable optimization for fixed
93         registers when encountering a BARRIER.
94
95 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
96
97         * builtins.c (expand_builtin_memcmp): Do expansion even with
98         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
99
100         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
101         stack is propertly aligned; add sanity checking for aligned
102         stack pointer.
103         (expand_library_call_value_1): Add sanity checking for aligned
104         stack pointer.
105
106 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
107  
108         * calls.c (emit_library_call_value_1): Change 3rd arg to
109         locate_and_pad_parm to disregard the setting of partial.
110
111 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
112
113         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
114
115         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
116         CALL_INSN from the normal case.
117
118 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
119
120         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
121         New global variables.
122         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
123         adjustment.
124         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
125         Declare,
126         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
127          TARGET_ADD_ESP_8): New macros.
128         * i386.md: Add peep2s to convert esp adjustments to push and pop
129         instructions.
130         (pushsi_prologue, popsi_epilogue): New patterns.
131
132 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
133
134         * real.c (toe64): Remove stale #endif from the last change.
135
136 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
137
138         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
139         * real.c (toe64): Revert previous change.
140
141 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
142
143         * objc/objc-act.c: Include ggc.h.
144         (objc_tree_index, objc_global_trees): Convert most of the
145         static tree variables into a static array with previous names
146         as defines.
147         (objc_ellipsis_node): New variable.
148         (lang_init): Call objc_act_parse_init and c_parse_init.
149         Create objc_ellipsis_node.
150         (build_selector_translation_table): Use objc_ellipsis_node instead
151         of (tree)1.
152         (hack_method_prototype): Likewise.
153         (get_arg_type_list): Likewise.
154         (start_method_def): Likewise.
155         (continue_method_def): Likewise.
156         (gen_method_decl): Likewise.
157         (ggc_mark_imp_list): New function.
158         (ggc_mark_hash_table): New function.
159         (objc_act_parse_init): New function.
160         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
161         * c-parse.in (c_parse_init): For objc add roots of objc specific
162         local tree variables.
163         * objc/objc-parse.y: Rebuilt.
164         * objc/objc-parse.c: Rebuilt.
165         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
166
167 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
168
169         * cse.c (delete_trivially_dead_insns): Also delete insns
170         that copy a register to itself where the destination is
171         a strict_low_part.
172
173 2000-04-11  Richard Henderson  <rth@cygnus.com>
174
175         * flow.c (struct propagate_block_info): Add new_dead, new_live.
176         (propagate_block): Initialize them.  Use them in parallel instead
177         of one tmp variable, ie revert much of the 0408 and 0407 functional
178         changes, but keep the structural changes.
179         (mark_set_regs): Take new_dead from propagate_block_info instead.
180         (mark_set_1, mark_set_reg): Likewise.
181         (mark_used_regs): Likewise with new_live.
182         (mark_used_reg): Likewise.  Revert 0408 change.
183
184 2000-04-11  Nick Clifton  <nickc@cygnus.com>
185
186         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
187         restriction.
188         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
189
190 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
191
192         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
193         const section to output a CONSTRUCTOR based on the same conditions
194         used for VAR_DECLs.
195
196 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
197
198         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
199         * pa/pa-protos.h (output_call): Add additional argument indicating
200         if the call is a sibling/tail call.
201         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
202         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
203         (function_arg, function_arg_partial_nregs): Likewise
204         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
205         (emit_move_sequence): Zero extend certain constants as needed
206         for TARGET_64BIT.
207         (compute_zdepdi_operands, output_64bit_and): New functions.
208         (output_64bit_ior, function_arg): Likewise.
209         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
210         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
211         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
212         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
213         (output_bvb): Likewise.
214         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
215         (output_call): New argument 'sibcall'.  Generate sibcall sequences
216         as needed.
217         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
218         (ouput_arg_descriptor): Do not emit argument descriptors for
219         TARGET_64BIT.
220         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
221         defined.
222         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
223         (FUNCTION_OK_FOR_SIBALL): Define.
224         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
225         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
226         (CPP_SPEC): Use new spec infrastructure.
227         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
228         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
229         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
230         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
231         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
232         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
233         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
234         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
235         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
236         (FUNCTION_ARG); Call out to C code.
237         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
238         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
239         (MIN_UNITS_PER_WORD): Likewise.
240         * pa/pa.md (cmpdi): New expander.
241         (scc patterns, movstrsi): Not available for TARGET_64BIT.
242         (64bit conditional arithmetic): New patterns.
243         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
244         (movsicc): Not available if modes on all the operands to not match.     
245         (movdicc): New expander and associated patterns.
246         (64bit branches): New patterns.
247         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
248         (pre_ldd, post_std): New patterns.
249         (64bit addil, load low part): New patterns.
250         (special movsf constant): Not available for TARGET_64BIT.
251         (movsf, movdf expanders): Force constants into memory.
252         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
253         (64bit movdf/movdi patterns): New patterns.
254         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
255         for TARGET_64BIT.
256         (extendqidi2, extendhidi2, extendsidi2): Similarly.
257         (adddi3 expander): Allow "arith_operand" for second input.
258         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
259         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
260         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
261         (muldi3): New expander for TARGET_64BIT.
262         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
263         for TARGET_64BIT.
264         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
265         patterns for TARGET_64BIT.
266         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
267         patterns for TARGET_64BIT.
268         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
269         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
270         (sibcall_epilogue): New expander.
271         (casesi): Tweak for TARGET_64BIT.
272         (call expanders): Set & use the outgoing argument pointer.  Use the
273         64bit call patterns as needed. Add additional arg to output_call.
274         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
275         (sibcall, sibcall_internal_symref): New expanders.
276         (sibcall_value, sibcall_value_internal_symref
277         (interspace_jump): Turn into an expander + matching patterns.
278         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
279         * pa/pa64-regs.h: Eliminate trigraph sequences.
280         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
281
282 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
283
284         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
285         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
286         cpp_token with cpp_ttype everywhere.
287         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
288         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
289         CPP_BUF_COL.  Line and column numbers are unsigned int, not
290         long.
291         * cpplex.c (cpp_buf_line_and_col): Delete.
292         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
293         'long lineno' to 'unsigned int lineno'.
294         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
295
296 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
297
298         * extend.texi: ISO C99 is not a draft anymore.
299         * invoke.texi: ISO C++ is not a draft anymore.
300         * cpp.texi: __cplusplus is required by the ISO standard.
301
302         * extend.texi (-fthis-is-variable): Undocument.
303         * flags.h (warn_template_debugging): Remove declaration.
304         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
305         -Wenum-clash, -Wtemplate-debugging): Undocument.
306
307 2000-04-10  Nick Clifton  <nickc@cygnus.com>
308
309         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
310         integer.
311         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
312         integer.
313         (ARM_SIGN_EXTEND): Use HOST_UINT.
314         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
315         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
316         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
317         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
318
319         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
320         (arm_gen_constant): Use HOST_UINT.
321         (arm_canonicalize_constant): Use HOST_UINT.
322         (arm_reload_in_hi): Use HOST_UINT.
323         (arm_reload_out_hi): Use HOST_UINT.
324         (output_multi_immediate): Use HOST_UINT.
325         (int_log2): Use HOST_UINT.
326         (arm_poke_function_name): Use HOST_UINT.
327         (arm_output_epilogue): Use arm_volatile_func().
328         (output_thumb_prologue): Use arm_strip_name_encoding().
329         
330 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
331
332         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
333         of sequence point problems.
334
335 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
336
337         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
338         Recomment.
339         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
340
341 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
342
343         * sbitmap.h: Whitespace changes and use upper-case macro args.
344         (struct simple_bitmap_def): All sizes now unsigned.
345         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
346         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
347         (sbitmap_vector_alloc): Parms and local vars now unsigned.
348         (sbitmap_zero): Cast bzero arg to PTR.
349         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
350         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
351         loop to make structure clearer.
352         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
353         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
354         (sbitmap_a_and_b_or_c): Likewise.
355         (sbitmap_intersection_of_succs): Minor cleanups.
356         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
357         (sbitmap_union_of_preds): Likewise.
358         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
359         (debug_sbitmap): New function.
360         
361         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
362         * c-typeck.c (convert_for_assignment): Likewise.
363
364         * expmed.c (init_expmed): Don't free objects we make.
365         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
366
367         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
368         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
369
370         * gcse.c (expr_hash_table_size): Now unsigned.
371         (compute_ae_gen): Local variable `i' now unsigned.
372         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
373         (compute_transout, hoist_code): Likewise.
374         (compute_local_properties): Likewise, also hash_table_size.
375         (alloc_expr_hash_table): N_INSNS now unsigned.
376         (delete_null_pointer_checks): Mark arg F as unused.
377
378         * regrename.c: Minor cleanups, including chang some variables
379         to unsigned int.
380
381 2000-04-10  Neil Booth  <NeilB@earthling.net>
382
383         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
384         than GETC ().
385         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
386
387 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
388
389         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
390         __classof__, and __headof__ from the list of gnu keywords.
391         (-ansi): Remove -foperator-names from list of implied options. 
392         Do not call it ANSI C++.
393         (-foperator-names): Document as -fno-operator-names.
394
395 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
396
397         * cpphash.c (timestamp): Delete.
398         (del_HASHNODE): If type is T_MCONST, free value.cpval.
399         (special_symbol): Remove unnecessary braces.  Remove
400         T_VERSION.  Treat T_STDC like T_CONST unless
401         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
402         when one is encountered, then convert them into T_MCONST
403         nodes.
404         * cppinit.c (builtin_array): version_string is T_MCONST.
405         __STDC__ has a "1" in its cpval.  Don't have a terminator
406         entry.  Clean up which entries are dumped.
407         (initialize_builtins): Only __STDC__ gets the special
408         -traditional treatment.  Count the length of builtin_array.
409         Render version_string here.
410         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
411         * cpplib.h (struct cpp_reader): Remove timebuf. 
412
413 2000-04-09  Richard Henderson  <rth@cygnus.com>
414
415         * genrecog.c (pred): Update comparison_operator for the unordered
416         operators.
417
418         * config/i386/i386.c (no_comparison_operator): Disallow unordered
419         operators.
420         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
421         (uno_comparison_operator): New.
422         (put_condition_code): Handle UNORDERED/ORDERED.
423         (unsigned_comparison): Likewise.
424         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
425         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
426         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
427         update all callers.  Handle all 8 unordered operators.
428         (ix86_expand_setcc): Lose the unordered argument, update all callers.
429         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
430         * config/i386/i386.h (PREDICATE_CODES): Update.
431         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
432         (ix86_expand_branch, ix86_expand_setcc): Update.
433         * config/i386/i386.md (sunordered, sordered): New.
434         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
435         (bunordered, bordered): New.
436         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
437         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
438         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
439
440 2000-04-09  Philip Blundell  <philb@gnu.org>
441
442         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
443         
444 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
445
446         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
447         fix_truncxfhi2): New patterns.
448         * i386.c (output_fix_trunc): Handle converting to HImode.
449
450 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
451
452         * ssa.c (convert_to_ssa): Eliminate dead code when calling
453         life_analysis.  
454         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
455         (for_each_successor_phi): Change parameter to basic_block.
456         (coalesce_regs_in_successor_phi_nodes): Likewise.
457         (coalesce_regs_in_copies): Likewise.
458         (compute_coalesced_reg_partition): Use basic_block instead of index.
459         * rtl.h (convert_to_ssa): Delete.
460         (convert_from_ssa): Likewise.
461         (successor_phi_fn): Likewise.
462         (for_each_successor_phi): Likewise.
463         (in_ssa_form): Likewise.
464         * basic-block.h (convert_to_ssa): Moved from rtl.h.
465         (convert_from_ssa): Likewise.
466         (successor_phi_fn): Likewise.
467         (in_ssa_form): Likewise.
468         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
469         * flow.c (calculate_global_regs_live): Pass a basic_block to
470         for_each_successor_phi.
471
472 2000-04-08  Richard Henderson  <rth@cygnus.com>
473
474         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
475         was modified in the current insn.
476
477 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
478
479         * arm/thumb.md: Delete.
480         * arm/thumb-protos.h: Delete.
481
482 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
483
484         Merge changes from merged-arm-thumb-backend-branch onto trunk.
485
486         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
487
488         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
489         into branch.
490
491         * arm.md (nop): Use the standard RTL expression.  Don't code as a
492         define_expand.
493         (*arm_nop, *thumb_nop): Delete.
494
495         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
496         constants.  Use casts instead.
497         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
498         output_multi_immediate, arm_poke_function_name): Likewise.
499         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
500         MASK_RETURN_ADDDR): Likewise.
501
502         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
503
504         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
505         into branch.
506         
507         * arm.md (eh_epilogue): New function.
508         * arm.h (struct machine_function): Move to here ...
509         * arm.c: ... from here.
510         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
511         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
512         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
513
514         2000-03-30  Nick Clifton  <nickc@cygnus.com>
515
516         * config/arm/semi.h (ASM_SPEC): Restore definition.
517         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
518
519         * config/arm/elf.h (ASM_SPEC): Restore definition.
520         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
521
522         * config/arm/arm.h (ASM_SPEC): Remove definition.
523         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
524
525         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
526
527         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
528
529         2000-03-24  Nick Clifton  <nickc@cygnus.com>
530
531         Various formating tidyups, elimination of compile time
532         warnings and synchronisation with internal sources:
533         
534         * config/arm/arm-protos.h (assemble_align): Add prototype.
535         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
536         (gen_comapre_reg): Rename to arm_gen_compare_reg.
537         (arm_return_addr_rtx): Rename to arm_return_addr.
538
539         * config/arm/arm.c: Include except.h.
540         Define shorter typenames for strict minipool_node and struct
541         minipool_fix.
542         (arm_return_in_memory): For WinCE return all structures <= 32 bits
543         in memory.
544         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
545         (gen_comapre_reg): Rename to arm_gen_compare_reg.
546
547         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
548         already defined.
549         (ASM_SPEC): Define if not already defined.
550         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
551
552         * config/arm/arm.md: Rename references to gen_rotated_half_load to
553         arm_gen_rotated_half_load, and references to gen_comapre_reg to
554         arm_gen_compare_reg.
555         (indirect_jump):  Only accept register operands.
556         (load_indirect_jump): Keep this pattern since combine can generate
557         it.
558
559         * config/arm/coff.h: Include aout.h.
560         (MULTILIB_DEFAULTS): Only define if not already defined.
561
562         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
563         into arm.h (so that COFF ports can support thumb based aliases).
564         (ASM_SPEC): Move definition into arm.h
565         
566         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
567         redundant apcs spec.
568         (ASM_SPEC): Move definition to arm.h
569
570         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
571
572         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
573         for entries in the .bss section
574
575         2000-03-23  Nick Clifton  <nickc@cygnus.com>
576
577         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
578         to thumb_far_jump_used_p.
579
580         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
581         single integer parameter.
582
583         * config/arm/arm.c (struct machine_function): Add two new
584         fields, 'far_jump_used' and 'arg_pointer_live'.
585         (thumb_far_jump_used_p): Once the decision has been made that
586         far jumps might be used, always return true.
587         If being called from the initial elimination offset macro then
588         do not bother to perform the test if the arg pointer is not
589         being used.
590         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
591         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
592
593         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
594
595         * arm.c (output_return_instruction): Handle more cases where we can
596         return from a function with an ldr instruction.
597         (arm_output_epilogue): Likewise.
598
599         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
600         if we need to push a large stack frame and there are no callee-saved
601         registers.
602
603         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
604         in ARM code if the frame pointer has been eliminated.
605
606         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
607         unspec_volatile arguments to avoid duplicates.
608         (consttable_1, consttable_2): Fixes for big-endian mode.
609
610         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
611         as appropriate.
612
613         Re-write constant pool code.
614         * arm.c (minipool_node, minipool_fix): New types.
615         (minifix): Delete type.
616         (arm_add_minipool_constant): Delete.
617         (arm_compute_minipool_offsets, arm_find_barrier, 
618         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
619         (get_jump_table_size): Now returns HOST_WIDE_INT.
620         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
621         functions.
622         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
623         (assign_minipool_offsets, arm_print_value): Likewise.
624         (dump_minipool): Rewrite.
625         (arm_barrier_cost): New function.
626         (create_fix_barrier): New function.
627         (push_minipool_barrier): New function.
628         (push_minipool_fix): Record additional information about the fixup 
629         required.
630         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
631         check the mode of what needs fixing.
632         (arm_reorg): Rewrite.
633
634         2000-03-08  Nick Clifton  <nickc@cygnus.com>
635
636         * config/arm/arm.md (indirect_jump): Force constant addresses into
637         a register. 
638
639         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
640
641         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
642
643         2000-02-24  Nick Clifton  <nickc@cygnus.com>
644
645         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
646         adjust is word aligned.
647         (thumb_expand_epilogue): Make sure that stack adjust is word
648         aligned.
649
650         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
651         
652         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
653
654         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
655         pointer relative addresses.
656
657         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
658
659         * arm.c (find_barrier): Find the last barrier within the allowed 
660         range.
661
662         2000-02-09  Nick Clifton  <nickc@cygnus.com>
663
664         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
665
666         2000-02-09  Nick Clifton  <nickc@cygnus.com>
667
668         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
669         ARM_FUNCTION_PROFILER. 
670
671         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
672         ARM_FUNCTION_PROFILER. 
673
674         * config/arm/linux-oldld.h: Imported from mainline sources.
675
676         2000-02-07  Nick Clifton  <nickc@cygnus.com>
677
678         * config/arm/lib1funcs.asm: Merge in thumb functions from
679         lib1thumb.asm.
680         
681         * config/arm/lib1thumb.asm: Delete.
682
683         2000-02-04  Nick Clifton  <nickc@cygnus.com>
684
685         * config/arm/arm.c: Sychronised with current Red hat local
686         sources. 
687         * config/arm/arm.h: Ditto.
688         * config/arm/arm-protos.h: Ditto.
689
690         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
691
692         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
693
694         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
695         byte stores.
696
697         2000-02-02  Nick Clifton  <nickc@cygnus.com>
698
699         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
700
701         * config/arm/arm.md (epilogue): Fix rtl checking abort because
702         (return) was emited using an emit_insn() call. 
703         
704         2000-01-31  Nick Clifton  <nickc@cygnus.com>
705
706         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
707         thumb stack frame.
708         (thumb_exit): Move frame pointer back into hard frame pointer
709         register if backtracing is being used.
710
711         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
712
713         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
714         into branch.
715
716         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
717
718         * config/arm/arm.md (neg_pool_offset): Provide default for new
719         attribute.
720         (arm_movsi_insn): Add neg_pool_offset attribute.
721         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
722         rtx for the insn that starts the scan and an unsigned long for its
723         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
724         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
725         instructions in *PINSERTED.
726         (struct minipool_fixup): Add MIN_ADDRESS elt.
727         (sort_fixups): Compute it.
728         (arm_reorg): Changes to support inserting pools before the insn to be
729         fixed up.
730
731         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
732
733         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
734         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
735         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
736
737         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
738
739         * config/arm/semi.h (TARGET_VERSION): Do not define if already
740         defined.
741         (TARGET_DEFAULT): Do not define if already defined.
742
743         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
744
745         * config/arm/arm.md (anddi3): Allow disjoint source operands.
746         (iordi3): Allow disjoint source operands.
747         (xordi3): Allow disjoint source operands.
748         (negdi2): Permit construction for ARM and Thumb.
749         (arm_negdi2): Renamed version of old negdi2 pattern.
750         (thumb_negdi2): New pattern: Only permit non-overlapping
751         source and destination.
752
753         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
754
755         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
756         scratch low register so that it will not be deleted.
757
758         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
759
760         * config/arm/pe.h (ARM_PE): Define.
761         
762         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
763         interfacearm attribute if this is a PE toolchain.
764         (output_return_instruction): Do not emit anything if the function
765         has the naked attribute set.
766         (is_called_in_ARM_mode): If the function has the interfacearm
767         attribute then return true.
768         (thumb_expand_prologue): Do not generate a prologue for naked
769         functions.
770         (thumb_expand_epilogue): Do not generate an epilogie for a naked
771         function.
772         (output_thumb_prologue): Do not bother if the function is naked.
773         Strip PE encoding from function name before emitting.
774
775         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
776
777         * arm.md (pic_load_addr): Fix constraints.
778
779         * arm.md (casesi_insn): Fix mis-applied patch.
780
781         * arm.md ("core" function unit): Add rules for single- and
782         multi-cycle insns.
783         (All TARGET_THUMB patterns): Add "type" attribute information
784         where needed.
785         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
786         the following insn is a CALL.
787
788         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
789         pointer.
790         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
791         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
792         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
793         
794         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
795
796         * config/arm/linux-gas.h: oops - this file was missed out when the
797         branch was created...
798
799         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
800
801         * thumb.c: Deleted.  Move contents to ...
802         * arm.c: ... here.
803         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
804         rule for thumb.o
805         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
806         * configure: Regen.
807
808         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
809         declare a prototype for asm_output_align();
810
811         * arm.c (thumb_condition_code): Delete.
812         (arm_print_operand): Always use arm_condition_code array.
813
814         * arm.c (thumb_return_addr_rtx): Delete.
815         (arm_save_machine_status, arm_restore_machine_status): Delete.
816         (arm_init_machine_status, arm_mark_machine_status): New functions.
817         (arm_init_expanders): Update accordingly.
818         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
819         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
820         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
821         
822         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
823
824         * configure.in : Fix arm-*-aout target to use new t-arm-aout
825         script. 
826         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
827         targets.
828
829         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
830
831         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
832         stack backtrace structure.
833
834         * config/arm/arm-protos.h: Add prototypes for functions defined in
835         arm/pe.h.
836         
837         * config/arm/arm.c (arm_override_options): Fix selection of 
838         attributes of default processor.
839         
840         * config/arm/coff.h: Delete needless #include.
841         
842         * config/arm/pe.c: Delete unused code.
843         
844         * config/arm/pe.h (CPP_DEFINES): Delete
845         (SUBTARGET_CPP_SPEC): Define.
846         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
847         
848         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
849
850         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
851
852         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
853         updated.
854         (CAN_DEBUG_WITHOUT_FP): Define.
855         (FIXED_REGISTERS): Make r11 call-saved.
856         (CALL_USED_REGISTERS): Likewise.
857         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
858         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
859         frame-pointer is required.
860         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
861         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
862         if the target normally needs a stack frame in non-leaf functions.
863         (use_return_insn): Correct logic for determining when a return
864         instruction can be used.
865         (output_return_instruction): Handle the frame-pointer register as
866         a normal register when not TARGET_APCS_FRAME.
867         (arm_output_prologue): Likewise.
868         (arm_output_epilogue): Likewise.
869         (output_func_epilogue): Likewise.
870         (arm_expand_prologue): Likewise.
871         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
872
873         * arm.c (use_return_insn): No need to check floating point regs if
874         TARGET_SOFT_FLOAT.
875         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
876         the code of value stored in the minipool array.
877         (arm_add_minipool_constant): Likewise.
878
879 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
880
881         * basic-block.h (conflict_graph_enum_fn): K&R fix.
882
883 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
884
885         * tree.c (tree_expr_nonnegative_p): New function.
886
887         * tree.h (tree_expr_nonnegative_p): Declare.
888
889         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
890         elide some sign_compare warnings.
891         (build_conditional_expr): Likewise.
892
893 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
894
895         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
896
897         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
898         * i386.c (print_operand): Use the proper suffix for a 387 HImode
899         operand.  Abort if a 387 operand has an unsupported size.
900
901 2000-04-08  Neil Booth  <NeilB@earthling.net>
902
903         * cppexp.c (parse_charconst): Null does not end character
904         constants.
905         * cppinit.c (ISTABLE): Null character handled as whitespace.
906         * cpplex.c (null_warning):  new function.
907         (skip_string): Emit warning if nulls encountered.
908         (_cpp_skip_hspace): Emit warning if nulls encountered.
909         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
910         them.
911         * cpp.texi: Update.
912
913 2000-04-07  Richard Henderson  <rth@cygnus.com>
914
915         * flow.c (loop_depth): Remove.
916         (reg_next_use, cc0_live, mem_set_list): Replace with ...
917         (struct propagate_block_info): New.
918         (life_analysis): Don't allocate reg_next_use.
919         (propagate_block_delete_insn): Break out of propagate_block.
920         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
921         (propagate_block_delete_libcall): Likewise.
922         (propagate_block): Create a propagate_block_info struct to pass
923         to subroutines.  Allocate one not two temporary regsets.  Don't
924         clobber memory for const calls.  Look for clobbers in
925         CALL_INSN_FUNCTION_USAGE.
926         (mark_set_regs): Recognize COND_EXEC.
927         (mark_set_reg): Break out of mark_set_1.
928         (mark_used_reg): Break out of mark_used_regs.
929         (mark_used_regs): Recognize COND_EXEC.
930         (insn_dead_p): Use propagate_block_info struct.
931         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
932         (find_auto_inc, try_pre_increment_1): Likewise.
933         (print_rtl_with_bb): Dump regs live at end too.
934         (count_reg_sets_1): Pass in loop_depth.
935         (count_reg_sets, count_reg_references): Likewise.
936         (recompute_reg_usage): Provide it.
937
938 2000-04-07  Richard Henderson  <rth@cygnus.com>
939
940         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
941         not the raw files.
942
943 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
944
945         * cpplib.c (do_elif): Skip the rest of the line if we're
946         not going to bother evaluating it.
947         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
948         to avoid pointless calls to the lexer.
949
950 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
951
952         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
953
954 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
955
956         * calls.c (expand_call): emit_queue if we're trying a sibcall.
957
958 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
959
960         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
961
962 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
963
964         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
965         crtend so they can be multilibbed.
966         (STAGESTUFF): Remove s-crt and s-crtS.
967
968 2000-04-07  Richard Henderson  <rth@cygnus.com>
969
970         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
971         if we discover we need a pseudo and no_new_pseudos is true.
972         * config/alpha/alpha.md (ne:DI insn): New.
973         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
974
975 2000-04-07  Richard Henderson  <rth@cygnus.com>
976
977         * rtl.def (COND_EXEC): New.
978         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
979         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
980
981         * genconfig.c (have_cond_arith_flag): Remove.
982         (have_cond_exec_flag): New.
983         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
984         (main): Print HAVE_conditional_execution.
985
986         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
987         (sched_analyze_insn, print_pattern): Likewise.
988         * reload.c (find_equiv_reg): Likewise.
989         * rtlanal.c (reg_referenced_p): Likewise.
990         (note_stores, dead_or_set_regno_p): Likewise.
991         (reg_overlap_mentioned_p): Rewrite to use a switch.
992
993         * ggc.h (struct rtx_def): Forward declare.
994
995         * print-rtl.c (debug_rtx_range): New.
996         * rtl.h (debug_rtx_range): Declare.
997
998         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
999
1000         * gcse.c (gcse_main): Don't rebuild the CFG here.
1001         (delete_null_pointer_checks): Likewise.
1002         * ssa.c (convert_to_ssa): Likewise.
1003         * toplev.c (rest_of_compilation): Do it here instead.  Combine
1004         sequential calls to TIMEVAR.  Consistently use `insns' instead of
1005         `get_insns()'.  Always split insns after reload when optimizing.
1006
1007         * basic-block.h (merge_blocks_nomove): Declare.
1008         (tidy_fallthru_edge): Declare.
1009         * flow.c (merge_blocks_nomove): Document as merging into previous
1010         blocks.  Remove cruft from between blocks; remove all edges out of A.
1011         (tidy_fallthru_edge): Export.
1012
1013 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1014
1015         * ssa.c (compute_conservative_reg_partition): Declare with
1016         void arguments.
1017         * toplev.c (clean_dump_file): Remove previously-deleted function
1018         inadvertantly merged back in.
1019         * conflict.c (conflict_graph_add): Use a single call to
1020         htab_find_slot to look up and insert.
1021
1022 2000-04-06  Richard Henderson  <rth@cygnus.com>
1023
1024         * genrecog.c (*): Rename _last_insn to last_insn.
1025         (make_insn_sequence): Set the position of the peephole2 C test
1026         to be at the last insn.
1027
1028 2000-04-06  Richard Henderson  <rth@cygnus.com>
1029
1030         * flow.c (compute_flow_dominators): Free worklist.
1031
1032 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
1033
1034         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1035
1036 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1037
1038         * rtl.h (INSN_P): New macro.
1039         (successor_phi_fn): New typedef.
1040         (for_each_successor_phi): New prototype.
1041         (in_ssa_form): New variable.
1042         (PHI_NODE_P): Likewise.
1043         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1044         phi nodes in successors.
1045         (mark_used_regs): Add PHI case.
1046         (set_phi_alternative_reg): New function.
1047         (life_analysis): Assert that dead code elimination is not selected
1048         when in SSA form.
1049         * toplev.c (to_ssa_time): New variable.
1050         (from_ssa_time): Likewise.
1051         (compile_file): Zero to_ssa_time and from_ssa_time.
1052         Print time to convert to and from SSA.
1053         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1054         (print_time): Compute percent fraction as integer.
1055         * ssa.c (PHI_NODE_P): Moved to rtl.h.
1056         (convert_to_ssa): Check if we're already in SSA.  
1057         Don't eliminate dead code in life_analysis.
1058         Rerun flow and life analysis at bottom.
1059         (eliminate_phi): Use canonical regnos when adding nodes.
1060         (mark_reg_in_phi): New function.
1061         (mark_phi_and_copy_regs): Likewise.
1062         (convert_from_ssa): Rerun life analysis at top.  
1063         Use coalesced partition.
1064         Check for removing a phi node at the end of the block.
1065         (compute_coalesced_reg_partition): New function.
1066         (coalesce_regs_in_copies): Likewise.
1067         (coalesce_reg_in_phi): Likewise.
1068         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1069         (for_each_successor_phi): Likewise.
1070         (rename_context): New struct.
1071         (rename_block): Use a rename_context with rename_insn_1.  When
1072         renaming sets of a subreg, emit a copy of the entire reg first.
1073         (rename_insn_1): Treat data as a rename_context *.  Save current
1074         insn in set_data.
1075         (rename_set_data): Add field set_insn.
1076         * Makefile.in (HASHTAB_H): Move up in file.
1077         (OBSTACK_H): New macro.
1078         (collect2.o): Use OBSTACK_H in dependencies.
1079         (sdbout.o): Likewise.
1080         (emit-rtl.o): Likewise.
1081         (simplify-rtx.o): Likewise.
1082         (fix-header.o): Likewise.
1083         (OBJS): Add conflict.o.
1084         (conflict.o): New rule.
1085         * basic-block.h: Include partition.h.
1086         (conflict_graph): New typedef.
1087         (conflict_graph_enum_fn): Likewise.
1088         (conflict_graph_new): New prototype.
1089         (conflict_graph_delete): Likewise.
1090         (conflict_graph_add): Likewise.
1091         (conflict_graph_conflict_p): Likewise.
1092         (conflict_graph_enum): Likewise.
1093         (conflict_graph_merge_regs): Likewise.
1094         (conflict_graph_print): Likewise.
1095         (conflict_graph_compute): Likewise.
1096         * conflict.c: New file.
1097
1098 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1099
1100         * tlink.c (read_repo_files): Don't look for .rpo info for
1101         linker flags.
1102
1103 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1104
1105         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1106
1107 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1108
1109         * config/sh/lib1funcs.asm (___udivsi3_i4):
1110         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1111         only depends on FMOVD_WORKS.
1112
1113 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1114
1115         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1116         make double constant 8-byte aligned.
1117
1118 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
1119
1120         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1121         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1122         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1123         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1124         Accept storing GENERAL_REGS into offsetable memory.
1125         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1126         building a TFmode constant other than 0.0L into GENERAL_REGS.
1127
1128 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
1129
1130         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1131         
1132 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
1133
1134         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1135         (macro_cleanup): No need to cast pbuf->macro.
1136         (collect_expansion): Use _cpp_get_define_token.  Goto done if
1137         it returns VSPACE.  Remove check for trailing space after
1138         CPP_COMMENT.
1139         (_cpp_create_definition): Don't diddle flags here.  Return
1140         directly on error.
1141         (unsafe_chars): Handle c1 being EOF.
1142         (push_macro_expansion): Use unsafe_chars for both accidental-paste
1143         checks.  Don't push the buffer till after we're done with
1144         them.
1145         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1146         (PEEKN, FORWARD, GETC, PEEKC): Use them.
1147         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
1148         appropriately.
1149         (_cpp_parse_assertion): Don't NUL terminate.
1150         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
1151         hspace before calling _cpp_parse_assertion.  Remove all sets
1152         of only_seen_white. Treat '\f' as hspace.  Don't do anything
1153         special with '\n' here.
1154         (maybe_macroexpand): Handle T_EMPTY hash entries without
1155         pushing a buffer at all.
1156         (cpp_get_token): Handle clearing only_seen_white here.  Handle
1157         incrementing the line number here.  Clear
1158         potential_control_macro as well as only_seen_white, if
1159         appropriate.
1160         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1161         (_cpp_get_define_token): New function, basically like
1162         _cpp_get_directive_token was but doesn't eat horizontal space.
1163         Don't do anything with only_seen_white here.
1164         (_cpp_get_directive_token): Just call _cpp_get_define_token
1165         repeatedly till it returns non-hspace.
1166
1167         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1168         (conditional_skip, skip_if_group): Return int.
1169         (DIRECTIVE_TABLE): Change origin of all conditional directives
1170         to "COND".
1171         (TRAD_DIRECT_P): New macro.
1172         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
1173         an error for a bogus directive, unless -lang-asm.  Use
1174         TRAD_DIRECT_P. Loop calling handler functions till one returns
1175         zero.
1176         (get_macro_name): Don't diddle flags here.
1177         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
1178         Create T_EMPTY nodes for #define macro /* nothing */.
1179         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
1180         Use hp->name when calling pass_thru_directive.
1181         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1182         Return the result of conditional_skip and/or skip_if_group.
1183         Don't call _cpp_output_line_command.
1184         (consider_directive_while_skipping): Use _cpp_get_directive_token.
1185         Issue -Wtraditional warnings as appropriate.  Don't complain
1186         about unrecognized directives.  If we are to stop skipping,
1187         return the number of the directive that ended the skip.
1188         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
1189         expansion and line commands while skipping.  Return the result
1190         of consider_directive_while_skipping, if nonzero.
1191         (do_endif): Just set potential_control_macro here.
1192         (validate_else): Use _cpp_get_directive_token.
1193         (do_assert, do_unassert): Don't save pointers into the
1194         token_buffer across calls to the lexer.  Use
1195         _cpp_get_directive_token.  
1196
1197         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
1198         pointer, not an offset.  Replace 'data', which was a generic
1199         pointer, with 'macro', which points to a struct hashnode.
1200         (cpp_reader): Add 'potential_control_macro' pointer.
1201         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1202         (CPP_BUF_GET, CPP_FORWARD): Delete.
1203         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1204         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1205         ACTIVE_MARK_P): Update.
1206         (_cpp_get_define_token): New internal function.
1207         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1208
1209 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
1210
1211         * configure.in: And here.
1212         * configure: Regenerate.
1213         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1214         --enable-libstdcxx-v3 is passed at configure time.
1215         * config.h.in: Regenerate.
1216
1217 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
1218
1219         * final.c (final): Use xcalloc to allocate line_note_exists.
1220         * function.c (free_after_compilation): Free the temp_slots.
1221         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1222         (combine_temp_slot): Free temp_slots when they get combined.
1223         (purge_addressof): Fix typo in comment.
1224         * stmt.c (mark_goto_fixup): Mark the fixup itself.
1225         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1226
1227         * ggc.h: Include varray.h.
1228         (ggc_pending_trees): Declare.
1229         (ggc_mark_tree_children): Remove declaration.
1230         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1231         * ggc-common.c (ggc_pending_trees): New variable.
1232         (ggc_mark_roots): Call ggc_mark_trees.
1233         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
1234         the ggc_pending_trees.
1235         * Makefile.in (GGC_H): New variable.  Use it throughout in place
1236         of ggc.h.
1237         
1238 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1239
1240         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1241         GET_MODE_SIZE.
1242
1243 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1244
1245         * sh.c (sh_insn_length_adjustment): New function.
1246         * sh-protos.h (sh_insn_length_adjustment): Declare.
1247         * sh.h (ADJUST_INSN_LENGTH): Use it.
1248
1249 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
1250
1251         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1252         from the insn where REG_RETVAL is added.
1253         (emit_no_conflict_block): Ditto.
1254
1255         * md.texi (Standard Names): Clarify when movX is needed.
1256
1257         * combine.c (simplify_comparison) [MINUS]: Do not replace
1258         all (op (minus A B) 0) with (op A B).
1259
1260 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
1261                           J"orn Rennecke <amylaar@cygnus.co.uk>
1262
1263         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1264         (block_lump_real): Likewise.
1265
1266 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
1267
1268         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1269         remaining non-zero debugging masks.
1270
1271 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
1272
1273         * basic-block.h (verify_flow_info): Declare.
1274         (flow_loop_outside_edge_p): Declare.
1275         * flow.c (verify_flow_info): Remove declaration.
1276         (clear_log_links, flow_loop_outside_edge_p): Likewise.
1277
1278 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
1279
1280         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1281         not C++ comments.
1282
1283 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
1284
1285         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1286         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1287         seqdi_zero_trunc+1): Allow splits only if registers are
1288         different.
1289
1290 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
1291
1292         * acconfig.h: Add HAVE_GAS_HIDDEN.
1293         * config.in: Regenerated.
1294         * configure.in: Add test for .hidden pseudo-op in gas.
1295         * configure: Regenerated.
1296         * crtstuff.c: Include auto-host.h.
1297         Emit additional .hidden pseudo-op for __dso_handle if the
1298         assembler knows about it.
1299
1300 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
1301
1302         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1303         before freeing argnames.
1304         * cpplib.c (do_ifndef): Cast return value of xstrdup.
1305
1306 2000-04-05  Michael Meissner  <meissner@redhat.com>
1307
1308         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1309         Walton <jonboy@gordian.com> to make memory references with update
1310         work wtih -mregnames.
1311
1312 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1313
1314         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1315         (regrename_optimize): Rename variables `def_uses' and
1316         `ext_basic_blocks' to avoid conflicts with similarly named
1317         typedefs in traditional C.
1318
1319         * calls.c (initialize_argument_information): Fix typo in previous
1320         change.
1321
1322 2000-04-04  Richard Henderson  <rth@cygnus.com>
1323
1324         * regrename.c (consider_available): Test fixed_regs not
1325         PIC_OFFSET_TABLE_REGNUM.
1326
1327 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
1328
1329         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1330         crtend.
1331         (CRTSTUFF_T_CFLAGS_S): Delete definition.
1332         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1333         (ENDFILE_LINUX_SPEC): Always use crtend.
1334         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1335         (powerpc-*-linux-gnu): Likewise.
1336         * configure: Regenerate.
1337
1338         * config/rs6000/eabi.h: Don't include sysv4.h.
1339         (MULTILIB_DEFAULTS): Don't define.
1340         * config/rs6000/eabiaix.h: Don't include eabi.h.
1341         * config/rs6000/eabile.h: Delete.
1342         * config/rs6000/eabilesim.h: Delete.
1343         * config/rs6000/eabisim.h: Don't include eabi.h.
1344         * config/rs6000/linux.h: Don't include sysv4.h.
1345         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1346         (MULTILIB_DEFAULTS): Don't redefine.
1347         * config/rs6000/rtems.h: Don't include eabi.h.
1348         * config/rs6000/sol2.h: Don't include sysv4le.h.
1349         * config/rs6000/sysv4le.h: Don't include sysv4.h.
1350         * config/rs6000/t-ppc: Delete.
1351         * config/rs6000/t-ppcgas: Correct comment.
1352         * config/rs6000/t-ppcos: Correct comment.  Don't build 
1353         multilibs for -fPIC, rather use -fPIC -mstrict-align 
1354         as default.
1355         * config/rs6000/t-ppc: Delete.
1356         * config/rs6000/vxppc.h: Don't include sysv4.h.
1357         * config/rs6000/vxppcle.h: Delete.
1358         * configure.in: Use multiple header files for p2pc ELF targets
1359         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1360         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1361         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1362         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
1363         always available for these platforms.
1364
1365 2000-04-04  Richard Henderson  <rth@cygnus.com>
1366
1367         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1368
1369 2000-04-04  Stan Cox  <scox@cygnus.com> 
1370
1371         * Makefile.in: Add rules for regrename.o
1372         * regrename.c: New file.
1373         * rtl.h (regrename_optimize): Add prototype.
1374         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1375         (compile_file, decode_d_option): Add support for -frename-registers.
1376         (rest_of_compilation): Call regrename_optimize.
1377         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1378         New macros.     
1379         
1380 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1381
1382         * Makefile (gccbug): New target.
1383         (doc): Depend on it.
1384         * gcc.texi (Bugs): Link subnodes.
1385         (gccbug): New node.
1386         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1387         Document severities, priorities, and classes in bug form.
1388
1389 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1390
1391         * cpplex.c (trigraph_map, speccase): Combine into single
1392         table, chartab.
1393         (NORMAL, NONTRI): New macros.
1394         (_cpp_read_and_prescan): Change to use unified table.  Use
1395         is_hspace to test for whitespace.
1396
1397         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1398         definition that doesn't provoke the "empty body in an
1399         if-statement" warning.
1400
1401 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1402
1403         * builtins.c (expand_builtin_strlen): Force the source to
1404         be a memory address.
1405
1406 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1407
1408         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1409
1410 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1411
1412         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1413          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1414         (ECF_IS_CONST): Rename to ECF_CONST.
1415         (special_function_p): Make static, change interface.
1416         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1417         (expand_call) ... here; convert number of variables to flags.
1418         (emit_library_call_vlue_1): Likewise.
1419         (setjmp_call_p): New function.
1420         (initialize_argument_information): Accepts flags as argument;
1421         return flags.
1422         (precompute_arguments): Likewise.
1423         * tree.h (special_function_p): Remove.
1424         (setjmp_call_p): Add prototype.
1425
1426 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1427
1428         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1429         so that addresses are offsetable by up to 16 bytes.
1430         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1431         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1432         offsetable.
1433
1434         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1435         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1436         (movsf): Don't force any constant to memory if target is integer
1437         hard register.
1438         Move fp_zero_operand check below the const0_rtx check.
1439         (movtf): Likewise. Also allow fp_zero_operand for stores into
1440         memory.
1441         (movdf): Likewise. Also allow fp_zero_operand for stores into
1442         memory and into integer hard registers.
1443         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1444         movdf_const_intreg_sp64): Remove.
1445         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1446         conditions.
1447         (movdf_no_e_insn_v9_sp32): New pattern.
1448         (movdf_insn_v9only): Remove.
1449         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1450         (movdf_insn_sp64): Remove.
1451         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1452         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1453         (following splits): Rewrite conditions. Add two new splits
1454         for storing 0.0 into memory and registers.
1455         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1456         (movtf_insn_sp32): Redo constraints and conditions.
1457         (movtf_insn_vis_sp32): New pattern.
1458         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1459         (movtf_insn_hq_sp64): Likewise.
1460         (movtf_insn_hq_vis_sp64): New pattern.
1461         (movtf_insn_sp64): Redo constraints and conditions.
1462         (movtf_insn_vis_sp64): New pattern.
1463         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1464         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1465         or memory.
1466         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1467         -mvis or -m64 to take down the number of various reload patterns.
1468
1469 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1470
1471         * pa/pa-64.h: New file.
1472         * pa/pa64-regs.h: New file.
1473         * pa/pa64-start.h: New file.
1474         * pa/t-pa64: New file.
1475         * pa/xm-pa64hpux.h: New file.
1476
1477 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1478
1479         * sparc.c (output_restore_regs): Prototype.
1480         (sparc_emit_float_lib_cmp): Constification.
1481
1482         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1483
1484         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1485         Prototype.
1486
1487         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1488         (get_value_hash, hash_rtx): Likewise.
1489
1490         * ssa.c (compute_conservative_reg_partition): Prototype.
1491
1492         * tree.c (mark_hash_entry): Prototype.
1493
1494 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1495
1496         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1497         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1498         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1499
1500         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1501         * objc/lang-specs.h: Likewise.
1502
1503 2000-04-03  Neil Booth  <NeilB@earthling.net>
1504
1505         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1506         and SYNTAX_ERROR2. Replace `' in messages with ''.
1507         (op_to_str): Make re-entrant.
1508         (_cpp_parse_expr): Implement new error macros. Use | rather
1509         than || to logically or 2 boolean integers.  Simply expression
1510         checking we have a left operand iff needed.
1511
1512 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1513
1514         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1515
1516 2000-04-03  Philip Blundell  <philb@gnu.org>
1517
1518         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1519
1520 2000-04-03  Felix Lee  <flee@cygnus.com>
1521
1522         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1523         (run_shell): Use it. 
1524
1525 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1526
1527         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1528         (stmp-fixproto): ...rather than here.
1529
1530 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1531
1532         * pa.c (print_operand): Compute 'base' only inside the code paths
1533         that use it.
1534
1535 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1536
1537         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1538         CEIL_DIV_EXPR.
1539
1540 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1541
1542         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1543
1544 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1545
1546         * Makefile.in (alias.o): Depend on $(TREE_H).
1547
1548 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1549
1550         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1551         processing C++.
1552         * cpplib.c (_cpp_handle_directive): Improve warnings for
1553         traditional C and indented directives.
1554
1555         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1556         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1557         fixinc/inclhack.def: Indent the # of #include_next one space.
1558         * cp/rtti.c: Un-indent #if and #endif.
1559
1560         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1561         syntax error, but an error has already been printed.
1562         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1563         message when called with nothing remaining on the line.
1564         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1565         OTHER token, not an ASSERTION.
1566         * cpplib.c (do_assert): When we create a 'base' node, clear
1567         its aschain pointer.
1568
1569 2000-04-02  Neil Booth <NeilB@earthling.net>
1570
1571         * cppexp.c:  New typedef op_t.  struct operation and struct 
1572         token updated to use it.
1573         (op_to_str): New function.
1574         (_cpp_parse_expr): Error messages modified to use op_to_str.
1575
1576 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1577
1578         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1579         before checking MUST_PASS_IN_STACK.
1580
1581 2000-04-02  Neil Booth <NeilB@earthling.net>
1582
1583         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1584         flags and initial priority into a single constant.  New
1585         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1586         (_parse_cpp_expr): Implement new constants.  Take left operand
1587         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1588         parse indicated by reducing FINISHED token.  Remove new lines
1589         from cpp_error messages.
1590
1591 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1592
1593         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1594         permanent obstack.
1595
1596 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1597
1598         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1599         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1600         the strings and function names on the fly.  Take the #sccs
1601         entry out of the table if SCCS_DIRECTIVE is not defined.
1602         (_cpp_handle_directive): Decide if the # was at the beginning
1603         of the line here.  Issue -pedantic warnings for extended
1604         directives here.  Warn about K+R directives with the #
1605         indented, and C89/extended directives with the # not indented,
1606         here.
1607         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1608         do_assert, do_unassert): Don't issue pedantic warning here.
1609
1610         * cpphash.h: Add CPP_WTRADITIONAL macro.
1611         * cpplib.h (struct cpp_options): Rename warn_stringify to
1612         warn_traditional; update comments.
1613         * cppinit.c (handle_option): Set warn_traditional not
1614         warn_stringify.
1615         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1616         CPP_WTRADITIONAL (pfile).
1617         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1618         be ignored in -traditional mode here.
1619
1620         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1621         to initialize speccase[] and trigraph_map[].  Delete all
1622         references to pfile->input_speccase.  Always treat '?' as a
1623         special character.  Remove table-initialization code from
1624         _cpp_init_input_buffer.
1625
1626         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1627         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1628
1629 2000-04-01  Richard Henderson  <rth@cygnus.com>
1630
1631         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1632         (mostlyclean): Likewise.
1633
1634         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1635         (struct dump_file_info, enum dump_file_index, dump_file): New.
1636         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1637         not a string.  Clean out file if we havn't yet done so.  Do nothing
1638         if the dump isn't enabled.
1639         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1640         graph data if requested.
1641         (dump_rtl, clean_dump_file): Remove.
1642         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1643         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1644         .combine dump if optimizing.  Iterate over dump_file to finalize the
1645         graph dumps.
1646         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1647         Convert all uses of dump_rtl.
1648         (decode_d_option): Iterate over dump_file to implement 'a' and to
1649         locate pass-specific dumps.
1650
1651 2000-04-01  Neil Booth <NeilB@earthling.net>
1652
1653         * cppexp.c: Redefine priority constants.
1654         (_cpp_parse_expr): Replace left and right priority scheme with
1655         single priority logic.  Move LOGICAL to same place as COMPARE.
1656         Remove bogus check for multiple unary +/- operators.
1657
1658 2000-04-01  Neil Booth <NeilB@earthling.net>
1659
1660         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1661         within the switch statement.  Binary operations break out of
1662         the switch naturally.  '(' tokens handled by forcing
1663         immediate shift.  ')' handled by forcing immediate reduce to
1664         the previous '('.  New error messages.
1665         
1666 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1667
1668         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1669         part', it's already in use.  Use %K instead.  Add a return at the
1670         end of what is now %K.
1671         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1672
1673 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1674
1675         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1676         allocate_dynamic_stack_space.
1677         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1678         update stack_pointer_delta; do not update arg_size_so_far.
1679         (compute_argument_block_size): Use stack_delta instead of
1680         stack_pointer_pending and arg_size_so_far.
1681         (expand_call): Add sanity checking for stack_pointer_delta;
1682         save and restore stack_pointer_delta for SIB, use
1683         stack_pointer_delta for alignment; do not update arg_space_so_far.
1684         (emit_library_call_value): Use stack_pointer_delta for alignment.
1685         (store_one_arg): Do not update arg_space_so_far.
1686         * explow.c (adjust_stack, anti_adjust_stack): Update
1687         stack_pointer_delta.
1688         (allocate_dynamic_stack_space): Add sanity checking for
1689         stack_pointer_delta.
1690         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1691         stack_pointer_delta.
1692         (emit_push_insn): Update stack_pointer_delta.
1693         * function.h (struct expr_status): Add x_stack_pointer_delta;
1694         remove x_arg_space_so_far.
1695         (arg_space_so_far): Remove.
1696         (stack_pointer_delta): New macro.
1697
1698 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1699
1700         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1701         Reorder struct cpp_options and struct cpp_reader for better 
1702         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1703         takes two args.  Change all 'char' flags to 'unsigned char'.
1704         Move show_column flag into struct cpp_options.  Don't
1705         prototype cpp_options_init.
1706         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1707         cppinit.c, cpplex.c, cpplib.c:
1708         Replace CPP_OPTIONS (pfile)->whatever with
1709         CPP_OPTION (pfile, whatever), and likewise for
1710         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1711
1712         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1713         Extract CPP_OPTION (pfile, pending) and work with that
1714         directly.
1715         (cpp_options_init): Delete.
1716         (cpp_reader_init): Turn on on-by-default options here.
1717         Allocate the pending structure here.              
1718         (cl_options, enum opt_code): Define these from the same table,
1719         kept in a large macro.  Add -fshow-column and -fno-show-column
1720         options.
1721
1722         * cpperror.c (v_message): If show_column is off, don't print
1723         the column number.
1724
1725         * cppmain.c: Update for new interface.
1726         * fix-header.c: Likewise.
1727
1728 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1729
1730         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1731         definition.
1732         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1733         are passed to any invocation of AR_FOR_TARGET.
1734         (AR_CREATE_FOR_TARGET): New macro.
1735         (AR_EXTRACT_FOR_TARGET): New macro.
1736         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1737         AR_EXTRACT_FOR_TARGET.
1738         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1739         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1740         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1741         AR_EXTRACT_FOR_TARGET to sub-makes.
1742
1743 2000-03-31  Neil Booth <NeilB@earthling.net>
1744
1745         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1746         PAREN_INNER_PRIO.
1747         (_cpp_parse_expr): Check for multiple unary +/- operators.
1748         Correct priorities of ':' and '?'.  Treat ')' as having a
1749         value.  Ensure conditional expression is not void.
1750         
1751 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1752
1753         * alias.c (canon_rtx): Make it global.
1754         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1755         equality.
1756         * cse.c (struct table_elt): Add canon_exp.
1757         (insert): Clear it.
1758         (invalidate): Canonicalize expressions only once.
1759         * rtl.h (canon_rtx): Declare.
1760
1761 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1762
1763         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1764         * alias.c (reg_known_value): Add comments.
1765         (init_alias_analysis): Likewise.
1766         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1767         address.
1768         (cse_basic_block): Fix typo in comment.
1769         * emit-rtl.c: Include hashtab.h.
1770         (const_int_htab): New variable.
1771         (const_int_htab_hash): New function.
1772         (const_int_htab_eq): Likewise.
1773         (rtx_htab_mark_1): Likewise.
1774         (rtx_htab_mark): Likewise.
1775         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1776         (unshare_all_rtx): Fix formatting.
1777         (init_emit_once): Initialize const_int_htab.
1778         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1779         address.
1780         * rtl.texi: Document the fact that all CONST_INTs with the same
1781         value are shared.
1782
1783 2000-03-30  Richard Henderson  <rth@cygnus.com>
1784
1785         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1786
1787 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1788
1789         * configure.in: Comment out --enable-c-cpplib stanza.
1790         * configure: Regenerate.
1791
1792 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1793
1794         * expr.c (store_constructor): Properly compute displacement and
1795         alignment when offset is variable.
1796
1797         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1798         cases of alignment in bytes.
1799
1800 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1801
1802         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1803         since it is used to generate c-parse.y.
1804         * objc-parse.c, objc-parse.y: Regenerated.
1805
1806         * function.c (expand_function_end): Pass alignment argument to
1807         emit_block_move in bits, not bytes.
1808
1809 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1810
1811         * expr.c (move_by_pieces_ninsns): Fix one more missing align
1812         correction.
1813
1814         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1815
1816         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1817         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1818         * function.c (assign_parms): Likewise.
1819         * integrate.c (expand_inline_function): Likewise.
1820         * stmt.c (expand_decl): Likewise.
1821         (copy_rtx_and_substitute): Likewise.
1822         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1823         (clear_by_pieces): Fix error in last change.
1824         * emit-rtl.c (init_emit): Set known registers alignment in bits.
1825         * function.h (regno_pointer_align): Now unsigned.
1826         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1827         is in bits.
1828         * config/i386/i386.c (aligned_operand): Likewise.
1829         * config/sparc/sparc.c (mem_min_alignment): Likewise.
1830         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1831         (unaligned_memory_operand): Likewise.
1832         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1833         Also make alignments and sizes unsigned and some whitespace cleanup.
1834         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1835
1836         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1837         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1838         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1839         (expand_builtin_memset): Likewise, but to clear_storage.
1840         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1841         (restore_fixed_argument_area): Likewise.
1842         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1843         (load_register_parameters): Likewise, to emit_group_load.
1844         (expand_call): Likewise, to emit_group_store and emit_block_move.
1845         (emit_library_call_value_1): Likewise, to emit_block_move.
1846         (store_one_arg): Likewise, and to emit_push_insn.
1847         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1848         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1849         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1850         (emit_block_move, emit_group_load, emit_group_store): Likewise.
1851         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1852         (expand_assigment, store_expr, store_constructor_field): Likewise.
1853         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1854         (store_constructor, store_field, get_inner_reference): Likewise.
1855         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1856         (expand_expr, case COMPONENT_REF): Likewise.
1857         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1858         and positions; reindent code.
1859         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1860         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1861         (assign_parms): Likewise to emit_group_store.
1862         * optabs.c (prepare_cmp_insn): Alignment is in bits.
1863         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1864         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1865         (expand_return): Likewise to {extract,store}_bit_field.
1866         * stor-layout.c (get_mode_alignment): Minor cleanup.
1867         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1868         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1869         
1870 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1871
1872         * config/arm/arm.h: Undo effects of previous delta:
1873         (ASM_SPEC): Do not define.
1874         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1875
1876         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1877         typo. 
1878
1879 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1880
1881         * cppinit.c (cpp_start_read): Call initialize_dependency_output
1882         only after reading in the primary source file.
1883
1884 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
1885
1886         * c-common.c (c_common_nodes_and_builtins): The first parameter to
1887         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1888         or a reference to a va_list.
1889         * builtins.c (stabilize_va_list): Simplify now we don't have to
1890         work around C array address decay.
1891         * c-typeck.c (convert_for_assignment): Handle assignment to
1892         a reference parameter by taking the address of the RHS.
1893         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1894         (va_copy): Likewise.
1895         (__va_copy): Likewise.
1896         * ginclude/varargs.h (va_start): Likewise.
1897         (__va_copy): Likewise.
1898
1899 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
1900
1901         * i386/djgpp.h: Remove extraneous "+".
1902
1903         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1904
1905         * calls.c (expand_call): Fix typo in last change.
1906
1907 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
1908
1909         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1910         been expanded.
1911
1912 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1913
1914         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1915         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1916         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1917         * tree.c (bit_position, byte_position): Likewise.
1918         * tree.h: Declare new functions.
1919
1920 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1921
1922         * config/arm/arm.c: Minor formatting changes/
1923         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1924         already defined.
1925         (ASM_SPEC): Define if not already defined.
1926
1927 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1928
1929         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1930         _cpp_calc_hash.
1931
1932 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
1933
1934         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1935         value, don't output it as unsigned.
1936
1937 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
1938
1939         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1940
1941 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1942
1943         * c-common.c (c_common_nodes_and_builtins): Don't special case
1944         cplus_mode when declaring builtin bzero/bcmp, always avoid
1945         prototype arguments.
1946
1947 2000-03-29  Bruce Korb  <bkorb@gnu.org>
1948
1949         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1950         to a non-file
1951
1952 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1953
1954         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1955         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1956         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1957         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1958         (save_fixed_argument_area, restore_fixed_argument_area):
1959         conditionize by #ifdef REG_PARM_STACK_SPACE only.
1960         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1961         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1962         (precompute_register_parameters): Avoid #ifdefs on
1963         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1964         (stire_one_args): Likewise.
1965         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1966         (emit_library_call_value_1): Likewise.
1967         (compute_argument_block_size): Align to STACK_BOUNDARY only for
1968         ACCUMULATE_OUTGOING_ARGS.
1969         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1970         value.
1971         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1972         (use_crosses_set_p): Likewise.
1973         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1974         #define ACCUMULATE_OUTGOING_ARGS 1.
1975         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1976         frames.
1977         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1978         constants.
1979         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1980         (TARGET_SWITCHES): Add push-args, no-push-args,
1981         accumulate-outgoing-args and no-accumulate-outgoing-args.
1982         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1983         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1984         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1985         and PUSH_ROUNDING.
1986         (emit_push_insn): Likewise.
1987         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1988         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1989         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1990         (STACK_DYNAMIC_OFFSET): Define correctly for both
1991         ACCUMULATE_OUTGOING_ARGS and normal mode.
1992         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1993         * tm.texi (PUSH_ARGS): Document.
1994         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1995
1996 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1997
1998         * flags.h (flag_optimize_sibling_calls): Declare.
1999         * calls.c (expand_call): Fail sibcall when
2000         !flag_optimize_sibling_calls
2001         * invoke.texi (flag_optimize_sibling_calls): Document.
2002         * toplev.c (flag_optimize_sibling_calls): New global variable.
2003         (f_options): Add flag_optimize_sibling_calls.
2004         (rest_of_compilation): Conditionize
2005         optimize_sibling_and_tail_recursive_calls by
2006         flag_optimize_sibling_calls.
2007         (main): Set flag_optimize_sibling_calls for -O2.
2008         * stmt.c (expand_return): Conditionize tail recursion by
2009         flag_optimize_sibling_calls.
2010
2011 2000-03-29  Richard Henderson  <rth@cygnus.com>
2012
2013         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2014         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2015
2016 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
2017
2018         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
2019
2020 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2021
2022         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2023         is given.
2024         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2025         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2026         * config/rs6000/aix.h: then modified likewise.
2027
2028 2000-03-28  Richard Henderson  <rth@cygnus.com>
2029
2030         * rtl.h: Redistribute enum reg_note documentation. 
2031         Kill trailing whitespace.
2032         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2033         Kill trailing whitespace.
2034
2035 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
2036
2037         * cppfiles.c (hash_IHASH): Just return i->hash.
2038         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
2039         htab_find_with_hash.
2040         (cpp_read_file): Likewise.
2041         (find_include_file): Likewise.  Properly initialize
2042         ih->nshort.  Share ih->name and ih->nshort if possible.
2043         * cpphash.c (_cpp_calc_hash): New function.
2044         (hash_HASHNODE): Just return h->hash.
2045         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
2046         htab_find_with_hash.
2047         * cpphash.h: Prototype _cpp_calc_hash.
2048         * cppinit.c (initialize_builtins): Provide a valid hash
2049         to _cpp_make_hashnode, using _cpp_calc_hash.
2050
2051         * cpphash.c (collect_expansion): # is not a special character
2052         in object-like macros.  In -traditional mode, /**/ is not
2053         token paste at the beginning or end of the line.
2054         * cpplib.c (do_include, do_import, do_include_next): If
2055         parse_include fails, return immediately.
2056
2057 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
2058
2059         * config/arm/arm.md (return peepholes): Update to reflect the new
2060         call insn patterns.
2061         * config/arm/arm.c (arm_volatile_func): Also check
2062         current_function_nothrow.
2063         (output_return_instruction, output_func_prologue): Use it.
2064         (arm_output_epilogue, arm_expand_prologue): Likewise.
2065
2066 2000-03-27  Tom Tromey  <tromey@cygnus.com>
2067
2068         * gcc.c (handle_braces): In {x*...} case, break out of loop if
2069         switch is found.
2070
2071 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2072
2073         * expr.c (store_constructor): SIZE now signed.
2074         For EXPR_SIZE, don't evaluate size; just needed if constant.
2075         * fold-const.c (fold): Fix a number of cases when folded tree is
2076         wrong type.
2077         * function.c (flush_addressof): Reenable.
2078         * tree.h (flush_addressof): Likewise.
2079         * toplev.c (independent_decode_option): Look at strings_processed.
2080         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2081
2082 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
2083
2084         * sibcall.c (indentify_call_return_value): Find last call in the chain;
2085         Allow stack adjustment after function call.
2086
2087         * regmove.c (struct csa_memlist): Make mem field rtx *.
2088         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2089         (try_apply_stack_adjustment): Replace whole MEM rtx.
2090         (combine_stack_adjustments_for_block): Update calls
2091         to record_one_stack_ref.
2092
2093 2000-03-28  Neil Booth  <NeilB@earthling.net>
2094
2095         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2096         '\\' rather than a null character, so nulls are not special.  Fix
2097         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
2098         speed trigraph conversion.
2099         (_cpp_init_input_buffer): Initialize trigraph map.
2100
2101 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2102
2103         * config/i386/i386.c (output_387_binary_op): Correct intel
2104         mode assembly output, and add spaces after commas in AT&T
2105         output.  Correct Unixware assembler comment.  Document input
2106         constraints.  Comment fp operations.  Reduce profligate buffer
2107         size.  Remove extraneous abort.  Localize temp var.
2108         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
2109         (output_fix_trunc): Add spaces after commas in assembly output.
2110
2111 2000-03-27  Richard Henderson  <rth@cygnus.com>
2112
2113         * i386-protos.h (ix86_match_ccmode): Declare.
2114         * i386.c (ix86_match_ccmode): New.
2115         (ix86_expand_fp_compare): Update for pattern renames.
2116         (ix86_expand_strlensi_unroll_1): Likewise.
2117         * i386.h (EXTRA_CC_MODES): Add CCZ.
2118         (SELECT_CC_MODE): Use it for EQ/NE zero.
2119         * i386.md (cmpsi_ccz_1): New.
2120         (cmpqi_ccz_1): New.
2121         (*testsi_ccz_1): New.
2122         (testqi_ccz_1): New.
2123         (cmpsi_ccno_1): Rename from cmpsi_0.
2124         (testsi_ccno_1): Rename from testsi_1.
2125         (testqi_ccno_1): Rename from testqi_1.
2126         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2127         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2128         (*cmphi_0): Use ix86_match_ccmode.
2129         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2130         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2131         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2132         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2133         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2134         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2135         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2136         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2137         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2138         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2139         (appropriate peepholes): Likewise.
2140         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2141         (*subsi_3, *subhi_3, *subqi_3): Remove.
2142         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2143         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2144         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2145         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2146         (x86_shift_adj_1): Use CCZ.
2147         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2148
2149 2000-03-27  Stan Cox  <scox@cygnus.com> 
2150
2151         * resource.h (mark_resource_type): New.
2152         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
2153         find_free_register): Use mark_resource_type.
2154         (mark_set_resources): Change include_delayed_effects
2155         to mark_resource_type.
2156         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
2157         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
2158         Use mark_resource_type.
2159         
2160 2000-03-27  Richard Henderson  <rth@cygnus.com>
2161
2162         * i386.md (call_pop_0, call_value_pop_0): New.
2163         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
2164         (call_value_pop_1): Likewise.
2165         (call_0, call_value_0): New.
2166         (call_1, call_value_1): Remove constraint from unused arg.
2167
2168 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2169
2170         * invoke.texi (Spec Files): Document new spec % command created by
2171         Tom Tromey's recent patch.
2172
2173 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
2174
2175         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2176         if not defined.
2177
2178 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2179
2180         * expr.c (expand_assignment): Fix typo in last change.
2181
2182         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2183
2184 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2185
2186         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2187         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2188         and DECL_INLINE if FUNCTION_DECL.
2189         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2190         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2191         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2192         (combine_parm_decls): Likewise.
2193         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2194         * print-tree.c (print_node): Likewise.
2195         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2196         DECL_TRANSPARENT_UNION on proper decl types.
2197         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2198         * stor-layout.c (layout_decl): Only check DECL_PACKED and
2199         DECL_BIT_FIELD of FIELD_DECL.
2200         * tree.h (DECL_RESULT_FLD): New macro.
2201         
2202         * expr.c (expand_assignment): Add code to handle variable-sized
2203         BLKmode case.
2204
2205 2000-03-26  Richard Henderson  <rth@cygnus.com>
2206
2207         * calls.c (expand_call): Pass parms not original exp to
2208         optimize_tail_recursion.  Mind return value instead of looking
2209         for a barrier.
2210         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2211         call_expr.  Move checks for call_expr and current_function_decl ...
2212         (expand_return): ... here.
2213
2214 2000-03-26  Tom Tromey  <tromey@cygnus.com>
2215
2216         * gcc.c (handle_braces): Recognize `%{<S}' construct.
2217         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2218         defines.
2219         (process_command): Use them.
2220         (check_live_switch): Likewise.
2221         (give_switch): Skip ignored switches.
2222
2223 2000-03-26  Jan Hubicka  <jh@suse.cz>
2224
2225         * jump.c (jump_optimize_1): Fix typo in elide optimizations
2226         for minimal jump pass test.
2227
2228 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
2229
2230         * integrate.c (function_cannot_inline_p): Do inline functions that
2231         return `void'.
2232
2233 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2234
2235         * stor-layout.c (layout_type, set_sizetype): early_type_list is
2236         now a list of TREE_LIST entries, not types.
2237         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2238
2239         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2240         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2241         int_bit_position.
2242         * config/mips/mips.c (function_arg): Likewise; also remove cast
2243         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2244         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2245         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2246         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2247         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2248         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2249         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2250         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2251         num_adjusts now unsigned.
2252         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2253         * config/sparc/sparc.c (struct function_arg_record_value_parms):
2254         NREGS now unsigned.
2255         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2256         as is BITPOS variable; use host_integerp and int_bit_position.
2257         (function_arg_record_value_2): Likewise.
2258         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2259         Variable REGNO now unsigned.
2260         (function_arg_record_value): NREGS now unsigned.
2261
2262 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
2263
2264         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2265
2266 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2267
2268         * Rework fields used to describe positions of bitfields and
2269         modify sizes to be unsigned and use HOST_WIDE_INT.
2270         * alias.c (reg_known_value_size): Now unsigned.
2271         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2272         (really_start_incremental_init): Use bitsize_zero_node.
2273         (push_init_level, pop_init_level, output_init_element): Likewise.
2274         Use bitsize_unit_node and bitsize_one_node.
2275         (output_pending_init_elements, process_init_element): Likewise.
2276         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2277         (make_extraction): Position and length HOST_WIDE_INT and unsigned
2278         HOST_WIDE_INT, respectively.
2279         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2280         (num_sign_bit_copies): Returns unsigned.
2281         BITWIDTH now unsigned; rework arithmetic.
2282         Remove recursive call from arg to MAX.
2283         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2284         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2285         REGNO now unsigned.
2286         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2287         (find_split_point, expand_compound_operation, make_extraction): LEN
2288         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2289         (make_field_assignment): Likewise.
2290         (combine_simplify_rtx): Add cast.
2291         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2292         (force_to_mode): WIDTH now unsigned; add cast.
2293         (if_then_else_cond): SIZE now unsigned.
2294         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2295         (extended_count): Now returns unsigned.
2296         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2297         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2298         (simplify_comparison): MODE_WIDTH now unsigned.
2299         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2300         (mark_used_regs_combine): Likewise; rework arithmetic.
2301         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2302         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2303         (record_promoted_value): REGNO now unsigned.
2304         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2305         (get_last_value): REGNO now unsigned.
2306         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2307         (reg_dead_regno, reg_dead_endregno): Now unsigned.
2308         (remove_death): Arg REGNO now unsigned.
2309         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2310         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2311         now unsigned.
2312         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2313         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2314         (struct cse_reg_info): REGNO now unsigned.
2315         (cached_regno): Now unsigned.
2316         (REGNO_QTY_VALID_P): Add cast.
2317         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2318         (remove_invalid_regs): Likewise.
2319         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2320         as are variables END and I.
2321         (get_cse_reg_info, insert): Likewise.
2322         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2323         (canon_hash): Likewise.
2324         (insert_regs, lookup_for_remove): REGNO now unsigned.
2325         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2326         New variable RN.
2327         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2328         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2329         * emit-rtl.c (subreg_realpart_p): Add cast.
2330         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2331         (operand_subword_force): Arg I is now unsigned.
2332         * except.c (eh_regs): Variable I is now unsigned.
2333         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2334         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2335         length is unsigned HOST_WIDE_INT; likewise for internal variables.
2336         (store_split_bit_field, extract_fixed_bit_field): Likewise.
2337         (extract_split_bit_field, store_bit_field, extract_bit_field):
2338         Likewise.
2339         * expr.c (store_constructor_fields, store_constructor, store_field):
2340         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2341         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2342         (do_jump): Likewise.
2343         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2344         MAX_SIZE is now unsigned.
2345         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2346         (emit_group_store): Likewise.
2347         (emit_move_insn): I now unsigned.
2348         (store_constructor): Use host_integerp, tree_low_cst, and
2349         bitsize_unit_node.
2350         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2351         Rework all calculations to use trees and new fields.
2352         * expr.h (promoted_input_arg): Regno now unsigned.
2353         (store_bit_field, extract_bit_field): Adjust types of pos and size.
2354         (mark_seen_cases): Arg is HOST_WIDE_INT.
2355         * flow.c (verify_wide_reg_1): REGNO now unsigned.
2356         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2357         precisions and alignments are unsigned.
2358         (optimize_bit_field_compare, fold_truthop): Likewise.
2359         (int_const_binop): Adjust threshold for size_int_type_wide call.
2360         (fold_convert): Likewise.
2361         (size_int_type_wide): Make table larger and fix thinko that only
2362         had half of table used.
2363         (all_ones_mask_p, fold): Precisions are unsigned.
2364         * function.c (put_reg_info_stack): REGNO is unsigned.
2365         (instantiate_decl): Size is HOST_WIDE_INT.
2366         (instantiate_virtual_regs): I is unsigned.
2367         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2368         (promoted_input_arg): REGNO is unsigned.
2369         * function.h (struct function): x_max_parm_reg is now unsigned.
2370         * gcse.c (max_gcse_regno): Now unsigned.
2371         (struct null_pointer_info): min_reg and max_reg now unsigned.
2372         (lookup_set, next_set): REGNO arg now unsigned.
2373         (compute_hash_table): REGNO and I now unsigned.
2374         (handle_avail_expr): regnum_for_replacing now unsigned.
2375         (cprop_insn): REGNO now unsigned.
2376         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2377         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2378         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2379         * hard-reg-set.h (reg_class_size): Now unsigned.
2380         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2381         * jump.c (mark_modified_reg): I now unsigned; add cast.
2382         (rtx_equal_for_thread_p): Add cast.
2383         * loop.c (max_reg_before_loop): Now unsigned.
2384         (struct_movable): REGNO now unsigned.
2385         (try_copy_prop): REGNO arg unsigned.
2386         (regs_match_p): XN and YN now unsigned.
2387         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2388         (strength_reduce): Likewise; NREGS also unsigned.
2389         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2390         * loop.h (struct iv_class): REGNO now unsigned.
2391         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2392         Now unsigned.
2393         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2394         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2395         * optabs.c (expand_binop): I and NWORDS now unsigned.
2396         (expand_unop): I now unsigned.
2397         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2398         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2399         * real.c (significand_size): Now returns unsigned.
2400         * real.h (significand_size): Likewise.
2401         * regclass.c (reg_class_size): Now unsigned.
2402         (choose_hard_reg_mode): Both operands now unsigned.
2403         (record_reg_classes): REGNO and NR now unsigned.
2404         (reg_scan): NREGS now unsigned.
2405         (reg_scan_update): old_max_regno now unsigned.
2406         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2407         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2408         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2409         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2410         Likewise for variable R.
2411         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2412         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2413         (find_equiv_reg): Add casts.
2414         (regno_clobbered_p): Arg REGNO now unsigned.
2415         * reload.h (struct reload): NREGS now unsigned.
2416         (refers_to_regno_for_reload_p): Regno args are unsigned.
2417         (regno_clobbered_p): Likewise.
2418         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2419         (compute_use_by_pseudos): REGNO now unsigned.
2420         (find_reg): I and J now unsigned, new variable K, and change loop
2421         variables accordingly; THIS_NREGS now unsigned.
2422         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2423         (spill_hard_reg): REGNO arg now unsigned; add casts.
2424         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2425         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2426         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2427         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2428         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2429         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2430         (emit_reload_insns): REGNO now unsigned.
2431         (reload_cse_move2add): Add cast.
2432         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2433         and rework loop.
2434         * resource.c (mark_referenced_resources, mark_set_resources): New
2435         variable R; REGNO and LAST_REGNO now unsigned.
2436         (mark_target_live_regs): J and REGNO now unsigned.
2437         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2438         * rtl.h (union rtunion_def): New field rtuint.
2439         (XCUINT): New macro.
2440         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2441         (operand_subword, operand_subword_force): Word number is unsigned.
2442         (choose_hard_reg_mode): Operands are unsigned.
2443         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2444         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2445         (regno_use_in, combine_instructions, remove_death): Likewise.
2446         (reg_scan, reg_scan_update): Likewise.
2447         (extended_count): Return is unsigned.
2448         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2449         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2450         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2451         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2452         (reg_reg_last_1): FIRS and LAST now unsigned.
2453         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2454         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2455         now unsigned.
2456         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2457         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2458         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2459         (replace_regs): Arg NREGS now unsigned.
2460         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2461         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2462         (simplify_binary_operation): Likewise.
2463         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2464         THIS_LAST now unsigned.
2465         (cselib_record_set): Add cast.
2466         * ssa.c (ssa_max_reg_num): Now unsigned.
2467         (rename_block): REGNO now unsigned.
2468         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2469         sizes now unsigned.
2470         (all_cases_count): Just return -1 not -2.
2471         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2472         Rework tests to use trees whenever possible.
2473         Use host_integerp and tree_low_cst.
2474         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2475         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2476         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2477         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2478         (smallest_mode_for_size): Likewise.
2479         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2480         KNOWN_ALIGN is now an alignment, so simplify code.
2481         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2482         (start_record_layout): Renamed from new_record_layout_info.
2483         Update to new fields.
2484         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2485         New functions.
2486         (place_union_field): Renamed from layout_union_field.
2487         Update to use new fields in rli.
2488         (place_field): Renamed from layout_field.
2489         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2490         (finalize_record_size): Rework to use new fields in rli and handle
2491         union.
2492         (compute_record_mode): Rework to simplify and to use new DECL fields.
2493         (finalize_type_size): Make rounding more consistent.
2494         (finish_union_layout): Deleted.
2495         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2496         (layout_type, case RECORD_TYPE): Call new function names.
2497         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2498         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2499         (get_best_mode): UNIT is now unsigned; remove casts.
2500         * tree.c (bit_position): Compute from new fields.
2501         (byte_position, int_byte_position): New functions.
2502         (print_type_hash_statistics): Cast to remove warning.
2503         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2504         (build_index_type): Likewise; make subtype of sizetype.
2505         (build_index_2_type): Pass sizetype to build_range_type.
2506         (build_common_tree_nodes): Use size_int and bitsize_int to
2507         initialize nodes; add bitsize_{zero,one,unit}_node.
2508         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2509         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2510         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2511         (DECL_FIELD_BITPOS): Deleted.
2512         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2513         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2514         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2515         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2516         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2517         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2518         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2519         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2520         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2521         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2522         (DECL_ALIGN): Adjust to new field in union.
2523         (DECL_OFFSET_ALIGN): New field.
2524         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2525         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2526         (union tree_decl): Add struct for both aligns.
2527         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2528         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2529         (struct record_layout_info): Rework fields to have offset
2530         alignment and byte and bit position.
2531         (start_record_layout, place_field): Renamed from old names.
2532         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2533         (byte_position, int_byte_position): Likewise.
2534         (get_inner_reference): Change types of position and length.
2535         * unroll.c (unroll_loop): New variable R; use for some loops.
2536         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2537         (calculate_giv_inc): Arg REGNO now unsigned.
2538         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2539         * varasm.c (assemble_variable): Clean up handling of size using
2540         host_integerp and tree_low_cst.
2541         (decode_addr_const): Use byte, not bit, position.
2542         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2543         use tree_low_cst and int_bit_position.
2544         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2545         
2546 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2547
2548         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2549         (reorder_block_def): New members eff_head and eff_end.
2550         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2551         (verify_insn_chain): New function.
2552         (skip_insns_between_block): Add code to skip deleted insns.
2553         Check for note before using.
2554         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2555         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2556         Check for note before using.
2557         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2558         (fixup_reorder_chain): Restructure, clean up, defect removal.
2559         (reorder_basic_blocks): Remove last_insn and references to it.
2560         Moved insn chain verification code into a new function (see above).
2561         Delete defective code that sets last insn.
2562         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2563         all blocks.
2564
2565 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2566
2567         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2568
2569 2000-03-24  Richard Henderson  <rth@cygnus.com>
2570
2571         * tree.c (lang_safe_for_unsave): Remove.
2572         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2573         allowing for two levels of unsafeness.  Remove lang hook.
2574         * tree.h: Update declarations.
2575         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2576         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2577         Always fail sibcalls when there are pending cleanups.
2578
2579 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2580
2581         * flow.c (propagate_block): When we delete an ADDR_VEC,
2582         also delete the BARRIER following it if there is one.
2583
2584 2000-03-24  Richard Henderson  <rth@cygnus.com>
2585
2586         * builtins.c (expand_builtin_bzero): Convert `length' argument
2587         to sizetype.
2588
2589 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2590
2591         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2592         comparison if regno's are equal.
2593         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2594         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2595         (expand_call): Update caller.
2596         Avoid making a sibling call if argument size of the callee is larger
2597         than argument size of the caller.
2598         Call hard_function_value with outgoing set if in sibcall pass.
2599         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2600
2601         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2602         Change LEAF_REGISTERS from an array initializer to actual array
2603         identifier. Move static global variable into the function.
2604         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2605         sequences for leaf functions.
2606         * global.c (global_alloc): Likewise.
2607         * tm.texi (LEAF_REGISTERS): Update documentation.
2608
2609         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2610         TARGET_FLAT leaf disabling hack.
2611         (LEAF_REGISTERS): Changed from an array initializer to actual array
2612         identifier to avoid duplication and remove the above hack.
2613         (FUNCTION_OK_FOR_SIBCALL): Define.
2614         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2615         always like call attribute.
2616         (eligible_for_sibcall_delay): New attribute.
2617         (sibcall): New delay type.
2618         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2619         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2620         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2621         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2622         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2623         New functions.
2624         (output_function_epilogue): Move part of the code into
2625         output_restore_regs.
2626         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2627         TYPE_SIBCALL.
2628         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2629         prototypes.
2630
2631         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2632         until infrastructure is finished.
2633
2634 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2635
2636         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2637         (save_parm_insns): Not here.
2638
2639 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2640
2641         * builtins.c (expand_builtin_bzero): New function.
2642         (expand_builtin): Handle bzero.
2643
2644         * builtins.def: Add BUILT_IN_BZERO.
2645
2646         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2647         prototype & function for bzero.
2648
2649 2000-03-23  Michael Meissner  <meissner@redhat.com>
2650
2651         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2652         change adding TARGET_FP to the TF floating point insns, except for
2653         trunctfsf2, which generates direct calls to truncdfsf2.
2654
2655 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2656
2657         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2658         try to protect against middle-end changes that break binary
2659         compatibility.
2660         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2661
2662 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2663
2664         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2665
2666 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2667
2668         * calls.c (expand_call): If TARGET is passed by reference and
2669         is readonly, write a CLOBBER.
2670
2671 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2672
2673         * builtins.c (expand_builtin): Handle bcmp.
2674
2675         * builtins.def: Add BUILT_IN_BCMP.
2676
2677         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2678         prototype & function for bcmp.
2679
2680 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2681
2682         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2683         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2684         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2685
2686 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2687
2688         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2689         alternative when using -fp64 -gp32.
2690
2691 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2692
2693         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2694         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2695         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2696
2697         * frame.h (frame_state): Revert last change.
2698         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2699         * libgcc2.c (throw_helper): Revert last change.
2700         
2701 2000-03-22  Richard Henderson  <rth@cygnus.com>
2702
2703         * stmt.c (expand_asm_operands): Don't promote the temporary.
2704
2705 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2706
2707         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2708         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2709           c_get_alias_set): Likewise.
2710         * c-decl.c (duplicate_decls): Likewise.
2711         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2712         * calls.c (initialize_argument_information): Likewise.
2713         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2714         Likewise.
2715         * dwarfout.c (decl_class_context,output_type): Likewise.
2716         * expr.c (get_inner_reference): Likewise.
2717         * fold-const.c (simple_operand_p,fold): Likewise.
2718         * function.c (aggregate_value_p): Likewise.
2719         * stmt.c (expand_asm_operands): Likewise.
2720         * varasm.c (named_section): Likewise.
2721
2722 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2723
2724         Implement dwarf2 exception handling for the ARM.
2725         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2726         (DWARF_FRAME_RETURN_COLUMN): Define.
2727         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2728         REG_FRAME_RELATED_EXPR note.
2729         (emit_sfm): Likewise.
2730         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2731         * dwarf2out.c (reg_save): Handle saving a register to itself.
2732         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2733         * except.c (eh_regs): Don't use the static chain reg if it's
2734         callee-saved.
2735         * frame.h (frame_state): Add cfa_saved field.
2736         * frame.c (execute_cfa_insn): Set it.
2737         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2738         the epilogue.
2739         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2740         Now takes a parm.
2741         (instantiate_virtual_regs): Adjust.
2742         * tm.texi: Adjust.
2743         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2744         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2745         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2746
2747         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2748         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2749
2750 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2751
2752         * builtins.def: New file.
2753
2754         * Makefile.in (TREE_H): Depend on builtins.def.
2755
2756         * builtins.c (built_in_names): Use builtins.def.
2757
2758         * tree.h (built_in_function): Likewise.
2759
2760 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2761
2762         * tree.c (size_in_bytes): Return size_zero_node, not
2763         integer_zero_node.
2764
2765 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2766
2767         * config/fp-bit.c (pack_d): Correct the case when a denormal
2768         is rounded up and stops being denormal.
2769
2770 2000-03-21  Richard Henderson  <rth@cygnus.com>
2771
2772         * config/alpha/alpha.c (function_arg): Check for void_type_node
2773         before using MUST_PASS_IN_STACK.
2774
2775 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2776
2777         * regmove.c (combine_stack_adjustments_for_block): Check that
2778         the stack pointer is a valid memory address.
2779
2780 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2781
2782         * calls.c: re-install Mar 16 emit_library_call merge.
2783
2784 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2785
2786         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2787         we cannot be sure that if reload_completed base register will
2788         be properly aligned.
2789
2790 2000-03-21  Richard Henderson  <rth@cygnus.com>
2791
2792         * flow.c (delete_block): Fix typo last change.
2793
2794 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2795
2796         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2797         not COMPLETE_TYPE_P, to check the type of the expression.
2798
2799 2000-03-21  Michael Meissner  <meissner@redhat.com>
2800
2801         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2802         all floating point insns that just tested the macro
2803         TARGET_HAS_XFLOATING_LIBS.
2804         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2805         used to only use the gprs.
2806
2807 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
2808
2809         * tree.h (COMPLETE_TYPE_P): New macro.
2810         (COMPLETE_OR_VOID_TYPE_P): New macro.
2811         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2812         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2813         * c-aux-info.c (gen_type): Use them.
2814         * c-common.c (c_expand_expr_stmt): Likewise.
2815         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2816         grokdeclarator, grokparms, finish_struct, start_function,
2817         store_parm_decls, combine_parm_decls): Likewise.
2818         * c-parse.y (cast_expr): Likewise.
2819         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2820         c_size_in_bytes, c_alignof, build_component_ref,
2821         build_indirect_ref, build_array_ref, convert_arguments,
2822         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2823         * calls.c (initialize_argument_information): Likewise.
2824         * convert.c (convert_to_integer): Likewise.
2825         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2826         * dwarfout.c (location_or_const_value_attribute,
2827         output_enumeration_type_die, output_structure_type_die,
2828         output_union_type_die, output_type): Likewise.
2829         * expr.c (safe_from_p, expand_expr): Likewise.
2830         * function.c (assign_parms): Likewise.
2831         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2832         * tree.c (build_array_type, build_function_type,
2833         build_method_type, build_offset_type, build_complex_type): Likewise.
2834         * c-parse.c, c-parse.h: Regenerated.
2835
2836 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2837
2838         * config/c4x/rtems.h: Include config/rtems.h.
2839
2840 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
2841
2842         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2843         decl is a FUNCTION_DECL
2844
2845 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
2846
2847         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2848         function uses output registers.  Don't save RP for leaf functions.
2849         Do save RP even if no epilogue.
2850         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2851         (CALL_USED_REGISTERS): Unmark in registers.
2852         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
2853         to near the middle.
2854
2855 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2856
2857         * config/rs6000/rs6000.md (bunordered): New expander.
2858         (bordered): New expander.
2859         (buneq): New expander.
2860         (bunge): New expander.
2861         (bungt): New expander.
2862         (bunle): New expander.
2863         (bunlt): New expander.
2864         (bltgt): New expander.
2865  
2866         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2867         (ccr_bit_negated_p): New function.
2868         (print_operand): For %C, generate appropriate cror for UNEQ,
2869         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
2870
2871 2000-03-20  Andreas Jaeger  <aj@suse.de>
2872
2873         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2874         warning.
2875
2876         * tree.h (safe_for_unsave): Prototype.
2877
2878 2000-03-20  Richard Henderson  <rth@cygnus.com>
2879
2880         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2881         (combine_stack_adjustments_for_block): Don't allow sp references
2882         in the side of a set we're not fixing up.
2883         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2884         after life_analysis.
2885
2886 2000-03-20  Richard Henderson  <rth@cygnus.com>
2887
2888         * calls.c (expand_call): Don't bother generating tail call
2889         sequences if there are pending cleanups.  Use
2890         expand_start_target_temps/expand_end_target_temps to elide
2891         cleanups created during sibcall expansion.
2892
2893 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2894
2895         * configure.in: Set $IFS to a value if it doesn't already have one
2896         in the --enable-checking handling.
2897         * configure: Regenerate.
2898
2899 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2900
2901         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2902         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2903         Regenerated.
2904
2905 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
2906
2907         * jump.c (delete_noop_moves): Remove code attempting to
2908         combine stack adjustments.
2909
2910 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2911
2912         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2913         * except.c (emit_cleanup_handler): Use them.
2914         (expand_end_all_catch): Likewise.
2915         * function.c (fixup_var_refs): Likewise.
2916         (expand_function_end): Clear catch_clauses_last.
2917         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2918         * except.h (struct eh_status): New field x_catch_clauses_last.
2919         (catch_clauses_last): New define.
2920
2921         * Makefile.in (tree.o): Depend on HASHTAB_H.
2922         * tree.c: Include hashtab.h.
2923         (struct type_hash): Remove next field.
2924         (TYPE_HASH_SIZE): Remove.
2925         (TYPE_HASH_INITIAL_SIZE): New define.
2926         (type_hash_table): Change type to htab_t.
2927         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2928         mark_hash_entry): New functions.
2929         (init_obstacks): Allocate type hash.
2930         (type_hash_lookup): Use htab functions.
2931         (type_hash_add, mark_type_hash): Likewise.
2932         (dump_tree_statistics): Call print_type_hash_statistics.
2933
2934 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2935
2936         * rs6000/t-aix41: New file.
2937
2938         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2939
2940 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2941
2942         * tm.texi (Driver): Fix typos and tweak entry for
2943         INCLUDE_DEFAULTS.
2944         Move misplaced STRUCT_FORCE_BLK entry ...
2945         (Storage Layout): ... to here.
2946         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2947
2948 2000-03-19  Richard Henderson  <rth@cygnus.com>
2949
2950         * flow.c (delete_block): Delete the addr_vec along with the block.
2951         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2952         reference labels.
2953
2954         * fold-const.c (extract_muldiv): Apply type check for defined
2955         overflow to multiply as well as divide.
2956
2957         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2958
2959 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2960
2961         * emit-rtl.c (remove_unncessary_notes): Check that all
2962         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2963         associated NOTE_BLOCK.
2964         * function.h (identify_blocks): Update comments.
2965         (reorder_blocks): Declare.
2966         * function.c (identify_blocks): Don't take paramters.
2967         (reorder_blocks): Don't take parameters.
2968         * loop.h (find_loop_tree_blocks): Remove.
2969         (unroll_block_trees): Likewise.
2970         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
2971         reorder_blocks instead of unroll_block_trees.h
2972         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2973         * stmt.c (find_loop_tree_blocks): Remove.
2974         (unroll_block_trees): Likewise.
2975         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2976         in whole-function mode.
2977         * tree.h (reorder_blocks): Remove declaration.
2978
2979         * expr.c: Include intl.h.
2980         * Makefile.in (expr.o): Depend on intl.h.
2981         
2982 2000-03-18  Richard Henderson  <rth@cygnus.com>
2983
2984         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2985
2986 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2987
2988         * tree.h (tree_index): Remove enumerals for integer types.
2989         (integer_type_kind): New type.
2990         (integer_types): New variable.
2991         (char_type_node): Adjust.
2992         (signed_char_type_node): Likewise.
2993         (unsigned_char_type_node): Likewise.
2994         (short_integer_type_node): Likewise.
2995         (short_unsigned_type_node): Likewise.
2996         (integer_type_node): Likewise.
2997         (unsigned_type_node): Likewise.
2998         (long_integer_type_node): Likewise.
2999         (long_unsigned_type_node): Likewise.
3000         (long_long_integer_type_node): Likewise.
3001         (long_long_unsigned_type_node): Likewise.
3002         * tree.c (integer_types): New variable.
3003         (init_obstacks): Register it as a root.
3004
3005 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
3006
3007         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3008         NEXT_INSN. Update last insn in chain.
3009
3010 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
3011
3012         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3013         with TYPE_DECL_SUPPRESS_DEBUG set.
3014
3015 2000-03-18  Richard Henderson  <rth@cygnus.com>
3016
3017         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3018
3019 2000-03-18  Richard Henderson  <rth@cygnus.com>
3020
3021         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3022         care for HALF_PIC_P.
3023         (expander_call_insn_operand): Remove.
3024         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3025         * i386.h (PREDICATE_CODES): Update.
3026         * i386.md (all call expanders): Remove predicates, remove special
3027         handling for half-pic.
3028         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3029         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3030         (sibcall_epilogue): New.
3031
3032 2000-03-17  Richard Henderson  <rth@cygnus.com>
3033
3034         * rtlanal.c (single_set): Reject if the parallel has anything
3035         except SET or USE or CLOBBER.
3036
3037 2000-03-17  Jeff Law  <law@cygnus.com>
3038             Richard Henderson  <rth@cygnus.com>
3039
3040         * Makefile.in (OBJS): Add sibcall.o.
3041         (sibcall.o): New.
3042         * sibcall.c: New file.
3043         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3044         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3045         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3046         Emit sibcall patterns when requested.  Update all callers.
3047         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3048         elimination seems feasable.
3049         * final.c (leaf_function_p): Sibling calls don't discount being
3050         a leaf function.
3051         * flow.c (HAVE_sibcall_epilogue): Provide default.
3052         (find_basic_blocks_1): Sibling calls don't throw.
3053         (make_edges): Make edge from sibling call to EXIT.
3054         (propagate_block): Don't remove sibcall_epilogue insns.
3055         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
3056         (sibcall_epilogue): New.
3057         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3058         (identify_blocks_1): Likewise.  Break out from ...
3059         (identify_blocks): ... here.
3060         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
3061         (reorder_blocks): ... here.
3062         (init_function_for_compilation): Zap prologue/epilogue as varrays.
3063         (record_insns): Extend a varray instead of mallocing new memory.
3064         (contains): Read a varray not array of ints.
3065         (sibcall_epilogue_contains): New.
3066         (thread_prologue_and_epilogue_insns): Emit and record
3067         sibcall_epilogue patterns.
3068         (init_function_once): Allocate prologue/epilogue varrays.
3069         * genflags.c (gen_insn): Treat sibcall patterns as calls.
3070         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3071         Broken out from ...
3072         (save_for_inline_nocopy): ... here.
3073         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
3074         Broken out from ...
3075         (expand_inline_function): ... here.
3076         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3077         (subst_constants): Handle 'n' formats.
3078         * jump.c (jump_optimize_minimal): New.
3079         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
3080         optimizations if it's set.
3081         * rtl.c (copy_rtx): Do copy jump & call for insns.
3082         * rtl.h (struct rtx_def): Document use of jump and call for insns.
3083         (SIBLING_CALL_P): New.
3084         (sibcall_use_t): New.
3085         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3086         Invoke optimize_sibling_and_tail_recursive_calls.
3087         * tree.c (lang_safe_for_unsave): New.
3088         (safe_for_unsave): New.
3089         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3090
3091         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3092         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3093         (*sibcall_osf_1, *sibcall_value_osf_1): New.
3094
3095 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
3096
3097         * objc/objc-act.c (encode_method_prototype): Pass types, not
3098         PARM_DECLs, to int_size_in_bytes.
3099
3100 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
3101
3102         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3103
3104         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3105         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3106
3107 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3108
3109         * Clean up usages of TREE_INT_CST_LOW.
3110         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3111         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3112         Regenerated.
3113         * c-tree.h (min_precision): Move declaration to here.
3114         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3115         (build_unary_op, add_pending_init): Use bit_position.
3116         (pending_init_member, process_init_element): Likewise.
3117         (really_start_incremental_init, push_init_level, pop_init_level):
3118         Don't make copies of nodes or modify them in place, use consistent
3119         types when tracking positions, and use tree routines computations.
3120         (set_init_index, output_init_element): Likewise.
3121         (output_pending_init_elements, process_init_element): Likewise.
3122         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3123         tree_low_cst and int_bit_position; also minor cleanup.
3124         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3125         (print_cst_octal): Precision is unsigned.
3126         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3127         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3128         (simple_type_align_in_bits): Result is unsigned int.
3129         Use tree_int_low_cst and host_integerp.
3130         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3131         (field_byte_offset): Result is HOST_WIDE_INT.
3132         Change types of internal variables so alignments are unsigned int,
3133         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3134         Use host_integerp, tree_low_cst, and int_bit_position.
3135         (add_bit_offset_attribute): Likewise.
3136         (add_data_member_location_attribute): Use tree_cst_low.
3137         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3138         (add_bit_size_attribute): Use tree_low_cst.
3139         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3140         * dwarfout.c: Similar changes to dwarf2out.c.
3141         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3142         * genoutput.c (n_occurences): Return -1 for null string.
3143         (strip_whitespace): Accept null string and make into function.
3144         (scan_operands): Reflect above changes.
3145         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3146         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3147         * ssa.c (rename_registers): Add missing cast of arg to bzero.
3148         * tree.c (int_size_in_bytes): Check for too big to represent.
3149         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3150         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3151         New declarations.
3152         (min_precision): Delete from here.
3153         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3154         and int_bit_position.
3155         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3156         (encode_method_def): Likewise.
3157         (build_ivar_list_initializer): Use int_bit_position.
3158         (generate_shared_structures): Convert size.
3159         (encode_type, encode_complete_bitfield): Use integer_zerop.
3160         (encode_bitfield): Use tree_low_cst and int_bit_position.
3161         
3162 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3163
3164         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3165
3166 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3167
3168         * call.c (special_function_p): It is only malloc if it returns
3169         Pmode.
3170
3171 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3172
3173         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3174         (C33_FLAG, TARGET_C3X): Add macros.
3175         (TARGET_SWITCHES): Add -m33 option.
3176         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3177         
3178 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3179         
3180         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3181         (PARALLEL_PACK_FLAG): Delete.
3182         (TARGET_SWITCHES): Update.
3183         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3184
3185 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3186
3187         * fold-const.c (fold): Fix a few cases when the returned result
3188         is not of the same type as the input.
3189
3190 2000-03-16  Nick Clifton  <nickc@cygnus.com>
3191
3192         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3193         warning.
3194
3195 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3196
3197         * libgcc2.h: Move prototypes above macros with the same name.
3198         Wrap some function prototypes in the conditional which indicates
3199         whether they are supported, i.e. "BITS_PER_UNIT == 8".
3200
3201 2000-03-16  Richard Henderson  <rth@cygnus.com>
3202
3203         * calls.c: Revert last two changes.
3204
3205 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
3206
3207         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3208         has exponent 0 is a zero.
3209
3210         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3211         HASH may already be nonzero.  Add code/mode into hash value
3212         immediately after repeat label.
3213         (cselib_lookup): Don't leave the hash table in an inconsistent
3214         state before a hash lookup operation.
3215
3216 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
3217
3218         * i386.md (all HI and QI mode non-move patterns):  Conditionize
3219         by TARGET_[HQ]IMODE_MATH.
3220         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3221         x86_promote_qi_regs): Declare.
3222         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3223         TARGET_PROMOTE_QI_REGS): New macros.
3224         (PROMOTE_MODE): New macro.
3225         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3226         x86_promote_qi_regs): New global variables.
3227
3228 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
3229
3230         * calls.c (emit_library_call_value_1): Break out from ...; handle
3231         VOIDmode function calls too.
3232         (emit_library_call_value): ... here.
3233         (emit_library_call): Implement by calling emit_library_call_value_1.
3234
3235 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
3236
3237         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3238         Update arg_space_so_far on stack adjustments.
3239         (emit_library_call, emit_library_call_value): Likewise; take into
3240         account arg_space_so_far and pending_stack_adjust when calculcating
3241         the boundary.
3242
3243 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
3244
3245         * flow.c: Move all basic block reordering code into its own file.
3246         (create_basic_block): Externalize.
3247         * bb-reorder.c: New file. Copy all basic block reordering code from
3248         flow.c to this file.
3249         (reorder_basic_blocks): Fix fencepost error in for-loop.
3250         (reorder_basic_blocks): Remove braces from single statement for-loops.
3251         * basic-block.h: Add declaration for create_basic_block.
3252         * Makefile.in: Add rules for bb-reorder.o.
3253
3254 2000-03-16  Neil Booth  <NeilB@earthling.net>
3255
3256         * cppinit.c (handle_option):  Implement #unassert directive
3257         as -A- command line option.
3258         (print_help):  Update.
3259         * cpptexi.c:  Update.
3260
3261 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3262
3263         * md.texi (Standard Names): Document `jump'.
3264
3265 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3266
3267         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3268         gotos.
3269
3270 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3271
3272         Merge changes from newppc-branch onto trunk.
3273
3274         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3275
3276         * rs6000.c (toc_hash_table): Update for new hash table functions.
3277         (toc_hash_function): Likewise.
3278         (toc_hash_eq): Likewise.
3279         (toc_hash_mark_entry): Likewise.
3280         (toc_hash_mark_table): Likewise.
3281         (output_toc): Likewise.
3282         (rs6000_add_gc_roots): Likewise.
3283
3284         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3285
3286         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
3287         (AR_FLAGS_FOR_TARGET): here.  New macro.
3288
3289         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
3290
3291         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3292         fpmem_operand) Delete.
3293         (xer_operand) New.
3294         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3295         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3296         (rs6000_save_machine_status, rs6000_restore_machine_status, 
3297         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
3298         references to above variables.
3299         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3300         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3301         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3302         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3303         (XER_REGNO_P, XER_REGNO): New.
3304         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3305         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3306         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
3307         XER_REGNO_P.
3308         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3309         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
3310         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3311         
3312         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3313
3314         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3315         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3316         * rs6000.h: from here.
3317
3318         * rs6000-protos.h (rs6000_select_section): Provide prototype.
3319         (rs6000_select_rtx_section): Likewise.
3320         (rs6000_encode_section_info): Likewise.
3321         (sdata_section): Likewise.
3322         (sdata2_section): Likewise.
3323         (sbss_section): Likewise.
3324         * sysv4.h (rs6000_select_section): Delete prototype.
3325         (rs6000_select_rtx_section): Likewise.
3326         (rs6000_encode_section_info): Likewise.
3327         (sdata_section): Likewise.
3328         (sdata2_section): Likewise.
3329         (sbss_section): Likewise.
3330         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3331
3332         * sysv4.h: Delete various unnecessary #undef's and put a comment
3333         on the remaining ones.
3334         Change various comments according to coding standard.
3335
3336         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
3337
3338         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
3339         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3340         (CR0_REGNO_P) Remove.
3341         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
3342         setup_incoming_varargs, mtcrf_operation, print_operand, 
3343         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
3344         Use the above macros.
3345
3346         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
3347
3348         * config/rs6000/rs6000.md: Added a new alternative for each
3349         pattern that had a 'x' alternative but no 'y' alternative.
3350         Added a new split for each of the above patterns.
3351
3352         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
3353
3354         * aix41.h (ASM_CPU_SPEC): Delete.
3355         (CPP_CPU_SPEC): Delete.
3356
3357         * aix.h (RS6000_OUTPUT_BASENAME): Define.
3358         (ASM_OUTPUT_LABEL): Define.
3359         (ASM_GLOBALIZE_LABEL): Define.
3360         (STRIP_NAME_ENCODING): Define.
3361         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3362         (STRIP_NAME_ENCODING): Don't define.
3363         (ASM_OUTPUT_LABEL): Don't define.
3364         (ASM_GLOBALIZE_LABEL): Don't define.
3365         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3366         names, and ASM_OUTPUT_LABEL to output labels, rather than
3367         asm_fprintf.
3368         (ASM_OUTPUT_LABEL): Define.
3369         (ASM_OUTPUT_INT): Use assemble_name.
3370         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3371         (STRIP_NAME_ENCODING): Don't undefine first.
3372         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3373         ELF.
3374         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3375         specified with 'asm' even with -fleading-underscore.
3376         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3377         (output_epilog): Likewise.
3378         (output_toc): Likewise. 
3379         * tramp.asm: Handle -fleading-underscore correctly.
3380
3381         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3382         -mminimal-toc.
3383         (nonlocal_goto_receiver): Delete.
3384         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3385
3386         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3387         (SET_ASM_OP): Define.
3388         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3389
3390         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3391         (ASM_LONG): Define.
3392
3393         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3394         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3395
3396         * rs6000.h: Add 'u' to more constants.
3397
3398         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
3399
3400         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3401
3402         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
3403
3404         * rs6000.c (reg_or_u_cint_operand): New function.
3405         (logical_operand): Handle 64-bit hosts.
3406         (logical_u_operand): New function.
3407         (non_logical_cint_operand): Handle 64-bit hosts.
3408         (non_logical_u_cint_operand): New function.
3409         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3410         (PREDICATE_CODES): Define new functions.
3411         * rs6000-protos.h: Declare new functions.
3412         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3413         (movdi_64): Bracket code intended for 64-bit hosts.  Create
3414         CONST_DOUBLE for 32-bit values.
3415         (scc insns): Generate DImode compares.
3416         (mfcr insns): Create DImode versions.
3417         (sge matchers): New patterns.
3418         
3419         2000-02-15  Gabriel Paubert  <paubert@iram.es>
3420
3421         * rs6000.md: Correct instructions length attributes and
3422         constraints on unsigned compare instructions.
3423         (*ne0): Disable for PowerPC64.
3424
3425         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3426
3427         * rs6000.c (output_function_profiler): Use .long for a 32-bit
3428         quantity, fix profile1.C test failure under -fPIC.
3429
3430         * rs6000.c: Add 'u' to many constants to suppress warnings.
3431         (constant_pool_expr_1): Make static.
3432         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3433         * rs6000.h: Add 'u' to many constants to suppress warnings.
3434
3435         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3436         for the start of the TOC, instead of LCTOC..0.
3437         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3438         of the TOC.
3439         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3440         (load_toc_aix_di): Use LCTOC..1.
3441
3442         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3443         * rs6000.c (rs6000_legitimize_address): New function from
3444         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
3445         symbols in the constant pool that really are TOC references.
3446         (print_operand_address): For ELF, write TOC offsets under
3447         -fPIC as subtractions in the insn.
3448         (output_toc): For ELF, define symbols in TOC as normal labels,
3449         to match RTL.
3450         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3451         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3452         (create_TOC_reference): Prototype only when RTX_CODE is defined.
3453         * rs6000.md (movsi): Only use create_TOC_reference on
3454         symbols in the constant pool that really are TOC references.
3455
3456         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3457         * rs6000.c (rs6000_reorg): Delete.
3458         * rs6000-protos.h (rs6000_reorg): Delete.
3459
3460         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
3461
3462         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3463
3464         * aix.h (SETUP_FRAME_ADDRESSES): Define.
3465         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3466         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3467         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3468         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3469         rs6000_aix_emit_builtin_unwind_init.
3470         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
3471         rs6000_emit_eh_toc_restore on AIX.
3472         (return_eh_si): Use r2.
3473         (return_eh_di): Use r2.
3474
3475         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3476         since we're breaking binary compatibility anyway.
3477
3478         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3479
3480         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3481         constant_pool_expr_p): Declare them.
3482         (constant_pool_expr_p): Declare it.
3483         * config/rs6000/rs6000.c (toc_label_name): Define.
3484         (rs6000_override_options): Set toc_label_name.
3485         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3486         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3487         uses_TOC): New functions.
3488         (print_operand): Delete old '*' case.
3489         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3490         and strip off rtl for TOC before calling output_addr_const.
3491         (rs6000_emit_load_toc_table): Use toc_label_name.
3492         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3493         the default.
3494         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3495         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3496         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3497         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3498         into explicit TOC_REGISTER offsets.
3499         (TOC_REGISTER): New macro.
3500         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
3501         TARGET_TOC to reference TOC_REGISTER.
3502         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3503         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
3504         uses_TOC before emitting label references.
3505
3506         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3507
3508         * rs6000.md (stack_tie): Fix warning.
3509
3510         * eabi-ctors.c: Use 'asm' names for the start/end variables,
3511         to handle -fleading-underscore.
3512         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3513         (USER_LABEL_PREFIX): New macro.
3514         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3515         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3516         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3517         call-linux can use the same multilibs.
3518         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3519         and call-linux multilibs.  Do multilib with -fleading-underscore.
3520         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3521         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
3522         to call-aix.
3523
3524         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3525         have MASK_SOFT_FLOAT set.
3526         (CPP_FLOAT_DEFAULT_SPEC): New macro.
3527         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3528         CPP_FLOAT_DEFAULT_SPEC.
3529
3530         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3531         * rs6000.md: Whitespace change.
3532         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3533         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3534
3535         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3536
3537         * rs6000.md (eh_epilogue): New expander.
3538         (eh_reg_restore): New expand/split/insn combination.
3539         (return_eh_si): New insn.
3540         (return_eh_di): New insn.
3541
3542         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3543         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3544         * eabi-ctors.c (__do_global_ctors): Register this object's
3545         frame.  Clean up.  Call atexit() after the constructors.
3546         (__do_global_dtors): Deregister this object's frame.  Clean up.
3547         Allow for recursive calls to exit().
3548         * rs6000.c (fixuplabelno): New variable.
3549         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3550         TARGET_RELOCATABLE, it slows down exec() under linux.
3551         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3552
3553         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3554         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3555         (ASM_OUTPUT_DWARF_DELTA2): New macro.
3556         (ASM_OUTPUT_DWARF_DELTA4): New macro.
3557         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3558         (ASM_OUTPUT_DWARF_ADDR): New macro.
3559         (ASM_OUTPUT_DWARF_DATA4): New macro.
3560         (ASM_OUTPUT_DWARF_DATA2): New macro.
3561         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3562         (ASM_OUTPUT_DWARF_OFFSET): New macro.
3563         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3564
3565         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3566
3567         * rs6000.c (rs6000_sr_alias_set): New variable.
3568         (rs6000_override_options): Initialise rs6000_sr_alias_set.
3569         (rs6000_emit_stack_tie): New function.
3570         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3571         in a way that dwarf2out can understand.
3572         (rs6000_frame_related): New function.
3573         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
3574         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3575         Use rs6000_emit_stack_tie when needed.
3576         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
3577         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
3578         * rs6000.md (stack_tie): New insn.
3579         (return_internal_si): Allow return value to be in the count
3580         register.
3581         (return_internal_di): Likewise.
3582
3583         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3584
3585         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3586
3587         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3588
3589         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
3590
3591         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3592
3593         * rs6000.md (stmw): Use the right POWER opcode.
3594         (lmw): Likewise.
3595
3596         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3597
3598         * rs6000-protos.h: New file.
3599
3600         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
3601         
3602         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
3603         warnings.
3604         
3605         * sysv4.h: Likewise.
3606
3607         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
3608
3609         * ../../configure.in: Delete powerpcle-*-winnt*
3610         and powerpcle-*-pe|powerpcle-*-cygwin*.
3611         * ../../configure: Regenerated.
3612         * cygwin.h: Delete.
3613         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3614         (TARGET_WINDOWS_NT): Delete.
3615         (ABI_NT): Delete.
3616         (CALL_NT_DLLIMPORT): Delete.
3617         Delete NT-specific code.
3618         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3619         * win-nt.h: Delete.
3620         * t-winnt: Delete.
3621         * nt-ci.asm: Delete.
3622         * nt-cn.asm: Delete.
3623         * ntstack.asm: Delete.
3624
3625         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3626
3627         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3628         (ASM_FILE_START): Likewise.
3629         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3630         (ASM_OUTPUT_LABELREF): Likewise.
3631         (ASM_OUTPUT_SKIP): Likewise.
3632         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3633         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3634         (ASM_OUTPUT_CASE_LABEL): Likewise.
3635         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3636         (ASM_OUTPUT_ASCII): Likewise.
3637
3638         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
3639
3640         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3641         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
3642         increment rs6000_pic_labelno here.
3643         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3644         and increment rs6000_pic_labelno here.
3645
3646         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
3647
3648         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3649         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3650         allocation knows (reg) is dead before the insn.
3651
3652         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
3653
3654         * rs6000.md (movsi_to_cr): Correct typo in output template.
3655
3656         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3657
3658         * rs6000.c (rs6000_pic_labelno): Always define.
3659         (rs6000_pic_func_labelno): Delete.
3660         (lmw_operation): Check for a zero base register,
3661         which doesn't mean what we want.
3662         (stmw_operation): New function.
3663         (print_operand): Define new 'l' modifier.
3664         (rs6000_stack_info): We must save all 64 bits of the registers
3665         if TARGET_POWERPC64.
3666         (rs6000_output_load_toc_table): Delete.
3667         (rs6000_emit_load_toc_table): New function.
3668         (rs6000_allocate_stack_space): Delete.
3669         (rs6000_emit_allocate_stack): New function.
3670         (rs6000_emit_prologue): New function.
3671         (output_prolog): Use rs6000_emit_prologue.
3672         (rs6000_emit_epilogue): Change a few variable names to be
3673         more accurate.  Restore all 64 bits of the registers if
3674         TARGET_POWERPC64.  Only restore the FP registers which were used
3675         if they are being saved/restored one-at-a-time.
3676         (output_mi_thunk): Delete inefficient code generation.
3677         (output_function_profiler): Don't use rs6000_output_load_toc_table.
3678         * rs6000.h: Declare rs6000_emit_load_toc_table,
3679         rs6000_allocate_stack_space, stmw_operation.  Don't declare
3680         rs6000_output_load_toc_table.
3681         * rs6000.md (elf_high): Allow register 0, but discourage it
3682         heavily.
3683         (elf_low): Support loading into register 0.
3684         (load_toc_aix_si): New pattern.
3685         (load_toc_aix_di): New pattern.
3686         (load_toc_v4_pic_si): New pattern.
3687         (load_toc_v4_pic_di): New pattern.
3688         (load_toc_v4_PIC_1): New pattern.
3689         (load_toc_v4_PIC_1b): New pattern.
3690         (load_toc_v4_PIC_2): New pattern.
3691         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3692         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3693         (prologue): New expander.
3694         (movesi_from_cr): New pattern.
3695         (stmw): New pattern.
3696         (save_fpregs_si): New pattern.
3697         (save_fpregs_di): New pattern.
3698
3699         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3700
3701         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3702         (movdi): Likewise.
3703         (movhi): Likewise.
3704         (movqi): Likewise.
3705
3706         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3707
3708         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3709         at present.
3710         (movsi_got_internal): Likewise.
3711         (movsi_got_internal+1): Likewise.
3712         (set_sp): 'unspec 7' does a SImode clobber.
3713
3714         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3715
3716         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3717         allocate a stack temporary.
3718         (floatsidf2_internal): Likewise.
3719         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
3720         with unspec.
3721         (floatunssidf2): Don't use the fpmem "register", just
3722         allocate a stack temporary.
3723         (floatunssidf2_internal): Likewise.
3724         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
3725         with unspec.
3726         (floatsidf2_loadaddr): Delete.
3727         (floatsidf2_store1): Delete.
3728         (floatsidf2_store2): Delete.
3729         (floatsidf2_load): Delete.
3730         (fix_truncdfsi2): Don't use the fpmem "register", just
3731         allocate a stack temporary.
3732         (fix_truncdfsi2_internal_si): Delete.
3733         (fix_truncdfsi2_internal_di): Delete.
3734         (fix_truncdfsi2_internal): New insn.
3735         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3736         (fix_truncdfsi2_store): Delete.
3737         (fix_truncdfsi2_load): Delete.
3738         (fctiwz): Produce gen_fctiwz.
3739
3740         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3741
3742         * eabi.h (INVOKE__main): Define.
3743         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3744         specially.
3745         (rs6000_emit_prologue): Likewise.
3746         * rs6000.h (struct rs6000_stack): Don't keep track of whether
3747         this is the main program.
3748
3749         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3750
3751         * rs6000.c (rs6000_va_arg): Delete some unused variables.
3752
3753         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3754
3755         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3756         goes after the argument.
3757
3758         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3759
3760         * rs6000.md: Document 'unspec' values used.
3761         (epilogue): New expander.
3762         (movesi_to_cr_one): New expander.
3763         (movesi_to_cr and following): New pattern.
3764         (lmw): New pattern.
3765         (return_internal_si): New pattern.
3766         (return_internal_di): New pattern.
3767         (return_and_restore_fpregs_si): New pattern.
3768         (return_and_restore_fpregs_di): New pattern.
3769         * rs6000.h: Declare new functions.
3770         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3771         rather than rs6000_calls_p.
3772         (rs6000_makes_calls): Delete.
3773         (lmw_operation): New function.
3774         (mtcrf_operation): New function.
3775         (rs6000_emit_epilogue): New function.
3776         (output_epilog): Call rs6000_emit_epilogue and final if
3777         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3778
3779         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3780
3781         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3782         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3783         * aix.h (SUBTARGET_SWITCHES): Document switches.
3784         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
3785         sched-prolog and sched-epilog the same.  Document all the
3786         switches.
3787         (TARGET_OPTIONS): No longer allow -mdebug-.
3788
3789         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3790
3791         * rs6000.h (ASM_FILE_END): Move to aix.h.
3792         (EXTRA_SECTIONS): Move to aix.h.
3793         (READONLY_DATA_SECTION): Move to aix.h.
3794         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3795         (SELECT_SECTION): Move to aix.h.
3796         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3797         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3798         (LINK_REGISTER_REGNUM): New definition.
3799         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3800         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3801         AIX and SVR4.
3802         * sysv4.h: Delete the code between the inclusion of rs6000.h
3803         and svr4.h.
3804         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3805         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3806         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3807         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3808         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3809         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3810         (fix_truncdfsi2_internal_di): New pattern.
3811         (fix_truncdfsi2_store): The second arg here is Pmode too.
3812         (fix_truncdfsi2_load): The second arg here is Pmode too.
3813         (tablejumpdi): Now that switch tables hold only SImode values,
3814         gcc needs to know how to add them to the pc which is DImode.
3815         * rs6000.c (rs6000_stack_info): Use symbolic name for 
3816         LINK_REGISTER_REGNUM.
3817         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3818         (output_toc): Delete unused variables s1 and s2.
3819         (output_ascii): Use fputs not fprintf on a variable string.
3820
3821         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
3822
3823         * rs6000.c (processor_target_table): Add power3 as alias for 630.
3824         * aix43.h: Revert Aug 2 change.
3825         (HAS_INIT_SECTION): Define, not visible yet.
3826         (LD_INIT_SWITCH): Define, not visible yet.
3827         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3828
3829         2000-01-04  Joel Sherrill (joel@OARcorp.com>
3830
3831         * config/rs6000/rtems.h: Include config/rtems.h.
3832
3833         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3834
3835         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3836         (SLOW_UNALIGNED_ACCESS): Define.
3837         (CASE_VECTOR_MODE): Always use 32-bit offsets.
3838         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3839         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3840         (toc_section): Likewise and .toc pseudo-op.
3841         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
3842         64-bit mode.
3843         (TEXT_SECTION_ASM_OP): Likewise.
3844         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3845         32-bit offsets.
3846
3847         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
3848
3849         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3850         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3851         compiling libgcc2.
3852         
3853         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3854
3855         * rs6000.h: Move more stuff from here...
3856         * aix.h: to here.
3857         * sysv4.h: Cleanup accordingly.
3858         * netware.h: Likewise
3859
3860         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3861
3862         * rs6000.h: Continue cleanup.
3863         * aix.h: Likewise.
3864         * lynx.h: Likewise.
3865         * netware.h: Likewise.
3866         * sol2.h: Likewise.
3867         * sysv4.h: Likewise.
3868         * win-nt.h: Likewise.
3869
3870         * rs6000.h (TARGET_SWITCHES): Add descriptions.
3871         (TARGET_OPTIONS): Likewise.
3872
3873         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3874         (SUBTARGET_OPTIONS): Likewise.
3875
3876         * rs6000.md: Fix compile time warnings.
3877
3878         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3879
3880         vxworks patches from the Cygnus tree originally by
3881         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3882         <vmakarov@cygnus.com>.
3883         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3884         (ENDFILE_SPEC): Likewise.
3885         (LIB_VXWORKS_SPEC): New macro.
3886         (STARTFILE_VXWORKS_SPEC): New macro.
3887         (ENDFILE_VXWORKS_SPEC): New macro.
3888         (LINK_START_VXWORKS_SPEC): New macro.
3889         (LINK_OS_VXWORKS_SPEC): New macro.
3890         (CPP_OS_VXWORKS_SPEC): New macro.
3891         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3892         * vxppc.h: Rewrite to use proper configuration method.
3893         * vxppcle.h: New file.
3894         * ../../configure.in: Add powerpcle-wrs-vxworks*.
3895         * ../../configure: Rebuilt.
3896
3897         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3898
3899         Lots of changes to rs6000.h, sysv4.h, aix.h,
3900         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3901         with the aim that rs6000.h is the first header
3902         included and the others override it.
3903         * aix.h: New file.
3904
3905         * x-aix41-gld: Remove.  
3906         * x-aix43: Remove.
3907         * x-aix41: Remove target-specific switches, and don't specify
3908         -Wl,-bbigtoc as we don't need it any more.
3909         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3910         Use t-aix43 for AIX 4.3 and above.
3911         * ../../configure: Regenerated.
3912
3913         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3914         options, that don't do anything yet.
3915         (MASK_SCHED_PROLOG): New macro.
3916         (MASK_SCHED_EPILOG): New macro.
3917         (TARGET_SCHED_PROLOG): New macro.
3918         (TARGET_SCHED_EPILOG): New macro.
3919
3920         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3921
3922         * rs6000.c: Correct comment, the `minimal' TOCs are actually
3923         one per translation unit, not one per function.
3924         (output_toc): Also do duplicate constant elimination
3925         for per-translation-unit TOCs.
3926
3927         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
3928         a comment explaining _exactly_ when this pattern gets used.
3929         (builtin_setjmp_receiver): New pattern for better clarity.
3930         (init_v4_pic): Move it into a section dealing with TOC registers.
3931
3932         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
3933
3934         * rs6000.c (toc_hash_table): New variable.
3935         (rs6000_hash_constant): New function.
3936         (toc_hash_function): New function.
3937         (toc_hash_eq): New function.
3938         (toc_hash_mark_entry): New function.
3939         (toc_hash_mark_table): New function.
3940         (output_toc): Don't output duplicate TOC entries in
3941         a single file.
3942         (rs6000_add_gc_roots): Add the hash table as a GC root.
3943         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3944         where they clearly shouldn't be.  This may need to be fixed
3945         later when there is a GNU ar for AIX.
3946         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3947         Don't define BOOT_LDFLAGS as it is now not necessary.
3948
3949         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
3950
3951         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
3952         for va_list on AIX.  Use unsigned_char_type_node rather than
3953         constructing our own version on svr4.
3954
3955         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
3956
3957         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
3958         since patently it's not.
3959
3960         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
3961
3962         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
3963         define_expand/define_insn pair, and handle restore of the
3964         SVR4 -fpic register.
3965
3966 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
3967
3968         * acconfig.h (HAVE_GAS_WEAK): New define.
3969         * configure.in (assembler weak support): Check for .weak support.
3970         * config.in, configure: Rebuilt.
3971         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
3972         HAVE_GAS_WEAK is defined.
3973
3974 2000-03-15  Nick Clifton  <nickc@cygnus.com>
3975
3976         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
3977         asm_fprintf().
3978
3979 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
3980
3981         * cppfiles.c (open_include_file): New function.
3982         (find_include_file, cpp_read_file): Use it.
3983
3984 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3985
3986         * cpphash.c (dump_hash_helper): Take the slot, not the element.
3987
3988 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
3989
3990         * flow.c (verify_flow_info): Check for unconditional return.
3991
3992 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
3993
3994         * config/ia64/ia64.md (restore_stack_nonlocal): New.
3995         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
3996         (__ia64_restore_stack_nonlocal): New.
3997         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
3998
3999 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4000
4001         * cpphash.c (collect_formal_parameters): Do not complain about
4002         parameter names that just start with `__VA_ARGS__'.
4003
4004 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
4005
4006         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4007         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4008         * i386.c (pentiumpro_cost): Set mul cost to 4.
4009         (x86_use_movx): Set for PPro.
4010
4011 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
4012
4013         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4014         STACK_BOUNDARY for empty frames now.
4015
4016 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
4017
4018         * stor-layout.c (layout_union): Remove.
4019         (layout_union_field): New function, split out from layout_union.
4020         (finish_union_layout): Likewise.
4021         (layout_field): Handle unions by calling layout_union_field.
4022         (finish_record_layout): Handle unions.
4023         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4024         QUAL_UNION_TYPE handling.
4025
4026 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
4027
4028         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4029         end of basic block is jump_insn, not barrier; use create_basic_block
4030         instead of creating basic block by hand.
4031
4032 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
4033
4034         * flow.c (reorder_basic_blocks): Account for barriers when writing
4035         over NEXT_INSN (last_bb->end).
4036         (verify_flow_info): Add check for missing barriers.
4037
4038 2000-03-14  Greg McGary  <gkm@gnu.org>
4039
4040         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4041         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4042         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4043         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4044         __unbounded, __unbounded__): New keywords.
4045         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4046         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4047         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4048
4049 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4050
4051         * cselib.h: New file.
4052         * alias.c: Include "cselib.h".
4053         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4054         MEMs as two new arguments.
4055         (get_addr): New static function.
4056         (find_base_term): Handle VALUEs.
4057         (memrefs_conflict_p): Likewise.
4058         (true_dependence): Call get_addr on the addresses.
4059         Call fixed_scalar_and_varying_struct_p with addresses that have been
4060         passed through get_addr and canon_rtx.
4061         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4062         with true_dependence.
4063         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4064         * loop.c: Include "cselib.h".
4065         (load_mems): Process extended basic block that enters the loop with
4066         cselib.  Use that information to change initialization of the shadow
4067         register so that a constant equivalence is seen by later passes.
4068         * reload1.c: Include "cselib.h".
4069         (reload_cse_invalidate_regno): Delete function.
4070         (reload_cse_mem_conflict_p): Likewise.
4071         (reload_cse_invalidate_mem): Likewise.
4072         (reload_cse_invalidate_rtx): Likewise.
4073         (reload_cse_regno_equal_p): Likewise.
4074         (reload_cse_check_clobber): Likewise.
4075         (reload_cse_record_set): Likewise.
4076         (reg_values): Delete static variable.
4077         (invalidate_regno_rtx): Likewise.
4078         (reload_cse_delete_noop_set): New static function.
4079         (reload_cse_simplify): New static function, broken out of
4080         reload_cse_regs_1.
4081         (reload_cse_noop_set_p): Delete unused argument INSN.
4082         Just call rtx_equal_for_cselib_p on set source and destination.
4083         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4084         reload_cse_delete_noop_set.  Delete code to keep track of values; use
4085         cselib functions instead.  Delete code to push/pop obstacks.
4086         (reload_cse_simplify_set): Use cselib to find equivalent values.
4087         Delete code to push/pop obstacks.
4088         (reload_cse_simplify_operands): Likewise.
4089         * rtl.def (VALUE): New rtx code.
4090         * rtl.h (union rtunion_def): New elt rt_cselib.
4091         (X0CSELIB, CSELIB_VAL_PTR): New macros.
4092         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4093         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4094         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4095         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4096         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4097         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4098         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4099         cselib_record_set, cselib_record_sets): New static functions.
4100         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4101         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4102         references_value_p): New functions.
4103         (MAX_USELESS_VALUES, REG_VALUES): New macros.
4104         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4105         n_useless_values, reg_values, callmem, cselib_obstack,
4106         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4107         New static variables.
4108         * varray.h (union varray_data_tag): New elt te.
4109         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4110         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4111         dependencies.
4112
4113 2000-03-14  Nick Clifton  <nickc@cygnus.com>
4114
4115         * gcc.c (do_spec_1): Catch the case where %* is used in a
4116         substitution pattern, but it has not been initialised.
4117         Issue a meaningful error message if an unrecognised operator
4118         is encountered in a spec string.
4119
4120 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
4121
4122         * function.c (prepare_function_start): Correctly initialize
4123         cfun->stack_alignment_needed.
4124
4125 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
4126
4127         * cppfiles.c (find_include_file): Don't assume nshort is a
4128         substring of name.
4129
4130 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
4131
4132         * configure.in (hppa configurations): Add pa32-regs.h to the
4133         list of tm files as appropriate.
4134         * configure: Rebuilt.
4135         * pa.c (compute_frame_size): Remove explicit knowledge about FP
4136         register numbering.
4137         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4138         (fmpyaddoperands, fmpysuboperands): Likewise.
4139         * pa.h: Remove various definitions which depend on knowing
4140         how registers are numbered.
4141         * pa32-regs.h: New file with PA32 register numbering specific
4142         definitions.
4143
4144 2000-03-14  Richard Henderson  <rth@cygnus.com>
4145
4146         * regmove.c (combine_stack_adjustments): New.
4147         (stack_memref_p, single_set_for_csa): New.
4148         (free_csa_memlist, record_one_stack_memref): New.
4149         (try_apply_stack_adjustment): New.
4150         (combine_stack_adjustments_for_block): New.
4151         * rtl.h (combine_stack_adjustments): Declare.
4152         * toplev.c (rest_of_compilation): Call it.
4153
4154         * i386.md: Revert 2000-01-16 change.
4155
4156 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4157
4158         * gccbug.in: Add web category, gcc specific classes.
4159
4160 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
4161
4162         * stor-layout.c (finalize_record_size): Fix typo.
4163
4164 2000-03-14  Stan Shebs  <shebs@apple.com>
4165
4166         * c-typeck.c (c_alignof): Error on incomplete types.
4167         * extend.texi (Alignment): Document this.
4168
4169 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4170
4171         * cppfiles.c: Include mkdeps.h.
4172         (find_include_file, read_include_file): Remove _cpp_ prefix
4173         from name, make static.
4174         (_cpp_execute_include): New function, broken out of
4175         do_include.
4176
4177         * cpplib.c: Don't include mkdeps.h.
4178         (struct directive): Remove type field. Reorder entries.  The
4179         function takes only one argument.
4180         (struct if_stack): Make type field an int.
4181         (directive_table): Rename to dtable.  Generate it, the
4182         prototypes of the directive handlers, and the enum for the
4183         directive numbers, from a template macro.
4184         (do_ifndef, do_include_next, do_import): New functions.
4185         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4186         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4187         do_ident, do_assert, do_unassert, do_sccs): Take only one
4188         argument.
4189         (do_sccs): Define always, but alter behavior based on
4190         SCCS_DIRECTIVE.
4191         (_cpp_handle_directive, consider_directive_while_skipping):
4192         Restructure for new directive table layout.
4193
4194         (pass_thru_directive): Take a directive number, not a pointer
4195         to a struct directive.
4196         (parse_include): New function, broken out of do_include.
4197         (do_include, do_import, do_include_next): Use parse_include
4198         and _cpp_execute_include.
4199         (do_elif, do_else): Test for T_ELSE specifically when checking
4200         for #elif/#else after #else.
4201         (parse_ifdef): New function, broken out of do_ifdef.
4202         (validate_else): Expect a name arg without a leading #.
4203         (if_directive_name): Delete.
4204         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4205         directive handlers with only one argument.
4206
4207         * cpphash.h: Update prototypes.
4208         (enum node_type): Remove entries for directives.
4209         * Makefile.in: Update dependencies.
4210
4211         * cpphash.c (dump_hash_helper): Only dump nodes of type
4212         T_MACRO.  Emit a newline after each definition.
4213
4214 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4215
4216         * gccbug.in: New file.
4217         * configure.in (all_outputs): Add gccbug.
4218         * Makefile.in (install-common): Install gccbug.
4219         (GCCBUG_INSTALL_NAME): New variable.
4220         * configure: Rebuilt.
4221         
4222 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4223
4224         * function.c (put_var_into_stack): Use type_for_mode to calculate
4225         part_type.  Use MEM_SET_IN_STRUCT_P.
4226         * expr.c (store_field): Handle CONCAT.
4227         (store_constructor): Use fields_length.
4228         * tree.c (fields_length): New fn.
4229         * tree.h: Declare it.
4230
4231 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4232
4233         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4234         (cpplex.o): New target.
4235         * po/POTFILES.in: Add cpplex.c.
4236
4237         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4238         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4239         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4240         skip_block_comment, skip_line_comment, skip_comment,
4241         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4242         _cpp_parse_name, skip_string, parse_string,
4243         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4244         _cpp_get_directive_token, find_position,
4245         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4246         (maybe_macroexpand, _cpp_lex_token): New functions.
4247
4248         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4249         parse_goto_mark): Delete.
4250         (_cpp_handle_eof): New function.
4251         (_cpp_handle_directive): Rename from handle_directive.
4252         (_cpp_output_line_command): Rename from output_line_command.
4253         (do_if, do_elif): Call _cpp_parse_expr directly.
4254         * cppfiles.c (_cpp_read_include_file): Don't call
4255         init_input_buffer here.
4256         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4257         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4258         here; pop the token_buffer and skip the rest of the line here.
4259         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4260         here.
4261
4262         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4263         Define here.
4264         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4265         CPP_GOTO_MARK): New macros.
4266         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4267         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4268         _cpp_read_and_prescan, _cpp_init_input_buffer,
4269         _cpp_grow_token_buffer, _cpp_get_directive_token,
4270         _cpp_handle_directive, _cpp_handle_eof,
4271         _cpp_output_line_command): Prototype them here.
4272         * cpplib.h (enum cpp_token): Add CPP_MACRO.
4273         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4274         quote_string, output_line_command): Remove.
4275
4276 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
4277
4278         * stmt.c (expand_end_case): RANGE may be signed, and when checking
4279         whether it is too large we must also verify that it isn't negative.
4280
4281 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
4282
4283         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4284         (movsi_zero_liveg0): Remove.
4285         (movsf_insn_novis_liveg0): Remove.
4286         (negsi2): Remove.
4287         (negsi2_not_liveg0): Rename to negsi2.
4288         (one_cmplsi2): Remove.
4289         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4290         (one_cmplsi2_liveg0): Remove.
4291         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4292         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4293         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4294         (PREDICATE_CODES): Remove zero_operand.
4295         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4296         TARGET_BROKEN_SAVERESTORE.
4297         (zero_operand): Remove.
4298         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4299         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4300         options.
4301         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4302         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4303         TARGET_BROKEN_SAVERESTORE): Remove.
4304         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4305         Remove.
4306         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4307         Remove.
4308         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4309         Remove.
4310
4311         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4312
4313 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4314
4315         * cpplib.c (do_pragma_implementation): Fix off-by-one error
4316         truncating a string.  Don't assume tokens are nul terminated.
4317         Problem noted by Andreas Jaeger <aj@suse.de>
4318
4319 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4320
4321         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4322         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4323         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4324
4325 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
4326
4327         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4328         STRUCTURE_SIZE_BOUNDARY.
4329
4330 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
4331
4332         * tree.h (record_layout_info_s): New structure.
4333         (record_layout_info): New type.
4334         (new_record_layout_info): New function.
4335         (layout_field): Likewise.
4336         (finish_record_layout): Likewise.
4337         * stor-layout.c (layout_record): Remove.
4338         (new_record_layout_info): New function.
4339         (layout_field): New function, broken out from layout_record.
4340         (finalize_record_size): Likewise.
4341         (compute_record_mode): Likewise.
4342         (finalize_type_size): New function, broken out from layout_type.
4343         (finish_record_layout): Likewise.
4344         (layout_type): Use them.
4345         
4346 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4347
4348         * cpphash.c: Don't include version.h.
4349         (special_symbol) [case T_VERSION]: Look for the string in
4350         hp->value.cpval; don't use version_string.
4351         * cppinit.c (initialize_builtins): Set hp->value.cpval for
4352         __VERSION__ to version_string.
4353         * Makefile.in (cpphash.o): Update deps.
4354
4355 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4356
4357         Convert cpplib to use libiberty/hashtab.c.
4358
4359         * cpplib.h (struct cpp_reader): Make hashtab and
4360         all_include_files of type 'struct htab *'.  Delete HASHSIZE
4361         and ALL_INCLUDE_HASHSIZE macros.
4362
4363         * cpphash.h: Update prototypes.
4364         (struct hashnode): Remove next, prev, and bucket_hdr members.
4365         Make length a size_t.  Add hash member.
4366         (struct ihash): Remove next member.  Add hash member.  Make
4367         name a flexible array member.
4368
4369         * cppfiles.c: Include hashtab.h.
4370         (include_hash): Delete.
4371         (IHASHSIZE): New macro.
4372         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4373         (cpp_included): Do the hash lookup here.
4374         (_cpp_find_include_file): Rewrite.
4375         (cpp_read_file): Put the "fake" hash entry into the hash
4376         table.  Honor the control_macro, if it turns out we've seen
4377         the file before.  Don't push the buffer here.
4378         (_cpp_read_include_file): Push the buffer here.
4379         (OMODES): New macro.  Use it whenever we call open(2).
4380
4381         * cpphash.c: Include hashtab.h.
4382         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4383         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4384         _cpp_lookup_slot): New functions.
4385         (HASHSIZE): new macro.
4386         (hashf, _cpp_install, _cpp_delete_macro): Delete.
4387         (_cpp_lookup): Use hashtab.h routines.
4388
4389         * cppinit.c: Include hashtab.h.
4390         (cpp_reader_init): Call _cpp_init_macro_hash and
4391         _cpp_init_include_hash.  Don't allocate hashtab directly.
4392         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4393         pfile->all_include_files.
4394         (initialize_builtins): Use _cpp_make_hashnode and
4395         htab_find_slot to add hash entries.
4396         (cpp_finish): Just call _cpp_dump_macro_hash.
4397         * cpplib.c: Include hashtab.h.
4398         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4399         create hash entries.
4400         (do_pragma_poison, do_assert): Likewise.
4401         (do_include): Don't push the buffer here.  Don't increment
4402         system_include_depth unless _cpp_read_include_file succeeds.
4403         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4404         or htab_remove_elt.
4405         (do_pragma_implementation): Use alloca to create copy.
4406
4407         * Makefile.in: Update dependencies.
4408
4409 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4410
4411         * cppinit.c (cl_directive_handler): More K&R fixing.
4412
4413 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
4414
4415         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4416         STACK_BOUNDARY.
4417         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4418
4419 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4420
4421         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4422         Change from char[] to macros.
4423
4424 2000-03-12  Neil Booth  <NeilB@earthling.net>
4425
4426         * cppinit.c (cpp_start_read): Update indirect function
4427         call to K&R C.
4428
4429 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
4430
4431         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4432         entry.
4433
4434         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4435         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4436
4437 2000-03-11  Neil Booth  <NeilB@earthling.net>
4438
4439         * cppinit.c (struct pending option): Replace undef with a 
4440         pointer to a directive handling routine.
4441         (struct cpp_pending): Replace separate assert_ and define_ 
4442         lists with one directive_ list.
4443         (new_pending_define): Rename new_pending_directive. Extra
4444         argument is the directive's handling routine.
4445         (handle_option): Update to use new_pending_directive.
4446
4447 2000-03-11  Neil Booth  <NeilB@earthling.net>
4448
4449         * cppfiles.c (file_cleanup, _cpp_find_include_file,
4450         remap_filename, _cpp_read_include_file, actual_directory,
4451         hack_vms_include_specification): Replace bcopy(), index() etc
4452         calls.  Add casts to some allocations.  Make some variables
4453         pointers to const [unsigned] char.
4454         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4455         collect_formal_parameters): Similarly.
4456         * cppinit.c (struct pending_option, append_include_chain,
4457         cpp_options_init, cpp_reader_init, initialize_standard_includes,
4458         cpp_start_read, new_pending_define, handle_option): Similarly.
4459         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4460         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4461         do_pragma_implementation, detect_if_not_defined,
4462         do_ifdef, skip_if_group, cpp_get_token, parse_string,
4463         do_assert, do_unassert): Similarly.
4464         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
4465         function prototypes.
4466         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
4467
4468 2000-03-10  Richard Henderson  <rth@cygnus.com>
4469
4470         * builtins.c (expand_builtin_strlen): Revert last change.
4471         Use emit_insn_before if we're at the beginning of a sequence.
4472
4473 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
4474
4475         * builtins.c (expand_builtin_strlen): Make sure that we have something
4476         at the beginning of the sequence.
4477
4478         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4479         deferred inlines.
4480
4481         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4482
4483 2000-03-10  Richard Henderson  <rth@cygnus.com>
4484
4485         * except.c (can_throw): Use INTVAL on a CONST_INT.
4486         (reachable_handlers): Likewise.
4487         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4488
4489 2000-03-10  Andreas Jaeger  <aj@suse.de>
4490
4491         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4492         MD_STARTFILE_PREFIX since those are not needed on linux.
4493         (ASM_FILE_START): New, from mips/gnu.h.
4494
4495 2000-03-09  Richard Henderson  <rth@cygnus.com>
4496             Alex Samuel  <samuel@codesourcery.com> and others
4497         
4498         * Makefile.in (ssa.o): New rule.
4499         (OBJS): Add ssa.o.
4500         (STAGESTUFF): Add *.ssa and *.ussa.
4501         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4502         * rtl.def (PHI): New RTL expression.
4503         * rtl.h (clear_log_links): New declaration.
4504         (convert_to_ssa): Likewise.
4505         (convert_from_ssa): Likewise.
4506         * flow.c (split_edge): If the entry node falls through to the
4507         split edge's source block, split the entry edge.
4508         (clear_log_links): New function.
4509         * toplev.c (ssa_dump): New variable.
4510         (flag_ssa): Likewise.
4511         (f_options): Add "ssa".
4512         (compile_file): Create SSA dump files.
4513         (rest_of_compilation): Go to and from SSA if enabled.
4514         (decide_d_option): Handle -de for SSA dump files.
4515         * ssa.c: New file.
4516         
4517 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
4518
4519         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4520         same as VAR_DECL.
4521
4522 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
4523
4524         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4525
4526 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
4527
4528         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4529         (MD_STARTFILE_PREFIX_1): New macro.
4530
4531 2000-03-09  Robert Lipe  <robertl@sco.com>
4532
4533         * config/ia64/ia64.c: Include system.h.
4534
4535 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4536
4537         * except.c (nothrow_function_p): If -fno-exceptions, just return.
4538         (init_eh_nesting_info): Likewise.
4539
4540         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4541         (TREE_NOTHROW): Rename from TREE_RAISES.
4542         * toplev.c (rest_of_compilation): Set it.
4543         * print-tree.c (print_node): Adjust.
4544         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4545         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4546         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
4547         REG_EH_REGION note as appropriate.
4548         (libfunc_nothrow): New fn.
4549         (emit_library_call, emit_library_call_value): Use it.
4550         (expand_call): Check TREE_NOTHROW.
4551
4552         * varasm.c (make_decl_rtl): Skip initial '*' when setting
4553         DECL_ASSEMBLER_NAME.
4554
4555 2000-03-09  Andreas Jaeger  <aj@suse.de>
4556
4557         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4558         (TARGET_MEM_FUNCTIONS): Define.
4559
4560 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4561
4562         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4563
4564         * except.c (can_throw): See through a SEQUENCE.
4565         (nothrow_function_p): New fn.
4566         * except.h: Declare it.
4567         * function.c (current_function_nothrow): New var.
4568         (prepare_function_start): Initialize it.
4569         * output.h: Declare it.
4570         * toplev.c (rest_of_compilation): Set it.
4571         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4572
4573 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
4574
4575         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4576         match.  (cpp_compare_defs): Count the nul separator when
4577         advancing over argument names.
4578
4579 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
4580
4581         * recog.c (preprocess_constraints): Matching constraints affect
4582         same alternative/different operand, not same operand/different
4583         alternative.
4584         
4585         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4586         register and a constant specially.
4587
4588 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4589
4590         * libgcc2.h: New file.
4591         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4592
4593 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
4594
4595         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4596         * configure: Regenerate.
4597         * config/ia64: New.
4598
4599 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4600
4601         * Makefile.in (LIBCPP_DEPS): New macro.
4602         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4603         it to declare deps.
4604         * cpperror.c: Include cpphash.h.
4605         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
4606         dingleberry.
4607         (lex): Don't use CPP_WARN_UNDEF.
4608         (_cpp_parse_expr): Return an int, the truth value.
4609         * cppfiles.c: Include cpphash.h.
4610         (_cpp_merge_include_chains): Move to cppinit.c and make static.
4611         * cppinit.c (include_defaults_array): Disentangle.
4612         (cpp_cleanup): Don't free the if stack here.
4613         (cpp_finish): Pop off all buffers, not just one.
4614         * cpplib.c (eval_if_expr): Return int.
4615         (do_xifdef): Rename do_ifdef.
4616         (handle_directive): Don't use CPP_PREPROCESSED. 
4617         (cpp_get_token): Don't use CPP_C89.
4618         * fix-header.c: Don't use CPP_OPTIONS.
4619
4620         * cpplib.h: Move U_CHAR, enum node_type, struct
4621         file_name_list, struct ihash, is_idchar, is_idstart,
4622         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4623         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4624         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4625         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4626         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4627         of _cpp_simplify_pathname, _cpp_find_include_file,
4628         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4629         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
4630         cppinit.c.
4631         Change all uses of U_CHAR to be unsigned char instead.
4632         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4633
4634 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4635
4636         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4637         (dwarf2out_begin_prologue): Set it.
4638         (output_call_frame_info): Don't emit EH unwind info for leaves.
4639
4640         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4641         can occur outside of an EH region.
4642         * except.c: Correct comments about rethrow behavior.
4643         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4644
4645 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
4646
4647         * flow.c (make_edges): Always call make_eh_edge for calls.
4648
4649 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4650
4651         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4652         (struct cpp_buffer): Remove fname and underflow fields.
4653         (struct cpp_reader): Remove get_token field.
4654         (struct include_hash): Rename to struct ihash.  Add typedef to
4655         IHASH.
4656         (struct if_stack): Remove fname field.
4657         (IF_STACK_FRAME): Rename to IF_STACK.
4658
4659         * cpperror.c (print_containing_files): Trust that there are no
4660         macro buffers below the top file buffer.
4661         * cppfiles.c: Replace all references to 'struct include_hash'
4662         with 'IHASH'.  Rename initialize_input_buffer to
4663         init_input_buffer.  Don't set or reference cpp_buffer->fname,
4664         use buffer->ihash->name instead.
4665         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
4666         not CPP_NULL_BUFFER.
4667         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4668         IF_STACK_FRAME, IHASH not struct include_hash.
4669         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
4670         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
4671         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
4672         references to cpp_buffer->fname (delete entirely, or use
4673         ->ihash->name instead) and IF_STACK->fname.
4674         (cpp_push_buffer): Don't set new->underflow.
4675         (do_include): Use cpp_file_buffer.
4676
4677         * cpphash.c (collect_formal_parameters): Remove duplicate
4678         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
4679         used as a macro argument name.  Don't append "..." to namebuf
4680         for varargs macros.  After we're done scanning, go through
4681         namebuf and make it NUL separated, not comma separated.
4682         (_cpp_compare_defs): Remove register tag from variables.
4683         Expect defn->argnames to be NUL separated.
4684         (_cpp_dump_definition): Expect defn->argnames to be NUL
4685         separated and in forward order.
4686         * cpphash.h: Update documentation of argnames field.
4687
4688 2000-03-08  Richard Henderson  <rth@cygnus.com>
4689
4690         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4691         to fail.  Don't pre-expand the source operand.
4692
4693         * i386.md (strlensi): Initialize eoschar and align before use.
4694
4695 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4696
4697         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4698         CONSTRUCTOR element.
4699
4700 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4701
4702         * mips.c (mips_expand_prologue): If the last 
4703         named argument is the vararg marker "va_list", treat it as
4704         an unnamed argument.
4705
4706 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
4707
4708         * dbxout.c (dbxout_parms): When correcting for promoted 
4709         big-endian parameters, use the mode of the DECL_RTL rather 
4710         than UNITS_PER_WORD.
4711
4712 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
4713
4714         * c-common.h (make_fname_decl): Declare.
4715         * c-common.c (make_fname_decl): Define.
4716         (declare_hidden_char_array): Remove.
4717         (declare_function_name): Use make_fname_decl.
4718         * c-decl.c (c_make_fname_decl): New function.
4719         (init_decl_processing): Set make_fname_decl.
4720
4721 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
4722
4723         * cccp.c (handle_directive): Initialize backslash_newlines_p.
4724
4725 2000-03-07  Philipp Thomas  <pthomas@suse.de>
4726
4727         * po/POTFILES.in: Remove cppalloc.c from file list.
4728
4729 2000-03-07  Steve Chamberlain  <sac@pobox.com>
4730
4731         * pj.c (pj_expand_prologue): current_function->args_info is
4732         now current_function_args_info.  
4733
4734         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4735         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4736         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4737
4738 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4739
4740         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4741         output as hexadecimal rather than the default octal.
4742
4743 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4744
4745         * cpphash.c (special_symbol): Fix thinko in previous commit.
4746
4747 2000-03-07  Neil Booth  <NeilB@earthling.net>
4748
4749         * cppexp.c (struct operation, left_shift, right_shift,
4750         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4751         "int"s to "unsigned int"s.
4752         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4753         Similarly.
4754         * cpplib.h: Update for above.
4755         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4756         returned from allocations.
4757
4758         * cppinit.c (opt_comp, parse_options): New functions.
4759         (handle_option): Use parse_option to parse a single command
4760         line option, that possibly takes an argument.
4761         (cpp_handle_options): Sort the array of command line options on
4762         first invocation (non-ASCII hosts only).
4763         (print_help): Update.
4764
4765 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4766
4767         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4768         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
4769         
4770         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4771         initialized.
4772         * cppinit.c (cpp_cleanup): Free imp->nshort also.
4773
4774         * cpperror.c (cpp_print_containing_files,
4775         cpp_print_file_and_line, v_cpp_message): Rename to
4776         print_containing_files, print_file_and_line, and v_message.
4777         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4778         to _cpp_parse_expr, parse_escape, and lex.
4779         (parse_charconst): Remove broken multibyte support.
4780         * cppfiles.c (include_hash): Make static.
4781         (cpp_included): New function.
4782         (merge_include_chains, find_include_file, finclude,
4783         simplify_pathname): Rename to _cpp_merge_include_chains,
4784         _cpp_find_include_file, _cpp_read_include_file, and
4785         _cpp_simplify_pathname.
4786         * cpphash.c (cpp_lookup, free_definition, delete_macro,
4787         cpp_install, create_definition, macroexpand, compare_defs,
4788         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4789         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4790         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4791         * cppinit.c (cpp_handle_option): Rename to handle_option, make
4792         static.
4793         * cpplib.c: Remove extern prototype of cpp_parse_expr.
4794
4795         * cpphash.h: Update prototypes.
4796         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
4797
4798 2000-03-07  Andrew Haley  <aph@cygnus.com>
4799
4800         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4801         PTRDIFF_TYPE should be based solely on Pmode.
4802         (SIZE_TYPE): ditto.
4803
4804 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4805
4806         * rtl.h (rtunion_def): Constify member `rtstr'.
4807         (emit_line_note_after, emit_line_note, emit_line_note_force,
4808         emit_note, decode_asm_operands): Constify.
4809         
4810         * cse.c (canon_hash): Likewise.
4811
4812         * dbxout.c (dbxout_block): Likewise.
4813
4814         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4815         v_warning_for_asm): Likewise.
4816
4817         * dwarfout.c (function_start_label): Likewise.
4818
4819         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4820         emit_line_note_force): Likewise.
4821
4822         * final.c (last_filename, asm_insn_count, final_scan_insn,
4823         output_source_line): Likewise.
4824
4825         * function.h (struct emit_status): Likewise.
4826
4827         * gcse.c (hash_expr_1): Likewise.
4828
4829         * genattr.c (gen_attr, main): Likewise.
4830
4831         * genattrtab.c (struct function_unit, current_alternative_string,
4832         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4833         attr_numeral, check_attr_test, check_attr_value,
4834         convert_set_attr_alternative, convert_set_attr,
4835         compute_alternative_mask, simplify_by_exploding, gen_attr,
4836         gen_unit): Likewise.
4837
4838         * genflags.c (gen_insn): Likewise.
4839
4840         * gengenrtl.c (type_from_format): Likewise.
4841
4842         * genopinit.c (gen_insn): Likewise.
4843
4844         * genoutput.c (n_occurrences, process_template, process_template):
4845         Likewise.
4846
4847         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4848         Likewise.
4849
4850         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4851         Likewise.
4852
4853         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4854         ggc_set_mark, ggc_get_size): Likewise.
4855
4856         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4857
4858         * optabs.c (init_one_libfunc): Likewise.
4859
4860         * output.h (assemble_start_function): Likewise.
4861
4862         * recog.c (decode_asm_operands): Likewise.
4863
4864         * toplev.c (rest_of_compilation): Likewise.
4865
4866         * tree.h (emit_line_note_after, emit_line_note,
4867         emit_line_note_force): Likewise.
4868
4869         * varasm.c (asm_output_bss, asm_output_aligned_bss,
4870         asm_emit_uninitialised, assemble_start_function,
4871         assemble_variable, const_hash, compare_constant_1,
4872         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4873
4874         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4875
4876         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4877
4878         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4879
4880         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4881
4882         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4883         arm_dllimport_name_p): Likewise.
4884
4885         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4886         Likewise.
4887
4888         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4889
4890         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4891
4892         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4893         arm_mark_dllexport, arm_mark_dllimport,
4894         arm_pe_encode_section_info): Likewise.
4895
4896         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4897         ASM_FINISH_DECLARE_OBJECT): Likewise.
4898
4899         * arm/thumb.c (thumb_function_prologue): Likewise.
4900
4901         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4902
4903         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4904
4905         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4906
4907         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4908
4909         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4910
4911         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4912
4913         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4914         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4915
4916         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4917
4918         * i386/i386.c (asm_output_function_prefix): Likewise.
4919
4920         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4921
4922         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4923
4924         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4925
4926         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4927         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4928         ASM_OUTPUT_SECTION_NAME): Likewise.
4929
4930         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4931
4932         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4933
4934         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4935
4936         * m32r/m32r.c (m32r_encode_section_info): Likewise.
4937
4938         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4939
4940         * mcore/mcore.c (mcore_encode_section_info): Likewise.
4941
4942         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4943
4944         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4945
4946         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4947
4948         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4949
4950         * mips/mips.md (movdi, movsi): Likewise.
4951
4952         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4953
4954         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4955
4956         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4957
4958         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4959         ASM_OUTPUT_ASCII): Likewise.
4960
4961         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
4962         output_mi_thunk, output_toc): Likewise.
4963
4964         * rs6000/rs6000.md (movsi): Likewise.
4965
4966         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
4967
4968         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
4969
4970         * v850/v850.c (print_operand, print_operand_address,
4971         v850_encode_data_area): Likewise.
4972
4973 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
4974         
4975         * config/mips/mips.md (zero_extendsidi2): Always force operand
4976         one to memory for mips16.
4977
4978 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4979
4980         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
4981         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
4982         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
4983         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
4984         (min_precision): Result is unsigned.
4985         (add_double, neg_double, mul_double): Low word is unsigned.
4986         (lshift_double, rshift_double, lrotate_double): Likewise.
4987         (rrotate_double, div_and_round_double): Likewise.
4988         (tree_floor_log2, compare_tree_int): New functions.
4989         (preserve_rtl_expr_temps): New declaration.
4990         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
4991         (decl_attributes): Use tree_log2 to find alignment.
4992         Check for TREE_INT_CST_HIGH for format args.
4993         (min_precision): Now unsigned.
4994         Use tree_floor_log2.
4995         (truthvalue_conversion): Delete long-disabled code.
4996         * c-decl.c (finish_struct): Clean up tests on field width.
4997         (finish_function): Use compare_tree_int.
4998         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
4999         * c-typeck.c (comptypes): Use tree_int_cst_equal.
5000         (default_conversion, digest_init): Use compare_tree_int.
5001         (build_binary_op): Use integer_all_onesp and compare_tree_int.
5002         Fix type errors in forming masks.
5003         * calls.c (initialize_argument_information): Use compare_tree_int.
5004         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5005         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5006         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5007         (store_field): Use compare_tree_int.
5008         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5009         (expand_expr, case ARRAY_REF): Use compare_tree_int.
5010         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5011         (do_store_flag): Use compare_tree_int.
5012         * fold-const.c (encode, decode): Low part is always unsigned.
5013         (force_fit_type, add_double, neg_double, mul_double): Likewise.
5014         (lshift_double, rshift_double, lrotate_double): Likewise.
5015         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5016         (fold_convert): Use compare_tree_int.
5017         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5018         (invert_truthvalue, case INTEGER_CST): Likewise.
5019         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5020         * mkdeps.c (deps_dummy_targets): Make I unsigned.
5021         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5022         (lshift_double, rshift_double, lrotate_double, rrotate_double):
5023         Likewise.
5024         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5025         (expand_end_case): Use compare_tree_int.
5026         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5027         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5028         (layout_decl): Likewise.
5029         (layout_record, layout_union): Make sizes unsigned.
5030         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5031         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5032         * tree.c (struct type_hash): hashcode is unsigned.
5033         (build_type_attribute_variant, type_hash_list): Likewise.
5034         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5035         (attribute_hash_list, build_array_type, build_method_type): Likewise.
5036         (build_complex_type): Likewise.
5037         (real_value_from_int_cst): Remove unneeded casts.
5038         (integer_all_onesp): Add casts.
5039         (tree_floor_log2, compare_tree_int): New functions.
5040         (build_index_type): Use tree_int_cst_sgn.
5041         * varasm.c (assemble_variable): Use compare_tree_int.
5042
5043 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
5044
5045         * cpphash.c (collect_expansion): Also catch ## at start of macro.
5046
5047         * varasm.c (make_decl_rtl): Don't add a number to members of
5048         local classes.
5049         (make_function_rtl): Likewise.
5050
5051 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5052
5053         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5054         patch from 2000-01-28.
5055
5056 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
5057
5058         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5059         filled with an insn from the jump target.
5060
5061 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5062
5063         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5064         (c4x_external_ref): Likewise.
5065         * config/c4x/c4x.c (struct name_list): Likewise.
5066
5067 1999-12-16  Ben Collins  <bcollins@debian.org>
5068
5069         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5070         argument to genmultilib.
5071         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5072         the contents into the multilib.h header.
5073         * gcc.c: Declare multilib_exclusions for the specs file.
5074         (set_multilib_dir): Use it.
5075         (print_multilib_info): Likewise.
5076         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5077         to pass to genmultilib.
5078
5079 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5080
5081         * builtins.c (built_in_class_names, built_in_names): Constify a
5082         char*.
5083
5084         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5085         int.
5086         (_mcleanup): Ensure value matches format specifier in sprintf.
5087
5088         * cpphash.c (special_symbol): Don't needlessly cast away
5089         const-ness.
5090
5091         * cppinit.c (base_name): Delete unused prototype.
5092
5093         * mkdeps.c (deps_init): Make definition K&R safe.
5094
5095         * tree.h (built_in_class_names, built_in_names): Constify a
5096         char*.
5097
5098 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
5099
5100         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5101         floating point instructions for epilogue delay.
5102
5103         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5104         to gas if it supports .register pseudo.
5105
5106         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5107         LONG_DOUBLE_TYPE_SIZE if not defined.
5108         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5109         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5110         * real.c: Likewise.
5111         * gengenrtl.c: Likewise.
5112         * print-rtl.c: Likewise.
5113         * rtl.c: Likewise.
5114         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5115         MASK_LONG_DOUBLE_128.
5116         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5117         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5118         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5119         (SUBTARGET_SWITCHES): Define.
5120         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5121         with -mlong-double-128.
5122         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5123         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5124         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5125         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5126         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5127         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5128         with -mlong-double-128.
5129         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5130         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5131         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5132         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5133         TARGET_LONG_DOUBLE_128): Define.
5134         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5135         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5136         long double on TARGET_ARCH64.
5137
5138 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
5139
5140         * function.c (free_temps_for_rtl_expr): Don't free slots
5141         that have been pushed into a higher level.
5142         
5143         Revert this patch:
5144         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5145
5146 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5147
5148         * basic-block.h (ALLOCA_REG_SET): Remove.
5149         (INITIALIZE_REG_SET): New macro.
5150         * flow.c (update_life_info): Use it.
5151         (calculate_global_regs_live): Likewise.
5152         (propagate_block): Likewise.
5153         * global.c (build_insn_chain): Likewise.
5154         * haifa-sched.c (schedule_region): Likewise.
5155
5156 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
5157
5158         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5159         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5160         (DWARF_ARANGES_PAD_SIZE): New define.
5161         (output_aranges): Use it to pad the address range header.
5162         (DWARF_ROUND): Fix for non power of 2 rounding.
5163
5164 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
5165
5166         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5167
5168 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5169
5170         * tree.def (RTL_EXPR): Update documentation.
5171         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5172         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5173         * function.c (preserve_rtl_expr_temp): New function.
5174         (preserve_rtl_expr_temps): Likewise.
5175         (preserve_rtl_expr_result): Use it.
5176
5177         Revert this patch:
5178         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5179
5180 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
5181
5182         * regmove.c (copy_src_to_dest)  Do not create src->dest move
5183         for unchanging destination.
5184
5185 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5186
5187         * function.h (struct sequence_stack): Remove rtl_expr.
5188         (struct emit_staus): Likewise.
5189         (seq_rtl_expr): Remove.
5190         * tree.h (free_temps_for_rtl_expr): Don't declare.
5191         (start_sequence_for_rtl_expr): Likewise.
5192         * rtl.h (preserve_rtl_expr_result): Likewise.
5193         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5194         (start_sequence_for_rtl_expr): Remove.
5195         (push_topmost_sequence): Don't save sequence_rtl_expr.
5196         (pop_topmost_sequence): Remove comment about not restoring it.
5197         (end_sequence): Don't set seq_rtl_expr.
5198         (init_emit): Don't initialize it.
5199         (mark_sequence_stack): Don't mark it.
5200         (mark_emit_status): Likewise.
5201         * except.c (protect_with_terminate): Use
5202         start_sequence_for_rtl_expr, not start_sequence.
5203         * expr.c (expand_expr, case RTL_EXPR): Don't call
5204         preserve_rtl_expr_result or free_temps_for_rtl_expr.
5205         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5206         (preserve_rtl_expr_result): Remove.
5207         (free_temps_for_rtl_expr): Likewise.
5208         (pop_temp_slots): Likewise.
5209         (mark_temp_slot): Don't mark the rtl_expr.
5210         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5211         start_sequence_for_rtl_expr.
5212         
5213 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
5214
5215         * mkdeps.c, mkdeps.h: New files.
5216         * po/POTFILES.in: Add them.
5217         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5218         (cpplib.o, cppinit.o): Depend on mkdeps.h.
5219         (mkdeps.o): New target.
5220
5221         * cppfiles.c: Delete deps_output.
5222         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
5223         OBJECT_SUFFIX, and base_name.
5224         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
5225         the include hash.
5226         (initialize_dependency_output): Use deps_init,
5227         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
5228         all the unnecessary string bashing.
5229         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
5230         level.
5231         * cpplib.c (do_include): Use deps_add_dep.
5232         * cpplib.h (struct cpp_reader): Replace deps_buffer,
5233         deps_allocated_size, deps_size, deps_column members with
5234         single pointer to a struct deps.  Delete prototype of
5235         deps_output.
5236
5237         * cppinit.c: Fix thinko in previous patch.
5238
5239 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5240
5241         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5242         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5243         (mode_for_size_tree): New function.
5244         (layout_decl, layout_type): Call it and clean up BLKmode checks.
5245         * tree.h (mode_for_size_tree): New declaration.
5246         
5247         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5248
5249 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
5250
5251         * stmt.c (is_body_block): Move...
5252         * dwarfout.c, dwarf2out.c: ...from here.
5253         * tree.h: Declare it.
5254         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5255         * final.c (final_start_function): Do call remove_unnecessary_notes
5256         when scheduling.
5257
5258 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5259
5260         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5261         
5262         * cpplib.h (_dollar_ok): New macro.
5263         (is_idchar, is_idstart): Use it.
5264         (IStable): Rename to _cpp_IStable.  Declare it const if
5265         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
5266         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5267         is_space): Update for renamed IStable.
5268
5269         * cppinit.c: Delete all references to FAKE_CONST and CAT
5270         macros. Define init_IStable as empty macro if gcc >=2.7 or
5271         C99. Change TABLE() to ISTABLE and hardcode name of table.
5272         (cpp_start_read): Don't change the IStable based on
5273         dollars_in_ident.
5274
5275         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
5276         changed.  Handle '$' for char1 correctly.
5277         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5278
5279         * cppexp.c (tokentab2): Make const.
5280         (cpp_lex): Make toktab const.
5281         * cppinit.c (include_defaults_array): Make const.
5282         (initialize_standard_includes): Make default_include const.
5283
5284 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5285
5286         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5287         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5288         (gen_decl_die): Likewise.
5289         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5290         (output_decl): Likewise.
5291
5292         * varasm.c (make_function_rtl): If we change the name used in the
5293         rtl, update DECL_ASSEMBLER_NAME accordingly.
5294         (make_decl_rtl): Likewise.
5295
5296         * toplev.c (rest_of_compilation): Tweak formatting.
5297
5298         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5299         remove_unnecessary_notes.
5300         (debug_ignore_block): New fn.
5301         * toplev.h: Declare it.
5302         * emit-rtl.c (remove_unncessary_notes): Call it.
5303         * dwarf2out.c (dwarf2out_ignore_block): New fn.
5304         * dwarf2out.h: Declare it.
5305         * final.c (final_start_function): Don't call remove_unnecessary_notes
5306         if we did insn scheduling.
5307
5308 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5309
5310         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5311         * cpplib.h: Delete SET_CPP_PEDANTIC.
5312
5313 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5314
5315         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5316         result is a RECORD_TYPE.
5317
5318 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5319
5320         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5321
5322 2000-03-03  Richard Henderson  <rth@cygnus.com>
5323
5324         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5325         addition over compliments over shifts.
5326
5327 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5328
5329         * reload1.c (reload_combine_note_use): Handle return register USEs.
5330         REG case: Handle multi-hard-register hard regs.
5331
5332 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5333
5334         * md.texi: Document use of '*' in insn pattern name.
5335
5336 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5337
5338         * calls.c (special_function_p): operator new may not be malloc-like.
5339
5340         * gcse.c (dump_hash_table): Really fix error in last change.
5341
5342 2000-03-02  Denis Chertykov  <denisc@overta.ru>
5343
5344         * avr.c (print_operand): Use print_operand_address instead of
5345         output_addr_const.
5346         * avr/libgcc.S: Cleanup code.
5347
5348 2000-03-02  Richard Henderson  <rth@cygnus.com>
5349
5350         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5351
5352 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
5353
5354         * tree.h (TYPE_ALIGN_UNIT): New macro.
5355
5356 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
5357
5358         * i386.c: (constant_call_address_operand): Reject CONST_INT.
5359
5360 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
5361
5362         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5363         for the buffer.
5364         (SET_CPP_PEDANTIC): New macro.
5365         * cpplib.c (do_include): Don't bother checking system_header_p.
5366         (do_warning, do_ident, do_assert, do_unassert): Likewise.
5367         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5368
5369         * function.h (struct expr_status): Add x_arg_space_so_far.
5370         (arg_space_so_far): New macro.
5371         * expr.c (init_expr): Initialize it.
5372         * calls.c (emit_call_1): Reset it.
5373         (compute_argument_block_size, expand_call): Use it.
5374         (expand_call, store_one_arg): Increment it.
5375
5376 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5377
5378         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5379         a UNION_TYPE.
5380
5381 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
5382
5383         * cppfiles.c (cpp_read_file): New function.
5384
5385         * cpphash.c (collect_expansion): Make sure to reset last_token
5386         to NORM when we hit a string.  Handle trailing whitespace
5387         properly when the expansion is empty.
5388         (create_definition): Disable line commands while parsing the
5389         directive line.
5390         (dump_definition): If pfile->lineno == 0, output a line
5391         command ahead of the dump, and add a trailing newline.
5392
5393         * cppinit.c (append_include_chain): Add fifth argument, which
5394         indicates whether or not system headers are C++ aware.
5395         (initialize_standard_includes): New function,
5396         broken out of read_and_prescan.  Pass 'cxx_aware' value from
5397         the include_defaults_array on to append_include_chain.
5398         (dump_special_to_buffer): Const-ify char array.
5399         (builtin_array): Don't dump __BASE_FILE__.
5400         (cpp_start_read): Use cpp_read_file.  Reorder code for
5401         clarity.  Don't output line commands here for -D/-A/-U
5402         switches.  Don't call deps_output for files included with
5403         -include or -imacros.
5404
5405         * cpplib.c (do_define): Don't pay any attention to the second
5406         argument.
5407         (cpp_expand_to_buffer): Disable line commands while scanning.
5408         (output_line_command): Work in the file buffer.
5409         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5410         Fix formatting of comments.  Prototype cpp_read_file.
5411
5412 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5413
5414         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5415         reference the language-equivalent of sizetype.
5416         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5417         * fold-const.c (size_binop, size_diffop): Put back checks.
5418         * gcse.c (dump_hash_table): Fix minor error in last change.
5419         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5420         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5421         all sizetypes.
5422
5423 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
5424
5425         * calls.c (expand_call)  Do not attempt to combine stack adjustments
5426         with inhibit_defer_pop set.
5427
5428 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
5429
5430         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5431         the DECL_SIZE for a FIELD_DECL.
5432
5433 2000-03-01  Bruce Korb  <bkorb@gnu.org>
5434
5435         * fixinc/inclhack.tpl: remove unused symlinks
5436         * fixinc/README: GCC Maintainer info
5437         * fixinc/inclhack.sh: regen
5438         * fixinc/fixincl.sh: regen
5439
5440 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
5441
5442         * cpphash.c (collect_expansion): Trim trailing white space
5443         from macro definitions, but don't go past the last insertion
5444         point.
5445
5446 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
5447
5448         * i386.md (mulqi3): New pattern.
5449
5450 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
5451
5452         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5453         token types.
5454         (struct cpp_reader): Add parsing_if_directive and
5455         parsing_define_directive flags.               
5456         (struct cpp_options): Remove output_conditionals flag.
5457         (check_macro_name): Delete prototype.
5458
5459         * cpphash.h (struct macrodef): Delete.
5460         (struct reflist): Separate from struct definition.
5461         (struct definition): Remove unused fields.  Add column number.
5462         (create_definition): Returns a DEFINITION *.  Takes a
5463         cpp_reader * and an int.
5464
5465         * cpphash.c (SKIP_WHITE_SPACE): Delete.
5466         (PEEKC): Copy defn from cpplib.c.
5467         (rest_extension, REST_EXTENSION_LENGTH): Delete.
5468         (struct arg): New.
5469         (struct arglist): Simplify.
5470         (collect_expansion): Rewrite.  Get tokens by calling
5471         cpp_get_token.  Add more error checking.
5472         (collect_formal_parameters): New function, broken out of
5473         create_definition and reworked to use get_directive_token.
5474         (create_definition): All real work is now in collect_expansion
5475         and collect_formal_parameters.  do_define handles finding the
5476         macro name.  Return a DEFINITION, not a MACRODEF.
5477         (macroexpand): Replace bcopy with memcpy throughout.  Replace
5478         character-at-a-time copy loop with memcpy and pointer increments.
5479         (compare-defs): d1->argnames / d2->argnames might be null.
5480
5481         * cpplib.c (copy_rest_of_line): Delete function.
5482         (skip_rest_of_line): Do all the work ourselves.
5483         (skip_string): New function.
5484         (parse_string): Use skip_string.
5485         (get_macro_name): New function.
5486         (check_macro_name): Delete.
5487         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5488         (cpp_skip_hspace): Use CPP_BUMP_LINE.
5489         (handle_directive): ICE if we're called on a macro buffer.
5490         (do_define): Determine macro name and type (funlike/objlike)
5491         here.  Expunge all uses of MACRODEF.
5492         (cpp_push_buffer): Set line_base to NULL.
5493         (do_undef, read_line_number): Don't worry about getting a POP token.
5494         (eval_if_expression): Set/reset parsing_if_directive around
5495         cpp_parse_expr. Don't clear only_seen_white.
5496         (skip_if_group): Remove output_conditionals logic.  Use
5497         skip_rest_of_line.
5498         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5499         tokens under appropriate conditions.
5500         (cpp_unassert): Call do_unassert not do_assert.  Oops.
5501
5502         * cppexp.c (parse_defined): New function, break out of
5503         cpp_lex.
5504         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5505         ourselves, with cpp_defined.
5506         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5507
5508         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5509         * gcc.dg/strpaste-2.c: New.
5510
5511 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
5512
5513         * fold-const.c (size_binop): Don't asert inputs are the same and
5514         have TYPE_IS_SIZETYPE set.
5515         (size_diffop): Likewise.
5516
5517 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
5518
5519         * dwarfout.c (output_block): Output abstract blocks even if they
5520         don't have TREE_ASM_WRITTEN set.
5521
5522         * calls.c (emit_library_call): Check for null REG.
5523
5524 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5525
5526         * c-decl.c (current_function_decl): Move to toplev.c.
5527         (init_decl_processing): Don't add current_function_decl as a ggc
5528         root here.
5529         * dbxout.c (dbxout_symbol): Change return type to int.
5530         (dbxout_symbol_location, dbxout_syms): Likewise.
5531         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5532         any locals. Use current_function_func_begin_label if set.
5533         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5534         * dwarf2out.c (dwarf2out_begin_prologue): Set
5535         current_function_func_begin_label.
5536         * final.c (final_start_function): Reset it.
5537         * toplev.c (current_function_decl): Define it here.
5538         (current_function_func_begin_label): New variable.
5539         (main): Add both as ggc roots.
5540         * tree.h (current_function_func_begin_label): Declare.
5541
5542 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5543
5544         * gcse.c: Cleanups throughout: mostly white-space, but also
5545         some minor rearrangement of code.
5546
5547 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
5548
5549         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5550         returns a PARALLEL.  Use emit_group_load and use_group_regs
5551         as needed.  
5552         (emit_library_call_value): Similarly.
5553
5554         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5555         * pa/quadlib.asm: Remove.
5556         * pa/quadlib.c: New file.
5557
5558         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5559         * configure: Rebuilt.
5560
5561 2000-02-29  Philip Blundell  <pb@futuretv.com>
5562
5563         * config/arm/conix-elf.h: New file.
5564         * configure.in (arm*-*-conix*): New configuration.
5565         * configure: Regenerate.
5566
5567 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
5568
5569         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5570         don't have TREE_ASM_WRITTEN set.
5571
5572 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5573
5574         * Eliminate DECL_FIELD_SIZE.
5575         * builtins.c (built_in_class_names, built_in_names): New variables.
5576         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5577         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5578         DECL_SIZE, not DECL_FIELD_SIZE.
5579         * print-tree.c (print_node): Remove code that prints extra blank
5580         lines in some cases.
5581         Properly handle inline and builtin function cases.
5582         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5583         * tree.h (built_in_class_named, built_in_names): New declarations.
5584         (union tree_decl): Rename internal unions to u1 and u2 and change
5585         some of their components.
5586         Add new field built_in_class.
5587         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5588         Reflect above changes.
5589         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5590         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5591         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5592         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5593
5594 2000-02-28  Dmitri Makarov  <dim@windriver.com>
5595
5596         * extend.texi: Document ARM's support for long/short calls.
5597
5598         * invoke.texi: Document ARM's -mlong-calls command line switch.
5599         
5600         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5601         (arm_encode_call_attribute): Add prototype.
5602         (arm_set_default_type_attribute): Add prototype.
5603         (arm_strip_name_encoding): Add prototype.
5604
5605         * config/arm/arm.c (arm_init_cumulative_args): replace
5606         initialisation og 'long_calls' field with initialisation of
5607         'call_cookie' field.
5608         (enum arm_pragma_enum): New enum.
5609         (arm_pragma_long_calls): New static variable.
5610         (arm_process_pragma): Also process "#pragma long_calls_off".
5611         (arm_valid_type_attribute_p): Accept short_call attribute.
5612         (arm_comp_type_attributes): Check long/short call attributes.
5613         (arm_encode_call_attribute):  New function:  Encode long_call
5614         or short_call attribute in function name.
5615         (arm_set_default_type_attributes): New function: Assign
5616         default attributes to newly defined type.
5617         (current_file_function_operand): New function: Return true if
5618         the symbol is a function which has already been compiled.
5619         (arm_is_longcall_p): New function: Return true if the
5620         indicated function should be called via a long call.
5621         (arm_get_strip_length): New function.  Returns number of
5622         prefix characters to be stripped from a function's name.
5623         (arm_strip_name_encoding): New function.  Strip prefix characters
5624         from a function's name.
5625
5626         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5627         with 'call_cookie'.
5628         (SHORT_CALL_FAG_CHAR): Define.
5629         (LONG_CALL_FAG_CHAR): Define.
5630         (ENCODED_SHORT_CALL_ATTR_P): Define.
5631         (ENCODED_LONG_CALL_ATTR_P): Define.
5632         (ARM_NAME_ENCODING_LENGTHS): Define.
5633         (STRIP_NAME_ENCODING): Define.
5634         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5635         (ARM_ENCODE_CALL_TYPE): Define.
5636         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5637         (ARM_DECLARE_FUNCTION_SIZE): Define.
5638         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5639
5640         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5641         if a long call is needed.
5642         (call_value): Ditto.
5643         (call_symbol): Ditto.
5644
5645         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5646         ARM_DECLARE_FUNCTION_SIZE.
5647
5648         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5649         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5650         (ARM_STRIP_NAME_ENCODING): Undefine.
5651         (STRIP_NAME_ENCODING): Undefine.
5652         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5653         (ASM_DECLARE_FUNCTION_NAME): Ditto.
5654         (ASM_OUTPUT_COMMON): Ditto.
5655         (ASM_DECLARE_OBJECT_NAME): Ditto.
5656
5657         * config/arm/pe.c (arm_dllexport_name_p): Check for
5658         ARM_PE_FLAG_CHAR.
5659         (arm_dllimport_name_p): Ditto.
5660         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5661         (arm_mark_dllimport): Ditto.
5662         
5663 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5664
5665         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5666
5667 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
5668
5669         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5670
5671 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
5672
5673         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5674         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5675         NO_BUILTIN_WCHAR_TYPE is not defined.
5676         (CPP_WCHAR_TYPE): Delete.
5677         * cccp.c (main): Don't change wchar_type if cplusplus.
5678         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5679
5680 2000-02-28  Nick Clifton  <nickc@cygnus.com>
5681
5682         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5683
5684 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
5685
5686         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5687         (ASM_WEAKEN_LABEL): Define.
5688  
5689 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
5690
5691         * expr.c (store_constructor): Do not emit USE.
5692         * rtl.h (stupid_life_analysis): Remove.
5693
5694 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5695
5696         * function.c (number_blocks): Reset next_block_index based on
5697         what debugging format is used, not what is defined.
5698         
5699         * lcm.c: Minor reformatting throughout.
5700         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5701         
5702         * toplev.c (rest_of_compilation): Account for time in
5703         optimize_mode_switching.
5704
5705         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5706         if only marking labels.
5707
5708 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
5709
5710         * calls.c (expand_call): Attempt to combine stack adjustments with
5711         pending stack adjustments.
5712
5713 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5714
5715         * loop.c (reg_in_basic_block_p): Don't abort when falling through
5716         to the end of the function.
5717
5718 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
5719
5720         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5721         blocks.
5722         * final.c (next_block_index): Remove.
5723         (max_block_depth): Likewise.
5724         (pending_blocks): Likewise.
5725         (init_final): Don't initialize them.
5726         (final_start_function): Don't set next_block_index.  Set up
5727         BLOCK_NUMBER.
5728         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5729         * function.h (number_blocks): New function.
5730         * function.c (get_block_vector): New function.
5731         (identify_blocks): Use it.
5732         (reorder_blocks): Set NOTE_BLOCK.
5733         (number_blocks): New function.
5734         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5735         * tree.h (BLOCK_NUMBER): New macro.
5736         (tree_block): Add block_num field.
5737         * dbxout.c (next_block_number): Remove.
5738         (dbxout_init): Don't set it.
5739         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5740         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
5741         block numbers.
5742         * toplev.c (rest_of_compilation): Always call
5743         find_loop_tree_blocks.  Fix indentation.
5744         * dwarf2out.c (next_block_number): Remove.
5745         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5746         to determine block numbers.
5747         (gen_inlined_subroutine_die): Likewise.
5748         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5749         (decls_for_scope): Don't increment next_block_number.
5750         * dwarfout.c (next_block_number): Remove.
5751         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5752         to determine block numbers. 
5753         (output_inlined_subroutine_die): Likewise.
5754         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5755         (output_decls_for_scope): Don't increment next_block_number.
5756         * sdbout.c (next_block_number): Remove.
5757         (sdbout_block): Use BLOCK_NUMBER.
5758         (sdbout_begin_block): Simplify.
5759         * xcoffout.c (next_block_number): Remove.
5760         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5761         (xcoffout_begin_block): Don't set next_block_number.
5762         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5763         next_block_number.
5764         
5765 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5766
5767         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5768         (expand_builtin_strcpy): Pass correct type to size_binop.
5769         (expand_builtin_strcmp): Likewise.
5770         Clean up conditional structure.
5771         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5772         (complete_array_type): Don't use size_binop for MAXINDEX.
5773         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5774         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5775         (c_alignof): Use size_one_node.
5776         (build_unary_op): Pass arg of proper type to size_binop.
5777         (really_start_incremental_init, push_init_level): Use sizetype for
5778         constructor{,_bit,_unfilled}_index.
5779         (pop_init_label, output_init_element): Likewise.
5780         (output_pending_init_elements, process_init_element): Likewise.
5781         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5782         * expr.c (store_expr): Use size_int.
5783         (store_constructor): Use proper types for size_binop args.
5784         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5785         (expand_expr_unaligned): Likewise.
5786         (string_contant): Return object of sizetype.
5787         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5788         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5789         (ARGS_SIZE_TREE): Pass proper types to size_binop.
5790         * fold-const.c (int_const_binop): Refine when size_int is called.
5791         (fold_convert): Likewise.
5792         (size_int_wide): Rework to take KIND as arg, only take low order
5793         bits, handle new sizetype_tab datatype, and chain entries in
5794         size_table.
5795         (size_int_type_wide): New function.
5796         (size_binop): Validate types of arguments.
5797         (ssize_binop): Deleted.
5798         (size_diffop): New function.
5799         (extract_muldiv): Only fold division into multiplication for sizetypes.
5800         * function.c (assign_parms): Use size_diffop and make sure
5801         VAR field is of ssizetype; also pass proper type to size_binop.
5802         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5803         (round_down): Deleted from here.
5804         * store-layout.c (sizetype_tab): Now an array.
5805         (sizetype_set, early_root_list): New variables.
5806         (variable_size): Use size_one_node.
5807         (round_up): Pass proper type to size_binop.
5808         (round_down): Moved to here and corrected as above.
5809         (layout_record): Pass proper arg types to size_binop.
5810         (layout_type): Likewise.
5811         If sizetype_set is zero, record the type just laid out.
5812         (make_unsigned_type): Don't call set_sizetype;
5813         (make_signed_type): Likewise; also, call fixup_signed_type.
5814         (initialize_sizetypes): New function.
5815         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5816         set name of bitsizetype to "bit_size_type".
5817         Fix up type of sizes of all types made before call.
5818         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5819         * tree.c (fix_sizetype): Deleted.
5820         (build_common_tree_nodes): Call initialize_sizetypes.
5821         (build_common_tree_nodes_2): Don't call fix_sizetype.
5822         * tree.h (TYPE_IS_SIZETYPE): New macro.
5823         (initialize_sizetype): New declaration.
5824         (enum size_type_kind): New type.
5825         (struct sizetype_tab): Deleted.
5826         (sizetype_tab): Now array; adjust sizetype macros.
5827         (size_diffop, size_int_type_wide): New functions.
5828         (size_int_wide): Change number of args and type; access macros changed.
5829         (ssize_int, sbitsize_int): New macros.
5830         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5831         (ROUND_TYPE_SIZE_UNIT): New macro.
5832
5833 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
5834
5835         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5836
5837 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5838
5839         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5840         Mark as possibly unused.
5841
5842         * cse.c (cse_insn): Delete dead code involving tablejump.
5843         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5844
5845         * Makefile.in (libcpp.a): Start by deleting it.
5846
5847 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5848
5849         * cpplib.h (enum file_change_code): Added rename_file.
5850         * cpplib.c (do_line): If a filename is given, set file_change to
5851         rename_file.
5852         (output_line_command): If file_change is rename_file, always
5853         output a # directive with the file name.
5854
5855         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5856
5857 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
5858
5859         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5860         when copying a PARM_DECL or RESULT_DECL.
5861
5862 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5863
5864         * fix-header.c (recognized_function): Also fix prototypes for
5865         functions taking "void".
5866
5867 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5868
5869         * reload1.c (do_output_reload): Check reg_reloaded_valid before
5870         looking at reg_reloaded_contents.
5871
5872 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
5873
5874         * Makefile.in (STMP_FIXINC): New toggle.
5875         (LIBGCC2_DEPS): Delete all references.
5876         (stmp-headers): Delete target.  All references either deleted
5877         or changed to stmp-int-headers.
5878         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5879         (LIBCPP_OBJS): Take out cppalloc.o.
5880         (cppalloc.o): Delete target.
5881         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5882         (gen-protos, fix-header): Link with libiberty.a.
5883         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
5884         to empty.
5885
5886         * configure.in: Remove refs to strerror.
5887         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5888         * system.h: Take out strerror stanza.
5889
5890         * cpperror.c (my_strerror): Delete function.
5891         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5892         * cppmain.c (main): Call xmalloc_set_program_name first thing.
5893         * cppalloc.c: Delete file.
5894         * gen-protos.c: Don't provide xrealloc.
5895
5896         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5897         xstrerror throughout.
5898
5899 2000-02-26  Bruce Korb  <bkorb@gnu.org>
5900
5901         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5902         match for DOS headers, too.
5903         * fixinc/inclhack.sh,fixincl.x: Regenerate.
5904
5905 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5906
5907         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
5908         is right for most ELF targets.
5909         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5910         Let the default file use %U properly.
5911         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
5912         default.
5913
5914         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5915         numbers.
5916
5917 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5918
5919         * toplev.c (documented_lang_options): Correct spelling error.
5920         (decode_d_option, decode_f_option, main): Likewise.
5921
5922         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5923
5924         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5925         to tell assembler it is permitted to expand large constants.
5926
5927 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
5928
5929         * protoize.c: (AUX_INFO_SUFFIX): New macro.
5930         (aux_info_suffix): Use.
5931         (SAVE_SUFFIX): New macro.
5932         (save_suffix): Use.
5933         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5934         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5935         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5936
5937         * invoke.texi (Running Protoize): Update documentation.
5938
5939 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5940
5941         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5942
5943 2000-02-25  John Wehle  (john@feith.com)
5944
5945         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5946
5947 2000-02-25  Anthony Green  <green@cygnus.com>
5948
5949         * toplev.c (rest_of_compilation): Rebuild jump labels if
5950         combine_instructions has created a new direct jump.
5951         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
5952         when appropriate.
5953         (combine_instructions): Call try_combine with new argument.
5954         Return non-null value when new direct jump instruction is created.
5955         * rtl.h: combine_instructions returns an int.
5956
5957 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
5958
5959         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
5960         jump when changing a computed jump into a jump to a known
5961         target.
5962
5963 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
5964
5965         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
5966         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
5967
5968         * i386.md (define_expand "clrstrsi"): Fix typo.
5969
5970 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
5971
5972         * rtl.texi: Fix typo.
5973
5974 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5975
5976         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
5977         UNITS_PER_WORD.  Change caller initial_elimination_offset.
5978         (rounded_frame_size): Take into account that argument pushed has
5979         changed.  Fix TARGET_ALIGN_DOUBLE problem.
5980
5981 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
5982
5983         * haifa-sched.c (schedule_block): Explain the real reason
5984         we delete REG_SAVE_NOTEs on the first insn of a block.
5985         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
5986
5987 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
5988
5989         * input.h (push_srcloc): New function.
5990         (pop_srcloc): Likewise.
5991         * toplev.c (push_srcloc): Define it.
5992         (pop_srcloc): Likewise.
5993
5994 2000-02-24  Richard Henderson  <rth@cygnus.com>
5995
5996         * flow.c (life_analysis): When collecting reg info, clear
5997         regs_ever_live.
5998
5999 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6000
6001         Fix bug exposed by reload.c no longer rounding the frame
6002         size to BIGGEST_ALIGNMENT:
6003         * sh.c (rounded_frame_size): New function.
6004         (sh_expand_prologue, sh_expand_epilogue): Use it.
6005         (initial_elimination_offset): Likewise.
6006
6007 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6008
6009         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6010         * sh-protos.h (sh_need_epilogue): Declare.
6011         * sh.c (sh_need_epilogue_known): New static variable.
6012         (sh_need_epilogue): New function.
6013         (function_epilogue): Clear need_epilogue_known.
6014         * sh.md (return): Split into expander / insn pattern.
6015         Make the expander conditional on ! sh_need_epilogue ().
6016
6017 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
6018
6019         * machmode.h (get_mode_alignment): Declare.
6020         (GET_MODE_ALIGNMENT): Call it.
6021         * stor-layout.c (get_mode_alignment): New function. Make
6022         sure alignment is always power of 2.
6023
6024 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6025
6026         * i386.h: Remove useless definition of "I386" and misleading
6027         comment above it.
6028
6029 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6030
6031         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
6032         under which TREE_PERMANENT will be set.
6033         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6034         build1): Use TREE_SET_PERMANENT.
6035         * print-tree.c (print_node): Don't report value of
6036         TREE_PERMANENT if ggc_p is true.
6037
6038         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6039         decide whether to give a type a new alias set.
6040         * objc/objc-act.c (build_objc_string_object): Never copy the string.
6041         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6042         of value of 'obstack'.
6043
6044
6045 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6046
6047         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6048
6049 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6050
6051         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6052         * cpplib.c (cpp_get_token): Produce them.
6053         * cppexp.c (cpp_lex): Handle them.
6054
6055 2000-02-23  Nick Clifton  <nickc@cygnus.com>
6056
6057         * config/arm/arm.c (arm_comp_type_attributes): Simply and
6058         comment tests on type attributes.
6059
6060 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6061
6062         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6063         conform to documentation.
6064         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6065         to check for special cases.
6066         * sh-protos.h (sh_loop_align): Declare.
6067         * sh.c (sh_loop_align): Define.
6068
6069 2000-02-22  Andrew Haley  <aph@cygnus.com>
6070
6071         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6072         (SIZE_TYPE): Is 32 bits when using -mgp32.
6073         (PTRDIFF_TYPE): Ditto.
6074
6075 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6076
6077         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6078
6079 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6080
6081         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6082         BIGGEST_FIELD_ALIGNMENT a constant.
6083
6084 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
6085
6086         * dwarf2out.c (output_line_info): Put the marker for the end of
6087         the line number info at the actual end.
6088         (gen_struct_or_union_type_die): Use decl_function_context 
6089         to check for local classes.
6090         * dwarfout.c (output_type): Likewise.
6091
6092 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
6093
6094         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6095         for arguments with a mode, but no type.
6096         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6097         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6098         * pa/long_double.h: New file.
6099         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6100         both have 128bit wide long doubles.
6101         * configure: Rebuilt.
6102
6103 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6104
6105         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6106
6107         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6108         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6109         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6110
6111         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6112
6113         * integrate.c (compare_blocks, find_block): Likewise.
6114
6115         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6116
6117         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6118
6119         * stmt.c (stmt_status, set_file_and_line_for_stmt,
6120         expand_asm_operands): Likewise.
6121
6122 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
6123
6124         * predict.c (estimate_probability): Added the pointer heuristic to
6125         the collection of static branch predictors.
6126
6127 2000-02-21  Catherine Moore  <clm@cygnus.com>
6128
6129         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6130         * invoke.texi (-mfix7000): Document.
6131
6132 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
6133
6134         * diagnostic.c (init_output_buffer): Make it possible to output at
6135         least 32 characters if we're given a too long prefix.
6136
6137 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
6138
6139         * varasm.c (initializer_constant_valid_p): Call
6140         lang_expand_constant to simplify the constant.
6141
6142 2000-02-20  Bruce Korb  <bkorb@gnu.org>
6143
6144         * fixinc/inclhack.def(stdio_va_list):
6145         typedef needs to be disabled.
6146         * fixinc/inclhack.sh: regen
6147         * fixinc/fixincl.x: regen
6148
6149 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
6150
6151         * print-rtl.c (print_rtx): Don't print addresses when
6152         flag_dump_unnumbered.
6153
6154 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6155
6156         * sparc.c (sparc_output_scratch_registers): Mark parameter with
6157         ATTRIBUTE_UNUSED.
6158         (sparc_va_arg, sparc_flat_output_function_prologue,
6159         sparc_flat_output_function_epilogue): Cast value to unsigned in
6160         comparison.
6161         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6162         
6163         * sparc.md: Add default case in switch.
6164
6165 2000-02-19  Richard Henderson  <rth@cygnus.com>
6166
6167         * c-typeck.c (add_pending_init): Don't abort for multiple
6168         fields at the same offset.
6169         (pending_init_member): Test the correct member.
6170
6171 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6172
6173         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6174         instead of SImode.
6175         (start_catch_handler) : Same.
6176
6177 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
6178
6179         * Makefile.in: Have flow.o depend on $(EXPR_H)
6180
6181 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6182
6183         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6184         * c-decl.c (duplicate_decls, finish_enum): Likewise.
6185         (finish_decl): Remove -Wlarger-than code from here.
6186         * flags.h (id_clash_len): Now int.
6187         (larger_than_size): Now HOST_WIDE_INT.
6188         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6189         Clean up checking to see if in table.
6190         (make_bit_field_ref): Remove extra parm to bitsize_int.
6191         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6192         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6193         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6194         and for computing size of decl.
6195         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6196         Move -Wlarger-than code to here.
6197         (layout_record): Remove extra arg to bitsize_int.
6198         Set TYPE_BINFO_SIZE_UNIT.
6199         (layout_union): Remove extra arg to bitsize_int.
6200         Use proper type for size of QUAL_UNION.
6201         (layout_type): Remove extra arg to bitsize_int.
6202         * toplev.c (id_clash_len): Now int.
6203         (larger_than_size): Now HOST_WIDE_INT.
6204         (decode_W_option): Clean up id-clash and larger-than- cases.
6205         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6206         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6207         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6208         (struct tree_decl): New field size_unit.
6209         (size_int_wide): No HIGH operand; NUMBER is now signed.
6210         (size_int_2): Deleted.
6211         (size_int, bitsize_int): Don't use it and rework args.
6212         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6213
6214 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
6215
6216         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6217
6218 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6219
6220         * invoke.texi (Warning Options): Add an explanation of why
6221         you might want the -Wfloat-equal flag.
6222
6223 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6224
6225         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6226         * cppinit.c (new_pending_define): Add cast to avoid warning.
6227         * expmed.c (extract_bit_field): Likewise.
6228         * flow.c (enum reorder_skip_type): New type.
6229         (skip_insns_between_blcok): New it.
6230         Rework to avoid warning about possibly undefined variable.
6231         * function.c (assign_parms): Make thisparm_boundary unsigned.
6232         * genrecog.c (write_switch): Cast XWINT result to int.
6233         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6234         * mips-tfile.c (init_file): Make two versions of FDR intializer:
6235         one for MIPS and one for Alpha.
6236         (get_tag, copy_object): Add casts to avoid warnings.
6237         * optabs.c (init_one_libfunc): Cast NAME to (char *).
6238         * reload.c (find_reloads): Make TYPE enum reload_type.
6239         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6240         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6241         * varasm.c (compare_constant_1): Add cast to avoid warning.
6242         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6243         to (char *).
6244         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6245         Cast switch operand of size to int.
6246         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6247         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6248         in unhandled case.
6249
6250 2000-02-18  Nick Clifton  <nickc@cygnus.com>
6251
6252         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6253         anything for an alignment of zero.
6254
6255         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6256         anything for an alignment of zero.
6257
6258 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6259
6260         * gcc.texi (Bug Reporting): Refer to bugs.html.
6261         (Bug Lists): Likewise.
6262         * system.h (GCCBUGURL): New preprocessor define.
6263         * rtl.c (fancy_abort): Use it.
6264         * gcc.c (main): Likewise.
6265
6266 2000-02-18  Richard Henderson  <rth@cygnus.com>
6267
6268         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6269         (life_analysis_1): Subsume into ...
6270         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
6271         Use update_life_info for the relaxation.
6272         (update_life_info): Update REG_BASIC_BLOCK for registers live on
6273         entry and regs_live_at_setjmp.
6274         (set_noop_p): Simplify.
6275         (notice_stack_pointer_modification_1): Renamed from s/_1//.
6276         (record_volatile_insns): Split into ...
6277         (delete_noop_moves): ... here,
6278         (notice_stack_pointer_modification): ... here,
6279         (insn_dead_p): ... and here.
6280         (propagate_block): Don't query INSN_VOLATILE.
6281         (mark_used_regs): Mind !PROP_REG_INFO.
6282         * toplev.c (rest_of_compilation): Call mark_constant_function here,
6283         not in life_analysis.
6284
6285 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
6286
6287         * loop.c (canonicalize_condition): New function,
6288         broken out of get_condition.
6289         (get_condition): Use it.
6290         * expr.h (canonicalize_condition): Prototype it.
6291
6292         * tree.h (tree_int_cst_msb): Declare.
6293         * tree.c (tree_int_cst_msb): New function.
6294
6295 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6296
6297         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6298         isn't set.
6299
6300         * invoke.texi (-fmessage-length=n): Document.
6301
6302 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
6303
6304         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6305
6306 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6307
6308         * function.c (thread_prologue_and_epilogue_insns): Put a line note
6309         after the prologue.
6310
6311 2000-02-17  Nick Clifton  <nickc@cygnus.com>
6312
6313         * config/arm/thumb.c: Replace includes of system headers with
6314         #include "system.h".
6315
6316 2000-02-16  Richard Henderson  <rth@cygnus.com>
6317
6318         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6319         Add crtbeginS.o and crtendS.o.
6320         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6321         (ENDFILE_SPEC): Use crtendS.o.
6322         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6323
6324         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6325         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
6326         shared and present.
6327         (__dso_handle): New variable.
6328         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6329         bias to __CTOR_END__.
6330         
6331 2000-02-16  Richard Henderson  <rth@cygnus.com>
6332
6333         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6334
6335 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6336
6337         * longlong.h (__clz_tab): Declare as static to match definition.
6338
6339 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6340         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6341         (XREF_FILE_NAME): Define.
6342
6343         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6344         (EH_FRAME_SECTION_ASM_OP): Define.
6345         (IDENT_ASM_OP): Define.
6346         (TEXT_SECTION_ASM_OP): Define.
6347         (CPP_SPEC): Define.
6348         (CTORS_SECTION_ASM_OP): Define.
6349         (CTOR_SECTION_FUNCTION): Use it.
6350         (DTORS_SECTION_ASM_OP): Define.
6351         (DTOR_SECTION_FUNCTION): Use it.
6352
6353 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
6354
6355         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6356         NOTE_BASIC_BLOCK.
6357
6358         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6359         debug_bb_n): New functions.
6360         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6361         * basic-block.h: Prototype new functions.
6362
6363 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
6364
6365         * configure.in: Add support for avr target.
6366         * configure: Rebuilt.
6367
6368         * invoke.texi: Add AVR invocation docs.
6369         * install.texi: Add information about AVR.
6370         * md.texi: Add AVR constraint letters description.
6371         * extend.texi: Add description for AVR specific attributes.
6372
6373 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
6374
6375         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6376
6377 2000-02-16  Nick Clifton  <nickc@cygnus.com>
6378
6379         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6380         (make_insn_raw): Move RTL check here.
6381
6382 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6383
6384         * version.c: Include gansidecl.h and version.h.
6385
6386         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6387         
6388         * configure.in (gcc_version): When setting, narrow search to
6389         lines containing `version_string'.
6390
6391         * Makefile.in (mainversion): Likewise. 
6392         (GCC_H): New variable.
6393         (gcc.h): Delete target.
6394         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6395         (version.o): Depend on version.h.
6396         (dbxout.o): Don't depend on gcc.h.
6397
6398 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6399                           Michael Meissner  <meissner@cygnus.com>
6400
6401         * md.texi (Simple Constraints): Add item about whitespace.
6402         * genoutput.c (strip_whitespace): New.
6403         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6404         strip_whitespace for constraints.
6405         Test pointer using NULL, not 0.
6406
6407 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6408
6409         * cpplib.c (do_line): Pedwarn for #line > 32767.
6410
6411         * c-lex.c (readescape): Warn about '\x', but do not reject it.
6412
6413 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
6414
6415         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6416         to default cpp spec.
6417         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6418         * cpp.texi: Document __GNUC_PATCHLEVEL__.
6419         * cpp.1: Likewise.
6420
6421         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6422         default spec.
6423
6424 2000-02-15  Denis Chertykov  <denisc@overta.ru>
6425
6426         * configure.in: Add support for avr target.
6427
6428 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6429
6430         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6431         (sh_addr_diff_vec_mode): Don't declare.
6432         * sh.c (sh_addr_diff_vec_mode): Delete.
6433
6434 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6435
6436         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6437
6438 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6439
6440         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6441         (smulsi3_highpart_i): Name.
6442         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6443         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6444         (smulsi3_highpart, umulsi3_highpart): Likewise.
6445
6446         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6447         correctly independent of endianness.
6448         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
6449         confuse the optimizers.
6450         (mulsidi3+1, umulsidi3+1): New define_split.
6451
6452 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
6453
6454         * config/sh/sh.md: Guard insn splits against illegal registers.
6455         * config/sh/sh.h: Correct comment about macros.
6456
6457 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6458                           Andrew MacLeod  <amacleod@cygnus.com>
6459
6460         * Makefile.in (lcm.o): Depend on insn-attr.h.
6461         * basic-block.h (optimize_mode_switching): Declare.
6462         * lcm.c (tm_p.h, insn-attr.h): #include.
6463         (seginfo, bb_info): New structs.
6464         (antic, transp, comp, delete, insert) : New file-scope static variables.
6465         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6466         (reg_becomes_live, optimize_mode_switching): Likewise.
6467         * tm.texi: Add description of mode switching macros.
6468         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6469
6470         * sh-protos.h (remove_dead_before_cse): Remove prototype.
6471         (fldi_ok, fpscr_set_from_mem): New prototypes.
6472         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6473         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6474         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6475         (sh_flag_remove_dead_before_cse): Remove declaration.
6476         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6477         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6478         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6479         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6480         (barrier_align): Allow for JUMP_INSNS containing a parallel.
6481         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6482         (fldi_ok): New function.
6483         (get_fpscr_rtx): Add fpscr_rtx as GC root.
6484         (emit_sf_insn): Only generate fpu switches when optimize < 1.
6485         (emit_df_insn): Likewise.
6486         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6487         (sh_flag_remove_dead_before_cse): Delete.
6488         (get_free_reg, fpscr_set_from_mem): New functions.
6489         * sh.md (movdf, movsf): Remove no_new_pseudos code.
6490         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6491
6492 2000-02-15  Loren Rittle  <ljrittle@acm.org>
6493
6494         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6495
6496 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6497
6498         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6499         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6500
6501         * cccp.c: Include version.h and/or don't declare `version_string'.
6502         * collect2.c: Likewise.
6503         * alpha.c: Likewise.
6504         * arm/aof.h: Likewise.
6505         * arm/coff.h: Likewise.
6506         * arm/elf.h: Likewise.
6507         * arm/pe.h: Likewise.
6508         * arm/tcoff.h: Likewise.
6509         * arm/telf.h: Likewise.
6510         * arm/tpe.h: Likewise.
6511         * arm/vxarm.h: Likewise.
6512         * convex/convex.c: Likewise.
6513         * i386/dgux.c: Likewise.
6514         * i386/sun386.h: Likewise.
6515         * m88k/m88k.c: Likewise.
6516         * mcore/mcore-pe.h: Likewise.
6517         * mips/mips.h: Likewise.
6518         * romp/romp.h: Likewise.
6519         * sh/sh.c: Likewise.
6520         * cpphash.c: Likewise.
6521         * cppinit.c: Likewise.
6522         * dwarf2out.c: Likewise.
6523         * dwarfout.c: Likewise.
6524         * gcc.c: Likewise.
6525         * gcc.h: Likewise.
6526         * mips-tfile.c: Likewise.
6527         * protoize.c: Likewise.
6528         * toplev.c: Likewise.
6529         * tree.h: Likewise.
6530         
6531         * version.c (version_string): Constify a char*.
6532
6533         * version.h: New file.
6534
6535 2000-02-14  Nick Clifton  <nickc@cygnus.com>
6536
6537         * configure.in: Add mcore-elf and mcore-pe targets.
6538         * configure: Regenerate.
6539
6540         * NEWS: Add note that MCore port has been contributed.
6541
6542         * invoke.texi: Document command line switches for MCore port.
6543         * install.texi: Add MCore to list of supported targets.
6544
6545 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
6546
6547         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6548         then we will need to import the frame handling functions.
6549         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6550         to import the frames themselves.
6551
6552 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
6553                           Jason Eckhardt  <jle@cygnus.com>
6554
6555         * basic_block.h: Added prototype for reorder_basic_blocks.
6556         * toplev.c: Changes to add -freorder-blocks and graph dump after
6557         block reordering is done.
6558         * flow.c (reorder_block_def): New structure for use during block
6559         reordering.
6560         (REORDER_BLOCK_*): New macros to access members of above structure.
6561         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6562         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6563         functions for block reordering.
6564
6565 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6566
6567         * gcc.texi (Passes): Fix typo.
6568         * md.texi (Standard Names): Ditto.
6569         * tm.texi (Storage Layout): Ditto.
6570
6571 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6572
6573         * cpplib.c (do_define): Only free the old definition if it
6574         actually had one.
6575
6576 2000-02-13   Neil Booth  <NeilB@earthling.net>
6577
6578         * cppfiles.c (read_and_prescan): When emitting deferred
6579         newlines, test speccase[] again instead of checking each
6580         possible whitespace character in turn.  When we encounter \r,
6581         look behind for \n first, then ahead.
6582
6583 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6584
6585         * cse.c (cse_altered): New internal flag.
6586         (cse_insn): Set it if we changed an insn.
6587         (cse_main): Clear cse_altered before each basic block.
6588         Only garbage collect if cse_altered is true afterward.
6589
6590 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6591
6592         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6593
6594 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
6595
6596         * combine.c (simplify_comparison): Fix typo.
6597
6598 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
6599
6600         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6601         consistently.
6602
6603 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6604
6605         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6606         previously inserted node instead of root node.  Caller changed.
6607
6608 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6609
6610         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6611
6612 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6613
6614         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6615         __dereg_frame_dtor): Add prototype argument.
6616
6617         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6618
6619         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6620
6621         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6622
6623         * gthr-vxworks.h (__gthread_once): Likewise.
6624
6625         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6626
6627 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
6628
6629         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6630         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6631         stack pointer in functions w/o saved registers, output LEAVE more often
6632         on TARGET_USE_LEAVE machines.
6633
6634 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6635
6636         * config/arm/arm.c (arm_init_cumulative_args); New function:
6637         Initlaise the CUMULATIE_ARGS strcuture for a function
6638         defintion. 
6639         (arm_function_arg): New function: Determine where to place a
6640         function's argument.  Also handles deciding the function's
6641         call cookie.
6642         (current_file_function_operand): New function: Return true if
6643         the symbol is a function which has already been compiled.
6644         (arm_is_long_call_p): New function: Return true if the
6645         indicated function should be called via a long call.
6646         (arm_valid_type_attribute_p): New function: Return true if the
6647         attribute is a valid, arm specific, attribute.
6648         (arm_comp_type_attribute): New function: Return true if the
6649         two types have compatable, arm specific, attributes.
6650
6651         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6652         structure.
6653         (FUNCTION_ARG): Redefine to call arm_function_arg.
6654         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6655         structure field.
6656         (INIT_CUMULATIVE_ARGS): Redefine to call
6657         arm_init_cumulative_args.
6658         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6659         field. 
6660         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
6661         field. 
6662         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6663         functions.
6664         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6665         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6666         (COMP_TYPE_ATTRIBUTES): Define.
6667
6668         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6669         if a long call is needed.
6670         (call_value): Call arm_is_long_call_p to decide if a long call
6671         is needed.
6672         (call_symbol): Call arm_is_long_call_p to decide if a long call
6673         is needed.
6674
6675         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6676
6677 2000-02-11  Denis Chertykov  <denisc@overta.ru>
6678
6679         * README.AVR: New file with information about the avr ports.
6680         * config/avr: New directory with avr port files.
6681
6682 2000-02-11  Andreas Jaeger  <aj@suse.de>
6683
6684         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6685
6686 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
6687
6688         * cpphash.c: Fix formatting, update commentary.
6689         (dump_definition): Take three separate arguments instead of a
6690         MACRODEF structure argument.
6691         * cpphash.h: Update prototype of dump_definition.
6692         * cppinit.c (cpp_finish): Update call of dump_definition.
6693
6694         * cpplib.c (do_define): Always create new hash entry with
6695         T_MACRO type.  Remove redundant check for redefinition of
6696         poisoned identifier.  Update call of dump_definition.
6697         (do_undef): Don't call check_macro_name.  Rename sym_length to
6698         len.
6699         (do_error, do_warning): Don't use copy_rest_of_line or
6700         SKIP_WHITE_SPACE.
6701         (do_warning): Don't use pedwarn for the actual warning,
6702         only the notice about its not being in the standard.  (Fixes
6703         bug with #warning in system headers.)
6704         (do_ident): Stricter argument checking - accept only a single
6705         string after #ident.  Also, macro-expand the line.
6706         (do_xifdef): Use cpp_defined.  De-obfuscate.
6707
6708         (do_pragma): Split out specific pragma handling to separate
6709         functions.  Use get_directive_token.  Update commentary.  Do
6710         not pass on #pragma once or #pragma poison to the front end.
6711         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6712         do_pragma_default): New.
6713
6714 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
6715
6716         * jump.c (jump_optimize_1): The first operand in a relational
6717         can be a CONST_INT.
6718         * optabs.c (emit_conditional_move): Handle relationals which
6719         have a known true/false result.
6720
6721 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6722
6723         * function.c (thread_prologue_and_epilogue_insns): Don't insert
6724         a RETURN insn into a block which already ends with a jump.
6725
6726 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6727
6728         * haifa-sched.c (BUF_LEN): Increase a lot.
6729
6730 2000-02-11  Nick Clifton  <nickc@cygnus.com>
6731
6732         * configure.in: Add tm_p_file specification for thumb targets.
6733         * configure: Regenerate.
6734
6735         * config/arm/thumb-protos.h: New file: Prototypes for exported
6736         functions defined in thumb.c.
6737
6738 2000-02-11  Robert Lipe  <robertl@sco.com>
6739
6740         * Makefile.in (bootstrap-lean): Remove additional files.
6741         (bootstrap2-lean): Likewise.
6742         (VOL_FILES): List of files for above.
6743
6744 2000-02-11  Nathan Sidwell  <nathan@acm.org>
6745
6746         * cpphash.c (special_symbol): Remove spurious argument to
6747         cpp_lookup.
6748
6749 2000-02-11  Joel Sherrill (joel@OARcorp.com>
6750
6751         * configure.in: (i*86-*-rtems*): Swapped elf and coff
6752         stanzas.
6753         * configure: Rebuilt.
6754
6755 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
6756         
6757         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6758
6759 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
6760
6761         * pa.c, pa.h: Remove trigraph sequences within comments.
6762
6763 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
6764
6765         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6766
6767 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
6768
6769         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6770
6771 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6772         
6773         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6774
6775 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6776
6777         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6778         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6779         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6780         (ASM_FILE_END): Use c4x_file_end.
6781         * config/c4x/c4x.c (c4x_global_label): New function.
6782         (c4x_external_ref, c4x_file_end): Likewise.
6783
6784         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6785         (c4x_external_ref, c4x_end_file): Likewise.
6786
6787 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
6788
6789         * cppexp.c: Don't include cpphash.h.
6790         (parse_charconst, cpp_lex): Use cpp_defined.
6791         (cpp_lex): Use get_directive_token throughout.  Remove
6792         unnecessary cases from switch.  Move assertion-handling code
6793         down to OTHER case.
6794         (cpp_parse_expr): If we see '+' or '-', check the context to
6795         determine if they are unary or binary operators.  Streamline
6796         the jumps a bit.  Do not call skip_rest_of_line.
6797
6798         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6799         static.  Export get_directive_token.  Update commentary.
6800         (cpp_defined): New function.
6801         (do_define): Remove reference to T_PCSTRING.  Call
6802         free_definition to release memory for old definition, when
6803         redefining a macro.
6804         (eval_if_expression): Set only_seen_white to 0 before calling
6805         cpp_parse_expr.  Call skip_rest_of_line after it returns.
6806         (cpp_read_check_assertion): Don't preserve a pointer into the
6807         token buffer across a call to cpp_get_token.
6808
6809         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6810         * cppfiles.c (redundant_include_p): Use cpp_defined.
6811         * cpphash.c (free_definition): New function.
6812         (delete_macro): Use it.  Update commentary.
6813         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
6814         free_definition.
6815         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6816         from enum node_type.  Prototype cpp_defined and get_directive_token.
6817         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6818
6819         * fix-header.c (check_macro_names): Use cpp_defined.
6820         (read_scan_file): Set inhibit_warnings and inhibit_errors in
6821         the options structure.
6822
6823 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6824
6825         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6826
6827 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
6828
6829         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6830         rather than die->die_tag.
6831
6832 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6833
6834         * combine.c (make_extraction, force_to_mode): Avoid warning on
6835         mixed-signedness conditionals.
6836         (make_field_assignment, nonzero_bits): Likewise.
6837         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6838         (store_split_bit_field, extract_split_bit_field): Likewise.
6839         (extract_fixed_bit_field, store_bit_field, 
6840         * expr.c: Change alignment to be unsigned everywhere.
6841         (move_by_pieces, store_constructor_field, store_constructor): 
6842         Alignment parm is unsigned.
6843         (emit_block_move, emit_group_load, emit_group_store): Likewise.
6844         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6845         (do_compare_rtx_and_jump): Likewise.
6846         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6847         Compare align with GET_MODE_ALIGNMENT.
6848         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6849         (get_inner_reference): Likewise.
6850         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6851         (expand_assignment): Local vars for alignment now unsigned.
6852         (store_constructor, store_field, expand_expr, do_jump): Likewise.
6853         (do_compare_and_jump): Likewise.
6854         (store_field): Call new function expr_align.
6855         * expr.h (emit_block_move, emit_group_load, emit_group_store):
6856         Alignment arg now unsigned.
6857         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6858         (do_compare_rtx_and_jump, store_bit_field): Likewise.
6859         (extract_bit_field): Likewise.
6860         * fold-const.c (add_double): Add cast to eliminate signedness warning.
6861         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6862         (get_best_mode): Alignment arg is unsigned.
6863         * rtl.h (move_by_pieces): Likewise.
6864         * store-layout.c (maximum_field_alignment, set_alignment):
6865         Now unsigned.
6866         (layout_decl): Alignment arg is now unsigned.
6867         Remove unneeded casts.
6868         (layout_record, layout_union, layout_type): Remove unneeded casts.
6869         Local alignment variables now unsigned.
6870         (get_best_mode): Alignment arg now unsigned.
6871         * tree.c (expr_align): New function.
6872         * tree.h (expr_align): Likewise.
6873         (maximum_field_alignment, set_alignment): Now unsigned.
6874         (get_inner_reference): Alignment argument is now pointer to unsigned.
6875         * varasm.c (assemble_variable): Add cast to eliminate warning.
6876
6877 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
6878
6879         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6880         then store directly into op0.
6881
6882         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6883         the CALL_INSN, and emit the note immediately after it.
6884
6885 2000-02-10  Nick Clifton  <nickc@cygnus.com>
6886
6887         * config/arm/thumb.md (epilogue): Include a (return) in the
6888         generated insn, and emit it using emit_jump_insn not
6889         emit_insn. 
6890
6891 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
6892
6893         * function.c (assign_temp): Change zero-sized arrays to size 1.
6894         * integrate.c (expand_inline_function): Do not update
6895         stack_alignment_needed
6896         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6897         add some sanity checking, remove optimization for function with
6898         zero frame size.
6899
6900 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6901
6902         * flow.c (mark_regs_live_at_end): Delete unused variables.
6903
6904         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6905
6906         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6907         in macro FRAME_GROWS_DOWNWARD.
6908
6909         * stmt.c (expand_end_bindings): Delete unused variable.
6910
6911         * unroll.c (iteration_info): Mark parameter `loop' with
6912         ATTRIBUTE_UNUSED.
6913
6914 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6915
6916         * fixinc/server.c (load_data): Return NULL if the marker line is
6917         not found.
6918         (run_shell): If load_data returns NULL, retry the command once, in
6919         a new shell.
6920
6921         * configure: Rebuilt.
6922
6923 2000-02-09  Bruce Korb  <bkorb@gnu.org>
6924
6925         * gcc/fixincludes:  ** DELETED **
6926         * gcc/fixcpp:  ** DELETED **
6927         * gcc/fixinc-nt.sed:  ** DELETED **
6928         * gcc/just-fixinc:  ** DELETED **
6929         * gcc/Makefile.in:  Removed out-dated commentary
6930         * gcc/configure.in: Removed fast-fixincludes disablement.
6931         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6932
6933 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6934         * function.c (thread_prologue_and_epilogue_insns): Uncomment
6935         last change.
6936
6937 2000-02-09  Richard Henderson  <rth@cygnus.com>
6938
6939         * jump.c (delete_insn): Don't delete user labels at -O0.
6940
6941 2000-02-09  Robert Lipe  <robertl@sco.com>
6942
6943         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6944         Don't link with HOST_LIBS. 
6945
6946 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6947
6948         * configure.in: Correct --help text for --with-dwarf2.
6949         Put tm-dwarf2.h after other tm files, if it's requested.
6950         * configure: Regenerate.
6951         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
6952         defining it.
6953
6954 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6955
6956         * cpplib.h: Provide HASHNODE typedef and forward decl of
6957         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
6958         DEFINITION, struct hashnode, struct macrodef, struct
6959         definition, scan_decls prototype, default defn of
6960         INCLUDE_LEN_FUDGE moved elsewhere.
6961
6962         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
6963         definition, and struct hashnode moved here. Remove the unused
6964         'predefined' field from struct definition.  Replace the 'args'
6965         union with its sole member.  All users updated (cpphash.c).
6966         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
6967         multiple include guard.
6968
6969         * cpphash.c (hashf): Make static; use better algorithm; drop
6970         HASHSIZE parameter; return an unsigned int.
6971         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
6972         used. Calculate HASHSIZE modulus here.
6973         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
6974         here.
6975         (create_definition): Drop PREDEFINITION parameter.
6976         * cpplib.c (do_define): Don't calculate a hash value here.
6977         Don't pass (keyword == NULL) to create_definition.
6978
6979         * scan.h: Prototype scan_decls here.
6980         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
6981         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
6982         callers of cpp_lookup and cpp_install updated.
6983         
6984         * cpphash.c (macarg): Hoist all the flag diddling out of the
6985         function...
6986         (macroexpand): ... and out of the loop that calls macarg.
6987         Skip over the initial paren before macro arguments with
6988         cpp_get_non_space_token; point may be some distance before
6989         that paren.  Abort if it's not there.
6990
6991         * cpplib.c (parse_clear_mark): Delete function.
6992         (parse_set_mark, parse_goto_mark): Make static.
6993         (ACTIVE_MARK_P): New macro.
6994         (skip_block_comment, skip_line_comment): Do not bump the line
6995         if ACTIVE_MARK_P is true.
6996         (cpp_pop_buffer): The buffer to be popped may not have an
6997         active mark.
6998         (cpp_get_token): When looking for the initial paren before
6999         macro arguments, only set a mark in a file buffer, Always
7000         return to that mark before proceeding to call macroexpand or
7001         return a NAME token.
7002
7003         * cpplib.h: Remove prototypes of parse_set_mark,
7004         parse_clear_mark, parse_goto_mark.
7005         (struct cpp_options): Rename 'put_out_comments' to
7006         'discard_comments' and invert its sense.
7007         * cppinit.c, cpphash.c, cpplib.c: All users of
7008         put_out_comments changed to use discard_comments, with
7009         opposite sense.
7010
7011 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7012
7013         * function.c (thread_prologue_and_epilogue_insns): Don't delete
7014         the edge from a block that both jumps and falls through to the
7015         fallthru block.
7016
7017 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
7018
7019         * config/arm/arm.md (movsi): In PIC mode, make sure that a
7020         constant source address is legitimate.
7021
7022 2000-02-09  Philip Blundell  <pb@futuretv.com>
7023
7024         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7025         correctly.
7026
7027         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7028         generating PIC.
7029         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7030
7031 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7032
7033         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7034         ends with a newline and a NUL.  Don't be so clever manipulating
7035         strings.
7036
7037 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7038
7039         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7040         not to BIGGEST_ALIGNMENT.
7041
7042 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
7043
7044         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7045         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7046         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7047         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7048         * frame.c (execute_cfa_insn): Handle 
7049         DW_CFA_GNU_negative_offset_extended.
7050
7051 2000-02-08  Richard Henderson  <rth@cygnus.com>
7052
7053         * flow.c (tidy_fallthru_edges): Split out from ...
7054         (delete_unreachable_blocks): ... here.
7055         (find_basic_blocks): Use it.
7056
7057 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7058
7059         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7060
7061 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
7062
7063         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7064         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7065         (fix-header.o): Don't depend on cpphash.h.
7066
7067         * scan.c (hashstr): New function. 
7068         * scan.h: Prototype it.
7069         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
7070         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
7071         hashstr.  Report hash table statistics.  Add private     
7072         definition of xrealloc.
7073
7074 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7075
7076         * i386.h (TARGET_SWITCHES): Fix typo in option name.
7077
7078 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
7079
7080         * function.c (thread_prologue_and_epilogue_insns): Don't replace
7081         jumps with returns unless they are jumps to the fallthru block.
7082
7083 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
7084
7085         * i386.md (addqi3_cc): Fix contraints.
7086
7087 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7088
7089         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7090
7091 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
7092
7093         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7094         carriage return after a macro name.
7095
7096 2000-02-07  Fred Fish  <fnf@be.com>
7097
7098         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7099         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7100
7101 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
7102
7103         * cppfiles.c (deps_output): Count spacers in deps_column.
7104
7105 2000-02-07  Neil Booth  <NeilB@earthling.net>
7106
7107         * cppinit.c (initialize_dependency_output): If there is no
7108         suffix, don't try to look for known suffixes.  Use strrchr.
7109         (cpp_start_read): Remove duplicate initialization.
7110
7111 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
7112
7113         * calls.c (compute_argument_block_size): New argument
7114         preferred_stack_boundary.
7115         (expand_call): update cfun->preferred_stack_boundary, update call of
7116         compute_argument_block_size
7117         (emit_library_call): Increate cfun->preferred_stack_boundary
7118         to PREFERRED_STACK_BOUNDARY
7119         (emit_library_call_value): Likewise.
7120         * explow.c (allocate_dynamic_stack_spave): Likewise.
7121         * function.c (prepare_function_start): Set
7122         cfun->preferred_stack_boundary
7123         * function.h (struct function): Add preferred_stack_boundary field.
7124         * integrate.c (expand_inline_function): Update
7125         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7126         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7127         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7128
7129 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
7130
7131         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7132         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7133         cpp_pedwarn, cpp_pedwarn_with_line,
7134         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7135         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7136         v_cpp_error_with_line, v_cpp_warning_with_line,
7137         cpp_message_from_errno, cpp_perror_with_name): Delete.
7138
7139         * cpperror.c (cpp_print_containing_files): Take starting
7140         buffer as argument.
7141         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7142         (v_cpp_message): Now called directly by all entry points.
7143         Remove -1 case.
7144         (cpp_pfatal_with_name, cpp_message): Delete.
7145         (cpp_notice_from_errno, cpp_ice): New functions.
7146         (cpp_notice): Is now for reporting error conditions, just
7147         without an associated file.
7148         (cpp_error, cpp_error_with_line): Don't do anything if
7149         opts->inhibit_errors is on.
7150         (cpp_pedwarn_with_file_and_line): Take column argument also.
7151
7152         * cpplib.h: Update prototypes of exported functions.
7153         (struct cpp_options): Add inhibit_errors.
7154
7155         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7156         non-error messages.  Include intl.h.
7157
7158         * cppinit.c, cppmain.c: Likewise.  Also, use
7159         cpp_notice_from_errno instead of cpp_perror_with_name or
7160         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7161
7162         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7163         report internal errors.
7164
7165         * cpplib.c (do_define): Switch bcopy to memcpy.
7166         Give cpp_pedwarn_with_file_and_line a dummy column argument.
7167
7168         * cpplib.c (copy_rest_of_line): Revert previous change: don't
7169         bail out early if we hit a line comment.
7170
7171 2000-02-06  Richard Henderson  <rth@cygnus.com>
7172
7173         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7174         * basic-block.h: Declare them.
7175         * emit-rtl.h (active_insn_p): New.
7176         (next_active_insn, prev_active_insn): Use it.
7177         * rtl.h: Declare it.
7178         * function.c (emit_return_into_block): New.
7179         (thread_prologue_and_epilogue_insns): Insert return insns instead
7180         of epilogues when possible.
7181         * jump.c (jump_optimize_1): Remove code to insert a return insn
7182         on the fallthru to the exit block.
7183
7184         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7185         and for non-empty stack frames.
7186         * i386.md (return): Expand to return-pop as needed.
7187
7188 2000-02-06  Richard Henderson  <rth@cygnus.com>
7189
7190         * simplify-rtx.c (simplify_relational_operation): Canonicalize
7191         constant to op1 for testing.
7192
7193 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7194
7195         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7196         (fixuns_truncqfqi2): Use it.
7197
7198 2000-02-06  Richard Henderson  <rth@cygnus.com>
7199
7200         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7201         as a TYPE_LEA insn.
7202
7203         * i386.md (widening and peepholes): Mask the constant instead of
7204         using gen_lowpart.
7205
7206 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7207
7208         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7209         input pointer before possibly branching off to the backslash
7210         code.
7211         * cpphash.c (macroexpand): Correctly delete \r escapes when
7212         stringifying parameters.
7213         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7214         if we can; bail out early if we hit a line comment.
7215         (handle_directive): Treat '# 123' in an .S file just like
7216         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
7217         Return 1 for '# not_a_directive'.
7218         (get_directive_token): Pop macro buffers here, so that
7219         cpp_get_token can't sneakily move past a newline.
7220         Add sanity checks. 
7221         (cpp_get_token): goto randomchar if handle_directive returns 0.
7222
7223         * cppalloc.c: Update copyright.
7224         * cpplib.c: Merge all the static function prototypes into one
7225         block.
7226         * cpplib.h: Remove #if 0 block.
7227
7228         * cpperror.c: Remove #ifdef EMACS block.
7229         * cppmain.c: Likewise.
7230         * cpphash.c: Remove #if 0 blocks.
7231         * cppinit.c: Remove #if 0 blocks, and the -lint option.
7232         * cpplib.c: Remove #if 0 blocks and code referencing
7233         pcp_inside_if or for_lint.  Remove duplicate error message.
7234         Fix error messages for #else after #else or #elif.  Reformat.
7235         Remove archaic TODO list.
7236         * cpplib.h: Remove pcp_inside_if and for_lint flags.
7237
7238 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7239
7240         * i386/osf1elf.h: Add missing backslash to multiline string.
7241
7242 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7243
7244         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7245
7246 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7247
7248         * Makefile.in (c-common.o): Depend on $(EXPR_H).
7249
7250         * c-common.c: Include expr.h.
7251
7252         * c-pragma.c (mark_align_stack): Add prototype.
7253
7254         * caller-save.c (add_stored_regs): Likewise.
7255
7256         * combine.c (record_promoted_value): Likewise.
7257
7258         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7259         Likewise.
7260
7261         * cppinit.c (new_pending_define): Likewise.
7262
7263         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7264
7265         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7266         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7267         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7268         class_scope_p): Likewise.
7269
7270         * dwarf2out.h (dwarf2out_set_demangle_name_func,
7271         dwarf2out_add_library_unit_info): Likewise.
7272
7273         * ggc.h (ggc_page_print_statistics): Likewise.
7274
7275         * haifa-sched.c (propagate_deps): Likewise.
7276
7277         * reg-stack.c (next_flags_user, record_label_references): Likewise.
7278
7279         * rtl.h (set_stack_check_libfunc): Likewise.
7280
7281         * toplev.h (set_fatal_function): Likewise.
7282
7283         * toplev.c (set_fatal_function): Delete prototype.
7284         
7285         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7286         
7287 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7288
7289         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7290         (FUNC_END): Likewise.
7291
7292 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7293
7294         * caller-save.c: Include tm_p.h.
7295
7296 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7297
7298         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7299
7300 2000-02-04  Neil Booth  <NeilB@earthling.net>
7301
7302         * cccp.c (main): Check 'dir' for a NULL pointer before passing
7303         it to strcmp.
7304
7305 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
7306
7307         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7308         * genflags.c: Use the max_operand_1 logic from genemit.c to
7309         calculate how many arguments gen_insn prototypes have.  Remove
7310         NO_MD_PROTOTYPES ifdefs from the generated file.
7311         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7312         file.  Cast gen_insn initializers to insn_gen_fn.
7313         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7314         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7315
7316 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7317
7318         * fixinc/Makefile.in (HDR): Add machname.h.
7319         (clean): Likewise.
7320
7321 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7322
7323         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7324         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7325         (c4x_cpu_version): Ditto.
7326         * config/c4x/c4x-protos.h: ... here.
7327
7328 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
7329
7330         * dwarf2out.c (add_abstract_origin_attribute): Don't call
7331         gen_abstract_function on our context if we're a nested function.
7332
7333 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7334
7335         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7336         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7337
7338 2000-02-04  Bruce Korb  <bkorb@gnu.org>
7339
7340         * fixinc/genfixes(machname.h):
7341         Move the functionality from gen-machine.h into this file.
7342         UNdef MN_NAME_PAT if there are no names to change.
7343         Also, be a little kinder when AutoGen is not present.
7344
7345         * fixinc/Makefile.in(machname.h):
7346         Change the generation rule to use genfixes.
7347
7348         * fixinc/fixfixes.c(machine_name):
7349         machine_name_fix's functionality now dependent upon whether
7350         MN_NAME_PAT is defined.
7351
7352         * fixinc/fixtests.c(machine_name):
7353         ditto.
7354
7355         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7356         of MN_NAME_PAT.
7357
7358         * fixinc/fixlib.h(mn_get_regexps):
7359         ditto
7360
7361         * fixinc/gen-machine.h: DELETED
7362
7363 2000-02-04  Jan Hubicka  <jh@suse.cz>
7364             Richard Henderson  <rth@cygnus.com>
7365
7366         * i386.c (SAVE_REGS_FIRST): Remove.
7367         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7368         (ix86_compute_frame_size): Likewise.
7369         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
7370         (ix86_emit_restore_regs): Remove.
7371         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7372         when a frame pointer is in use.
7373         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
7374         instead of pop to restore a register when profitable; emit leave
7375         when profitable.
7376         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7377         as a TYPE_LEA insn.
7378         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7379         * i386.md (prologue_allocate_stack): Remove.
7380         (epilogue_deallocate_stack): Remove.
7381         (pro_epilogue_adjust_stack): New.
7382
7383 2000-02-04  Richard Henderson  <rth@cygnus.com>
7384
7385         * function.c (diddle_return_value): Rework to use a callback function.
7386         Use current_function_return_rtx if it's been set up.
7387         (do_clobber_return_reg, clobber_return_register): New.
7388         (do_use_return_reg, use_return_register): New.
7389         (expand_function_end): Use them.
7390         * stmt.c (expand_null_return): Likewise.
7391         * function.h: Declare them.
7392         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7393         (mark_reg): Change arguments as appropriate for callback.
7394         * integrate.c (expand_inline_function): Revert 19 Jan change.
7395
7396 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7397
7398         * tm.texi (Values in Registers): Fix typo: "fo" "for".
7399         (Misc): Say the scheduler, not the Haifa scheduler.
7400
7401 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
7402
7403         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7404         when in_mem is set.  Update all callers.
7405
7406 2000-02-04  Richard Henderson  <rth@cygnus.com>
7407
7408         * i386/openbsd.h (INT_ASM_OP): Define.
7409
7410 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7411
7412         * tm.texi: Fix various typos.
7413
7414 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
7415
7416         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7417         (MD_STARTFILE_PREFIX_1): New macro.
7418
7419 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
7420
7421         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7422         destination when needed.
7423         (strmovsi, strsetsi): New expander.
7424         (strmovsi_1, strsetsi_1): New pattern.
7425         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7426         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7427         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7428         * invoke.texi (align-stringops, inline-all-stringops): Document.
7429
7430 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
7431
7432         * i386/netbsd.h (INT_ASM_OP): Define.
7433
7434 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
7435
7436         * cpplib.h (cpp_reader): Add new flag, no_directives.
7437         * cpphash.c (macarg): Set it.
7438         * cpplib.c (handle_directive): If no_directives is on and we
7439         find a directive, issue an error and discard the line.
7440
7441 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
7442
7443         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7444         FP constants.  Add ! TARGET_FPU check for FP constants.
7445
7446 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
7447         
7448         * flow.c (find_basic_blocks): Don't kill label_value_list
7449         here.
7450         (cleanup_cfg): Kill it here.
7451
7452 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7453
7454         * expr.c (store_field): Ensure ALIGN is no stricter than the
7455         alignment of EXP.
7456
7457 2000-02-02  Richard Henderson  <rth@cygnus.com>
7458
7459         * jump.c (delete_insn): Partially revert 19 Jan change; 
7460         don't convert unused code labels to notes at -O0.
7461
7462 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7463
7464         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7465         split_all_insns to recreate REG_LABEL notes for flow2 pass.
7466
7467 2000-02-01  Richard Henderson  <rth@cygnus.com>
7468
7469         * i386.c (general_no_elim_operand): New.
7470         (nonmemory_no_elim_operand): New.
7471         (ix86_expand_move): Copy eliminable operands before a push.
7472         * i386-protos.h: Declare new functions.
7473         * i386.h (CAN_ELIMINATE): Simplify.
7474         (PREDICATE_CODES): Update.
7475         * i386.md (push insns): Don't allow eliminable register operands.
7476
7477 2000-02-01  Richard Henderson  <rth@cygnus.com>
7478
7479         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7480         replace BLKmode with DECL_RTL's mode.
7481
7482 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
7483
7484         * frame.c (find_fde): Convert for loop to do-while so compiler
7485         sees it's always executed at least once.
7486         * libgcc2.c (BBINBUFSIZE): Kill.
7487         (__bb_init_prg): Use fgets.
7488         (__bb_exit_trace_func): Don't paste strings.
7489         * unroll.c (unroll_loop): Initialize unroll_type, not
7490         unroll_number, and tweak logic to match.
7491
7492         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7493         all failure paths.
7494         (ix86_flags_dependant): Likewise.  Disentangle control flow.
7495         (ix86_sched_reorder): Break guts out to
7496         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7497         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7498         any possible use.
7499
7500         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7501         use string concatenation.  Don't save and restore esi.
7502
7503         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7504         (machname.h): Remove script to separate file.  Use two-step
7505         sequence so target is not created if script fails.
7506         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
7507         identifiers are defined.
7508         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7509         an empty string, machine_name doesn't need to do anything at
7510         all.
7511         (is_cxx_header): Add more cases to regexp.
7512         * fixinc/fixlib.h: Update prototype.
7513         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7514         mn_get_regexps.
7515         * fixinc/fixincl.c: Define NO_BOGOSITY.
7516
7517         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7518         (hp_sysfile): Add missing comma.
7519         (math_exception): Put the wrapper ifdefs at the beginning and
7520         the end of the file.
7521         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7522
7523 2000-02-01  Richard Henderson  <rth@cygnus.com>
7524
7525         * sparc.c (fp_zero_operand): Turn into a normal predicate.
7526         Use CONST0_RTX.  Update all callers.
7527         * sparc.h, sparc-protos.h: Update accordingly.
7528         * sparc.md (fp mov insns): Use fp_zero_operand directly
7529         where applicable.
7530
7531 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7532
7533         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7534         example.
7535
7536 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7537
7538         * Makefile.in (specs.ready): New target.
7539         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7540
7541 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7542
7543         * fixinc.irix: Use unique filenames for writing into /tmp,
7544         * fixinc.ptx: Likewise.
7545         * fixinc.sco: Likewise.
7546         * fixinc.svr4: Likewise.
7547         * fixinc.winnt: Likewise.
7548
7549 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7550
7551         * tsystem.h: New file.
7552
7553         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7554         s-crtS): Depend on tsystem.h.
7555
7556         * crtstuff.c: Include tsystem.h.
7557         * frame.c: Likewise.
7558         * libgcc2.c: Likewise.
7559
7560 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
7561
7562         * builtins.c (expand_builtin_memset): Expand for variable sized
7563         lengths too.
7564
7565 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
7566
7567         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7568         on ABI.
7569
7570 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7571
7572         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7573
7574         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7575
7576 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
7577
7578         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7579         case 3->2 combining (combining with splitting) in which 2 is CC0
7580         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
7581         checked at the begining of the function with the aid of calling 
7582         function 'can_combine_p'. 
7583
7584 2000-01-31  Dave Brolley  <brolley@redhat.com>
7585
7586         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7587
7588 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
7589
7590         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7591         new label.
7592
7593 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7594
7595         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7596         
7597         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7598         PROTO -> PARAMS.
7599
7600 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7601
7602         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7603         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7604         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7605         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7606         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7607         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7608         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7609         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7610         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7611         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7612         
7613         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7614         Add %(cpp_cpu) to CPP_SPEC.
7615
7616         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7617         Add %(cc1_cpu) to CC1_SPEC.
7618
7619 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7620
7621         * c-decl.c (c_decode_option): Accept optional numeric argument to
7622         -Wformat and set warn_format.
7623         * c-common.c: Don't emit warning about non-constant printf format
7624         string unless warn_format > 1.
7625
7626 2000-01-30  Richard Henderson  <rth@cygnus.com>
7627
7628         * alpha.md (return_internal): Allow after reload only.
7629
7630 2000-01-30  Richard Henderson  <rth@cygnus.com>
7631
7632         * i386.c (ix86_compute_frame_size): Omit padding1 if the
7633         local frame size is zero.
7634
7635 2000-01-30  Richard Henderson  <rth@cygnus.com>
7636
7637         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7638         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
7639         * alpha.md (return): Turn into an expander.
7640         (return_internal): Don't use $26.
7641         (epilogue): Emit the return insn.
7642
7643 2000-01-30  Richard Henderson  <rth@cygnus.com>
7644
7645         * alpha.md (negtf2, abstf2): Fix word order thinko.
7646         (extendsftf2): New.
7647         (trunctfsf2): Avoid intermediate rounding errors.
7648
7649 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7650
7651         * cppfiles.c (find_position): Drop 'colp' argument, return the
7652         new line base.
7653         (read_and_prescan): Adjust to match.  Don't ever manipulate
7654         line or line_base except via find_position.
7655
7656 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7657
7658         * c-parse.in: Apply Ulrich's changes from c-parse.y.
7659         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7660         Regenerate.
7661
7662 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7663
7664         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7665         just print "<command line>".  If 'filename' is null or an
7666         empty string, print "<stdin>" for the filename.
7667         * cpplib.c (do_define): Don't print the 'location of the
7668         previous definition' message if we're still parsing the
7669         command line.
7670         (cpp_pedwarn_with_file_and_line): Always call
7671         cpp_file_line_for_message.
7672
7673 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
7674
7675         * flow.c (mark_regs_live_at_end): Fix typo.
7676
7677 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7678
7679         * c-common.c: Adjust variable names, comments, help strings to c99.
7680         * c-lex.c: Likewise.
7681         * c-parse.y: Likewise.
7682         * c-tree.h: Likewise.
7683         * cccp.c: Likewise.
7684         * cpplib.h: Likewise.
7685         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
7686         * cppinit.c: Likewise.
7687
7688 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7689
7690         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7691         * c4x.c: Define the optab rtx values.
7692         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7693         (c4x_emit_libcall): Use new optab rtx values.
7694         (c4x_emit_libcall3): Likewise.
7695         (c4x_emit_libcall_mulhi): Likewise.
7696         * c4x-protos.h: Add prototypes for optab rtx values and change
7697         prototypes for above c4x_emit_libcall functions.
7698
7699 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7700
7701         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7702         syntax is used.
7703         (c4x_function_prologue): Use regnames intead of float_reg_names when
7704         TI syntax is used.
7705         (c4x_function_epilogue): Likewise.
7706         (c4x_print_operand): Likewise.
7707         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7708         * c4x.md (set_high): Disable for TARGET_TI.
7709
7710 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7711
7712         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7713         of framepointer + constant to ADDR_REGS class.
7714         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7715         * c4x.c (std_or_reg_operand): New function.
7716         * c4x-protos.h (std_or_reg_operand): Prototype it.
7717
7718 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7719
7720         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7721                 object names as libgcc2.c.
7722         * libgcc.S: Use newly defined names.
7723
7724 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
7725         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7726         function.
7727         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7728         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7729         (FLOW_LOOP_LAST_BLOCK): Likewise.
7730
7731 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7732
7733         * basic-block.h (struct loop): New fields 'first' and 'last'.
7734         * flow.c (flow_loops_find): Compute loop->first and loop->last.
7735         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7736         and loop->last to check for NOTE_INSN_LOOP_END.
7737
7738 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
7739
7740         * predict.c (estimate_probability): Use the new FIRST and LAST fields
7741         of the loop descriptor rather than HEADER and LATCH. Also added
7742         missing break statements as well making some coding style modifications
7743         as suggested by Michael Hayes.
7744
7745 2000-01-28  Richard Henderson  <rth@cygnus.com>
7746
7747         * flow.c (find_basic_blocks): Remove do_cleanup argument.
7748         Break out that code ...
7749         (cleanup_cfg): ... here.
7750         (commit_one_edge_insertion): Detect a return instruction being
7751         emitted to an edge.  Emit a barrier following; clear fallthru.
7752         (commit_edge_insertions): Verify CFG consistency.
7753         * function.c (expand_function_start): Kill unused variable.
7754         (expand_function_end): Likewise.
7755         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7756         to insert the epilogue.
7757
7758         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7759         (delete_null_pointer_checks): Likewise.
7760         * output.h: Likewise.
7761         * reg-stack.c (reg_to_stack): Likewise.
7762         * toplev.c (rest_of_compilation): Likewise.  Run
7763         thread_prologue_and_epilogue_insns after rebuilding the CFG.
7764
7765 2000-01-28  Richard Henderson  <rth@cygnus.com>
7766
7767         * Makefile.in (flow.o): Revert 24 Jan change.
7768         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
7769         FUNCTION_VALUE result to DECL_RESULT's mode.
7770
7771         * haifa-sched.c (schedule_insns): Don't recompute reg info
7772         after reload.
7773
7774 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
7775
7776         * configure.in: Make --enable-cpplib the default.
7777         * configure: Regenerate.
7778         * gcc.dg/990119-1.c: No longer expected to fail.
7779
7780 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
7781
7782         * jump.c (jump_optimize_1): Delete an optimization that is also done
7783         by merge_blocks in flow.
7784
7785 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7786
7787         * diagnostic.c (build_message_string, output_printf,
7788         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7789         (build_location_prefix): Fix non-literal format string.
7790
7791 2000-01-27  Richard Henderson  <rth@cygnus.com>
7792
7793         * alpha.md (trunctfsf2): New.
7794
7795 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
7796
7797         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7798
7799 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7800
7801         * cppinit.c (cpp_handle_option): Recognize C++ comments under
7802         -std=gnu89.
7803         * cpplib.c (skip_block_comment, skip_line_comment): Split code
7804         out of...
7805         (skip_comment) ... here.  Permit C++ comments in system
7806         headers always.  Warn about C++ comments in user code under
7807         -std=gnu89 -pedantic.
7808         (copy_comment): Use skip_comment.
7809         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7810         return EOF.
7811         (consider_directive_while_skipping, do_else, do_endif): Call
7812         validate_else unconditionally.
7813         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
7814         text after the conditional in a system header.
7815         * cpplib.h (struct cpp_buffer): Add flag
7816         warned_cplusplus_comments.
7817
7818 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7819
7820         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7821         Use unshare_all_rtl_1.
7822         (unshare_all_rtl_again): New function.
7823         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7824
7825         * function.c (purge_addressof_1): Use unshare_all_rtl_again
7826         rather than resetting the 'used' flags ourself.
7827
7828         * toplev.c (rest_of_compilation): Add current_function_decl
7829         to the unshare_all_rtl call.
7830         * tree.h: Prototype unshare_all_rtl.
7831         * rtl.h: Prototype unshare_all_rtl_again here.
7832
7833 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7834
7835         * genoutput.c (output_prologue): Include ggc.h in generated
7836         files.
7837         * Makefile.in (insn-output.o): Depends on ggc.h.
7838
7839 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7840             Hans-Peter Nilsson  <hp@bitrange.com>
7841
7842         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7843         Remove redundant include of xm-ns32k.h.
7844         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7845         Remove redundant include of xm-ns32k.h.
7846         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7847         Remove redundant include of xm-ns32k.h.
7848         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7849
7850         * ns32k/ns32k.h: Update comment on multiply-add instructions.
7851         (TARGET_SWITCHES): Add documentation strings.
7852         (DWARF_FRAME_REGNUM): Override default definition.
7853         (REG_CLASS_CONTENTS): Add comments.
7854         (SUBSET_P): Format to reduce line length.
7855         (SMALL_REGISTER_CLASSES): Make a run time option.
7856         (GO_IF_NONINDEXED_ADDRESS): Reformat.
7857         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7858         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
7859         (regclass_map): fix typo in comment.
7860         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7861         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7862         (trace, reg_or_mem_operand): Delete, unused function.
7863         (calc_address_cost): Small offsets are cheaper than large ones.
7864         (expand_block_move): Generate more efficient code when bytes is a
7865         known at compile time.
7866         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7867         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7868         instead of reg_or_mem_operand.
7869
7870         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7871         not general_operand.  Similarly use "=rm" or stricter, not "=g".
7872         For input operands, use stricter constraints than "g" if not
7873         general_operand.  Similarly use stricter predicate than
7874         "general_operand" when stricter constraints than "g" are present,
7875         except for matching constraints.
7876         (movstrsi): Use "memory_operand" for operands 0 and 1.
7877         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7878         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7879         not reg_or_mem_operand.
7880         (udivmoddisi4): Ditto.
7881         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7882         Use nonimmediate_operand for operand 3, not register_operand.
7883         (udivmoddiqi4_internal): Use register_operand for operand 1, not
7884         reg_or_mem_operand.
7885
7886 2000-01-27  Fred Fish  <fnf@be.com>
7887
7888         * gthr-posix.h: Fix typo; compatibily -> compatibility.
7889         * gthr-single.h: Likewise.
7890         * gthr-solaris.h: Likewise.
7891         * gthr-vxworks.h: Likewise.
7892         * gthr-win32.h: Likewise.
7893         * gthr.h: Likewise.
7894
7895 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7896
7897         * cppinit.c: Add " (cpplib)" to end of string printed by
7898         -v / --version.
7899
7900 2000-01-27  Richard Henderson  <rth@cygnus.com>
7901
7902         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7903         testing for a signed comparison.
7904         (alpha_emit_floatuns): New.
7905         * alpha-protos.h: Declare it.
7906         * alpha.md (floatunsdisf2, floatunsdidf2): New.
7907         (extendsfdf2): Tidy.
7908
7909 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
7910
7911         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7912         no -g option specifying debugging format, default to -gstabs+.
7913
7914 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
7915
7916         * calls.c (special_function_p): New argument fork_or_exec.
7917         (expand_call): When profile_arc_flag is set and the function
7918         is in the fork_or_exec group, call __bb_fork_func first.
7919         * libgcc2.c, _bb module (__bb_fork_func): New function.
7920         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7921         output file.
7922         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7923         * tree.h (special_function_p): Update prototype.
7924
7925 2000-01-26  Richard Henderson  <rth@cygnus.com>
7926
7927         * alpha.c (alpha_split_tfmode_pair): New.
7928         * alpha-protos.h: Declare it.
7929         * alpha.md (abstf2, negtf2): New.
7930         (movtf insn): Add input G constraint.
7931         (movtf splitter): Use alpha_split_tfmode_pair.
7932
7933 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7934
7935         * i386/cygwin.h: PROTO -> PARAMS.
7936
7937 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
7938
7939         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7940         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7941         using _Qp_cmp/_Q_cmp and testing the return value.
7942         (print_operand): Call reverse_condition_maybe_unordered if
7943         we are handling CCFPmode or CCFPEmode.
7944         Handle ORDERED, UN* and LTGT comparisons.
7945         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7946         if not TARGET_HARD_QUAD.
7947         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7948         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7949         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7950         Adjust gen_b* calls so that they reflect return comparison of
7951         sparc_emit_float_lib_cmp.
7952
7953 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7954
7955         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
7956         incoming operands array is large enough for one more operand.
7957         (alpha_emit_xfloating_arith): Likewise.
7958
7959 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7960
7961         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
7962         file with one line and no trailing newline.
7963         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
7964         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
7965         checking if the match is on the line.
7966         * fixinc/gnu-regex.c: Provide regerror not __regerror.
7967
7968 2000-01-25  Richard Henderson  <rth@cygnus.com>
7969
7970         * sparc.c (output_cbranch): Fix accidental squashing of the
7971         fp branch pre-delay nop.
7972
7973 2000-01-25  Richard Henderson  <rth@cygnus.com>
7974
7975         * tree.def (UNNE_EXPR): Remove.
7976         * c-typeck.c (build_binary_op): Don't handle it.
7977         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
7978
7979         * rtl.def (UNNE): Remove.
7980         (LTGT): Add.
7981         * jump.c (reverse_condition): Update accordingly.
7982         (swap_condition): Likewise.
7983         (comparison_dominates_p): Handle unordered comparisons.
7984         (reverse_condition_maybe_unordered): New.
7985         * rtl.h (reverse_condition_maybe_unordered): Declare.
7986
7987         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
7988         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
7989         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
7990         * sparc.md (bltgt): New.
7991
7992 2000-01-25  Nick Clifton  <nickc@redhat.com>
7993
7994         * emit-rtl.c (emit_insn): Only check machine class insns for
7995         improper emission of a RETURN.
7996
7997 2000-01-25  Richard Henderson  <rth@cygnus.com>
7998
7999         * Makefile.in (flow.o): Depend on $(EXPR_H).
8000         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8001         duplicate the structure of diddle_return_value for keeping regs live.
8002
8003 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8004
8005         * loop.c (current_loop_info): Delete.
8006         (consec_sets_invariant_p): Add loop argument, update callers.
8007         (get_condition_for_loop): Likewise.
8008         (count_nonfixed_reads, update_giv_derive): Likewise.
8009         (simplify_giv_expr, general_induction_var): Likewise.
8010         (consec_sets_giv, recombine_givs): Likewise.
8011         (move_movables): Delete loop_start and loop_end arguments,
8012         add loop argument, and update callers.
8013         (find_mem_givs, check_final_value): Likewise.
8014         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8015         (loop_invariant_p): Rename from invariant_p, add loop argument, and
8016         update callers.
8017         (basic_induction_var): Add loop argument, delete loop_level argument,
8018         and update callers.
8019         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8020         add loop argument, and update callers.
8021         (find_splittable_regs, find_splittable_givs): Likewise.
8022         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8023         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8024         (biv_total_increment): Delete loop_start and loop_end arguments;
8025         update callers.
8026         (precondition_loop_p): Delete loop_start and loop_info arguments;
8027         update callers.
8028         * loop.h (get_condition_for_loop): Add loop argument.
8029         (biv_total_increment): Delete loop_start and loop_end arguments.
8030         (precondition_loop_p): Delete loop_start and loop_info arguments;
8031         add loop argument.
8032         (final_biv_value): Delete loop_start and loop_end arguments;
8033         add loop argument.
8034         (final_giv_value, back_branch_in_range_p): Likewise.
8035
8036 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8037
8038         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8039
8040 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8041
8042         * Makefile.in (c-gperf.h) : Change the "See" pointer to
8043         point to the new "generated_files" doc.
8044
8045 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8046
8047         * config/fp-bit.c (_unord_f2): Fix typo.
8048
8049 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8050
8051         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8052         c-typeck.c, objc/objc-act.c: Remove all references to obstack
8053         functions obsoleted by GC, such as push_obstacks_nochange,
8054         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8055         and code which existed only to decide whether or not to call
8056         them.  Remove now-unused NESTED argument from start_function;
8057         all callers changed.  Do not change behavior based on ggc_p.
8058         The use of the ixp_obstack in c-iterate.c and the util_obstack
8059         in objc/objc-act.c remain; these are not obsoleted by garbage
8060         collection.
8061         * c-tree.h: Update prototype for start_function.
8062
8063         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8064
8065 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8066
8067         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8068         mips16.
8069
8070 2000-01-25  Richard Henderson  <rth@cygnus.com>
8071
8072         * sparc-protos.h (select_cc_mode): Declare.
8073         * sparc.c (select_cc_mode): New.  Handle unordered compares.
8074         (output_cbranch): Always reverse via code change.  Handle
8075         unordered compares.  Factor tests and string updates.
8076         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8077         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8078         * sparc.md (bunordered, bordered): New.
8079         (bungt, bunlt, buneq, bunge, bunle): New.
8080
8081 2000-01-25  Richard Henderson  <rth@cygnus.com>
8082
8083         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8084         * ggc-common.c (ggc_add_rtx_varray_root): New.
8085         (ggc_mark_rtx_varray): New.
8086         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
8087         functions down below ggc_mark_foo.
8088         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8089
8090 2000-01-25  Richard Henderson  <rth@cygnus.com>
8091
8092         * alpha.c (secondary_reload_class): Don't allocate a secondary
8093         for integral mode memories into FLOAT_REGS.  Rearrange the more
8094         complicated memory expression inward.
8095
8096 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8097
8098         * inclhack.def: Fixes to play nicer with FreeBSD, and
8099         corrections to comments.
8100         (cxx_unready): Add select expression.
8101         (irix_sockaddr): Add bypass expression.
8102         (machine_ansi_h_va_list): New fix.
8103         (stdio_va_list): No need to edit _BSD_VA_LIST_.
8104         Split out addition of "#include <stdarg.h>" to...
8105         (stdio_stdarg_h): ... here.
8106         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
8107         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
8108         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8109         size_t.
8110         (ultrix_ifdef): Tighten up select expression.
8111
8112         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
8113         re_ct and max_mach to avoid use of shell.  Make printed names
8114         match names in inclhack.def.  Use static copyright date.
8115         Don't count c_test and test expressions as requiring regex_t
8116         slots.  Add some commentary.
8117         * inclhack.tpl: Do not include the 'This script contains N
8118         fixup scripts' line if PROGRAM is defined.  Use static
8119         copyright date.
8120
8121 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
8122
8123         * dwarf2out.c: include "varray.h", not dyn-string.h.
8124         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8125         (addr_const_to_string, addr_to_string): Lose.
8126         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8127         (struct dw_val_struct): val_addr is now an rtx.
8128         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8129         (used_rtx_varray): New varray.
8130         (dwarf2out_init): Initialize it.
8131         (save_rtx): New fn.
8132         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8133         addr_to_string.
8134         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8135         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8136         * Makefile.in (dwarf2out.o): Update dependencies.
8137
8138 2000-01-24  Richard Henderson  <rth@cygnus.com>
8139
8140         * i386.c (i386_dwarf_output_addr_const): New.
8141         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8142
8143         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8144         if defined.
8145         * dwarfout.c (output_mem_loc_descriptor): Likewise.
8146         * i386.c (i386_simplify_dwarf_addr): New.
8147         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8148
8149 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
8150
8151         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8152         TYPE_STUB_DECL is NULL.
8153
8154 2000-01-24  Richard Henderson  <rth@cygnus.com>
8155
8156         * builtins.c (expand_tree_builtin): Move ...
8157         * c-common.c (expand_tree_builtin): ... here.
8158
8159 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8160
8161         * loop.h (LOOP_INFO): New accessor macro.
8162         * basic-block.h (struct loop): Rename field `info' to `aux'.
8163         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8164         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8165         * unroll.c (loop_iterations, unroll_loop): Likewise.
8166
8167 2000-01-24  Christopher Faylor <cgf@cygnus.com>
8168
8169         * config/i386/t-cygwin: Accomodate new winsup directory layout
8170         when searching for include files.
8171
8172 2000-01-24  Richard Henderson  <rth@cygnus.com>
8173
8174         * rtl.def: Add unordered fp comparisions.
8175         * tree.def: Likewise.
8176         * tree.h: Add ISO C 9x unordered fp comparision builtins.
8177
8178         * builtins.c (expand_tree_builtin): New function.
8179         * c-typeck.c (build_function_call): Use it.
8180         (build_binary_op): Support unordered compares.
8181         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8182
8183         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8184         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8185         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8186         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8187         * jump.c (reverse_condition): Don't abort for UNLE etc, but
8188         return UNKNOWN.
8189         (swap_condition): Handle unordered compares.
8190         (thread_jumps): Check can_reverse before reversing.
8191         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
8192         reversed for FP.
8193
8194         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
8195         setcc is present before acking for cmp_optab.  Update all callers.
8196         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8197         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8198         * expr.c (expand_expr): Likewise.  Support unordered compares.
8199         (do_jump, do_store_flag): Likewise.
8200         * expr.h (enum libfunc_index): Add unordered compares.
8201
8202         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8203         (DPBIT_FUNCS): Add _unord_df.
8204         * config/fp-bit.c (_unord_f2): New.
8205         * fp-test.c (main): Try unordered compare builtins.
8206
8207         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8208         * alpha.c (alpha_comparison_operator): Check mode properly.
8209         (alpha_swapped_comparison_operator): Likewise.
8210         (signed_comparison_operator): Likewise.
8211         (alpha_fp_comparison_operator): New.
8212         (alpha_emit_conditional_branch): Handle unordered compares.
8213         * alpha.h (PREDICATE_CODES): Update.
8214         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8215         (bunordered, bordered): New.
8216
8217 2000-01-24  Richard Henderson  <rth@cygnus.com>
8218
8219         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8220         * alpha.md (movtf): New expander, insn, and splitter.
8221
8222 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
8223
8224         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8225         dead registers.
8226
8227 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8228
8229         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8230         (FIXED_REGISTERS, CALL_USED_REGISTERS,
8231          REG_ALLOC_ORDER): Add frame pointer
8232         (FRAME_POINTER_REGNUM): Set to 20
8233         (HARD_FRAME_POINTER_REGNUM): New macro.
8234         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8235         to HARD_FRAME_POINTER.
8236         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8237         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8238         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8239         (HI_REGISTER_NAMES): Add "frame".
8240         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8241         (debug_reg): Handle FRAME_POINTER_REGNUM.
8242         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8243         GENERAL_REGS and INDEX_REGS.
8244         * i386.c (SAVED_REGS_FIRST): new macro.
8245         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8246         (ix86_decompose_address, memory_address_length): Likewise.
8247         (regclass_map): Add frame pointer.
8248         (call_insn_operand): Handle frame_pointer_rtx.
8249         (reg_no_sp_operand): Likewise.
8250         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8251         (print_operand, legitimize_pic_address): Fix formating.
8252         (ix86_compute_frame_size): Make static, update prototype, new
8253         parameters padding1, padding2, use ix86_nsaved_regs, use
8254         stack_alignment_needed.
8255         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8256         to HARD_FRAME_POINTER_REGNUM conversions.
8257         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8258         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8259         (print_reg): Abort on FRAME_POINTER_REGNUM
8260
8261 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8262
8263         * i386.h (PREDICATE_CODES): Add aligned_operand.
8264         * i386.c (aligned_operand): New function.
8265         (ix86_aligned_p): Kill.
8266         * i386.md (movhi_1): Emit mov for aligned operands.
8267         (promoting peep2s): Use aligned_operand.
8268
8269 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
8270
8271         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8272         expression to allow underscores in macro names.
8273         (fix_char_macro_defines): Increment scanning pointer.
8274
8275 2000-01-23  Richard Henderson  <rth@cygnus.com>
8276
8277         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8278         * alpha/osf5.h: New file.
8279         * configure.in (alpha-*-osf5): Add it to tm_file.
8280
8281         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8282
8283         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8284         (alpha_emit_xfloating_cvt, function_arg): Declare.
8285         * alpha.c (alpha_emit_conditional_branch): Call
8286         alpha_emit_xfloating_compare for TFmode compares.
8287         (alpha_lookup_xfloating_lib_func): New.
8288         (alpha_compute_xfloating_mode_arg): New.
8289         (alpha_emit_xfloating_libcall): New.
8290         (alpha_emit_xfloating_arith): New.
8291         (alpha_emit_xfloating_compare): New.
8292         (alpha_emit_xfloating_cvt): New.
8293         (print_operand): Add default abort case.
8294         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8295         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8296         (BIGGEST_ALIGNMENT): Increase to 128 bits.
8297         (RETURN_IN_MEMORY): True for TF/TCmode.
8298         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8299         (FUNCTION_ARG): Move to function_arg.
8300         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8301         (ASM_OUTPUT_LONG_DOUBLE): New.
8302         (ASM_OUTPUT_DOUBLE): Always output bits.
8303         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8304         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8305         (extenddftf2, trunctfdf2): New.
8306
8307 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8308
8309         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8310         * config/sparc/sol2.h: ... here.
8311
8312 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8313
8314         * basic-block.h (struct loops): New field `levels'.
8315         * flow.c (flow_loops_level_compute): Traverse all outer loops.
8316         (flow_loop_level_compute): Initialise level to 1.
8317         (flow_loops_find): Set loops->levels.
8318         (flow_loops_dump): Print loops->levels.
8319
8320 2000-01-23  Richard Henderson  <rth@cygnus.com>
8321
8322         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8323         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8324
8325 2000-01-23  Richard Henderson  <rth@cygnus.com>
8326
8327         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8328         * i386.h (DBX_REGISTER_NUMBER): Use them.
8329         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8330         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8331         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8332         * i386/sequent.h: Kill incorrect comment.
8333
8334 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
8335
8336         * ggc-page.c (struct page_entry): Make `context_depth' an
8337         `unsigned short'.
8338         (struct globals): Likewise.
8339
8340 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
8341
8342         * loop.c (check_dbra_loop): When checking a loop for
8343         reversability, check the source of any stores to ensure
8344         they don't depend on an initial value.
8345
8346 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8347
8348         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8349
8350 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
8351
8352         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8353         'pz_scan' into scope of entire function.  Only affects
8354         compiles with -DDEBUG.
8355
8356 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8357
8358         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8359         section naming to that prior to 2000-01-07 patch.
8360         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8361         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8362         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8363         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8364         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8365
8366 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8367
8368         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8369         constant.
8370
8371 2000-01-21  Jim Wilson  <wilson@cygnus.com>
8372
8373         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8374         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8375
8376 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8377
8378         * cpphash.c (change_newlines): Delete function.
8379         (struct argdata): Delete 'newlines' and 'use_count' fields.
8380         (macroexpand): Remove code referencing those fields.
8381
8382 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8383
8384         * loop.c (loops_info): New variable.
8385         (loop_optimize): Allocate loops->array and free it on exit.
8386         Allocate memory for loops_info and assign to each loop,
8387         replacing alloca.
8388         (find_and_verify_loops): Do not allocate loops->array.
8389
8390 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8391
8392         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8393
8394 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
8395
8396         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8397         pseudos if expanded after first flow.
8398         (movdi_pic_label_ref): Likewise.
8399
8400 2000-01-20  Richard Henderson  <rth@cygnus.com>
8401
8402         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8403
8404 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
8405
8406         * Makefile.in (fixinc.sh): Depend on specs.
8407         * fixinc/Makefile.in: Add rule to create machname.h.
8408         (fixlib.o): Depend on machname.h.
8409         * fixinc/fixtests.c (machine_name): New test.
8410         * fixinc/fixfixes.c (machine_name): New fix.
8411         * fixinc/fixlib.c (mn_get_regexps): New helper function for
8412         the machine_name test and fix.
8413         * fixinc/fixlib.h: Prototype it.
8414         * fixinc/inclhack.def (machine_name): Use the C test and fix.
8415         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8416
8417         * gcc.c (do_spec_1) [case P]: Take care not to create
8418         identifiers with three leading or trailing underscores.
8419
8420         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8421         (fixincl): Don't specify libraries twice on link line.
8422         (gnu-regex.o): Remove special rule.
8423         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8424         defined by config.h.  Do not define _REGEX_RE_COMP.
8425         (regcomp): Allocate and initialize a fastmap.
8426         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8427
8428 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
8429
8430         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8431
8432 2000-01-19  Richard Henderson  <rth@cygnus.com>
8433
8434         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8435         arguments with BB.  Update all callers.  Tidy line wrapping.
8436
8437 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
8438
8439         * emit-rtl.c (try_split): Return last_insn if we split the
8440         last_insn.
8441
8442 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
8443
8444         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8445         (ix86_initial_elimination_offset): Declare.
8446         * i386.c (ix86_nsaved_regs): Break out from ...
8447         (ix86_can_use_return_insn_p): ... here.
8448         (ix86_emit_save_regs): Break out from ...
8449         (ix86_expand_prologue): ... here.
8450         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8451         out from ...
8452         (ix86_expand_epilogue): ... here.
8453         (ix86_compute_frame_size): Make static, add prototype.
8454         (ix86_initial_elimination_offset): Break out from ...
8455         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8456
8457 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8458
8459         * recog.h (OUT_FCN): Delete.
8460
8461         * vax.md: Call `get_insn_template' instead of OUT_FCN.
8462
8463 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8464
8465         * cppalloc.c: PROTO -> PARAMS.
8466         * cpperror.c: Likewise.
8467         * cppfiles.c: Likewise.
8468         * cpplib.c: Likewise.
8469         * cpplib.h: Likewise.
8470
8471         * config/arm/arm-protos.h: PROTO -> PARAMS.
8472         * config/arm/arm.c: Likewise.
8473         * config/c4x/c4x.c: Likewise.
8474         * config/fr30/fr30-protos.h: Likewise.
8475         * config/nextstep.c: Likewise.
8476         * config/pa/pa.c: Likewise.
8477         * config/pj/pj.c: Likewise.
8478         * config/rs6000/rs6000.c: Likewise.
8479         * config/v850/v850-protos.h: Likewise.
8480         * config/v850/v850.c: Likewise.
8481
8482 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8483
8484         * i370-protos.h: New file.
8485
8486         * i370.c: Include tm_p.h.  Fix compile time warnings.
8487
8488         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
8489         warnings.
8490
8491         * i370.md: Likewise.
8492
8493 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8494
8495         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8496         (target_isinf, target_isnan, eisnan): Mark parameter with
8497         ATTRIBUTE_UNUSED.
8498         (eiisinf): Wrap in INFINITY.
8499         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8500         (ibmtoe): Remove unused variable `rndsav'.
8501
8502 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8503
8504         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8505         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8506
8507 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
8508
8509         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8510         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8511         (fix_char_macro_defines, fix_char_macro_uses): New functions.
8512
8513         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8514         Recognize Emacs mode markers also.
8515         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8516         C++ comments in C++ headers.  Call is_cxx_header only if
8517         necessary.
8518
8519         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8520         bypass for ncurses.
8521         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8522         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8523         ... these, which use the new C fixes.
8524         (math_exception): Escape literal '+' in bypass expression.
8525
8526         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8527         Regenerate.
8528
8529 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
8530
8531         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8532         inside the MEM.
8533
8534 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8535
8536         * loop.c (loop_optimize): Allocate loop_info structure for each loop
8537         prior to calling scan_loop.
8538
8539 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8540
8541         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8542         (split_branches, calc_live_regs): Likewise.
8543
8544 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8545
8546         * sh.md (fpu_single, fp_mode): New attributes.
8547
8548 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8549
8550         * loop.c (current_loop_info): Renamed from loop_info_data
8551         and changed to a pointer.
8552         (loop_optimize): Allocate loop_info structure for each loop
8553         and initialise to zero.
8554         (scan_loop): Set current_loop_info.
8555
8556         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8557         on iteration_var.
8558
8559 2000-01-19  Richard Henderson  <rth@cygnus.com>
8560
8561         * stupid.c: Die die die.
8562         * Makefile.in (OBJS): Remove stupid.o.
8563         (stupid.o): Likewise.
8564
8565         * except.c (emit_eh_context): Don't emit USEs for stupid.
8566         * explow.c (probe_stack_range): Likewise.
8567         * flags.h (obey_regdecls): Remove.
8568         * flow.c (find_basic_blocks): Don't run try_merge_blocks
8569         when not optimizing.
8570         (life_analysis): Limit data collection when not optimizing.
8571         (mark_regs_live_at_end): Always mark the return value registers.
8572         (mark_used_regs): Remove dummy RETURN case.
8573         (print_rtl_with_bb): Don't consult obey_regdecls.
8574         * function.c (use_variable, use_variable_after): Remove.
8575         (assign_parms): Consult optimize not obey_regdecls.
8576         (expand_function_start): Don't emit USEs for stupid.
8577         (expand_function_end): Likewise.
8578         * global.c (build_insn_chain): Export.
8579         * integrate.c (expand_inline_function): Kill return-value USE
8580         handling code.
8581         * jump.c (jump_optimize_1): Do simple jump optimizations and
8582         dead code elimination.
8583         (calculate_can_reach_end): Remove check_deleted argument.
8584         (delete_insn): Patch out insns even when not optimizing.
8585         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8586         * rtl.h (use_variable, use_variable_after): Remove declarations.
8587         (build_insn_chain): Declare.
8588         * stmt.c (expand_value_return): Don't emit USEs for stupid.
8589         (expand_end_bindings): Likewise.
8590         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
8591         * toplev.c (obey_regdecls): Remove.
8592         (rest_of_compilation): Don't set it.  Kill stupid in favour of
8593         flow1, local-alloc, and reload.
8594         (main): Don't set obey_regdecls.
8595
8596         * config/nextstep.c (handle_pragma): Likewise.
8597
8598         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8599
8600         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8601
8602 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8603
8604         * alpha-protos.h: PROTO -> PARAMS.
8605         * alpha.c: Likewise.
8606         * elf.h: Likewise.
8607         * h8300.c: Likewise.
8608         * i386-protos.h: Likewise.
8609         * i386.c: Likewise.
8610         * m32r-protos.h: Likewise.
8611         * m32r.c: Likewise.
8612         * mips.c: Likewise.
8613         * mips.md: Likewise.
8614         * gmon-sol2.c: Likewise.
8615         * sparc.c: Likewise.
8616
8617 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8618
8619         * ns32k-protos.h: New file.
8620
8621         * ns32k.c: Fix compile time warnings.
8622
8623         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
8624         warnings.
8625
8626         * ns32k.md: Likewise.
8627
8628 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8629
8630         * vax-protos.h: New file.
8631
8632         * vax.c: Fix compile time warnings.
8633
8634         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
8635         warnings.
8636
8637         * vax.md: Likewise.
8638
8639         * vaxv.md: Likewise.
8640
8641 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8642
8643         * romp-protos.h: New file.
8644
8645         * romp.c: Fix compile time warnings.
8646
8647         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
8648         warnings.
8649
8650         * romp.md: Likewise.
8651
8652 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8653
8654         * we32k-protos.h: New file.
8655
8656         * we32k.c: Fix compile time warnings.
8657
8658         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
8659         warnings.
8660
8661 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8662
8663         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8664
8665         * except.c (eh_regs): Likewise.
8666
8667         * final.c (output_operand): Likewise.
8668
8669         * fold-const.c (target_isinf, target_isnan): Likewise.
8670
8671 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8672
8673         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8674         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8675
8676         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8677         when optimize_size.
8678         (clrstrsi): Rewrite.
8679         (strsethi, strsetqi): New expanders.
8680         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8681         (cmpstrsi): Emit compare insn before cmpstrsi_1
8682         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8683         (strlensi_1): Likewise.
8684         (cmpstrsi_1): Likewise; do not output compare.
8685         (strlen expander): Do not unroll when optimizing for size.
8686         (*subsi3_carry): Rename to subsi3_carry
8687         (addqi3_cc): New pattern.
8688         * i386.h (processor_costs): Add move_ratio field.
8689         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8690         * i386.c (*_cost): Set move_ratio.
8691         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8692         (x86_expand_strlensi_1): Rewrite the main loop.
8693
8694 2000-01-17  Richard Henderson  <rth@cygnus.com>
8695
8696         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8697         * cse.c (find_comparison_args, fold_rtx): Likewise.
8698         * integrate.c (subst_constants): Likewise.
8699         * loop.c (get_condition): Likewise.
8700
8701         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8702
8703         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8704
8705 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8706
8707         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8708         (RESTORE_WARN_FLAGS): Unpack it.
8709         Change semantic type of extension to ttype.
8710         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8711         * c-parse.y, c-parse.c, objc/objc-parse.y,
8712         objc/objc-parse.c: Regenerate.
8713
8714 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
8715
8716         * fixinc/fixlib.c: Add copyright notice.
8717         (compile_re): New function.
8718         * fixinc/fixlib.h: Prototype compile_re.
8719
8720         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8721         Use compile_re to compile regular expressions.
8722
8723         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8724         where the pattern matched.
8725
8726         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8727         use 'replace'.
8728         (ultrix_ansi_compat): Likewise.
8729         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8730         add egrep test.
8731         (interactv_add2, interactv_add3): Delete.
8732         (x11_sprintf): Don't use filename glob.
8733         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8734         Regenerate.
8735
8736 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8737
8738         * print-rtl.c: PROTO -> PARAMS.
8739         * real.c: Likewise.
8740         * reg-stack.c: Likewise.
8741         * resource.c: Likewise.
8742         * sdbout.h: Likewise.
8743         * simplify-rtx.c: Likewise.
8744         * stor-layout.c: Likewise.
8745         * stupid.c: Likewise.
8746         * xcoffout.c: Likewise.
8747         * xcoffout.h: Likewise.
8748
8749 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8750
8751         * toplev.c: PROTO -> PARAMS.
8752         * toplev.h: Likewise.
8753         * tree.c: Likewise.
8754         * tree.h: Likewise.
8755         * unroll.c: Likewise.
8756         * varasm.c: Likewise.
8757         * varray.c: Likewise.
8758         * varray.h: Likewise.
8759
8760 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8761
8762         * reload.c: PROTO -> PARAMS.
8763         * reload.h: Likewise.
8764         * reload1.c: Likewise.
8765         * reorg.c: Likewise.
8766         * resource.h: Likewise.
8767         * rtl.c: Likewise.
8768         * rtl.h: Likewise.
8769         * rtlanal.c: Likewise.
8770         * sbitmap.h: Likewise.
8771         * sdbout.c: Likewise.
8772         * stack.h: Likewise.
8773         * stmt.c: Likewise.
8774         * system.h: Likewise.
8775
8776 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8777
8778         * machmode.h: PROTO -> PARAMS.
8779         * mbchar.h: Likewise.
8780         * mips-tdump.c: Likewise.
8781         * mips-tfile.c: Likewise.
8782         * optabs.c: Likewise.
8783         * output.h: Likewise.
8784         * prefix.c: Likewise.
8785         * profile.c: Likewise.
8786         * protoize.c: Likewise.
8787         * real.h: Likewise.
8788         * recog.c: Likewise.
8789         * recog.h: Likewise.
8790         * regclass.c: Likewise.
8791         * regmove.c: Likewise.
8792         * regs.h: Likewise.
8793
8794 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8795
8796         * ggc-common.c: PROTO -> PARAMS.
8797         * ggc-page.c: Likewise.
8798         * ggc-simple.c: Likewise.
8799         * ggc.h: Likewise.
8800         * global.c: Likewise.
8801         * graph.c: Likewise.
8802         * gthr-win32.h: Likewise.
8803         * haifa-sched.c: Likewise.
8804         * halfpic.h: Likewise.
8805         * integrate.c: Likewise.
8806         * integrate.h: Likewise.
8807         * jump.c: Likewise.
8808         * lcm.c: Likewise.
8809         * local-alloc.c: Likewise.
8810         * loop.c: Likewise.
8811         * loop.h: Likewise.
8812
8813 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8814
8815         * genattr.c: PROTO -> PARAMS.
8816         * genattrtab.c: Likewise.
8817         * gencheck.c: Likewise.
8818         * gencodes.c: Likewise.
8819         * genconfig.c: Likewise.
8820         * genemit.c: Likewise.
8821         * genextract.c: Likewise.
8822         * genflags.c: Likewise.
8823         * gengenrtl.c: Likewise.
8824         * genopinit.c: Likewise.
8825         * genoutput.c: Likewise.
8826         * genpeep.c: Likewise.
8827         * genrecog.c: Likewise.
8828
8829 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
8830
8831         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8832
8833 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8834
8835         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8836         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8837         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8838         * configure, config.in: Rebuilt.
8839
8840 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
8841
8842         * config/i386/i386.md: Add peephole to merge successive stack
8843         adjusts.
8844
8845 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
8846
8847         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8848         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
8849         when walking backwards to find all the parameter loads when
8850         the basic block ends in a call.
8851
8852 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8853
8854         * loop.c (this_loop_info): Delete.
8855         (uid_loop): Add in place of uid_loop_num.  All uses updated.
8856         (loop_number_exit_count): Delete and replace with entry in loop
8857         structure.  All uses updated.
8858         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8859         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8860         (loop_outer_loop): Likewise.
8861         (loop_invalid, loop_number_exit_labels): Likewise.
8862         (loop_used_count_register): Delete and replace with entry in
8863         loop_info structure.
8864         (find_and_verify_loops): Add loops argument.
8865         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8866         loop_end, etc. arguments with loop structure pointer.  All callers
8867         changed.
8868         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8869         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8870         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8871         (insert_bct): Likewise.
8872         (basic_induction_var): New argument level.
8873         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8874         vtop, and cont.  Add used_count_register.
8875         (uid_loop): Delete declaration.
8876         (loop_number_exit_count): Likewise.
8877         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8878         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8879         (loop_outer_loop, loop_used_count_register): Likewise.
8880         (loop_invalid, loop_number_exit_labels): Likewise.
8881         (unroll_loop): Replace loop_start and loop_end arguments
8882         with loop structure pointer.
8883         (loop_precondition_p, loop_iterations): Likewise.
8884         Include basic-block.h.
8885         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8886         with loop structure pointer.
8887         (loop_precondition_p, loop_iterations): Likewise.
8888         * basic-block.h (struct loop): New entries vtop, cont,
8889         cont_dominator, start, end, top, scan_start, exit_labels,
8890         exit_count.
8891         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8892
8893 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8894
8895         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8896
8897 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
8898
8899         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8900
8901 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8902
8903         * pdp11-protos.h: New file.
8904
8905         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
8906         time warnings.
8907
8908         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
8909         warnings.
8910
8911         * pdp11.md: Likewise.
8912
8913         * 2bsd.h: Likewise.
8914
8915 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8916
8917         * mn10300-protos.h: New file.
8918
8919         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8920         time warnings.
8921
8922         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
8923         warnings.
8924
8925         * mn10300.md: Likewise.
8926
8927 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8928
8929         * mn10200-protos.h: New file.
8930
8931         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
8932         time warnings.
8933
8934         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
8935         warnings.
8936
8937         * mn10200.md: Likewise.
8938
8939 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8940
8941         * h8300-protos.h: New file.
8942
8943         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8944         time warnings.
8945
8946         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
8947         warnings.
8948
8949         * h8300.md: Likewise.
8950
8951 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8952
8953         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
8954         (asm_emit_uninitialised): Likewise.
8955
8956 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
8957
8958         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
8959         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
8960
8961 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8962
8963         * config/mips/mips.c (override_options): Don't turn on extra
8964         alignment for mips16.
8965
8966 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8967
8968         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
8969         eabi, and make sure queued POSTINCREMENT rtl is emitted at
8970         the right point.
8971
8972 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8973
8974         * builtins.c (PAD_VARARGS_DOWN): Define.
8975         (std_expand_builtin_va_arg): Use the above macro.
8976         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
8977         * tm.texi (Register Arguments): Document the above macro.
8978
8979 2000-01-14  Nick Clifton  <nickc@cygnus.com>
8980
8981         * emit-rtl.c (emit_insn): If checking is enabled, make sure
8982         that this function has not been used to emit a jump
8983         instruction.
8984
8985         * jump.c (return_jump_1): Cope with being passed a null rtx.
8986
8987 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8988
8989         * eh-common.h: PROTO -> PARAMS.
8990         * emit-rtl.c: Likewise.
8991         * errors.c: Likewise.
8992         * errors.h: Likewise.
8993         * except.c: Likewise.
8994         * except.h: Likewise.
8995         * explow.c: Likewise.
8996         * expmed.c: Likewise.
8997         * expr.c: Likewise.
8998         * expr.h: Likewise.
8999         * final.c: Likewise.
9000         * fix-header.c: Likewise.
9001         * flow.c: Likewise.
9002         * fold-const.c: Likewise.
9003         * function.c: Likewise.
9004         * function.h: Likewise.
9005         * gcc.c: Likewise.
9006         * gcov-io.h: Likewise.
9007         * gcov.c: Likewise.
9008         * gcse.c: Likewise.
9009
9010 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9011
9012         * sh-protos.h: New file.
9013
9014         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9015         Add static prototypes.  Fix compile time warnings.
9016
9017         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
9018         * sh.md: Likewise.
9019         * elf.h: Likewise.
9020
9021 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9022
9023         * arc-protos.h: New file.
9024
9025         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
9026         time warnings.
9027
9028         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
9029         warnings.
9030
9031         * arc.md: Likewise.
9032
9033 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9034
9035         * dsp16xx-protos.h: New file.
9036
9037         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
9038         time warnings.
9039
9040         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
9041         warnings.
9042
9043         * dsp16xx.md: Likewise.
9044
9045 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9046
9047         * convex-protos.h: New file.
9048
9049         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
9050         time warnings.
9051
9052         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
9053         warnings.
9054
9055 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9056
9057         * elxsi-protos.h: New file.
9058
9059         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
9060         time warnings.
9061
9062         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
9063         warnings.
9064
9065         * elxsi.md: Likewise.
9066
9067 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9068
9069         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9070         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
9071         match the comment for MIPS16.
9072
9073 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
9074
9075         * flow.c (split_edge): Do not call set_block_for_insn if we
9076         do not have a basic_block_for_insn structure.
9077
9078         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9079         and destination functions are 32bit aligned within the trampoline.
9080         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9081         (TRAMPOLINE_ALIGNMENT): Define.
9082
9083         * cse.c (cse_insn): When changing (set (pc) (reg)) to
9084         (set (pc) (label_ref)), verify the change creates a valid insn.
9085
9086         * fr30.c (call_operand): Tighten and rework to match rules for
9087         call RTL expressions.
9088         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9089         * fr30.md (call patterns): Improve constraints.
9090
9091 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
9092
9093         * fr30.c (fr30_expand_epilogue): Revert last change.
9094         Use emit_jump_insn for the return insn.
9095
9096 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
9097                           Stan Cox  <scox@cygnus.com>
9098
9099         * predict.c: New file. Preliminary infrastructure work for static
9100         branch prediction and basic block reordering.
9101         * basic-block.h: Add prototype for estimate_probability.
9102         * Makefile.in: Add rules for predict.o.
9103
9104 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
9105
9106         * fixincludes (va_list): Use __not_va_list__ for the dummy.
9107         * fixinc/*: Likewise.
9108
9109 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9110
9111         * cccp.c: PROTO -> PARAMS.
9112         * cexp.y: Likewise.
9113         * collect2.c: Likewise.
9114         * combine.c: Likewise.
9115         * convert.h: Likewise.
9116         * cse.c: Likewise.
9117         * dbxout.c: Likewise.
9118         * dbxout.h: Likewise.
9119         * diagnostic.c: Likewise.
9120         * doprint.c: Likewise.
9121         * dwarf2out.c: Likewise.
9122         * dwarf2out.h: Likewise.
9123         * dwarfout.c: Likewise.
9124         * dwarfout.h: Likewise.
9125         * dyn-string.h: Likewise.
9126
9127 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9128
9129         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9130         macro conditionals guarding use.
9131
9132         * dwarf2out.c: Include "tm_p.h".
9133
9134         * function.c (locate_and_pad_parm): Mark parameter with
9135         ATTRIBUTE_UNUSED.
9136         (expand_function_end): Likewise for variable `context'.
9137
9138         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9139
9140 2000-01-13  Nick Clifton  <nickc@cygnus.com>
9141
9142         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9143         register to prevent compile time warnings.
9144
9145 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
9146
9147         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9148         to avoid -Wtraditional warning.
9149
9150 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9151
9152         * 1750a-protos.h: New file.
9153
9154         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
9155         time warnings.
9156
9157         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
9158         warnings.
9159
9160         * 1750a.md: Likewise.
9161
9162 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9163
9164         * a29k-protos.h: New file.
9165
9166         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9167         time warnings.
9168
9169         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
9170         warnings.
9171
9172 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9173
9174         * clipper-protos.h: New file.
9175
9176         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
9177         time warnings.
9178
9179         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
9180         warnings.
9181
9182 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9183
9184         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9185
9186 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
9187
9188         * configure.in (--enable-new-gxx-abi): New option.
9189         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9190         * Makefile.in (GXX_ABI_FLAG): New variable.
9191         * configure: Regenerate.
9192
9193 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9194
9195         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9196         * tm.texi (FORCE_STRUCT_BLK): Document.
9197         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9198
9199 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
9200
9201         * config/ns32k/ns32k.md: Revert Jan 9 change.
9202
9203         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9204         to a mode-test, if the predicate is address_operand.
9205
9206 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
9207
9208         * combine.c (if_then_else_cond): Be careful about what kinds
9209         of RTL expressions are passed to operand_subword.
9210
9211         * flow.c (split_edge): If we have to insert a new jump, make
9212         sure to associate it with a basic block.
9213
9214         * flow.c (commit_one_edge_insertion): A block with one successor
9215         can end in a JUMP_INSN that is not a simplejump.
9216
9217 2000-01-12  Robert Lipe  <robertl@sco.com>
9218
9219         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9220         (BUILD_VA_LIST_TYPE): Define.
9221         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9222         with crtstuff.c.
9223
9224 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
9225
9226         * cccp.c (do_pragma): Add cast to (char *).
9227
9228 2000-01-12  Richard Henderson  <rth@cygnus.com>
9229             Fred Fish  <fnf@be.com>
9230             Jason Merrill  <jason@cygnus.com>
9231
9232         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9233         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9234         * i386/beos-elf.h, i386/beos-pe.h: New files.
9235
9236         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9237         * cross-make (SYSTEM_HEADER_DIR): Define using
9238         CROSS_SYSTEM_HEADER_DIR.
9239
9240         * gcc.c (LIBRARY_PATH_ENV): Provide default.
9241         (process_command): Use it.
9242         (main): Likewise.  Kill trailing = from env vars.
9243         (build_search_list): Put it back.
9244         * collect2.c (main): Use LIBRARY_PATH_ENV.
9245
9246         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9247         * toplev.c: Use NEED_DECLARATION_ENVIRON.
9248
9249         * tm.texi (Frame Layout): Document SMALL_STACK.
9250         * c-common.c (c_common_nodes_and_builtins): Check it.
9251
9252         * system.h: Undef alloca after including glibc's <stdlib.h>,
9253         if USE_C_ALLOCA is defined.
9254
9255         * gcc.c (set_input): New fn.
9256         (main): After all input files are compiled, reset the input file
9257         info to the first.
9258
9259         * aclocal.m4 (rindex, index): If already defined, don't attempt
9260         to redefine.
9261
9262         * ginclude/varargs.h: (__va_list__): Define ifndef.
9263         * ginclude/stdarg.h: Likewise.
9264
9265         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9266         instead of unsigned char.
9267
9268         * hash.h (true, false, boolean): Undef before enum.
9269
9270         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9271         proper type of "HOST_WIDE_INT *", rather than their natural type of
9272         "unsigned HOST_WIDE_INT *".
9273
9274 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9275
9276         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9277
9278         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9279
9280         * regclass.c (choose_hard_reg_mode): Likewise.
9281
9282         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9283
9284         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9285
9286 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9287
9288         * c-common.c: PROTO -> PARAMS.
9289         * c-common.h: Likewise.
9290         * c-decl.c: Likewise.
9291         * c-iterate.c: Likewise.
9292         * c-lang.c: Likewise.
9293         * c-lex.c: Likewise.
9294         * c-lex.h: Likewise.
9295         * c-parse.in: Likewise.
9296         * c-pragma.c: Likewise.
9297         * c-pragma.h: Likewise.
9298         * c-tree.h: Likewise.
9299         * c-typeck.c: Likewise.
9300         * objc/objc-act.c: Likewise.
9301         * objc/objc-act.h: Likewise.
9302
9303 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9304
9305         * m88k-protos.h: New file.
9306
9307         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9308         time warnings.
9309
9310         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
9311
9312         * m88k.md: Likewise.
9313
9314         * tekXD88.h: Likewise.
9315
9316 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9317
9318         * m68k-protos.h: New file.
9319
9320         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9321         time warnings.
9322
9323         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
9324
9325         * mot3300.h: Likewise.
9326
9327 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
9328
9329         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9330         extract_bitlst.
9331         (extract_bitlist): Declare bitlen.
9332
9333 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
9334
9335         * cccp.c: Accept and ignore -lang-fortran.
9336
9337         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9338         qualifiers don't match at any level of pointerness.
9339
9340 2000-01-12  Robert Lipe  <robertl@sco.com>
9341
9342         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9343
9344 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
9345
9346         * reload1.c (reload_reg_unavailable): New static variable.
9347         (reload_reg_free_p): Test it.
9348         (reload_reg_free_for_value_p): Test it instead of
9349         reload_reg_used.
9350         (choose_reload_regs_init): Compute it.
9351
9352 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
9353
9354         * reorg.c (fill_slots_from_thread): Check modified_in_p
9355         before replacing.
9356
9357 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
9358
9359         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9360         these nodes even if INTERNALS is not set.
9361
9362 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
9363
9364         * gcse.c (delete_null_pointer_checks_1): Cope when
9365         get_condition cannot determine the condition.
9366
9367 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
9368
9369         * toplev.h (set_message_length): Declare.
9370
9371         * diagnostic.c (obstack_chunk_alloc): Define macro.
9372         (obstack_chunk_free): Likewise.
9373         (struct output_buffer): New data structure.
9374         (vmessage): Remove.
9375         (output_maximum_width): New variable.
9376         (doing_line_wrapping, set_message_length, init_output_buffer,
9377         get_output_prefix, output_space_left, emit_output_prefix,
9378         output_newline, output_append, output_puts, dump_output,
9379         vbuild_message_string, build_message_string, build_location_prefix,
9380         voutput_notice, output_printf, line_wrapper_printf,
9381         vline_wrapper_message_with_location):  New functions. Implement
9382         automatic line wrapping.
9383         (v_message_with_decl): Make it handle automatic line wrapping.
9384         (v_error_with_file_and_line): Likewise.
9385         (v_warning_with_file_and_line): Likewise.
9386         (announce_function): Likewise.
9387         (default_print_error_function): Likewise.
9388
9389 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9390
9391         * cpplib.h (struct cpp_options): Change lang_asm to char.
9392         Add lang_fortran.
9393         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9394         done in cpp_handle_option now.
9395         (initialize_builtins): Take out special case code used only by
9396         __STDC_VERSION__.
9397         (cpp_handle_option): Turn off trigraphs and trigraph warnings
9398         if -traditional.  Recognize -lang-fortran and set
9399         lang_fortran, also turn off cplusplus_comments.
9400         (print_help): Document -lang-fortran.
9401         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9402         lang_asm. Ignore all directives other than `# 123 "file"' if
9403         CPP_PREPROCESSED.
9404         (cpp_get_token): If -traditional, don't recognize directives
9405         unless the # is in column 1.
9406         (parse_string): If lang_fortran or lang_asm, silently
9407         terminate strings ('' or "") at end of line.
9408         Remove unnecessary braces.
9409
9410 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9411             Richard Henderson  <rth@cygnus.com>
9412
9413         * resource.c (mark_referenced_resources): Mark a set strict_low_part
9414         as used.
9415         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9416         strict_low_part when possible.
9417
9418 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9419
9420         * alias.c: PROTO -> PARAMS.
9421         * basic-block.h: Likewise.
9422         * bitmap.c: Likewise.
9423         * bitmap.h: Likewise.
9424         * builtins.c: Likewise.
9425         * c-aux-info.c: Likewise.
9426         * caller-save.c: Likewise.
9427         * calls.c: Likewise.
9428
9429 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9430
9431         * Makefile.in (toplev.o): Depend on regs.h.
9432
9433         * output.h (tdesc_section): Prototype.
9434
9435         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9436
9437         * sdbout.c: Include "tm_p.h".
9438
9439         * toplev.c: Include "regs.h".
9440
9441 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
9442
9443         * unroll.c (unroll_loop): Add EH support.
9444
9445 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9446
9447         * pa-protos.h: New file.
9448
9449         * pa.c: Include recog.h and tm_p.h.
9450         (compute_zdepwi_operands, compute_movstrsi_length,
9451         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9452         find_addr_reg, import_milli): Add static prototypes.
9453         (pa_cpu_string, pa_arch_string): Constify a char*.
9454         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9455         (read_only_operand): Add argument `mode'.
9456         (singlemove_string, output_move_double, output_fp_move_double,
9457         output_block_move, output_and, output_ior, output_ascii,
9458         remove_useless_addtr_insns, milli_names, output_mul_insn,
9459         output_div_insn, output_mod_insn, output_arg_descriptor,
9460         output_cbranch, output_bb, output_bvb, output_dbra, ,
9461         output_millicode_call, output_call, hppa_encode_label,
9462         output_parallel_movb, output_parallel_addb): Constify a char*.
9463         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9464         (output_parallel_addb): Remove extra arg to `constrain_operands'
9465
9466         * pa.h:  Move all prototypes to pa-protos.h.
9467         (pa_cpu_string, pa_arch_string): Constify a char*.
9468         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9469
9470         * pa.md: Call `function_label_operand' with mode argument.
9471         Likewise for `read_only_operand'.
9472         Fix nesting of parens in call to `symbolic_operand'.
9473
9474 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9475
9476         * i860-protos.h: New file.
9477
9478         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
9479         time warnings.
9480
9481         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
9482
9483         * i860.md: Likewise.
9484
9485 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
9486
9487         * i386.md (movstrsi expander): Rewrite.
9488         (movstrsi_1 insn): Deleted.
9489         (strmovhi, strmovqi expander): New expanders.
9490         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9491         * i386.c (x86_single_stringop): New global variable.
9492         * i386.h (x86_single_stringop): Declare.
9493         (TARGET_SINGLE_STRINGOP): New macro.
9494
9495 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9496
9497         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9498         integer vararg POSTINCREMENT before the destination of the jump
9499         for the hard fp case.
9500         (function_arg_pass_by_reference): Pass a copy of CUM to
9501         FUNCTION_ARG.
9502
9503         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9504         for CONSTANT_ADDRESS_P above while loop for subreg.
9505
9506 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9507
9508         * flow.c (propagate_block): When a prologue/epilogue insn
9509         is marked dead, unconditionally clear libcall_is_dead and
9510         insn_is_dead, and only dump rtl if warnings aren't being
9511         suppressed.
9512
9513 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
9514
9515         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9516         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9517         (FIXED_REGISTERS): Set dirflag as fixed.
9518         (CALL_USED_REGISTERS): Set dirflag as used.
9519         (REG_ALLOC_ORDER): Set dirflag as last one.
9520         (DIRFLAG_REG): New macro.
9521         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9522         (HI_REGISTER_NAMES): Add dirflag.
9523         (DEBUF_PRINT_REG): Handle dirflag.
9524         * i386.md (type attribute): New cld and str types.
9525         (length_opcode attribute): Set cld and str to 1.
9526         (memory attribute): Set str to unknown - it is not clear from the
9527         patterns.
9528         (pent_np function unit): Prefixed string operations takes 12 cycles
9529         minimally; cld takes 2 cycles.
9530         (ppro_uops attribute): Str is "many" and cld is "few".
9531         (ppro_p0 unit): Handle cld here.
9532         (k6_alux unit): Handle cld and str types.
9533         (k6_load unit): It is ocupied by str opcodes.
9534         (k6_store unit): It is ocupied by str opcodes.
9535         (athlon_decode): Str is vector decoded.
9536         (athlon_ieu): Handle str and cld.
9537         (cld pattern): New.
9538         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9539         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9540         cmpstrsi_nz_1 insn): Do not output cld instruction
9541
9542 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
9543
9544         * gcc.texi (G++ and GCC): Add Java and Chill.
9545         (Bug Critera): Don't list languages.
9546
9547         * gcc.texi (Incompatibilities): No longer claim most C compilers
9548         are K&R.
9549
9550         * gcc.texi (G++ and GCC): Update other front-ends list.
9551
9552 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
9553
9554         * i386.c (ix86_expand_setcc): Fix typo.
9555         (ix86_expand_movcc): Similarly.
9556
9557         * Band-aid until haifa's bitset implementation is nuked.
9558         * haifa-sched.c (extract_bitlst): New parameter for size of the
9559         bitset in bits.  All callers changed.  Avoid looking at undefined
9560         bits in the bitset.
9561         (edgeset_bitsize): New variable.
9562         (schedule_region): Initialize edgeset_bitsize.
9563
9564 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9565
9566         * Makefile.in (optabs.o): Depend on real.h
9567         (resource.o): Depend on insn-attr.h
9568
9569         * builtins.c (result_vector): Wrap prototype in macro conditions
9570         governing definition and use.
9571
9572         * c-common.c: Include tm_p.h.
9573
9574         * c-lex.c: Likewise.
9575
9576         * elfos.h: Constify a char*.
9577
9578         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9579         (get_attr_length, shorten_branches, profile_after_prologue): Mark
9580         parameter with ATTRIBUTE_UNUSED.
9581
9582         * fold-const.c (exact_real_inverse): Wrap variable `i' in
9583         CHECK_FLOAT_VALUE.
9584
9585         * haifa-sched.c (schedule_insns): Mark parameter with
9586         ATTRIBUTE_UNUSED.
9587
9588         * optabs.c: Include real.h.
9589
9590         * real.h (ereal_atof): Add prototype arguments.
9591
9592         * resource.c: Include insn-attr.h.
9593
9594         * sdbout.c (sdbout_queue_anonymous_type,
9595         sdbout_dequeue_anonymous_types): Wrap in macro
9596         SDB_ALLOW_FORWARD_REFERENCES.
9597         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9598         ATTRIBUTE_UNUSED.
9599
9600         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9601
9602         * stupid.c: Include tm_p.h.
9603
9604         * tree.c (real_value_from_int_cst): Mark parameter with
9605         ATTRIBUTE_UNUSED.
9606
9607 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9608
9609         * i960-protos.h: New file.
9610
9611         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
9612         time warnings.
9613
9614         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
9615
9616 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9617
9618         * combine.c (expand_field_assignment): Do not discard SUBREGs
9619         while computing nonzero_bits.
9620
9621 2000-01-09  Nick Clifton  <nickc@cygnus.com>
9622
9623         * config/arm/arm.c: Fix compile time warnings about signed vs
9624         unsigned constants.
9625         * config/arm/arm.h: Fix compile time warnings about signed vs
9626         unsigned constants.
9627
9628 2000-01-09  Philip Blundell  <philb@gnu.org>
9629
9630         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9631         than `ldm' with only one register.
9632         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9633         only one register.
9634
9635         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9636         clobbered.
9637
9638 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
9639
9640         * config/ns32k/ns32k.md (load or push effective address): Operand 1
9641         must have SImode.
9642
9643 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9644
9645         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9646         assignment used as truth value.
9647
9648         * function.c (assign_temp): Mark parameter `dont_promote' with
9649         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
9650         PROMOTE_FOR_CALL_ONLY.
9651
9652         * genrecog.c (write_subroutine): Mark variable `operands' with
9653         ATTRIBUTE_UNUSED.
9654
9655         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9656         ATTRIBUTE_UNUSED.
9657
9658         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9659         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9660
9661         * toplev.c (note_deferral_of_defined_inline_function): Likewise
9662         for `decl'.
9663
9664 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9665
9666         * config/c4x.h: Tidy up comments.
9667         * config/c4x.c: Likewise.
9668
9669 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
9670
9671         * fold-const.c (lshift_double, rshift_double): Handle
9672         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9673
9674 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9675
9676         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9677         in prepare_function_start().
9678
9679 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
9680
9681         * config/v850/v850.c (expand_epilogue): Interrupt functions no
9682         longer allocate extra stack for function calls.
9683
9684 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9685
9686         * config/c4x/c4x.md (*subqf3_set): Fix typo.
9687
9688 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9689
9690         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9691
9692 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
9693
9694         * rs6000.c (processor_target_table): Add power3 as alias for 630.
9695         * aix43.h: Revert Aug 2 change.
9696         (HAS_INIT_SECTION): Define, not visible yet.
9697         (LD_INIT_SWITCH): Define, not visible yet.
9698         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9699
9700         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9701
9702         * collect2.c (main): Expand ld2 size further.
9703         (export_object_lst): Cast assignment to avoid warning.
9704         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9705         (scan_prog_file, COFF): Do not collect initialization or
9706         finalization functions generated for entire shared object if
9707         init/fini support present.
9708
9709 2000-01-07  Nick Clifton  <nickc@cygnus.com>
9710
9711         * config/elfos.h: Tidy up formatting of marcos.  Make sure
9712         that .section directives are always prefixed by a tab.
9713
9714         * config/svr4.h: Add #include "elfos.h" and remove duplicate
9715         definitions.
9716
9717 2000-01-07  Matt Austern  <austern@sgi.com>
9718
9719         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9720         expon.
9721
9722 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
9723
9724         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9725         crtstuff.c.
9726         (crtbegin.o, s-crtS): Likewise.
9727
9728 2000-01-06  Richard Henderson  <rth@cygnus.com>
9729
9730         * alpha.md (adddi_2+1): Limit offset such that it will be
9731         loadable with a single ldah+lda pair.
9732         (adddi_2+2): Explicitly fail split if we can't make it work.
9733
9734 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
9735
9736         * protoize.c: Conditionally include unistd.h.
9737         (IS_SAME_PATH_CHAR): New macro.
9738         (IS_SAME_PATH): New macro.
9739         (CPLUS_FILE_SUFFIX): New macro.
9740         (cplus_suffix): New static variable.
9741         (is_abspath): New static function.
9742         (in_system_include_dir): Handle DOS style pathnames.
9743         (file_could_be_converted): Likewise.
9744         (file_normally_convertible): Likewise.
9745         (directory_specified_p): Likewise.
9746         (file_excluded_p): Likewise.
9747         (abspath): Likewise.
9748         (shortpath): Likewise.
9749         (referenced_file_is_newer): Likewise.
9750         (save_def_or_dec): Likewise.
9751         (do_processing): Likewise.
9752         (main): Likewise.
9753         (edit_file): Likewise. Use rename instead of link.
9754         (rename_c_file): Likewise. Don't rename syscalls file.
9755         (munge_compile_params): Define null device for DOS based systems.
9756         (process_aux_info_file): Use binary mode if appliable.
9757         (edit_file): Likewise.
9758         * invoke.texi (Running Protoize): Document C++ suffixes used.
9759
9760         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9761         IS_DIR_SEPARATOR macros.
9762         * collect2.c: Likewise.
9763         * cppinit.c: Likewise.
9764         * dwarf2out.c: Likewise.
9765         * gcc.c: Likewise.
9766         * gcov.c: Likewise.
9767         * prefix.c: Likewise.
9768         * rtl.c: Likewise.
9769         * toplev.c: Likewise.
9770         * system.h: And move to here.
9771
9772         * prefix.c (update_path): Fix typo in variable name.
9773
9774 2000-01-06  Richard Henderson  <rth@cygnus.com>
9775
9776         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9777         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9778         (count_reg_sets_1, count_reg_references): Likewise.
9779         (flow_loops_level_compute): Start counting actual loop depth at 1.
9780         (flow_loops_find): Likewise.
9781         * local-alloc.c (update_equiv_regs): Likewise.
9782         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9783
9784 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9785
9786         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9787         FIRST_PSEUDO_REGISTER
9788         * dwarf2out.c: Don't include frame.h
9789         * dwarfout.c: Likewise
9790         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9791         frame.h
9792
9793 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
9794
9795         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9796         dead registers.
9797
9798         * i386.c (movsf splitter): Fix typo in my last checkin.
9799
9800 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9801
9802         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9803         own definition of this macro.
9804         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9805         flag_data_sections or UNIQUE_SECTION_P are true.
9806
9807         * tm.texi (UNIQUE_SECTION): Document that it can be called for
9808         unitialised data decls.
9809
9810         * config/i386/winnt.c (i386_pe_unique_section): Cope with
9811         being called for uninitialised data.
9812
9813         * config/i386/interix.c (i386_pe_unique_section): Cope with
9814         being called for uninitialised data.
9815
9816         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9817         for uninitialised data.
9818
9819         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9820         for uninitialised data.
9821
9822         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9823         for uninitialised data.
9824
9825         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9826         (UNIQUE_SECTION_P): Always generate a unique section if
9827         flag_data_sections is true.
9828         (UNIQUE_SECTION): Also generate unique sections for
9829         uninitialised data.
9830         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9831         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9832         named_section().
9833
9834 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9835
9836         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9837         SI, or DI.
9838
9839 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9840
9841         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9842         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9843         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9844         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9845         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9846
9847         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9848
9849 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
9850
9851         * c-decl.c (finish_enum): Simplify code to determine minimum and
9852         maximum values of the enum, and calculate the type.  Remove check
9853         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
9854         the DECL_INITIAL of each enumeration constant with a copy converted
9855         to the enumeration type.  When updating variant types, don't bother
9856         updating the type itself.
9857
9858         * c-typeck.c (build_binary_op): Simplify conditional expressions
9859         when weeding out spurious signed-unsigned warnings.  Add new
9860         spurious warning category: if the unsigned quantity is an enum
9861         and its maximum value fits in signed_type(result_type).  Update
9862         commentary.
9863         (build_conditional_expr): Warn here if one alternative is signed
9864         and the other is unsigned.
9865
9866 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9867
9868         * config/fr30/fr30.h: Remove extraneous comments.
9869
9870 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
9871
9872         * reload1.c (choose_reload_regs): When disabling a reload, also
9873         set reload_spill_index to -1.
9874
9875 2000-01-04  Joel Sherrill (joel@OARcorp.com>
9876
9877         * configure.in (m68*-*-rtemscoff*): New target, formal name for
9878         old m68*-*-rtems*.
9879         (m68*-*-rtemself*): New target.
9880         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9881         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9882         (sparc*-*-rtemself*): New target.
9883         (sparc*-*-rtems*): Now elf not a.out.
9884         * config/i386/rtems.h: Include config/rtems.h.
9885         * config/i386/rtemself.h: Include config/rtems.h.
9886         * config/i960/rtems.h: Include config/rtems.h.
9887         * config/m68k/rtems.h: Include config/rtems.h.
9888         * config/m68k/rtemself.h: Include config/rtems.h.
9889         * config/mips/rtems64.h: Include config/rtems.h.
9890         * config/pa/rtems.h: Include config/rtems.h.
9891         * config/rs6000/rtems.h: Include config/rtems.h.
9892         * config/sh/rtems.h: Include config/rtems.h.
9893         * config/sh/rtemself.h: Include config/rtems.h.
9894         * config/sparc/rtems.h: Include config/rtems.h.
9895         * config/sparc/rtemself.h: Include config/rtems.h
9896
9897 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
9898
9899         * final.c (shorten_branches): Correctly compute length of
9900         asms without operands.
9901
9902 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
9903
9904         * configure.in: Add pj target.
9905         * configure: Regenerate.
9906         * config/pj: New directory.
9907         * config/pj/lib1funcs.S: New file.
9908         * config/pj/linux.h: New file.
9909         * config/pj/pj.c: New file.
9910         * config/pj/pj.md: New file.
9911         * config/pj/pjl.h: New file.
9912         * config/pj/t-pj: New file.
9913         * config/pj/xm-pj.h: New file
9914
9915 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
9916
9917         * toplev.c (rest_of_compilation): Run shorten-branches before
9918         reg-stack for now.
9919
9920 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9921
9922         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9923         macros so that they're consistent with their names.
9924         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9925         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9926
9927 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9928
9929         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9930         modified inadvertently.
9931
9932 2000-01-04  Joel Sherrill <joel@OARcorp.com>
9933
9934         * configure.in (v850*-*-rtems*): New target.
9935         * configure: Regenerate.
9936         * config/v850/rtems.h: New file.
9937
9938 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
9939
9940         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9941         (__gthread_key_create): Likewise.
9942         (__gthread_key_dtor):  Likewise.
9943         (__gthread_once): Fix logic.
9944         (__gthread_key_delete): Cast away constness.
9945
9946         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9947         * invoke.texi: Document.
9948         * i386/mingw32.h (CPP_SPEC): Use.
9949         (LIBGCC_SPEC): Likewise.
9950         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
9951
9952 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
9953
9954         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
9955         (HANDLE_PRAGMA_PACK): Undefine.
9956         (SLOW_UNALIGNED_ACCESS): Define.
9957
9958 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
9959
9960         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9961         to default definition.
9962         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
9963         (store_fixed_bit_field): Call macro with word_mode and alignment.
9964         (extract_bit_field): Call macro with relevant mode and alignment.
9965         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9966         to default definition.
9967         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
9968         and alignment.
9969         (move_by_pieces_ninsns): Likewise.
9970         (clear_by_pieces): Likewise.
9971         (emit_push_insn): Likewise.
9972         (store_field): Call macro with relevant mode and alignment.
9973         (expand_expr): Likewise.
9974         (expand_expr_unaligned): Likewise.
9975
9976         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
9977         (SLOW_UNALIGNED_ACCESS): Define.
9978         (CASE_VECTOR_MODE): Always use 32-bit offsets.
9979         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
9980         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
9981         (toc_section): Likewise and .toc pseudo-op.
9982         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
9983         64-bit mode.
9984         (TEXT_SECTION_ASM_OP): Likewise.
9985         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
9986         32-bit offsets.
9987
9988         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
9989         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
9990         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
9991         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
9992         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
9993
9994 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
9995
9996         * regclass.c: Revert my Jan 4 change to loop cost computation.
9997
9998 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9999
10000         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10001         compilation.
10002
10003 2000-01-04  Stan Cox  <scox@cygnus.com>
10004
10005         * haifa-sched.c (build_control_flow): Change unreachable simple
10006         loop test to check if current block has only one predecessor.
10007         (find_rgns): Initialize degree.  Use dest as degree index, not src.
10008
10009 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10010
10011         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10012
10013         * calls.c (expand_call): Likewise for
10014         `old_stack_arg_under_construction'.
10015
10016         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10017
10018         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10019         `save_constant'.
10020
10021         * gcc.c (execute): Likewise for `ut' and `st'.
10022
10023         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10024
10025         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10026
10027         * jump.c (jump_optimize_1): Likewise for `temp2'.
10028
10029         * local-alloc.c (block_alloc): Likewise for `r1'.
10030
10031         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10032
10033         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10034         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10035
10036         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10037         and `set2'.
10038
10039         * reload.c (find_reloads): Likewise for `goal_alternative_number'
10040         and `goal_earlyclobber'.
10041
10042         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10043
10044         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10045
10046         * stupid.c (stupid_life_analysis): Likewise for `chain'.
10047
10048         * unroll.c (copy_loop_body): Likewise for `copy'.
10049
10050         * varasm.c (output_constructor): Likewise for `byte'.
10051
10052 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10053
10054         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10055         all FP constants for constant->reg moves.
10056         (ix86_split_to_parts): Try to convert memory address into immediate
10057         when available in the constant pool.
10058         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10059         moves.
10060         (LEGITIMATE_CONSTANT_P): Return 1.
10061         * i386.md (pushsf): New splitter to convert constant pool memory
10062         reference to immediate.
10063         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10064         reload.
10065
10066 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
10067
10068         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10069         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10070         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10071         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10072         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10073
10074 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
10075
10076         * ginclude/stdbool.h:  Support compilation as C++.
10077
10078 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10079
10080         * fold-const.c (make_range): Don't try to reverse an unbounded range.
10081
10082 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
10083
10084         * regclass.c (regclass): Properly compute loop_cost.  Adjust
10085         comments.
10086
10087         * regclass.c: Fix minor whitespace problems.
10088
10089 2000-01-03  Anthony Green  <green@cygnus.com>
10090
10091         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10092         Restore the pic register if required.
10093
10094 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
10095
10096         * c-common.c (format_char_info): Update comment.
10097         (check_format_info): Recognize 'z' modifier in the same way 'Z'
10098         was recognized.  Emit warning for formats new in ISO C99 only
10099         if flag_isoc9x is not set.
10100
10101 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
10102
10103         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10104
10105 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10106
10107         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10108         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10109         (make_compound_operation): Choose cheaper alternative between
10110         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10111
10112         * regclass.c (op_costs): Remove global variable.
10113         (record_reg_classes): New parameter "op_costs" and "reg_pref".
10114         (record_operand_costs): Break out from ...
10115         (scan_one_insn): ... here.
10116         (dump_regclass): Make dumps nicer.
10117         (regclass): Dump preferrences choosed and changes done during passes.
10118
10119 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10120
10121         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10122
10123 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10124
10125         * config/sparc/sparc.c (gen_df_reg): New function.
10126         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10127         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10128         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10129         movtf_cc_reg_sp64+1): Use it.
10130
10131 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10132
10133         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10134         copied LABEL_DECLs.
10135
10136 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10137
10138         * config/i386/i386.c (ix86_expand_unary_operator): Function
10139         definition made void.
10140         (ix86_expand_binary_operator): Update outdated preceding comment.
10141         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10142         prototype.
10143
10144         * config/i386/i386.c (override_options): Fix option-name typo.
10145
10146 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10147
10148         * system.h (CEIL): Define.
10149         * builtins.c (CEIL): Remove.
10150         * expmed.c (CEIL): Likewise.
10151         * expr.c (CEIL): Likewise.
10152         * stor-layout.c (CEIL): Likewise.
10153
10154 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10155
10156         * expr.c (store_constructor_field): Fix typo introduced with last
10157         gcc2 merge.
10158
10159 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
10160
10161         * tree.h (BINFO_N_BASETYPES): New macro.
10162
10163 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
10164
10165         * expmed.c (emit_store_flag): Prevent losing a pending stack
10166         adjust the same way we prevent losing queued increments.
10167
10168 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10169
10170         * function.c (update_temp_slot_address): Handle case where sum of
10171         temporary address plus offset in register is a valid address.
10172
10173 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
10174
10175         * genrecog.c (change_state) Corrected typo.
10176
10177 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10178
10179         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10180         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10181         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10182
10183 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10184
10185         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10186         case, expand GT comparisons correctly.  Fix a comment before this
10187         part of the code.
10188
10189 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10190
10191         * dwarfout.c: Include "frame.h"
10192         * dwarf2out.c: Likewise.
10193         * Makefile.in (dwarfout.o): Depend on frame.h
10194         (dwarf2out.o): Likewise.
10195
10196 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10197
10198         Restore i386 binary compatibility in Dwarf EH info.
10199         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10200         value of FIRST_PSEUDO_REGISTER.
10201         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10202         (struct frame_state): Use DWARF_FRAME_REGISTERS.
10203         * dwarfout.c (output_reg_number): Ditto.
10204         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10205         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10206
10207 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
10208
10209         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10210         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10211         (<hack>_RE_CT): not needed
10212         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10213         rewritten to scan the file text once only
10214         "template<..." test added
10215         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10216         (is_cxx_header): declaration added
10217         * fixinc/fixtests.c(is_cxx_header): removed
10218         (apply_fix_p_t): removed
10219         (double_slash_test): is_cxx_header is only called once now
10220         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10221         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10222         within the templates.
10223         The borken spelling of "broken" was fixed.
10224         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10225         The default level depends on FIXINC_DEBUG.
10226
10227 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10228
10229         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10230         Otherwise provide a declaration for atexit.
10231         (init_dummy): Make sure dummy call to atexit is nevertheless
10232         called with correct number of args.
10233
10234         * frame.c: Update comments referring to other files.
10235
10236         * libgcc2.c: Likewise.
10237
10238 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10239
10240         * cse.c (free_element, get_element): Remove unused prototypes.
10241
10242         * fold-const.c (extract_muldiv): Initialize variables `op0' and
10243         `op1'.
10244
10245         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10246         `else' clauses.
10247
10248 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
10249
10250         * configure.in,configure: case arm for mn10200-*-* now sets
10251         float_format=i32 so that float.h will correctly claim "double"
10252         to be 32 bits. Ran autoconf to generate configure from .in file.
10253
10254 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
10255
10256         * pa.md (conditional zero): If op1 is a register, force it into
10257         the same register as op0.
10258
10259 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
10260
10261         * tree.h (BINFO_BASETYPES): Improve documentation.
10262
10263 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10264
10265         * configure.in (--enable-checking): Use a more portable `for'
10266         loop syntax.
10267
10268 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10269
10270         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10271         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10272
10273         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10274         Delete files.
10275
10276         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10277         Delete descriptions.
10278
10279         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10280         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10281         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10282         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10283         xm-svr4.h: Remove all instances of sys_siglist handling.
10284
10285 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
10286
10287         * config/sparc/sparc.md (cmp_zero_qi,
10288         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10289         cmp_zero_extendqidi2_andcc_set): New patterns.
10290
10291 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
10292
10293         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10294         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10295         (fpgnulib.c, xfgnulib.c): Add rules.
10296         * m68k/t-mot3300-gas: Likewise.
10297
10298 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
10299
10300         * configure.in: Avoid [[ by using test and changequote.  Add
10301         changequote required by 1999-12-14 change.
10302         * configure: Rebuild.
10303
10304 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
10305
10306         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10307
10308 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
10309
10310         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10311         * flow.c (find_use_as_address): Likewise.
10312         * function.c (fixup_var_refs_1): Likewise.
10313         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10314         * jump.c (invert_exp, redirect_exp): Likewise.
10315         * loop.c (replace_call_address): Likewise.
10316         (count_nonfixed_reads): Likewise.
10317         * rtlanal.c (modified_between_p): Likewise.
10318         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10319         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10320         * unroll.c (remap_split_bivs): Likewise.
10321
10322 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10323
10324         * diagnostic.c (v_message_with_decl): Use .* format specifier
10325         instead of building the format specifier width manually.
10326
10327         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10328         determining whether to provide a prototype.  Remove the
10329         sys_siglist clause in the conditional.
10330
10331 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10332
10333         * fold-const.c (operand_equal_p): Use memcmp to compare string
10334         constants.
10335         Suggested by D. J. Bernstein
10336
10337 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10338
10339         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10340         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10341         compiling libgcc2.
10342         * config/mips/mips.h (TARGET_64BIT): Likewise.
10343         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10344         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10345         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
10346         dsps.  Give routines proper names if SI/DI modes are not used.
10347         * longlong.h: Use DWunion instead of DIunion.
10348
10349 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
10350
10351         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10352         GC_CHECKING, GC_ALWAYS_COLLECT.
10353         * configure.in: Allow --enable-checking with an argument
10354         listing check modes to enable.
10355         * config.in, configure: Rebuilt.
10356         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10357         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10358         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
10359         ENABLE_GC_ALWAYS_COLLECT.
10360         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10361         throughout.
10362         * tree.h, tree.c: Change ENABLE_CHECKING to
10363         ENABLE_TREE_CHECKING throughout.
10364
10365 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10366
10367         * fold-const.c (fold_truthop): Properly check for FP RHS.
10368
10369 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
10370
10371         * toplev.h (note_deferall_of_defined_inline_function): Declare.
10372         * toplev.c (note_deferral_of_defined_inline_function): New
10373         function, split out from ...
10374         (rest_of_compilation): ... here.  Use it.
10375
10376 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10377
10378         * expr.c (store_constructor): Don't call clear_storage if size is
10379         variable.
10380
10381 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10382
10383         * Makefile.in (toplev.o): Depend on loop.h.
10384
10385         * dwarfout.c: Include tm_p.h.
10386
10387         * emit-rtl.c (restore_emit_status): Mark parameter with
10388         ATTRIBUTE_UNUSED.
10389
10390         * final.c (final_scan_insn): Likewise.
10391
10392         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10393         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10394         flow_depth_first_order_compute, flow_loop_pre_header_find,
10395         flow_loop_tree_node_add, flow_loops_tree_build,
10396         flow_loop_level_compute, flow_loops_level_compute,
10397         flow_loop_outside_edge_p): Add prototypes.
10398         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10399
10400         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10401         Mark with ATTRIBUTE_NORETURN.
10402
10403         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10404
10405         * local-alloc.c (no_conflict_p): Likewise.
10406
10407         * loop.c (insert_bct): Hide definitions of variables with hidden
10408         usage.
10409         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10410
10411         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10412         with ATTRIBUTE_UNUSED.
10413         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10414         (reg_scan): Likewise.
10415
10416         * reload.c (find_reloads): Remove unused variables `changed'.
10417
10418         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10419         away const-ness.
10420         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10421         Remove unused variable `insn'.
10422
10423         * toplev.c: Include loop.h.
10424         (report_file_and_line): Remove unnecessary prototype.
10425
10426         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10427
10428         * unroll.c (biv_total_increment): Likewise.
10429
10430 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10431
10432         * reload1.c (emit_input_reload_insns): Restore old behaviour
10433         wrt. 'special' reloads.
10434
10435 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
10436
10437         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10438         hash.h.  (cse.c): Don't depend on hashtab.h.
10439
10440         * cse.c: Don't include hashtab.h.
10441         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10442         of dead functions.
10443         * ggc-simple.c: Don't include hash.h.
10444
10445 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
10446
10447         * dwarf2out.c (add_abstract_origin_attribute): Call
10448         gen_abstract_function on our function context.
10449
10450 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10451
10452         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10453
10454 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10455
10456         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10457         case in switch.
10458
10459 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10460
10461         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10462         constraints to "a!r".
10463
10464 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
10465
10466         * Makefile.in (calls.o): Depend on function.h.
10467         (alias.o): Likewise.
10468
10469 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
10470
10471         * reload1.c (emit_reload_insns): Break out code and variables into...
10472         (input_reload_insns, other_input_address_reload_insns,
10473         other_input_reload_insns, input_address_reload_insns,
10474         inpaddr_address_reload_insns, output_reload_insns,
10475         output_address_reload_insns, outaddr_address_reload_insns,
10476         operand_reload_insns, other_operand_reload_insns,
10477         other_output_reload_insns): ... new static variables, and...
10478         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10479         do_output_reload): ... new functions.
10480
10481 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10482
10483         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10484
10485 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10486
10487         * md.texi: Add c4x constraints documentation.
10488
10489 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10490
10491         * config/i386/dgux.c (struct option): Rename to
10492         lang_independent_option.
10493         (struct m_options): Add description field.
10494         (output_options): Rename option type, add sep declaration, output
10495         ix86_cpu_string and ix86_arch_string only if set.
10496         (output_file_start): Rename option type.
10497
10498 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
10499
10500         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10501         stmp-int-hdrs.
10502         (libgcc2.a): Similarly.
10503
10504 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
10505
10506         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10507         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
10508         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10509
10510 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
10511
10512         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10513         Remove redundant initialization of "frexpon" and "expon".
10514
10515 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10516
10517         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10518
10519         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10520         (store_constructor_field, expand_expr): Pass new arg.
10521
10522 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
10523
10524         * Makefile.in (explow.o): Depend on function.h.
10525
10526         * stor-layout.c (set_sizetype): Fix typo.
10527
10528 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
10529
10530         * function.c (cfun): Renamed from current_function.  All users
10531         changed.
10532         * function.h (cfun): Rename declaration as well.
10533
10534         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10535         to be of type regset_head, not regset.  All users changed by adding
10536         address operator.
10537         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10538
10539 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10540
10541         * config/c4x/rtems.h: New file.
10542
10543 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10544
10545         * reload1.c (spill_failure): Take class of failed reload as argument
10546         and print it.  Caller changed.
10547
10548 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10549
10550         * rs6000.h (SUBTARGET_DEFAULT): New macro.
10551         (TARGET_SWITCHES): Allow subtargets to default switches.
10552         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10553
10554 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
10555
10556         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10557         in a main program.
10558
10559 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
10560
10561         * cccp.c (main): Define __STDC_VERSION__ as necessary.
10562         * cppinit.c (cpp_handle_option): Likewise.
10563
10564         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10565         determine when to define.
10566
10567 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
10568
10569         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10570         cmove with mismatched test and data modes.
10571
10572 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
10573
10574         * c-typeck.c (c_expand_start_case): Don't warn for long switch
10575         in system headers.
10576
10577 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10578
10579         * alias.c: Minor reformatting.
10580         * flow.c: Likewise.
10581         * regs.h: Likewise.
10582         * stor-layout.c: Likewise.
10583         * fold-const.c: Likewise.
10584         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10585         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10586         not arg itself.
10587         (size_int_wide): Cache nodes even if garbage collecting.
10588         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10589         of SAVE_EXPR has no side effects.
10590         * cse.c: Move a comment.
10591         * tree.c: Minor reformatting.
10592         (int_size_in_bytes): Return -1 if constant overflows.
10593
10594 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10595
10596         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10597
10598 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10599
10600         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
10601         after any change to c-parse.in, even if objc-parse.y didn't
10602         change.  Oops.
10603
10604 1999-12-18  David S. Miller  <davem@redhat.com>
10605
10606         * toplev.c (rest_of_compilation): Restore BLOCK tree
10607         reconstruction and branch shortening changes lost in
10608         December 18th change.
10609
10610 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
10611
10612         * config/arm/linux-elf.h: Change all instances of
10613         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10614         * config/arm/uclinux-elf.h: Likewise.
10615
10616 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
10617
10618         * toplev.c (notice, vmessage, v_message_with_file_and_line,
10619         v_message_with_decl, file_and_line_for_asm,
10620         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10621         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10622         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10623         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10624         pfatal_with_name, fatal_io_error, need_error_newline,
10625         last_error_function, last_error_tick, announce_function,
10626         default_print_error_function, print_error_function,
10627         report_error_function, fnotice, error_with_file_and_line,
10628         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10629         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10630         warning_with_decl, warning_for_asm, warning, pedwarn,
10631         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10632         diagnostic.c
10633         (compile_file): Use fnotice instead of notice.  Adjust call.
10634
10635         * diagnostic.c: New file.
10636
10637         * Makefile.in (OBJS): Include diagnostic.o
10638         (diagnostic.o): Define dependence.
10639
10640 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10641
10642         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10643         Tweak formatting.
10644
10645 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10646
10647         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10648
10649 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10650
10651         * fixtests.c (is_cxx_header): New fn, split out of
10652         double_slash_test.
10653         (else_endif_label): Allow "#endif // comment" in C++ headers,
10654         as determined by is_cxx_header.
10655         * fixfixes.c (else_endif_label_fix): Update comment.
10656         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10657         a tty.
10658         * genfixes: Correct double thinko in commandline parsing.
10659         * hackshell.tpl: Generate correct sh syntax for bypass
10660         entries.
10661
10662         * inclhack.def (all): Whenever an inserted preprocessor
10663         conditional is split over multiple lines, use double
10664         backslashes in this file so the fixed header will be readable.
10665
10666         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10667         and add bypass entry for correct version of this header.
10668         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10669         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10670
10671         (hpux8_bogus_inlines): New fix, split from...
10672         (ultrix_atof_param) ... here.
10673         (math_expression): Add bypass entry keyed to glibc comment
10674         indicating the problem has been dealt with; disable
10675         unnecessary sed operations; update commentary.
10676         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10677         add select and bypass entries, simplify shell operation.
10678         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10679
10680         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10681          ultrix_atof_param): Add select entry.
10682         (stdio_va_list, sunos_mather_decl): Add bypass entry.
10683         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10684         comments with the fixes they describe.
10685
10686         * c-parse.in (string action): Do not warn about ANSI string
10687         concatenation in system headers.  Affects C parser only.
10688         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10689
10690 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10691
10692         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10693         compiling libgcc2 the macro depends always on arch cpp defines.
10694
10695 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
10696
10697         * loop.c (insert_loop_mem): Don't record MEMs from inside
10698         EXPR_LISTs.
10699
10700 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
10701
10702         * regclass.c (regclass): Do not use flowgraph when not optimizing.
10703
10704         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10705         notes too, create one when replacement failed, attempt to simplify
10706         resulting notes.
10707         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10708         or REG_EQUIV notes.
10709
10710 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10711
10712         * crtstuff.c (__dso_handle): Declare.
10713         (__cxa_finalize): Likewise.
10714         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10715         non-NULL.
10716
10717         * invoke.texi: Document -fuse-cxa-atexit.
10718
10719         * tree.h (ptr_type_node): Document.
10720         (const_ptr_type_node): Likewise.
10721
10722 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10723
10724         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10725         (optimize_reg_copy_2): Likewise.
10726         (optimize_reg_copy_3): Likewise.
10727         (fixup_match_2): Likewise.
10728         (regmove_optimize): Likewise.
10729         (fixup_match_1): Liekwise.
10730
10731         * i386.md (HI to SImode promoting splitters): Rewrite.
10732         (pushsf mem peep2): New.
10733         (testhi to andhi peep2): Remove.
10734         * i386.h (x86_promote_QImode): New.
10735         (TARGET_PROMOTE_QImode): New.
10736         (PREDICATE_CODES): Add promotable_binary_operator.
10737         * i386.c (x86_promote_QImode0: New.
10738         (promotable_binary_operator): New.
10739         * i386-protos.h (promotable_binary_operator): New.
10740
10741         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10742         condition.
10743         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10744
10745 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10746
10747         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10748         * function.c (insert_block_after_note): Remove.
10749         (retrofit_block): Likewise.
10750         (identify_blocks): Fix indentation.
10751         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10752         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10753         * function.h (insert_block_after_note): Remove prototype.
10754         (retrofit_block): Likewise.
10755         * integrate.c (expand_inline_function): Don't call
10756         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
10757         just expand_start_bindings.  Use the block_map to remap old
10758         NOTE_BLOCKs to new ones.
10759         (integrate_decl_tree): Keep track of remapped blocks.
10760         * integrate.h (struct inline_remap): Add block_map.
10761         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
10762         NOTE_BLOCK on the notes.
10763         (expand_start_bindings): Rename to ...
10764         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
10765         (expand_end_bindings): Set NOTE_BLOCK.
10766         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10767         reconstruct the BLOCK tree.
10768         * tree.h (expand_start_bindings): Macroize.  Call ...
10769         (expand_start_bindings_and_block): New function.
10770
10771 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10772
10773         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10774         to match the format.
10775
10776 1999-12-16  David S. Miller  <davem@redhat.com>
10777
10778         * expr.c (emit_move_insn_1): Only emit clobbers if one of
10779         the outputs is a SUBREG.
10780         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10781         change.
10782
10783         * config/sparc/sparc.c (epilogue_renumber): Add default case
10784         to switch stmt.
10785
10786 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10787
10788         * toplev.c (rest_of_compilation): Run branch shortening after
10789         reg-stack.
10790
10791         * regclass.c (loop_depth): Remove
10792         (scan_one_insn): Do not handle LOOP_NOTE insns.
10793         (regclass): Go through basic blocks and set loop_cost
10794
10795 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
10796
10797         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10798
10799 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10800
10801         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10802         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10803         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10804
10805 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
10806
10807         * loop.c (insert_loop_mem): Ignore memory clobbers.
10808
10809         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10810         to (OP A B).
10811
10812 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
10813
10814         * profile.c: Remove redundant #include "output.h".
10815
10816         * h8300.md (HImode preinc peephole): Fix typo.
10817
10818 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10819
10820         * function.c (retrofit_block): Abort if we don't find a suitable insn.
10821         (insert_block_after_note): Abort if we don't have a previous block.
10822         Remove FN parameter.
10823         * function.h: Adjust.
10824
10825 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
10826
10827         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10828         argument more than once.
10829
10830 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10831
10832         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10833
10834 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
10835
10836         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10837
10838 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10839
10840         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10841         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10842         update stack_alignment_needed.
10843         (prepare_function_start): Initialize stack_alignment_needed
10844         * function.h (struct function): Add field stack_alignment_needed.
10845
10846 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10847
10848         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10849         Handle live_throughout / dead_or_set instead of live_before /
10850         live_after.
10851         (save_call_clobbered_regs): Get register livenessinformation from
10852         chain->live_throughout.
10853         (add_stored_regs): New function.
10854         (insert_restore, insert_save): Add restored / saved registers to
10855         dead_or_set.
10856         * global.c (reg_dies): New parameter chain.
10857         (reg_becomes_live): Third parameter is regs_set now.
10858         Changed all callers.
10859         (reg_dies): New parameter chain.  Changed all callers.
10860         (build_insn_chain): Set live_throughout instead of
10861         live_before / live_after.
10862         * reload.h (struct insn_chain): Replace members live_before /
10863         live_after with live_throughout / dead_or_set.
10864         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10865         instead of live_before / live_after.
10866         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10867         (order_regs_for_reload, find_reg, finish_spills): Likewise.
10868         (choose_reload_regs_init): Likewise.
10869         * stupid.c (current_chain, find_clobbered_regs): Delete.
10870         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10871         instead of chain->live_before / chain->live_after.
10872         (mark_hard_ref): New function.
10873         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10874
10875 1999-12-15  David S. Miller  <davem@redhat.com>
10876
10877         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10878
10879 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10880
10881         * flow.c (calculate_loop_depth): Make global, remove prototype,
10882         rewrite to use new loop infrastructure.
10883         (find_basic_block): Remove calculate_loop_depth call.
10884         * toplev.c (rest_of_compilation): Call find_basic_block.
10885         * output.h (calculate_loop_depth): Declare.
10886
10887         * flow.c (dump_flow_info): Dump loop_depth.
10888         (flow_loops_nodes_find): Increase loop_depth for basic block in the
10889         body.
10890         (flow_loops_find): Initialize the loop_depth for each basic block.
10891
10892 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10893
10894         * tree.c (decl_function_context): Handle virtual functions.
10895
10896         * tlink.c (scan_linker_output): Don't look in demangled name when
10897         looking for linker output keywords.
10898
10899         * dwarfout.c (output_type): We can defer namespace-scope classes.
10900
10901 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
10902
10903         * regclass.c (record_reg_classes): Update comment for merging
10904         register class preferences in reg->reg copies.  Tighten conditions
10905         for merging register class preferences in reg->reg copies.
10906
10907 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
10908
10909         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10910
10911 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
10912
10913         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10914         (INIT_SECTION_ASM_OP): Delete.
10915         (FINI_SECTION_ASM_OP): Delete.
10916         (STARTFILE_SPEC): Define to hold just crtbegin.o.
10917
10918 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
10919
10920         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10921         the abstract origin wasn't emitted.
10922
10923         * dwarf2out.c (class_scope_p): New fn.
10924         (gen_subprogram_die): Use it.
10925         (gen_variable_die): Use it.  Tweak logic.
10926         (gen_struct_or_union_type_die): Check context_die to determine
10927         if we're function-local.
10928         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10929
10930 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10931
10932         * loop.c (check_dbra_loop): Can't reverse a biv that has
10933         maybe_multiple set.
10934
10935 1999-12-14  Nick Clifton  <nickc@cygnus.com>
10936
10937         * config/arm/arm.c: Add support for -mcpu=arm720 command line
10938         switch.
10939
10940 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10941
10942         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10943         for givs made from biv increments.
10944
10945 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
10946
10947         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10948         * alpha.c (override_options): Recognize -mcpu=ev67.
10949         * alpha.h (CPP_CPU_EV67_SPEC): New.
10950         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
10951         (EXTRA_SPECS): Update.
10952
10953 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
10954
10955         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
10956         appropriate for -lang-c89 and -std=*.
10957         * cppinit.c (cpp_handle_option): Likewise.
10958         (new_pending_define): New, split out from cpp_handle_option.
10959         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
10960         or enable trigraphs for -ansi/-std=*.
10961
10962         * ginclude/stdarg.h (__va_copy): New.
10963         (va_copy): Don't define for C89.
10964
10965 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
10966
10967         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
10968         for long long multiply-accumulate.
10969
10970 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10971
10972         * regclass.c (scan_one_insn): Set loop_cost to 1 when
10973         optimizing for size.
10974
10975 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10976
10977         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
10978         if something changed.  Back out that part of yesterday's changes.
10979
10980         * loop.c (loop_max_reg): New static variable.
10981         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
10982         max_reg_num.
10983         (scan_loop): Call reg_scan_update whenever we may have added new
10984         registers, and update loop_max_reg.
10985
10986 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10987
10988         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
10989         when source does not die.
10990
10991         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
10992
10993 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
10994
10995         * config/sparc/linux64.h (TARGET_LIVE_G0,
10996         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
10997         variants on Linux.
10998         * config/sparc/linux.h (TARGET_LIVE_G0,
10999         TARGET_BROKEN_SAVERESTORE): Likewise.
11000         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11001         TARGET_BROKEN_SAVERESTORE): Likewise.
11002
11003         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11004         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11005         not %g2.
11006         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11007         as sparc64 block profiling register.
11008         * config/sparc/sparc.c (sparc_override_options): Allow block
11009         profiling with -m32.
11010         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11011         profiling register.
11012         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11013         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11014         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11015
11016         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11017         for sparc64.
11018         * config/sparc/sparc.h: Likewise.
11019         * config/sparc/xm-sysv4-64.h: Likewise.
11020         * config/float-sparc.h: Likewise.
11021         * glimits.h: Likewise.
11022         * longlong.h: Likewise.
11023
11024         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11025         (ASM_IDENTIFY_GCC): Remove.
11026
11027 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11028
11029         * combine.c (combine_simplify_rtx): Don't make shared rtl.
11030         (simplify_logical): Likewise.
11031
11032 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11033
11034         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11035         * cppfiles.c (INO_T_EQ): Likewise.
11036
11037 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11038
11039         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11040         * i386/mingw32.h (LIB_SPEC): Likewise.
11041         (STARTFILE_SPEC): Likewise.
11042         * i386/uwin.h (LIB_SPEC): Likewise.
11043         (STARTFILE_SPEC): Likewise.
11044
11045         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11046         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11047
11048 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
11049
11050         * combine.c (combine_simplify_rtx): Fix order of checks for
11051         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11052
11053 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
11054
11055         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
11056         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11057
11058 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11059
11060         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11061         defined.
11062         * regclass.c (inv_reg_alloc_order): New array.
11063         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11064
11065         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11066         counted_for_groups, counted_for_nongroups.  Add fields rld and
11067         n_reloads.
11068         * reload.c (push_secondary_reload): Don't set nongroup field of
11069         new reloads.
11070         (push_reload): Likewise.
11071         (find_reloads): Delete code to compute nongroup fields.
11072         * reload1.c (reload_insn_firstobj): New static variable.
11073         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
11074         users changed.
11075         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11076         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11077         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11078         functions.
11079         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11080         functions.
11081         (struct hard_reg_n_uses): Deleted.
11082         (potential_reload_regs): Deleted.
11083         (init_reload): Initialize spilled_pseudos and pseudos_counted.
11084         (reload): Don't try to allocate reload registers if we already know
11085         we have to make another pass.  Call select_reload_regs.  Free memory
11086         starting with reload_firstobj when starting another pass.
11087         Don't allocate spilled_pseudos.
11088         (calculate_needs_all_insns): Call copy_reloads for an insn that
11089         needs reloads; don't call calculate_needs.
11090         (spill_cost): New static array.
11091         (used_spill_regs_local): New static variable.
11092         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11093         to compute potential_reload_regs.
11094         (find_reload_regs): Completely rewritten to use find_reg.
11095         (allocate_reload_reg): Don't test counted_for_groups or
11096         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
11097         all cllers changed.
11098         (choose_reload_regs): Add fallback code that uses the existing
11099         register allocation from find_reload_regs.
11100
11101 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
11102
11103         * flow.c (create_edge_list): Cast xmalloc return value.
11104
11105 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
11106
11107         * doprnt.c: Remove incorrect comment closure.
11108
11109         * cse.c: Fix a few minor whitespace goofs.
11110
11111 1999-12-13  Don Bowman  <don@pixstream.com>
11112
11113         * mips/vxworks.h: Fix problem with comment termination.
11114         (EXTRA_SECTIONS): Add in_sbss.
11115         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11116
11117 1999-12-12  David S. Miller  <davem@redhat.com>
11118
11119         * cse.c (struct cse_reg_info): Add hash_next member,
11120         reorder rest of struct for better packing on 64-bit
11121         hosts.
11122         (cse_reg_info_tree): Kill.
11123         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11124         REGHASH_FN): New custom pow2 hash mechanism.
11125         (NBUCKETS): Kill.
11126         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11127         use a pow2 hash table.
11128         (get_cse_reg_info): Rework to use new REGHASH.
11129         (new_basic_block): Likewise, use HASH_SIZE, and inline
11130         free_element call.
11131         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11132         and inline free_element call.
11133         (lookup_as_function, insert, flush_hash_table, invalidate,
11134         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11135         invalidate_for_call, use_related_value, find_comparison_args,
11136         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11137         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11138         get_element): Kill.
11139
11140 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
11141
11142         * cse.c (cse_basic_block): Free qty_table consistently.
11143
11144 1999-12-12  David S. Miller  <davem@redhat.com>
11145             Jakub Jelinek    <jakub@redhat.com>
11146
11147         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11148         SUBREGs by hand, gen the appropriate hard reg directly.
11149         (movtf reg/mem split): Likewise and alter_subreg on destination
11150         if necessary.
11151         (movtf mem/reg split): Similarly.
11152         (movdf_cc_sp64): Rename from hidden pattern.
11153         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11154         (movtf_cc_sp64, following split): New pattern and splitter.
11155         (movdf_cc_reg_sp64): Rename from hidden pattern.
11156         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11157         TARGET_HARD_QUAD.
11158         (movtf_cc_reg_sp64, following split): New pattern and splitter.
11159
11160 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
11161
11162         * loop.c (load_mems): Don't hoist written floating point mem
11163         if -ffloat-store.
11164
11165 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
11166
11167         * except.h (struct eh_queue): Add `next' pointer.
11168         (struct eh_status): Make x_ehqueue a pointer.
11169         (push_ehqueue):  Declare.
11170         (pop_ehqueue): Likewise.
11171         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11172         pointer.
11173         (expand_fixup_region_end): Likewise.
11174         (expand_leftover_cleanups): Likewise.
11175         (push_ehqueue): Define.
11176         (pop_ehqueue): Likewise.
11177         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11178         than doing it inline.
11179         (expand_start_all_catch):  Adjust now that ehqueue is a
11180         pointer.
11181         (mark_eh_queue): Mark all level of the queue.
11182         (mark_eh_status):  Adjust now that ehqueue is a
11183         pointer.
11184         (init_eh_for_function): Allocate ehqueue.
11185         (free_eh_status): Free it.
11186         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11187         expansion for a fixup.
11188
11189 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11190
11191         * gthr-single.h (__gthread_active_p): Add prototype arguments.
11192
11193         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11194         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11195         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11196         function_ptr, getpagesize, __enable_execute_stack,
11197         __enable_execute_stack, __clear_insn_cache,
11198         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11199         _cleanup, _exit, __default_terminate, __terminate_func,
11200         __terminate, __empty, __throw, new_eh_context,
11201         eh_context_initialize, eh_context_static, eh_context_specific,
11202         get_eh_context, __get_eh_context, __get_eh_info,
11203         init_reg_size_table, eh_threads_initialize,
11204         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11205         __unwinding_cleanup, throw_helper, __throw, __rethrow,
11206         __pure_virtual): Add prototype arguments.
11207         (__bb_exit_func): Cast a sizeof to long when comparing against one.
11208         Cast a signed value to unsigned long when comparing against one.
11209         (new_eh_context): Wrap in _GTHREADS macro.
11210         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11211         declaration.
11212         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11213         (throw_helper): Initialize variables `handler_p' and `pc_p'.
11214
11215 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11216
11217         * combine.c (record_promoted_value): Remove unused variable
11218         `links2'.
11219
11220         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11221
11222         * global.c (record_conflicts): Likewise for `j'.
11223
11224         * genoutput.c (output_insn_data): Don't unnecessarily cast away
11225         const-ness.
11226
11227 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11228
11229         * i386-protos.h (output_387_binary_op, output_fix_trunc,
11230         output_fp_compare): Constify a char*.
11231
11232         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11233         static prototypes.
11234         (override_options, ix86_comp_type_attributes, print_operand,
11235         output_387_binary_op, output_fix_trunc, output_fp_compare):
11236         Constify a char*.
11237         (ix86_sched_reorder): Mark parameter `clock_var' with
11238         ATTRIBUTE_UNUSED.
11239
11240         * i386.h (DEBUG_PRINT_REG): Constify a char*.
11241
11242 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11243
11244         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11245         operand, for use in the Java front-end.
11246
11247 1999-12-10  Ben Collins  <bcollins@debian.org>
11248
11249         * configure.in: Fix typo for "-64" in 64bit as check.
11250         * configure: Rebuilt.
11251
11252 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
11253
11254         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11255         appropriate.
11256
11257 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11258
11259         * c-parse.in (string): With -Wtraditional, warn if ANSI string
11260         concatenation is utilized.
11261
11262         * invoke.texi (-Wtraditional): Document it.
11263
11264 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11265
11266         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11267         Cast a ptrdiff_t to long and pass it to printf with %ld.
11268
11269 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
11270
11271         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11272         68881, we have no 68881 registers at all.
11273         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11274         value in a 68881 register if it is available.
11275
11276 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
11277
11278         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11279         for long long multiply-accumulate.
11280
11281 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11282
11283         * loop.c (insert_loop_mem): Undo last change.
11284
11285 1999-12-10  David S. Miller  <davem@redhat.com>
11286
11287         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11288         New functions.
11289         * config/sparc/sparc-protos.h: Add them.
11290         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11291         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11292         constraints which use those helpers.
11293         (EXTRA_CONSTRAINT): Use this new macro.
11294         * md.texi: Update sparc target constraints documentation.
11295         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11296         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11297         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11298         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11299         (movsf high/lo_sum split): Rework for new patterns.
11300         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11301
11302 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
11303
11304         * c-common.c (c_common_nodes_and_builtins):
11305         Create __builtin_ptrdiff_t and __builtin_size_t.
11306
11307 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
11308
11309         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11310
11311 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11312
11313         * regclass.c (globalize_reg): Re-instate test that allows
11314         fixed registers to be declared as a variable even after functions
11315         are defined.
11316
11317 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11318
11319         * i386.md (cpu attribute): Add "athlon".
11320         (athlon_decode): New attribute.
11321         (Athlon scheduling units definitions): New.
11322         (fcmp and shld patterns): Set athlon_decode to "vector".
11323         * i386.c (athlon_cost): New.
11324         (m_ATHLON): New.
11325         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11326         x86_use_sahf): Set for Athlon.
11327         (x86_use_fiop): Unset for Athlon.
11328         (override_options): Define Athlon alignments and "athlon" name.
11329         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11330         * i386.h (TARGET_ATHLON): New.
11331         (enum processor_type): Add PROCESSOR_ATHLON.
11332         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11333         for CPU_DEFAULT==5
11334         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11335
11336 1999-12-09  Andreas Jaeger  <aj@suse.de>
11337
11338         * loop.c (record_biv): Declare parameter as int.
11339
11340         * config/i386/i386-protos.h: Declare long_memory_operand.
11341
11342 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
11343
11344         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11345         EXPR_WITH_FILE_LOCATION.
11346
11347 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
11348
11349         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11350         in expander.
11351
11352         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11353
11354         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11355         updating code.
11356
11357 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
11358
11359         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11360         default on linux64 again.
11361         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11362         models for multilibing.
11363         * genmultilib: Accept | as alternative separator within a set in
11364         MULTILIB_OPTIONS.
11365
11366         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11367
11368         * calls.c (precompute_arguments): Make sure initial_value contains
11369         value pseudo which CSE expects.
11370         * cse.c (struct set): New entry orig_src.
11371         (cse_insn): Set it early on entry, use it for libcall EQUIV note
11372         replacement.
11373
11374 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
11375
11376         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11377
11378 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
11379
11380         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11381
11382 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
11383
11384         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11385         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11386
11387         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11388         if TARGET_ARCH32.
11389
11390         * longlong.h: Merge in changes from glibc.
11391         Also don't clobber %g2 register in 32bit SPARC assembly, so that
11392         -mno-app-regs libgcc can be compiled.
11393         * libgcc2.c: Add defines so that the updated longlong.h
11394         can be used in libgcc2.a. Also, make sure on most architectures
11395         (at least on all which have optimized code in longlong.h defined
11396         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11397
11398 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11399
11400         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11401         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11402         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11403         is GNU ld.
11404         * configure: Rebuilt.
11405
11406 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
11407
11408         * alpha.c (secondary_reload_class): For !BWX, sub-simode
11409         outputs require a register.
11410
11411 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
11412
11413         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11414         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
11415         functions like dptoul will be resolved.
11416         (libgcc2.a): Make sure that the object files from DPBIT are named
11417         differently (prefix `_dp') from those that would be coming from
11418         FPBIT.
11419
11420 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
11421
11422         * configure.in: When target is sparc* and tm_file contains 64,
11423         test for 64bit support in assembler.  If not supported, remove
11424         sparc/t-sol2-64 from target-dependent Makefile fragments.
11425         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11426         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11427         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11428         * acconfig.h (AS_SPARC64_FLAG): Added.
11429         * configure, config.in: Rebuilt.
11430         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11431         support.  Use AS_SPARC64_FLAG.
11432
11433 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
11434
11435         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11436         suitable for holding OFmode values so that gcc works with complex
11437         quad long doubles.
11438         (hard_64bit_mode_classes): Likewise.
11439
11440         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11441         so that it is actually matched.
11442         (sethi_di_medlow): Likewise.
11443
11444         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11445         as legitimate constant if -mvis.
11446         * config/sparc/sparc.md (movtf): Likewise.
11447         (clear_sf): Use const_double_operand.
11448         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11449
11450         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11451         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11452         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11453         routines, _Qp_* cannot be handled like that now.
11454         (INIT_TARGET_OPTABS): Likewise.
11455         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11456         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11457         sparc_emit_float_lib_cmp if ARCH64 and soft float.
11458         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11459         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11460         divtf3, sqrttf3): New expanders.
11461         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11462         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11463         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11464         non-_hq patterns.
11465
11466         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11467         * configure: Rebuilt.
11468         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11469         -mcpu is given and we're doing 64bit compiles.
11470
11471 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
11472
11473         * loop.h (struct induction): Add multi_insn_incr.
11474         * loop.c (basic_induction_var): New multi_insn_incr argument.
11475         Set it if we search back through previous insns for the biv.
11476         (record_biv): New multi_insn_incr argument; fill in struct induction.
11477         (strength_reduce): Discard an iv with multiple bivs, any of
11478         which require multiple insns to increment.
11479
11480 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11481
11482         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11483         documentation.
11484
11485 1999-12-06  David S. Miller  <davem@redhat.com>
11486
11487         * combine.c (check_promoted_subreg): Do not conditionalize this upon
11488         PROMOTE_FUNCTION_RETURN.
11489
11490 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
11491
11492         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11493         and handle REG_UNUSED note on insn.
11494
11495         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
11496         inner_mask instead of mask.
11497
11498 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
11499
11500         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11501         zero if there was an error.
11502
11503 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11504
11505         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11506         output string.
11507
11508         * longlong.h: Fix clobbers in SPARC asm statements.
11509
11510         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11511         valid sethi operations when TARGET_ARCH64.
11512
11513         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11514         always use move_by_pieces to avoid infinite recursion.
11515         (restore_fixed_argument_area): Likewise.
11516
11517         * combine.c (check_promoted_subreg, record_promoted_value): New
11518         functions.
11519         (combine_instructions): Use them to retain nonzero and sign bit
11520         information after SUBREGs are eliminated by optimizations in
11521         this pass if PROMOTE_FUNCTION_RETURN.
11522
11523         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11524         .register declaration. Don't use variables with __ prefixes.
11525
11526 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11527
11528         * fold-const.c (optimize_bit_field_compare): Only use one mode
11529         for both RHS and LHS in non-constant case.
11530
11531 1999-12-06  Nathan Sidwell  <nathan@acm.org>
11532
11533         * frame.c (start_fde_sort): Only allocate erratic array, if
11534         linear one was allocated. Return allocated flag.
11535         (fde_insert): Only insert, if there's a valid array.
11536         (fde_end_sort): Split, sort and merge if linear and erratic
11537         arrays exist, else just sort linear one.
11538         (search_fdes): New function. Linear search through original fde
11539         structure.
11540         (frame_init): Permit multiple initializations. Cope with
11541         memory shortages.
11542         (find_fde): Fallback on linear search, if failed to sort array.
11543         (__deregister_frame_info): Only free sorted array, if we
11544         allocated it.
11545
11546 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11547
11548         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11549
11550 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
11551
11552         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11553
11554 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
11555
11556         * tree.h (special_function_p): Declare.
11557         * calls.c (special_function_p): Make it global.  Don't take `name'
11558         as a parameter.  Fix typo in 1999-11-28 change.
11559         (expand_cal): Adjust.
11560
11561 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
11562
11563         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11564         * tree.h (EXPR_WFL_FILENAME): Define in terms of
11565         EXPR_WFL_FILENAME_NODE.
11566         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11567         the TREE_CHAIN.
11568         * print-tree.c (print_note): Print TREE_PRIVATE and
11569         TREE_PROTECTED.
11570
11571         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11572         the original die cannot be found.
11573
11574         * varray.h (varray_head_tag): Add elements_used.
11575         (VARRAY_PUSH): New macro.
11576         (VARRAY_POP): Likewise.
11577         (VARRAY_TOP): Likewise.
11578         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11579         types.
11580         * varray.c (varray_init): Initialize elements_used.
11581         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11582         (INTEGRATE_H): New variable.
11583         (integrate.o): Depend on INTEGRATE_H.
11584         (unroll.o): Likewise.
11585
11586         * function.h (insert_block_after_note): Declare.
11587         * function.c (insert_block_after_note): Split out from ...
11588         (retrofit_block): ... here.
11589
11590         * stmt.c (expand_fixup): Fix typo in comment.
11591
11592 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11593
11594         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11595         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11596         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11597         (regmove_optimize, fixup_match_1): Likewise.
11598
11599 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11600
11601         * flow.c (flow_loops_dump): Add missing argument when calling
11602         flow_loop_nested_p.
11603
11604 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
11605             Greg McGary  <gkm@gnu.org>
11606
11607         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11608         (init_attributes): Add A_NO_LIMIT_STACK.
11609         (decl_attributes): Handle A_NO_LIMIT_STACK.
11610         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11611         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11612         Handle stack bounds checking.
11613         * flags.h (flag_stack_check): Use the word 'probe' rather than
11614         'check', because the flag doesn't actually cause any checking to
11615         be done.
11616         * function.c (expand_function_start): Set
11617         current_function_limit_stack.
11618         * function.h (struct function): Add limit_stack.
11619         (current_function_limit_stack): Define.
11620         * invoke.texi (Code Gen Options): Document new options.
11621         * rtl.h: Declare stack_limit_rtx.
11622         * toplev.c (stack_limit_rtx): New variable.
11623         (decode_f_option): Handle new options -fstack-limit-register=REG,
11624         -fstack-limit-symbol=IDENT, -fno-stack-limit.
11625         (main): Add stack_limit_rtx as GC root.
11626         * tree.h (DECL_NO_LIMIT_STACK): New macro.
11627         (struct tree_decl): New member no_limit_stack.
11628
11629         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11630         stack_limit_rtx.
11631         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11632         (conditional_trap+1): Get new mnemonic correct.
11633         (conditional_trap+2): New pattern for DImode traps.
11634
11635         * config/m68k/m68k.c (output_function_prologue): Handle
11636         stack_limit_rtx.
11637         * config/m68k/m68k.md (trap): New insn.
11638         (conditional_trap): New insn.
11639         * md.texi (Standard Names): Document `trap' and
11640         `conditional_trap'.
11641         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11642         so a cc0 setter doesn't get emitted at some random place in the
11643         function.
11644
11645         * config/i960/i960.md (trap): New insn.
11646         (conditional_trap): New expander.
11647         (conditional_trap+1, conditional_trap+2): New insns for signed
11648         and unsigned cases.
11649         * config/i960/i960.c (i960_function_prologue): Use
11650         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
11651
11652 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
11653                           Geoffrey Keating  <geoffk@cygnus.com>
11654
11655         * flags.h (warn_padded, warn_packed): Add global var decls.
11656         * toplev.c (warn_padded, warn_packed): Add global var defns.
11657         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11658         * stor-layout.c (layout_record): Add local variable `type'
11659         to hold often-used TREE_TYPE (field).  Add local variable
11660         `unpacked_align' to hold alignment that would be in force
11661         if no `packed' attribute were present.  Warn if `packed' attribute
11662         is unnecessary, or even harmful.  Warn when gcc inserts padding
11663         to satisfy alignment requirements of members.  Use NULL_TREE
11664         when checking whether var_size is set.
11665         * invoke.texi: Document new flags.
11666
11667 1999-12-03  Nathan Sidwell  <nathan@acm.org>
11668
11669         * frame.c (fde_split): Reimplement to avoid variable sized array.
11670
11671 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11672
11673         * combine.c (try_combine): Before fixing up LOG_LINKS for the
11674         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11675
11676 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
11677
11678         * invoke.texi: Document the mips option -mno-crt0
11679
11680 1999-12-02  Mike Karr  <mkarr@mathworks.com>
11681
11682         * cccp.c (argdata): Added free_ptr member.
11683         (macroexpand): Initialize free_ptr of each argument. When an
11684         argument's buffers are freed, if the argument's free_ptr corresponds
11685         to a buffer on the input stack, then return the free_ptr to that stack
11686         frame, otherwise, free it.
11687         (macarg): If an argument begins and ends on the same input stack level,
11688         then transfer the free_ptr of that buffer to the argument in case
11689         the stack is popped during the processing of a subsequent argument.
11690
11691 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
11692
11693         * loop.c (note_reg_stored): New function.
11694         (struct note_reg_stored_arg): New structure.
11695         (try_copy_prop): Change to be more conservative; only replace within
11696         one extended basic block and stop replacing if a store to the
11697         replacement reg is seen.
11698
11699 1999-12-02  Nick Clifton  <nickc@cygnus.com>
11700
11701         * config/fp-bit.c: Initialise all fields of the NAN
11702         constants.
11703
11704         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11705         to HANDLE_PRAGMA.
11706
11707 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
11708
11709         * i386.md (extend?f?f2): Force the input into a register, not
11710         the output.
11711
11712 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
11713
11714         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11715         regclass' sake.
11716         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11717         alternative because setting up 64bit constant is usually costly,
11718         especially when reload is in progress or completed.
11719         (movdf_const_intreg_sp64): Likewise.
11720         (movdf_const_intreg split): Fix building up constants when
11721         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11722
11723 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
11724
11725         * combine.c (if_then_else_cond): Use const_true_rtx instead of
11726         const1_rtx for return values in EQ/NE comparison against (const_int 0)
11727         case.
11728
11729         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11730         (asm_file_start): Emit .am33 into assembly file when compiling for
11731         the AM33.
11732         (print_operand_address): Handle POST_INC addresses.
11733         (can_use_return_insn, initial_offset): Check AM33 registers too.
11734         (expand_prologue): Check & save AM33 registers too.
11735         (expand_epilogue): Similarly.
11736         (secondary_reload_class): Handle AM33 specific secondary reloads.
11737         (output_tst): Emit efficient code for the AM33 too.
11738         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11739         (TARGET_SWITCHES): Add -mam33 switch.
11740         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11741         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11742         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11743         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11744         (enum reg_class, REG_CLASS_NAMES): Likewise.
11745         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11746         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11747         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11748         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11749         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11750         (HAVE_POST_INCREMENT): Define.
11751         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11752         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11753         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11754         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11755         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11756         (zero_extend to SI from QI/HI): Likewise.
11757         (sign_extend to SI from QI/HI): Likewise.
11758         (mulsidi3, umulsidi3): New patterns for the AM33.
11759         (tstsi with zero extension from QI/HI): Add AM33 variants.
11760         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11761         (return_internal_regs, store_movm): Handle new AM33 registers.
11762         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11763         (LIBGCC, INSTALL_LIBGCC): Likewise.
11764         * invoke.texi: Document new flags.
11765
11766 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11767
11768         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11769         (addsi3_carry): Likewise.
11770         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11771         (sbbsi3_carry): Likewise.
11772         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11773         (mulhi3): Likewise.
11774         (test?i_1): Ensure that only one operand is memory.
11775         (conditional move patterns): likewise.
11776         (shift and rotate patterns): Rewrite to expander, add
11777         "binary_operator_ok" to the condition.
11778
11779         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11780         * i386.h (procesor_costs): Add movzbl_load field.
11781         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11782         non-Q registers, accept DImode registers anywhere.
11783         (Q_CLASS_P): New.
11784         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11785         * i386.c (*_cost): Set value for movxbl_load field.
11786
11787         * (addsi): New add to lea splitter.
11788         (ashlsi): Likewise.
11789         (lea to add/shift peep2): New.
11790
11791 1999-12-01  Mark Salter <msalter@cygnus.com>
11792
11793         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11794         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11795         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11796
11797 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11798
11799         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11800         * i386.md (movsi_xor): New.
11801         (movsi_or): New.
11802         (movsi_1, movhi_1, movqi_1): Remove.
11803         (movsi_2): Rename to movsi_1.
11804         (movhi_2): Rename to movhi_1.
11805         (movqi_2): Rename to movqi_1.
11806         (movdi_1): Remove; remove splitter.
11807         (movdi_2): Rename to movdi_1.
11808         (divmodsi4 splitter): Do not emit clobbers for move patterns.
11809         (long move peep2): Do not create QI or HI mode mov0s
11810         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11811
11812         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11813         rewrite splitters.
11814
11815         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11816         (abs?f2_if): Likewise.
11817
11818 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
11819
11820         * ggc.h (ggc_test_and_set_mark): New macro.
11821         (ggc_mark_rtx): Use ggc_test_and_set_mark.
11822         (ggc_mark_tree): Likewise.
11823         (ggc_mark_rtvec): Likewise.
11824         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11825
11826 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
11827
11828         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
11829         containing types.
11830         (decl_scope_table): Just an array of trees now.
11831         (push_decl_scope): Simplify.
11832         (dwarf2out_init): Adjust.
11833         (local_scope_p): New fn.
11834         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11835         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11836         (gen_typedef_die): Likewise.
11837         (gen_lexical_block_die): Don't call push/pop_decl_scope.
11838         (gen_inlined_subroutine_die): Likewise.
11839         (gen_abstract_function): Set current_function_decl temporarily.
11840         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11841         Handle block extern declarations.  Don't call push/pop_decl_scope.
11842         (gen_decl_die): Fix logic for block externs.
11843
11844 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11845
11846         * calls.c (special_function_p): Remove `realloc' and add `strdup'
11847         to the list of functions which have attribute malloc by default.
11848
11849 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11850
11851         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11852         integer constant does not match the traditional type, limit the
11853         warnings to cases where the base of the type is ten.
11854
11855         * invoke.texi (-Wtraditional): Document it.
11856
11857 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11858
11859         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11860         * rs6000.md: Only access a CONST_INT with INTVAL
11861
11862 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
11863
11864         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11865         (compute_nearerout): Likewise.
11866         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11867         size_t to unsigned long for formatting.
11868
11869 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11870
11871         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11872         Allow the user to override call-used/fixed state of %g2-5
11873         registers from the command line (with the exception of %g4 for
11874         embedded model).
11875         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11876         there is a higher chance of having a leaf function.
11877         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11878         for ARCH64 which has %ccr register.
11879         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11880         patterns.
11881         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11882         insn accept into delay slot any insn which does not use %[ol]
11883         registers.  Accept some LO_SUM and shift left by 1 for the normal
11884         restore case.
11885         (output_function_epilogue): Likewise.
11886         (epilogue_renumber): Added argument which inhibits any renumbering
11887         and just tests if the rtx does not use any %[ol] registers.
11888         (output_return): Reflect above change.
11889
11890 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11891
11892         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11893         aggregate passing for sizes <= 16 bytes.
11894
11895 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
11896
11897         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11898         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11899         * reload.c (find_dummy_reload): Likewise.
11900         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11901         * reload1.c (reload_as_needed): Likewise.
11902         * stupid.c (stupid_find_reg): Likewise.
11903         * tm.texi (Obsolete Register Macros): Delete section.
11904         * gmicro.h: Remove all traces of the two macros.
11905         * i386.h: Likewise.
11906         * m88k.h: Likewise.
11907         * mips.h: Likewise.
11908
11909 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
11910
11911         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11912         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11913         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11914         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11915         units for the sparclite86x chip.
11916         (flush): Revert October 14th change; add SImode specifically.
11917         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11918         * invoke.texi: Document it.
11919
11920 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
11921
11922         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11923         psimode_truncation_operand.
11924
11925         * config/mn10200/mn10200.c (psimode_truncation_operand): New
11926         function.  Return true if the operand is either a MEM valid
11927         for a PSImode address or not a MEM at all.
11928
11929         * config/mn10200/mn10200.md (truncsipsi2): Use
11930         psimode_truncation_operand.
11931
11932 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11933
11934         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11935         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11936         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11937         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11938         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11939         (flow_loop_level_compute, low_loops_level_compute): Likewise.
11940         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11941         * basic-block.h: Protect from multiple inclusion.
11942         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11943         (struct loops, struct loop): Define structures.
11944         * sbitmap.c (sbitmap_a_subset_b_p): New function.
11945         * sbitmap.h: Protect from multiple inclusion.
11946         (sbitmap_a_subset_b_p): Add prototype.
11947         * Makefile.in (LOOP_H): New macro.
11948         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11949
11950 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
11951
11952         * cppinit.c (CAT): The argument list of this macro may not contain
11953         spaces !
11954
11955 1999-11-29  David S. Miller  <davem@redhat.com>
11956
11957         Move quantity tables and register equivalence chains into
11958         per-qty and per-register structure arrays respectively.
11959         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
11960         qty_const_insn, qty_comparison_code, qty_comparison_const,
11961         qty_comparison_qty): Delete, replace with...
11962         (qty_table): this structure table.
11963         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
11964         (reg_eqv_table): this structure table.
11965         (make_new_qty): Add argument MODE.  Caller updated.
11966         Update to use qty_table and reg_eqv_table.
11967         (make_regs_eqv, delete_reg_equiv, insert_regs,
11968         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
11969         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
11970         cse_process_notes, cse_main, cse_basic_block): Likewise.
11971
11972 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11973
11974         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
11975         operation if C is negative.
11976         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
11977         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
11978         law for some divisions if constant is negative and change other
11979         divisions to the opposite rounding.
11980
11981         * expr.c (store_constructor_field): If bit position is not multiple
11982         of alignment of TARGET's mode, use BLKmode.
11983
11984         * expr.c (expand_expr_unaligned): Add more code from full case
11985         that is needed when OP0 is in a register.
11986
11987 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11988
11989         * dwarfout.c (field_byte_offset): Size can be zero if there was
11990         an error.
11991
11992 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
11993
11994         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
11995         (associate_trees): Delete unused var TEM.
11996         (extract_muldiv): Delete unused var CANCEL_P.
11997
11998         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
11999         (target_isinf, target_isnan, target_negative): Add return types to
12000         function definitions.
12001
12002 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
12003
12004         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12005         * fixinc/hackshell.tpl: ditto
12006         * fixinc/fixtests.c(double_slash_test): more C++ header testing
12007         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12008
12009 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12010
12011         * reload.c (push_reload): When looking for a register to put into
12012         reg_rtx, make sure all hard regs in a multi-reg register are in the
12013         right class and nonfixed.
12014
12015         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12016         pending_read_insns, pending_write_insns, pending_read_mems,
12017         pending_write_mems, pending_list_length, last_pending_memory_flush,
12018         last_function_call, sched_before_next_call): Move static variables
12019         into a structure.
12020         (bb_ prefixed versions): Replace with single array bb_deps.
12021         (struct deps): New structure.
12022         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12023         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12024         argument of type "struct deps *"; use that instead of global
12025         variables.  All callers changed.
12026         (init_rgn_data_dependencies): Delete function.
12027         (init_rtx_vector): Delete function.
12028         (init_deps): New function.
12029
12030         (free_pending_lists): Simplify, we always use the bb_deps array even
12031         if only one basic block.
12032         (compute_block_backward_dependences): Likewise.
12033         (schedule_region): Likewise.
12034
12035         (propagate_deps): New function, broken out of
12036         compute_block_backward_dependences.
12037         (compute_block_backward_dependences): Use it.
12038
12039         * alpha.md: Delete useless patterns that tried to work around
12040         register elimination problems.
12041
12042         * unroll.c (loop_iterations): Don't abort if iteration variable
12043         was made by loop.
12044
12045         From Joern Rennecke:
12046         * reload1.c (reloads_conflict): Reverse test comparing operand
12047         numbers when testing for conflict between output/outaddr reloads.
12048
12049 1999-11-29  David S. Miller  <davem@redhat.com>
12050
12051         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12052         arg.
12053         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12054
12055 1999-11-28  Robert Lipe  <robertl@cygnus.com>
12056
12057         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12058         table from .fini into .dtor.
12059
12060 1999-11-28  Anthony Green  <green@cygnus.com>
12061
12062         * tree.h (struct tree_decl): Add malloc_flag.
12063         (DECL_IS_MALLOC): Define.
12064         * c-common.c (attrs): Add A_MALLOC attribute.
12065         (init_attributes): Add this attribute to the table.
12066         (decl_attributes): Handle malloc attribute.
12067         * calls.c (special_function_p): Check for the malloc attribute.
12068         * extend.texi (Function Attributes): Document malloc attribute.
12069
12070 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
12071
12072         * pa.md (reload shift-add patterns): Remove.
12073
12074 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12075
12076         * reorg.c (dbr_schedule) Print more statistics. Corrected
12077         problem when printing info when 3 delay slots are filled.
12078
12079 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
12080
12081         * combine.c (setup_incoming_promotions): Pass an outgoing
12082         regno to FUNCTION_ARG_REGNO_P which it expects.
12083
12084 1999-11-28  Andreas Jaeger  <aj@suse.de>
12085
12086         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12087
12088 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
12089
12090         * cccp.c (do_include): Avoid initialization of automatic variable.
12091
12092         * integrate.c (mark_stores): Function definition made void, to match
12093         previous declaration.
12094         * regclass.c (dump_regclass): Ditto.
12095         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12096
12097 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12098
12099         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12100         known to be multiple of divisor.
12101
12102         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12103
12104         * combine.c (try_combine): Add code to try to merge a set of a
12105         two-word pseudo to a constant with a setting of one of those words
12106         to a constant.
12107
12108         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12109         (split_tree): Completely rework to make more general.
12110         (make_range, fold): Call negate_expr.
12111         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12112         (fold, associate): Call new split_tree and associate_trees.
12113         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12114
12115 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
12116
12117         * loop.c (try_copy_prop): Avoid GNU C extension.
12118
12119 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12120
12121         * except.c (init_eh_for_function): Still zero eh_return_context,
12122         eh_return_stack_adjust, and eh_return_handler.
12123
12124         * except.h (eh_status): Adjust documentation for x_protect_list.
12125         (begin_protect_partials): New function.
12126         * except.c (enqueue_eh_entry): Fix formatting.
12127         (get_first_handler): Add consistency check.
12128         (add_partial_entry): Adjust usage of protect_list.
12129         (emit_cleanup_handler): Save and restore ehqueue.
12130         (expand_start_all_catch): Add comment.
12131         (begin_protect_partials): New function.
12132         (end_protect_partials): Adjust usage of protect_list.
12133         (init_eh_for_function): Use xcalloc.
12134
12135 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12136
12137         * c-common.c (check_format_info): Don't call a variadic function
12138         with a non-literal format string.
12139
12140         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12141
12142         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12143         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12144         Likewise.
12145
12146         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12147         Likewise.
12148
12149         * collect2.c (collect_wait): Likewise.
12150
12151         * dbxout.c (dbxout_type): Likewise.
12152
12153         * gcc.c (do_spec_1): Likewise.
12154
12155         * genemit.c (gen_insn, gen_expand): Likewise.
12156
12157         * genrecog.c (write_switch, write_subroutine): Likewise.
12158
12159         * mips-tfile.c (catch_signal, botch): Likewise.
12160
12161         * print-rtl.c (print_rtx): Likewise.
12162
12163         * toplev.c (default_print_error_function, report_error_function,
12164         _fatal_insn): Likewise.
12165
12166 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12167
12168         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12169
12170 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12171
12172         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12173         operations when needed.
12174         * i386.md (fop_?f_comm): New.
12175         (fop_?f_1): Do not accept commutative operands.
12176
12177 1999-11-25  Andreas Jaeger  <aj@suse.de>
12178
12179         * config/mips/mips.md (casesi_internal): Add missing brace.
12180
12181 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
12182
12183         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12184         (splice_child_die): Handle moving a child DIE from the declaration
12185         DIE of a class to its specification.
12186         (gen_struct_or_union_type_die): Use 'complete' consistently.
12187         (gen_decl_die): Generate the virtual context DIE first.
12188         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12189
12190 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
12191
12192         * config/mips/mips.md (call_value_multiple_interanal1): New.
12193
12194 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
12195
12196         * dwarf2out.c (free_AT, free_die): New fns.
12197         (remove_children): Call them.
12198         (output_line_info): Disable removal of duplicate notes.
12199
12200         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12201         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12202         means pretend the type isn't defined.
12203         Don't defer emitting types.
12204         (gen_type_die_for_member): New fn.
12205         (gen_decl_die): Call it.
12206         (splice_child_die): New fn.
12207         (gen_member_die): Call it rather than generate duplicate dies.
12208
12209         Defer emitting information for the abstract instance of an inline
12210         until we either inline it or emit an out-of-line copy.
12211         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12212         from output_inline_function if DECL_ABSTRACT is also set.
12213         (block_ultimate_origin): Likewise.
12214         (gen_abstract_function): New fn.
12215         (gen_decl_die, gen_inlined_subroutine_die): Call it.
12216         (gen_subprogram_die):  An abstract instance is not a declaration
12217         just because it doesn't match current_function_decl.  Don't abort
12218         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
12219         has an abstract origin.
12220         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12221         abstract instance here.
12222
12223 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
12224
12225         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12226         where we need to reload fpul from a system register.
12227
12228 1999-11-24  Andreas Jaeger  <aj@suse.de>
12229
12230         * config/mips/linux.h (CPP_PREDEFINES): Added.
12231         (LINK_SPEC): Remove -Y since this is only needed on sparc.
12232
12233 1999-11-24  Andreas Jaeger  <aj@suse.de>
12234
12235         * config/mips/linux.h (TARGET_VERSION): Added.
12236         (HANDLE_SYSV_PRAGMA): Added.
12237         (DEFAULT_VTABLE_THUNKS): Added.
12238
12239 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12240
12241         * local-alloc.c (qty): New structure and static variable.
12242         (qty_phys_reg): Remove, all references changed to qty.
12243         (qty_n_refs): Likewise.
12244         (qty_min_class): Likewise.
12245         (qty_birth): Likewise.
12246         (qty_death): Likewise.
12247         (qty_size): Likewise.
12248         (qty_mode): Likewise.
12249         (qty_n_calls_crossed): Likewise.
12250         (qty_alternate_class): Likewise.
12251         (qty_changes_size): Likewise.
12252         (qty_first_reg): Likewise.
12253         (alloc_qty): Rename variable QTY to QTYNO.
12254         (finf_free_reg): Likewise.
12255         (local_alloc): Allocate qty, do not allocate the removed variables.
12256
12257 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
12258
12259         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12260         when -membedded-pic is passed.
12261
12262         * config/mips/mips.md (casesi): Handle 64-bit case too.
12263         (casesi_internal_di): New insn.
12264
12265         * config/mips/mips.c (embedded_pic_offset): Always make the
12266         embedded-pic subtractions relative to the name of the current
12267         function by use of the magic string "..CURRENT_FUNCTION".
12268         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12269
12270 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
12271
12272         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12273         of (const_int 0), when what we really care about is
12274         whether it's a zero constant anyway.
12275         (div_trap_mips16): Likewise.
12276
12277 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
12278
12279         * loop.c (loop_optimize): Always find_loop_tree_blocks and
12280         unroll_block_trees when generating debuggable code.
12281
12282         * tree.h (unsave_expr_1): New function.
12283         (lang_unsave): New variable.
12284         (get_callee_fndecl): New function.
12285         * tree.c (unsave_expr_now_r): New function.
12286         (lang_unsave): Define.
12287         (unsave_expr_1): Likewise.
12288         (unsave_expr_now_r): Split out from unsave_expr_now.
12289         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
12290         call unsave_expr_now_r.
12291         (get_callee_fndecl): Define.
12292
12293         * Makefile.in (gencheck): Don't depend on lang_tree_files.
12294         (gencheck.o): Do depend on lang_tree_files.
12295
12296         * integrate.h (copy_decl_for_inlining): New declaration.
12297         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12298         (copy_decl_for_inlining): New function.
12299         (integrate_parm_decls): Use it.
12300         (integrate_decl_tree): Likewise.
12301
12302 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
12303
12304         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12305         the second two from the first.
12306         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12307         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12308         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12309         ISA_HAS_FP4.
12310         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12311         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12312         ISA_HAS_FP4.
12313
12314 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
12315
12316         * pa.md (call_internal_symref, call_value_internal_symref): No mode
12317         needed on the address operand.
12318         * pa.c (call_operand_address): Check for the correct mode.
12319
12320 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
12321
12322         * loop.c: Include "basic-block.h".
12323         (try_copy_prop, replace_loop_reg): New functions.
12324         (load_mems): Detect registers that just hold copies of the hoisted
12325         mem, and call try_copy_prop to eliminate them.
12326         * Makefile.in (loop.o): Update dependencies.
12327
12328 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
12329
12330         * Makefile.in (gencheck.o): Depend on gencheck.h.
12331         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12332         (insn-peep.o): Depend on except.h and function.h.
12333         (insn-attrtab.o): Depend on RECOG_H.
12334         (insn-output.o): Depend on toplev.h and flags.h.
12335         (gengenrtl.o): Depend on real.h.
12336         (gen-protos.o): Depend on cpplib.h and cpphash.h.
12337         Unify all dependencies to be on RECOG_H rather than recog.h.
12338
12339 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12340
12341         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12342         * configure.in: Try building a bi-arch 32/64-bit compiler on
12343         sparc-*-solaris2.7 and higher.
12344         * configure: Rebuild.
12345
12346 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
12347
12348         * config/freebsd.h: New, FreeBSD architecture independent file.
12349         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12350         independent pieces.
12351         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12352         directly by i386/freebsd.h.
12353         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12354         independent configuration file.
12355         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12356         directly by i386/freebsd.h.
12357         * configure: Rebuilt.
12358
12359         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12360         which is in the user's namespace.
12361         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12362         `i386' which is not in our namespace.
12363
12364 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
12365
12366         * invoke.texi (ARM Options): Add in -mno-alignment-traps
12367
12368 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12369
12370         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12371         (add_dwarf_attr, add_child_die): Just push onto the front.
12372         (reverse_die_lists): New fn.
12373         (add_sibling_attributes): Use it.
12374         (push_decl_scope): Reorganize.
12375         (add_name_and_src_coords_attributes): Don't set file and line for
12376         an artificial decl.
12377         (gen_subprogram_die): An artificial function doesn't need to match
12378         file and line.
12379         (gen_compile_unit_die): Return the generated die.  Only add
12380         AT_comp_dir if the filename is relative.
12381         (remove_AT): Simplify loop.  Also free string values.
12382         (output_die): A DIE ref can't be null.
12383         (output_value_format, value_format): Take a dw_attr_ref.
12384         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12385         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12386         AT_addr, AT_lbl): New fns.
12387         (various): Use them.
12388         (various): Constify.
12389
12390 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12391
12392         * combine.c (combine_simplify_rtx): When handling a SUBREG,
12393         take SUBREG_WORD into account.
12394         (if_then_else_cond): Likewise.
12395
12396 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12397
12398         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12399         clause from BSD license, pursuant with
12400
12401           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12402
12403 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
12404
12405         * loop.c (load_mems): Reformat slightly.
12406         * basic-block.h (regset_head): New typedef.
12407         (INIT_REG_SET): New macro.
12408
12409 1999-11-22  Bruce Korb  <autogen@linuxbox.com
12410
12411         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12412         (mips-dec-bsd*): non-functional code
12413         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12414
12415         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12416         added three replacement fixes
12417         (no_double_slash): removed comments that are not (any longer) pertinent
12418         (bad_lval): this fix currently runs against many files.
12419         The comment seems to indicate that we should select for files
12420         containing 'pragma extern_prefix'.
12421
12422         * fixinc/fixinc.x86-linux-gnu: deleted
12423         * fixinc/inclhack.sh:  regen
12424         * fixinc/fixincl.x:  regen
12425         * fixinc/fixincl.sh:  regen
12426
12427 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
12428
12429         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12430         its code is INSN and it has no notes.
12431
12432 1999-11-22  Andrew Haley  <aph@cygnus.com>
12433
12434         * varasm.c (function_defined): Remove.
12435         (make_function_rtl): Don't set function_defined.
12436         (make_decl_rtl): Remove global register warning.
12437         * regclass.c (no_global_reg_vars): New variable.
12438         (globalize_reg): Warn if function has already been defined.
12439         (regclass_init): Set no_global_reg_vars.
12440
12441 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12442
12443         * regclass.c (reg_pref): New structure and static variable
12444         (prefclass): Delete.
12445         (altclass): Delete.
12446         (all uses of prefclass and altclass): Use reg_pref instead.
12447
12448 1999-11-21  Nick Clifton  <nickc@cygnus.com>
12449
12450         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12451         -malignment-traps.
12452         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12453         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12454         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12455
12456 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
12457
12458         * varasm.c (output_constructor): Solve problem with long long
12459         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12460
12461 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12462
12463         * global.c (allocno): New structure and static variable.
12464         (allocno_reg): Remove, all references replaced by allocno.
12465         (allocno_size): Likewise.
12466         (hard_reg_conflicts): Likewise.
12467         (hard_reg_preferences): Likewise.
12468         (hard_reg_copy_preferences): Likewise.
12469         (hard_reg_full_preferences): Likewise.
12470         (regs_someone_prefers): Likewise.
12471         (allocno_calls_crossed): Likewise.
12472         (allocno_n_refs): Likewise.
12473         (allocno_live_length): Likewise.
12474         (find_reg): Rename ALLOCNO to NUM.
12475
12476         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12477         references updated.
12478         (may_move_out_cost): New variable.
12479         (init_reg_sets_1): Initialize may_move_out_cost.
12480         (record_reg_classes): Use may_move_out_cost.
12481
12482         * regclass.c (dump_regclass): New function.
12483         (regclass): New parameter DUMP, call DUMP_REGCLASS.
12484         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12485         pass rtl_dump_file to regclass.
12486         * rtl.h (regclass): Update prototype.
12487
12488 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12489
12490         * i386.md (neg, not and abs patterns): Revmap to use
12491         ix86_expand_unary_operator and ix86_unary_operator_ok.
12492         (add?f and sub?f expanders): Force operand 1 to register.
12493         * i386.c (ix86_expand_unary_operator): Rewrite.
12494         (ix86_unary_operator_ok): Ensure that memory operands
12495         match real opcode.
12496         (ix86_binary_operator_ok): Do not allow operand 1 to
12497         come into memory and operand 0 not.
12498         (ix86_expand_binary_operator): Ensure that
12499         src1 is not non-matching memory.
12500
12501         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12502         to support integer registers and memory.
12503         (abss?2_integer): Likewise.
12504
12505         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12506         (REG_CLASS_NAMES): Likewise.
12507         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12508         and GENERAL_REGS.
12509         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12510         (movsf): Likewise; unify 4th and 5th alternative.
12511         (pushdf): Likewise.
12512         (movdf_1): Likewise; rename to movdf_integer.
12513         (pushxf): Likewise; rename to pushxf_integer; fix output template;
12514         remove redundant splitter.
12515         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12516         (movdf_nointeger): New.
12517         (movxf_nointeger): New.
12518         (pushxf_nointeger): New.
12519
12520         * i386.md (extend?f?f): Split to expander and pattern, refuse two
12521         memory operands in patterns.
12522         (fop*): Refuse two memory operands.
12523
12524         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12525         on !TARGET_USE_CLTD CPUs.
12526
12527 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
12528
12529         * extend.texi: Document C++ restricted pointers and references.
12530
12531 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12532
12533         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12534         (invalidate_skipped_set): Call it unconditionally.
12535         (cse_set_around_loop): Likewise.
12536
12537 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12538
12539         * rtl.texi (mem): Add documentation for alias-set argument
12540         to RTX `mem'.
12541
12542 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12543
12544         * i386.h (struct_processor_costs): New fields int_load, int_store,
12545         fp_move, fp_load and fp_store
12546         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12547         fp->int moves
12548         (MEMORY_MOVE_COST): New macro.
12549         * i386.c (386_cost): Define new fields.
12550         (i486_cost): Likewise.
12551         (pentium_cost): Likewise.
12552         (pentiumpro_cost): Likewise.
12553         (k6_cost): Likewise.
12554
12555 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
12556                           Geoffrey Keating  <geoffk@cygnus.com>
12557
12558         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12559
12560         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12561         MASK_ALIGN_INT.
12562
12563         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12564         (TARGET_STRICT_ALIGNMENT): New macro.
12565         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12566         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12567         * invoke.texi (M680x0 Options): Document -mstrict-align.
12568
12569 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
12570                           Richard Henderson  <rth@cygnus.com>
12571
12572         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12573         (ix86_split_long_move): Declare.
12574         * i386.c (split_xf, ix86_split_movdi): Remove.
12575         (ix86_split_to_parts, ix86_split_long_move): New.
12576         * i386.md (dimode move splitters): Use ix86_split_long_move.
12577         (dfmode move splitters): Likewise.
12578         (xfmode move splitters): Likewise.
12579         (movsf_1): Allow F->r.
12580         (movdf_1, movxf_1): Allow F->ro.
12581
12582 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12583
12584         * except.h (struct eh_entry): Add goto_entry_p.
12585         (eh_region_from_symbol): Remove prototype.
12586         * except.c (find_func_region_from_symbol): New function.
12587         (emit_cleanup_handler): Likewise.
12588         (eh_region_from_symbol): Make it static.
12589         (add_new_handler): Verify the argument.
12590         (find_func_region): Update comment.
12591         (expand_eh_region_end): Expand handlers here, rater than waiting
12592         until expand_leftover_cleanups or start_all_catch.
12593         (expand_leftover_cleanups): Don't expand here.
12594         (expand_start_all_catch): Or here.
12595         (expand_rethrow): Check the return value from find_func_region.
12596         * function.c (expand_function_end): Emit the catch_clauses.
12597
12598 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
12599
12600         * integrate.c (expand_inline_function): Add necessary check for NULL.
12601
12602 1999-11-18  Nick Clifton  <nickc@cygnus.com>
12603
12604         * toplev.c (main): Correctly detect an unrecognised option.
12605
12606         * cppinit.c (cpp_handle_option): Do not claim to have consumed
12607         a -f option if it has not been recognised.
12608
12609 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
12610
12611         * basic-block.h (update_life_extent): Remove trailing comma on
12612         enumeration type list.
12613
12614 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12615
12616         * varasm.c (output_constructor) Solved problem with long long
12617         bitfields. Corrected calculating this_time and shift. Also
12618         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12619
12620 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
12621
12622         * flow.c (split_edge): Take looping structure into account when
12623         determining where to put the new block note.
12624
12625 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
12626
12627         * Makefile.in (ggc-none.o): Provide host specific version if
12628         needed.
12629
12630 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
12631
12632         * cse.c (delete_trivially_dead_insns): Identify no-op insns
12633         containing subregs too.
12634
12635 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12636
12637         * invoke.texi: Add documentation for -muninit-const-in-rodata.
12638         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12639         (TARGET_UNINIT_CONST_IN_RODATA): Define.
12640         (text_section): Add switches -munint-const-in-rodata and
12641         -mno-uninit-const-in-rodata.
12642         (ASM_OUTPUT_COMMON): Remove.
12643         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12644         const objects should be placed in read-only data. Otherwise declare
12645         them in common.
12646
12647 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
12648
12649         * jump.c (jump_optimize_1): Revert last change.
12650
12651 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
12652
12653         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12654         test if optimizing for size.
12655
12656 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12657
12658         * Makefile.in (toplev.o): Depend on except.h.
12659         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12660
12661 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12662
12663         * i386.md (divmodsi4): Rewrite to expander.
12664         (*divmodsi4_nocltd): New.
12665         (*divmodsi4_cltd): New.
12666         (divmodsi4 splitter): Handle the case when input comes in edx.
12667         (udivmodhi4): Do not use constraints in exander.
12668         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12669
12670 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
12671
12672         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12673         for the common case.
12674
12675 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
12676
12677         * explow.c (hard_function_value): Add outgoing argument.
12678         * expr.h (hard_function_value): Declare it.
12679         * calls.c (expand_call, emit_library_call_value): Update callers.
12680         * function.c (aggregate_value_p): Ditto.
12681         (diddle_return_value): Must look at the outgoing registers
12682         on archs with register windows.
12683
12684 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
12685
12686         * alpha.c (alpha_build_va_list): Use make_lang_type and
12687         initialize TYPE_NAME for the va_list record.
12688
12689         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12690
12691         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12692         for printing.
12693         * ggc.h (struct ggc_statistics): Rearrange elements for better
12694         packing on 64-bit hosts.
12695         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12696         (compute_nearerout): Likewise.
12697
12698 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
12699
12700         * config/rs6000/rs6000.c (first_reg_to_save): Save
12701         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12702
12703 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
12704
12705         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12706         notion of nesting to find the DIE for a type or function.
12707         DIEs can go in limbo even if we got a context_die.
12708         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12709         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12710         for local type.
12711         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12712         (gen_type_die): Writing out the context doesn't cause member class
12713         template instantiations to be written out as well.
12714
12715 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
12716
12717         * rs6000.h (ASM_OUTPUT_DEF): New.
12718         Based on proposed addition from David Edelsohn.
12719
12720 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
12721             Bruce Korb  <autogen@linuxbox.com>
12722
12723         * fixinc/inclhack.def
12724         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
12725         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
12726                 in net/inet.h.
12727         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
12728         (svr4_endian): enabled with SVR5
12729         (svr4_mkdev): simplified syntax and enabled with SVR5
12730
12731 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
12732
12733         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12734         * configure: Rebuilt.
12735         * config/t-freebsd-thread: New file.
12736
12737 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
12738
12739         * i386.c (ix86_decompose_address): Verify the base is a REG
12740         before trying to examine its register number.
12741
12742         * basic-block.h: Remove all #defines and prototypes related to
12743         integer lists.
12744         (free_bb_mem, compute_preds_succs): Remove prototype.
12745         * rtl.h (free_bb_mem): Remove prototype.
12746         * flow.c (alloc_int_list_node); Remove function.
12747         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12748         (compute_preds_succs, free_bb_mem): Likewise.
12749         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12750         * toplev.c (rest_of_compilation): Likewise.
12751         * haifa-sched.c (build_control_flow): Use flow generated edge
12752         list to build the haifa specific edge list.
12753         (find_rgns): Use new CFG data structures instead of pred/succ lists.
12754         (schedule_insns): Do not build pred/succ lists anymore.  Instead
12755         build the edge table.
12756
12757         * basic-block.h (dump_bb_data): Remove declaration.
12758         * flow.c (dump_bb_data): Remove function.
12759         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12760         (sbitmap_union_of_predsucc): Likewise.
12761
12762         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12763         argument.  All callers changed.
12764         (delete_null_pointer_checks_1): No longer need to compute the
12765         pred/succ lists.
12766
12767         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12768         All callers changed.
12769         (pre_expr_reaches_here_p_work): Likewise.
12770         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12771         * lcm.c (compute_laterin): Fix initialization of LATER.
12772         (compute_nearerout): Similarly for NEARER.
12773
12774 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12775
12776         * cse.c (set_nonvarying_address_components): Delete unused function.
12777         (refers_to_p): Likewise.
12778
12779 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
12780
12781         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12782         needed.
12783
12784 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12785
12786         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12787         definition in do while (0).
12788
12789 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
12790
12791         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12792
12793 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
12794
12795         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12796
12797 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
12798
12799         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12800         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12801         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12802         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12803
12804         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12805         saved on the stack.  Output more accurate stack frame statistics
12806         into assembler file.
12807
12808 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
12809
12810         * genextract.c (record_insn_name): New function.
12811         (get_insn_name): No longer a stub.
12812         (main): Call record_insn_name for each insn.  After each label
12813         written, print the insn name in a comment.
12814
12815 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12816
12817         * output.h (const_section, init_section, fini_section): Add
12818         prototypes.
12819
12820         * alpha/elf.h (const_section): Delete declaration.
12821
12822         * svr4.h (const_section): Likewise.
12823
12824 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
12825
12826         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12827         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12828         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12829         expressions.
12830         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12831         variable-sized array bounds.
12832
12833 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
12834
12835         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
12836         ASM_OUTPUT_LABEL.
12837
12838 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12839
12840         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12841         addresses the same way GO_IF_LEGITIMATE_INDEX does.
12842
12843 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12844
12845         * cse.c (hash_arg_in_struct): Delete.
12846         (struct table_elt): Delete elt in_struct.
12847         (struct set): Delete elt src_in_struct.
12848         (merge_equiv_classes): Don't set either hash_arg_in_struct or
12849         the corresponding in_struct elts.
12850         (canon_hash): Likewise.
12851         (safe_hash): Likewise.
12852         (find_best_addr): Likewise.
12853         (record_jump_cond): Likewise.
12854         (cse_insn): Likewise.
12855
12856 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
12857
12858         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12859
12860         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12861         unsigned types.
12862
12863 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
12864
12865         * function.c (diddle_return_value): Put back check that the DECL_RTL
12866         for the function is a register.
12867
12868         * function.c (diddle_return_value): Use hard_function_value to
12869         get an rtx suitable for use in the USE/CLOBBER insn.
12870
12871         * global.c (global_conflicts): Update comments.
12872         (record_conflicts): No need to record conflicts between pseudos here.
12873
12874 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
12875
12876         * fixinc/fixincl.c: Added verbose levels for status messages
12877
12878 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12879
12880         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12881         operand as argument to expand_and or expand_binop.
12882
12883 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
12884
12885         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12886         gcc_add_string_root.
12887
12888 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
12889
12890         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12891
12892 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
12893
12894         * flow.c (compute_flow_dominators): Initially put all blocks on
12895         the worklist.
12896         * lcm.c (compute_antinout_edge, compute_available): Similarly.
12897         * gcse.c (compute_cprop_avinout): Remove.
12898         (compute_cprop_data): Use compute_available.
12899         (delete_null_pointer_checks_1): Use compute_available.
12900
12901         * basic-block.h (compute_available): Returns a void now.
12902         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12903         to return a value anymore.
12904         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12905         worklists.  Fix boundary cases. Compute maximal solutions.
12906         (compute_laterin, compute_nearerout): Similarly.
12907
12908         * dwarf2out.c (add_AT_location_description): Allow
12909         (mem (plus (pseudo) (...)) too.
12910
12911 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
12912
12913         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12914
12915 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
12916                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12917
12918         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12919
12920         * gansidecl.h: Likewise.
12921
12922         * rtl.c: Likewise.
12923
12924         * rtl.h: Likewise.
12925
12926         * toplev.h: Likewise.
12927
12928         * tree.c: Likewise.
12929
12930         * tree.h: Likewise.
12931
12932         * varray.c: Likewise.
12933
12934         * varray.h: Likewise.
12935
12936 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
12937
12938         * gcov.c (struct arcdata): Add hits and total, remove prob.
12939         (output_branch_counts): New.
12940         (process_args): Set output_branch_counts if -c.
12941         (calculate_branch_probs): Store hits and total instead of
12942         percentage.
12943         (output_data): Emit counts if output_branch_counts is true.
12944         * gcov.texi (Invoking Gcov): Document -c switch..
12945
12946 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
12947
12948         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12949         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12950
12951 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
12952
12953         * invoke.texi (C Dialect Options): Add missing builtins from
12954         c-common.c to list.
12955         * extend.texi (Other Builtins): Copy to this list.
12956
12957 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12958
12959         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
12960         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
12961         redundant bitmap.h.
12962
12963 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
12964
12965         * flow.c (compute_flow_dominators): No longer treat basic block 0
12966         or (n_basic_blocks - 1) specially.  Clear the AUX field before
12967         starting computation of doms/pdoms.  Fix initial state for pdoms.
12968
12969 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12970
12971         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
12972         match rtl.o's: added ggc.h and toplev.h
12973         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
12974         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
12975         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
12976
12977 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
12978
12979         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
12980         from HAVE_DOS_BASED_FILESYSTEM.
12981         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
12982         HAVE_DOS_BASED_FILESYSTEM.
12983         (main): Likewise.
12984         (split_directories): Only special-case DOS file names if
12985         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
12986         instead of explicit tests.  Conditionalize on !VMS.
12987         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
12988         tests.  Conditionalize on !VMS.
12989         (process_command): Only use make_relative_prefix if !VMS.
12990         (free_split_directories): Conditionalize on !VMS.
12991         (DIR_UP): Conditionalize on !VMS.
12992
12993 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12994
12995         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
12996
12997 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12998
12999         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13000         case.
13001
13002 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
13003
13004         * invoke.texi (Environment Variables): Document relative path
13005         lookup.
13006         * gcc.c (DIR_UP): If not defined, define as "..".
13007         (standard_bindir_prefix): New static, holds target location to
13008         install binaries.
13009         (split_directories): New function to split a filename into
13010         component directories.
13011         (free_split_directories): New function, release memory allocated
13012         by split_directories.
13013         (make_relative_prefix): New function, make a relative pathname if
13014         the compiler is not in the expected location.
13015         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13016         can figure out an appropriate prefix from argv[0].
13017         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13018         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
13019         STANDARD_BINDIR_PREFIX.
13020
13021 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13022
13023         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
13024         in c4x.c.
13025         * config/c4x/c4x.h: Moved prototypes to c4x.h.
13026         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13027         c4x_secondary_memory_needed) Delete.
13028         (fp_zero_operand): Add mode argument.
13029
13030 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
13031
13032         * reload1.c (reload_reg_free_for_value_p): Don't use a register
13033         that is in reload_reg_used.
13034
13035 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
13036
13037         * config/arm/arm-protos.h: New file: Prototypes for functions
13038         defined in arm.c and pe.c.
13039         * config/arm/arm.h: Fix compile time warnings.
13040         * config/arm/arm.c: Fix compile time warnings.
13041         * config/arm/pe.h: Fix compile time warnings.
13042         * config/arm/aout.h: Fix compile time warnings.
13043
13044 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
13045
13046         * config/m32r/m32r-protos.h: New file: Prototypes for functions
13047         defined in m32r.c
13048
13049         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13050         Add support for subtargets.
13051         Add prototypes for new predicates.
13052         Add scheduling macros.
13053
13054         * config/m32r/m32r.c: Fix compile time warnings.
13055         (int8_operand): New predicate function.
13056         (reg_or_cmp_int16_operand): New predicate function.
13057         (extend_operand): New predicate function.
13058         (m32r_adjust_code): New scheduling function.
13059         (m32r_adjust_priorty): New scheduling function.
13060         (m32r_sched_init): New scheduling function.
13061         (m32r_sched_reorder): New scheduling function.
13062         (m32r_sched_variable_issue): New scheduling function.
13063         (direct_return): New codegen function.
13064         (m32r_not_same_reg): New rtl testsing function.
13065
13066         * config/m32r/m32r.md: Fix compile time warnings.
13067         Add support for pre decrement and post increment memory
13068         references.
13069         Add S<cc> patterns.
13070         Add fabs patterns.
13071
13072 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13073
13074         * global.c (EXECUTE_IF_CONFLICT): Don't define.
13075         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13076         (find_reg): Likewise.
13077
13078 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
13079
13080         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13081         to avoid assembler errors.
13082
13083 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
13084
13085         * config/v850/v850-protos.h: New file: Prototypes for functions
13086         defined in v850.c
13087         * config/v850/v850.h: Move prototypes to v850-protos.h
13088         * config/v850/v850.c: Move prototypes to v850-protos.h
13089         * config/v850/v850.md: Fix compile time warnings.
13090
13091         * config/fr30/fr30-protos.h: New file: Prototypes for functions
13092         defined in fr30.c
13093         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13094         * config/fr30/fr30.c: Fix compile time warnings.
13095         * config/fr30/fr30.md: Fix compile time warnings.
13096
13097 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
13098
13099         * tree.h (get_containing_scope): Declare it.
13100         * tree.c (get_containing_scope): New fucntion.
13101         (decl_function_context): Use it.
13102         * toplev.c (rest_of_compilation): Use get_containing_scope.
13103
13104 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13105
13106         * Makefile.in (rtl.o): Depend on toplev.h.
13107
13108 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
13109
13110         * cse.c (delete_trivially_dead_insns): Replace alloca with
13111         xmalloc/xcalloc.
13112         * except.c (update_rethrow_references): Likewise.
13113         (init_eh_nesting_info): Likewise.
13114         * function.c (identify_blocks): Likewise.
13115         * gcse.c (dump_hash_table): Likewise.
13116         * graph.c (print_rtl_graph_with_bb): Likewise.
13117         * loop.c (combine_movables): Likewise.
13118         (move_movables): Likewise.
13119         (count_loop_regs_set): Likewise.
13120         (strength_reduce): Likewise.
13121         * profile.c (compute_branch_probabilities): New function, split
13122         out from ...
13123         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
13124         * regclass.c (regclass): Likewise.
13125         * regmove.c (regmove_optimize): Likewise.
13126         * toplev.c (compile_file): Likewise.
13127         (main): Don't mess with the stack rlimit.
13128
13129 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
13130
13131         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13132         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13133
13134 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
13135
13136         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13137
13138 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
13139
13140         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13141         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13142         macro expansion.
13143
13144 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
13145
13146         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13147
13148 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
13149
13150         * gcse.c (post_dominators): Kill.
13151         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13152         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
13153         pass in a pdom array since we do not need pdoms.
13154         * haifa-sched.c (schedule_insns): Similarly.
13155         * flow.c (compute_dominators): Remove dead function.
13156         (compute_flow_dominators): Do not compute doms or pdoms if the
13157         caller does not request them.  Split up loop to build doms and
13158         pdoms.  Use a worklist to compute doms and pdoms.
13159         * basic-block.h (compute_dominators): Remove prototype.
13160
13161 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
13162
13163         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13164         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13165         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13166         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13167         (cant_move, fed_by_spec_load, is_load_insn): Remove.
13168         (schedule_region): Remove unused variable.
13169         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13170
13171 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
13172
13173         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13174         (update_equiv_regs): Likewise.
13175         (block_alloc): Likewise.
13176         * reg-stack.c (reg_to_stack): Likewise.
13177         (convert_regs_2): Likewise.
13178         * reload1.c (reload_as_needed): Likewise.
13179
13180 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
13181
13182         * Makefile.in (dbxout.o): Depend on ggc.h.
13183         (dwarf2out.o): Likewise.
13184         (xcoffout.o): Likewise.
13185         * dbxout.c: Include ggc.h.
13186         (dbxout_init): Register lastfile as a root.
13187         * dwarf2out.c: Include ggc.h.
13188         (dwarf2out_line): Register lastfile as a root.
13189         * xcoffout.c: Include ggc.h.
13190         (xcoffout_source_line): Register xcoff_lastfile as a root.
13191
13192 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
13193
13194         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13195
13196 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
13197
13198         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13199         defined.
13200         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13201
13202 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13203
13204         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13205         (EXECUTE_IF_CONFLICT): Likewise.
13206         (ALLOCNO_LIVE_P): Avoid signed division.
13207         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13208         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13209         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13210
13211 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
13212
13213         * haifa-sched.c (schedule_block): Don't crash if there's no
13214         next insn for an interblock movement.
13215         (add_branch_dependences): Don't allow clobber insns to move either.
13216
13217 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
13218
13219         * i386.c (split_xf): New.
13220         * i386-protos.h: Declare it.
13221         * i386.md (movxf_1): Add general regs alternatives.
13222         (movxf_1+1): New splitter for same.
13223
13224 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
13225
13226         * function.c (purge_addressof_1): Add missing return values.
13227
13228 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
13229
13230         * function.c (is_addressof): New function.  Returns true if
13231         the given piece of RTL is an ADDRESSOF.
13232         (purge_addressof_1): Make boolean.  Return false if the
13233         ADDRESSOFs could not be purged.
13234         (purge_addressof): If ADDRESSOFs could not be purged from the
13235         notes attached to an insn, remove the offending note(s),
13236         unless they are attached to a libcall.
13237
13238 1999-11-05  Andreas Jaeger  <aj@suse.de>
13239
13240         * genoutput.c (null_operand =): Initialize all fields.
13241
13242         * errors.h: Add extern to prototypes.
13243
13244 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
13245
13246         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13247         * configure: Rebuilt.
13248
13249 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13250
13251         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13252         (mirror_conflicts): New function.
13253         (global_alloc): Call it.
13254         (expand_preferences): Remove redundant CONFLICTP test.
13255         (find_reg, dump_conflicts): Likewise.
13256         (prune_preferences): Process conflicts one word at a time.
13257
13258 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
13259
13260         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13261         instead of an explicit loop.
13262
13263 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
13264
13265         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
13266         if REG_RETVAL check succeeds, then put classp in src_elt.
13267
13268 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
13269
13270         * function.c (pad_to_arg_alignment): Only update argument_pad
13271         if the argument's alignment is greater than STACK_BOUNDARY.
13272
13273 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
13274
13275         * bitmap.h (BITMAP_XFREE): New.
13276         * flow.c (life_analysis): Use it.
13277         (life_analysis_1): Free blocks.
13278
13279         * combine.c (undo_commit): New.
13280         (try_combine): Use it.  Don't zap undobuf.undos.
13281         (combine_instructions): Don't zap undobuf.undos; free the
13282         undobuf.frees list.
13283
13284         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13285
13286         * stmt.c (cost_table_): New.
13287         (estimate_case_costs): Use it instead of xmalloc.
13288
13289         * toplev.c (compile_file): Reuse dumpname memory instead
13290         of strdup'ing it.
13291
13292 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
13293
13294         * reg-stack.c (convert_regs_1): Initialize target_stack->top
13295         after verifying an EH edge.
13296
13297         * haifa-sched.c (init_rgn_data_dependences): Correctly
13298         size bb_pending_lists_length when zeroing.
13299
13300 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
13301
13302         * function.c (diddle_return_value): New.
13303         (expand_function_end): Use it.
13304         * stmt.c (expand_null_return): Likewise.
13305         (expand_value_return): Likewise.
13306
13307         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13308
13309         * reload1.c (reload): Don't remove return value clobbers.
13310
13311 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
13312
13313         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13314
13315 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
13316
13317         * cse.c (cse_main): Use xmalloc, not alloca.
13318         (cse_basic_block): Likewise.
13319         * local-alloc.c (local_alloc): Likewise.
13320
13321 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
13322                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13323
13324         * rtl.c: Include toplev.h.
13325         (fatal): Remove declaration.
13326
13327 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
13328
13329         * haifa-sched.c (schedule_block): Fix thinko.
13330
13331 1999-11-03  James McKelvey <mckelvey@fafnir.com>
13332
13333         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
13334         S_IR* defined values
13335
13336 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
13337
13338         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13339         call `malloc' instead.
13340
13341 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
13342
13343         * flags.h (flag_renumber_insns): Declare.
13344         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
13345         renumbering table.
13346         * rtl.h (renumber_insns): Change prototype.
13347         * toplev.c (flag_renumber_insns): Define.
13348         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13349
13350 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
13351
13352         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13353         and fpsqrtd.  Use them and create fdiv function unit to more
13354         accurately represent fpu sqrt pipeline semantics on UltraSparc.
13355         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13356
13357 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
13358
13359         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13360         3 on UltraSparc.
13361         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13362         insn into ready list, do not use just a raw swap.
13363
13364 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
13365
13366         * rtl.h (renumber_insns): New function.
13367         (remove_unnecessary_notes): Likewise.
13368         * emit-rtl.c (renumber_insns): Define.
13369         (remove_unncessary_notes): Likewise.
13370         * toplev.c (rest_of_compilation): Remove dead code.
13371         Use renumber_insns and remove_unncessary_notes.
13372
13373         * gcse.c (struct null_pointer_info): New type.
13374         (get_bitmap_width): New function.
13375         (current_block): Remove.
13376         (nonnull_local): Likewise.
13377         (nonnull_killed): Likewise.
13378         (invalidate_nonnull_info): Take a null_pointer_info as input.
13379         (delete_null_pointer_checks_1): New function.
13380         (delete_null_pointer_checks): Use it.
13381
13382         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13383         (split_edges): Likewise.
13384         (schedule_block): Likewise.
13385         (compute_block_backward_dependencies): Likewise.
13386         (schedule_region): Likewise.
13387         (schedule_insns): Likewise.
13388
13389 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
13390
13391         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13392         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13393         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13394         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13395         * jump.c (delete_unreferenced_labels): Don't delete if
13396         LABEL_ALTERNATE_NAME is set.
13397         * print-rtl.c (print_rtx): Dump alternate name.
13398         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13399         * rtl.h (LABEL_ALTERNATE_NAME): Define.
13400         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13401         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13402
13403 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13404
13405         * fix-header.c (recognized_extern, recognized_function): Constify
13406         a char*.
13407
13408         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13409         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13410         (compute_available): Remove unused variable `last'.
13411         (compute_nearerout): Remove unused variable `temp_bitmap'.
13412         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13413         Remove unused variable `x'.
13414
13415         * scan.h (recognized_function, recognized_extern): Constify a
13416         char*.
13417
13418         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13419
13420 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13421
13422         * varasm.c (decode_rtx_const): Use XSTR to access the string
13423         of a SYMBOL_REF.
13424
13425 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
13426
13427         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13428
13429 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13430
13431         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13432
13433 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
13434
13435         * pa.c (ireg_operand): New function.
13436         * pa.h (PREDICATE_CODES): Handle ireg_operand.
13437         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13438         Fix out of date comment.
13439
13440         * pa.md (negdi2): Turn into expander + anonymous pattern.
13441
13442         * reload.c (find_reloads): Fix typos in recent change.
13443
13444         * dwarf2out.c: Do not include ctype.h.
13445
13446 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13447
13448         * regclass.c (record_reg_classes): Always use may_move_cost when
13449         seeing how operand fits with various register classes.
13450
13451 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
13452
13453         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13454         * toplev.c: Revert Nov 1 13:22 change.
13455
13456 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
13457
13458         * config/pa/pa.md (height reduction patterns): Add checks for
13459         overlapping operands to avoid semantic-destroying splits for
13460         height reduction patterns.
13461
13462 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13463
13464         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13465         have been an hyphen, fixed.
13466         * configure: Rebuilt.
13467
13468 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
13469
13470         * config/arm/tpe.h: Add prototypes for exported functions.
13471         * config/arm/pe.c: Fix compile time warnings.
13472         * config/arm/semi.h: Fix compile time warnings.
13473         * config/arm/arm.c: Fix compile time warnings.
13474         * config/arm/arm.h: Fix compile time warnings.
13475         * config/arm/arm.md: Fix compile time warnings.
13476         * config/arm/thumb.c: Fix compile time warnings.
13477         * config/arm/thumb.h: Fix compile time warnings.
13478         * config/arm/thumb.md: Fix compile time warnings.
13479
13480 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
13481
13482         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13483         detection code
13484
13485         * unroll.c (unroll_loop): Remove LOOP notes when loop is
13486         completely unrolled.
13487
13488 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13489
13490         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13491
13492 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
13493
13494         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13495         * rtl.h (rtx_equal_p): Move prototype.
13496         * rtl.c (rtx_equal_function_value_matters): Move from
13497         rtlanal.c
13498         (rtx_equal_p): Likewise.
13499         * rtlanal.c (rtx_equal_function_value_matters): Delete.
13500         (rtx_equal_p): Likewise.
13501
13502 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13503
13504         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13505         ! HAS_INIT_SECTION.
13506
13507 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
13508
13509         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13510
13511         * pa.h (ADDR_VEC_ALIGN): Define.
13512
13513         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13514         notes when presented with "if (foo) break; end_of_loop" and
13515         the break sequence gets moved out of the loop.
13516
13517         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13518         Remove explicit zero initializations of entries within MAP.
13519
13520 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
13521
13522         * reg-stack.c (convert_regs_1): Handle EH edges specially.
13523
13524 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
13525
13526         * bitmap.h (BITMAP_XMALLOC): New macro.
13527         * flow.c (CLEAN_ALLOCA): Remove.
13528         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13529         (life_analysis): Likewise.
13530         (update_life_info): Don't use CLEAN_ALLOCA.
13531         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13532         (calculate_global_regs_live): Likewise.
13533         (print_rtl_with_bb): Likewise.
13534         (verify_flow_info): Likewise.
13535         * global.c (global_alloc): Likewise.
13536         (global_conflicts): Likewise.
13537         * integrate.c (save_for_inline_nocopy): Likewise.
13538         (expand_inline_function): Likewise.
13539         * jump.c (jump_optimize_1): Likewise.
13540         (duplicate_loop_exit_test): Likewise.
13541         (thread_jumps): Likewise.
13542         * loop.c (loop_optimize): Likewise.
13543         (combine_givs): Likewise.
13544         (recombine_givs): Likewise.
13545         * reorg.c (dbr_schedule): Likewise.
13546         * unroll.c (unroll_loop): Likewise.
13547
13548         * combine.c (combine_instructions): Use xmalloc instead of alloca.
13549
13550 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
13551
13552         * toplev.c (rest_of_compilation): Don't optimize the CFG
13553         when rebuilding, just before dbr.
13554
13555 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13556
13557         * output.h (assemble_end_function, assemble_destructor,
13558         assemble_constructor, assemble_gc_entry, assemble_global,
13559         assemble_label, output_constant_pool) Constify a char*.
13560
13561         * varasm.c (assemble_destructor, assemble_constructor,
13562         assemble_gc_entry, assemble_end_function, assemble_global,
13563         assemble_label, output_constant_pool): Likewise.
13564
13565 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
13566
13567         * config/arm/thumb.c (thumb_expand_prologue): Add comments
13568         explaining what is goin on in this function.
13569
13570 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13571
13572         * regclass.c (record_reg_classes): In matching case, recompute
13573         costs since the direction of movement is different.
13574
13575 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
13576
13577         * resource.c (mark_target_live_regs): For unconditional branches,
13578         the resources found at the branch target should be added to the
13579         resources found so far, not intersected.
13580
13581 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
13582
13583         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13584         old cpp's.
13585         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13586         (sys/mman.h): Include this file only if #HAVE_MMAP.
13587         (run_compiles): Initialize `esac_fmt' with one old KR string, not
13588         with automatically concatenated ANSI strings.
13589
13590 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
13591
13592         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13593         (DIV_ROUND_UP): Robustify.
13594         (ggc_recalculate_in_use_p): New function.
13595         (release_pages): Don't inline it.
13596         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13597         outer contexts.
13598         (ggc_pop_context): Use ggc_recalculate_in_use_p.
13599         (clear_marks): Always save in_use_p.
13600         (sweep_pages): Use ggc_recalculate_in_use_p.
13601         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13602         Release pages before counting statistics.
13603
13604 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
13605
13606         * toplev.c (rest_of_compilation): Fix thinko in this change:
13607
13608         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13609
13610         (rest_of_compilation): If inside an inlined external function,
13611         pretend we are just being declared.
13612
13613 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
13614
13615         * flow.c (calculate_global_regs_live): Fix thinko.
13616
13617         * integrate.c (expand_inline_function): Fix bugs in previous
13618         change from Oct 28, 1999.
13619
13620 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
13621
13622         * stmt.c (expand_value_return): Fix typo in this change:
13623
13624         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13625         (expand_value_return): Correctly convert VAL when promoting function
13626         return; support RETURN_REG being a PARALLEL.
13627
13628 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
13629
13630         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13631
13632 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13633
13634         * hard-reg-set.h (reg_names): Constify a char*.
13635
13636         * regclass.c  (reg_names): Likewise.
13637
13638         * regs.h (reg_names): Likewise
13639
13640         * a29k/a29k.c (reg_names): Delete declaration.
13641
13642         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13643
13644         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13645         arc_output_function_epilogue): Likewise.
13646
13647         * elxsi/elxsi.c (reg_names): Likewise.
13648
13649         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13650
13651         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13652         Likewise.
13653
13654         * m88k/m88k.c (output_function_profiler): Likewise.
13655
13656         * sparc/sparc.c (sparc_flat_output_function_prologue,
13657         sparc_flat_output_function_epilogue): Likewise.
13658
13659 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
13660
13661         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13662         warning from -Wuninitialized and put it under -W.
13663         * function.c (uninitialized_vars_warning): Warn only when the
13664         corresponding flag is set.
13665
13666 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
13667
13668         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13669         is nonzero and the single set does not have an elt, then assign
13670         it an elt.
13671
13672         * simplify-rtx.c: New file.
13673         * Makefile.in (OBJS): Add simplify-rtx.o
13674         (simplify-rtx.o): Add dependencies.
13675         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13676         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13677         (cse_gen_binary, simplify_unary_operation): Delete.
13678         (simplify_binary_operation, simplify_plus_minus): Likewise.
13679         (check_fold_consts, simplify_relation_operation): Likewise.
13680         (simplify_ternary_operation): Likewise.
13681         (delete_trivially_dead_insns): Simplify the contents of the
13682         REG_EQUAL note before trying to substitute it into the source
13683         of the reg-reg copy at the end of a libcall sequence.
13684
13685         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
13686         references/callers changed.
13687
13688         * mn10200.c (mn10200_va_arg): Force the return value into a
13689         register.
13690
13691         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13692
13693         * cccp.c (macroexpand): Avoid out of range accesses for omitted
13694         arguments.
13695
13696 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
13697
13698         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13699
13700 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
13701
13702         * fold-const.c (fold): Fix thinko when optimizing comparisons
13703         against -0.0.
13704
13705 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
13706
13707         * gcc.texi (Passes): Update front-end files to their current
13708         location.
13709
13710 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
13711
13712         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13713         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13714         (PREDICATE_CODES): Add addition_operation.
13715         * alpha-protos.h (addition_operation): Declare.
13716         (secondary_reload_class): Likewise.
13717         * alpha.c (addition_operation): New.
13718         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13719         * alpha.md (adddi3): Turn into expander.
13720         (*lda, *adddi_2): New.
13721         (movsf, movdf patterns): Don't preference integer regs.
13722         (movsi, movdi patterns): Don't preference fp regs.
13723
13724 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
13725
13726         * genrecog.c (write_switch): Check for duplicate CODE cases.
13727
13728 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
13729
13730         * ggc-common.c: Update pre-function commentary.
13731         * ggc-page.c: Likewise.
13732         (poison): Remove.
13733         (poison_pages): Use memset directly.
13734         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
13735         (ggc_collect): Poison before sweeping.
13736         * ggc-simple.c: Update pre-function commentary.
13737         (ggc_alloc_obj): Poison non-zeroed memory.
13738
13739 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
13740
13741         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13742         match format string, even on 64-bit hosts.
13743         * gcc-page.c (ggc_page_print_statistics): Likewise.
13744
13745 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
13746
13747         * config/i386/i386.c (ix86_cpu): Revert last patch.
13748         * config/i386/i386.h (ix86_cpu): Ditto.
13749
13750 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
13751
13752         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13753         TYPE_SIZE, convert type of result to sizetype.
13754
13755 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
13756
13757         * flow.c (count_or_remove_death_notes): Equate NULL with the
13758         universal set.
13759
13760         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13761         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13762         dbr_schedule.
13763
13764         * i386.c (pic_label_no): Delete.
13765         (ix86_attr_length_default): Don't use single_set to peek
13766         inside a parallel.
13767
13768         * recog.c (peephole2_optimize): Allow recog_next_insn to index
13769         the first insn after bb->end.
13770         * i386.md (push mem peeps): Scratch is live after evaluation
13771         of the memory.
13772         (cmp mem peep): Similarly.
13773
13774 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
13775
13776         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13777         * function.c (pad_to_arg_alignment): Add missing braces.
13778
13779 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13780
13781         * alpha/alpha-protos.h (literal_section): Add prototype.
13782         (alpha_need_linkage, alpha_start_function,alpha_end_function):
13783         Constify a char*.
13784
13785         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13786         prototype.
13787         (alpha_start_function, alpha_end_function, float_strings,
13788         alpha_need_linkage): Constify a char*
13789
13790         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13791
13792         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13793
13794         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13795
13796         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13797
13798 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13799
13800         * flow.c (debug_flow_info): Add prototype.
13801
13802         * gcc.c (main): Likewise.
13803
13804         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13805         Likewise.
13806
13807         * reload1.c (failed_reload, set_reload_reg): Likewise.
13808
13809         * mips-tfile.c (main): Likewise.
13810         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13811         with ATTRIBUTE_NORETURN.
13812
13813 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
13814
13815         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13816         DECL is not a memory ref.
13817
13818 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
13819
13820         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13821         * config/i386/i386.c (ix86_cpu): Add extern attribute.
13822
13823 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
13824
13825         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13826         * config/mips/elf64.h: ditto.
13827
13828 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
13829
13830         * expr.c (emit_push_insn): New argument alignment_pad.
13831         Update all callers.  Adjust stack pointer based on alignment pad.
13832         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
13833         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
13834         (locate_and_pad_parm): New argument alignment_pad.  Update all
13835         callers.
13836         * expr.h (emit_push_insn): Update prototype.
13837         (locate_and_pad_parm): Update prototype.
13838         * calls.c (arg_data):  Add new field alignment_pad.
13839         (initialize_argument_information): Initialize alignment_pad.
13840
13841 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
13842
13843         * except.c (free_eh_nesting_info): Free the info itself.
13844         * function.c (free_after_compilation): Don't free NULL.
13845         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13846         (pre_edge_insert): Free inserted.
13847         * stmt.c (free_stmt_status): Don't free NULL.
13848
13849 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13850
13851         * gcov.c (DIR_SEPARATOR): Provide default.
13852         (output_data): Add test for MS-DOS format absolute filename.
13853         (fancy_abort): Correct program name.
13854         (open_files): Open all files in binary mode.
13855         * libgcc2.c (__bb_exit_func): Likewise.
13856
13857         * profile.c (init_branch_prob): Specify binary when opening files.
13858
13859         * flags.h (flag_unwind_tables): New decl.
13860         * toplev.c (flag_unwind_table): New definition.
13861         (f_options): Add -funwind-tables.
13862         (decode_g_option): Clarify warning when unknown -g option is given.
13863         (rest_of_compilation): If inside an inlined external function,
13864         pretend we are just being declared.
13865
13866         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13867         (dwarf2out_frame_finish): Likewise.
13868
13869 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
13870
13871         * fold-const.c (merge_ranges): If not in0, but in1, handle
13872         upper bounds equal like subset case.
13873
13874 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
13875
13876         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13877         passed in a register but moved to the stack.
13878
13879 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
13880
13881         * gcc.c (pass_exit_codes, greatest_status): New variables.
13882         (struct option_map): Add entry for "--pass-exit-codes".
13883         (execute): Update greatest_status if error.
13884         (display_help): Add documentation for -pass-exit-codes.
13885         (process_command): Handle -pass-exit-codes.
13886         (main): Look at pass_exit_codes and greatest_status on call to exit.
13887
13888 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13889
13890         * reload.c (find_reloads): Refine test for no input reload
13891         case to not includes reloads emitted after insn.
13892
13893         * function.c (find_temp_slots_from_address): Handle sum involving
13894         a register that points to a temp slot.
13895         (update_temp_slot_address): Make recursive call if both old and
13896         new are PLUS with a common operand.
13897         * calls.c (expand_call): Mark temp slot for result as having
13898         address taken.
13899
13900         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13901
13902         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13903         component as well as "BINUTILS".
13904
13905         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13906         * integrate.c (copy_rtx_and_substitute): Likewise.
13907         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13908         All callers changed.
13909         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13910
13911         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13912         gdb extensions, write size of type; also be more consistent
13913         in using references when this is a subtype.
13914
13915         * pa.md (extv, extzv, insv): Use define_expand to reject constant
13916         that is out of range.
13917
13918         * loop.c (unknown_constant_address_altered): New variable.
13919         (prescan_loop): Initialize it.
13920         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13921         (invariant_p, case MEM): Remove handling for volatile and readonly;
13922         check new variable if readonly.
13923         (check_dbra_loop): Chdeck unknown_constant_address_altered.
13924
13925         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13926         (addr_affects_sp_p): Removed from note_mem_written and only
13927         define #ifdef AUTO_INC_DEC.
13928
13929         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13930
13931         * regclass.c (record_reg_classes): Properly handle register move
13932         directions.
13933
13934         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13935         Don't think valid if both operands are invalid.
13936         (struct constant_descriptor): New field RTL.
13937         (mark_const_hash_entry): Mark it.
13938         (record_constant{,_rtx}): Initialize it.
13939         (output_constant_def): Allocate RTL in permanent obstack and
13940         save in table.
13941         ({record,compare}_constant_1): Modes must match for
13942         CONSTRUCTOR of ARRAY_TYPE.
13943
13944         * c-common.h (initializer_constant_valid_p): Delete decl from here.
13945         * output.h (initializer_constant_valid_p): Move decl to here.
13946         * c-common.c (initializer_constant_valid_p): Delete function from here.
13947         * varasm.c (initializer_constant_valid_p): Move function to here.
13948
13949         * tree.h (STRIP_SIGN_NOPS): New macro.
13950         * fold-const.c (optimize_minmax_comparison): New function.
13951         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
13952         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
13953         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
13954         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
13955         widening conversions.
13956         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
13957         to look at size of mode, not precision of type; also add missing cases.
13958         (optimize_bit_field_compare, decode_field_reference): Don't try to
13959         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
13960
13961         * dwarf2out.c (ctype.h): Include.
13962         (dwarf2out_set_demangle_name_func): New function.
13963         (size_of_line_info): Deleted.
13964         (output_line_info): Compute size of line info table from difference
13965         of labels.
13966         (base_type_die, add_name_attribute): Call demangle function, if any.
13967         (field_byte_offset): Use bits per word for variable length fields.
13968         (gen_array_type_die): Add array name.
13969         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
13970         (dwarf2out_add_library_unit_info): New function.
13971
13972         * explow.c (set_stack_check_libfunc): New function.
13973         (stack_check_libfunc): New static variable.
13974         (probe_stack_range): Allow front-end to set up a libfunc to call.
13975
13976         * combine.c (simplify_comparison): When making comparison in wider
13977         mode, check for having commuted an AND and a SUBREG.
13978         (contains_muldiv): New function.
13979         (try_combine): Call it when dividing a PARALLEL.
13980         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
13981         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
13982         a PLUS.
13983         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
13984         use one of the CLOBBERs instead.
13985         (if_then_else_cond): If comparing against zero, just return thing
13986         being compared.
13987
13988         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
13989         Don't generate shifts and subtract if have conditional arithmetic.
13990
13991         * rtl.h (delete_barrier): New declaration.
13992         * jump.c (jump_optimize): Set up to handle conditional call.
13993         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
13994         (delete_barrier): New function.
13995
13996         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
13997
13998         * recog.c (nonmemory_operand): Accept ADDRESSOF.
13999
14000         * tree.c (build_type_attribute_variant): Push to obstack of
14001         ttype around type_hash_canon call.
14002
14003         * expr.c (placeholder_list): Move decl to file scope.
14004         (expand_expr): Don't force access to volatile just because its
14005         address is taken.
14006         If ignoring reference operations, just expand the operands.
14007         (expand_expr, case COMPONENT_REF): Propagate
14008         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14009         Refine test for using bitfield operations vs pointer punning.
14010         (expand_expr, case CONVERT_EXPR): If converting to
14011         BLKmode UNION_TYPE from BLKmode, just return inner object.
14012         Use proper mode in store_field call.
14013         Properly set sizes of object to store and total size in store_field
14014         call for convert to union.
14015         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14016         memory (like for ADDR_EXPR).  Also, don't put constant in register if
14017         we'll want it in memory.
14018         (readonly_fields_p): New function.
14019         (expand_expr, case INDIRECT_REF): Call it if LHS.
14020         (expand_assignment): Handle a RESULT_DECL where
14021         DECL_RTL is a PARALLEL.
14022         (do_jump, case WITH_RECORD_EXPR): New case.
14023         (get_inner_reference): Always go inside a CONVERT_EXPR
14024         and NOP_EXPR if both modes are the same.
14025         (store_field): Use bitfield operations if size of bitsize is not same
14026         as size of RHS's type.
14027         Check for bitpos not a multiple of alignment in BLKmode case.
14028         Do block move in largest possible alignment.
14029         (store_constructor): Set BITSIZE to -1 for variable size and properly
14030         in case of array of BLKmode.
14031         (expand_expr_unaligned): New function.
14032         (do_compare_and_jump): Call it.
14033
14034         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14035         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14036         does not include 'o'.
14037
14038         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14039         both SET_DEST and SET_SRC reference a virtual register.
14040         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14041
14042         * integrate.c (expand_inline_function): Handle case of setting
14043         virtual stack vars register (from built in setjmp); when parameter
14044         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14045         (subst_constant): Add new parm, MEMONLY.
14046         (expand_inline_function, integrate_parm_decls): Pass new parm.
14047         (integrate_decl_tree): Likewise.
14048         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14049         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14050         (copy_rtx_and_substitute, case SET): Add explicit calls to
14051         copy_rtx_and_substitute for both sides.
14052
14053         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14054         constraints.
14055         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14056         within INDEX_TYPE, instead of before.
14057         (fixup_gotos): Use f->target_rtl, not the next insn,
14058         since latter may be from a later fixup.
14059         (expand_value_return): Correctly convert VAL when promoting function
14060         return; support RETURN_REG being a PARALLEL.
14061         (expand_return): When checking for result in regs and having
14062         cleanup, consider PARALLEL in DECL_RTL as being in regs.
14063
14064 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
14065
14066         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14067         last_nominal_fname): Mark const.
14068         (struct include_hash: name, nshort, control_macro): Mark
14069         const.
14070         (struct macrodef: symnam): Mark const.
14071         (struct if_stack: fname): Mark const.
14072         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14073         (IStable): New character-syntax array which encompasses all
14074         the old is_foo arrays.
14075         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14076         is_space): New macros for interrogating IStable.
14077         (check_macro_name): Kill last argument.  All callers changed.
14078
14079         * cppinit.c (initialize_char_syntax): Delete.
14080         (is_idchar, is_idstart, is_hor_space, is_space,
14081         trigraph_table): Delete.
14082         (IStable): New.  Initialize with clever macros to avoid
14083         information duplication.
14084         (builtin_array): Table of builtins to get rid of explicit list
14085         in initialize_builtins.
14086         (initialize_builtins): Use builtins_array.
14087         (cpp_start_read): Call init_IStable, and set IStable['$'] if
14088         opts->dollars_in_ident.
14089
14090         * cppexp.c: Change all refs to is_xyz[] arrays to use new
14091         is_xyz() macros.
14092         (cpp_parse_expr): Avoid 'format string is not constant'
14093         warning. Use ISGRAPH to identify printable chars.
14094         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14095         is_xyz() macros.
14096         (read_and_prescan): Map trigraphs to chars with open-coded
14097         if-else-if-... sequence, not a lookup table.
14098         * cpphash.c: Change all refs to is_xyz[] arrays to use new
14099         is_xyz() macros.
14100         * cpplib.c: Change all refs to is_xyz[] arrays to use new
14101         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
14102         (check_macro_name): Remove ability to report an invalid
14103         assertion name, which is never used.
14104         (do_line): Constify a couple of char *'s.
14105         * cppmain.c (main): Call cpp_cleanup before returning.
14106
14107 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
14108
14109         * ggc.h (struct ggc_statistics): New type.
14110         (ggc_get_size): New function.
14111         (ggc_print_statistics): Likewise.
14112         * ggc-common.c (ggc_stats): New variable.
14113         (ggc_mark_rtx_children): Keep statistics.
14114         (ggc_mark_tree_children): Likewise.
14115         (ggc_print_statistics): New function.
14116         * ggc-page.c (struct globals): Add bytes_mapped field.
14117         (alloc_anon): Update it.
14118         (release_pages): Likewise.
14119         (ggc_get_size): New function.
14120         (ggc_page_print_statistics): New function.
14121         * ggc-simple.c (ggc_get_size): New function.
14122
14123 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
14124
14125         * flow.c (propagate_block): When the last reference to a label
14126         before an ADDR_VEC is deleted because the reference is a dead
14127         store, delete the ADDR_VEC.
14128
14129 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
14130
14131         * resource.c (find_free_register): Don't use the frame pointer
14132         if frame_pointer_needed.
14133
14134 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
14135
14136         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14137         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14138
14139         * config/i960/i960.c (i960_va_start): New locals base, num.
14140         Use INDIRECT_REF instead of ARRAY_REF on valist.
14141         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14142
14143 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
14144
14145         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14146
14147 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
14148
14149         * tree.def (PLACEHOLDER_EXPR): Update comments.
14150
14151 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14152
14153         * c-common.c (check_format_info): Avoid non-literal format string
14154         warnings when `first_arg_num' is zero.
14155
14156 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14157
14158         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14159
14160 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
14161
14162         * arm.md (casesi_insn): Add a clobber of the condition code
14163         register.
14164
14165 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
14166
14167         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14168         used by both cc1 and cc1plus.
14169
14170 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
14171
14172         * config/arm/arm.c: Initialise arm_structure_size_boundary to
14173         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14174         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14175         to the value 32 if it has not already been defined.
14176         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14177         Override definition in arm.h with a value of 8.
14178
14179 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
14180
14181         * c-pragma.c (push_alignment): Don't check the return value
14182         of xmalloc.
14183
14184 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
14185
14186         * sparc.h (ADJUST_COST): Fix thinko.
14187
14188 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
14189
14190         * cccp.c (rescan): Fixed obp pointer handling around call to
14191         check_expand subroutine.
14192
14193 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
14194
14195         * gcse.c (delete_null_pointer_checks): Only record non-null info
14196         for pseudos when examining stores.
14197
14198         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14199         splitters for these patterns.  Use "#" for output templates.
14200         (addsi3_carryin_shift): New pattern.
14201
14202 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
14203
14204         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14205         of the function return register into a plain REG until
14206         after function inlining is done.
14207
14208 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14209
14210         * jump.c (jump_optimize_1): If we did cross-jumping, and
14211         the data will matter, rebuild the CFG.
14212         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14213         not optimizing.  Don't run shorten_branches.
14214         * toplev.c (rest_of_compilation): Run shorten_branches after
14215         reg_to_stack.
14216
14217 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
14218
14219         * rtl.h (note_stores): Add additional paramter.
14220         * rtlanal.c (reg_set_p_1): Take additional paramter.
14221         (reg_set_last_1): Likewise.
14222         (reg_set_p): Adjust call to note_stores.
14223         (reg_set_last): Likewise.
14224         (note_stores): Pass data parameter to worker function.
14225         * alias.c (record_set): Take additional parameter.
14226         (init_alias_analysis): Pass it.
14227         * caller-save.c (mark_set_regs): Take additional parameter.
14228         (save_call_clobbered_regs): Pass NULL to note_stores.
14229         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14230         parameter.
14231         (record_dead_and_set_regs_1): Likewise.
14232         (reg_dead_at_p_1): Likewise.
14233         (combine_instructions): Adjust calls to note_stores.
14234         (try_combine): Likewise.
14235         (record_dead_insn): Remove.
14236         (record_dead_and_set_regs): Adjust calls to note_stores.
14237         (reg_dead_at_p): Likewise.
14238         * cse.c (invalidate_skipped_set): Take additional parameter.
14239         (cse_check_loop_start): Likewise.
14240         (cse_check_loop_start_value): Remove.
14241         (cse_set_around_loop): Adjust calls to note_stores.
14242         * flow.c (notice_stack_pointer_modification): Take additional
14243         parameter.  Remove duplicate declaration.
14244         (record_volatile_insns): Adjust calls to note_stores.
14245         * gcse.c (record_set_info): Take additional parameter.
14246         (record_last_set_info): Likewise.
14247         (invalidate_nonnull_info): Likewise.
14248         (record_set_insn): Remove.
14249         (compute_sets): Adjust calls to note_stores.
14250         (last_set_insn): Remove.
14251         (compute_hash_table): Adjust calls to note_stores.
14252         (insert_insn_end_bb): Likewise.
14253         (delete_null_pointer_checks): Likewise.
14254         * global.c (mark_reg_store): Take additional parameter.
14255         (mark_reg_clobber): Likewise.
14256         (reg_becomes_live): Likewise.
14257         (global_conflicts): Adjust calls to note_stores.
14258         (build_insn_chain): Likewise.
14259         * integrate.c (note_modified_parmregs): Take additional parameter.
14260         (mark_stores): Likewise.  Make it static.
14261         (save_for_inline_nocopy): Adjust calls to note_stores.
14262         (try_constants): Likewise.
14263         * integrate.h (mark_stores): Remove declaration.
14264         * jump.c (mark_modified_reg): Take additional parameter.
14265         (thread_jumps): Adjust calls to note_stores.
14266         * local-alloc.c (validate_equiv_mem_from_store): Take additional
14267         parameter.
14268         (no_equiv): Likewise.
14269         (reg_is_set): Likewise.
14270         (validate_equiv_mem): Adjust calls to note_stores.
14271         (update_equiv_regs): Likewise.
14272         (block_alloc): Likewise.
14273         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14274         (note_addr_stored): Take additional parameter.
14275         (note_set_pseudo_multiple_uses): Likewise.
14276         (record_initial): Likewise.
14277         (prescan_loop): Adjust calls to note_stores.
14278         (strength_reduce): Likewise.
14279         (check_dbra_loop): Likewise.
14280         * regmove.c (flags_set_1): Take additional paramter.
14281         (mark_flags_life_zones): Adjust calls to note_stores.
14282         * reload1.c (mark_not_eliminable): Take additional parameter.
14283         (forget_old_reloads_1): Likewise.
14284         (reload_cse_invalidate_rtx): Likewise.
14285         (reload_cse_check_clobber): Likewise.
14286         (reload_combine_note_store): Likewise.
14287         (move2add_note_store): Likewise.
14288         (reload): Adjust calls to note_stores.
14289         (reload_as_needed): Likewise.
14290         (emit_reload_insns): Likewise.
14291         (reload_cse_regs_1): Likewise.
14292         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14293         (reload_combine): Adjust calls to note_stores.
14294         * resource.c (update_live_status): Take additional paramter.
14295         (mark_target_live_regs): Adjust calls to note_stores.
14296         * stupid.c (find_clobbered_regs): Take additional parameter.
14297         (stupid_life_analysis): Adjust calls to note_stores.
14298
14299 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
14300
14301         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14302         definition.
14303
14304         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14305         definition.
14306
14307         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14308         of the variable arm_structure_size_boundary.
14309
14310 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14311
14312         * alias.c (init_alias_analysis): Allocate reg_known_value and
14313         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
14314         and reg_seen.
14315         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14316         * cse.c (cse_main): Call end_alias_analysis.
14317         * haifa-sched.c (schedule_insns): Likewise.
14318         * local-alloc. (update_equiv_regs): Likewise.
14319         * reload1.c (reload_cse_regs): Likewise.
14320
14321 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14322
14323         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14324         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14325         mapping from MASK_FPU.
14326
14327 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
14328
14329         * sparc.md (call): Don't bound structure return size to 0xfff.
14330
14331 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
14332
14333         * resource.c (mark_target_live_regs): Check that the target
14334         insn wasn't created after compute_bb_for_insn.
14335
14336 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
14337
14338         * ggc-page.c (poison_pages): Don't be overzealous.
14339
14340 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
14341
14342         * alias.c: Update comments for ADDRESS.
14343         (nonlocal_reference_p): Look inside the ADDRESS to determine if
14344         it is a local memory reference.
14345
14346         * c-typeck.c (build_function_call): Check that the built-in
14347         function is of class BUILT_IN_NORMAL before trying to recongize
14348         it as BUILT_IN_ABS.
14349         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14350         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14351
14352 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
14353
14354         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14355         of alloca.
14356         (pre_gcse): Likewise.
14357         (hoist_expr_reaches_here_p): Likewise.
14358         (hoist_code): Likewise.
14359         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14360         code to ...
14361         (pre_expr_reaches_here_p_work): ... here.
14362         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14363         code to ...
14364         (expr_reaches_here_p_work): ... here.
14365
14366 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
14367
14368         * resource.c (find_basic_block): Delete.
14369         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14370         (init_resource_info): Call compute_bb_for_insn.
14371
14372 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
14373
14374         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14375         with already adjacent blocks, but no fallthru.
14376         (merge_blocks_move_successor_nojumps): Simplify.
14377         (debug_flow_info): New.
14378
14379         * toplev.c (rest_of_compilation): Open jump1 dump file before
14380         jump and close after, as opposed to just using dump_rtl.
14381
14382 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14383
14384         * reload.h (earlyclobber_operand_p): Declare.
14385         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
14386         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14387         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14388         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
14389
14390 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14391                           Richard Henderson  <rth@cygnus.com>
14392
14393         * emit-rtl.c (emit_block_insn_before): New.
14394         (emit_block_insn_after): New.
14395         * basic-block.h: Declare them.
14396
14397         * bitmap.h: Protect from multiple inclusion.
14398
14399         * recog.c (scratch_operand): Handle VOIDmode correctly.
14400
14401         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14402
14403         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14404         * function.c (assign_parms): Likewise.
14405         * global.c (global_conflicts): Clarify STACK_REGS commentary.
14406
14407         * reg-stack.c (max_uid): Remove.
14408         (blocks, block_begin, block_end, block_drops_in): Remove.
14409         (block_stack_in, block_out_reg_set, block_number): Remove.
14410         (struct block_info_def, BLOCK_INFO): New.
14411         (enum emit_where): New.
14412         (current_block): New.
14413         (BLOCK_NUM): Remove.
14414         (mark_regs_pat, record_label_references): Remove.
14415         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14416         (nan): New.
14417         (goto_block_pat, print_blocks, dump_stack_info): Remove.
14418         (reg_to_stack): Simplified test for existance of fp code.  Use
14419         flow.c code.  Call shorten_branches after cross-jump opt.
14420         (check_asm_stack_operands): Renamed from record_asm_reg_life.
14421         Return false if the asm doesn't use stack regs.  Don't do life
14422         analysis on the asm.
14423         (emit_pop_insn): Replace function pointer arg `when' with
14424         enum `where'.  Update all callers.
14425         (change_stack): Likewise.  Update basic block end.
14426         (emit_swap_insn): Use current_block->head to limit reverse search
14427         for start of block.  Use emit_block_insn_after.
14428         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14429         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
14430         structure assignment instead of bcopy.
14431         (print_stack): New.
14432         (convert_regs_entry, convert_regs_exit): New.
14433         (convert_regs_1, convert_regs_2): Split out from convert_regs.
14434         Work on basic blocks and the CFG.
14435         (convert_regs): Use them.
14436
14437         * i386.c (output_fix_trunc): Remove code for DImode input operand
14438         not at top-of-stack.
14439         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14440         appropriate mode.
14441         (fix_truncdi_1): Allow any mode scratch.
14442
14443 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
14444
14445         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14446         * linux.h, netbsd.h, vms.h: Not here.
14447
14448 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
14449
14450         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14451         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14452         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14453         CONDITIONAL_REGISTER_USEAGE): Use them.
14454         * config/mips/mips.c (mips_move_1word,mips_move_2words,
14455         gen_conditional_branch,override_options) : Use them.
14456         * config/mips/mips.md : Use them.
14457
14458 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
14459
14460         * i386.md (zero_extendqihi2): Use SImode register name with andl.
14461
14462 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
14463
14464         * integrate.c (function_cannot_inline_p): Don't allow inlining
14465         if setjmp is used.
14466
14467 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14468
14469         * c-parse.in (cast_expr): Constify.
14470
14471         * cccp.c (special_symbol): Likewise.
14472
14473         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14474
14475         * dwarf2out.c (base_type_die): Likewise.
14476
14477         * global.c (allocno_compare): Likewise.
14478
14479         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14480
14481         * regclass.c (fix_register): Likewise.
14482
14483         * rtl.h (fix_register): Likewise.
14484
14485         * stupid.c (stupid_reg_compare): Likewise.
14486
14487         * toplev.c (decode_f_option): Likewise.
14488
14489         * tree.c (build_complex_type): Likewise.
14490
14491 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
14492
14493         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14494
14495 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14496
14497         * reload.c (find_reloads): Compute mode and nregs fields of all
14498         reloads.
14499         * reload1.c (calculate_needs_all_insns): Simplify a bit.
14500         (calculate_needs): Use precomputed mode/nregs values.
14501         (allocate_reload_reg): Likewise.
14502         Break out two...
14503         (failed_reload, set_reload_reg): ... new functions.
14504         (choose_reload_regs_init): New function, mostly broken out from...
14505         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
14506         Also lose one #if 0 block.
14507
14508 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
14509
14510         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
14511         substitution.
14512
14513 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
14514
14515         * tree.h (BLOCK_TYPE_TAGS): Remove.
14516         (BLOCK_END_NOTE): Likewise.
14517         (BLOCK_LIVE_RANGE_FLAG): Likewise.
14518         (BLOCK_LIVE_RANGE_START): Likewise.
14519         (BLOCK_LIVE_RANGE_END): Likewise.
14520         (tree_block): Remove live_range_flag, live_range_var_flag, and
14521         type_tags.  Remove end_note, live_range_start, and live_range_end.
14522         (remember_end_note): Remove prototype.
14523         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14524         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14525         remember_end_note.
14526         * ggc-common.c (ggc_mark_tree_children): Don't mark
14527         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14528         * integrate.c (adjust_copied_decl_tree): Remove.
14529         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14530         * stmt.c (last_block_end_note): Remove.
14531         (init_stmt): Don't add a GC root for it.
14532         (expand_fixup): Don't set it.
14533         (remember_end_note): Remove.
14534         (expand_end_bindings): Don't set last_block_end_note.
14535
14536 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14537
14538         * reload1.c (reload_reg_free_for_value_p): Show
14539         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14540         reloads.
14541
14542 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
14543
14544         * expmed.c (extract_bit_field): Allow for the case of non-integer
14545         objects that are smaller than a word (like SFmode on a 64-bit
14546         machine).
14547
14548         * loop.c (basic_induction_var): A non-integer variable which is
14549         being set by a paradoxical subreg is probably not a biv.
14550
14551 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14552
14553         * prefix.c (translate_name) Check for empty prefix string.
14554
14555 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
14556
14557         * Makefile.in (CPP_CROSS_NAME): New variable.
14558         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14559         xcpp.
14560         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14561         names of the files to be uninstalled.
14562
14563 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
14564
14565         * collect2.c (IS_DIR_SEPARATOR): Define.
14566         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14567
14568         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14569         functions too.
14570
14571         * haifa-sched.c (add_dependence): Update the true dependency
14572         cache the first time we add a true dependence to the LOG_LINKS chain.
14573
14574 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
14575
14576         * fold-const.c (fold): Fix comment.
14577
14578 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14579
14580         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14581         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14582         dbxout_start_new_source_file, dbxout_source_file,
14583         dbxout_source_line, dbxout_finish, dbxout_type_fields,
14584         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14585         Constify a char*.
14586         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14587         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14588         (dbxout_block): Initialize variable `blocknum'.
14589
14590         * dbxout.h (dbxout_init, dbxout_finish,
14591         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14592         dbxout_args, dbxout_source_line): Constify a char*.
14593
14594         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14595         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14596         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14597         low_pc_attribute, high_pc_attribute, body_begin_attribute,
14598         body_end_attribute, comp_dir_attribute, sf_names_attribute,
14599         src_info_attribute, mac_info_attribute, producer_attribute,
14600         lookup_filename, generate_macinfo_entry, fundamental_type_code,
14601         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14602         dwarfout_undef): Constify a char*.
14603         (add_incomplete_type, retry_incomplete_types): Add prototypes.
14604
14605         * dwarfout.h (dwarfout_define, dwarfout_undef,
14606         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14607
14608 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
14609
14610         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14611         (MULTILIB_ISA_DEFAULT): New.
14612         (MULTILIB_DEFAULTS): Use it.
14613         * config/mips/mips.c (): Remove the now unnecessary definition
14614         of MIPS_ISA_DEFAULT.
14615         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14616         unnecessary definition.
14617
14618 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
14619
14620         * arm.md (pic_load_addr): Add constraints to operand 1.
14621
14622 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
14623
14624         * fixinc/genfixes:  Provide a means for specifying -D options to
14625         AutoGen
14626
14627 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
14628
14629         * arm.c (arm_override_options): Correct initialization of
14630         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14631         arm_is_strong, and arm_is_6_or_7.
14632
14633         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14634         (note_set_pseudo_multiple_uses): New function.
14635         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14636         if a pseudo set in the loop exit is used elsewhere.
14637
14638 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
14639
14640         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14641
14642 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
14643
14644         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14645         a single load-address pattern.
14646
14647 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
14648
14649         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14650         depending on whether or not line-number notes are present.
14651
14652 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14653
14654         * cccp.c (progname, file_buf, default_include, include_file,
14655         macrodef, definition, hashval, wchar_type, user_label_prefix,
14656         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14657         expand_to_temp_buffer, is_system_include, base_name,
14658         absolute_filename, read_name_map, open_include_file,
14659         record_control_macro, check_precompiled, check_preconditions,
14660         pcfinclude, pass_thru_directive, create_definition,
14661         check_macro_name, comp_def_part, collect_expansion,
14662         check_assertion, read_token_list, assertion_install,
14663         assertion_lookup, eval_if_expression, conditional_skip,
14664         validate_else, skip_quoted_string, quote_string, macarg1,
14665         error_from_errno, install, lookup, hashf, dump_defn_1,
14666         perror_with_name, pfatal_with_name, main, trigraph_pcp,
14667         check_white_space, rescan, handle_directive, monthnames,
14668         special_symbol, do_include, remap_include_file, write_output,
14669         arglist, do_assert, do_unassert, do_line, do_error, do_once,
14670         do_ident, do_sccs, do_xifdef, skip_if_group,
14671         output_line_directive, macroexpand, macarg, change_newlines,
14672         initialize_builtins, make_definition): Constify a char*.
14673
14674         * pcp.h (stringdef): Likewise.
14675
14676 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
14677
14678         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14679         not of pattern.
14680
14681 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
14682                           Richard Henderson  <rth@cygnus.com>
14683
14684         * alias.c: Include ggc.h.
14685         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14686         (record_set): Verify enough room in reg_base_value.
14687         (init_alias_analysis): Allocate reg_base_value with xcalloc.
14688         Register it as a GC root.
14689         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
14690         * Makefile.in (alias.o): Depend on ggc.h.
14691
14692         * unroll.c (unroll_loop): Verify the insn before a barrier
14693         is a JUMP_INSN before checking JUMP_LABEL.
14694
14695 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14696
14697         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14698         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14699         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14700         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14701         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14702         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14703
14704 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14705
14706         * output.h (ctors_section, dtors_section, bss_section): Prototype.
14707
14708         * alpha/alpha-interix.h (text_section): Delete prototype.
14709         * alpha/elf.h (text_section): Likewise.
14710         * arm/linux-elf.h (text_section): Likewise.
14711         * arm/linux-telf.h (text_section): Likewise.
14712         * c4x/c4x.h (text_section): Likewise.
14713         * dsp16xx/dsp16xx.h (bss_section): Likewise.
14714         * elfos.h (text_section): Likewise.
14715         * i386/aix386ng.h (text_section): Likewise.
14716         * i386/i386-interix.h (text_section): Likewise.
14717         * i386/sco5.h (text_section): Likewise.
14718         * i386/svr3gas.h (text_section): Likewise.
14719         * nextstep.h (text_section): Likewise.
14720         * psos.h (text_section): Likewise.
14721         * ptx4.h (text_section): Likewise.
14722         * svr3.h (text_section): Likewise.
14723         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14724
14725 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14726
14727         * final.c (peephole): Delete prototype.
14728
14729         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14730         (pre_insert_copies): Remove unused variable `bb'.
14731
14732         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14733         prototypes.
14734
14735         * output.h (peephole): Add prototype.
14736
14737 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
14738
14739         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14740         -O0.
14741
14742 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
14743
14744         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14745         for inlined declarations.
14746
14747 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
14748
14749         * arm.c (logical_binary_operator): New fucntion.
14750         * arm.h (logical_binary_operator): Declare it.
14751         (PREDICATE_CODES): Handle logical_binary_operator.
14752         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14753         output constraints.  Add appropriate splitters.
14754         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14755         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14756         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14757
14758 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14759
14760         * genoutput.c (struct operand_data): New elt eliminable.
14761         (output_operand_data): Write it.
14762         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14763         (compare_operands): Take it into account.
14764         * recog.h (struct insn_operand_data): New elt eliminable.
14765         * reload1.c (check_eliminable_occurrences, elimination_effects): New
14766         functions.
14767         (old_asm_operands_vec, new_asm_operands_vec): Delete.
14768         (eliminate_regs): Move code that detects changes to elimination
14769         target regs into new function elimination_effects.
14770         Delete one #if 0 block.
14771         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14772         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14773         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14774         Only call eliminate_regs for real operands of the insn, not for parts
14775         of its structure or parts matched by things like match_operator.
14776         Use elimination_effects and check_eliminable_occurrences.  Use
14777         copy_insn to duplicate the pattern when not in the final pass.
14778
14779 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
14780
14781         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14782         and fld.
14783
14784 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
14785
14786         * fixinc/README: document the "mach" machine matching test
14787         * fixinc/fixfixes.c: Implement the #else/#endif label fix
14788         * fixinc/fixtests.c: Implement the #else/#endif label test
14789         * fixinc/inclhack.def: utilize these tests and fixes
14790         * fixinc/inclhack.sh:  regen
14791         * fixinc/fixincl.x:  regen
14792         * fixinc/fixincl.sh:  regen
14793
14794 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
14795
14796         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
14797         depend on ggc.h.
14798
14799 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
14800
14801         * gcc.1: Document exit codes.
14802
14803 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14804
14805         * calls.c: Include tm_p.h later, so everything we need is defined.
14806         * expr.c: Likewise.
14807         * function.c: Likewise.
14808
14809         * except.c: Include tm_p.h.
14810
14811         * sparc.c: Likewise.
14812         (dwarf2out_cfi_label): Don't prototype.
14813         (check_return_regs, epilogue_renumber,
14814         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14815         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14816         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14817         ultra_schedule_insn): Add static prototype.
14818         (data_segment_operand, text_segment_operand): Call itself with the
14819         proper number of arguments.
14820         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14821
14822         * sparc.h: Move all declarations to sparc-protos.h.
14823         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
14824         symbolic_operand.
14825
14826         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14827
14828         * config/svr4.h (text_section, ctors_section, dtors_section): Add
14829         Prototypes.
14830         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14831         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14832         ASM_OUTPUT_ASCII): Constify a char*.
14833
14834         * sparc-protos.h: New file for sparc prototypes.
14835
14836 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14837
14838         * function.c (record_insns, contains): Always declare and define.
14839         (record_insns): Mark with ATTRIBUTE_UNUSED.
14840
14841 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14842
14843         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14844         to .section when outputting a .bss section to deal with multiple
14845         .bss input sections (as happens with -fdata-sections)
14846         Also output %progbits, not @progbits so the assembler doesn't treat as
14847         a comment.
14848         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14849
14850         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14851         thumb parts even when building with non-thumb CPUs, by forcing
14852         thumb mode.
14853
14854 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
14855
14856         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14857         (movdf_const_intreg_sp64): Similarly.
14858
14859         * local-alloc.c (update_equiv_regs): Check the correct insn
14860         for pre-existing REG_EQUIV notes.
14861
14862 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
14863
14864         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14865         block reached by a branch if we're not going to actually process
14866         this block.
14867
14868 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
14869
14870         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14871         a local extern function declaration.
14872
14873 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
14874
14875         * i386.c (ix86_expand_prologue): Properly wrap USE around
14876         reg for CALL_INSN_FUNCTION_USAGE.
14877
14878 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
14879
14880         * config/mips/mips.md (movdf_internal1a): Allow floating-point
14881         move between GP_REGs.
14882
14883 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
14884
14885         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14886         the mode size when finding out if an offset is legal.
14887
14888 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
14889
14890         * basic-block.h (PROP_*): Move constants from ...
14891         * flow.c: ... here.
14892         (compute_bb_for_insn): Free the array before reallocating.
14893         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14894         (allocate_reg_life_data): Reset all reg variables collected by
14895         propagate_block.
14896         (get_block_head_tail): Don't convert from bb to block.
14897         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
14898         (find_insn_reg_weight): Take block not bb.
14899         (schedule_block): Don't set block num for moved insns.
14900         (schedule_region): Don't update_life_info or find_insn_reg_weight.
14901         (schedule_insns): Do it here instead.
14902         * combine.c (combine_instructions): Invoke compute_bb_for_insn
14903         before update_life_info.
14904         * recog.c (split_all_insns, peephole2_optimize): Update for
14905         new arg to update_life_info.
14906         * rtlanal.c (remove_note): Cope with NULL note.
14907         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14908         if we did sched1.
14909
14910 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
14911
14912         * jump.c (jump_optimize_1): More accurately detect casesi insns.
14913
14914         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14915         block records so that merge_blocks_nomove will clean up correctly.
14916         (split_edge): Handle casesi insns.
14917
14918         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14919
14920 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
14921
14922         * pa.md (call, call_value): Do not emit a blockage after restoring
14923         the PIC register.
14924
14925 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
14926
14927         * c-typeck.c (c_expand_asm_operands): Fix typo.
14928
14929 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14930
14931         * arm.c (fpu_rhs_operand): Verify modes.
14932         (fpu_add_operand): Likewise.
14933         (di_operand): Likewise.
14934         (soft_df_operand): Likewise.
14935
14936 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
14937
14938         * arm.c (arm_return_in_memory): APCS rules state that the elements
14939         of a structure returned in a register must be 'integer-like'.
14940
14941 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
14942
14943         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14944         in the source tree when the generated targets are out of date
14945         * fixinc/genfixes: Alter it to run individual fixes for make.
14946         * fixinc/README: rewrite
14947         * fixinc/inclhack.def: moved initial comments to README
14948
14949 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
14950
14951         * toplev.c (main): Do not generate an error message if an
14952         unrecognised command line switch is recognisable by another
14953         language.  If extra_warnings are enabled, then generate a
14954         warning message instead.
14955
14956 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14957
14958         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
14959         (insert_pack_attributes): Delete prototype.
14960
14961         * c-pragma.c (default_alignment): New static variable.
14962         (push_alignment): Initialize to current effective alignment.
14963         (pop_alignment): Use to set new alignment.
14964         (insert_pack_attributes): Delete function.
14965         (handle_pragma_token): Set default_alignment as well each time
14966         a #pragma pack(<n>) is encountered.
14967
14968 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
14969
14970         * reg-stack.c (stack_result): Aggregates are not returned in
14971         stack registers.
14972
14973 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
14974
14975         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
14976
14977 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
14978
14979         * basic-block.h (set_block_num): Declare.
14980         * flow.c (update_life_info): Don't call compute_bb_for_insn
14981         or free_basic_block_vars.
14982         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
14983         (insn_orig_block): Remove.
14984         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
14985         (schedule_block): Keep BLOCK_NUM up-to-date.
14986         (schedule_insns): Use compute_bb_for_insn.
14987         * recog.c (split_all_insns): Likewise.
14988         (peephole2_optimize): Likewise.
14989
14990 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
14991
14992         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
14993         if the pic register is used.
14994
14995 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14996
14997         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
14998         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
14999         if that tests TREE_PERMANENT.
15000
15001 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
15002
15003         * cse.c (invalidate_for_call): Do not remove memory references from
15004         the table here.  It's handled elsewhere.
15005
15006         * haifa-sched.c (add_dependence): Protect references to the
15007         true dependency cache with #ifdef INSN_SCHEDULING.
15008         (remove_dependence): Similarly.
15009
15010         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15011         to the cfg code that this is a return instruction.
15012         * mn10300.md (return_internal): Similarly.
15013
15014         * combine.c (get_last_value): If the last set of a register
15015         is after subst_low_cuid, then we can not use it to determine
15016         the register's last value.
15017
15018 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15019
15020         * Makefile.in: Back out previous change.
15021
15022 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
15023
15024         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15025
15026         * haifa-sched.c (add_dependence): Only check/update the cache
15027         if it exists.
15028         (remove_dependence): Likewise.
15029         (schedule_insns): Only create the true_dependency_cache if the
15030         average number of instructions in a basic block is very large.
15031
15032 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15033
15034         * Makefile.in (ggc-common.o): Depend on genrtl.h.
15035         (ggc-simple.o): Likewise.
15036         (ggc-page.o): Likewise.
15037
15038 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
15039
15040         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15041         Prototype for exported functions.
15042         (pre_lcm, pre_rev_lcm): Remove prototypes.
15043         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15044         (compute_available): Move to lcm.c, and change parameter order.
15045         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15046         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15047         (gcse_main): No longer call compute_preds_succs.  Rebuild the
15048         set table after reach pre pass.
15049         (pre_insert_map, pre_delete_map, edge_list): New.
15050         (alloc_pre_mem): Allocate edge vectors.
15051         (free_pre_mem): Delete edge vectors.
15052         (compute_pre_data): Call new edge based lcm routines.
15053         (process_insert_insn): New function.
15054         (insert_insn_end_bb): Use it.
15055         (pre_edge_insert): New function.
15056         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
15057         needed.
15058         (pre_insert_copies): Revamp using new edge based lcm outputs.
15059         (pre_delete): Likewise.
15060         (one_pre_gcse_pass): Insert & remove fake edges to the exit
15061         block.
15062         (compute_code_hoist_vbeinout): New new edge based routines.
15063         * lcm.c: Remove all the old LCM functions.  Replace with new ones
15064         that work with the new cfg datastructures and work with edges
15065         instead of blocks.
15066
15067 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15068
15069         * reload.h (struct reload): Add new fields "mode" and "nregs".
15070         * reload1.c: Change all occurrences of reload_mode and reload_nregs
15071         to reference the "mode" and "nregs" field within struct reload.
15072
15073 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
15074
15075         * haifa-sched.c (true_dependency_cache): New.
15076         (add_dependence): Use the true dependency cache to avoid expensive
15077         walks down the LOG_LINKS dependency list.  Add entries to the
15078         cache as necessary.
15079         (remove_dependence): Remove entries from the true dependency cache
15080         as needed.
15081         (schedule_insns): Allocate and initialize and free the true
15082         dependency cache.
15083
15084         * haifa-sched.c (schedule_insns): Do not remove inter-block
15085         dependencies anymore.
15086
15087 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15088
15089         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15090         * i386/t-winnt: Likewise.
15091
15092 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
15093
15094         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15095
15096 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
15097
15098         * Makefile.in (LANGUAGES): Omit "proto".
15099         (clean): Remove stale comment about removing unprotoize.c.
15100
15101 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15102
15103         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15104         using arithmetic on void pointers.
15105
15106 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
15107
15108         * haifa-sched.c (compute_block_forward_dependencies): Only check
15109         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15110
15111 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
15112
15113         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15114         (expr_equiv_p): Reject memories with different alias sets.
15115
15116 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
15117
15118         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15119         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15120         (f_options): Add "bounded-pointers" and "bounds-check" entries.
15121         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15122         (lang_init): Set default for flag_bounds_check if still "unspecified".
15123
15124 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15125
15126         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
15127
15128 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15129
15130         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15131         instructions.
15132
15133 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15134
15135         * config/c4x/c4x.md (*db_noclobber,
15136         *decrement_and_branch_until_zero_noclobber): New patterns and
15137         associated splitters.
15138
15139 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15140
15141         * config/c4x/c4x.md (parallel instruction patterns): Rework
15142         constraints to keep reload happy.
15143
15144 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15145
15146         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15147         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15148         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15149         Add new patterns and associated post-reload splitters.
15150
15151 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15152
15153         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15154
15155 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15156
15157         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15158         if appropriate.
15159         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15160
15161 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15162
15163         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
15164         memory mode.
15165
15166 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
15167
15168         * pa.c (move_operand): Rely on memory_address_p to determine the
15169         validity of non-indexed memory addresses.
15170         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15171         operand in DFmode and SFmode when generating PA2.0 code.
15172
15173 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
15174
15175         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15176
15177 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
15178
15179         * mips.c (function_prologue): Fix argument types.
15180         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15181         (casesi_internal): Write to the scratch register.
15182
15183 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
15184
15185         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
15186         to U_CHAR **.
15187         (parse_charconst): Delete unnecessary cast when calling
15188         cpp_parse_escape.
15189         (cpplib.h): Kill prototype of cpp_parse_escape.
15190
15191 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
15192
15193         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15194         * unroll.c (unroll_loop): Cast return value of alloca.
15195         * i370/i370.c: Include function.h and toplev.h.
15196         (i370_label_scan): Remove c++ commented abort.
15197         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15198         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15199         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15200         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15201
15202 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
15203
15204         * config/t-freebsd: Do not override USER_H.
15205         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15206
15207 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15208                           Mumit Khan  <khan@xraylith.wisc.edu>
15209
15210         * c-parse.in (component_decl): Support anonymous struct/union.
15211         (%expect): Update.
15212         * c-parse.y: Regenerate.
15213         * c-parse.c: Likewise.
15214         * objc/objc-parse.y: Likewise.
15215         * objc/objc-parse.c: Likewise.
15216         * c-decl.c (finish_struct): Don't sort the fields.
15217         (field_decl_cmp): Delete unused function.
15218
15219 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
15220
15221         * sparc.md (movsf_const_intreg): Revert last constraint change.
15222         (movdf_const_intreg_sp32): Likewise.
15223
15224 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15225
15226         * cse.c: Include hashtab.h instead of splay-tree.h
15227         (struct cse_reg_info): No longer use variant union.  Add new
15228         field "regno".  All references changed to avoid union.
15229         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15230         (free_cse_reg_info): Remove.
15231         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15232         (get_cse_reg_info): Revamp to use expandable hash tables instead
15233         of splay trees.  Initialize new fields in cse_reg_info structure.
15234         (new_basic_block): Similarly.
15235
15236 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
15237
15238         * genrecog.c (message_with_line): Prototype.
15239         (validate_pattern): Pass along the set for the dest, not a flag.
15240         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
15241         Check for PC/CC0 as sources.
15242         (nodes_identical): Check for children position match before
15243         allowing the combination.
15244
15245         * rtl.c (read_rtx): Track line number across \\\n.
15246
15247 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
15248
15249         * mips.h (SPECIAL_MODE_PREDICATES): New.
15250         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15251         (movdi+1, movsi+1): Add output reload constraint.
15252         (casesi_internal): Likewise.  Fix commentary.
15253         (return_internal): Use pmode_register_operand.
15254
15255 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
15256
15257         * 1750a.md (movstrqi): Add missing output reload constraint.
15258         (call_value): Likewise.
15259         * a29k.md (cpxxx patterns): Add missing match_operator mode.
15260         (jmpfdec): Add missing inout reload constraint.
15261         * elxsi.md (addsi patterns): Add missing output reload constraint.
15262         (move from sp): Use @ alternates.
15263         (call_value): No constraint on output.
15264         * fr30.md (movsi_pop): Add missing output reload constraint.
15265         (movsf_constant_store): Likewise.
15266         (splits): Remove constraints.
15267         (subsi3): Add missing mode.
15268         * i370.md (cmpstrsi+1): Add missing output reload constraint.
15269         (call_value): Likewise.
15270         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15271         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15272         * m32r.md (movsicc_internal): Add output reload constraint.
15273         (movstrsi_internal): Add inout reload constraints.
15274         * m88k.h (reg_names): Don't declare.
15275         (SPECIAL_MODE_PREDICATES): New.
15276         * m88k.md (*): Use register_operand not reg_or_0_operand
15277         on destinations.
15278         * mn10200.h (PREDICATE_CODES): New.
15279         * ns32k.md (ffs pattern): Add output reload constraint.
15280         * pdp11.md (sob pattern): Add inout reload constraint.
15281         * sh.md (splits): Remove constraints.
15282         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15283         * v850.md (pattern_is_ok_for_epilogue): Likewise.
15284         * vax.md (jgequ pattern): Add inout reload constraint.
15285
15286 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
15287
15288         * configure.in (djgpp): Revert previous patch.
15289         * configure: Rebuit.
15290         * config/i386/djgpp.h: Revert previous patch.
15291
15292 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
15293
15294         * fixinc/inclhack.def: Restore patch lost during last merge of
15295         "no_bogosity" branch.
15296         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15297
15298 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15299
15300         * fixincludes: Add a HPUX 11 fix for inttypes.h.
15301         * fixinc/inclhack.def: Same.
15302         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15303
15304 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
15305
15306         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15307         as the base of a PLUS.
15308
15309 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15310
15311         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
15312         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
15313
15314 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
15315
15316         * pa.md (post_stw+1): Use pmode_register_operand.
15317         (dcacheflush, icacheflush): Likewise.
15318
15319         * i386.md (movstricthi_1): Allow r/r.
15320
15321 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
15322
15323         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15324         to (not (and (arg0) (arg1))). Similary for and.
15325
15326         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15327         fallthrough to associate code.
15328         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15329         bits in common.
15330
15331         * combine.c (simplify_logical): Convert XOR to IOR if operands have
15332         no bits in common; remove XOR to ROTATE conversion.
15333
15334 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15335
15336         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15337
15338 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15339
15340         * config/c4x/c4x.c (dst_operand): New.
15341         (PREDICATE_CODES): Update.
15342         * config/c4x/c4x.h (dst_operand): Declare it.
15343         * config/c4x/c4x.md:  Define mode for each unspec usage.
15344         (move patterns):  Use dst_operand predicate instead of src_operand.
15345         (movqi_update, movqf_update): Delete.
15346
15347 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
15348
15349         * recog.c (pmode_register_operand): New.
15350         * recog.h: Declare it.
15351         * genrecog.c (pred_codes): Likewise.
15352         (special_mode_pred_table): Likewise.
15353         (validate_pattern): Don't warn no mode for address_operand.
15354
15355         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15356         if the operand is not insn-like.
15357
15358 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
15359                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15360
15361         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15362
15363 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
15364
15365         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15366         instead of general_operand in a SET_DEST.  Use const_double_operand
15367         instead of an explicit test against CONST_DOUBLE.
15368         (movsf_const_lo): Add missing register mode.
15369         (goto_handler_and_restore): Add auxiliary test for Pmode.
15370         (flush): Adjust to use address_operand.
15371         (return_sf_no_fpu): Add missing output constraint.
15372
15373 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
15374
15375         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15376         for call return value.
15377         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15378
15379 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
15380
15381         * toplev.c (main): Only warn about options for other languages.
15382         * collect2.c (main): Pass -w to sub-gcc.
15383
15384 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
15385
15386         * flow.c (propagate_block): Add call-clobbered registers to
15387         significant too.
15388
15389         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15390         zapping mem_set_list.
15391         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15392         (mark_set_1, mark_used_regs): Likewise.
15393
15394 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
15395
15396         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15397
15398 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15399
15400         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15401         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15402         options. Also add a new item "C-only Warning Options" to the
15403         option summary.
15404
15405 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
15406
15407         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15408         from multiple calls.
15409
15410 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
15411
15412         * i386.md (call value patterns): Move to the end of the file.
15413         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15414
15415 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15416
15417         * configure.in (djgpp configuration): Define extra_objects..
15418         * configure: Rebuilt.
15419         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15420         (DTORS_SECTION_ASM_OP): Define.
15421         (INIT_SECTION_ASM_OP): Define.
15422         (FINI_SECTION_ASM_OP): Define.
15423         (DATA_SECTION_ASM_OP): Define.
15424         (TEXT_SECTION_ASM_OP): Define.
15425         (EH_FRAME_SECTION_ASM_OP): Define.
15426         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15427         (STARTFILE_SPEC): Add crtbegin.o.
15428         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15429         to here from LINK_COMMAND_SPEC.
15430         (DO_GLOBAL_CTORS_BODY): Define.
15431         (CRTSTUFF_USE_FINI_SECTION): Define
15432         (HAS_INIT_SECTION): Delete.
15433
15434 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
15435
15436         * Makefile.in (all.cross): Depend on xcpp$(exeext).
15437
15438 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
15439
15440         * pa.h (PREDICATE_CODES): New.
15441
15442         * genrecog.c (validate_pattern): Condense the destination
15443         non-lvalue message.
15444
15445 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
15446
15447         * alpha.md (call-1): Supply missing mode for operator.
15448         (*): Add missing output reload constraints.  Remove constraints
15449         from define_splits.
15450
15451         * i386.h (SPECIAL_MODE_PREDICATES): New.
15452         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15453         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15454         (addsi_lea_3): Add missing mode for op 3.
15455         (prologue_set_got, prologue_get_pc): Add missing modes.
15456         (*) Add missing output reload constraints.
15457
15458 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
15459
15460         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15461         check for member bit-size overflow and use var_size if it occurs.
15462         (layout_record): Use bitsize_int() to define the type size in bits.
15463         Likewise for computation and assignment to DECL_FIELD_BITPOS.
15464         (layout_decl): Likewise when assigning to DECL_SIZE.
15465
15466 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
15467
15468         * genrecog.c (validate_pattern): Typo last change.  Verify
15469         that output operands have output reloads.
15470
15471 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
15472
15473         * genrecog.c (special_mode_pred_table): New.
15474         (NUM_SPECIAL_MODE_PREDS): New.
15475         (find_operand): New.
15476         (validate_pattern): New argument `insn'.  Warn for assignment to
15477         any predicate accepting non-lvalues.  Conditionaly warn for
15478         match_operand without a mode.  Try much harder to match source
15479         and destination modes on a set.
15480         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15481
15482 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
15483
15484         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15485
15486 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
15487
15488         * combine.c (simplify_logical): Recognize xor pattern that encodes
15489         rotation.
15490
15491 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15492
15493         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15494         alignment.
15495
15496 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
15497
15498         * ggc-page.c (MAP_FAILED): Provide default.
15499
15500 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
15501
15502         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15503         * sparc.h (PREDICATE_CODES): Update.
15504
15505 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
15506
15507         * alpha.c (some_ni_operand): New.
15508         * alpha-protos.h: Declare it.
15509         * alpha.h (PREDICATE_CODES): Update.
15510         * alpha.md (sXaddq reload insns): Use some_ni_operand
15511         for SET_DEST instead of some_operand.
15512
15513 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
15514                           Jim Wilson  <wilson@cygnus.com>
15515
15516         * genrecog.c (maybe_both_true_2): Don't compare modes of
15517         two DT_pred tests.
15518         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
15519         after find_afterward.
15520         (debug_decision_1): Dump next and afterward codes.
15521
15522 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
15523
15524         * rtl.c (dump_and_abort): Remove.
15525         (fatal_with_file_and_line): New.
15526         (fatal_expected_char): New.
15527         (read_rtx_lineno, read_rtx_filename): New.
15528         (read_skip_spaces): Track line number.
15529         (read_name): Use fatal_with_file_and_line.
15530         (read_rtx): Use fatal_expected_char.  Track line number.
15531         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15532
15533         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15534         if it isn't a CODE_LABEL.
15535
15536         * genattr.c (main): Set read_rtx_filename.
15537         * genattrtab.c (main): Likewise.
15538         * gencodes.c (main): Likewise.
15539         * genconfig.c (main): Likewise.
15540         * genemit.c (main): Likewise.
15541         * genextract.c (main): Likewise.
15542         * genflags.c (main): Likewise.
15543         * genopinit.c (main): Likewise.
15544         * genoutput.c (main): Likewise.
15545         * genpeep.c (main): Likewise.
15546
15547         * genrecog.c (decision_test.u.insn): Add `lineno'.
15548         (pattern_lineno, error_count): New variables.
15549         (message_with_line): New.
15550         (add_to_sequence): Break out checking code to ...
15551         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
15552         (merge_insn): Use message_with_line.
15553         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
15554         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
15555
15556 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15557
15558         * expr.c (store_constructor): Clear union if constructor is empty.
15559
15560 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
15561
15562         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15563         Add !endian checks.  Change %{...} to %(...).
15564
15565 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
15566
15567         * i386.md (*addsi3_cc): Renamed from addcsi3.
15568         (*addsi3_carry): Renamed from addxsi3.
15569         (*subsi3_cc): Renamed from subcsi3.
15570         (*subsi3_carry): Renamed from subxsi3.
15571         (*xorqi_cc_1): Renamed from xorcqi_1.
15572         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15573         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15574
15575 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
15576
15577         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15578         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15579
15580 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
15581
15582         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15583         climb up the chain of insns.
15584
15585 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
15586
15587         * genrecog.c (write_subroutine): Careful for null trees.
15588         (process_tree): Don't elide empty functions.
15589
15590 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
15591
15592         * Makefile.in (genrtl.o): Depend on ggc.h.
15593         * configure.in (valloc): Probe for it.
15594         (with-gc): Use ggc-page if valloc present.
15595         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15596         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15597         (ggc_alloc_string): Moved from ggc-page.c.
15598         * ggc-none.c (ggc_alloc_obj): New.
15599         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15600         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15601         (struct globals): Likewise for dev_zero_fd.
15602         (init_ggc): Likewise for it's initialization.
15603         (ggc_allocated_p): Move careful dereference from ...
15604         (ggc_lookup_page_table): ... here.  Delete.
15605         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15606         (alloc_anon): Use valloc if no mmap.
15607         (release_pages): Use free if using valloc.
15608         (ggc_alloc_obj): Renamed from alloc_obj.
15609         (ggc_set_mark): Renamed from mark_obj.
15610         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15611         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15612         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15613         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15614         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15615         (ggc_collect): Use fp printing instead of our own rounding.
15616         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15617         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15618         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15619         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15620         (struct ggc_string, struct ggc_any): Delete.
15621         (offsetof): Provide default definition.
15622         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15623         (PTR_KEY): New.
15624         (struct ggc_mem): New, from corpse of ggc_any.
15625         (struct ggc_status): Delete.
15626         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15627         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15628         (n_strings_collected, n_anys_collected): Delete.
15629         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15630         (ggc_alloc_string, ggc_alloc): Delete.
15631         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15632         (ggc_free_string, ggc_free_any): Delete.
15633         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15634         (ggc_compare_addresses, ggc_mark_string): Delete.
15635         (ggc_mark_string_if_gcable, ggc_mark): Delete.
15636         (search_data): Delete.
15637         (struct globals): New.
15638         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15639         (tree_insert, tree_lookup): New.
15640         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15641         (clear_marks, sweep_objs): New.
15642         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
15643         (init_ggc): Set allocated_last_gc.
15644         (ggc_push_context): Gut.  Use G.context.
15645         (ggc_pop_context): Likewise.
15646         (ggc_pop_context_1): New.
15647         (debug_ggc_tree): New.
15648         (debug_ggc_balance, tally_leaves): New.
15649         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15650         (ggc_mark_string_if_gcable): Remove decl.
15651         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15652         (ggc_mark_rtvec_children): New.
15653         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15654         (ggc_mark_if_gcable): New decl.
15655         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15656         (ggc_alloc_tree, ggc_alloc): Likewise.
15657         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15658         (ggc_alloc_obj): New decl.
15659         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15660         (ggc_alloc_tree, ggc_alloc): Likewise.
15661         (ggc_set_mark): New decl.
15662         * rtl.h (struct rtx_def): Remove gc_mark.
15663         (struct rtvec_def): Likewise.
15664         * tree.h (struct tree_common): Likewise.
15665
15666 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
15667
15668         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15669         float_format and thread_file definitions.
15670         * configure: Rebuilt.
15671
15672 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
15673
15674         * extend.texi (Function Names): Document types of function names.
15675
15676 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15677
15678         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15679         an earlyclobbered output conflict with RELOAD_INPUT reloads.
15680
15681 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15682
15683         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15684
15685 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15686
15687         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15688
15689 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
15690
15691         * collect2.c (main): Do prelimnary link on AIX if rflag.
15692
15693 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15694
15695         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15696         __CTOR_LIST__ in opposite order, which is the correct order for sorted
15697         constructors.
15698         (__do_global_dtors): similarly for __DTOR_LIST__.
15699
15700 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15701                                 Diego Novillo <dnovillo@cygnus.com>
15702
15703         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15704         FPUL_REGS.
15705
15706 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
15707
15708         * fixincl/*: Merged "no_bogosity" branch
15709         * fixincl/fixlib.h: protect against doubly defining t_bool
15710         * fixincl/server.h: protect against doubly defining t_bool
15711
15712 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
15713
15714         * genoutput.c: Include toplev.h.
15715
15716 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
15717
15718         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15719         Undef.
15720         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15721         * configure: Regenerate.
15722
15723 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
15724
15725         * gcse.c (delete_null_pointer_checks): Returns void.
15726
15727 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15728
15729         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15730         * emit-rtl.c (copy_insn_1): Likewise.
15731
15732 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15733
15734         * config/mips/mips.c (mips_build_va_list): Correct
15735         TREE_CHAIN setting when hard-float.
15736         (mips_va_start): Use corrected setting.
15737         (mips_va_arg): Likewise.  Also pass a tree to build of
15738         POSTINCREMENT_EXPR rather than a naked 'int'.
15739
15740 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
15741
15742         * ggc.h (ggc_push_context): Fix comment.
15743         (ggc_pop_context): Likewise.
15744         (mark_string_if_gcable): Likewise.
15745         * ggc-common.c (ggc_mark_rtx_children): Use
15746         ggc_mark_string_if_gcable.
15747         * ggc-page.c (ggc_lookup_page_table): New function.
15748         (ggc_allocated_p): Likewise.
15749         (mark_obj): Fix formatting.
15750         (ggc_mark_string_if_gcable): New function.
15751         * ggc-simple.c (ggc_allocated_strings): New variable.
15752         (ggc_strings_used): Likewise.
15753         (ggc_compare_addresses): New function.
15754         (ggc_pop_context): Pop the `any' memory too.
15755         (ggc_mark_string_if_gcable): New function.
15756         (ggc_collect): Initialize and tear down ggc_allocated_strings.
15757
15758 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
15759
15760         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15761         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15762         * rs6000.c (expand_block_move): Match movstrsi_?reg register
15763         changes.
15764
15765 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
15766
15767         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15768         (sched_reg_live_length, sched_reg_basic_block): Delete.
15769         (current_block_num, bb_live_regs, old_live_regs): Delete.
15770         (dead_notes, struct sometimes): Delete.
15771         (sched_note_set, birthing_insn_p): Delete.
15772         (adjust_priority): Gut useless reg lifetime code.
15773         (create_reg_dead_note, attach_deaths): Delete.
15774         (attach_deaths_insn, new_sometimes_live): Delete.
15775         (finish_sometimes_live): Delete.
15776         (find_pre_sched_live, find_post_sched_live): Delete.
15777         (update_reg_usage): Delete.
15778         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15779         (schedule_insns): Delete reg lifetime code.
15780         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15781         (unlink_other_notes): Adjust REG_NOTE commentary.
15782         (reemit_notes): Use REG_SAVE_NOTE.
15783         (schedule_block): Likewise.
15784         (schedule_region): Allocate bitmap of blocks in region.  Use
15785         count_or_remove_death_notes.  Use update_life_info.
15786
15787         * rtl.h (REG_SAVE_NOTE): New.
15788         * rtl.c (reg_note_name): Update.
15789
15790 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
15791
15792         * combine.c (refresh_blocks, need_refresh): New.
15793         (combine_instructions): Allocate refresh_blocks.  Invoke
15794         update_life_info if needed.
15795         (distribute_notes): Mark refresh_blocks instead of installing
15796         USE insns.
15797         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15798         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15799
15800         * Makefile.in (recog.o): Depend on basic-block.h.
15801
15802 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
15803
15804         * genrecog.c (add_to_sequence): Thinko last change: delete
15805         shadowing allow_const_int variable.
15806
15807 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15808
15809         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15810         __GNUC__ and __GNUC_MINOR__.
15811
15812         * gansidecl.h: Likewise.
15813
15814         * rtl.c: Likewise.
15815
15816         * rtl.h: Likewise.
15817
15818         * toplev.h: Likewise.
15819
15820         * tree.c: Likewise.
15821
15822         * tree.h: Likewise.
15823
15824         * varray.c: Likewise.
15825
15826         * varray.h: Likewise.
15827
15828 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15829
15830         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15831         use one before a jump table.
15832
15833         * rtl.def (ADDRESS): Change documentation to match reality.
15834         * md.texi: Don't document it.
15835         * gmicro.md (load address pattern): Use 'p' constraint, delete use
15836         of ADDRESS rtx.
15837
15838         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15839
15840 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
15841
15842         * genrecog.c (add_to_sequence): Move allow_const_int test outside
15843         known predicate block; default allow_const_int true.
15844         (debug_decision_list): New.
15845
15846 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
15847
15848         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15849
15850 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
15851
15852         * gcse.c (gcse_main): Avoid global optimizations if we have a
15853         large number of basic blocks and the ratio of edges to blocks
15854         is high.
15855         (delete_null_pointer_checks): Likewise.
15856
15857 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
15858
15859         * c-common.c (check_format_info): Warn if format string isn't a
15860         string literal.
15861
15862 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15863
15864         * configure.in (arm*-*-*): Don't let autoconf remove brackets
15865         * configure: regenerate
15866
15867 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
15868
15869         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
15870         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
15871         (peepholes): Re-enable.
15872
15873 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
15874
15875         * Makefile.in (flow.o): Depend on TREE_H.
15876         * basic-block.h (REG_SET_EQUAL_P): New.
15877         (XOR_REG_SET): New.
15878         (n_edges): Declare.
15879         (free_regset_vector): Remove declaration.
15880         (flow_delete_insn_chain): Declare.
15881         (enum update_life_extent): New.
15882         (update_life_info, count_or_remove_death_notes): Declare.
15883         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15884         Verify register live at bb->global_live_at_start before adding USE.
15885         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15886         (CLEAN_ALLOCA): New.
15887         (n_edges): New.
15888         (PROP_*): New flags.
15889         (find_basic_blocks_1): Use alloc_EXPR_LIST.
15890         (clear_edges): Zero n_edges.
15891         (make_edge): Increment n_edges.
15892         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
15893         (flow_delete_insn_chain): Export.
15894         (delete_block): Decrement n_edges.
15895         (merge_blocks_nomove): Likewise.
15896         (life_analysis): Give life_analysis_1 PROP flags.
15897         (verify_wide_reg_1, verify_wide_reg): New.
15898         (verify_local_live_at_start): New.
15899         (update_life_info): Rewrite to call into propogate_block.
15900         (mark_reg): New.
15901         (mark_regs_live_at_end): After reload, if epilogue as rtl,
15902         always mark stack pointer.  Conditionally mark PIC register.
15903         After reload, mark call-saved registers, return regsiters.
15904         (life_analysis_1): Accept PROP flags not remove_dead_code.
15905         Call mark_regs_live_at_end before zeroing regs_ever_live.
15906         Use calculate_global_regs_live.  Copy global_live_at_end before
15907         calling final propagate_block.  Zero reg_next_use on exit.
15908         (calculate_global_regs_live): New.
15909         (allocate_bb_life_data): Don't allocate bb->local_set.
15910         (init_regset_vector, free_regset_vector): Remove.
15911         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15912         Test flags before every operation.  Warn if prologue/epilogue insn
15913         would have been deleted.
15914         (mark_set_regs, mark_set_1): Accept and use FLAGS.
15915         Use alloc_EXPR_LIST.
15916         (mark_used_regs): Accept and use FLAGS, not FINAL.
15917         Remove special handling for RETURN.
15918         (try_pre_increment): Use alloc_EXPR_LIST.
15919         (dump_flow_info): Dump n_edges.
15920         (unlink_insn_chain, split_hard_reg_notes): Remove.
15921         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15922         (find_insn_with_note, new_insn_dead_notes): Remove.
15923         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15924         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15925         (replace_insns): Remove.
15926         (count_or_remove_death_notes): New.
15927         (verify_flow_info): Abort on error after all checks.
15928         (remove_edge): Decrement n_edges.
15929         (remove_fake_edges): Tweek format.
15930         * haifa-sched.c (schedule_insns): Use split_all_insns.
15931         * output.h (update_life_info): Remove declaration.
15932         * recog.c (split_all_insns): From the corpse of split_block_insns,
15933         do the whole function block by block.  Use update_life_info.
15934         (recog_last_allowed_insn): New.
15935         (recog_next_insn): Mind it.
15936         (peephole2_optimize): Set it.  Walk backwards through blocks.
15937         Use update_life_info.
15938         * rtl.h (update_flow_info, replace_insns): Remove declarations.
15939         (split_all_insns): Declare.
15940         * toplev.c (rest_of_compilation): Thread prologue before flow2.
15941         Use split_all_insns.
15942
15943         * i386.md (or -1 peep2s): Disable.
15944
15945 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
15946
15947         * config/mips/mips.md (movstrsi+[123]) : Combine these into
15948         a single pattern.  Scrap the 'd' versions as unnecessary.
15949
15950         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
15951         tablejump_mips162,tablejump_internal4): The operands to a
15952         label_ref must be VOIDmode.
15953
15954 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15955
15956         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
15957
15958 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
15959
15960         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
15961
15962 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
15963
15964         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
15965         cache every function if ggc_p.
15966
15967 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15968
15969         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
15970         instead of copy_rtx.  Accept sequences that contain asm statements.
15971         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
15972         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
15973         orig_asm_operands_vector, copy_asm_operands_vector,
15974         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
15975         variables.
15976         * rtl.h (copy_insn, copy_insn_1): Declare.
15977
15978 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15979
15980         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
15981
15982         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
15983         arguments to `current_file_function_operand'.
15984
15985         * genrecog.c: Include hard-reg-set.h and resource.h in the
15986         generated output file.
15987
15988         * real.c: Include tm_p.h.
15989
15990 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15991
15992         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
15993         output operand.
15994
15995 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
15996
15997         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
15998         before the fctiwz insn.
15999
16000 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16001                           Mark Mitchell  <mark@codesourcery.com>
16002
16003         * tree.c (make_lang_type_fn): New funtion pointer.
16004         (make_lang_type): Call it.
16005         * tree.h (make_lang_type): Declare.
16006         (make_lang_type_fn): Likewise.
16007         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16008
16009 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
16010
16011         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16012         make sure that HIGH instructions are copied into BASE_REGS.
16013
16014 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
16015
16016         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16017
16018 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
16019
16020         * c-decl.c (finish_struct): Use simpler method of
16021         removing elements of a singly-linked list.
16022
16023 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
16024
16025         * alpha.md (peephole2's): Comment out peephole2's that generate
16026         buggy code.
16027
16028 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
16029
16030         * genrecog.c (add_to_sequence): Disable mode check for
16031         wildcard matches.
16032
16033 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16034
16035         * ggc-simple.c (init_ggc): Set empty_string.
16036
16037 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
16038
16039         * configure.in: Detect mmap.  Add --with-gc=foo to select
16040         garbage collector; default to page if mmap available.
16041         * Makefile.in (GGC): Substitute.
16042
16043 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
16044
16045         * c-decl.c (ggc_p): Enable.
16046
16047 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16048
16049         * flow.c (verify_flow_info): Make it extern & unconditionally define.
16050
16051 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
16052
16053         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16054         string for little-endian-data.
16055
16056 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
16057
16058         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16059         case somebody tries to compile --enable-checking code with gcc
16060         1.34 or such.
16061
16062 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
16063
16064         * genrecog.c (add_to_sequence): Verify operand to label_ref is
16065         VOIDmode.
16066
16067 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
16068
16069         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16070         * jump.c (jump_optimize_1): Document why.
16071
16072 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16073
16074         * collect2.c (scan_prog_file, scan_libraries): Prototype function
16075         pointers and casts for `int_handler' and `quit_handler'.
16076
16077         * flow.c (verify_flow_info, split_hard_reg_notes,
16078         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16079         remove_edge, remove_fake_successors): Add static prototypes.
16080         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16081         (mark_set_1): Initialize variable `regno'.
16082         (unlink_insn_chain): Likewise for variable `curr'.
16083         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16084
16085         * loop.c (strength_reduce): Initialize variable
16086         `unrolled_insn_copies'.
16087         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16088         prototypes.  Change these functions to take const PTR parameters
16089         to avoid prototype conflict when used as the comparson argument
16090         for qsort.
16091         (check_dbra_loop): Initialize variable `comparison_val'.
16092
16093         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16094         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16095         (find_valid_class): Initialize variable `best_class'.
16096         (find_reloads): Call memcpy, not bcopy.
16097
16098         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16099         (hard_reg_use_compare): Don't needlessly cast away const.
16100         (reload_reg_class_lower): Likewise.
16101         (choose_reload_regs): Initialize variable `regno'.
16102
16103 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
16104
16105         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16106
16107 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
16108
16109         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16110         ({,d}discard): Add forward declarations.  Declare parameter as
16111         unused.
16112         (main_without_main): Explicitly declare return type to be int.
16113         (memcpy): Properly declare.
16114
16115         * libgcc2.c (toplevel): If inhibit_libc is defined and not
16116         building the trampoline support, declare malloc, free, and
16117         atexit.
16118         (__clear_cache): Mark arguments as potentially unused.
16119
16120         * frame.c (toplevel): If inhibit_libc is defined, declare
16121         malloc and free.
16122
16123 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
16124
16125         * flow.c (make_edge): Accept an optional 2D bitmap in which
16126         to cache edge existence.  Update all callers.
16127         (make_label_edge, make_eh_edge): Pass through the edge cache.
16128         (make_edges): Provide the cache.
16129
16130 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16131
16132         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16133         a char*.
16134         (local_mbtowc): Change the type of variable `i' from int to size_t.
16135
16136         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16137         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16138
16139 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
16140
16141         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16142         after other includes that define the appropriate types.  Include
16143         tm_p.h for getting user prototypes.
16144         * ggc-callbacks.c (toplevel): Ditto.
16145         * ggc-none.c (toplevel): Ditto.
16146         * gcc-page.c (toplevel): Ditto.
16147         * ggc-simple.c (toplevel): Ditto.
16148
16149 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
16150                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
16151
16152         * config/mips/mips.c (mips_move_2words): Split doubles if
16153         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16154
16155 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
16156
16157         * genrecog.c (struct decision_test): New.
16158         (struct decision): Remove test-related members, sort the rest by size.
16159         (IS_SPLIT): Simplify.
16160         (new_decision, new_decision_test): New.
16161         (add_to_sequence): Use them.  No special handling for args of
16162         non-MATCH codes.
16163         (maybe_both_true): Renamed from not_both_true; return sense changed.
16164         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
16165         of maybe_both_true and adjusted for decision_test.
16166         (position_merit): Remove.
16167         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16168         (merge_accept_insn): New, broken out of merge_trees.
16169         (merge_trees): Use them.  No special case for c_test; no node
16170         splitting; use test type instead of position_merit.
16171         (factor_tests): New.
16172         (simplify_tests): New.
16173         (break_out_subroutines): Don't write code now.
16174         (find_afterward): New.
16175         (write_afterward, write_switch, write_cond): New.
16176         (write_action, is_unconditional): New.
16177         (write_node): New.  Use them.
16178         (write_tree_1): Rewrite.  Use the new functions above.
16179         (write_tree): Remove afterward processing.
16180         (write_subroutine): Simplify function variant emission.
16181         (write_subroutines): New.
16182         (same_codes, clear_codes): Remove.
16183         (same_modes, clear_modes): Remove.
16184         (write_header): New, broken out of main.
16185         (make_insn_sequence): Use new_decision and new_decision_test.
16186         (process_tree): New, broken out of main.
16187         (main): Adjust for merge_trees interface change.
16188         Don't #define operands in the output file.
16189         (record_insn_name): New, broken out of make_insn_sequence.
16190         (debug_decision_2, debug_decision_1, debug_decision_0): New.
16191         (debug_decision): New.
16192
16193 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
16194
16195         * resource.c (find_free_register): Mark class_str argument const.
16196         * resource.h: Update prototype to match.
16197
16198         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16199         * i386.md: Give all anonymous insns names.
16200
16201 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
16202
16203         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16204         blocks.
16205
16206 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
16207
16208         * toplev.c (dbr_sched_time): Unconditional.
16209         (peephole2_time): New.
16210         (compile_file): Add pass numbers to all of the dump file suffixes.
16211         Dump peephole2_time.  Don't dump times for non-applicable passes.
16212         (rest_of_compilation): Add pass numbers to dump file suffixes.
16213         Conditionalize calls to the scheduler.
16214         * invoke.texi: Update.
16215
16216 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
16217
16218         * flow.c (make_edges): Fix insn iteration.
16219         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16220         (find_basic_blocks_1): Fix spelling mistake.
16221
16222 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
16223
16224         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16225         always have side-effects.  Use memset not bzero.
16226         (make_node): Likewise.
16227
16228 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
16229
16230         * stmt.c (expand_anon_union_decl): When any of the elements of the
16231         union is addressable, so is the entire union.
16232
16233 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
16234
16235         * sbitmap.c (sbitmap_ones): Don't set too many bits.
16236
16237         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16238         * bitmap.c (bitmap_operation): Return true iff TO changed.
16239         (bitmap_equal_p): New.
16240         (bitmap_bit_p): Tidy arithmetic.
16241         (debug_bitmap_file): Likewise.
16242
16243 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
16244
16245         * toplev.c (rest_of_compilation): Turn on cse_not_expected
16246         before cse2 instead of after.
16247
16248 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
16249
16250         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16251         register offsets.
16252
16253 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16254
16255         * cppinit.c (is_idchar initializer): Loosen tests to accept
16256         gcc 2.>6 and >2.
16257
16258 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
16259
16260         * mips.md: Define conditional move patterns for floating point
16261         operands and DI mode conditions.
16262
16263 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
16264
16265         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16266         always have side-effects.
16267
16268 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
16269
16270         * mn10200.c (asm_file_start): Fix typo.
16271
16272         * cppinit.c (is_idchar initializer): Tighten tests for when
16273         to put the table into initialized memory.
16274
16275         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16276         not an array of rtunion.
16277         * gcc-page.c (ggc_alloc_rtvec): Similarly.
16278         * gcc-simple (ggc_free_rtvec): Similarly.
16279
16280         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16281         of rtunions.
16282
16283         * mbchar.h: Add missing #endif.
16284
16285         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16286         (FPBIT, DPBIT): Define.
16287
16288 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16289
16290         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16291
16292         * profile.c (instrument_arcs, output_gcov_string,
16293         tablejump_entry_p): Add static prototypes.
16294         (output_gcov_string): Constify a char*.
16295
16296         * regmove.c (replacement_quality, fixup_match_2): Add static
16297         prototypes.
16298
16299         * resource.h (reg_dead_p): Add extern prototype.
16300
16301         * rtl.c (trim_filename): Add static prototype.
16302
16303         * scan-decls.c (skip_to_closing_brace): Likewise.
16304
16305         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16306         (expand_end_case): Initialize variable `range'.
16307         (emit_case_nodes): Remove unused prototype `rtx_fn'.
16308
16309         * varasm.c (asm_emit_uninitialised): Add static prototype.
16310         (asm_emit_uninitialised, assemble_variable): Mark parameter with
16311         ATTRIBUTE_UNUSED.
16312
16313 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16314
16315         * cpplib.c (if_directive_nameo): Add static prototype.
16316
16317         * cse.c (cse_insn): Remove unused variable `p'.
16318
16319         * except.c (create_rethrow_ref, push_entry,
16320         receive_exception_label, new_eh_region_entry, find_func_region,
16321         clear_function_eh_region, process_nestinfo): Add static prototypes.
16322         (get_reg_for_handler): Hide definition.
16323         (process_nestinfo): Initialize variable `extra_handlers'.
16324
16325         * expr.h (expand_builtin_longjmp): Add extern prototype.
16326
16327         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16328
16329         * function.c (prepare_function_start): Likewise.
16330         (pop_function_context_from): Mark parameter `context' with
16331         ATTRIBUTE_UNUSED.
16332         (push_temp_slots_for_block, flush_addressof): Hide definition.
16333
16334         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16335         solve_program_flow_graph, calculate_branch_probs,
16336         function_summary, main, fancy_abort): Add prototypes.
16337
16338         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16339         (add_hash): Constify a char*.
16340
16341         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16342         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16343         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16344
16345         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16346
16347         * lists.c (free_list, zap_lists): Likewise.
16348
16349 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16350
16351         * alias.c (nonlocal_reference_p): Add static prototype.
16352
16353         * bitmap.c (bitmap_element_allocate): Prototype args in function
16354         pointer cast.
16355
16356         * builtins.c (stabilize_va_list): Add static prototype.
16357         (expand_builtin_va_arg): Constify a char*.
16358
16359         * c-lex.c (getch, put_back, extend_token_buffer_to,
16360         read_line_number, token_getch, token_put_back): Add static
16361         prototypes.
16362
16363         * c-parse.gperf (hash, is_reserved_word): Likewise.
16364
16365         * cccp.c (is_dir_separator): Likewise.
16366
16367 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16368
16369         * graph.h: New file to prototype functions exported by graph.c.
16370
16371         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16372
16373         * graph.c: Include graph.h.
16374
16375         * toplev.c: Likewise.  Remove redundant prototypes.
16376
16377 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
16378
16379         * invoke.texi: Removed duplicated description for -Q.
16380
16381 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
16382
16383         * extend.texi: Grammar fix in __extension__ text.
16384
16385 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
16386
16387         * md.texi (define_peephole2): New section.
16388
16389 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
16390
16391         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16392         (mov $-1 to or peepholer): Enable for pentium when optimizing for
16393         speed.
16394
16395 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
16396
16397         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16398
16399 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
16400
16401         * i386.md (ffs expander): Emit Pentium friendly code for
16402         TARGET_PENTIUM.
16403
16404 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
16405
16406         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16407         for non-trees.
16408         (build1): Likewise.
16409
16410 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16411
16412         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16413
16414 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
16415
16416         * config/m68k/m68k.c (use_return_insn): Return false if the pic
16417         register is in use.
16418
16419 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16420
16421         * md.texi (No Constraints): Delete section.
16422         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16423         * final.c (final_scan_insn): We always have register constraints.
16424         * genattrtab.c: Don't include "insn-config.h".
16425         (write_attr_case): We always have register constraints.
16426         * genconfig.c (register_constraint_flag): Delete.
16427         (walk_insn_part): Don't check whether we have register constraints.
16428         (main): Don't write out "#define REGISTER_CONSTRAINTS".
16429         * genoutput.c (have_constraints): Delete.
16430         (main): Don't set it.
16431         (output_operand_data): We always have constraints.
16432         (scan_operands): Likewise.
16433         (compare_operands): Likewise.
16434         * local-alloc.c (block_alloc): We always have constraints.
16435         (requires_inout): Always compile this function.
16436         * recog.c (extract_insn): We always have constraints.
16437         (constrain_operands, reg_fits_class_p): Always compile these
16438         functions.
16439         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16440         fields.
16441         (struct insn_operand_data): Likewise.
16442         * regclass.c (regclass): We always have constraints.
16443         (record_reg_classes, copy_cost, record_address_regs,
16444         auto_inc_dec_reg_p): Always compile these functions.
16445         * regmove.c (regmove_optimize): We always have constraints.
16446         * reload.c (find_reloads): Likewise.
16447         * reload1.c (reload): Likewise.
16448         (reload_cse_simplify_operands): Likewise.
16449         * i860.c (output_delay_insn): Likewise.
16450
16451 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
16452
16453         * iris6.h (BUILD_VA_LIST_TYPE): Define.
16454
16455 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16456
16457         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16458         for the va_list record.
16459
16460 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
16461
16462         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16463         prologues.
16464
16465 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
16466
16467         * alias.c: Include insn-flags.h.
16468         * Makefile.in (alias.o): Update.
16469
16470 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
16471
16472         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16473         to LTU and GEU.  Handle more cases using sbb.
16474
16475 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
16476
16477         * i386.md (truncatexfdf splitters): Do not use subreg.
16478         (fop XFmode patterns): Fix mode in operand testing.
16479
16480 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
16481
16482         * jump.c (jump_optimize_1): Amend last change to test only the
16483         form of the operand, not the insn.
16484
16485         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16486         not register_operand to determine when B may need preloading.
16487
16488 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
16489
16490         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16491         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16492         (call-value patterns): Move to end of file.
16493         (*): Remove mode from label_ref in (pc) context.
16494         (movstrqi): Use memory not general_operand for BLKmode operands.
16495         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16496         to register_operand operands.
16497         (peep2 patterns): Convert from commented-out peephole patterns.
16498
16499 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16500
16501         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16502         to BUILT_IN_INIT_DWARF_REG_SIZES.
16503         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16504         Renamed from BUILT_IN_DWARF_REG_SIZE; call
16505         expand_builtin_init_dwarf_reg_sizes.
16506         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16507         with __builtin_init_dwarf_reg_size_table.
16508         * dwarf2out.c (struct reg_size_range): Delete.
16509         (expand_builtin_init_dwarf_reg_sizes): New function.
16510         (expand_builtin_dwarf_reg_size): Delete.
16511         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16512         (expand_builtin_dwarf_reg_size): Don't declare.
16513         * libgcc2.c (dwarf_reg_size_table_initialized): New.
16514         (dwarf_reg_size_table): New.
16515         (init_reg_size_table): New function.
16516         (copy_reg): Use dwarf_reg_size_table.
16517         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16518         before use.
16519
16520 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
16521
16522         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16523         Correctly build argument list to constructor and destructor functions.
16524
16525 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
16526
16527         * c-tree.h (warn_float_equal): Declare.
16528         * c-decl.c (warn_float_equal): Define.
16529         (c_decode_option): Recognize -W[no-]float-equal.
16530         * c-typeck.c (build_binary_op): Conditionally warn
16531         about equality tests of floating point types.
16532         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16533         * invoke.texi: Add docs for -Wfloat-equal warning.
16534
16535 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
16536
16537         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16538         generating RTL directly.
16539         * mips.h (INIT_TARGET_OPTABS): Likewise.
16540         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16541
16542         * expr.h (init_mov_optab): Delete declaration
16543
16544         * h8300.c (WORD_REG_USED): Update to avoid useless register
16545         saves in interrupt functions and functions which never return.
16546
16547         * cse.c (struct set): Delete inner_dest_loc field.
16548         (cse_insn): Remove assignments to inner_dest_loc field.
16549
16550 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
16551
16552         * ggc-page.c: Don't include <unistd.h> etc taken care of
16553         by "system.h".  Include <sys/mman.h> afterward.
16554
16555 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
16556
16557         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16558         ggc_alloc_string.
16559
16560 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
16561
16562         * xcoffout.c (xcoffout_declare_function): Add documentation.
16563         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16564         TARGET_64BIT.  Compare constant to -1, not bit pattern.
16565         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16566         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
16567         gen_movsi typos.
16568
16569 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
16570
16571         * dwarf2out.c (add_abstract_origin_attribute): Abort if
16572         origin_die is NULL.
16573         (gen_inlined_enumeration_type_die): Do not abort if the type has
16574         not been writeen out.
16575         (gen_inlined_structure_type_die): Do not abort if the type has
16576         not been writeen out.
16577         (gen_inlined_union_type_die): Do not abort if the type has
16578         not been writeen out.
16579         (gen_tagged_type_instantiation_die): Do not abort if the type
16580         has not been written out.
16581
16582 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16583
16584         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16585         call it.
16586         * reg-stack.c (straighten_stack): Copy hard reg set with
16587         COPY_HARD_REG_SET.
16588
16589 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
16590
16591         * builtins.c (stabilize_va_list): Stabilize array type va_list
16592         to a pointer type, not the base record type.
16593         (expand_builtin_va_copy): Dereference the pointers explicitly;
16594         use the correct size for the copy.
16595
16596         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16597         (rs6000_va_arg): Likewise.
16598
16599 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
16600
16601         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16602
16603 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
16604
16605         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16606         field.
16607         (DECL_BUILT_IN_CLASS): Adjust accordingly.
16608
16609 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
16610
16611         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16612         (init_ggc): Use it instead of a constant.
16613         (ggc_collect): Bound allocated_last_gc by it.
16614
16615 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
16616
16617         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16618         with va_list.
16619
16620 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
16621
16622         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
16623         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
16624         * configure:  Regen.
16625         * config/mips/openbsd.h:  New, OpenBSD little endian target.
16626         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
16627         * config/mips/xm-openbsd.h:  New, OpenBSD host.
16628
16629 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
16630
16631         * config/m68k/m68k.c (output_function_prologue,
16632         output_function_epilogue): Use
16633         current_function_uses_pic_offset_table instead of regs_ever_live
16634         to decide whether to save/restore pic register.
16635         (legitimize_pic_address): Don't modify regs_ever_live any more.
16636
16637 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
16638
16639         * function.h (struct function): Add x_dont_save_pending_sizes_p.
16640         * stor-layout.c (variable_size): Don't add sizes to the pending
16641         sizes list if x_dont_save_pending_sizes_p is set.
16642
16643 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
16644
16645         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16646         for symbolic_operand().
16647         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16648
16649 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16650
16651         * combine.c (gen_rtx_combine): Add missing call to va_end().
16652
16653         * final.c (asm_fprintf): Likewise.
16654
16655         * genattrtab.c (attr_rtx): Likewise.
16656
16657 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
16658
16659         * cse.c: Update comments.
16660         (cse_insn): When converting a conditional/computed jump into
16661         an unconditional jump, always make sure a BARRIER immediately
16662         follows the converted jump.  Do not delete unreachable code.
16663         (cse_basic_block): Do not delete unreachable code.
16664         * toplev.c (rest_of_compilation): Move call to
16665         delete_trivially_dead_insns after the conditional call to
16666         jump_optimize.
16667
16668 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16669
16670         * collect2.c (make_temp_file): Don't prototype.
16671
16672         * gcc.c (make_temp_file): Likewise.
16673
16674         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16675
16676 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
16677
16678         * varasm.c (asm_emit_uninitialised): New function: Generate
16679         the assembler statements necessary to declare an uninitialised
16680         variable.
16681         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16682         variable.
16683         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16684         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16685         section.
16686         (assemble_variable): Use asm_emit_uninitialised to emit an
16687         uninitialised variable.
16688
16689 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
16690
16691         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16692         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
16693         <geoffk@cygnus.com>.
16694
16695 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16696
16697         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16698         * c-common.h (builtin_function): Don't declare.
16699
16700         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16701         DECL_BUILT_IN.
16702         (pushdecl): Likewise.
16703         (finish_decl): Likewise.
16704         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
16705         int.  All callers changed.
16706         Set the builtin's DECL_BUILT_IN_CLASS.
16707         * tree.h (enum built_in_class): New.
16708         (enum built_in_function): Delete NOT_BUILT_IN.
16709         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16710         in a union.
16711         (DECL_SET_FUNCTION_CODE): Likewise.
16712         (DECL_BUILT_IN_CLASS): New macro.
16713         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16714         (struct tree_decl): Split builtin function code field into a
16715         struct.
16716         (builtin_function): Declare.
16717
16718 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
16719
16720         * optabs.c (init_traps): Fix typo in last change.
16721
16722 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
16723
16724         * toplev.c (rest_of_decl_compilation): Update comment.
16725
16726 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16727
16728         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16729         in .sbss if appropriate.
16730         (EXTRA_SECTION_FUNCTIONS): Add sbss.
16731         (SBSS_SECTION_ASM_OP): New macro.
16732         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16733         (EXTRA_SECTIONS): Add in_sbss.
16734         * config/mips/mips.h: Prototype sbss_section.
16735
16736 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
16737
16738         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16739         to disappear.
16740
16741 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
16742
16743         * optabs.c (init_traps): Register trap_rtx as a GC root.
16744
16745 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16746
16747         * config/mips/mips.c (function_arg_pass_by_reference): Define
16748         unconditionally, since it's called unconditionally.
16749
16750 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16751
16752         * toplev.c (documented_lang_options): Add -fshort-wchar.
16753         * c-decl.c (c_decode_option): Likewise.
16754         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16755         for wchar_t.
16756         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16757         * gcc.c (default_compilers): If -fshort-wchar,
16758         override __WCHAR_TYPE__.
16759         * tm.texi (C Dialect Options): Add -fshort-wchar.
16760
16761         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16762         symbol for a variable.
16763
16764         * cpplib.h (CPP_PREPROCESSED): New macro.
16765         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16766         we're seeing this input for a second time.
16767
16768 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
16769
16770         * emit-rtl.c (init_emit_once): Initialize modes first.
16771
16772 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
16773
16774         * config/i386/i386.c (pic_label_name): Change to char pointer.
16775         (global_offset_table): New variable.
16776         (load_pic_register): Fill global_offset_table if it hasn't
16777         already been done.  Allocate pic_label_name dynamically.
16778         * ggc.h (empty_string): New variable.
16779         * ggc-simple.c (empty_string): Likewise.
16780         (init_ggc): Allocate empty_string and add as root.
16781         * stmt.c (digit_strings): New variable.
16782         (init_stmt): Add last_block_end_note as root.  Allocate and
16783         initialize digit_strings.
16784         (expand_asm_operands): Use empty_string instead of string
16785         constant.  Use digit_strings instead of string constants.
16786         * profile.c (init_arc_profiler): Allocate string with
16787         ggc_alloc_string instead of xmalloc.
16788         (output_func_start_profiler): Likewise.
16789         * c-typeck.c (digest_init): Check if init is error_mark_node.
16790
16791 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
16792                           Richard Henderson  <rth@cygnus.com>
16793
16794         * ggc-page.c: New file.
16795         * Makefile.in (ggc-page.o): New.
16796
16797 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
16798
16799         * invoke.texi: Document -fdelete-null-pointer-checks
16800         * toplev.c (flag_delete_null_pointer_checks): New.
16801         (f_options): Add entry for -fdelete-null-pointer-checks.
16802         (rest_of_compilation): Conditionalize null pointer check
16803         elimination on flag_delete_null_pointer_checks.
16804         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16805
16806 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
16807
16808         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16809         copyright notice and special exception to GPL.
16810
16811 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16812
16813         * abi64.h (mips_function_value): Add prototype arguments.
16814
16815         * mips-protos.h: New file with mips prototypes.
16816
16817         * mips.c: Include "tm_p.h".
16818         (mktemp, lookup_name): Add prototype arguments.
16819         (extern_list, string_constant, mips_fill_delay_slot,
16820         mips_output_external, mips_output_external_libcall,
16821         mips_output_filename, mips_declare_object, function_prologue,
16822         mips_expand_prologue, function_epilogue, mips16_constant,
16823         build_mips16_function_stub, mips_output_conditional_branch):
16824         Constify a char*.
16825         (mips_va_start): Remove unused variable `u'.
16826         (mips_va_arg): Cast value to unsigned when comparing against one.
16827         (trace): Delete.
16828         (save_restore_insns, mips_expand_prologue): Add missing arg in
16829         call to `large_int'.
16830
16831         * mips.h: Move prototypes to mips-protos.h.
16832         (data_section, memory_address_p, rdata_section,
16833         readonly_data_section, simple_epilogue_p, text_section): Delete
16834         prototypes delcared elsewhere.
16835         (mips_epilogue_delay_slots, print_options): Delete unused decls.
16836         (trace): Delete.
16837         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16838
16839         * mips.md: Delete extra args in call to `mips_move_2words'.
16840
16841         * xm-iris6.h (alloca): Add prototype argument.
16842
16843         * genpeep.c: Include "tm_p.h" in generated output file.
16844
16845 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16846
16847         * basic-block.h (find_edge_index): Change parameters.
16848         * flow.c (verify_edge_list): Pass basic_block parameters to
16849         find_edge_index instead of integers.
16850
16851 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
16852
16853         * combine.c (simplify_comparison): Use an unsigned shift to adjust
16854         the constant.
16855
16856 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
16857
16858         * gcc.1: Fix a formatting error.
16859
16860 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16861
16862         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16863         i786, mn10200, mn10300, pdp11, v850.
16864
16865 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
16866
16867         * libgcc2.c (num_digits): Add prototype with
16868         __attribute__((const)).
16869         (__terminate): Add prototype.
16870
16871 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
16872
16873         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16874
16875         * alpha/alpha.c (print_operand): Fix type of `code'.
16876         (alpha_output_filename): Constify.
16877         * alpha/alpha.h: Move all function declarations ...
16878         * alpha/alpha-protos.h: ... here.  New file.
16879         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16880         (SECTION_FUNCTION_TEMPLATE): Likewise.
16881
16882 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16883
16884         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16885         * expr.c (expand_expr): Likewise.
16886         (do_jump): Likewise.
16887         (do_store_flag): Pass ccp_store_flag to can_compare_p.
16888         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16889         accessor macros.
16890         (enum can_compare_purpose): New.
16891         (can_compare_p): Adjust prototype.
16892         (prepare_cmp_insn, prepare_operand): Declare.
16893         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16894         * optabs.c (cmp_available_p): Deleted.
16895         (expand_abs): Pass ccp_jump to can_compare_p.
16896         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
16897         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
16898         Call can_compare_p rather than cmp_available_p.
16899         (prepare_operand): No longer static.
16900         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16901         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16902         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16903         sequence to use emit_cmp_and_jump_insns.
16904         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16905
16906 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
16907
16908         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16909         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16910         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16911         (plus (reg) (const_int 0))
16912         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16913
16914 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
16915
16916         * rs6000.c (expand_block_move): DImode loads and stores require
16917         word-aligned displacements.  Increment address registers with
16918         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
16919
16920 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
16921
16922         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16923         is no name for the base type, rather than segfault.  If we are
16924         writing out a complex integer type, use DW_ATE_lo_user.
16925
16926         * expr.c (emit_move_insn_1): If we are copying a complex that fits
16927         in one word or less (complex char, complex short, or on 64 bit
16928         systems complex float) to/from a hard register, copy it through
16929         memory instead of dying in gen_{real,imag}part.  If we have a
16930         short complex type, prevent inlining since it allocates stack
16931         memory.
16932
16933         * tree.c (build_complex_type): If we are writing dwarf2 output,
16934         generate a name for complex integer types.
16935
16936 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16937
16938         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16939         * flow.c (remove_edge): Remove extra whitespace.
16940         (remove_fake_edges): Fix comment.
16941         (add_noreturn_fake_exit_edges): Use the correct name.
16942
16943 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
16944
16945         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16946         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16947         (clean): Depend on INTL_CLEAN.
16948         (maintainer-clean): Adjust.
16949
16950 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16951
16952         * configure.in (AC_PREREQ): Bump to 2.13.
16953         (AC_C_STRINGIZE): Call this instead of using a custom macro.
16954
16955         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
16956
16957         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
16958
16959         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
16960
16961         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
16962         (HAVE_STRINGIZE): Define.
16963
16964 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
16965
16966         * c-parse.in: save and restore warn_pointer_arith on __extension__
16967         along with pedantic.
16968         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
16969         Set the type of extension to itype rather than $<itype>1 kludge.
16970         * extend.texi (Alternate Keywords): Adjust documentation.
16971         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
16972
16973 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
16974
16975         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
16976         most assembler templates.
16977
16978         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
16979         FP loads and stores.
16980         (following_call): Always return zero for the PA8000.
16981         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
16982         FP loads and stores.
16983         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
16984
16985         * pa.h (BRANCH_COST): Define.
16986
16987         * pa.md (return, return_internal): Use bve for PA2.0.
16988
16989         * pa.md (fused multiply): Add variants which reduce height for the
16990         fused multiply, but which still generate 2 insns.
16991         (fnegabs): Similarly.
16992
16993         * pa.md (subsi3): Turn into an expander.  Create two anonymous
16994         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
16995         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
16996
16997         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
16998         for TARGET_PA_20.
16999         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17000         code generation.
17001         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17002         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17003
17004         * regclass.c (init_regs): Add "top_of_stack" as a garbage
17005         collection root.
17006
17007         * flow.c (record_active_eh_regions): Terminate loop after finding
17008         the last insn in the last basic block.
17009
17010 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17011
17012         * config/c4x/c4x.md: Delete parallel instruction peepholes.
17013
17014 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17015
17016         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17017
17018 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17019
17020         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17021         splitting to not use output template.
17022
17023 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17024
17025         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17026         * config/c4x/c4x.c (c4x_va_start): New function.
17027
17028 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
17029
17030         * genrecog.c (not_both_true): Handle correctly cases when called for
17031         tests with different positions in the insn.
17032
17033 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17034
17035         * machmode.h (HOST_PTR_PRINTF): Move from here ...
17036
17037         * system.h (HOST_PTR_PRINTF): ... to here.
17038
17039         * mips-tfile.c: Don't include machmode.h.
17040
17041         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
17042         (mips-tfile.o): Don't depend on machmode.h.
17043
17044 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17045
17046         * haifa-sched.c (sched_analyze): Rename local variable `region' to
17047         avoid conflicts with typedef struct `region' at the top level scope.
17048
17049 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
17050
17051         * basic-block.h (basic_block): Add eh_beg, eh_end.
17052         * flow.c (entry_exit_blocks): Update.
17053         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17054         Call new functions.
17055         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
17056         lists.c functions to allocate insn lists.
17057         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
17058         edge creation ...
17059         (make_eh_edge): ... here.  New.
17060         (move_stray_eh_region_notes): New.
17061         (record_active_eh_regions): New.
17062         (delete_unreachable_blocks): Split out block merging ...
17063         (try_merge_blocks): ... here.  New.
17064         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17065         Dump debugging data.
17066         (merge_blocks_move_successor_nojumps): Likewise.
17067         (merge_blocks): Use eh_beg+eh_end to validate block movement.
17068
17069 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17070
17071         * extend.texi (Bound member functions): Document unbound pmf
17072         conversion.
17073
17074 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17075
17076         * flow.c (split_edge): Handle insertion on a fallthrough edge which
17077         has the EXIT_BLOCK as a dest.
17078
17079 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17080
17081         * flow.c (remove_edge): New function to remove an edge from the
17082         flow graph.
17083         (remove_fake_successors): New function to remove fake successor edges.
17084         (remove_fake_edges): New function to remove all fake edges from the
17085         flow graph.
17086         (add_fake_exit_edges): New function to add fake edges from all blocks
17087         with no successors to the exit block.
17088         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17089         prototypes for new functions.
17090
17091 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17092
17093         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17094         Use Pmode to determine whether to output .dword or .word.
17095
17096 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
17097
17098         * tree.c (built_in_filename): New variable.
17099         (BUILT_IN_FILENAME): New macro.
17100         (init_tree_codes): Allocate built_in_filename.
17101         (make_node): Use built_in_filename instead of string constant.
17102
17103 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
17104
17105         * configure.in: Add fr30 target.
17106         * configure: Regenerate.
17107         * config/fr30: New directory.
17108         * config/fr30/crti.asm: New file.
17109         * config/fr30/fr30.c: New file.
17110         * config/fr30/crtn.asm: New file.
17111         * config/fr30/fr30.h: New file.
17112         * config/fr30/fr30.md: New file.
17113         * config/fr30/lib1funcs.asm: New file.
17114         * config/fr30/t-fr30: New file.
17115         * config/fr30/xm-fr30.h: New file.
17116
17117 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
17118
17119         * flow.c (merge_blocks_move_successor_nojumps): Delete the
17120         BARRIER at the end of the successor, not the BARRIER before
17121         the successor.
17122
17123         * pa.c (pa_add_gc_roots): Fix thinko in last change.
17124
17125 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
17126
17127         * stmt.c (any_pending_cleanups): Don't crash when
17128         current_function->stmt is unset.
17129
17130 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17131
17132         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17133         other initializations that may use it for relative offsets.
17134
17135 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17136
17137         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17138         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
17139         * config/i386/sol2dbg.h: Removed.
17140         * config/i386/sol2gas.h: New file, to enable gas work-around.
17141         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17142         Don't use sol2dbg.h.
17143         * configure: Rebuilt.
17144
17145 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
17146
17147         * invoke.texi (-fthis-is-variable): Remove documentation.
17148
17149 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
17150
17151         * basic-block.h (compute_bb_for_insn): Declare.
17152         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
17153         to use; set size of basic_block_for_insn directly.
17154         (find_basic_blocks): Update.
17155
17156 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17157
17158         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17159
17160 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17161
17162         * crtstuff.c (ON_EXIT): Delete empty macro definition.
17163         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17164
17165 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
17166
17167         * c-decl.c (c_decode_option): Extend comment.
17168
17169 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
17170
17171         * toplev.c (progname): Make 'const char *'
17172         (flag_print_mem): Move out of main.
17173         (version_flag): Move out of main.
17174         (filename): Move out of main.
17175         (debug_args): Remove g prefix from options.
17176         (documented_lang_options): Remove cpplib specific options.
17177         (display_help): Add g prefix to debug options.
17178         (check_lang_option): Delete this function.
17179         (decode_d_option): New function: Decode -d... option.
17180         (decode_f_option): New function: Decode -f... option.
17181         (decode_W_option): New function: Decode -W... option.
17182         (decode_g_option): New function: Decode -g... option.
17183         (independent_decode_option): New function: Decode a language
17184         independent command line option.
17185         (main): Invoke lang_decode_option and then
17186         independent_decode_option on each command line option in
17187         turn.
17188
17189 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
17190
17191         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
17192          * fold-const.c (fold_range_test): Do not try to fold the range
17193          test if the rhs or lhs has side effects.
17194
17195         * basic-block.h (compute_flow_dominators): Declare.
17196
17197         * gcse.c (alloc_code_hoist_mem): New function.
17198         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17199         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17200         (hoist_code, one_code_hoisting_pass): Likewise.
17201         (gcse_main): If optimizing for size, then hoist expressions
17202         computed in multiple dominated basic blocks.
17203
17204         * gcse.c (invalid_nonnull_info): New function.
17205         (delete_null_pointer_checks): Likewise.
17206         * rtl.h (delete_null_pointer_checks): Declare.
17207         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17208
17209         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17210         (merge-blocks_move_successor_nojumps): Likewise.
17211         (merge_blocks): Allow merging of some blocks, even if it requires
17212         physical movement of the blocks, but not if it requires new jumps.
17213
17214         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17215         Callers and prototype changed.
17216         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17217
17218 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17219
17220         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17221         -YP when both -p and -pg are present.  From i386/sol2.h.
17222
17223 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17224
17225         * Makefile.in (distclean): Delete tm_p.h.
17226         * configure.in: Create a new file, "tm_p.h", from a list in
17227         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17228         "i386/i386-protos.h".
17229
17230         * alias.c: Include "tm_p.h".
17231         * c-typeck.c: Likewise.
17232         * calls.c: Likewise.
17233         * cse.c: Likewise.
17234         * emit-rtl.c: Likewise.
17235         * explow.c: Likewise.
17236         * expmed.c: Likewise.
17237         * expr.c: Likewise.
17238         * final.c: Likewise.
17239         * flow.c: Likewise.
17240         * fold-const.c: Likewise.
17241         * function.c: Likewise.
17242         * gcse.c: Likewise.
17243         * global.c: Likewise.
17244         * haifa-sched.c: Likewise.
17245         * integrate.c: Likewise.
17246         * jump.c: Likewise.
17247         * local-alloc.c: Likewise.
17248         * loop.c: Likewise.
17249         * optabs.c: Likewise.
17250         * recog.c: Likewise.
17251         * reg-stack.c: Likewise.
17252         * regclass.c: Likewise.
17253         * regmove.c: Likewise.
17254         * reload.c: Likewise.
17255         * reload1.c: Likewise.
17256         * reorg.c: Likewise.
17257         * resource.c: Likewise.
17258         * stmt.c: Likewise.
17259         * stor-layout.c: Likewise.
17260         * toplev.c: Likewise.
17261         * tree.c: Likewise.
17262         * unroll.c: Likewise.
17263         * genattrtab.c (main): Make generated file include "tm_p.h".
17264         * genemit.c (main): Likewise.
17265         * genoutput.c (main): Likewise.
17266         * genrecog.c (main): Likewise.
17267
17268         * i386.h: Delete all prototypes.
17269         * i386.c: Include "tm_p.h".
17270         (ix86_attr_length_default): Call constant_call_address_operand
17271         with correct number of arguments.
17272         * i386-protos.h: New file.
17273         * i386.md (unnamed patterns): Call constant_call_address_operand
17274         with correct number of arguments.
17275         (exception_receiver): Call load_pic_register with correct number
17276         of arguments.
17277
17278 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
17279
17280         * c-pragma.c (mark_align_stack): Dereference the void* properly.
17281
17282 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
17283
17284         * rtl.h (insns_safe_to_move_p): New function.
17285         * loop.c (find_and_verify_loops): Use it.
17286         * rtlanal.c (insns_safe_to_move_p): Define it.
17287
17288 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
17289
17290         * c-pragma.c: Include ggc.h.
17291         * Makefile.in (c-pragma.o): Update.
17292
17293 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17294
17295         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17296         (LIB_SPEC): Likewise.
17297         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17298         Reindent -YP/-p/-pg.
17299         Copied from config/sparc/sol2.h.
17300
17301 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
17302
17303         * c-pragma.c (mark_align_stack): New.
17304         (init_pragma): New.
17305         * c-pragma.h (init_pragma): Declare it.
17306         * c-lex.c (init_parse): Call it.
17307
17308 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17309
17310         * configure.in: Pick up thread library on Solaris/x86 just
17311         like on Solaris/sparc.
17312         * configure: Rebuilt.
17313
17314 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
17315
17316         * rtl.h (global_rtx_index): New enum.
17317         (global_rtl): Change to array of rtx.
17318         (pc_rtx, cc0_rtx): Redefine accordingly.
17319         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17320         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17321         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17322         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17323         (const_int_rtx): Change to array of rtx.
17324         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17325         accordingly.
17326         * emit-rtl.c (global_rtl): Change to array of rtx.
17327         (const_int_rtx): Change to aray of rtx.
17328         (gen_rtx_CONST_INT): Redefine accordingly.
17329         (init_emit_once): Allocate and initialize global_rtl.  Likewise
17330         for const_int_rtx.  Add both as GC roots.
17331         * genattrtab.c (global_rtl): Update declaration.
17332
17333 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
17334
17335         * Makefile (USER_H): Add iso646.h back.
17336
17337 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
17338
17339         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17340         zapping the LOG_LINKS of sched_before_next_call.
17341
17342         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17343         * pa.c (insn_refs_are_delayed): Renamed from
17344         insn_sets_and_refs_are_delayed.
17345
17346 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
17347
17348         * functiion.h (struct function): Add x_whole_function_mode_p.
17349         (retrofit_block): Declare.
17350         * function.c (retrofit_block): New function.
17351         (identify_blocks): Add assertions.  Allow an incomplete set of
17352         block notes if we're still generating code for the function.
17353         * integrate.c: Include loop.h.
17354         (expand_inline_function): Call find_loop_tree_blocks to map block
17355         notes to blocks when in whole-function mode.  Use retrofit_block
17356         to insert new BLOCKs for the inlined function, rather than
17357         insert_block.
17358         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
17359         * Makefile.in (integrate.o): Depend on loop.h.
17360
17361 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
17362
17363         * tree.h (warn_about_unused_variables): Declare.
17364         * stmt.c (warn_about_unused_variables): New function, split out
17365         from ...
17366         (expand_end_bindings): Here.
17367
17368 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
17369
17370         * stmt.c (preserve_subexpressions_p): Don't crash when
17371         current_function->stmt is unset.
17372
17373 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
17374
17375         * stmt.c (expand_start_bindings): Allow callers to pass a flag
17376         indicating that no NOTE_INSN_BLOCK_BEG note is required.
17377         (expand_start_target_temps): Use it.
17378         * except.c (expand_eh_region_start_for_decl): Likewise.
17379         * expr.c (expand_expr): Likewise.
17380
17381 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17382
17383         * fold-const.c (operand_equal_p): Pay attention to side effects.
17384
17385 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17386
17387         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17388         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17389
17390         * tlink.c (scan_linker_output): Look for keywords before accepting
17391         a mangled name in quotes.
17392
17393 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
17394
17395         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17396         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17397
17398 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
17399
17400         * alpha.md: Revert Thu Nov 26 change that came in through the
17401         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17402         Avoid earlyclobber when possible.
17403
17404 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17405
17406         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17407
17408         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17409         Define HAVE_ON_EXIT.
17410
17411 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17412
17413         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
17414         CTYPE_CONV in all ctype macros.
17415
17416         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17417         from system.h.
17418
17419         * cexp.y (initialize_random_junk): Likewise.
17420
17421         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17422
17423         * i370.c (handle_pragma): Likewise.
17424
17425         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17426
17427         * v850.c (override_options): Likewise.
17428
17429         * doprint.c (_doprnt): Likewise.
17430
17431         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17432         Likewise.
17433
17434         * fixinc/server.c (load_data): Likewise.
17435
17436         * fold-const.c (real_hex_to_f): Likewise.
17437
17438         * genattr.c (write_upcase, gen_attr): Likewise.
17439
17440         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17441         write_upcase): Likewise.
17442
17443         * genemit.c (print_code): Likewise.
17444
17445         * genopinit.c (gen_insn): Likewise.
17446
17447         * genpeep.c (print_code): Likewise.
17448
17449         * genrecog.c (print_code): Likewise.
17450
17451         * optabs.c (init_libfuncs): Likewise.
17452
17453 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
17454
17455         * haifa-sched.c (sched_analyze): Keep the list of notes organized
17456         in pairs.
17457         (reemit_notes): Likewise.
17458
17459 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
17460
17461         * ggc.h (ggc_root): Move to ggc-common.c.
17462         (roots): Remove.
17463         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17464         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17465         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17466         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17467         * ggc-common.c (ggc_root): Move from ggc.h.
17468         (roots): Declare, static.
17469         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17470         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17471         null or check/set mark bit.
17472         (ggc_mark_roots): New.
17473         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17474
17475 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
17476
17477         * m32r.c: Include toplev.h.
17478         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17479         (gen_compare): Rename swap_p to must_swap to match uses.
17480         Add default abort case.
17481         (m32r_output_function_epilogue): Remove unused variables.
17482         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17483         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17484         define to empty parameter list.  Update all uses.
17485         (predicate decls): Use enum machine_mode not int.
17486         * m32r.md (movsi): Call abort, not fatal_insn.
17487         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17488
17489 1999-09-14  Andrew Haley  <aph@cygnus.com>
17490
17491         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17492         use $0 instead of 0.
17493
17494 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17495
17496         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17497         computation out of loop over hard regs.
17498
17499 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
17500
17501         * function.c (identify_blocks): Don't shadow a variable in an
17502         outer scope.
17503         * integrate.c (integrate_decl_tree): Don't use pushlevel,
17504         pushdecl, or poplevel to build up the new BLOCK tree.
17505         (expand_inline_function): Likewise.
17506         (integrate_parm_decls): Likewise.
17507
17508 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
17509
17510         * c-typeck.c (qualify_type): Merge qualifiers from both types.
17511
17512 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
17513
17514         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17515         * invoke.texi: Document this change.
17516
17517 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
17518
17519         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17520         Free the struct.
17521         (mark_emit_status): Renamed from mark_emit_state.
17522         * except.c (mark_eh_status): Renamed from mark_eh_state.
17523         Check not null before marking.
17524         (free_eh_status): New.
17525         * expr.c (mark_expr_status, free_expr_status): New.
17526         * function.c (free_machine_status): New.
17527         (free_after_parsing): New.
17528         (free_after_compilation): Move bits to free_after_parsing; call
17529         free_eh_status, free_expr_status; zero the marked members of the
17530         function state.
17531         (prepare_function_start): No can_garbage_collect.
17532         Call init_eh_for_function.
17533         (expand_dummy_function_end): Free up current_function state.
17534         (mark_function_status): Renamed from mark_function_state.
17535         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
17536         * function.h (struct function): No can_garbage_collect.
17537         (free_machine_status, free_after_parsing): Declare.
17538         (free_eh_status, free_expr_status): Declare.
17539         * ggc.h (mark_expr_status): Declare.
17540         * stmt.c (free_stmt_status): Free the struct.
17541         (mark_stmt_status): Renamed from mark_stmt_state.
17542         (init_stmt): Don't call init_eh.
17543         (init_stmt_for_function): Don't call init_eh_for_function.
17544         * toplev.c (compile_file): Call init_eh.
17545         (rest_of_compilation): Free basic block info before ggc_collect.
17546         Call free_after_parsing; conditionally call free_after_compilation.
17547         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17548         Check not null before marking.
17549         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
17550
17551 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
17552
17553         * c-lex.c (yylex): Initialize warn.
17554
17555 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
17556
17557         * pa.c (emit_move_sequence): Properly set the mode of the scratch
17558         register when performing secondary reloads for the SAR register.
17559
17560 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
17561
17562         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17563         (NOTE_BLOCK): New macro.
17564         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17565         * function.h (identify_blocks): Change prototype.
17566         * function.c (identify_blocks): Simplify.
17567         (reorder_blocks): Likewise.
17568         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17569         NOTE_INSN_BLOCK_{BEG,END}.
17570         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17571         the list of saved notes if the note isn't a
17572         NOTE_INSN_BLOCK_{BEG,END}.
17573         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17574         NOTE_BLOCK_NUMBER.
17575         (reemit_notes): Adjust recreation of notes to reflect new saved
17576         note structure.
17577         * print-rtl.c (print_rtx): Print the address of the BLOCK when
17578         printing a block note.
17579         * stmt.c (block_vector): Remove.
17580         (find_loop_tree_blocks): Simplify.
17581         (unroll_block_trees): Likewise.
17582         * tree.h (reorder_block): Change prototype.
17583
17584 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
17585
17586         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
17587         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17588         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17589         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
17590         (atexit, exit): Simplify.
17591         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
17592         * config/lots: Remove defns of HAVE_ATEXIT.
17593
17594 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
17595
17596         * calls.c (precompute_arguments): Fix typo in comment.
17597         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17598         TARGET_EXPR.
17599
17600 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
17601
17602         * dsp16xx.c (override_options): Fix typos in GC root registration.
17603
17604 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
17605
17606         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17607         from config/svr4.h.
17608         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17609         (FUNCTION_PROFILER): Redefine appropriately for Linux.
17610         (CC1_SPEC): Likewise.
17611
17612 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17613
17614         * genattr.c (main): Add extern prototype.  Call return, not exit.
17615         * genattrtab.c (main): Likewise.
17616         * gencheck.c (main): Likewise.
17617         * gencodes.c (main): Likewise.
17618         * genconfig.c (main): Likewise.
17619         * genemit.c (main): Likewise.
17620         * genextract.c (main): Likewise.
17621         * genflags.c (main): Likewise.
17622         * gengenrtl.c (main): Likewise.
17623         * genopinit.c (main): Likewise.
17624         * genoutput.c (main): Likewise.
17625         * genpeep.c (main): Likewise.
17626         * genrecog.c (main): Likewise.
17627
17628         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17629         * genattrtab.c (get_insn_name): Likewise.
17630         * gencodes.c (get_insn_name): Likewise.
17631         * genconfig.c (get_insn_name): Likewise.
17632         * genemit.c (get_insn_name): Likewise.
17633         * genextract.c (get_insn_name): Likewise.
17634         * genflags.c (get_insn_name): Likewise.
17635         * genopinit.c (get_insn_name): Likewise.
17636         * genpeep.c (get_insn_name): Likewise.
17637
17638         * gencheck.c (usage): Add static prototype.
17639         * genextract.c (print_path): Constify a char*.
17640         * genopinit.c (optabs): Likewise.
17641         * genoutput.c (operand_data, data, output_predicate_decls,
17642         compare_operands): Likewise.
17643         * genrecog.c (write_tree): Add default case in switch.
17644
17645 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17646
17647         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17648
17649         * print-rtl.c (get_insn_name): Remove prototype.
17650
17651         * toplev.h (progname): Declare const.
17652
17653         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17654         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17655         dump_sched_info, dump_local_alloc, regset_release_memory,
17656         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17657         error_with_file_and_line, error_with_decl, error_for_asm, error,
17658         fatal, warning_with_file_and_line, warning_with_decl, warning,
17659         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17660         Remove redundant prototypes.
17661
17662         (notice, check_lang_option, report_file_and_line, vnotice,
17663         mark_file_stack): Add static prototype.
17664         (set_fatal_function): Add prototype.
17665         (vnotice, report_file_and_line, set_fatal_function,
17666         check_lang_option): Constify a char*.
17667         (main): Prototype.  Call return, not exit.
17668
17669 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17670
17671         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17672
17673         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17674
17675         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17676
17677         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17678
17679 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17680
17681         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
17682         behave as if it's zero in all cases.
17683         (expand_function_start): Adjust call to assign_parms.
17684         * tree.h (assign_parms): Adjust prototype.
17685         * objc/objc-act.c (hack_method_prototype): Adjust call to
17686         assign_parms.
17687
17688 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
17689
17690         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17691         arg_pointer_rtx fixed if the argument pointer register is
17692         not fixed.
17693         (NONZERO_BASE_PLUS_P): Likewise.
17694
17695 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
17696
17697         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17698         match_insn2 to match_insn.
17699         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17700
17701 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
17702
17703         * Makefile.in (USER_H): Remove va-foo.h.
17704
17705         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17706         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17707         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17708         va-spur.h,va-v850.h}: Remove.
17709
17710 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
17711
17712         * sparc/sparc.md (eligible_for_return_delay): New attribute.
17713         (in_return_delay): Use it instead of match_insn.
17714
17715 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17716
17717         * config/alpha/va_list.h (va-alpha.h): Do not include.
17718         (__gnuc_va_list): Typedef as in varargs.h.
17719
17720 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
17721
17722         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17723         DECL_LIVE_RANGE_RTL.
17724
17725 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
17726
17727         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17728         not NOTE_BLOCK_NUMBER.
17729         (expand_eh_region_end): Likewise.
17730         (find_exception_handler_labels): Likewise.
17731         (scan_region): Likewise.
17732         (exception_optimize): Likewise.
17733         (update_rethrow_references): Likewise.
17734         (set_insn_eh_region): Likewise.
17735         * final.c (final_scan_insn): Likewise.
17736         * flow.c (make_edges): Likewise.
17737         * integrate.c (expand_inline_function): Likewise.
17738         * print-rtl.c (print_rtx): Likewise.
17739
17740 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
17741
17742         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17743         terms of builtin functions and types.
17744
17745         * mips.c (mips_build_va_list): New.
17746         (mips_va_start, mips_va_arg): New.
17747         * mips.h (BUILD_VA_LIST_TYPE): New.
17748         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17749
17750         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17751         (sh_build_va_list, sh_va_start, sh_va_arg): New.
17752         * sh.h (BUILD_VA_LIST_TYPE): New.
17753         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17754
17755 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
17756
17757         * recog.h (struct recog_data): Make dup_num, operand_address_p,
17758         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17759         (struct insn_data): Likewise with n_operands, n_dups,
17760         n_alternatives, output_format.
17761         * regclass.c (scan_one_insn): Cast n_operands to int before
17762         arithmetic inside comparison.
17763
17764 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
17765
17766         * toplev.c (compile_function): Unconditionally emit nop.
17767
17768 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17769
17770         * haifa-sched.c (actual_hazard): Move declaration of variable
17771         `this_cost' into the scope where it is used.
17772
17773 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17774
17775         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17776         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
17777         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17778
17779         * genrecog.c (make_insn_sequence): Call memset, not bzero.
17780
17781         * jump.c (find_insert_position): Don't declare or define unless
17782         !HAVE_conditional_arithmetic.
17783         (returnjump_p_1, delete_prior_computation): Add static prototypes.
17784
17785         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17786
17787         * recog.c (offsettable_address_p): Prototype function pointer.
17788         (preprocess_constraints): Call memset, not bzero.
17789
17790         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
17791         (gcc_obstack_init): Don't declare.
17792         (fix_sizetype): Add static prototype.
17793         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17794         (tree_cons): Call memset, not bzero.
17795
17796         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17797         definition in macro ASM_WEAKEN_LABEL.
17798         (mark_const_hash_entry): Add static prototype.
17799
17800 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17801
17802         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17803
17804         * unroll.c (find_common_reg_term, subtract_reg_term,
17805         loop_find_equiv_value): Add static prototypes.
17806         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17807         (copy_loop_body): Remove unreachable break statement.
17808
17809         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17810
17811         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17812
17813 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17814
17815         Undo some changes from the gcc2 merge:
17816         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17817         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17818         pointers.
17819
17820         Undo this change:
17821         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
17822         * emit-rtl.c (gen_lowpart_common): Disable optimization of
17823         initialized float-int union if the value is a NaN.
17824
17825 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17826
17827         * gthr-win32.h: New file.
17828
17829         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17830         shared as a valid attribute.
17831         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17832         * extend.texi: Document `shared' variable attribute.
17833
17834 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
17835
17836         * configure.in: Handle --enable-threads on FreeBSD.
17837         * configure: Rebuit.
17838
17839 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17840
17841         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17842         thread support.
17843         * configure: Rebuilt.
17844
17845 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
17846                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17847                           Rosimildo DaSilva <rdasilva@connecttel.com>
17848
17849         * configure.in (m68k-*-rtemscoff*): Added.
17850         * configure.in (mips64orion-*-rtems*): Converted to ELF.
17851         * configure.in (sparc-*-rtemsaout*): Added as alias for old
17852         sparc-rtems configuration.
17853         * configure.in (sparc-*-rtemself*): Added.
17854         * configure.in (sparc-*-rtems*): Now ELF not a.out.
17855         * config/i386/rtems.h: Added comment.
17856         * config/sparc/rtemself.h: New file.
17857
17858         * configure.in (m68k-rtemself): Added.
17859         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17860         and DWARF_DEBUGGING_INFO.
17861         * config/m68k/crti.s: New file.
17862         * config/m68k/crtn.s: New file.
17863         * config/m68k/t-crtstuff: New file.
17864         * config/m68k/rtemself.h: New file.
17865
17866         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17867         global ctor/dtor and C++ exception handling.
17868         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17869         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17870         ENDFILE_SPEC.
17871         * config/i386/t-rtems-i386: New File.
17872
17873 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
17874
17875         * stmt.c (expand_end_case): Return right away if the case stack is
17876         empty.
17877
17878 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
17879
17880         * Makefile.in (version.c): Remove rule incorrectly brought in from
17881         the gcc2 merge.
17882
17883 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
17884
17885         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
17886         * msdos/top.sed:  Take into account a prepended $(SHELL) to
17887         move-if-change.
17888         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
17889
17890         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17891
17892 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17893
17894         * regmove.c (fixup_match_1): Don't change an unchanging register.
17895         (stable_but_for_p): Renamed to:
17896         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
17897         Changed all callers.
17898
17899 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
17900
17901         * loop.c (strength_reduce): Don't call reg_used_between_p if the
17902         insn from BL2 is after the insn from BL.
17903
17904 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
17905
17906         * recog.h (INSN_OUTPUT_FORMAT_*): New.
17907         (struct insn_data): Merge `template' and `outfun' into `output'.
17908         Add `output_format'.
17909         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17910         (struct data): Remove `outfun'; add `output_format'.
17911         (name_for_index): Remove declaration.
17912         (output_insn_data): Handle output formats.
17913         (process_template): Emit the bare array for @.
17914         (gen_expand, gen_split): Set output_format to NONE.
17915         * output.h (get_insn_template): Declare.
17916         * final.c (get_insn_template): New.
17917         (final_scan_insn): Use it.
17918         * toplev.c (compile_file): Likewise.
17919
17920         * c4x/c4x.c (c4x_process_after_reload): Likewise.
17921         * i860/i860.c (output_delayed_branch): Likewise.
17922         (output_delay_insn): Likewise.
17923
17924 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17925
17926         * rtl.c (obstack_alloc_rtx): Removed.
17927
17928 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
17929
17930         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17931
17932 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17933
17934         * i386.c (call_insn_operand): Reject const_int.
17935         (expander_call_insn_operand): Use call_insn_operand.
17936
17937 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17938
17939         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17940
17941 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
17942
17943         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17944         Use DImode operation.
17945
17946 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
17947
17948         * gcc.c: Include sys/resource.h.
17949         (report_times): New flag.
17950         (execute):  If report_times is set, calculate and report the
17951         CPU time consumed by each subprocess.
17952
17953         (rus, prus): New globals.
17954         (option_map): Add --time.
17955         (display_help): Document -time.
17956         (process_command): Set report_times if -time is given.
17957         Turn off -pipe if -time is given.
17958
17959         * invoke.texi: Document new option -time.
17960
17961         * configure.in: Check for getrusage.  Check if we have to
17962         prototype getrusage.
17963         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
17964         * configure: Regenerate.
17965         * config.in: Regenerate.
17966
17967 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
17968
17969         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
17970         fields.
17971
17972 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
17973
17974         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
17975         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
17976         (nan): Return _thenan_sf or _thenan_df as appropriate.
17977         (L_thenan_sf): Define _thenan_sf.
17978         (L_thenan_df): Define _thenan_df.
17979
17980         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
17981         (DPBIT_FUNCS): Add _thenan_df.
17982
17983 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
17984
17985         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
17986         TYPE_SIZE_UNIT.
17987
17988 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17989
17990         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
17991
17992         * gcc.h: New file.
17993         (lang_specific_driver): Don't take a function pointer parameter.
17994         All callers changed.
17995
17996         * gcc.c: Include gcc.h.
17997         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
17998         lang_specific_extra_outfiles, fatal): Don't declare.
17999         (multilib_defaults_raw): Constify.
18000         (read_specs): Call memset, rather than bzero.
18001         (main): Call return, not exit.
18002         (lookup_compiler): Call memcpy, not bcopy.
18003         (fatal): Make extern.
18004
18005         * cppspec.c: Include gcc.h.
18006         (lang_specific_driver): Initialize variable `quote'.  Constify a
18007         char*.  All calls to the function pointer parameter now
18008         explicitly call `fatal'.
18009
18010         * gccspec.c (lang_specific_driver): Include gcc.h.
18011
18012 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
18013
18014         * arm.c (note_invalid_constants): Use recog_data.operand_type
18015         for recog_op_type.
18016
18017 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18018
18019         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18020         Declare.
18021
18022         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18023         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18024         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18025         reload_secondary_in_reload, reload_secondary_out_reload,
18026         reload_secondary_in_icode, reload_secondary_out_icode,
18027         reload_reg_rtx, reload_when_needed): Delete declarations.
18028         (struct reload): New structure.
18029         (rld): Declare new array.
18030         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18031         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18032         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18033         reload_secondary_in_reload, reload_secondary_out_reload,
18034         reload_secondary_in_icode, reload_secondary_out_icode,
18035         reload_reg_rtx, reload_when_needed): Delete definitions.
18036         (rld): New array.
18037         (whole file): Replace uses of the deleted arrays with uses of rld.
18038         * reload1.c (whole file): Replace uses of the deleted arrays with
18039         uses of rld.
18040         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18041         explicit loops, not with bcopy.
18042
18043 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
18044
18045         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18046         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18047         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18048         insn_name): Delete and consolidate into new structures.
18049         (insn_operand_predicate_fn): New.
18050         (insn_output_fn): New.
18051         (insn_gen_fn): New.
18052         (struct insn_operand_data): New.
18053         (struct insn_data): New.
18054         (insn_data): New.
18055         (OUT_FCN): Update for insn_data change.
18056         * builtins.c (expand_builtin_strlen): Likewise.
18057         (expand_builtin_memcmp): Likewise.
18058         * combine.c (make_extraction, simplify_comparison): Likewise.
18059         * cse.c (canon_reg, cse_insn): Likewise.
18060         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18061         * expmed.c (store_bit_field, extract_bit_field): Likewise.
18062         (emit_store_flag): Likewise.
18063         * expr.c (convert_move, emit_block_move): Likewise.
18064         (clear_storage, emit_push_insn, expand_increment): Likewise.
18065         (do_store_flag): Likewise.
18066         * expr.h (GEN_FCN): Likewise.
18067         (insn_gen_function): Die.
18068         * final.c (final_scan_insn): Update for insn_data change.
18069         (output_asm_name): Likewise.
18070         * function.c (fixup_var_refs_1): Likewise.
18071         * loop.c (check_dbra_loop): Likewise.
18072         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18073         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18074         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18075         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18076         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18077         * regmove.c (gen_add3_insn): Likewise.
18078         * reload.c (push_secondary_reload, combine_reloads): Likewise.
18079         (find_reloads, find_reloads_address_1): Likewise.
18080         (debug_reload_to_stream): Likewise.
18081         * reload1.c (emit_reload_insns, gen_reload): Likewise.
18082         * stmt.c (expand_end_case): Likewise.
18083         * toplev.c (compile_file): Likewise.
18084
18085         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18086         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18087
18088         * print-rtl.c (insn_name_ptr): Remove declaration.
18089         (get_insn_name): Declare.
18090         (print_rtx): Use it.
18091         * genoutput.c (insn_name_ptr): Remove.
18092         (next_operand_number): New.
18093         (struct operand_data): New.
18094         (null_operand, odata, odata_end): New.
18095         (struct data): Use struct operand_data.
18096         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18097         (get_insn_name): Renamed from name_for_index.
18098         (output_prologue): Define NO_MD_PROTOTYPES.
18099         (output_predicate_decls): Break out from output_epilogue.
18100         Iterate over the operands list.
18101         (output_operand_data): Break out from output_epilogue.  Emit
18102         just the operands list.
18103         (output_insn_data): Break out from output_epilogue.  Emit just
18104         the insn data.
18105         (output_epilogue): Remove.
18106         (output_get_insn_name): New.
18107         (constraints, op_n_alternatives, predicates, address_p): Die.
18108         (modes, strict_low, seen): Die.
18109         (scan_operands): Take new param `d' instead of writing to
18110         seven global variables.
18111         (compare_operands): New.
18112         (place_operands): New.
18113         (validate_insn_alternatives): Update for struct data change.
18114         (gen_insn): Don't zero or copy 7 global arrays.  Update for
18115         scan_operands; call place_operands.
18116         (gen_peephole, gen_expand, gen_split): Likewise.
18117         (main): Update for new output routines.
18118
18119         * genattr.c (insn_name_ptr): Remove.
18120         (get_insn_name): New function.
18121         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18122         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18123         * genrecog.c: Likewise.
18124
18125         * alpha.md (adddi3): Make `pattern' array static.
18126
18127 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18128
18129         * config/c4x/c4x.h (c4x_rpts_cycles_string,
18130         c4x_cpu_version_string): Constify char *.
18131         * config/c4x/c4x.c (c4x_rpts_cycles_string,
18132         c4x_cpu_version_string): Likewise.
18133
18134 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
18135
18136         * tree.c (save_tree_status): Revert 10 Sep change.
18137         (restore_tree_status): Likewise.  Call obstack_free with NULL
18138         before freeing the obstack proper.
18139
18140 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
18141
18142         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18143
18144         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18145         surrounding context.
18146
18147 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
18148
18149         * tree.c (type_hash_canon): Put all types in the hash-table, when
18150         GC'ing.
18151
18152 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
18153
18154         * recog.h (struct recog_data, recog_data): New.
18155         (recog_foo variables): Kill.
18156         * recog.c (recog_operand, recog_operand_loc): Kill.
18157         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18158         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18159         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18160         (recog_data): Define.
18161         (extract_insn): Update all recog_foo references to use recog_data.
18162         (preprocess_constraints, constrain_operands): Likewise.
18163         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18164         * genattrtab.c (main): Likewise.
18165         * genextract.c (main): Likewise.
18166         * genoutput.c: Likewise.
18167         * genrecog.c (write_subroutine, main): Likewise.
18168         * local-alloc.c (block_alloc): Likewise.
18169         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18170         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18171         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18172         * reload.c (find_reloads, find_reloads_toplev): Likewise.
18173         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18174         (reload_cse_simplify_operands): Likewise.
18175
18176         * arc/arc.c (arc_final_prescan_insn): Likewise.
18177         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18178         * h8300/h8300.c (notice_update_cc): Likewise.
18179         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18180         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18181         * mn10200/mn10200.c (notice_update_cc): Likewise.
18182         * mn10300/mn10300.c (notice_update_cc): Likewise.
18183         * romp/romp.c (update_cc): Likewise.
18184         * sparc/sparc.c (check_pic): Likewise.
18185         * v850/v850.c (notice_update_cc): Likewise.
18186
18187         * genemit.c (main): Don't declare recog_operand.
18188
18189 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
18190
18191         * ggc.h (rtvec_def): Forward declare.
18192         (tree_node): Likewise.
18193         (ggc_root): Define.
18194         (roots): Declare.
18195         (ggc_set_mark_rtx): Add prototype.
18196         (ggc_set_mark_rtvec): Likewise.
18197         (ggc_set_mark_tree): Likewise.
18198         * ggc-simple.c (ggc_root): Don't define.
18199         (roots): Don't declare.
18200         (ggc_mark_rtx): Remove.
18201         (ggc_mark_rtvec): Likewise.
18202         (ggc_mark_tree): Likewise.
18203         (ggc_mark_varray): Likewise.
18204         (ggc_mark_tree_hash_table_entry): Likewise.
18205         (ggc_mark_tree_hash_table): Likewise.
18206         (ggc_set_mart_rtx): New function.
18207         (ggc_set_mark_rtvec): Likewise.
18208         (ggc_set_mark_tree): Likewise.
18209         (ggc_add_root): Remove.
18210         (ggc_add_rtx_root): Likewise.
18211         (ggc_remove_tree_root): Likewise.
18212         (ggc_add_string_root): Likewise.
18213         (ggc_add_tree_varray_root): Likewise.
18214         (ggc_add_tree_hash_table_root): Likewise.
18215         (ggc_del_root): Likewise.
18216         (ggc_mark_rtx_ptr): Likewise.
18217         (ggc_mark_tree_ptr): Likewise.
18218         (ggc_mark_string_ptr): Likewise.
18219         (ggc_mark_tree_varray_ptr): Likewise.
18220         (ggc_mark_tree_hash_table_ptr): Likewise.
18221         * ggc-common.c: New file.
18222         * Makefile.in (OBJS): Add ggc-common.o.
18223         (ggc-common.o): List dependencies.
18224
18225 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
18226
18227         * cppalloc.c (xstrdup): Use memcpy.
18228         * cpperror.c (cpp_print_containing_files): Don't use
18229         cpp_notice.
18230         * cpplib.c (conditional_skip): Set temp->lineno.
18231         (do_endif): Make error message less obscure.
18232         (if_directive_name): New function.
18233         (cpp_get_token [case EOF]): Unwind the if stack and generate
18234         error messages for each unterminated conditional in this file.
18235         (parse_string):  Do not behave differently if -traditional.
18236
18237 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
18238
18239         * builtins.c (expand_builtin_va_arg): Cope with an array-type
18240         va_list decomposing to pointer-type.
18241         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18242         (rs6000_va_arg): Likewise.
18243
18244 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
18245
18246         * except.c (start_dynamic_handler): Compute size using
18247         STACK_SAVEAREA_MODE.
18248
18249 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18250
18251         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
18252         include directory headers.  Don't define strrchr.  Don't provide
18253         my_* replacement functions.  Prefer PTR over `pointer_type'.
18254         Don't prototype system functions.  Don't redefine getopt.
18255
18256         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18257         safe_read, safe_write, save_pointers, restore_pointers,
18258         is_id_char, in_system_include_dir, directory_specified_p,
18259         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18260         find_corresponding_lparen, referenced_file_is_newer,
18261         save_def_or_dec, munge_compile_params, gen_aux_info_file,
18262         process_aux_info_file, identify_lineno, check_source,
18263         seek_to_line, forward_to_next_token_char, output_bytes,
18264         output_string, output_up_to, other_variable_style_function,
18265         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18266         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18267         find_static_definition, connect_defs_and_decs, add_local_decl,
18268         add_global_decls, needs_to_be_converted, visit_each_hash_node,
18269         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18270         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18271         scan_for_missed_items, edit_file, string_list_cons): Add static
18272         prototypes.
18273         (standard_exec_prefix, target_machine, target_version,
18274         default_syscalls_dir, string_list, string_list_cons, find_file,
18275         do_cleaning): Constify a char*.
18276         (safe_read, safe_write): Use PTR, not a char*.
18277         (is_id_char): Take an int, not a char.
18278         (main): Add prototype.  Call return, not exit.
18279
18280 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
18281
18282         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18283         when comparing types.
18284
18285 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
18286
18287         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18288         (strength_reduce): Release the varrays from the no-bivs early exit.
18289
18290         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18291         the loop over the registers.
18292
18293         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18294         for a new obstack.
18295         (restore_tree_status): Check that instead when freeing the obstack.
18296
18297 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
18298
18299         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18300         as pointers.
18301
18302 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18303
18304         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
18305         operand size modifiers.
18306
18307 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18308
18309         * c-common.c (c_common_nodes_and_builtins): Don't build
18310         va_list_type_node.
18311         * c-common.h (enum c_tree_index and related accesor macros): Remove
18312         everything now declared in tree.h.
18313         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18314         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18315         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18316         (error_mark_node, void_type_node, char_type_node, integer_type_node,
18317         unsigned_type_node, ptr_type_node, va_list_type_node,
18318         integer_zero_node, null_pointer_node, integer_one_node): Delete.
18319         (init_decl_processing): Call build_common_tree_nodes and
18320         build_common_tree_nodes_2 instead of building their nodes here.
18321         Don't add roots for these nodes.
18322         * stor-layout.c (size_zero_node, size_one_node): Delete.
18323         (set_sizetype): Make a new node for bitsizetype each time.
18324         * tree.c (global_trees): New variable.
18325         (init_obstacks): Add a gc root for it.
18326         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18327         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18328         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18329         (build_common_tree_nodes): New function.
18330         (fix_sizetype): New function.
18331         (build_common_tree_nodes_2): New function.
18332         * tree.h (enum tree_index): New.
18333         (global_trees): Declare.
18334         Add accessor macros for all nodes now moved to global_trees.
18335         Delete their declarations.
18336
18337 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
18338
18339         * c-decl.c (finish_function): When processing a nested function,
18340         push and pop GC context around rest_of_compilation.
18341
18342 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
18343
18344         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18345         Default ix86_arch to PROCESSOR_I386.
18346         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
18347         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18348         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18349         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18350         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
18351         (EXTRA_SPECS): Remove deleted specs.
18352
18353 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
18354
18355         * function.c (assign_stack_local_1): Allocate from
18356         function->x_frame_offset, not frame_offset.
18357
18358 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
18359
18360         * ggc.h (lang_cleanup_tree): Remove.
18361         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18362         * ggc-callbacks.c (lang_cleanup_tree): Remove.
18363
18364         * c-decl.c (finish_struct): Use ggc_alloc to allocate
18365         TYPE_LANG_SPECIFIC when garbage collecting.
18366         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18367         (lang_cleanup_tree): Remove.
18368
18369 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18370
18371         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18372         * crtstuff.c: Not here.
18373         * dwarf2out.c: Or here.
18374         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18375         info.
18376
18377 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
18378
18379         * function.h (free_after_compilation): Remove decl parameter.
18380         (free_varasm_status0: Likewise.
18381         (free_emit_status): Likewise.
18382         (free_stmt_status): Likewise.
18383         (free_after_compilation): Likewise.
18384         (init_lang_status): New variable.
18385         (free_lang_status): Likewise.
18386         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18387         * function.c (init_lang_status): New variable.
18388         (free_lang_status): Likewise.
18389         (push_function_context_to): Don't set function::decl here.
18390         (free_after_copmilation): Make decl parameter implicit.  Call
18391         free_lang_status if defined.
18392         (prepare_function_start): Call init_lang_status if defined.
18393         (init_function_start): Set function::decl here.
18394         * profile.c (output_func_start_profiler): Don't call pushdecl
18395         until we've actually started the function.
18396         * stmt.c (free_stmt_status): Make decl parameter implicit.
18397         * toplev.c (rest_of_compilation): Don't pass decl to
18398         free_after_compilation.
18399         * varasm.c (free_varasm_status): Likewise.
18400
18401 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18402
18403         * except.c (call_get_eh_context): Add root when allocating static
18404         tree variable.
18405
18406 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
18407
18408         * arm.c: Include "ggc.h".
18409         (arm_add_gc_roots): New function.
18410         (arm_override_options): Call it.
18411         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18412
18413         * arm.md (define_asm_attributes): Add a pool_range attribute.
18414
18415 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
18416
18417         * extend.texi (Volatiles): New node.
18418
18419 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
18420
18421         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18422         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18423         (struct ggc_any): Replace `mark' with `magic_mark'.
18424         (ggc_alloc_string): Use memcpy, not bcopy.
18425         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
18426         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18427         (ggc_free_any): New.
18428         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
18429         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
18430         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
18431         Use IS_MARKED. Use ggc_free_any.
18432
18433 1999-09-09  Scott Bambrough <scottb@netwinder.org>
18434
18435         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18436
18437 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
18438
18439         * toplev.c (main): Always init_ggc.
18440
18441 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
18442
18443         * except.c (find_all_handler_type_matches): Free the list if
18444         we found no matches.
18445
18446         * combine.c (SUBST): Break out to a real function do_SUBST.
18447         (SUBST_INT): Likewise.
18448         * gcse.c (free_pre_mem): Free `temp_bitmap'.
18449         (pre_insert): Free `inserted'.
18450         * loop.c (basic_induction_var): Always set `location'.
18451
18452         * function.c (expand_function_end): Add initial_trampoline as a root.
18453         * rtl.h (init_varasm_once): Declare.
18454         * toplev.c (compile_file): Call it.
18455         * ggc-simple.c (ggc_mark_string_ptr): New.
18456         (ggc_add_string_root): New.
18457         (ggc_collect): Disable collection avoidance temporarily.
18458         * ggc.h (ggc_add_string_root): Declare.
18459         * except.c (create_rethrow_ref): Use ggc_alloc_string.
18460         * optabs.c (init_libfuncs): Likewise.
18461         * varasm.c (named_section): Use ggc_alloc_string.
18462         (make_function_rtl): Likewise.
18463         (make_decl_rtl): Likewise.
18464         (assemble_static_space): Likewise.
18465         (assemble_trampoline_template): Likewise.
18466         (output_constant_def): Likewise.
18467         (force_const_mem): Likewise.
18468         (mark_const_hash_entry): New.
18469         (mark_pool_sym_hash_table): New.
18470         (mark_varasm_state): Use it.
18471         (init_varasm_once): New.
18472
18473         * expr.h (init_one_libfunc): Declare.
18474         * optabs.c (init_one_libfunc): New.
18475         (init_optabs): Use it.
18476         * config/gofast.h: Likewise.
18477         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18478         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18479
18480 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18481
18482         * Makefile.in (cppexp.o): Depend on cpphash.h.
18483         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18484         Include cpphash.h.
18485         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18486         * cpplib.c (do_define): Generalise to handle poisoned definitions,
18487         redefining poisoned identifiers, etc.
18488         (do_undef): Don't allow poisoned identifiers to be undefined.
18489         (do_pragma): Add #pragma poison.
18490         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18491
18492         * cccp.c: Add T_POISON node type.
18493         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18494         poisoned xxx.
18495         (do_define): Generalise to handle poisoned definitions,
18496         redefining poisoned identifiers, etc.
18497         (do_undef): Don't allow poisoned identifiers to be undefined.
18498         (do_pragma): Add #pragma poison.
18499         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18500
18501         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18502         * c-pragma.h: Add ps_poison state.  We now always have generic
18503         pragmas.
18504
18505 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
18506
18507         * ggc.h (ggc_alloc): New function.
18508         (ggc_mark): Likewise.
18509         * ggc-simple.c (ggc_any): New structure.
18510         (ggc_status): Add anys.
18511         (n_anys_collected): New variable.
18512         (ggc_alloc): Define.
18513         (ggc_mark): Likewise.
18514         (ggc_collect): Collect the anys.
18515
18516 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18517
18518         * c-decl.c (mark_binding_level): Make static to match prototype.
18519
18520 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
18521
18522         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18523
18524 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
18525
18526         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18527         will use into account.  Expand the max width to 5.
18528         * rtl.c: Likewise.
18529
18530 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
18531
18532         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18533         for the rtx length.
18534
18535 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
18536
18537         * alpha.md (call value patterns): Remove the result predicates.
18538
18539 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
18540
18541         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18542         last change.
18543
18544 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18545
18546         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18547         changed from extern char *, to extern PTR.  Also fix typo in
18548         NEED_DECLARATION_REALLOC test.
18549
18550         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18551
18552 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18553
18554         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18555         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18556         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18557         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18558
18559         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18560
18561         * cccp.c (pcfinclude): Likewise.
18562
18563         * global.c (allocno_compare): Likewise.
18564
18565         * haifa-sched.c (rank_for_schedule): Likewise.
18566
18567         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18568
18569         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18570
18571         * stupid.c (stupid_reg_compare): Likewise.
18572
18573         * tree.c (_obstack_allocated_p): Likewise.
18574
18575         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18576
18577 1999-09-08  Bruce Korb  autogen@linuxbox.com
18578
18579         * Makefile.in: Give the hapless gperf user a hint about
18580         why "gperf -F" fails.
18581
18582 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
18583
18584         * lists.c: Include ggc.h.
18585         (zap_lists): New.
18586         (init_EXPR_INSN_LIST_cache): Install it.
18587
18588         * ggc-simple.c (init_ggc): Absorb the old init.
18589         (ggc_push_context): Use xcalloc.
18590         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18591         (ggc_collect): Add [rvts] tags to the collection stats.
18592
18593 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
18594
18595         * cccp.c (main): Fix handling of -include and -imacros options.
18596
18597 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
18598
18599         * cpplib.c (cpp_push_buffer): Fix order of arguments.
18600
18601 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18602
18603         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18604         genrtl.c.
18605
18606 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18607
18608         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18609         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18610         and SET_DEST. Update comment.
18611
18612 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18613
18614         * config/c4x/c4x.c: Include ggc.h.
18615         (c4x_add_gc_roots): New function.
18616         (c4x_override_options): Call c4x_add_gc_roots.
18617
18618 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
18619
18620         * defaults.h (TARGET_ESC): Move ...
18621         * system.h: ... here, where Linas had it in the first place.  Silly me.
18622
18623 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
18624
18625         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18626         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18627         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18628         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18629         * defaults.h (TARGET_ESC): Add default.
18630
18631 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
18632
18633         * configure.in: add i370-*-openedition, i370-*-mvs and
18634         i370-*-linux targets
18635
18636 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
18637
18638         * dsp16xxx.c: Include ggc.h
18639         (override_options): Mark GC roots.
18640         * mn10200.c: Include ggc.h.
18641         (asm_file_start): Mark GC roots.
18642         * tahoe.c: Include ggc.h.
18643         (extensible_operand): Mark GC roots.
18644
18645 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
18646
18647         * README: Add section discussing status of ELF ABI.
18648         * i370.c: Fix misc spelling mistakes.
18649         (i370_label_scan): Updated notes, exception handling.
18650         (i370_function_prolog): Simplify ELF stack handling.
18651         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18652         (STACK_GROWS_DOWNWARD): ELF stack grows down.
18653         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18654         * i370.md: (movdi): Add notes.
18655         (floatsidf2): Use stack not rtca for scratch float area.
18656         (iorsi3): Correct operand constraints.
18657         * x-oe: Restore TAROUTOPTS which are used by pax.
18658
18659 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
18660
18661         * rs6000.c: Include ggc.h.
18662         (rs6000_add_gc_roots): New function.
18663         (override_options): Call it.
18664
18665 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
18666
18667         * alpha.h (alpha_compare): New.
18668         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18669         * alpha.c: Likewise for the definitions.
18670         (alpha_emit_conditional_branch): Update for alpha_compare.
18671         (alpha_emit_conditional_move): Likewise.
18672         * alpha.md (cmpdf, cmpdi): Likewise.
18673         (setcc patterns): Likewise.  Zero alpha_compare after use.
18674         (sne): Optimize (x != 0) into (0U < x).
18675
18676 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
18677
18678         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18679         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18680         (INIT_EXPANDERS): Remove.
18681         * alpha.c: Include ggc.h.
18682         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18683         (alpha_init_machine_status, alpha_mark_machine_status): New.
18684         (override_options): Install them.
18685         (struct machine_function): Moved to alpha.h.
18686         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18687         (alpha_init_expanders): Remove.
18688         (alpha_return_addr): Adjust to use current_function->machine.
18689         (alpha_ra_ever_killed): Likewise.
18690         (alpha_expand_epilogue): Likewise.
18691         * alpha.md (eh_epilogue): Likewise.
18692
18693 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
18694                           Melissa O'Neill  <oneill@cs.sfu.ca>
18695                           Geoffrey Keating  <geoffk@cygnus.com>
18696
18697         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18698         call-used registers (call-saved registers must still be contiguous
18699         and end with r31, of course).
18700
18701 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
18702
18703         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18704         (self_promoting_type_p): Delete.
18705         (self_promoting_args_p): Move ...
18706         * c-common.c: ... here.
18707         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18708         (simple_type_promotes_to): New.
18709         * builtins.c (lang_type_promotes_to): New.
18710         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18711         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18712         * c-common.h: ... here.
18713         (self_promoting_args_p, simple_type_promotes_to): Declare.
18714         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18715         (grokdeclarator): Likewise.
18716         * tree.h (lang_type_promotes_to): Declare.
18717
18718 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
18719
18720         Add some machine-dependent GC roots.
18721         * sparc.c: Include ggc.h.
18722         (sparc_add_gc_roots): New function.
18723         (mark_ultrasparc_pipeline_state): Likewise.
18724         (override_options): Call sparc_add_gc_roots.
18725         * pa.c: Include ggc.h.
18726         (pa_add_gc_roots): New function.
18727         (mark_deferred_plabels): Likewise.
18728         (override_options): Call pa_add_gc_roots.
18729         * mips.c: Include ggc.h.
18730         (mips_add_gc_roots): New function.
18731         (override_options): Use it.
18732
18733 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18734
18735         * cpperror.c (cpp_file_line_for_message): Constify a char*.
18736
18737         * cppexp.c (parse_number, parse_charconst, cpp_lex,
18738         cpp_parse_expr): Add static prototypes.
18739         (parse_charconst): Don't cast away const-ness.
18740         (token): Constify a char*.
18741
18742         * cppfiles.c (file_name_list, include_hash, find_include_file,
18743         finclude, initialize_input_buffer): Constify a char*.
18744         (file_cleanup, find_position): Add static prototypes.
18745
18746         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18747         collect_expansion): Add static prototypes.
18748         (cpp_install, create_definition, monthnames): Constify a char*.
18749
18750         * cpphash.h (cpp_install): Likewise.
18751
18752         * cppinit.c (known_suffixes, default_include,
18753         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18754         (base_name, dump_special_to_buffer, initialize_dependency_output):
18755         Add static prototypes.
18756
18757         * cpplib.c (my_strerror): Constify a char*.
18758         (null_underflow, null_cleanup, skip_comment, copy_comment,
18759         copy_rest_of_line, handle_directive, pass_thru_directive,
18760         get_directive_token, read_line_number, cpp_print_file_and_line,
18761         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18762         v_cpp_warning_with_line, detect_if_not_defined,
18763         consider_directive_while_skipping): Add static prototypes.
18764         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18765         cpp_pedwarn_with_file_and_line): Constify a char*.
18766
18767         * cpplib.h (cpp_options, include_hash, progname, definition,
18768         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18769         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18770         find_include_file, deps_output, include_hash): Constify a char*.
18771
18772         * cppmain.c (progname): Constify.
18773         (main): Add prototype.  Use return, not exit.
18774
18775         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18776         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18777         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18778         check_protection): Add static prototype.
18779         (xfree): Remove.
18780         (progname, recognized_macrom, recognized_extern): Constify a char*.
18781         (main): Add prototype.
18782
18783         * gen-protos.c (progname): Constify a char*.
18784
18785 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
18786
18787         * emit-rtl.c (free_emit_status): Take decl as a parameter.
18788         (init_emit_once): Add more GC roots.
18789         * except.c (mark_func_eh_entry): New function.
18790         (mark_eh_node): Mark false_label and rethrow_label.
18791         (init_eh): Add more GC roots.
18792         * function.c (free_after_compilation): Take decl as a paramter.
18793         Call free_stmt_status.
18794         (mark_function_state): Don't assume x_parm_reg_stack_loc is
18795         non-NULL.
18796         * function.h (free_after_compilation): Change prototype.
18797         (free_varasm_status): Likewise.
18798         (free_emit_status): Likewise.
18799         (free_stmt_status): New function.
18800         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18801         Remove, replacing with ...
18802         (ggc_status): New structure.
18803         (ggc_chain): New variable.
18804         (init_gcc): Define.
18805         (ggc_push_context): New function.
18806         (ggc_pop_context): Likewise.
18807         (ggc_alloc_rtx): Adjust for use of ggc_chain.
18808         (ggc_alloc_rtvec): Likewise.
18809         (ggc_alloc_tree): Likewise.
18810         (ggc_alloc_string): Likewise.
18811         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18812         (ggc_mark_tree): Give language-dependent code a chance to mark
18813         `x' nodes.
18814         (ggc_mark_tree_varray): Handle empty arrays.
18815         (ggc_collect): Adjust for use of ggc_chain.  Clear
18816         bytes_alloced_since_last_gc.
18817         * ggc.h (ggc_pop_context): New function.
18818         (ggc_push_context): Likewise.
18819         * print-tree.c (print_node): Don't print obstacks when GC'ing.
18820         * stmt.c (free_stmt_status): New function.
18821         (init_stmt_for_function): Clear last_expr_value.
18822         * toplev.c (rest_of_compilation): Always call free_after_compilation.
18823         Conditionalize call to ggc_collect.
18824         (main): Call init_ggc.
18825         * tree.c (push_obstacks): Do the push, even when GC'ing.
18826         (push_obstacks_nochange): Likewise.
18827         (pop_obstacks): Liekwise.
18828         * varasm.c (free_varasm_status): Take decl as a parameter.
18829
18830 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18831
18832         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18833         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18834         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18835         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18836
18837 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
18838
18839         * pa/x-pa-mpeix: New file for the MPE port.
18840
18841         * pa/quadlib.asm: New file for long double support.
18842
18843         * configure.in: Add hppa1.0-*-mpeix for MPE port.
18844         * configure: Rebuilt.
18845
18846 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
18847
18848         * final.c (shorten_branches): Fix last change.
18849
18850 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
18851
18852         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18853
18854 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
18855
18856         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
18857         details.
18858
18859 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18860
18861         * c-aux-info.c (concat): Don't define.
18862
18863         * cccp.c (my_strerror): Likewise.  All callers changed to use
18864         xstrerror instead.
18865         (do_include): Call xstrdup, not xmalloc/strcpy.
18866         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18867         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18868
18869         * collect2.c (my_strsignal): Likewise.  All callers changed to use
18870         strsignal instead.
18871         (locatelib): Call xstrdup, not xmalloc/strcpy.
18872
18873         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18874
18875         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18876
18877         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18878
18879         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18880
18881         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18882
18883         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18884
18885         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18886         malloc/realloc.
18887         (find_all_handler_type_matches): Likewise.  Don't check return
18888         value.
18889         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18890         xmalloc, not malloc.
18891         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
18892
18893         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18894         (init_spec): Call xcalloc, not xmalloc/bzero.
18895         (set_spec): Call xstrdup, not save_string.
18896         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18897         (find_a_file): Call xstrdup, not xmalloc/strcpy.
18898         (process_command): Call xstrdup, not save_string.
18899         (main): Call xcalloc, not xmalloc/bzero.
18900
18901         * gcov.c (xmalloc): Don't define.
18902         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18903         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18904         (output_data): Call xcalloc, not xmalloc/bzero.
18905
18906         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18907
18908         * mips-tdump.c (xmalloc): Don't define.
18909         (print_symbol): Call xmalloc, not malloc.
18910         (read_tfile): Call xcalloc, not calloc.
18911
18912         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18913         Don't define.  All callers of xfree/my_strsignal changed to use
18914         free/strsignal instead.
18915         (allocate_cluster): Call xcalloc, not calloc.
18916
18917         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18918         Fix memory leak, free allocated memory.
18919
18920         * prefix.c (translate_name): Call xstrdup, not save_string.
18921         (update_path): Likewise.
18922
18923         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18924
18925         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18926         Don't define.  Callers of xfree/savestring2 changed to use
18927         free/concat instead.
18928
18929         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18930         (init_elim_table): Likewise.
18931
18932         * resource.c (init_resource_info): Likewise.
18933
18934         * stupid.c (stupid_life_analysis): Likewise.
18935
18936         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18937         (open_dump_file): Call concat, not xmalloc/strcpy/...
18938         (clean_dump_file): Likewise.
18939         (compile_file): Call xstrdup, not xmalloc/strcpy.
18940
18941 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
18942
18943         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18944         * v850.c (v850_va_arg): New.
18945
18946 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18947
18948         * haifa-sched.c: Tidy comments.
18949
18950 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18951
18952         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
18953         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
18954         $(out_object_file)): Depend on ggc.h.
18955         * c-common.c: Include "ggc.h".
18956         (combine_strings): If doing GC, use ggc_alloc_string.
18957         * c-decl.c: Include "ggc.h".
18958         (ggc_p): Define with value 0.
18959         (mark_binding_level): New function.
18960         (init_decl_processing): Add GC roots.
18961         (mark_c_function_context): New function.
18962         (lang_mark_false_label_stack): New function.
18963         (lang_mark_tree): New function.
18964         (lang_cleanup_tree): New function.
18965         * c-lang.c: Include "ggc.h".
18966         (lang_init): Call c_parse_init.
18967         * c-lex.c: Include "ggc.h".
18968         (check_linenum): If doing GC, don't copy filenames to permanent
18969         obstack.
18970         * c-parse.in: Include "ggc.h".
18971         (c_parse_init): New function.
18972         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
18973         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
18974
18975         * except.c (mark_eh_state): Mark more state.
18976         * function.c (mark_function_state): Likewise.
18977         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
18978         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
18979         * toplev.c (mark_file_stack): New function.
18980         (compile_file): If doing GC, use ggc_alloc_string on input filename.
18981         (main): Add root for input_file_stack.
18982
18983         * i386.c: Include "ggc.h".
18984         (ix86_mark_machine_status): New function.
18985         (override_options): Set mark_machine_status.
18986
18987 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18988
18989         * tree.c (copy_node): Copy node contents also if doing GC.
18990
18991 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18992
18993         * collect2.c (scan_libraries): Fix double-thinko :-).
18994
18995 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
18996
18997         * collect2.c (scan_libraries): Fix thinko.
18998
18999         * cse.c (delete_trivially_dead_insns): Do not skip the last
19000         insn if it is a real insn.
19001
19002 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
19003
19004         * Makefile.in (ggc-simple.o): Depend on hash.h.
19005         * ggc.h (ggc_add_tree_hash_table_root): Declare.
19006         (ggc_mark_tree_varray): Likewise.
19007         (ggc_mark_tree_hash_table): Likewise.
19008         * ggc-simple.c: Include hash.h.
19009         (ggc_mark_tree_hash_table_ptr): New function.
19010         (ggc_mark_tree_hash_table_entry): Likewise.
19011         (ggc_mark_tree_hash_table): Likewise.
19012         (ggc_add_tree_hash_table_root): Likewise.
19013         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19014         rtx, when defining fields.
19015
19016 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19017
19018         * profile.c (output_func_start_profiler): Remove apparently
19019         nonsensical call to start_sequence.
19020
19021 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
19022
19023         * clipper/clipper.c (clipper_va_start): Fix typos.
19024
19025         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19026         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19027         (spur_va_arg): New stub.
19028
19029         * configure.in: Comment out pyramid.
19030
19031 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
19032
19033         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19034         don't conflict with the bits that win32, cygwin, and dgux
19035         defines.
19036
19037 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
19038                           Bernd Schmidt <bernds@cygnus.co.uk>
19039
19040         * integrate.c (function_cannot_inline_p): Do not inline
19041         functions with forced labels.
19042
19043 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
19044                           Bernd Schmidt <bernds@cygnus.co.uk>
19045                           Mark Mitchell  <mark@codesourcery.com>
19046
19047         * Makefile.in (ggc-simple.o): Depend on varray.h.
19048         (rtl.o): Depend on ggc.h.
19049         (genattrtab.o): Depend on ggc.h.
19050         (print-tree.o): Likewise.
19051         (fold-const.o): Likewise.
19052         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19053         (make_insn_raw): Don't cache insns when GC'ing.
19054         (emit_insn_before): Likewise.
19055         (emit_insn_after): Likewise.
19056         (emit_insn): Likewise.
19057         (start_sequence): Use xmalloc to allocate the sequence_stack.
19058         (end_sequence): Add free to free it.
19059         (gen_sequence): Don't cache insns when GC'ing.
19060         (clear_emit_caches): Don't use sequence_element_free_list.
19061         (init_emit): Use xcalloc, not xmalloc+bzero.
19062         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19063         * function.c (pop_function_context_from): Use free to free the
19064         fixup_var_refs_queue.
19065         (put_reg_into_stack): Allocate it with xmalloc.
19066         * genattrtab.c: Include ggc.h.
19067         (operate_exp): Don't use obstack_free when GC'ing.
19068         (simplify_cond): Likewise.
19069         (simplify_text_exp): Likewise.
19070         (optimize_attrs): Likewise.
19071         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19072         GC'ing.
19073         (gencode): Generate a #include for ggc.h.
19074         * ggc-callbacks.c (ggc_p): Define it to zero.
19075         * ggc-none.c (ggc_p): Likewise.
19076         * ggc-simple.c: Include varray.h.
19077         (ggc_mark_tree_varray): New function.
19078         (ggc_add_tree_varray_root): Likewise.
19079         (ggc_mark_tree_varray_ptr): Likewise.
19080         * ggc.h (ggc_p): Declare.
19081         (varray_head_tag): Likewise.
19082         (ggc_add_tree_varray_root): Declare.
19083         * print-tree.c (print_node): Don't check for TREE_PERMANENT
19084         inconsistencies when GC'ing.
19085         * rtl.c: Include ggc.h.
19086         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19087         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19088         (rtx_free): Don't call obstack_free when GC'ing.
19089         * toplev.c (rest_of_compilation): Call ggc_collect after every
19090         pass, if GC'ing.
19091         * tree.c (push_obstacks): Do nothing, if GC'ing.
19092         (pop_obstacks_nochange): Likewise.
19093         (pop_obstacks): Likewise.
19094         (make_node): Use ggc_alloc_tree when GC'ing.
19095         (copy_node): Likewise.
19096         (get_identifier): Use ggc_alloc_string when GC'ing.
19097         (build_string): Likewise.
19098         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19099         (tree_cons): Likewise.
19100         (build1): Likewise.
19101         (type_hash_canon): Don't call obstack_free when GC'ing.
19102
19103 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
19104
19105         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19106         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19107
19108 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
19109                           Bernd Schmidt <bernds@cygnus.co.uk>
19110                           Mark Mitchell  <mark@codesourcery.com>
19111
19112         * Makefile.in (stor-layout.o): Depend on ggc.h.
19113         (expr.o): Depend on ggc.h.
19114         (profile.o): Depend on ggc.h.
19115         (stor-layout.o): Depend on ggc.h.
19116         * emit-rtl.c (init_emit_once): Add gc roots.
19117         * expr.c: Include ggc.h.
19118         (emit_block_move): Add gc roots.
19119         (clear_storage): Likewise.
19120         * expr.h (init_stor_layout_once): New function.
19121         * profile.c: Include ggc.h.
19122         (init_arc_profiler): profiler_label is a root.
19123         * scan.c (make_sstring_space): Trust xrealloc to function
19124         correctly with first parameter NULL.
19125         * stor-layout.c: Include ggc.h.
19126         (set_sizetype): Add gc root.
19127         (init_stor_layout_once): New function.
19128         * toplev.c (compile_file): Call it.
19129
19130 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
19131                           Bernd Schmidt <bernds@cygnus.co.uk>
19132                           Mark Mitchell  <mark@codesourcery.com>
19133
19134         * Makefile.in (tree.o): Depend on ggc.h.
19135         (varasm.o): Likewise.
19136         (function.o): Likewise.
19137         (stmt.o): Likewise.
19138         (except.o): Likewise.
19139         (optabs.o): Likewise.
19140         (emit-rtl.o): Likewise.
19141         * emit-rtl.c: Include ggc.h.
19142         (sequence_element_free_list): Remove, and all references.
19143         (mark_sequence): New functions.
19144         (mark_emit_state): New function.
19145         * except.c: Include ggc.h.
19146         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19147         (mark_tree_label_node): New functions.
19148         (mark_eh_state): New function.
19149         * function.c: Include ggc.h.
19150         (mark_temp_slot, mark_function_chain): New functions.
19151         (mark_function_state): New function.
19152         (init_function_once): New function.
19153         * function.h (init_function_once): New function.
19154         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19155         * ggc.h (label_node): Declare.
19156         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19157         (lang_mark_false_label_stack): New function.
19158         (mark_temp_slot): Remove declaration.
19159         (mark_function_chain): Likewise.
19160         (mark_eh_state): Adjust prototype.
19161         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19162         Likewise.
19163         * optabs.c: Include ggc.h.
19164         (mark_optab): New function.
19165         (init_optabs): Add gc roots.
19166         * stmt.c: Include ggc.h.
19167         (mark_cond_nesting, mark_loop_nesting): New functions.
19168         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19169         (mark_stmt_state): New function.
19170         * toplev.c (compile_file): Call init_function_once.
19171         * tree.c: Include ggc.h.
19172         (type_hash): Move declaration earlier in file.
19173         (TYPE_HASH_SIZE, type_hash_table): Likewise.
19174         (init_obstacks): Add gc roots.
19175         (mark_type_hash): New function.
19176         * varasm.c: Include ggc.h.
19177         (mark_pool_constant): New function.
19178         (mark_varasm_state): New function.
19179
19180 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19181
19182         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19183
19184 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19185
19186         * c-decl.c (struct language_function): Renamed from struct c_function.
19187         Delete elt NEXT.
19188         (c_function_chain): Delete.
19189         (push_c_function_context): New arg F.  Don't warn about nested
19190         functions here.  Fill LANGUAGE elt of F.  Delete code to update
19191         c_function_chain.  Don't call push_function_context.
19192         (pop_c_function_context): New arg F.  Restore from there instead of
19193         from c_function_chain.  Don't call pop_function_context.  Clear out
19194         LANGUAGE field of F when done.
19195         * c-lang.c: Include "function.h"
19196         (lang_init): Initialize save_lang_status and restore_lang_status.
19197         * c-parse.in (nested_function, nested_function_notype): Warn about
19198         nested functions.  Call push_function_context/pop_function_context
19199         instead of the _c_ variants.
19200         * c-tree.h (push_c_function_context, pop_c_function_context): Update
19201         prototype.
19202         * Makefile.in (c-lang.o): Update dependencies.
19203
19204         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19205         regno_pointer_flag, regno_pointer_align.
19206         (gen_reg_rtx): Use xrealloc to enlarge them.
19207         (free_emit_status): New function.
19208         * function.c (mark_machine_status, mark_lang_status): New variables.
19209         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
19210         in some bits from assign_stack_local.  All callers changed to use new
19211         name.
19212         (assign_stack_local): Just call assign_stack_local_1.
19213         (free_after_compilation): New function.
19214         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19215         (trampoline_address): Likewise.
19216         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19217         (prepare_function_start): Explicitly clear some more variables.
19218         * function.h (struct function): New elt can_garbage_collect.
19219         (mark_machine_status, mark_lang_status): Declare variables.
19220         (free_after_compilation, free_emit_status, free_varasm_status,
19221         init_varasm_status): Declare functions.
19222         * toplev.c (rest_of_compilation): Call free_after_compilation when
19223         done with the current function.
19224         * varasm.c (free_varasm_status): New function.
19225
19226 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
19227
19228         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19229         (EXPAND_BUILTIN_VA_ARG): Define.
19230         * sparc.c (sparc_va_start): New.
19231         (sparc_va_arg): New.
19232
19233 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19234
19235         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19236
19237 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19238
19239         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19240
19241 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
19242
19243         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19244         (OBJS): Add $(GGC).
19245         (ggc-callbacks.o): New target.
19246         * ggc-callbacks.c: New file.
19247
19248 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19249
19250         * expr.h: Collapse individual optab and libfunc vars to arrays.
19251         (optab_index, libfunc_index): New enumerations.
19252         (optab_table, libfunc_table): New arrays.
19253         Add accessor macros for both.
19254
19255         * optabs.c (optab_table, libfunc_table): New.
19256         Delete declarations for individual optab and libfunc vars.
19257
19258 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
19259
19260         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19261
19262 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
19263
19264         * Makefile.in (GGC, GGC_LIB): New.
19265         (HOST_RTL): Include ggc-none.o.
19266         (ggc-simple.o): New target.
19267         (ggc-none.o): Likewise.
19268         * tree.h (tree_common): Add gc_mark.
19269         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19270         (struct rtvec_def): Add gc_mark.
19271         * emit-rtl.c (global_rtl): Update static initializers to contain
19272         enough initializers.
19273         * ggc.h, ggc-none.c, ggc-simple.c: New files.
19274         * toplev.c (gc_time): New variable.
19275         (all_time): New variable.
19276         (compile_file): Print gc time.
19277         (print_time): Calculate percentage of the whole.
19278
19279 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19280
19281         Change obstack memory management and varasm constant pool handling so
19282         that nested functions are treated like any other functions.
19283         * function.c (init_machine_status): New variable.
19284         (push_function_context_to): Set contains_functions for the outer
19285         function.  Don't call save_varasm_status.
19286         (pop_function_context_from): Don't call restore_varasm_status.  Don't
19287         set current_function_contains_functions.
19288         (prepare_function_start): Call init_varasm_status rather than
19289         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
19290         is non-null.
19291         * function.h (struct function) Add field varasm.  Delete fields
19292         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19293         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19294         (init_machine_status): Declare.
19295         (save_varasm_status, restore_varasm_status): Delete declarations.
19296         (save_tree_status, restore_tree_status): Delete last argument.
19297         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
19298         code.  All callers changed.
19299         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19300         save_constants_in_decl_trees, restore_constants, save_constants,
19301         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19302         functions.
19303         (inlining): New variable.
19304         (reg_map, label_map, insn_map, orig_asm_operands_vector,
19305         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19306         variables.
19307         (save_for_inline_nocopy): Don't save constants.
19308         Don't set inl_emit field in current_function.
19309         (expand_inline_function): Use emit field, not inl_emit, of the inlined
19310         function.  Set new variable inlining before
19311         calling copy_rtx_and_substitute.
19312         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19313         constant pool references if inlining is nonzero.
19314         Delete ADDRESS and (most of the) CONST cases.
19315         (output_inline_function): Save and restore current_function/
19316         current_function_decl.  Delete restore_constants code.  Don't call
19317         init_const_rtx_hash_table.
19318         * output.h (init_const_rtx_hash_table): Don't declare.
19319         * rtl.h (struct function): Declare.
19320         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19321         * toplev.c (rest_of_compilation): Don't treat nested functions or
19322         functions containing them specially.  Delete all code to deal with
19323         save_for_inline_copying.
19324         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19325         inline_obstacks): Delete variables.
19326         (save_tree_status): Lose arg CONTEXT.  All callers changed.
19327         Simply allocate a new function_maybepermanent_obstack for the new
19328         function, delete all the special cases.
19329         Don't save inline_obstacks.
19330         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
19331         Delete special handling for function_maybepermanent_obstack; simply
19332         free it if empty.
19333         Don't restore inline_obstacks.
19334         (permanent_allocation):  Delete code that frees inline_obstacks.
19335         (print_inline_obstack_statistics): Delete function.
19336         (dump_tree_statistics): Don't call it.
19337         * varasm.c (struct varasm_status): New.
19338         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19339         last_pool, pool_offset, const_double_chain): Delete global
19340         variables, replace with accessor macros.
19341         (immed_double_const): Don't walk const_double_chain outside a
19342         function, but don't treat nested functions specially anymore.
19343         (immed_real_const_1): Likewise.
19344         (clear_const_double_mem): Don't treat nested functions specially.
19345         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19346         (save_varasm_status, restore_varasm_status): Delete functions.
19347         (init_varasm_status): New function.
19348         (force_const_mem): Don't treat nested functions specially.
19349         (find_pool_constant): Accept new arg F, search for constants in
19350         that function's pool rather than the current one.  All callers
19351         changed.
19352         (get_pool_constant_for_function, get_pool_mode_for_function): New
19353         functions.
19354
19355         * i386.c (init_386_machine_status): New function, mostly from
19356         clear_386_stack_locals.
19357         (struct machine_functions): Rename element names to avoid name
19358         clashes.
19359         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19360         macros, replacing global variables.
19361         (clear_386_stack_locals, save_386_machine_status,
19362         restore_386_machine_status): Delete functions.
19363         (override_options): Initialize init_machine_status.
19364         * i386.h (INIT_EXPANDERS): Delete macro.
19365         (save_386_machine_status, restore_386_machine_status,
19366         clear_386_stack_locals): Delete declarations.
19367
19368 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19369
19370         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19371         (doloop_begin):  Simplify pattern and use emit_jump_insn.
19372         (doloop_end): Simplify pattern, switch operand order,
19373         and use emit_jump_insn.
19374
19375 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19376
19377         * function.h (struct function): Add new element LANGUAGE.
19378         (save_lang_status): Declare new variable.
19379         (restore_lang_status): Likewise.
19380         * function.c (save_lang_status): Define.
19381         (restore_lang_status): Likewise.
19382         (push_function_context_to): Call language-specific save function.
19383         (pop_function_context_from): Call language-specific restore function.
19384
19385 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19386
19387         * i386.md (movsf_1): Check REG_P before use of REGNO.
19388         (movdf_1): Likewise.
19389         (movxf_1): Likewise.
19390         (extendsfdf2): Likewise.
19391         (extendsfxf2): Likewise.
19392         (extenddfxf2): Likewise.
19393
19394 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19395
19396         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19397         constants into memory.
19398         (c4x_shiftable_constant): New function.
19399         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19400         (c4x_shiftable_constant): Declare.
19401         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19402         ashlqi3_noclobber): Add new patterns and associated splitters.
19403
19404 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
19405
19406         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19407         * dwarf2out.c (dwarf2out_frame_init): Likewise.
19408         * final.c (shorten_branches): Likewise.
19409         * global.c (global_alloc): Likewise.
19410         * haifa-sched.c (build_control_flow): Likewise.
19411         * stmt.c (check_for_full_enumeration_handling): Likewise.
19412         (estimate_case_costs): Likewise.
19413
19414 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
19415
19416         * rtl.h (RTL_CHECKC2): Fix typo in last change.
19417
19418 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
19419
19420         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19421         (recompute_reg_usage): Likewise.
19422         * rtlanal.c (find_regno_fusage): Likewise.
19423
19424         * rtl.c (rtl_check_failed_code1): New function.
19425         (rtl_check_failed_code2): New.
19426         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19427         (RTL_CHECKC1, RTL_CHECKC2): New.
19428         (XC*): New accessor macros.
19429         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19430         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19431         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19432         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19433         (TRAP_*, RANGE_INFO_*): Likewise.
19434
19435 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19436
19437         * Makefile.in (tlink.o): Don't depend on toplev.h.
19438
19439         * collect2.c (c_file, o_file, export_file, import_file, ldout,
19440         output_file, nm_file_name, ldd_file_name, strip_file_name,
19441         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19442         add_prefix, prefix_from_env, prefix_from_string, do_wait,
19443         fork_execute, maybe_unlink, add_to_list,
19444         extract_init_priority, write_list, dump_list,
19445         dump_prefix_list, write_list_with_asm, write_c_file,
19446         write_c_file_stat, write_c_file_glob, scan_prog_file,
19447         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19448         ignore_library, extract_string, notice, dump_file, target_machine,
19449         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19450         read_file, print_load_command): Constify a char*.
19451         (fdopen, error, fatal, fatal_perror): Don't prototype.
19452         (my_strerror): Remove.  All callers use xstrerror instead.
19453         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19454         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
19455         to xcalloc/strcpy/strcat/...  to one call to concat.
19456         (main, scan_prog_file, scan_libraries): Use an intermediate
19457         `const char **' to build an argv array.
19458         (mapfile, libselect, libcompare, locatelib): Add prototypes.
19459
19460         * collect2.h (collect_execute, collect_wait, dump_file,
19461         file_exists): Constify a char*.
19462         (ldout, c_file_name, temporary_obstack, permanent_obstack,
19463         temporary_firstobj, vflag, debug): Add extern declarations.
19464         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19465
19466         * tlink.c: Don't include toplev.h.
19467         (vflag, debug, ldout, c_file_name, temporary_obstack,
19468         permanent_obstack, temporary_firstobj): Don't declare.
19469         (tlink_execute, frob_extension, symbol_hash_lookup,
19470         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19471         recompile_files, read_repo_files, demangle_new_symbols,
19472         scan_linker_output): Constify a char*.
19473         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19474         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19475
19476 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
19477
19478         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19479         (relative) rather than jsr (absolute) subroutine call insns.
19480         * config/m68k/m68k-coff.h: Ditto.
19481
19482 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
19483
19484         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19485         now rework these too.
19486         (arm_reorg): If an insn can't reach the end of the current pool,
19487         ensure that we emit that pool before the insn.
19488
19489 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
19490
19491         * tlink.c (scan_linker_output): Skip the initial underscore in
19492         a mangled name if appropriate.
19493
19494 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19495
19496         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19497         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19498         error_with_ivar, gen_declarator, create_builtin_decl,
19499         my_build_string, generate_descriptor_table, generate_ivars_list,
19500         generate_dispatch_table, check_protocols, TAG_GETCLASS,
19501         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19502         dump_base_name, lang_decode_option, build_encode_expr,
19503         start_class, finish_class, encode_pointer, really_start_method,
19504         gen_declaration, dump_interface, handle_class_ref, handle_impent):
19505         Constify.
19506         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19507         Add static prototypes.
19508         (build_objc_string_decl, build_selector_reference_decl,
19509         encode_bitfield, build_class_reference_decl): Remove unused
19510         parameter, all callers changed.
19511         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19512         (objc_printable_name): Likewise.  Change second parameter to type int.
19513         (init_objc): Use memcpy, not bcopy, to avoid casts.
19514
19515 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
19516
19517         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19518         reg notes on a deleted insn.
19519         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19520
19521 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
19522
19523         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19524
19525 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19526
19527         * stmt.c (expand_asm_operands): Fix index into inout_mode when
19528         reading it.
19529
19530 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
19531
19532         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19533         * tm.texi (MD_ASM_CLOBBERS): Document it.
19534
19535 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
19536
19537         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19538         * except.c (expand_rethrow): Remove unused variable.
19539         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19540         * flow.c (replace_insns): Likewise.
19541         (create_edge_list, verify_edge_list): Likewise.
19542         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19543
19544         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19545         is special code to run.
19546         (main): Don't define operands to emit_operand.
19547         * genrecog.c (main): Don't emit an empty peephole2_insn function.
19548
19549         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19550
19551         * alpha/alpha.h (normal_memory_operand): Declare.
19552         (reg_no_subreg_operand): Declare.
19553         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19554
19555 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
19556
19557         * c-parse.in (compstmt_primary_start): New, broken out of first
19558         part of compstmt handling in primary.
19559         (primary): Use it.  Add an error clause.
19560         (compstmt_nostart): Renamed from compstmt; remove all
19561         initial invocations of compstmt_start.
19562         (compstmt): New.
19563
19564 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
19565
19566         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
19567         needed.
19568
19569 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
19570
19571         * combine.c (simplify_shift_const): Remove extra semicolon.
19572         * dwarf2out.c (remove_AT): Likewise.
19573         * expmed.c (expand_mult): Likewise.
19574         * gcov.c (create_program_flow_graph): Likewise.
19575         * reorg.c (mostly_true_jump): Likewise.
19576
19577 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
19578
19579         * fold-const.c (fold_range_test): Do not try to fold the range
19580         test if the rhs or lhs has side effects.
19581
19582         * combine.c (simplify_rtx): Recognize another case of a synthesized
19583         sign extension.
19584
19585         * varasm.c (mark_constant_pool): When marking indirect references,
19586         only look at SYMBOL_REFs.
19587
19588         * except.c (expand_fixup_region_end): Do not peek at
19589         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19590
19591 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
19592
19593         * flags.h: New variables align_loops, align_loops_log,
19594         align_jumps, align_jumps_log, align_labels, align_labels_log,
19595         align_functions, align_functions_log.
19596         * toplev.c: Define them.
19597         (f_options): Handle -falign-* when they have no argument.
19598         (main): Add logic to set variables for -falign-functions,
19599         -falign-jumps, -falign-labels, -falign-loops.
19600         Make it -fsched-verbose=<n> and -finline-limit=<n>.
19601         (display_help): Change help to match options.
19602         * final.c (LABEL_ALIGN): Default to align_labels_log.
19603         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19604         (LOOP_ALIGN): Default to align_loops_log.
19605         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19606         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19607         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19608         * varasm.c (assemble_start_function): Handle align_functions.
19609
19610         * config/sparc/sparc.h: Don't declare sparc_align_*.
19611         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19612         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19613         sparc.c.
19614         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19615         it's a promise.
19616         * config/sparc/sparc.c: Delete sparc_align_loops,
19617         sparc_align_jumps, sparc_align_funcs and the corresponding string
19618         variables.
19619         (sparc_override_options): Default align_functions on ultrasparc.
19620         Delete -malign-* handling.
19621
19622         * config/mips/mips.c (override_options):  On 64-bit targets,
19623         try to align code to 64-bit boundaries.
19624         (print_operand): New substitution, %~,
19625         which aligns labels to align_labels_log.
19626         * config/mips/mips.md (div_trap_normal): Use %~.
19627         (div_trap_mips16): Likewise.
19628         (abssi): Likewise.
19629         (absdi2): Likewise.
19630         (ffssi2): Likewise.
19631         (ffsdi2): Likewise.
19632         (ashldi3_internal): Likewise.
19633         (ashrdi3_internal): Likewise.
19634         (lshrdi3_internal): Likewise.
19635         (casesi_internal): Likewise.
19636
19637 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
19638
19639         Merge new ia32 backend from the branch!
19640
19641         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19642         See ChangeLog.P2 on new_ia32_branch for details.
19643
19644         * rtl.h (stack_regs_mentioned_p): Delete prototype.
19645         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19646         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19647         * i386/gas.h (ASM_FILE_START): Define.
19648         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19649         for name change of ix86_valid_decl_attribute_p.
19650         (i386_pe_valid_type_attribute_p): Similarly.
19651
19652 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
19653
19654         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19655         to step through CC modes.
19656
19657 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19658
19659         * regmove.c (fixup_match_1): Don't move INSN in front of P if
19660         it would end up in the shadow of a live flags regsiter.
19661
19662 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19663
19664         * reload1.c: Fix many indentation problems.
19665         * reload.c: Likewise.
19666
19667 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
19668
19669         * alias.c (non_local_reference_p): Constify fmt.
19670
19671 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
19672
19673         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19674
19675 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
19676
19677         * cse.c (delete_trivially_dead_insns): Do not delete stores to
19678         the internal_arg_pointer.
19679
19680 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
19681
19682         Merge peephole2 from new_ia32_branch:
19683         * Makefile.in (STAGESTUFF): Add *.peephole2.
19684         (mostlyclean): Likewise.
19685         (recog.o): Depend on resource.h.
19686
19687         * final.c (peephole): Conditionalize decl on HAVE_peephole.
19688         (final_scan_insn): Likewise for the invocation of peephole.
19689         * genconfig.c (main): Look for peephole and peephole2 patterns.
19690         Emit HAVE_peephole* accordingly.
19691         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19692         * flags.h (flag_peephole2): Declare.
19693         * toplev.c: New pass peephole2.  New flag -fpeephole2.
19694
19695         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19696         * gencodes.c (main): Likewise.
19697         * genextract.c (main): Likewise.
19698         * genoutput.c (main): Likewise.
19699         * genemit.c (max_operand_1): Look for the max scratch operand.
19700         (gen_rtx_scratch): New.
19701         (gen_exp): Use it, and pass on new arg subroutine_type.
19702         (gen_expand): Take max scratch into account.
19703         (gen_split): Emit peephole2 functions.
19704         (output_peephole2_scratch): New.
19705         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
19706         * genrecog.c (routine_type): Add PEEPHOLE2.
19707         (IS_SPLIT): New.
19708         (make_insn_sequence): Match outer parallel for peep2.  Discard
19709         top level scratches and dups.
19710         (add_to_sequence): New args insn_type and top.  Update all callers.
19711         Handle toplevel peep2 matching insns.
19712         (write_subroutine): Handle peep2.
19713         (write_tree_1): Likewise.
19714         (write_tree): Likewise.
19715         (main): Likewise.
19716         (change_state): New arg afterward.  Update all callers.
19717         Handle matching separate insns.
19718         * recog.c (recog_next_insn): New.
19719         (peephole2_optimize): New.
19720         * rtl.def (DEFINE_PEEPHOLE2): New.
19721         * resource.c (find_free_register): New argument last_insn.  Use it
19722         to find a register available through the entire span.
19723         * resource.h (find_free_register): Update prototype.
19724
19725 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
19726
19727         * i386.c (output_strlen_unroll): Don't write xops[7]
19728         label if it wasn't set.
19729
19730 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
19731
19732         * cpplib.c (struct directive): Const-ify name pointer and
19733         function pointer prototype.
19734         (validate_else, do_define, do_line, do_include, do_undef,
19735         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19736         do_elif, do_endif, do_sccs, do_assert, do_unassert,
19737         do_warning): Const-ify second arg.
19738         (directive_table): Mark const.  Reorder entries by frequency
19739         of usage, record statistics.
19740
19741 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19742
19743         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19744         bounds- check RTL accesses if --enable-checking.
19745         (RTVEC_ELT): Bounds check if --enable-checking.
19746         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19747         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19748         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19749         GET_NUM_ELEM.
19750         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19751         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
19752
19753         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19754         (NOTE_SOURCE_FILE): Use X0STR.
19755         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19756         MEM_ALIAS_SET): Use X0INT.
19757         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19758         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19759         Use X0EXP.
19760         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19761         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19762         (rtl_check_failed_bounds, rtl_check_failed_type1,
19763         rtl_check_failed_type2, rtvec_check_failed_bounds): New
19764         functions.
19765         (fancy_abort): Fix comment.
19766
19767         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19768         (cse_insn): Decrement LABEL_NUSES for jump target before
19769         deleting jump insn.
19770         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19771         * final.c (alter_subreg): Compute regno before changing x to
19772         REG; set REGNO(x) after changing it.
19773         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19774         notes containing CONST_INTs.
19775         (delete_eh_regions): Use NOTE_EH_HANDLER.
19776         * function.c (put_reg_into_stack): Make reg a MEM before
19777         initializing it.
19778         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
19779         delete insn.
19780         (gen_mem_addressof): Make reg a MEM before initializing it.
19781         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19782         X0WINT.
19783         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19784         deleting an insn, not after.
19785         (block_alloc): Only look at PATTERN(insn) if we have to, and
19786         only if it's format class 'i'.
19787         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19788         CONST_INT before using its INTVAL.
19789         * print-rtl.c (print_rtx): Use X0STR.
19790         * regmove.c (fixup_match_1): Don't look at PATTERN of
19791         non-class-'i' insn chain elements.
19792         * reload.c (loc_mentioned_in_p): Take address of
19793         in->fld[1].rtx directly.
19794         * reload1.c (reload): Change reg to a MEM before initializing
19795         it.
19796         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19797         have no names.
19798         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19799
19800 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
19801
19802         * config/mips/mips.c (machine_dependent_reorg): Force a
19803         barrier to output the local constant pool if a barrier hasn't
19804         been found at a natural point in the instruction stream.
19805
19806 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19807
19808         * c-parse.in (language_string): Constify.
19809
19810         * dwarf2out.c (language_string): Remove declaration.
19811
19812         * dwarfout.c (language_string): Likewise.
19813
19814         * toplev.c (language_string, init_parse, finish_parse): Likewise.
19815
19816         * tree.h (language_string, init_parse, finish_parse): Declare.
19817
19818         * i386/sun386.h (language_string): Remove declaration.
19819
19820         * mips.h (language_string): Likewise.
19821
19822         * nextstep.h (language_string): Likewise.
19823
19824         * nextstep21.h (language_string): Likewise.
19825
19826         * rs6000.c (language_string): Likewise.
19827
19828 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19829
19830         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19831         (getpwd.o): Remove target.
19832
19833         * getpwd.c: Delete file.  Its in libiberty now.
19834
19835         * dbxout.c (getpwd): Don't prototype.
19836         * dwarf2out.c (getpwd): Likewise
19837         * dwarfout.c (getpwd): Likewise
19838         * final.c (getpwd): Likewise.
19839         * protoize.c (getpwd): Likewise.
19840
19841 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19842
19843         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19844
19845 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
19846
19847         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19848         mark_set_resources.
19849
19850 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
19851
19852         * fixinc/Makefile.in (subdir): New.
19853         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19854         (Makefile): New.
19855
19856 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
19857
19858         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19859         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19860         be shared.
19861
19862         * invoke.texi: Fix typo.
19863
19864         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
19865         changed.  Handle autoincrement addressing modes.
19866
19867         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19868         just like we would the virtual incoming args register when
19869         integrating.
19870
19871 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
19872
19873         * rs6000.h (ASM_FILE_START): Specify complete filename, including
19874         path, in .file directive.
19875
19876 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
19877
19878         * gcc.texi (External Bugs): Remove obsolete note about Perl on
19879         SunOS.
19880
19881 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
19882
19883         * stdbool.h: Make the typedef name _Bool, with bool a #defined
19884         alias.
19885
19886 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19887
19888         * tree.c (tree_code_name): Constify a char*.
19889
19890         * tree.h (tree_code_name, decl_printable_name): Likewise.
19891
19892         * function.h (struct function): Likewise.
19893
19894         * toplev.c (decl_name, decl_printable_name): Likewise.
19895
19896         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19897
19898         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19899         (init_objc): Remove function pointer cast.
19900
19901 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
19902
19903         * pa.md (interspace_jump): New pattern.
19904         (builtin_longjmp): New expander.
19905
19906 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
19907
19908         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19909         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19910         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19911
19912 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
19913
19914         * jump.c (delete_prior_computation): Also check calls
19915         to constant functions.  Don't bother checking for a
19916         REG_UNUSED note before adding it.
19917         (delete_computation): Handle multi-word hard registers
19918         when synthesizing missing REG_DEAD notes for a register
19919         which is both set and used by an insn.
19920
19921 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19922
19923         * loop.c (this_loop_info): New variable.
19924         (loop_has_call, loop_has_volatile, loop_has_tablejump,
19925         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19926         All uses updated.
19927         (prescan_loop, strength_reduce): New argument loop_info.  All callers
19928         updated.
19929         (scan_loop): New variable loop_info, initialise to address of
19930         this_loop_info.
19931         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19932         Delete variable loop_has_multiple_exit targets and replace with
19933         field in this_loop_info.
19934         (find_and_verify_loops): Rename this_loop to this_loop_num.
19935         (strength_reduce): Delete loop_iteration_info.  Replace variable
19936         loop_info with function argument of same name.
19937         (insert_bct): Rework test for loop being completely unrolled.
19938
19939         * loop.h (struct loop_info): New fields num, loops_enclosed,
19940         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19941         has_indirect_jump, and cont.  Redefine use of unroll_number.
19942         (loop_unroll_number): Delete.
19943
19944         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19945         field of loop_info.
19946         (loop_iterations): Delete variable vtop and instead use
19947         loop_info->vtop computed in prescan_loop.
19948
19949 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
19950
19951         * fix-header.c (main): Do not pass a null pointer to strcmp.
19952
19953 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
19954
19955         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
19956         filenames.
19957         * configure: Rebuilt.
19958
19959 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
19960
19961         * jump.c (jump_optimize_1): Do not delete assignments to
19962         internal_arg_pointer.
19963         * cse.c (delete_trivially_dead_insns): Always consider a set of
19964         the internal_arg_pointer live.
19965
19966 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
19967
19968         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
19969         (update_life_info) [REG_WAS_0]: Search the original insns rather
19970         than the new insns for the note.  Fix typos finding note_dest.
19971         If no dest found, discard the note rather than abort.
19972         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
19973         (replace_insns): Remove the old insn list after update_life_info
19974         not before.
19975
19976 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
19977
19978         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
19979         sched_analyze_insn.
19980         (sched_analyze_1): Let add_dependence care for not adding dups.
19981         (sched_analyze_2): Likewise.
19982         (add_branch_dependences): Likewise.
19983
19984 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19985
19986         * i386/winnt.c (export_list): New type.
19987         (exports_head): Rename to
19988         (export_head):  this.
19989         (i386_pe_record_exported_symbol): Add is_data flag.
19990         (i386_pe_asm_file_end): Emit directive for exported variables.
19991         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
19992         prototype.
19993         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
19994         (ASM_DECLARE_OBJECT_NAME): Likewise.
19995         (ASM_DECLARE_FUNCTION_NAME): Likewise.
19996         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
19997
19998 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
19999
20000         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20001
20002         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20003         operand.
20004
20005 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
20006
20007         * config/openbsd.h: Define SET_ASM_OP.
20008         * tm.texi: cross-reference SET_ASM_OP in the index.
20009
20010 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
20011
20012         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20013         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
20014         and class_narrowest_mode at compile time.  Kill init_rtl.
20015         Mark rtx_length, mode_class, mode_size, mode_unit_size,
20016         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20017         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
20018         EXTRA_CC_NAMES.
20019         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20020         format.
20021         * rtl.h: Declare rtx_length and rtx_format as const.
20022         * machmode.def: Define CC().  Use CC() to define CCmode.  If
20023         EXTRA_CC_MODES is defined, expand it here.
20024         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20025         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20026         const.  Kill all references to EXTRA_CC_MODES.
20027
20028         * toplev.c: Don't prototype or call init_rtl.
20029         * optabs.c: Don't call init_mov_optab.
20030         * genemit.c: Don't generate init_mov_optab.  Don't call
20031         init_rtl.
20032         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20033         here.
20034         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20035         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20036         genrecog.c: Don't call init_rtl.
20037
20038         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20039         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
20040         definition of EXTRA_CC_MODES.
20041
20042         * md.texi: Kill ref to EXTRA_CC_NAMES.
20043         * tm.texi: Document new way to define EXTRA_CC_MODES.
20044
20045         * genrecog.c: Do not look up the name of a define_split.
20046         (Unrelated bugfix.)
20047
20048 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
20049
20050         * config/v850/v850.md: Fix typo introduced by previous delta.
20051
20052 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20053
20054         * gcc.c (fatal): Make definition static to match prototype.
20055
20056 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20057
20058         * combine.c (get_last_value): Don't look for earlier sets if the last
20059         known set is somewhere in between the insns being combined.
20060
20061 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
20062
20063         * configure.in: Don't use shell ! to negate exit codes
20064         * configure: Regenerate
20065
20066 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
20067
20068         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20069         the fact that ALIGN is measured in bits, not bytes.
20070
20071 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
20072
20073         * errors.c: New file; defines functions error, warning, and
20074         fatal, variables have_error and progname.
20075         * errors.h: New file; prototypes and decls for stuff in errors.c.
20076
20077         * Makefile: Add rules to build errors.o and
20078         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
20079         genopinit, genrecog, genextract, genpeep, genattr, and
20080         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
20081         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20082         genpeep.o, genattr.o, and genoutput.o.
20083
20084         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20085         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
20086         define or prototype fatal.  Set progname at beginning of main.
20087         * genoutput.c:  Likewise, and don't define or prototype error
20088         either.
20089
20090         * c-typeck.c (c_expand_start_case): Return immediately if exp
20091         is an ERROR_MARK.
20092         * fold-const.c (operand_equal_p): Return immediately if arg1
20093         or arg0 are ERROR_MARKs.
20094         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20095         fields of type ERROR_MARK when calculating if the record can
20096         go in a register.
20097
20098 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
20099         with much help from Jeffrey A Law and Richard Henderson
20100
20101         * i386.md: In the 6 insns which call output_fix_trunc,
20102         earlyclobber operands[0].
20103
20104 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
20105
20106         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20107         creating new registers.
20108
20109 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
20110
20111         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20112         i386_reg_alloc_order, i386_regparm_string,
20113         i386_align_loops_string, i386_align_jumps_string,
20114         i386_align_funcs_string, i386_preferred_stack_boundary_string,
20115         and i386_branch_cost_string as type "const char *".
20116         * i386.c: Define all above strings as type "const char *".
20117
20118 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
20119
20120         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20121         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
20122
20123 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20124
20125         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20126         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20127
20128 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
20129
20130         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20131         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20132         (dwarf2out_line, dwarf2out_finish): Likewise.
20133         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20134
20135 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20136
20137         * tree.c (lang_unsave_expr_now) : Correct return type.
20138         * tree.h (lang_unsave_expr_now) : Same.
20139
20140 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
20141
20142         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20143         instead of duplicating code.
20144
20145 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20146
20147         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20148
20149 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
20150
20151         * tree.h: fancy_abort always takes three args.
20152         * resource.c: Move include of system.h before toplev.h.
20153
20154 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
20155
20156         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20157         as SYMBOL_REFs.
20158
20159 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
20160
20161         * system.h: Don't redefine abort or trim_filename.
20162         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20163         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20164         whether or not __FUNCTION__ is available.
20165         * tree.h: Duplicate rtl.h's definition of abort, for files
20166         that don't include rtl.h.  Delete all code to perform type
20167         checking with a compiler other than GCC.
20168         * varray.h: Delete all code to perform type checking with a
20169         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
20170         its arguments exactly once, using a statement expression.
20171         Adjust the VARRAY_<type> accessor macros to match.
20172         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20173         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20174         caller's location.  Define fatal_insn and fatal_insn_not_found
20175         as macros that use _fatal_insn and _fatal_insn_not_found.
20176         (fancy_abort, trim_filename): Kill prototypes.
20177
20178         * rtl.c (trim_filename): Move here from toplev.c.
20179         (fancy_abort): New function.
20180         (DIR_SEPARATOR): Provide default definition.
20181         * tree.c (tree_check_failed, tree_class_check_failed): Go
20182         through fancy_abort.
20183         (tree_check, tree_class_check, cst_or_constructor_check,
20184         expr_check): Delete.
20185         * varray.c (varray_check_failed): New function.
20186         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20187         _fatal_insn and _fatal_insn_not_found.  Go through
20188         fancy_abort.
20189         (trim_filename, fancy_abort): Delete.
20190
20191         * builtins.c (expand_builtin_args_info): Report ICE with abort.
20192         * except.c (start_catch_handler): Report ICE with error/abort
20193         combo.
20194         * final.c (output_operand_lossage): Likewise.
20195         * flow.c (verify_flow_info): Likewise.
20196
20197         * gcc.c: Prototype fatal.
20198         * gengenrtl.c: Undef abort after including rtl.h not system.h.
20199         * genattr.c, genattrtab.c, genemit.c, genextract.c,
20200         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20201         Don't define fancy_abort.
20202
20203 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
20204
20205         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20206         canonization.
20207
20208 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
20209
20210         * m88k.h (VERSION_INFO2): Kill.
20211         (VERSION_STRING): Kill.
20212         (TM_RCS_ID): Kill.
20213         (VERSION_INFO1): Tidy.
20214         (TARGET_VERSION): Update.
20215         * m88k/dgux.h (VERSION_INFO2): Kill.
20216         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20217         * m88k/luna.h (VERSION_INFO1): Tidy.
20218         * m88k/sysv4.h (VERSION_INFO1): Likewise.
20219         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20220         (output_file_start): Adjust for death of VERSION_STRING.
20221
20222 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
20223
20224         * cpplib.c (detect_if_not_defined): New function.
20225         (do_if): Use it to detect potential once-only headers.
20226
20227 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
20228
20229         * c-common.c (combine_strings): Always set TREE_CONSTANT.
20230
20231 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20232
20233         * combine.c (nonzero_bits) : Allow single-ly set registers to be
20234         anywere in the function only if they are pseudos and set before
20235         being used (not live at the start of the function).
20236         (num_sign_bit_copies) : Same.
20237         (get_last_value_validate) : Same.
20238         (get_last_value) : Same.
20239
20240 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
20241
20242         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20243         where N and M are constant and N is an integer multiple of M.
20244
20245 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20246
20247         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20248         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20249         sbitmap_union_of_preds): Add prototypes.
20250         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20251         the intersection of successors with the new flow graph structures.
20252         (sbitmap_intersection_of_preds): New function to compute the
20253         intersection of predecessors with the new flow graph structures.
20254         (sbitmap_union_of_succs): New function to compute the union of
20255         successors with the new flow graph structures.
20256         (sbitmap_union_of_preds): New function to compute the union of
20257         predecessors with the new flow graph structures.
20258         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20259         (expr_reaches_here_p): Use edge and basic_block structures instead
20260         of s_preds and s_succs.
20261         (compute_cprop_avinout): Use new sbitmap routines.
20262         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20263         of s_preds and s_succs.
20264         * flow.c (compute_flow_dominators): Compute dominators using
20265         edges and basic blocks instead of s_preds and s_succs.
20266
20267 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20268
20269         * lists.c (unused_insn_list, unused_expr_list): New file for
20270         maintaining various types of lists. New statics for maintaining a
20271         cache of available INSN_LIST and EXPR_LIST nodes.
20272         (free_list): Static function for freeing a list of INSN/EXPR nodes.
20273         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20274         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20275         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20276         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20277         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20278         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20279         (free_INSN_LIST_node): Free an individual INSN_LIST node.
20280         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20281         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20282         (remove_dependence, free_pending_lists): Use new global routines.
20283         (flush_pending_lists, sched_analyze_insn): Use new global routines.
20284         (sched_analyze, compute_block_backward_dependences): Use new routines.
20285         (sched_analyze_1, sched_analyze_2): Use new routines.
20286         (schedule_insns): Use new global routines.
20287         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20288         prototypes.
20289         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20290         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20291         prototypes.
20292         * toplev.c (rest_of_compilation): Initialize node cache.
20293         * Makefile.in (OBJS): Add lists.o to list of object files.
20294         (lists.o): Add dependancies.
20295
20296 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
20297
20298         * config/v850/v850.md: Fix compile time warning messages.
20299         * config/v850/v850.c: Fix compile time warning messages.
20300         * config/v850/v850.h: Fix compile time warning messages.
20301
20302 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20303
20304         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20305         Remove unused prototype for `init_lengths'.
20306
20307 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20308
20309         * calls.c (emit_call_1): Mark parameter `stack_size' with
20310         ATTRIBUTE_UNUSED.
20311         (expand_call): Initialize variable `insn'.
20312         (emit_library_call): Likewise for variable `high_to_save'.
20313         (emit_library_call_value): Likewise.
20314         (store_one_arg): Likewise for variables `lower_bound' and
20315         `upper_bound'.
20316
20317         * combine.c (try_combine): Likewise for variables `i2_code_number'
20318         and `other_code_number'.
20319         (find_split_point): Likewise for variables `pos', `unsignedp' and
20320         `inner'.
20321         (simplify_if_then_else): Likewise for variables `op' and `c1'.
20322         (simplify_and_const_int): Remove unused variable `width'.
20323         (merge_outer_ops): Likewise.
20324
20325         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20326         HOST_WIDE_INT' when comparing against one.
20327         (simplify_relational_operation): Likewise.
20328         (cse_insn): Initialize variables `src_eqv_volatile',
20329         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20330
20331         * final.c (init_final): Constify parameter `filename'.
20332         (final_start_function): Mark parameter `optimize' with
20333         ATTRIBUTE_UNUSED.
20334         (profile_function): Likewise for parameters `first' and `optimize'.
20335         (output_source_line): Likewise for parameter `file'.
20336
20337         * integrate.c (subst_constants): Cast a value to `size_t' when
20338         comparing against one.
20339         (mark_stores): Initialize variable `mode'.  Cast a value to
20340         `size_t' when comparing against one.
20341
20342         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20343
20344         * loop.c (move_movables): Initialize variable `first'.
20345         (strength_reduce): Likewise for variable `increment'.
20346         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
20347         value to `size_t' when comparing against one.
20348         (load_mems): Initialize variable `end_label'.
20349
20350         * output.h (init_final): Constify parameter.
20351
20352         * reload.c (decompose): Initialize variable `base'.
20353
20354         * reload1.c (reload): Likewise for variable `is_scalar'.
20355         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20356         (choose_reload_regs): Initialize variable `mode'.
20357         (emit_reload_insns): Likewise for variable `store_insn'.
20358         (reload_cse_noop_set_p): Mark parameter `insn' with
20359         ATTRIBUTE_UNUSED.
20360         (reload_combine): Initialize variable `set'.
20361
20362         * unroll.c (unroll_loop): Likewise for variable `local_label'.
20363         (copy_loop_body): Cast a value to `size_t' when comparing against
20364         one.
20365
20366         * varasm.c (assemble_variable): Initialize variable `size_tree'.
20367         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20368         (remove_from_pending_weak_list): Mark parameter `name' with
20369         ATTRIBUTE_UNUSED.
20370
20371 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20372
20373         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20374         gcse dump file.
20375
20376 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
20377
20378         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20379         (ASM_DECLARE_FUNCTION_NAME): Define.
20380         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20381         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20382         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20383         not already defined.
20384
20385 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20386
20387         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20388         of n_popped when call/call_value are not defined.
20389
20390 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
20391
20392         * tm.texi: GNU CC -> GCC conversion.
20393         (CC1_SPEC): Indicate it is used for all language front ends.
20394
20395 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
20396
20397         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20398         NOTE_INSN_EH_REGION_END correctly.
20399
20400 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20401                           Jeff Law <law@cygnus.com>
20402
20403         * loop.c (strength_reduce): Automatically unroll loops if the
20404         unrolled loop size is smaller than the rolled loop size.
20405
20406         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20407         and delete comment that code should be rewritten.
20408
20409 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
20410
20411         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20412         as reachable.
20413
20414         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20415
20416 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20417
20418         * fixinc/mkfixinc.sh: Don't fix uwin headers.
20419         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20420         (LINK_SPEC): Add -u _main when building executables.
20421         (ASM_DECLARE_FUNCTION): Update from Cygwin.
20422         (ASM_FILE_END): Use the default for ix86-pe.
20423         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20424
20425 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
20426
20427         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20428         and ASM_CLOSE_PAREN are empty strings.
20429
20430 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
20431                           Geoffrey Keating <geoffk@cygnus.com>
20432
20433         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20434         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20435         (unprotoize.o): Ditto.
20436         (test-protoize-simple): Don't define STD_PROTO_DIR.
20437         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
20438         changes to make 'test-protoize-simple' pass.
20439         (STD_PROTO_DIR): Remove define.
20440         (STANDARD_EXEC_PREFIX): Supply default define.
20441         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20442         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20443         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20444         (GET_ENV_PATH_LIST): New macro.
20445         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20446         (do_processing): Initialize default_syscalls_dir using new
20447         macros.  Use it to initialize syscalls_absolute_filename.
20448
20449 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
20450
20451         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20452         B into a register before emit_conditional_move.
20453
20454 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
20455
20456         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20457         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
20458         multiplicand out of (+ (* a b) (* c d)).
20459
20460 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
20461                           Richard Henderson  <rth@cygnus.com>
20462
20463         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20464         (new_insn_dead_notes): Likewise.
20465         (update_n_sets): Likewise.
20466         (update_flow_info): Move to flow.c, renamed to update_life_info;
20467         extend to handle multiple source insns.
20468         * flow.c: Include resource.h
20469         (unlink_insn_chain): New.
20470         (split_hard_reg_notes): New.
20471         (maybe_add_dead_note): New.
20472         (maybe_add_dead_note_use): New.
20473         (find_insn_with_note): New.
20474         (new_insn_dead_notes): New.
20475         (update_n_sets): New.
20476         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20477         (maybe_remove_dead_notes): New.
20478         (update_life_info): New.
20479         (prepend_reg_notes): New.
20480         (replace_insns): New.
20481         * output.h (update_life_info): Declare.
20482         * recog.c (split_block_insns): Use update_life_info.
20483         * resource.c (find_free_register): Use reg_alloc_order, don't use
20484         fixed regs, make sure the mode is supported, don't use new regs.
20485         (reg_dead_p): New.
20486         * rtl.h (replace_insns): Declare.
20487
20488 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
20489
20490         * expr.c (expand_expr): Cope with COND_EXPRs with one
20491         non-returning branch.
20492
20493 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
20494
20495         * expr.c (store_expr): Always pass down the target, even when not
20496         doing CSE.
20497
20498 1999-08-24  Nick Clifton  <nickc@cygnus.com>
20499
20500         * configure.in: Define target_cpu_default for v850 targets.
20501         * configure: Regenerate
20502
20503         * config/v850/v850.h (TARGET_CPU_generic): Define.
20504         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20505         addresses are 4 byte aligned.
20506
20507         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20508         addresses.
20509
20510 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20511
20512         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
20513         (main): Add prototypes.
20514
20515         * genattrtab.c (substitute_address, write_const_num_delay_slots,
20516         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20517         (write_attr_get): Emit prototypes along with function definition.
20518         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20519         (write_complex_function): Emit static prototype along with
20520         function definition.
20521
20522         * genemit.c (gen_split): Emit prototypes along with function
20523         definition.
20524
20525         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20526         Likewise for predicates and `insn_operand_predicate'.
20527         (process_template): Emit static prototype along with function
20528         definition.
20529
20530         * genrecog.c (make_insn_sequence): Constify a char*.  Add
20531         prototypes for get_split_*().
20532         (write_subroutine): Emit prototypes along with function
20533         definition.
20534
20535 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20536
20537         * gcse.c (find_avail_set): Follow chains of register-register copies.
20538         Use oprs_not_set_p to guarantee that the returned value can be
20539         substituted.
20540         (cprop_insn): Don't verify the return value of find_avail_set with
20541         oprs_not_set_p.
20542
20543         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20544         (cprop_cc0_jump): New function.
20545         (cprop_insn): Break out new function cprop_jump and use it.
20546         Also use cprop_cc0_jump for machines with CC0.
20547         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20548
20549         * tree.h (current_function_calls_setjmp,
20550         current_function_calls_longjmp): Delete declarations.
20551         * dsp16xx.c: Include "function.h".
20552         * elxsi.c: Likewise.
20553         * gmicro.c: Likewise.
20554         * h8300.c: Likewise.
20555         * i370.c: Likewise.
20556         * m32r.c: Likewise.
20557         * mn10200.c: Likewise.
20558         * mn10300.c: Likewise.
20559         * ns32k.c: Likewise.
20560         * spur.c: Likewise.
20561         * v850.c: Likewise.
20562
20563         * rtl.h (rtx_equal_function_value_matters): Declare.
20564         * toplev.c (rtx_equal_function_value_matters): Don't declare.
20565         * cse.c: Likewise.
20566         * function.c: Likewise.
20567         * emit-rtl.c: Likewise.
20568
20569 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
20570
20571         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20572         call.
20573
20574 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20575
20576         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20577         exactly.
20578
20579 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
20580
20581         * cpp.texi: Add a node documenting macro varargs (copied
20582         from extend.texi).
20583
20584 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
20585
20586         * cppspec.c: Put a null pointer at the end of the new argv.
20587
20588 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
20589
20590         * configure.in: Remove code to select/de-select the haifa
20591         scheduler.  Every scheduled port gets haifa now.
20592         * configure: Rebuilt.
20593         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20594         * sched.c Deleted.
20595         * Makefile.in: Corresponding changes.
20596
20597 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20598
20599         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20600         All callers changed.
20601         (prepare_float_lib_cmp): Likewise.
20602         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20603         * expr.h (emit_float_lib_cmp): Delete declaration.
20604         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20605         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20606         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20607         specially.
20608         (cmptf): Now conditional on TARGET_HARD_QUAD.
20609
20610 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
20611
20612         * resource.c (mark_target_live_regs): Use
20613         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20614
20615 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20616
20617         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20618
20619         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20620
20621         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20622
20623 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20624
20625         * rtl.h (rtx_format): Constify a char*.
20626
20627         * rtl.c (rtx_format): Likewise.
20628         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20629         (init_rtl): Use accessor macro, not `rtx_format'.
20630
20631         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20632         char*.
20633
20634         * caller-save.c (mark_referenced_regs): Likewise.
20635
20636         * combine.c (subst, make_compound_operation, known_cond,
20637         gen_rtx_combine, update_table_tick, get_last_value_validate,
20638         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20639
20640         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20641         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20642         count_reg_usage): Likewise.
20643
20644         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20645         Likewise.
20646
20647         * final.c (leaf_renumber_regs_insn): Likewise.
20648
20649         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20650         dump_edge_info, count_reg_references): Likewise.
20651
20652         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20653         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20654         Likewise.
20655
20656         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20657         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20658         add_label_notes): Likewise.
20659
20660         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20661         clear_struct_flag, count_sub_rtxs, count_alternatives,
20662         compares_alternatives_p, contained_in_p, walk_attr_value,
20663         write_expr_attr_cache): Likewise.
20664
20665         * genconfig.c (walk_insn_part): Likewise.
20666
20667         * genemit.c (max_operand_1, gen_exp): Likewise.
20668
20669         * genextract.c (walk_rtx): Likewise.
20670
20671         * genflags.c (num_operands): Likewise.
20672
20673         * genoutput.c (scan_operands): Likewise.
20674
20675         * genpeep.c (match_rtx): Likewise.
20676
20677         * genrecog.c (add_to_sequence): Likewise.
20678
20679         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20680         Likewise.
20681
20682         * integrate.c (save_constants, copy_for_inline,
20683         copy_rtx_and_substitute, subst_constants, restore_constants):
20684         Likewise.
20685
20686         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
20687         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20688
20689         * local-alloc.c (contains_replace_regs, memref_referenced_p):
20690         Likewise.
20691
20692         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20693         add_label_notes, replace_call_address, count_nonfixed_reads,
20694         invariant_p, find_single_use_in_loop, find_mem_givs,
20695         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20696         Likewise.
20697
20698         * print-rtl.c (reg_names, print_rtx): Likewise.
20699
20700         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20701
20702         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20703         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20704         print_blocks): Likewise.
20705
20706         * regclass.c (fix_register, record_address_regs,
20707         reg_scan_mark_refs): Likewise.
20708
20709         * regmove.c (stable_but_for_p): Likewise.
20710
20711         * reload.c (loc_mentioned_in_p, operands_match_p,
20712         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20713         copy_replacements, refers_to_regno_for_reload_p,
20714         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20715         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20716         Likewise.
20717
20718         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20719         delete_address_reloads_1, count_occurrences,
20720         reload_cse_mem_conflict_p, reload_combine_note_use,
20721         add_auto_inc_notes): Likewise.
20722
20723         * resource.c (mark_referenced_resources, mark_set_resources):
20724         Likewise.
20725
20726         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20727         reg_mentioned_p, regs_set_between_p, modified_between_p,
20728         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20729         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20730         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20731         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20732
20733         * sched.c (sched_analyze_2, attach_deaths): Likewise.
20734
20735         * stupid.c (stupid_mark_refs): Likewise.
20736
20737         * unroll.c (remap_split_bivs): Likewise.
20738
20739         * varasm.c (mark_constants): Likewise.
20740
20741         * a29k/a29k.c (uses_local_reg_p): Likewise.
20742
20743         * alpha/alpha.c (summarize_insn): Likewise.
20744
20745         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20746         eliminate_lr2ip): Likewise.
20747
20748         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20749
20750         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20751         reg_mentioned_in_mem): Likewise.
20752
20753         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20754         symbolic_reference_mentioned_p): Likewise.
20755
20756         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20757
20758         * sh/sh.c (regs_used, mark_use): Likewise.
20759
20760         * vax/vax.c (vax_rtx_cost): Likewise.
20761
20762 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20763
20764         * machmode.h (mode_name): Constify a char*.
20765
20766         * rtl.c (mode_name): Likewise.
20767
20768         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20769
20770         * optabs.c (init_libfuncs): Constify a char*.
20771
20772         * print-tree.c (mode_name): Remove redundant declaration.
20773         (print_node): Use accessor macro, not `mode_name'.
20774
20775         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
20776         not `mode_name'.
20777         (new_spill_reg): Constify a char*.
20778
20779         * tree.c (mode_name): Remove redundant declaration.
20780
20781 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20782
20783         * rtl.c (rtx_name): Constify a char*.
20784
20785         * rtl.h (rtx_name, fix_sched_param): Likewise.
20786
20787         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20788         (mypr): Use accessor macro, not `rtx_name'.
20789
20790         * genemit.c (print_code): Constify a char*.
20791
20792         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20793
20794         * genpeep.c (print_code): Constify a char*.
20795
20796         * genrecog.c (print_code): Likewise.
20797
20798         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20799         end_bb): Add static prototype.
20800         (draw_edge): Constify a char*.
20801         (end_bb): Remove unused parameter.
20802
20803         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20804         print_block_visualization): Constify a char*.
20805
20806 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
20807
20808         * c-common.c (c_get_alias_set): Update comment.
20809
20810 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20811
20812         * linux.h (LIB_SPEC): Added.
20813
20814 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20815
20816         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20817
20818 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
20819
20820         * tree.c (expr_check): Fix typo in last change.
20821
20822 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
20823
20824         * rtl.def (NOTE): Change format to "iuu0n".
20825         (ADDR_DIFF_VEC): Change format to "eEee0".
20826         (ADDRESSOF): Change format to "eit".
20827
20828         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20829         (RTVEC_ELT): Change to match.
20830         (XVECEXP): Use XVEC and RTVEC_ELT.
20831         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20832         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20833         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20834         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20835         TRAP_CONDITION, TRAP_CODE): Use XEXP.
20836         (INTVAL): Use XWINT.
20837         (ADDRESSOF_DECL): Use XTREE.
20838         (SET_ADDRESSOF_DECL): Delete.
20839         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20840         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
20841         ifdefed out since 2.6 at least.
20842         (gen_rtvec_vv): Delete prototype.
20843
20844         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20845         not rtunion.
20846         (copy_most_rtx): Handle 't' format letter.
20847         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20848         (gen_rtvec_vv): Delete function.  All callers changed to use
20849         gen_rtvec_v instead.
20850         * print-rtl.c (print_rtx): Move special casing of NOTEs to
20851         the '0' format letter.
20852
20853         * function.c (gen_mem_addressof): Don't use
20854         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20855         instead.
20856         * integrate.c (copy_rtx_and_substitute): Likewise.
20857         Copy 't' slots with XTREE.
20858         (subst_constants): Treat 't' slots like '[swi]' slots.
20859         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20860         * jump.c (rtx_equal_for_thread_p): Likewise.
20861         * rtlanal.c (rtx_equal_p): Likewise.
20862         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20863         only four arguments.
20864         * gengenrtl.c (type_from_format): Provide correct types for
20865         'b' and 't' slots.
20866
20867
20868         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20869         If a recent gcc is in use (always in stage2 and beyond), use
20870         statement expressions, so we don't make a function call unless
20871         the check fails.  Evaluate arguments exactly once.
20872         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20873         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20874         Delete.
20875         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20876         they evaluate their arguments exactly once, irrespective of
20877         the compiler in use.
20878
20879         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20880         is used by the currently-enabled check macros.  This is:
20881         (tree_check_failed, tree_class_check_failed): For gcc.
20882         (tree_check, tree_class_check, cst_or_constructor_check,
20883         expr_check): For other compilers.
20884
20885         * gencheck.c: Do not define any *_CHECK1 macros.
20886
20887 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
20888                           Mark Mitchell <mark@codesourcery.com>
20889
20890         * c-common.c (c_get_alias_set): Fix support for poitners and
20891         references.
20892
20893 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
20894
20895         * alias.c: Include tree.h.
20896         (nonlocal_reference_p, mark_constant_function): New functions.
20897         * flow.c (life_analysis): Call mark_constant_function.
20898         * rtl.h (mark_constant_function): Declare it.
20899
20900 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
20901
20902         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20903         unrecognisable switches.
20904
20905 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20906
20907         * loop.c (recombine_givs): Set ix field after sorting.
20908         (recombine_givs): Remove bogus index / giv lockstep looping.
20909
20910 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20911
20912         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20913         on CODE.
20914         (emit_store_flag_force): Use do_compare_rtx_and_jump.
20915         (do_cmp_and_jump): Formatting fixes.
20916         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20917         do_compare_rtx_and_jump instead of compare_from_rtx.
20918         (do_compare_rtx_and_jump): New function; mostly copied from
20919         compare_from_rtx.
20920         (do_jump_for_compare): Delete.
20921         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20922         MIN_EXPR.
20923         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20924         of compare/do_jump_for_compare pairs.
20925         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20926         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20927         compare_from_rtx/do_jump_for_compare pairs.
20928         (do_jump_by_parts_equality): Likewise.
20929         (do_jump_by_parts_equality_rtx): Likewise.
20930         * expr.h (do_compare_rtx_and_jump): Declare.
20931         * optabs.c (prepare_cmp_insn): New function, contains most of the code
20932         that used to be in emit_cmp_insn.
20933         (cmp_available_p): New function.
20934         (prepare_operand): New function.
20935         (emit_cmp_and_jump_insn_1): New function, contains some code that used
20936         to be in emit_cmp_insn.
20937         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20938         parameters to be pointers; don't emit final compare but modify some of
20939         the values pointed to by the args so the caller can perform the
20940         correct comparison.
20941         (expand_binop): Call emit_store_flag_force with signed forms of
20942         comparison code.
20943         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20944         emit_jump_insn pair.
20945         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20946         emit_cmp_and_jump_insn_1.  Call emit_queue.
20947         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20948         arg.
20949         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20950         jump sets cc0 before deleting it.
20951         * integrate.c (expand_inline_function): Likewise.
20952         * unroll.c (unroll_loop): Similar changes in several places.
20953         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
20954         before deleting it.
20955
20956 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20957
20958         * Makefile.in (insn-recog.o): Update dependencies.
20959         * genrecog.c (main): Make generated file include "function.h".
20960
20961 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
20962
20963         * cse.c (cse_insn): Call never_reached_warning when a jump is
20964         changed to be unconditional.
20965         * flags.h: Declare warn_notreached.
20966         * flow.c (delete_block): Call never_reached_warning when
20967         a block is deleted.
20968         * jump.c (delete_barrier_successors): Call never_reached_warning
20969         when we delete everything after a BARRIER.
20970         (never_reached_warning): New function.
20971         * rtl.h: Declare never_reached_warning.
20972         * toplev.c (warn_notreached): New variable.
20973         (lang_independent_options): Set warn_notreached
20974         when -Wunreachable-code.
20975         (compile_file): We need line numbers for -Wunreachable-code.
20976
20977 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
20978
20979         * haifa-sched.c (insn_unit): Fix typo on out of range test.
20980         * sched.c (insn_unit): Likewise.
20981
20982 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
20983
20984         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
20985
20986 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20987
20988         * flow.c (create_edge_list): Use xmalloc, not malloc.
20989
20990 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
20991
20992         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
20993         C-style comments.  Do not lose the character before double slash.
20994
20995 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20996
20997         * basic-block.h (struct edge_list): Stucture to maintain a vector
20998         of edges.
20999         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21000          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21001         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21002         New function prototypes.
21003         * flow.c (create_edge_list): Function to create an edge list.
21004         (free_edge_list): Discards memory used by an edge list.
21005         (print_edge_list): Debug output showing an edge list.
21006         (verify_edge_list): Internal consistency check for an edge list.
21007         (find_edge_index): Function to find an edge index for a pred and succ.
21008
21009 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
21010
21011         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21012         hashtable.
21013
21014 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
21015
21016         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21017
21018 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21019
21020         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21021
21022 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
21023
21024         * toplev.c (rest_of_compilation): Allow machine dependent
21025         reorganisation pass to place information into the RTL dump
21026         file if it so wishes.
21027
21028 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
21029
21030         * explow.c (hard_function_value): Use VOIDmode instead of
21031         MAX_MACHINE_MODE.
21032         * stmt.c (expand_return): Likewise.
21033         * stor-layout.c (get_best_mode): Likewise.
21034
21035         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21036         emit call instead of emit_insn call.
21037
21038 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21039
21040         * configure.in: Handle --disable/enable-win32-registry.
21041         * install.texi: Document --disable/enable-win32-registry.
21042         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21043         (WIN32_REGISTRY_KEY): New macro.
21044         * prefix.c: Use to enable/disable win32-specific code.
21045         (lookup_key): Use versioned key.
21046         * configure: Regenerate.
21047         * config.in: Likewise.
21048
21049 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
21050
21051         * cpplib.c (read_line_number): New fn, split out of...
21052         (do_line): Here.
21053
21054 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21055
21056         tree.c (lang_unsave_expr_now) : New.
21057         (unsave_expr_now): Call lang_unsave_expr_now.
21058         tree.h (lang_unsave_expr_now) : New.
21059
21060 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
21061
21062         * toplev.c (flag_new_exceptions): On by default.
21063
21064 1999-08-13  Michael Meissner  <meissner@cygnus.com>
21065
21066         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21067
21068 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21069
21070         * dwarfout.c (fundamental_type_code): Return FT_boolean for
21071         INTEGER_TYPE with precision==1, it's __java_boolean.
21072
21073 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21074
21075         * global.c (prune_preferences): Move some invariants out of the
21076         inner loop.
21077
21078 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
21079
21080         * configure.in (alpha*-dec-osf*): Add osf5.
21081
21082 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
21083
21084         * configure.in: Rework handling of ARM GNU/Linux slightly.
21085         (arm*-*-linux-gnuoldld): New target.
21086         * configure: Regenerate.
21087         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21088         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
21089         * config/arm/linux-oldld.h: New file.
21090         * config/arm/linux-elf26.h: Don't include linux-elf.h.
21091         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21092         Don't define.
21093         * config/arm/linux-elf.h (ASM_SPEC): Define.
21094         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21095         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21096         for 26-bit APCS and old linker.
21097         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21098         `arm_elf'.
21099         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21100         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21101         don't define `arm' or `arm_elf'.
21102         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21103         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
21104
21105 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
21106
21107         * rtl.texi: Fix typo.
21108
21109 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
21110
21111         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21112
21113 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
21114
21115         * extend.texi (C++ Signatures): Remove node.
21116         * invoke.texi: Remove discussion of -fhandle-signatures,
21117         signature, sigof, __signature__, and __sigof__.
21118
21119 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
21120
21121         * Makefile.in (JAVAGC): Removed.
21122
21123 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21124
21125         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21126
21127 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21128
21129         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21130
21131 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
21132
21133         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21134         a register that is already known to be a pointer.
21135
21136 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
21137
21138         * fixinc/inclhack.tpl: Only install assert.h conditionally.
21139         * fixinc/inclhack.sh: Regenerated.
21140         * fixinc/fixincl.sh: Regenerated.
21141
21142 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
21143
21144         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21145         Fix documentation of -ansi flag to describe its C++ behavior.
21146         Remove bogus reference to GCC 2.9.
21147
21148 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
21149
21150         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21151         note if it is non-NULL.
21152
21153 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21154
21155         * except.h (eh_nesting_info): Add new structure defintion.
21156         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21157         (reachable_handlers, update_rethrow_references): Add function
21158         prototypes.
21159         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
21160         a rethrow symbol instead of an integer exception region number.
21161         * flow.c (Make_edges): Use new exception nesting routines to determine
21162         which handlers are reachable from a CALL or asynchronous insn.
21163         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21164         goto receivers.
21165         (delete_eh_regions): Update rethrow labels, and don't delete
21166         regions which are the target of a rethrow.
21167         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21168         avoid overloading the SYMBOL_REF_USED flag.
21169         (rethrow_symbol_map): Use new rethrow_ref field.
21170         (rethrow_used): Use new rethrow_ref field.
21171         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21172         of an integer.  Fix formatting.
21173         (output_exception_table_entry): Use new rethrow_ref field.
21174         (can_throw): Check for EH_REGION_NOTE before deciding
21175         whether a CALL can throw or not.
21176         (scan_region): Call rethrow_used() instead of accessing data structure.
21177         (update_rethrow_references): New function to make sure only regions
21178         which are still targets of a rethrow are flagged as such.
21179         (process_nestinfo): New static function to initialize a handler
21180         list for a specific region.
21181         (init_eh_nesting_info): New function to allocate and initialize
21182         the list of all EH handlers reachable from all regions.
21183         (reachable_handlers): New function to retrieve the list of handlers
21184         reachable from a specific region and insn.
21185         (free_eh_nesting_info): New function to dispose of a list of
21186         reachable handlers.
21187
21188 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21189
21190         * flow.c (split_edge): Set JUMP_LABEL field.
21191         (commit_one_edge_insertion): Set head correctly for insert_before.
21192         When inserting insns, update insn block numbers if allocated.
21193
21194 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21195
21196         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21197         retry_incomplete_types): Add static prototype.
21198         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21199         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21200         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21201         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21202         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21203         Constify a char*.
21204
21205         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21206         dwarf2out_start_source_file, dwarf2out_line): Likewise.
21207
21208 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21209
21210         * output.h (assemble_name): Constify a char*.
21211
21212         * varasm.c (UNIQUE_SECTION, assemble_start_function,
21213         assemble_variable, assemble_name): Likewise.
21214
21215         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21216
21217         * arm/pe.c (arm_pe_unique_section): Likewise.
21218
21219         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21220
21221         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21222
21223         * i386/interix.c (i386_pe_unique_section): Likewise.
21224
21225         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21226
21227         * i386/winnt.c (i386_pe_unique_section): Likewise.
21228
21229         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21230
21231         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21232
21233         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21234
21235         * pa/pa.c (output_call): Likewise.
21236
21237         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21238
21239         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21240
21241         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21242         Likewise.
21243
21244         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21245         Likewise.
21246
21247         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21248
21249         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21250         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21251
21252         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21253
21254 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21255
21256         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21257
21258 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21259
21260         * tree.h (lang_identify): Constify a char*.
21261         (print_error_function): Add extern prototype.  Constify a char*.
21262
21263         * c-lang.c (lang_identify): Constify a char*.
21264
21265         * objc/objc-act.c (lang_identify): Constify a char*.
21266
21267 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21268
21269         * genpeep.c (main): Make generated file include "function.h".
21270         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21271
21272 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21273
21274         * Makefile.in: Update dependencies.
21275         * alias.c: Include "function.h"
21276         * c-decl.c: Likewise.
21277         * caller-save.c: Likewise.
21278         * calls.c: Likewise.
21279         * combine.c: Likewise.
21280         * cse.c: Likewise.
21281         * explow.c: Likewise.
21282         * final.c: Likewise.
21283         * global.c: Likewise.
21284         * graph.c: Likewise.
21285         * local-alloc.c: Likewise.
21286         * loop.c: Likewise.
21287         * optabs.c: Likewise.
21288         * profile.c: Likewise.
21289         * recog.c: Likewise.
21290         * regclass.c: Likewise.
21291         * regmove.c: Likewise.
21292         * reload.c: Likewise.
21293         * reorg.c: Likewise.
21294         * resource.c: Likewise.
21295         * sched.c: Likewise.
21296         * stupid.c: Likewise.
21297         * config/1750a/1750a.c: Likewise.
21298         * config/a29k/a29k.c: Likewise.
21299         * config/arc/arc.c: Likewise.
21300         * config/arm/arm.c: Likewise.
21301         * config/arm/thumb.c: Likewise.
21302         * config/c4x/c4x.c: Likewise.
21303         * config/clipper/clipper.c: Likewise.
21304         * config/convex/convex.c: Likewise.
21305         * config/fx80/fx80.c: Likewise.
21306         * config/i860/i860.c: Likewise.
21307         * config/m68k/m68k.c: Likewise.
21308         * config/m88k/m88k.c: Likewise.
21309         * config/mips/mips.c: Likewise.
21310         * config/pdp11/pdp11.c: Likewise.
21311         * config/pyr/pyr.c: Likewise.
21312         * config/romp/romp.c: Likewise.
21313         * config/sh/sh.c: Likewise.
21314         * config/tahoe/tahoe.c: Likewise.
21315         * config/vax/vax.c: Likewise.
21316         * config/we32k/we32k.c: Likewise.
21317         * config/sparc/sparc.c: Include "function.h".
21318         (mem_min_alignment): Test current_function rather than
21319         regno_pointer_align.
21320         * config/pa/pa.c: Likewise.
21321         (compute_frame_size): Delete declaration of
21322         current_function_outgoing_args_size.
21323         * config/arc/arc.h (current_function_varargs): Delete declaration.
21324         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21325         declaration.
21326         * config/i370/i370.h (current_function_outgoing_args_size): Delete
21327         declaration.
21328         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21329         current_function_uses_pic_offset_table.
21330         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21331         of current_function_returns_pointer.
21332         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21333         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21334         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21335         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21336         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21337         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21338         * config/m88k/m88k.c: Include "function.h"
21339         (call_used_regs, current_function_pretend_args_size,
21340         current_function_outgoing_args_size, frame_pointer_needed): Delete
21341         declarations.
21342         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21343         declaration.
21344         * config/mips/mips.h (current_function_calls_alloca): Delete
21345         declaration.
21346         * config/mn10200/mn10200.h (current_function_needs_context,
21347         rtx_equal_function_value_matters): Delete declarations.
21348         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21349         flag_pic): Delete declarations.
21350         * config/pa/pa.h (current_function_pretend_args_size,
21351         current_function_decl): Delete declarations.
21352         * config/pa/som.h (current_function_varargs): Delete declaration.
21353         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21354         declaration.
21355         * config/pyr/pyr.h (current_function_pretend_args_size,
21356         current_function_args_size, current_function_calls_alloca): Delete
21357         declarations.
21358         * config/sh/sh.h (current_function_varargs): Delete declaration.
21359         * config/sparc/sparc.h (current_function_outgoing_args_size,
21360         current_function_calls_alloca, current_function_decl): Delete
21361         declarations.
21362         * config/spur/spur.h (current_function_pretend_args_size,
21363         current_function_calls_alloca): Delete declarations.
21364         * config/v850/v850.c (current_function_outgoing_args_size): Delete
21365         declaration.
21366         * config/vax/vms.h (current_function_name): Delete declaration.
21367         * gcse.c: Include "function.h".
21368         (current_function_name, current_function_calls_setjmp): Delete
21369         declarations.
21370         * haifa-sched.c: Include "function.h".
21371         (forced_labels): Delete declaration.
21372         * jump.c: Likewise.
21373         * reg-stack.c: Likewise.
21374         * reload1.c: Likewise.
21375         * genemit.c (main): Make generated file include function.h.
21376         * genoutput.c (output_prologue): Likewise.
21377
21378         * builtins.c (saveregs_value, apply_args_value): Delete variables.
21379         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21380         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21381         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21382         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
21383         macros for some of them.
21384         (emit_filename, emit_lineno): Delete declarations.
21385         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
21386         regno_pointer_* variables through current_function.
21387         (gen_inline_header_rtx): Delete function.
21388         (save_emit_status): Delete function.
21389         (set_new_last_label_num): New function.
21390         (clear_emit_caches): New function.
21391         (restore_emit_status): Just clear last_labelnum and call
21392         clear_emit_caches.
21393         (get_last_insn_anywhere): Variable sequence_stack is now accessed
21394         through macro seq_stack.
21395         (add_insn_after): Likewise.
21396         (add_insn_before): Likewise.
21397         (remove_insn): Likewise.
21398         (pop_topmost_sequence): Likewise.
21399         (in_sequence_p): Likewise.
21400         (start_sequence_for_rtl_expr): Likewise.
21401         (start_sequence): Likewise, and likewise for
21402         sequence_rtl_expr/seq_rtl_expr.
21403         (push_topmost_sequence): Likewise.
21404         (end_sequence): Likewise.
21405         (init_virtual_regs): Now takes a "struct emit_status *" argument.
21406         All callers changed.  Store into that pointer instead of globals.
21407         (init_emit): Allocate emit elt of current_function.
21408         Changes for sequence_rtl_expr/sequence_stack renaming.
21409         Call clear_emit_caches instead of doing it in-line.
21410         Access regno_pointer_* variables through current_function.
21411         (init_emit_once) Don't clear sequence_stack.
21412
21413         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21414         Delete variables.
21415         (arg_pointer_save_area): Delete declaration.
21416         (finish_expr_for_function): Renamed from init_queue; no longer static.
21417         (init_expr): Don't call init_queue.
21418         (save_expr_status, restore_expr_status): Delete functions.
21419         (expand_expr): Changes to reflect new layout of struct function.
21420         Don't access current_function_check_memory_usage when current_function
21421         is 0.
21422         * expr.h (forced_labels, save_expr_regs, saveregs_value,
21423         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21424         current_function_outgoing_args_size, current_function_arg_offset_rtx,
21425         current_function_uses_const_pool, function_call_count,
21426         current_function_uses_pic_offset_table, nonlocal_labels,
21427         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21428         current_function_check_memory_usage, nonlocal_goto_handler_slots,
21429         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21430         declarations.
21431         (finish_expr_for_function): Declare.
21432         * flags.h (current_function_has_nonlocal_label,
21433         current_function_has_nonlocal_goto, current_function_is_thunk,
21434         current_function_has_computed_jump): Delete declarations.
21435         * flow.c (forced_labels): Delete declaration.
21436         * function.c (current_function_pops_args,
21437         current_function_returns_struct, current_function_returns_pcc_struct,
21438         current_function_needs_context, current_function_calls_setjmp,
21439         current_function_calls_longjmp, current_function_has_nonlocal_label,
21440         current_function_has_nonlocal_goto, current_function_is_thunk,
21441         current_function_has_computed_jump, current_function_calls_alloca,
21442         current_function_contains_functions, current_function_returns_pointer,
21443         current_function_epilogue_delay_list, current_function_args_size,
21444         current_function_pretend_args_size, current_function_arg_offset_rtx,
21445         current_function_outgoing_args_size, current_function_varargs,
21446         current_function_stdarg, current_function_args_info, cleanup_label,
21447         current_function_name, current_function_uses_const_pool,
21448         current_function_instrument_entry_exit, current_function_return_rtx,
21449         current_function_uses_pic_offset_table, nonlocal_labels,
21450         current_function_internal_arg_pointer, current_function_cannot_inline,
21451         current_function_check_memory_usage, function_call_count,
21452         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21453         nonlocal_goto_stack_level, return_label, save_expr_regs,
21454         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21455         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21456         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21457         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21458         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21459         Delete variables.
21460         (push_function_context_to): Don't save them.  Don't call
21461         save_storage_status, save_emit_status or save_expr_status.
21462         (pop_function_context_from): Don't restore them.  Don't call
21463         restore_storage_status or restore_expr_status.
21464         (get_func_frame_size): New function.
21465         (get_frame_size): Use it.
21466         (assign_outer_stack_local): Reflect some member name changes in struct
21467         function.
21468         (put_reg_into_stack): Likewise.
21469         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21470         seq_rtl_expr.
21471         (fixup_var_refs): Likewise.
21472         (fix_lexical_addr): Likewise.
21473         (trampoline_address): Likewise.
21474         (prepare_function_start): Clear field inlinable of current_function.
21475         (init_function_for_compilation): New function.
21476         (expand_dummy_function_end): New function.
21477         (expand_function_end): Call finish_expr_for_function.
21478         * function.h (struct emit_status): New; fields moved here from struct
21479         function and from global variables.  Add accessor macros for some of
21480         the fields.
21481         (struct expr_status): Likewise.
21482         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21483         (struct function): Add fields expr and emit, inlinable, inl_emit,
21484         original_arg_vector, original_decl_initial, inl_last_parm_insn,
21485         inl_max_label_num.  Add many comments.
21486         Add accessor macros for all elts of struct function that no longer
21487         have a global variable.
21488         (cleanup_label, return_label, frame_offset, tail_recursion_label,
21489         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21490         stack_slot_list): Delete declarations.
21491         (get_func_frame_size): Declare.
21492         (save_expr_status, restore_expr_status, save_emit_status,
21493         save_storage_status, restore_storage_status): Delete declarations.
21494         (init_virtual_regs): Declare.
21495         * output.h (current_function_pops_args,
21496         current_function_returns_struct, current_function_returns_pcc_struct,
21497         current_function_needs_context, current_function_calls_setjmp,
21498         current_function_calls_longjmp, current_function_calls_alloca,
21499         current_function_has_nonlocal_label, current_function_varargs,
21500         current_function_has_computed_jump, current_function_returns_pointer,
21501         current_function_contains_functions, current_function_args_size,
21502         current_function_pretend_args_size, current_function_stdarg,
21503         current_function_outgoing_args_size, current_function_args_info,
21504         current_function_name, current_function_return_rtx,
21505         current_function_epilogue_delay_list,
21506         current_function_uses_const_pool, current_function_cannot_inline):
21507         Delete declarations.
21508         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21509         regno_reg_rtx): Delete declaration.
21510         (REGNO_POINTER_FLAG): Delete macro.
21511         * stmt.c (expand_goto): Changes to reflect that some fields in struct
21512         function were renamed.
21513         * stor-layout.c (save_storage_status, restore_storage_status): Delete
21514         functions.
21515         * toplev.c: Include "function.h".
21516         (current_function_decl): Delete declaration.
21517         (compile_file): Call init_dummy_function_start and
21518         expand_dummy_function_end around some initializations that need to
21519         emit rtl.
21520         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21521         Call init_function_for_compilation.
21522         * unroll.c: Include "function.h"
21523         (unroll_loop): Access regno_pointer_* variables through
21524         current_function.
21525
21526         * tree.h (struct tree_decl): Add elt f to saved_insns member.
21527         (DECL_SAVED_INSNS): use it.
21528         (expand_dummy_function_end): Declare.
21529         (init_function_for_compilation): Declare.
21530         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21531         that it's no longer an INLINE_HEADER.
21532         (expand_call): Likewise.
21533         * integrate.c (finish_inline): Delete function.
21534         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21535         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21536         args.  Don't generate an INLINE_HEADER rtx, just return the arg
21537         vector.  All callers changed.
21538         (save_for_inline_copying):  Create a duplicate struct emit_status to
21539         hold the emit state for compiling the current function.  Use this and
21540         the other new fields in struct function that are for integration
21541         instead of an INLINE_HEADER.
21542         Use memcpy instead of bcopy.
21543         Store the current struct function in DECL_SAVED_INSNS of fndecl.
21544         (save_for_inline_nocopy): Similar changes, except no new emit_status
21545         is needed here.
21546         (expand_inline_function): Get information from function structure,
21547         not from an inline header rtx.
21548         (output_inline_function): Lose code to extract the necessary
21549         information from an inline header; simply put back the function
21550         structure into current_function.  Clear its inlinable elt.
21551         * rtl.def (INLINE_HEADER): Delete.
21552         * rtl.h: Delete all accessors for an INLINE_HEADER.
21553         (gen_inline_header_rtx): Delete declaration.
21554         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21555         Delete declarations.
21556         (REGNO_POINTER_ALIGN): Delete.
21557         (clear_emit_caches): Declare.
21558         (set_new_last_label_num): Declare.
21559
21560 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
21561
21562         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21563
21564         * except.c (expand_eh_region_start_for_decl): Always start a new block.
21565         * stmt.c (is_eh_region): Make sure current_function is present, too.
21566
21567 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
21568
21569         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21570         for 64bit PA targets.
21571
21572         * pa.h (SELECT_SECTION): Define.
21573         * som.h (SELECT_SECTION): Delete.
21574
21575 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21576
21577         * alias.c (init_alias_analysis): Wrap call to
21578         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21579
21580 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
21581
21582         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
21583         <sys/asm.h> contains an asm comment with an apostrophe
21584         * fixinc/inclhack.sh:  regen
21585         * fixinc/fixincl.x:  regen
21586
21587 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
21588
21589         * function.c (init_function_start): Clear prologue & epilogue.
21590         (prologue_epilogue_contains): New function.
21591         * alias.c (init_alias_analysis): Use it.
21592         * rtl.h (prologue_epilogue_contains): Declare it.
21593
21594 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
21595
21596         * jump.c (onlyjump_p): New function.
21597         * rtl.h: Declare it.
21598         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21599         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21600
21601 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
21602
21603         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21604         to invert loops.  Simplify block scanning.
21605
21606 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21607
21608         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21609         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21610
21611 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
21612
21613         * config/sparc/liteelf.h: New file to support sparclite-elf target
21614         * config/sparc/t-sp86x: New file to support sparc86x targets
21615         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21616         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21617         * configure.in: Support above target triplets
21618         * configure: Regenerated
21619
21620 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
21621
21622         * fixinc/server.c (server_setup): Do not prefix function used as
21623         parameter with `&'.
21624
21625 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
21626
21627         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21628         Remove fp reg alternatives.
21629
21630 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
21631
21632         * Makefiin (TAROUTOPTS): Kill.
21633         (install-headers-tar): Use "xpf" for tar headerfile extraction
21634         * i370/x-oe (TAROUTOPTS): Delete.
21635         * m68k/x-apollo68 (TAROUTOPTS): Delete.
21636         * m68k/x-hp320 (TAROUTOPTS): Delete.
21637         * m68k/x-hp320g (TAROUTOPTS): Delete.
21638         * gcc.texi: Update bug reporting text.
21639
21640 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21641
21642         * reg-stack.c (change_stack) Fixed problem with negative array index.
21643
21644 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21645
21646         * extend.texi, install.texi: Fix spelling mistakes.
21647
21648         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21649         (s-attrtab); No longer try to use pre-made insn-attrtab file.
21650         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21651         PREMADE_ATTRTAB_MD.
21652         * mips/t-ecoff: Likewise.
21653         * mips/t-elf: Likewise.
21654         * mips/t-mips: Likewise.
21655         * mips/t-osfrose: Likewise.
21656         * mips/t-r3900: Likewise.
21657         * mips/t-svr3: Likewise.
21658         * mips/t-svr4: Likewise.
21659         * mips/t-ultrix: Likewise.
21660
21661         * gcc.texi: Document recommend means to provide software floating
21662         point libraries in libgcc.a
21663
21664 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
21665
21666         * c-lex.c (yylex): We can have a number with no digits.
21667
21668 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
21669
21670         * jump.c (delete_prior_computation): New function, broken
21671         out of delete_computation.  Check for side effects with
21672         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
21673         multi-word hard registers.
21674         (delete_computation): Use it.  Check for side effects with
21675         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
21676         missing REG_DEAD note for a register which is both set and
21677         used by an insn.
21678
21679 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
21680
21681         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21682         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21683         (ASM_FILE_START): Import _mcount with the right type.
21684         (ASM_DECLARE_FUNCTION_NAME): Define.
21685         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21686         * pa.c (output_function_prologue): Always emit the function's label
21687         here.
21688         * pa.h (TEXT_SPACE_P): Define.
21689         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21690         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21691         * som.h (TEXT_SPACE_P): Delete.
21692         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21693         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21694
21695 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
21696
21697         * expr.c (emit_group_load): Allow src to be a CONCAT.
21698
21699 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21700
21701         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21702         (___mulsi3): Use '!' comment character.
21703
21704 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21705
21706         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21707
21708 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
21709
21710         * gcc.c: Update URLs and mail addresses.
21711         * gcc.texi: Likewise.
21712
21713 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
21714
21715         * rs6000.c (current_file_function_operand): Return zero for
21716         weak functions.
21717         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21718         weak symbols.
21719         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21720         for weak symbols.
21721
21722 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
21723
21724         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21725         allocate space in the stack frame for the PIC register.
21726
21727 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
21728
21729         * m68k.md (xordi3, anddi3): These patterns are not available on
21730         the coldfire.
21731
21732 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
21733
21734         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21735         (PUT_REAL): Likewise.
21736
21737 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21738
21739         * final.c (shorten_branches): Don't add an alignment for loops
21740         that have no label inside.
21741
21742 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21743
21744         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21745         prototypes in macro HAVE_cmpstrsi.
21746
21747         * cpplib.c (cpp_get_token): Remove unused label `op3'.
21748
21749         * emit-rtl.c (operand_subword): Remove unused variable
21750         `bits_per_word'.
21751
21752         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21753
21754         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21755
21756 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
21757
21758         * cpphash.c (macroexpand): Delete leading whitespace when arg
21759         is concatenated before.
21760         (unsafe_chars): Correct test for whether + and - can extend a
21761         token.
21762
21763         * cppinit.c (cpp_start_read): Do dependencies for
21764         -include/-imacros files also.
21765
21766         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21767         tokenizing non-directive lines.
21768         (cpp_expand_to_buffer): Temporarily disable no-output mode.
21769         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21770         the input file.
21771
21772 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21773
21774         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21775
21776         * c-lex.c: Sync with C++ frontend.
21777         (linemode): New variable.
21778         (parse_float): imag, conversion_errno, and type are output only.
21779         (yylex): Adjust.  Move initial '.' case into main switch.
21780         Use linemode.
21781         (handle_generic_pragma): Just deal with tokens.
21782         (readescape): Use ISXDIGIT and ISGRAPH.
21783         * c-parse.in: Add END_OF_LINE token.
21784
21785         * c-lex.c (lang_init): Generalize.
21786         (nextchar): Remove.  Replace uses with UNGETC.
21787         (skip_white_space): Handle linemode here.  Optimize for cpplib.
21788         (skip_white_space_on_line): Remove.
21789         (extend_token_buffer_to): New fn.
21790         (extend_token_buffer): Use it.
21791         (read_line_number, check_newline): Just deal with tokens.
21792         (token_getch, token_put_back): New fns.
21793         (yylex): Use them.  More cpplib optimizations.  Simplify.
21794
21795 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21796                           Jason Merrill  <jason@yorick.cygnus.com>
21797
21798         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21799         (consume_string): Make this smart about USE_CPPLIB.
21800         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21801         (yylex): Rewrite to be intelligent about USE_CPPLIB.
21802         Also, clean up cases where we redundantly set token_buffer[0].
21803         (read_line_number): New fn.
21804         (ignore_escape_flag): New variable.
21805
21806 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
21807
21808         * a29k/t-a29kbare: Fix some comments.
21809         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21810         (FPBIT, DPBIT): Define.
21811         * a29k/t-vx29k: Likewise.
21812         * arc/t-arc: Likewise.
21813         * arm/t-arm-elf: Likewise.
21814         * arm/t-bare: Likewise.
21815         * arm/t-pe: Likewise.
21816         * arm/t-pe-thumb: Likewise.
21817         * arm/t-semi: Likewise.
21818         * arm/t-thumb: Likewise.
21819         * arm/t-thumb-elf: Likewise.
21820         * arm/t-thumb-linux: Likewise.
21821         * h8300/t-h8300: Likewise.
21822         * i960/t-i960: Likewise.
21823         * i960/t-vxworks960: Likewise.
21824         * m32r/t-m32r: Likewise.
21825         * mips/t-ecoff: Likewise.
21826         * mips/t-elf: Likewise.
21827         * mips/t-r3900: Likewise.
21828         * pa/t-pro: Likewise.
21829         * rs6000/t-aix43: Likewise.
21830         * rs6000/t-beos: Likewise.
21831         * rs6000/t-newas: Likewise.
21832         * rs6000/t-ppccomm: Likewise.
21833         * rs6000/t-rs6000: Likewise.
21834         * rs6000/t-winnt: Likewise.
21835         * rs6000/t-xnewas: Likewise.
21836         * rs6000/t-xrs6000: Likewise.
21837         * sh/t-sh: Likewise.
21838         * sparc/t-elf: Likewise.
21839         * sparc/t-sparcbare: Likewise.
21840         * sparc/t-sparclite: Likewise.
21841         * sparc/t-splet: Likewise.
21842         * v850/t-v850: Likewise.
21843         * mn10200/t-mn10200: Fix comments.
21844         * mn10300/t-mn10300: Likewise.
21845
21846         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21847         dummy operand.  Allocate a new pseudo for the dummy operand.
21848         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21849
21850         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21851
21852 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
21853
21854         * configure: Rebuilt.
21855         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21856
21857 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
21858
21859         * recog.c (preproces_constraints): Zero recog_op_alt before
21860         processing the constraints.
21861
21862         * arm.c (typedef minipool_node): Renamed from pool_node.
21863         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21864         (add_minipool_constant): New function.
21865         (dump_minipool): New function.
21866         (find_barrier): Remove special case for getting the insn size of
21867         an insn that references the constant pool.
21868         (minipool_fixup): New structure.
21869         (push_minipool_barrier): New function.
21870         (push_minipool_fix): New function.
21871         (note_invalid_constants): New function.
21872         (add_pool_constant, dump_table, fixit, broken_move): Delete.
21873         (arm_reorg): Rewrite code to fix up the constant pool into a
21874         series of mini-pools embedded in the insn stream.
21875         (arm_output_epilogue): New function, made mainly from the body
21876         of output_func_epilogue.
21877         (output_func_epilogue): Move insn generation part of epilogue code
21878         to arm_output_epilogue.
21879         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21880         * arm.md (pool_range): New attribute.
21881         (zero_extendqidi2): Add attribute pool_range.
21882         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21883         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21884         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21885         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21886         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21887         (epilogue): New expand.
21888         (epilogue_insn): New insn.  Call arm_output_epilogue.
21889
21890         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
21891         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21892
21893 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21894
21895         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21896
21897 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21898
21899         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
21900
21901 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
21902
21903         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21904
21905 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
21906
21907         * global.c: Fix comment.
21908
21909 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
21910
21911         * gcc.c (access_check): New static function.
21912         (find_a_file): Use it when searching a directory list.
21913         * collect2.c (find_a_file): Don't accept directories found when
21914         searching a directory list.
21915
21916 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
21917
21918         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21919         function parameters with `&'.
21920         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21921
21922 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21923
21924         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21925         or tidy_fallthru_edge if the last insn in the block is not
21926         an unconditional jump or a simple conditional jump.
21927
21928 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21929
21930         * Makefile.in (c-decl.o): Depends on defaults.h.
21931
21932 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
21933
21934         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21935         PA1.1 and above.
21936         (CLASS_MAX_NREGS): Likewise.
21937
21938 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
21939
21940         * cse.c (cse_insn): Fix dumb thinko in last change.
21941
21942 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21943
21944         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21945         "const char *".
21946
21947 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21948
21949         * dwarf2out.c (add_location_or_const_value_attribute): Correct
21950         test for sizes of passed and declared parameter types.
21951
21952 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21953
21954         * fixincludes: Fix the return type of bsearch, char* -> void*.
21955
21956         * fixinc/inclhack.def: Likewise.
21957
21958 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
21959
21960         * invoke.texi (-fdump-translation-unit): New option.
21961
21962 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
21963
21964         * expr.h (PROMOTE_PROTOTYPES): Move ...
21965         * defaults.h: ... to here.
21966         * c-decl.c: Include defaults.h instead of expr.h.
21967         * c-typeck.c: Include defaults.h.
21968
21969 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
21970
21971         * toplev.h (errorcount): Declare.
21972         (warningcount): Likewise.
21973         (sorrycount): Likewise.
21974         * c-lex.c (errorcount): Don't declare.
21975         * dwarf2out.c (errorcount): Don't declare.
21976
21977 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
21978
21979         * config/libgloss.h: Add a note discouraging use with ELF.
21980         * configure.in: Don't use libgloss.h for ELF targets.
21981         Always use_collect2 on a.out targets.
21982
21983 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
21984
21985         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
21986         (force_to_mode, case ASHIFTRT): Add shiftrt label.
21987
21988 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21989
21990         * loop.c (strength_reduce): When doing biv->giv conversion, update
21991         reg note of NEXT->insn.
21992
21993 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21994
21995         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
21996
21997 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21998
21999         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22000         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22001         Ensure expr.h is included.
22002         * c-typecheck.c (convert_arguments): Ditto.
22003
22004         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22005
22006         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22007         * config/convex/convex.h: Ditto.
22008         * config/dsp16xx/dsp16xx.h: Ditto.
22009         * config/fx80/fx80.h: Ditto.
22010         * config/gmicro/gmicro.h: Ditto.
22011         * config/i370/i370.h: Ditto.
22012         * config/i386/i386.h: Ditto.
22013         * config/m32r/m32r.h: Ditto.
22014         * config/m68k/m68k.h: Ditto.
22015         * config/m88k/m88k.h: Ditto.
22016         * config/mips/mips.h: Ditto.
22017         * config/pa/pa.h: Ditto.
22018         * config/pyr/pyr.h: Ditto.
22019         * config/tahoe/tahoe.h: Ditto.
22020         * config/we32k/we32k.h: Ditto.
22021
22022         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22023         based on arch size.
22024
22025         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22026
22027         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22028         from comment.
22029
22030         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22031
22032 1999-08-02  Richard Henderson  <rth@cygnus.com>
22033
22034         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22035         for the register spill block.
22036         (m32r_va_arg): New.
22037         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22038         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22039
22040         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22041         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22042         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22043
22044 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22045
22046         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22047         MAX_WCHAR_TYPE defined in sparc.h.
22048         * config/sparc/linuxaout.h: Likewise.
22049         * config/sparc/linux64.h: Likewise.
22050         Also default to -mvis if CPU is UltraSPARC.
22051
22052 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22053
22054         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22055         (RTX_OK_FOR_OLO10): Likewise.
22056         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22057         %lo(), allow it in addresses...
22058         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22059         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22060         does not make sense.
22061         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22062         (sparc_output_scratch_registers): New function.
22063         (output_function_prologue, sparc_flat_output_function_prologue): Use
22064         it.
22065         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22066         defined.
22067         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22068         * configure.in: Add check for .register pseudo-op support in as and
22069         check for offsetable %lo().
22070         * acconfig.h: Add templates for the above checks.
22071         * configure: Regenerate.
22072
22073 1999-08-02  Richard Henderson  <rth@cygnus.com>
22074
22075         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22076         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22077         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22078
22079 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22080
22081         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22082         reg_biv_class.
22083
22084 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22085
22086         * config/float-sparc.h: New file.
22087         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22088         sparc-*-linux-gnu and sparc64-*-linux*.
22089
22090 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22091
22092         * rs6000.c (rs6000_va_list): Type is an array.
22093         (rs6000_va_start): Don't doubly adjust for varargs.
22094         (rs6000_va_arg): Evaluate long long GPR adjustment.
22095
22096 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
22097
22098         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22099         -maix64 and -maix32.
22100         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22101         LINK_SPEC): Change appropriately.
22102         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22103         (u_short_cint_operand): Likewise.
22104         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22105         for 64-bit hosts.
22106         * rs6000/t-aix43 (MULTILIB): Change to -m64.
22107
22108         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22109
22110 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
22111
22112         * rs6000/rs6000.c (num_insns_constant_wide): Correct
22113         for type promotion.
22114         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22115         (non_add_cint_operand): Likewise.
22116         (logical_operand): Likewise.
22117         (non_logical_cint_operand): Likewise.
22118         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22119         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22120         (rs6000_select_rtx_section): Suppress warning.
22121         (small_data_operand): Suppress warning.
22122         (rs6000_got_register): Suppress warning.
22123         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22124         type, so `J' is generally the wrong constraint for a SImode value;
22125         use `L' instead.
22126         (andsi3_internal2): Likewise.
22127         (andsi3_internal3): Likewise.
22128         (iorsi3_internal1): Likewise.
22129         (xorsi3_internal1): Likewise.
22130         (movsi): Likewise.
22131         (movsf_softfloat): Likewise.
22132         (scc insns): Likewise.
22133         (movsi+2): Preserve sign bits of SImode constant.
22134         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22135         (movdf+1): Sign-extend properly.
22136         (movdi_32+1): Sign-extend properly.
22137         (scc insns): Sign-extend properly.
22138
22139         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22140         K, L, and T.
22141
22142 1999-08-02  Richard Henderson  <rth@cygnus.com>
22143
22144         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22145         -mcpu parsing code.
22146         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22147         * alpha.md (all fp insns): Likewise.
22148
22149 1999-08-02  Nick Clifton  <nickc@cygnus.com>
22150
22151         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22152         already defined.
22153
22154 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
22155
22156         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
22157         pic_load_label generator directly.
22158         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
22159         No longer a named pattern.
22160
22161 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
22162
22163         * explow.c (force_reg): Call force_operand if X does not
22164         satisfy general_operand.
22165
22166 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
22167
22168         * fix-header.c (main): When testing for CONTINUED, use string
22169         equality, not pointer equality.
22170
22171 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
22172
22173         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22174
22175 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
22176
22177         * cse.c (cse_insn): Fix loop which deletes insns after a jump
22178         that has become an unconditional jump.
22179
22180         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22181         (output_function_epilogue): Similarly.
22182
22183 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22184
22185         * tree.h (init_dummy_function_start): Declare.
22186
22187 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22188
22189         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22190         last_expr_type, last_expr_value, block_start_count, block_stack,
22191         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22192         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22193         dynamically in stmt elt of struct function for each function.
22194         (struct nesting): Rename function_call_count elt to n_function_calls,
22195         target_temp_slot_level to block_target_temp_slot_level.  All users
22196         changed.
22197         (struct stmt_status): New structure definition.
22198         Add many accessor macros for stmt_status elements which previously
22199         were global variables.
22200         (init_stmt_for_function): Allocate stmt elt for current_function.
22201         Reflect that block_start_count was renamed to
22202         current_block_start_count.
22203         (save_stmt_status, restore_stmt_status): Delete functions.
22204         (preserve_subexpressions_p): Don't access loop_stack when outside
22205         a function.
22206         (expand_start_bindings): Reflect that block_start_count was renamed to
22207         current_block_start_count.
22208         (expand_fixup): Likewise.
22209         (expand_decl): Don't access block_stack when outside a function.
22210         (expand_decl_cleanup): Likewise.
22211         (expand_dcc_cleanup): Likewise.
22212         (expand_dhc_cleanup): Likewise.
22213         (expand_anon_union_decl): Likewise.
22214         (set_file_and_line_for_stmt): New function.
22215         (in_control_zone_p): New function.
22216
22217         * function.h (struct function): Add new elt stmt.
22218         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22219         case_stack, nesting_stack, nesting_depth, block_start_count,
22220         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22221         emit_lineno, goto_fixup_chain.
22222         (save_eh_status, restore_eh_status, save_stmt_status,
22223         restore_stmt_status): Delete declarations.
22224         * function.c (push_function_context_to): Don't call save_stmt_status.
22225         (pop_function_context_to): Don't call restore_stmt_status.
22226         * tree.h (in_control_zone_p): Declare.
22227         * rtl.h (set_file_and_line_for_stmt): Declare.
22228
22229         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22230         call set_file_and_line_for_stmt.
22231
22232 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
22233
22234         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22235         Also update copyright.
22236
22237 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22238
22239         * c-pragma.c: Don't include "except.h".
22240         * emit-rtl.c: Likewise.
22241         * stor-layout.c: Likewise.
22242         * tree.c: Likewise.
22243         * varasm.c: Likewise.
22244
22245         * flow.c: Include "function.h".
22246         * tree.h (init_dummy_function_start): Declare new function.
22247
22248         * except.h (struct eh_status): New structure.
22249         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22250         been included.
22251         (eh_return_stub_label, ehstack, catchstack, ehqueue,
22252         catch_clauses, false_label_stack, caught_return_label_stack,
22253         protect_list, current_function_ehc): Add accessor macros for the
22254         corresponding fields in current_function->eh; delete declarations
22255         for all items that used to be declared here.
22256         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22257         catch_clauses, false_label_stack, caught_return_label_stack,
22258         protect_list, current_function_ehc): Delete variables.
22259         (init_eh_for_function): Allocate current_function->eh.
22260         (save_eh_status, restore_eh_status): Delete functions.
22261
22262         * function.h (struct function): Add fields next_global and eh.
22263         Delete all exception handling related fields.
22264         * function.c (current_function): New variable.
22265         (all_functions): New variable.
22266         (push_function_context_to): Don't allocate a struct function,
22267         use current_function instead.  Call init_dummy_function_start when
22268         outside a function.  Clear current_function before returning.
22269         (pop_function_context_from): Restore current_function.
22270         Don't free the restored struct function.
22271         (prepare_function_start): New function.
22272         (init_dummy_function_start): New function.
22273         (init_function_start): Break out some code into prepare_function_start
22274         and call it here.
22275
22276         * stmt.c (save_stmt_status): Don't call save_eh_status.
22277         (restore_stmt_status): Don't call restore_eh_status.
22278
22279         * Makefile.in: Update dependencies.
22280
22281 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
22282
22283         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22284         of depending on a magic constant value.  Update comments.
22285         (hppa_expand_prologue): Similarly.
22286
22287         * pa.md (reload_indi, reload_outdi): Allow any register for the
22288         original reload register.
22289
22290 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
22291
22292         * cccp.c (print_help): Change marcos to macros.
22293
22294 1999-07-30  Richard Henderson  <rth@cygnus.com>
22295
22296         * c-typeck.c (initializer_constant_valid_p): Move ...
22297         * c-common.c (initializer_constant_valid_p): ... here.  Use
22298         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
22299         of label addresses.
22300         * c-common.h (initializer_constant_valid_p): Declare.
22301         * c-tree.h (initializer_constant_valid_p): Remove.
22302
22303 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
22304
22305         * config/i386/sol2-c1.asm: Align the stack.
22306         * config/i386/sol2-gc1.asm: Likewise.
22307
22308 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
22309
22310         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22311         -Asparclite for sparc86x.
22312         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22313         sparc86x.
22314         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22315
22316 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22317
22318         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22319         the user if using the non-default arch size in BI_ARCH configuration.
22320         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22321
22322         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22323         Fix patterns so that they actually match.
22324         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22325         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22326         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22327         TARGET_HARD_MUL32.
22328         (mulsidi3): Reflect this in the expand.
22329         (smulsi3_highpart): Only on TARGET_ARCH32.
22330         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22331         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22332         (umulsidi3): Reflect this in the expand.
22333         (umulsi3_highpart): Only on TARGET_ARCH32.
22334         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22335         don't require g0 to be zero.
22336         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22337         ({,u}divsi3): New expands.
22338         ({,u}divsi3_sp64): New patterns.
22339         (after lshrdi3_v8plus): Four new patterns to help combiner
22340         optimizing nested mixed mode shifts.
22341
22342         * config/sparc/sparc.c (sparc_override_options): Use deprecated
22343         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22344         speed things up. Don't use them by default on plain v9 in 64bit
22345         mode, according to what SPAMv9 sais.
22346
22347         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22348         top 32 bits of %[og][0-7] in signal handlers.
22349         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22350
22351 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
22352
22353         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22354         (ashlsi3): Corresponding changes.
22355
22356         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22357
22358 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
22359
22360         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22361
22362 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22363
22364         * arm.h (Hint): Delete macro.
22365         Substitute HOST_WIDE_INT for Hint in some prototypes.
22366         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22367
22368 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
22369
22370         * builtins.c (expand_builtin_setjmp): Use force_operand to
22371         make sure that the buffer address is in a suitable form to be
22372         passed to force_reg.
22373
22374 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
22375
22376         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22377         them here.
22378
22379 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
22380
22381         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
22382         proper mode in the condition string.
22383         (icacheflush, dcacheflush): Remove modes from match_operands.
22384
22385         * pa.c (emit_move_sequence): Always convert scratch_reg to the
22386         proper mode before using it.
22387
22388         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22389         pair.
22390
22391         * pa.c (store_reg): Do not call add_high_const generator directly.
22392         (load_reg, set_reg_plus_d): Likewise.
22393         * pa.md (add_high_const): No longer a named pattern.
22394
22395         * pa.c (legitimize_address): Consistently use Pmode rather than
22396         SImode.  Do not call gen_pic2_highpart directly anymore.
22397         * pa.md (pic2_highpart): No longer a named pattern.
22398         (pic2_lo_sum): Similarly.  Reformat to make more readable.
22399
22400         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22401         needed.
22402
22403         * README: Update.
22404
22405 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22406
22407         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22408
22409 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
22410
22411         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
22412         and tag the spill mems.
22413         (hppa_va_start): New.
22414         (hppa_va_arg): New.
22415         * pa.h (EXPAND_BUILTIN_VA_START): New.
22416         (EXPAND_BUILTIN_VA_ARG): New.
22417
22418 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
22419
22420         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22421         and tag the spill mems.
22422         (mn10300_va_start): New.
22423         (mn10300_va_arg): New.
22424         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22425         (EXPAND_BUILTIN_VA_ARG): New.
22426
22427 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
22428
22429         * mn10200.c (mn10200_va_arg): New.
22430         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22431
22432 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
22433
22434         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22435         rather than play with TREE_INT_CST_LOW.
22436
22437 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
22438
22439         * config/arm/telf.h: Include dbxelf.h.
22440         (CPP_PREDEFINES): Only define if not already defined.
22441         (ASM_IDENTIFY_GCC): Likewise.
22442         (SUBTARGET_EXTRA_SECTIONS): Likewise.
22443         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22444         * config/arm/thumb.h (LINK_SPEC): Only define if not already
22445         defined.
22446         (DBX_DEBUGGING_INFO): Don't define.
22447         * config/arm/linux-telf.h: New file.
22448         * config/arm/linux-tgas.h: New file.
22449         * config/arm/t-thumb-linux: New file.
22450         * config/arm/uclinux-elf.h: New file.
22451         * config/arm/uclinux-telf.h: New file.
22452         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22453         thumb-*-uclinux): New targets.
22454         * configure: Regenerate.
22455
22456 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
22457
22458         * pa.md (post_store, pre_load): New expanders.
22459         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22460         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22461         need to directly generate RTL for them.
22462         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22463         changes.
22464
22465 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
22466
22467         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22468         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22469         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22470         (secndary_reload_class): Make TARGET_ELF conditional compile.
22471         (print_operand_address): Similar.
22472         (output_toc): Print all values as hex.
22473         (get_issue_rate): Rearrange and add RS64A and PPC630.
22474         * rs6000.h (processor_type): Add RS64A and PPC630.
22475         (PROCESSOR_POWERPC64): New.
22476         (PROMOTE_MODE): Use word_mode.
22477         (RTX_COSTS): Add RS64A and PPC630.
22478         * rs6000.md (scheduling information): Add lmul and ldiv
22479         representing 64-bit integer multiply and divide.  Add rs64a and
22480         PPC630 information.
22481         (ashldi3): Add support for "rldic" instruction.
22482         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22483
22484 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
22485
22486         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22487         instead of V8 for sparclite86x in cpu_table.
22488
22489 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22490
22491         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22492         output_file_directive.
22493
22494 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
22495
22496         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22497         tree for op1, not the rtl.
22498
22499 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
22500
22501         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22502         to m88k_va_start, leaving only the register spill.
22503         (m88k_build_va_list): New.
22504         (m88k_va_start): New.
22505         (m88k_va_arg): New.
22506         * m88k.h (BUILD_VA_LIST_TYPE): New.
22507         (EXPAND_BUILTIN_VA_START): New.
22508         (EXPAND_BUILTIN_VA_ARG): New.
22509
22510 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
22511
22512         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22513         Rename from expand_builtin_saveregs.
22514         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22515
22516 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
22517
22518         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22519         for the register spill block.
22520         (i960_build_va_list): New.
22521         (i960_va_start): New.
22522         (i960_va_arg): New.
22523         * i960.h (BUILD_VA_LIST_TYPE): New.
22524         (EXPAND_BUILTIN_VA_START): New.
22525         (EXPAND_BUILTIN_VA_ARG): New.
22526         * i960.md (store_multiple): Use change_address on individul mems.
22527
22528 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
22529
22530         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22531         an ARRAY_TYPE.
22532         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22533         (expand_builtin_va_end): Evaluate arg for side effects.
22534         * c-common.c (c_common_nodes_and_builtins): Construct a
22535         va_list_arg_type_node to handle array decomposition to pointer.
22536
22537 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
22538
22539         * except.c (st_dynamic_cleanup): Use force_operand on the
22540         buffer's address.
22541
22542 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
22543
22544         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22545         * c4x.c (c4x_va_arg): New.
22546
22547 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
22548
22549         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22550         has manual_pop set.
22551
22552 1999-07-26  Nathan Sidwell  <nathan@acm.org>
22553
22554         * eh-common.h (__eh_matcher): Prototype correctly.
22555
22556 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
22557
22558         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22559         (TARGET_SINGLE_PIC_BASE): Likewise.
22560         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22561         definitions.
22562         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22563         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22564         (TARGET_OPTIONS): Add -mpic-register=N.
22565         (OUTPUT_INT_ADDR_CONST): New macro.
22566         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22567         LEGITIMATE_PIC_OPERAND_P): Likewise.
22568         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22569         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22570         output_addr_const directly.
22571         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22572         ARM port.
22573         (thumb_pic_register, thumb_pic_register_string): Declare.
22574
22575         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22576         from arm.c.
22577         (label_mentioned_p): New function: Imported from arm.c.
22578         (legitimize_pic_address): New function: Imported from arm.c.
22579         (is_pic):New function: Imported from arm.c.
22580         (thumb_finalize_pic):New function: Imported from arm.c.
22581         (add_constant): Cope with PIC constants.
22582         (fixit): Cope with PIC constants.
22583         (output_return): Do not treat the PIC register as live if
22584         TARGET_SINGLE_PIC_BASE is true.
22585         (thumb_function_prologue): Do not treat the PIC register as live if
22586         TARGET_SINGLE_PIC_BASE is true.
22587         (thumb_expand_prologue): Do not treat the PIC register as live if
22588         TARGET_SINGLE_PIC_BASE is true.
22589         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22590         TARGET_SINGLE_PIC_BASE is true.
22591         (thumb_print_operand): Accept '|'.
22592         (thumb_override_options): Process PIC options.
22593
22594         * config/arm/thumb.md (movsi): Support PIC.
22595         (call_insn): Change "i" constraint to "X".
22596         (call_value_insn): Likewise.
22597         (consttable_4, consttable_8, consttable_end): Set and clear
22598         "making_const_table" as appropriate.
22599         (pic_load_addr, pic_add_dot_plus_four): New insns.
22600
22601         * invoke.texi (Thumb Options): Fix spelling.  Document new
22602         options -msingle-pic-base and -mpic-register=.
22603
22604 1999-07-26  Andrew Haley  <aph@cygnus.com>
22605
22606         * config/m32r/initfini.c (__init): Use a full word immediate for
22607         __fini: this allows it to be placed in any memory region.
22608
22609         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22610         -mmodel=medium.  This is OK for all memory models.
22611
22612 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
22613
22614         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22615         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22616
22617 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
22618
22619         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22620         defined.
22621
22622         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22623
22624 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
22625
22626         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22627         (BUILD_VA_LIST_TYPE): New.
22628         (EXPAND_BUILTIN_VA_START): New.
22629         (EXPAND_BUILTIN_VA_ARG): New.
22630         * i860.c (output_delayed_branch): Disable.
22631         (output_delay_insn): Likewise.
22632         (i860_saveregs): New.
22633         (i860_build_va_list): New.
22634         (i860_va_start): New.
22635         (i860_va_arg): New.
22636         * i860.md: Disable all peepholes using output_delayed_branch.
22637         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22638
22639 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
22640
22641         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22642         (BUILD_VA_LIST_TYPE): New.
22643         (EXPAND_BUILTIN_VA_START): New.
22644         (EXPAND_BUILTIN_VA_ARG): New.
22645         * clipper.c (clipper_builtin_saveregs): Only dump registers.
22646         Return the address of the save area.
22647         (clipper_build_va_list): New.
22648         (clipper_va_start): New.
22649         (clipper_va_arg): New.
22650
22651 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
22652
22653         * arc.h (EXPAND_BUILTIN_VA_START): New.
22654         (EXPAND_BUILTIN_VA_ARG): New.
22655         * arc.c (arc_setup_incoming_varargs): Set alias set of
22656         varargs save area.
22657         (arc_va_start): New.
22658         (arc_va_arg): New.
22659
22660 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
22661
22662         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22663         (BUILD_VA_LIST_TYPE): New.
22664         (EXPAND_BUILTIN_VA_START): New.
22665         (EXPAND_BUILTIN_VA_ARG): New.
22666         * alpha.c (alpha_builtin_saveregs): Delete.
22667         (alpha_build_va_list): New.
22668         (alpha_va_start): New.
22669         (alpha_va_arg): New.
22670
22671 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
22672
22673         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22674         column zero.
22675         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22676         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22677
22678         * gcc.texi: More changes related to list conversion.
22679         * invoke.texi: Likewise.
22680
22681 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
22682
22683         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22684         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22685         (expand_builtin_next_arg): Accept ARGLIST not EXP.
22686         (stabilize_va_list): New function.
22687         (std_expand_builtin_va_start): New function.
22688         (expand_builtin_va_start): New function.
22689         (get_varargs_alias_set): New function.
22690         (std_expand_builtin_va_arg): New function.
22691         (expand_builtin_va_arg): New function.
22692         (expand_builtin_va_end): New function.
22693         (expand_builtin_va_copy): New function.
22694         (expand_builtin): Call them.
22695         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22696         __builtin_{varargs_start,stdarg_start,end,copy}.
22697         (build_va_arg): New function.
22698         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22699         (build_va_arg): Declare.
22700         * c-decl.c (ptr_type_node, va_list_type_node): New.
22701         * c-parse.gperf (__builtin_va_arg): New.
22702         * c-parse.in (VA_ARG): New token.
22703         (unary_expr): Recognize it.
22704         * expr.c (expand_expr): Expand VA_ARG_EXPR.
22705         * expr.h (std_expand_builtin_va_start): Declare.
22706         (std_expand_builtin_va_arg): Declare.
22707         (expand_builtin_va_arg): Declare.
22708         (get_varargs_alias_set): Declare.
22709         * tree.def (VA_ARG_EXPR): New.
22710         * tree.h (BUILT_IN_VARARGS_START): New.
22711         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22712         (ptr_type_node, va_list_type_node): Declare.
22713         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22714         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22715         * m88k.h, m88k.c: Likewise.
22716         * mn10300.h, mn10300.c: Likewise.
22717         * pa.h, pa.c: Likewise.
22718         * rs6000.h, rs6000.c: Likewise.
22719         * sh.h, sh.c: Likewise.
22720         * sparc.h, sparc.c: Likewise.
22721
22722         * emit-rtl.c (operand_subword): Copy alias set.
22723         (change_address): Likewise.
22724
22725 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
22726
22727         * pa.c (compute_frame_size): Scan all the used callee saved registers,
22728         not just the first one.
22729
22730 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
22731
22732         * config/arm/arm.h (TARGET_SWITCHES): Add
22733         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
22734         (TARGET_OPTIONS): Add -mpic-register=.
22735         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22736         (arm_pic_register_string): Declare.
22737         (NEED_PLT_GOT): Delete, replace with ...
22738         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
22739         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22740         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22741         * config/arm/arm.c (arm_override_options): Add new option
22742         -mpic-register=N.
22743         (arm_pic_register_string): New variable.
22744         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22745         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22746         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
22747         (output_return_instruction): Likewise.
22748         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22749         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
22750         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22751
22752         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
22753         mention of -msched-prolog.  Document new options -msingle-pic-base
22754         and -mpic-register=.
22755
22756 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
22757
22758         * haifa-sched.c (reemit_notes): Tidy.
22759         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22760         haifa's routine.
22761
22762 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
22763
22764         * explow.c (trunc_int_for_mode): New function.
22765         (plus_constant_wide): Use it.
22766         * combine.c (simplify_and_const_int): Likewise.
22767         (merge_outer_ops): Likewise.
22768         (simplify_shift_const): Likewise.
22769         * cse.c (simplify_unary_operation): Likewise.
22770         (simplify_binary_operation): Likewise.
22771         * emit-rtl.c (operand_subword): Likewise.
22772         * rtl.h: Declare it.
22773
22774 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22775
22776         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22777         (use NUM_REGS instead of NUM_INTS).
22778
22779 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22780
22781         * builtins.c: New file.
22782         * expr.c (saveregs_value, apply_args_value):  Delete definition,
22783         moved into builtins.c.
22784         (string_constant): No longer static.
22785         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22786         apply_args_size, apply_result_size, result_vector,
22787         expand_builtin_apply_args, expand_builtin_apply,
22788         expand_builtin_return): Delete functions, moved into builtins.c.
22789         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22790         * expr.h (saveregs_value, apply_args_value): Declare variables.
22791         (expand_builtin, string_constant): Declare functions.
22792         * Makefile.in: Update to build builtin.o.
22793
22794 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
22795
22796         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22797         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22798         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22799         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22800         false.
22801         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22802         Define to zero.
22803
22804 1999-07-21  Michael Meissner  <meissner@cygnus.com>
22805
22806         * print-rtl.c (print_rtx): Print the names of the virtual
22807         registers.
22808
22809 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
22810
22811         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22812         introduced in previous delta.
22813
22814 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22815
22816         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22817         to avoid name clash.
22818
22819 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22820
22821         * c-lex.c (yylex) : Correct the test for overflow when lexing
22822         integer literals.
22823
22824 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
22825
22826         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22827         (adjust_priority): Always call ADJUST_PRIORITY.
22828         (schedule_insn): Only put insns into the ready at cost 0.
22829         (schedule_block): Remove redundant initial sort.  Give clock_var
22830         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
22831         is not 0.
22832         * tm.texi (MD_SCHED_REORDER): Update docs.
22833
22834         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
22835         * sparc.c (ultra_reorder_called_this_block): Delete.
22836         (ultrasparc_sched_init): Don't set it.
22837         (ultrasparc_sched_reorder): Don't check it.
22838
22839 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
22840
22841         * rs6000.h (struct rs6000_args): Add sysv_gregno.
22842         * rs6000.c (init_cumulative_args): Init sysv_gregno.
22843         (function_arg_boundary): Align DFmode.
22844         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22845         to get fp reg and stack overflow correct.
22846         (function_arg): Likewise.
22847         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22848         (setup_incoming_varargs): Restructure for ABI_V4; use
22849         function_arg_advance to skip final named argument.
22850         (expand_builtin_saveregs): Properly unskip the last integer arg
22851         when doing varargs.  Adjust overflow location calculation.
22852
22853         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22854         explicitly unsigned.
22855         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22856         (__VA_GP_REGSAVE): Similarly.
22857         (__va_longlong_p): Delete.
22858         (__va_arg_type_violation): New declaration.
22859         (va_arg): Restructure.  Flag promotion errors.  Align double.
22860         TFmode passed by reference.
22861
22862         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22863         in the HOST_BITS_PER_WIDE_INT > 32 case.
22864
22865 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22866
22867         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22868
22869 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
22870
22871         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22872         * toplev.c (documented_lang_options): Add -fpreprocessed.
22873         * cpplib.h (struct cpp_buffer): Add preprocessed.
22874         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22875         (cpp_start_read): Don't expand macros or emit an initial #line
22876         directive if -fpreprocessed.
22877
22878 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22879
22880         * cpplib.h (struct cpp_buffer): Added manual_pop for
22881         better C++ tokenization.
22882         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22883         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22884         * c-common.c (cpp_token): Make non-static.
22885
22886 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22887
22888         * c-common.h: New file.
22889         * c-common.c (permanent_obstack): Delete unused declaration.
22890         (c_global_trees): New array.
22891         (c_common_nodes_and_builtins): New function; split off common code
22892         from init_decl_processing in both c-decl.c and cp/decl.c.
22893         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22894         c_global_trees and accessor macros defined in c-common.h.
22895         Include c-common.h.
22896         * c-decl.c: Delete definitions for tree nodes that were replaced by
22897         c_global_trees.
22898         (init_decl_processing): Build void_list_node.
22899         Call c_common_nodes_and_builtins; delete code to generate the common
22900         builtins here.
22901         * objc/objc-act.c (build_module_descriptor): Rename variable
22902         void_list_node to avoid clash with c-common.h.
22903
22904         * Makefile.in: Update dependencies.
22905         * objc/Make-lang.in: Likewise.
22906
22907 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
22908
22909         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22910         (UNIQUE_SECTION_P): Likewise.
22911         (UNIQUE_SECTION): Likewise.
22912
22913 1999-07-19  Linas Vepstas  <linas@linas.org>
22914
22915         * config/i370/README: New file.
22916         * config/i370/linux.h: New file.
22917         * config/i370/mvs.h: New file.
22918         * config/i370/oe.h: New file.
22919         * config/i370/t-linux: New file.
22920         * config/i370/t-mvs: New file.
22921         * config/i370/t-oe: New file.
22922         * config/i370/x-oe: New file.
22923         * config/i370/xm-linux.h: New file.
22924         * config/i370/xm-mvs.h: New file.
22925         * config/i370/xm-oe.h: New file.
22926
22927         * i370.c (label_node_t): Add first_ref_page, label_addr,
22928         label_first_ref, label_last_ref members.
22929         (mvs_need_base_reload): Renamed from mvs_label_emitted.
22930         (MAX_MVS_LABEL_SIZE): Define.
22931         (MAX_LONG_LABEL_SIZE): Define.
22932         (alias_node_t, alias_anchor, alias_number): New.
22933         (mvs_function_table): Reorder for EBCDIC.
22934         (ascebc, ebcasc): Unconditionally define.
22935         (i370_branch_dest, i370_branch_length): New functions.
22936         (i370_short_branch, i370_label_scan): New functions.
22937         (mvs_get_label): Renamed from mvs_add_label.  Search for
22938         an existing label before creating a new one.
22939         (mvs_add_label): New function.
22940         (mvs_get_label_page): New function.
22941         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
22942         over the entire list.
22943         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22944         (mvs_check_page) [TARGET_ELF_ABI]: New function.
22945         (mvs_add_alias, mvs_need_alias): New functions.
22946         (mvs_get_alias, mvs_check_alias): New functions.
22947         (handle_pragma): New function.
22948         (mvs_function_check): New function.
22949         (unsigned_jump_follows_p): Search harder.
22950         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
22951         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
22952         * i370.h (TARGET_VERSION): Delete.
22953         (CPP_SPEC, CPP_PREDEFINES): Delete.
22954         (mvs_label_emitted): Delete.
22955         (TARGET_EBCDIC): Delete.
22956         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
22957         (HANDLE_PRAGMA): Define.
22958         (HARD_REGNO_NREGS): Handle complex modes.
22959         (HARD_REGNO_MODE_OK): Likewise.
22960         (CLASS_MAX_NREGS): Likewise.
22961         (RET_REG): Likewise.
22962         (EXTRA_CONSTRAINT): Define.
22963         (RETURN_IN_MEMORY): True for DImode.
22964         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
22965         (FUNCTION_PROFILER): Delete.
22966         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
22967         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
22968         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
22969         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
22970         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
22971         (ASM_FILE_START): Add "RMODE ANY".
22972         (ASM_OUTPUT_EXTERNAL): Check for aliases.
22973         (ASM_GLOBALIZE_LABEL): Likewise.
22974         (ASM_OUTPUT_LABELREF): Likewise.
22975         (ASM_OUTPUT_COMMON): Likewise.
22976         (PRINT_OPERAND): Handle 'K', 'W', default.
22977         (PRINT_OPERAND_ADDRESS): New.
22978         (Lots of defines): Add support for TARGET_ELF_ABI.
22979         * i370.md (attr length): New.  Define for all patterns.
22980         (*): Lots of tweeks to assembly output and constraints.
22981
22982 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
22983
22984         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
22985         Disable patterns performing SImode comparisons with SImode values
22986         if TARGET_POWERPC64 and instruction does not sign-extend or does
22987         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
22988         differ for signed quantities.
22989         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
22990         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
22991         (decrement_and_branch_on_count): Add 64-bit variant.
22992
22993 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22994
22995         * final.c (output_asm_insn): When searching for the matching string
22996         for a given dialect, don't run past the end of the list of
22997         alternatives if there are fewer alternatives in the template than
22998         dialects.
22999
23000 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
23001
23002         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23003         Removed paragraph about compression of files and size limitation,
23004         duplicated in the FAQ.  Use gcc-patches for posting patches.
23005         * gcc.c (main): Updated URL with bug reporting instructions to
23006         gcc.gnu.org.  Removed e-mail address.
23007         * system.h (abort): Likewise.
23008
23009 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23010
23011         * Makefile.in (stmp-multilib-sub): Make the files extracted
23012         from $(LIBGCC1) writable.
23013
23014 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
23015
23016         * config/arm/aout.h: Reformat for improved readability.
23017
23018         * config/arm/arm.h: Reformat for improved readability.
23019         Replace uses of fprintf with asm_fprintf where appropriate.
23020         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
23021         function declaration assembler actions.
23022         (NUM_INTS): New macro: Convert from bytes to words.
23023         (NUM_REGS): New macro: Compute number of registers required to
23024         hold a quanitity of tyep MODE.
23025         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23026         types.
23027         (NUM_ARG_REGS): New macro: The number of argument registers
23028         available.
23029         (ARG_REGISTER): New macro: Compute the register number of the Nth
23030         argument register.
23031         (LAST_ARG_REGNUM): New macro: The number of the last argument
23032         register.
23033         (SP_REGNUM): New macro: Register number of the stack pointer.
23034         (FP_REGNUM): New macro: Register number of the frame pointer.
23035         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23036         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23037         CUMULATIVE_ARGS so that it counts registers not bytes.
23038
23039         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23040         TARGET_INTERWORK.
23041         Replace uses of fprintf with asm_fprintf where appropriate.
23042         (output_ascii_pseudo_op): Replace with version from thumb.c
23043
23044         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23045
23046         * config/arm/elf.h (CPP_PREDEFINES): Replace with
23047         SUBTARGET_CPP_SPEC.
23048         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23049         (ASM_FILE_START): Emit ASM_APP_OFF.
23050
23051 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
23052
23053         * pa.c (compute_frame_size): Round frame according to
23054         STACK_BOUNDARY rather than a hardwired value.
23055
23056         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23057
23058         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23059         of "1".
23060         * configure: Rebuilt.
23061
23062         * configure.in (hppa*-*-linux*): New configuration.
23063         * configure: Rebuilt.
23064         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23065         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23066         * pa/pa-linux.h: New file.
23067         * pa/t-linux: New file.
23068         * pa/xm-linux.h: New file.
23069
23070         * pa.c (hppa_legitimize_address): Change references from SImode to
23071         either Pmode or word_mode as appropriate.
23072         (emit_move_sequence, store_reg, load_reg): Likewise.
23073         (set_reg_plus_d, hppa_expand_prologue): Likewise.
23074         (output_mul_insn): Likewise.
23075         * pa.h (PROMOTE_MODE): Likewise.
23076         (INITIALZE_TRAMPOLINE): Likewise.
23077         (Pmode): Define to word_mode.
23078
23079         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23080         value of 4.  Allocate 8 bytes for each FP register save.
23081         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23082         value of 4.
23083         (hppa_expand_prologue): Likewise.
23084         * pa.h (PROMOTE_MODE): Likewise.
23085         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23086         (FUNCTION_ARG_BOUNDARY): Likewise.
23087
23088         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23089
23090         * pa.c (out_of_line_prologue_epilogue): Delete.
23091         (override_options): Remove -mspace related code.
23092         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23093         (compute_frame_size): Only allocate space for register that
23094         actually need to be saved.
23095         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23096         (TARGET_SWITCHES): Remove -mspace, -mno-space
23097         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23098         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
23099         * pa/ee.asm, pa/ee_fp.asm: Delete.
23100
23101         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23102
23103         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23104         directive in column zero.
23105
23106 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
23107
23108         * m68k.c (output_function_prologue): Fix computation of save mask
23109         when generating PIC code.
23110
23111 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
23112
23113         * tree.c (build_type_attribute_variant): Move current_obstack restore
23114         after build_qualified_type call.
23115
23116 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
23117
23118         * configure.in: Use t-iris6, even with GNU LD.
23119         * config/mips/iris6gld.h: Fix typo in linker spec.
23120         * config/mips/t-iris6gld: Remove.
23121
23122 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
23123
23124         * rs6000.md (insv, extzv): Remove SImode dependence in named
23125         patterns.  Explicitly generate DImode RTL if PowerPC64 and
23126         operand is DImode.
23127         (insvdi): Reverse start and size in instruction template.
23128
23129 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
23130
23131         * invoke.texi: Typo fixes.
23132
23133 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
23134
23135         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23136         handle at this time instead of silently generating incorrect code.
23137         (gen_imagpart): Likewise.
23138
23139         * reload.c (find_reloads): Emit a USE for a pseudo register without
23140         a hard register if we could not create an optional reload for the
23141         pseudo.
23142
23143 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23144
23145         * c-typeck.c (output_init_element, process_init_element):
23146         When advancing constructor_unfilled_fields for a RECORD_TYPE,
23147         check for nameless bit fields.
23148
23149 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
23150
23151         * regclass.c (scan_one_insn): Notice subregs that change the
23152         size of their operand.
23153         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23154
23155 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
23156
23157         * configure.in (alpha*-*-*): Include alpha/t-ieee.
23158         * configure: Rebuilt.
23159         * alpha/t-ieee: New file.
23160
23161 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
23162
23163         * rs6000.c (find_addr_reg): Do not select r0 as an address
23164         register.
23165
23166 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
23167
23168         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23169
23170 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
23171
23172         * rs6000.md (movsf): Do not force easy FP constants into memory.
23173
23174         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23175         immed_double_const to ensure they are properly truncated then
23176         sign extended.
23177
23178 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23179
23180         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23181         always unless NO_DEBUG is used.  Compile this code
23182         unconditionally.
23183         (replace_symbols_in_block): Compile it unconditionally.
23184
23185 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
23186
23187         * configure.in (i?86-*-elf*): New target.
23188         * configure: Rebuilt.
23189         * i386/i386elf.h, i386/t-i386elf: New files.
23190
23191 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23192
23193         * toplev.c (main): Don't complain about saying -gdwarf.
23194         (rest_of_compilation): Remove redundant code.
23195
23196 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
23197
23198         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23199
23200 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
23201
23202         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23203         "Li960R:", to avoid name clash.
23204
23205 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23206
23207         * loop.c (check_dbra_loop): When reversing a loop, delete all
23208         REG_EQUAL notes referencing the reversed biv except those which are
23209         for a giv based on it.
23210
23211 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
23212
23213         * version.c: Drop "gcc-" prefix from version #.
23214
23215 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
23216
23217         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23218         the label if we're being verbose.
23219
23220 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
23221
23222         * m68k.c (output_function_prologue): Add pic register to mask
23223         if live and flag_pic.
23224         (output_function_epilogue): Likewise.
23225
23226 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
23227
23228         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23229         directives in column zero.
23230
23231         * pa/elf.h (ASM_FILE_START): Define.
23232         * pa/som.h (ASM_FILE_START): Include .level directives.
23233         * pa/hpux10.h (ASM_FILE_START): Delete.
23234         * pa/hpux11.h (ASM_FILE_START): Delete.
23235
23236         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23237
23238 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23239
23240         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23241         when reload_out equals reload_in.
23242
23243 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
23244
23245         * invoke.texi (Spec Files): New node: Describe the contents of
23246         spec files.
23247
23248 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
23249
23250         * invoke.texi (DEC Alpha Options): Put @end table at
23251         beginning of line, to avoid confusing texi2html.
23252
23253 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
23254
23255         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23256         introduced in previous delta.
23257
23258 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23259
23260         * reload1.c (gen_reload): When synthesizing a 3 operand add
23261         sequence, improve test for when to reload OP1 into the reload
23262         register instead of OP0.
23263
23264 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
23265
23266         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23267
23268 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
23269
23270         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23271         string literal.
23272
23273 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
23274
23275         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23276         (va_dcl): Use __builtin_va_alist_t.
23277
23278 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
23279
23280         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23281         on the permanent_obstack.
23282         * dwarfout.c (output_type): Likewise.
23283
23284 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23285
23286         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23287         Merged from c-typeck.c and cp/typeck.c.
23288         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23289         Merged into c-common.
23290
23291 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
23292
23293         * c-lex.c (errorcount): Declare it.
23294         (finish_parse): Update errorcount when using CPPLIB.
23295
23296 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
23297
23298         * fixinc/inclhack.def(end_else_label): Double the backslash so
23299         sed gets a chance to see it.
23300         * fixinc/inclhack.sh: regen
23301         * fixinc/fixincl.x: regen
23302
23303 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
23304
23305         Add framework to support armv5 architecture when it becomes
23306         available:
23307
23308         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23309         (arm_arch5): New variable.
23310         (all_architectures): Add armv5 line.
23311         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23312         -march=armv5 is specified on the command line.
23313         (arm_arch5): Export this variable.
23314         * invoke.texi: Document new string accepted by -march= switch for
23315         ARM ports.
23316
23317         * config/arm/arm.h: Replace use of constant 12 as a register
23318         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23319         * config/arm/arm.c: Replace use of constant 12 as a register
23320         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23321
23322         * config/arm/elf.h: Tidy up.
23323         * config/arm/coff.h: Tidy up.
23324
23325 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
23326
23327         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23328         * gcc/config/mips/t-iris6gld: New file.
23329         * gcc/config/mips/iris6gld.h: Likewise.
23330
23331 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23332
23333         * c-decl.c (widest_integer_literal_type_node,
23334         widest_unsigned_literal_type) : New.
23335         (init_decl_processing): Handle/use the two new types.
23336         * c-common.c (type_for_size,type_for_mode) : Same.
23337         * c-lex.c (yylex) : Same.
23338         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23339         Same.
23340         * c-tree.h (widest_integer_literal_type_node,
23341         widest_unsigned_literal_type) : New.
23342
23343 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
23344
23345         * dwarfout.c (field_byte_offset): Correctly compute the object's
23346         byte offset for the first bit of a field which crosses an alignment
23347         boundary on a !BYTES_BIG_ENDIAN target.
23348
23349 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
23350
23351         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23352         ntohs.
23353
23354 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
23355                           Jeff Law <law@cygnus.com>
23356
23357         * ginclude/varargs.h (va_dcl): Use word_mode for type of
23358         __builtin_va_list.
23359
23360         * except.c: Include intl.h.
23361         (expand_eh_return): Set current_function_cannot_inline.
23362         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23363         * function.h (struct function): Add eh_return_stub_label.
23364         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23365         * Makefile.in (except.o): Depend on intl.h.
23366
23367 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
23368
23369         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23370         same as offsettable in cases 1 and 2.
23371
23372 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
23373
23374         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23375         (extlh, extwh): Likewise.
23376
23377 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23378
23379         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23380
23381 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
23382
23383         * configure.in: Add arm-pe and thumb-pe targets.
23384         * configure: Regenerate.
23385
23386         * thumb.c (arm_naked_function_p): New function: Determines if
23387         a function is naked (has no gcc generated prologue/epilogue).
23388         (is_called_in_ARM_mode): Return true if the func has the
23389         interfacearm attribute.
23390         (output_return): Do not generate a return for naked functions.
23391         (thumb_function_prologue): Do not generate a prologue for
23392         naked functions.
23393         (thumb_expand_prologue): Do not generate a prologue for naked
23394         functions.
23395         (thumb_expand_epilogue): Do not generate an epilogue for naked
23396         functions.
23397         (arm_valid_machine_decl_attribute): New function, copied from
23398         arm.c:  Permit naked and interfacearm attributes.
23399
23400         * config/arm/pe.c: New file: Support code for arm-pe target.
23401         * config/arm/pe.h: New file: Header file for arm-pe target.
23402         * config/arm/tpe.h: New file: Header file for thumb-pe target.
23403         * config/arm/t-thumb-pe: New file: Makefile fragment for
23404         thumb-pe target.
23405
23406 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
23407
23408         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23409         -fPIC or -fpic is specified.
23410
23411 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
23412
23413         * expr.c (emit_block_move): Use copy_to_mode_reg for
23414         !TARGET_MEM_FUNCTIONS case too.
23415
23416         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23417         appropriate.
23418         * configure: Rebuilt.
23419         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23420         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
23421         definitions made redundant by dbxelf.h inclusion.  Delete
23422         lots of definitions related to assembly output that are
23423         specific to the SOM object format.
23424         * pa.c (output_function_prologue): Do not emit the function's
23425         name for OBJ_ELF.
23426         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23427         * pa-pro.h: Deleted.
23428         * som.h: New file with SOM specific definitions.
23429         * elf.h: New file with ELF specific definitions.
23430
23431         * elfos.h (const_section): Output a tab before assembler directives.
23432         (ctors_section, dtors_section): Likewise.
23433         (ASM_OUTPUT_SECTION_NAME): Likewise.
23434
23435         * pa/pa1.h: Delete unused file.
23436
23437 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
23438
23439         * configure.in (hppa*-hp-hpux11*): New configuration.
23440         * configure: Rebuilt.
23441         * pa/pa-hpux11.h: New file.
23442         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23443         command line.
23444
23445         * mips.md (leasi, leadi): New patterns.
23446
23447         * expr.c (emit_block_move): Properly handle case where one of the
23448         block move arguments has a queued increment or decrement.
23449         (clear_storage): Similarly.  Fix formatting goof.
23450
23451 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
23452
23453         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23454         semicolon from the BSD VA_LIST replacement expression.
23455
23456         * fixinc/inclhack.sh: regen
23457         * fixinc/fixincl.x: regen
23458
23459         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23460         now use the fixincl program.
23461
23462 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
23463
23464         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23465         case.  Also make the PIC register call_used.
23466
23467         * m68k.h (FINALIZE_PIC): Delete.
23468         * m68k.c (finalize_pic): Delete.
23469
23470 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
23471
23472         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23473         to memory.
23474
23475 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
23476
23477         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23478
23479 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
23480
23481         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23482
23483 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
23484
23485         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23486
23487 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
23488
23489         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23490
23491 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
23492
23493         * rs6000.c (output_toc): Always use hex values for floating-point
23494         constants.  Store single-precision values in upper-half of TOC
23495         entry in 64-bit mode.
23496         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23497         to final constraints.
23498         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23499         (fctiwz): Improve accuracy of RTL for pattern.
23500
23501 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23502
23503         * expr.c (expand_expr): Allow RTL_EXPR's through the
23504         MAX_INTEGER_COMPUTATION_MODE checks.
23505
23506 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
23507
23508         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23509         such that MASK_SUPPORT_ARCH is not negative.
23510
23511 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
23512
23513         * loop.c (verify_dominator): Properly handle ADDR_VEC and
23514         ADDR_DIFF_VEC insns that appear inside loops.
23515
23516 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
23517                           Jeff Law <law@cygnus.com>
23518
23519         * rs6000.md (movdf_hardfloat32): Revert previous patch.
23520         Handle LO_SUM the same as offsettable in cases 1 and 2.
23521         * rs6000.c (find_addr_reg): Revert previous patch.
23522
23523 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
23524
23525         * system.h (strstr): New external function declaration.
23526         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23527         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23528         * config.in, configure: Rebuilt.
23529
23530 1999-06-24  Tom Tromey  <tromey@cygnus.com>
23531
23532         * gcc.c (main): Read user-specified specs files after computing
23533         additional startfile_prefixes.
23534
23535 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
23536
23537         Revert these two patches:
23538
23539         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23540         * loop.c (strength_reduce): When doing biv->giv conversion, update
23541         reg note of NEXT->insn.
23542
23543         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23544         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23545         reg_biv_class.
23546         (recombine_givs): Set ix field after sorting.
23547
23548 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23549
23550         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23551         for the parts of an UNSPEC / UNSPEC_VOLATILE.
23552
23553 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
23554
23555         *fixinc/inclhack.def:  Add fix development commentary
23556         (read_ret_type): reactivate and add selection clause
23557         (zzz_*): tweak output file name to match what is used in hackshell.tpl
23558         *fixinc/{fixincl.x|inclhack.sh}: regen
23559
23560 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
23561
23562         * expr.c (expand_expr): STRIP_NOPS before checking against
23563         MAX_INTEGER_COMPUTATION_MODE
23564         (check_max_integer_computation_mode): Likewise.
23565
23566 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
23567
23568         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23569
23570 1999-06-22  Jim Wilson  <wilson@cygnus.com>
23571
23572         * expr.c (store_expr): When target is a promoted subreg, return a
23573         promoted subreg as a result.
23574
23575 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
23576
23577         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23578         coding standards.
23579         (dwarf2out_define): Mark unused parameters appropriately.
23580         (gen_unspecified_parameters_die): Ditto.
23581         (gen_subprogram_die): Fix signed/unsigned warnings.
23582         (gen_variable_die): Ditto.
23583
23584 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
23585
23586         * fixinc/inclhack.def(end_else_label): combined else_label
23587         and endif_label and fixed the sed expression.
23588         *fixinc/{fixincl.x|inclhack.sh}: regen
23589
23590 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
23591
23592         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23593         'x' when handling non-offsettable addresses
23594
23595 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
23596
23597         * final.c (shorten_branches): Don't try to split an insn that has
23598         been deleted.
23599
23600 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
23601
23602         * config/mips/mips.c (symbolic_expression_p): New function.
23603         (mips_select_rtx_section): Put symbolic expressions in the
23604         data section, not the read-only data section.
23605
23606 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
23607
23608         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23609
23610 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
23611
23612         * collect2.c (main): Log frame table count.
23613         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23614         (scan_prog_file) [COFF]: Handle frame tables.
23615
23616         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23617         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23618         * alpha/elf.h: Undef them again.
23619         * alpha/vms.h: Remove their definitions.
23620
23621 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23622
23623         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23624         remove the clobber of r0 and change the REG_UNUSED note to
23625         REG_INC.
23626
23627 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
23628
23629         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23630         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23631         fits in HOST_WIDE_INT and one uses union to access a long constant
23632         as double.
23633
23634 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
23635
23636         * sparc.c (sparc_override_options): Don't allow profiling for
23637         code models other than medlow.
23638         (sparc_function_profiler): New function from old FUNCTION_PROFILER
23639         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23640         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
23641         (sparc_block_profiler): Likewise.
23642         (sparc_function_block_profiler_exit): Likewise.
23643         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23644         (FUNCTION_BLOCK_PROFILER): Likewise.
23645         (BLOCK_PROFILER): Likewise.
23646         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23647         (MCOUNT_FUNCTION): New.
23648         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23649         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23650         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23651         (MCOUNT_FUNCTION): New.
23652         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23653         (BLOCK_PROFILER): Delete.
23654         (MCOUNT_FUNCTION): New.
23655
23656 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
23657
23658         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23659
23660 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23661
23662         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23663         Add the macros.
23664
23665         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23666         Ditto.
23667
23668         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23669         Ditto.
23670
23671         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23672         Ditto.
23673
23674 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
23675
23676         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23677         types.
23678
23679 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
23680
23681         * i386/djgpp.h (LIB_SPEC): New.
23682         (STARTFILE_SPEC): New.
23683
23684         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23685
23686 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
23687
23688         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23689         compiler flags.
23690
23691         * system.h (WSTOPSIG): New macro.
23692
23693 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23694
23695         * c-pragma.c (push_alignment): Don't ignore alignments greater than
23696         4 bytes.
23697         (insert_pack_attributes): Take into account member natural
23698         alignment.
23699
23700         * i386/winnt.c (exports_head): New static variable.
23701         (i386_pe_record_exported_symbol): New function.
23702         (i386_pe_asm_file_end): Use.
23703         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23704         symbols to be emitted at end of assembly.
23705         (ASM_DECLARE_OBJECT_NAME): Likewise.
23706         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23707
23708         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23709         -iwithprefix.
23710
23711 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
23712
23713         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23714         in last change.
23715
23716 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
23717
23718         * haifa-sched.c (sched_analyze_1): Use free_list instead of
23719         zapping reg_last_uses directly.
23720         (sched_analyze_2, sched_analyze_insn): Likewise.
23721         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
23722
23723 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
23724
23725         * rs6000.md (movdf_hardfloat32): Use worst case insn length
23726         attributes for cases 1 and 2.
23727
23728 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
23729
23730         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23731         instead of set.
23732
23733 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
23734
23735         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23736
23737 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
23738
23739         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23740         PIC_OFFSET_TABLE_REGNUM for general alloaction.
23741         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23742         must be stacked if it is used for PIC accesses.
23743         * arm.c (use_return_insn): Handle PIC register specially.
23744         (output_return_instruction): Likewise.
23745         (output_func_{prologue,epilogue}): Likewise.
23746         (output_expand_prologue): Likewise.
23747
23748         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23749         (*strsi_predec): Renamed from *strqi_predec.
23750         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23751         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23752
23753         * arm.c (arm_override_options): Remove warning about PIC code
23754         not being supported.
23755
23756 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
23757
23758         * rs6000.c (find_addr_reg): New function.
23759         * rs6000.h (find_addr_reg): Declare.
23760         (offsettable_addr_operand): Delete.
23761         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23762         from and stores to GPRs.
23763
23764 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
23765
23766         * alpha.c (alpha_expand_block_move): Use get_insns rather than
23767         gen_sequence as argument to emit_no_conflict_block.
23768
23769 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23770
23771         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23772         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23773         *fixinc/fixincl.x: regen
23774         *fixinc/inclhack.sh: regen
23775
23776 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
23777
23778         * added support for -mpcrel (PC relative addressing for m68k)
23779         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
23780         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23781         * m68k.c (print_operand_address): Handle 32-bit PIC case.
23782         (comments for general_src_operand): Add some explanation
23783         about EXTRA_CONSTRAINTS.
23784         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23785         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23786         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23787         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23788         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23789         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23790         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23791         if not already set.
23792         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23793         * m68k.h (TARGET_PCREL): New target flag.
23794         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23795         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23796         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23797         contains a SYMBOL_REF.  Relax this constraint during reload, since
23798         we want to use the predicates, not reload's built-in concept of a
23799         valid memory address, to control what insns need reloading.
23800         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23801         operands (essentially 'g', 'm', and 's' under normal circumstances).
23802         * m68k.c (print_operand): Cause printing of pc-relative addresses
23803         to include pc register.
23804         (print_operand_address): Ditto.
23805         (general_src_operand): Accept operands that are not only
23806         general_operands, but are also valid when used as a pc-relative
23807         source.
23808         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23809         (memory_src_operand): Similar, for memory_operands.
23810         (pcrel_address): New predicate to accept the special case of a
23811         pc-relative address.
23812         * m68k.md (many patterns): Rewrite common SImode, HImode, and
23813         QImode insns to accept *_src_operand instead of *_operand where
23814         pc-relative operands can fit.  For example, a pc-relative operand
23815         can be used as a memory source operand for addsi3, but not as a
23816         memory destination.
23817         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23818
23819 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
23820
23821         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23822         .thumb_set pseudo op to mark aliases of thumb functions.
23823
23824 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
23825
23826         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23827         preference to ASM_OUTPUT_DEF, if it is defined.
23828
23829         * tm.texi: Document new, optional target macro
23830         ASM_OUTPUT_DEF_FROM_DECLS.
23831
23832 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23833
23834         * fixincludes: ISCNTL patch
23835         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23836         (dgux_int_varargs): new for DG/UX
23837         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23838
23839 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
23840
23841         * invoke.texi (ia32 options): Fix typo.
23842
23843 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23844
23845         * loop.c (strength_reduce): When doing biv->giv conversion, update
23846         reg note of NEXT->insn.
23847
23848 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
23849
23850         * loop.c (move_movables): Note issues with replacing REGs with
23851         SUBREGs.
23852         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23853
23854 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
23855
23856         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23857
23858         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23859         the reference to `mcount' was not correct for the ELF on FreeBSD.
23860
23861 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23862
23863         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23864         reg_biv_class.
23865
23866         (recombine_givs): Set ix field after sorting.
23867
23868 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
23869
23870         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23871         to safe to extract a subword out of a REG.
23872
23873 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23874
23875         * sh.md (mulsi3): Don't add a no-op move at the end.
23876
23877 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23878
23879         * cse.c (cse_insn): Don't put hard register source into tables for
23880         the last insn of a libcall.
23881
23882 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23883
23884         * loop.c (strength_reduce): Insert sets of derived givs at every
23885         biv increment, even if it's the only one.
23886
23887 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
23888
23889         * dwarfout.c (add_incomplete_type): New fn.
23890         (output_type): Call it.
23891         (retry_incomplete_types): New fn.
23892         (dwarfout_finish): Call it.
23893
23894         From Eric Raskin <ehr@listworks.com>:
23895         (output_type): Output types for bases.
23896
23897 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
23898
23899         * mips.c (mips_output_conditional_branch): Add `break'
23900         between `default' label and `close braces'.
23901
23902 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
23903
23904         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23905         specifications and make it realistic.
23906         (LIB_SPEC): Likewise.
23907
23908 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
23909
23910         * config/mips/mips.c (mips_secondary_reload_class): Check for
23911         (PLUS (SP) (REG)) and return appropriate register class.
23912         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23913         Handle (PLUS (SP) (REG)).
23914         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23915         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23916         of emit_insn for tablejump.
23917
23918 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
23919
23920         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23921         asm_fprintf format string by itself.
23922         (output_function_profiler): Likewise.
23923
23924 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
23925
23926         * combine.c (simplify_logical, case AND): Only call
23927         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23928         or the constant is positive.
23929
23930 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
23931
23932         * configure.in: Fix typo in rs6000-ibm-aix4 case.
23933         * configure: Regenerate.
23934
23935 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
23936
23937         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23938         require a sub-version #.
23939         * configure: Rebuilt.
23940
23941 1999-06-14  Robert Lipe  (robertlipe@usa.net)
23942
23943         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23944
23945 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
23946
23947         * c-typeck.c (process_init_element): Detect excess elements in
23948         char array initializer.
23949
23950 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23951
23952         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
23953
23954 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23955
23956         * invoke.texi (Option Summary): Add -fpermissive flag.
23957
23958 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
23959
23960         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
23961         that require PIC code sequences.
23962
23963 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
23964
23965         * configure.in: Add new target: thumb-elf.
23966         * configure: Regenerate.
23967         * config/arm/t-thumb-elf: New file: Makefile fragment for
23968         thumb-elf build.
23969         * config/arm/telf.h: New file: Header file for thumb-elf
23970         build.
23971
23972 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
23973
23974         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
23975         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
23976         initializers is some circumstances.
23977
23978         * fixinc/inclhack.def (endif_label): Add additional selector for
23979         more bogus stuff after #endif statements.
23980         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
23981
23982 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23983
23984         * i386/cygwin.h (SET_ASM_OP): Define.
23985
23986 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23987
23988         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
23989
23990 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23991
23992         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
23993         latter.
23994
23995         * sh.md (ic_invalidate_line_i): Remove second alternative.
23996
23997 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23998
23999         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24000         test for the presence of valid prototypes.  Delete bypass expr.
24001         (ioctl_fix_ctrl): Correct the selection expression.
24002         (no_double_slash): Correct quoting rules
24003         *fixinc/fixincl.x: regen
24004         *fixinc/inclhack.sh: regen
24005
24006 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
24007
24008         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24009
24010 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24011
24012         * rs6000.md (movsi_got_internal_mem): Delete.
24013         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24014         (GOT_TOC_REGNUM): Delete.
24015         (PIC_OFFSET_TABLE_REGNUM): Define.
24016         (FINALIZE_PIC): Disable.
24017         * rs6000.c (rs6000_got_register): New code for fixed pic register.
24018         (rs6000_replace_regno): Delete.
24019         (rs6000_finalize_pic): Likewise.
24020         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24021
24022 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24023
24024         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24025         is a note; use <= for the compare; advance P while it is
24026         a NOTE.
24027
24028 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
24029
24030         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24031         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24032
24033         * varasm.c (remove_from_pending_weak_list): Verify t->name
24034         is non-NULL before passing it to strcmp.
24035
24036 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24037
24038         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24039         the typed arguments are not part of a comment
24040         (ioctl_fix_ctrl): Added a purpose comment
24041         *fixinc/fixincl.x: regenerate
24042         *fixinc/inclhack.sh: regenerate
24043
24044 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24045
24046         * invoke.texi: Add C4x invocation docs.
24047
24048 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24049
24050         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24051         Define new macros.
24052         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24053         TARGET_EXPOSE_LDP.
24054         (c4x_legitimize_reload_address): New function.
24055         * config/c4x/c4x.md: Update docs.
24056
24057 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
24058
24059         * fixincludes: Avoid removing '.'.
24060         * fixinc/fixinc.svr4: Likewise.
24061         * fixinc/fixinc.winnt: Likewise.
24062         * fixinc/inclhack.tpl: Likewise.
24063         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24064
24065 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24066
24067         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24068         pattern.
24069         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24070
24071 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24072
24073         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24074         correctly.
24075
24076 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
24077
24078         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24079         * configure: Regenerate.
24080
24081 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
24082
24083         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24084         values.
24085
24086 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
24087
24088         * fixinc/inclhack.def (avoid_bool): Also catch
24089         "typedef [unsigned] int bool".
24090         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24091
24092         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24093         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24094         * configure: Rebuilt.
24095
24096 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
24097
24098         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24099         such that we can override its definitions if necessary.
24100         (CPP_SPEC): New define.  Support processor specific predefines via
24101         %(cpp_cpu).
24102         (CC1_SPEC): New define.  Support processor specific compiler
24103         options via %(cc1_cpu).
24104         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
24105         -static.
24106
24107 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24108
24109         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24110         between sed's -e flag, and the open-quote following it.
24111         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24112
24113 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
24114                           Jeffrey A Law  (law@cygnus.com)
24115
24116         * varasm.c (assemble_start_function): Remove the function
24117         from the pending weak decls list when we define a function.
24118         (assemble_variable): Similarly for variables.
24119         (weak_finish): Ignore items on the list with a NULL name.
24120         (remove_from_ending_weak_list); New function to "remove" an item
24121         from the pending weak declarations list.
24122
24123 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24124
24125         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24126
24127 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
24128
24129         * c-lex.c (GETC): Redefine to call getch.
24130         (UNGETC): Redefine to call put_back.
24131         (putback_buffer): New structure type.
24132         (putback): New static structure.
24133         (getch): New function.
24134         (put_back): New function.
24135         (yylex): Replace unused bytes from bad multibyte character.
24136
24137 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
24138
24139         * cpplib.c (do_define): Cast `alloca' return value.
24140         (do_include, do_undef, do_pragma): Likewise.
24141         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24142         values.
24143         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24144         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24145
24146 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24147
24148         * sparc.md (abstf2): This should be an expand.
24149         (split after abstf2_notv9): Fix mode.
24150         (abstf2_hq_v9): New pattern.
24151         (abstf2_v9): Only use when no hard quad.
24152         (absdf2_v9): Fix if target is not the same as source.
24153         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24154         Add correct output constraints.
24155
24156 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
24157
24158         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24159         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24160
24161 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
24162
24163         * mips.h (mips_output_conditional_branch): New function.
24164         (mips_adjust_insn_length): Likewise.
24165         (ASSEMBLER_SCRATCH_REGNUM): New macro.
24166         (ADJUST_INSN_LENGTH): Likewise.
24167         * mips.c (print_operand): Add `F' and `W' for floating-point
24168         comparison opcodes.
24169         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24170         are now in bytes.
24171         (mips_adjust_insn_length): New function.
24172         (mips_output_conditional_branch): New function.
24173         * mips.md (length): Adjust attribute definition to handle
24174         conditional branches.  Change lengths to bytes, rather than
24175         instructions throughout.  Remove length attribute from
24176         instructions whose length is four bytes, and rely on the default
24177         instead.
24178         (dslot): Fix typo in comment.
24179         Reword conditional branch patterns to use
24180         mips_output_conditional_branch.
24181
24182 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24183
24184         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24185         (LIB_SPEC): Likewise.
24186         Link with -lprof1_r for -g/-pg.
24187
24188 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24189
24190         * loop.c (check_dbra_loop): Fix change of Jan 19.
24191
24192 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
24193
24194         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
24195         (STARTFILE_SPEC):  Define, override the svr4.h version.
24196         (ENDFILE_SPEC):  Likewise.
24197
24198 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
24199
24200         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24201         * fixinc/fixincl.x: Regenerated.
24202         * fixinc/inclhack.sh: Regenerated.
24203
24204 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24205
24206         * sh.c (barrier_align): Don't return early for normal branch/barrier
24207         when optimizing for SH2.
24208
24209 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
24210
24211         * i386/udk.h (LINK_SPEC): Correct linker search path for
24212         system libraries.
24213
24214 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24215
24216         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24217         (braf_label_ref_operand): Delete.
24218         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24219         * sh.md (casesi_jump_2): Operand1 is now the inside of a
24220         label_ref, and has no predicate.
24221         The patten has a predicate to guard against invalid substitutions.
24222         (dummy_jump): Delete.
24223         (casesi): Update use of casesi_jump_2.
24224
24225 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24226
24227         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24228         *fixinc/fixincl.x: regenerate
24229         *fixinc/inclhack.sh: regenerate
24230
24231 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
24232
24233         * dwarf2out.c (add_incomplete_type): New fn.
24234         (gen_struct_or_union_type_die): Call it.
24235         (retry_incomplete_types): New fn.
24236         (dwarf2out_finish): Call it.
24237
24238 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
24239
24240         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24241         current block starts with a CODE_LABEL and ends with a CALL and
24242         we can not find all the argument setup instructions for the CALL.
24243
24244 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
24245
24246         Revert this change:
24247         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24248         something is a candidate for optimize_bit_field_compare.
24249
24250 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24251
24252         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24253
24254 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
24255
24256         * alpha.c (override_options): Thinko in last patch.
24257
24258         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24259         (LIB_SPEC): Recognize -pthread.
24260
24261 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
24262
24263         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24264         definition in config/arm/coff.h
24265         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24266
24267 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24268
24269         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24270         fixes that need "file=xxx\n" prepended before invocation
24271         (start_fixer - new): starting the fixer process is complex enough
24272         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
24273         (process): uses the new routine; omit usage of putenv()
24274         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24275         * fixinc/fixincl.x: regenerate
24276
24277 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
24278
24279         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24280         and version #s (1.1 -> 2.96) as needed.
24281         * README.g77: Kill way out of date file in the toplevel directory.
24282
24283 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
24284
24285         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24286         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
24287         * configure: Rebuilt.
24288         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24289         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24290         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24291         (SWITCH_TAKES_ARG): Likewise.
24292         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24293         * config/t-freebsd: Moved from config/i386/ so it can used for all
24294         FreeBSD targets.
24295
24296 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
24297
24298         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24299
24300 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
24301
24302         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24303         * configure: Rebuilt.
24304
24305 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
24306
24307         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24308         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24309         * rs6000/rs6000.c (rs6000_file_start): Use putc.
24310         (rs6000_output_load_toc_table): Same.
24311         (output_prolog, output_mi_thunk): Same.
24312         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24313         (ASM_GLOBALIZE_LABEL): Use putc.
24314
24315 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
24316
24317         * alpha.md (reload_*_help): New patterns and splitters.
24318         (reload_*): Use them.
24319         (mov[qh]i): Likewise.
24320
24321 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
24322
24323         * cccp.c (handle_directive): Handle backslash-newlines in quoted
24324         strings correctly.
24325
24326 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
24327
24328         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24329
24330 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
24331
24332         * flow.c (mark_regs_live_at_end, insn_dead_p,
24333         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24334         and HARD_FRAME_POINTER_REGNUM special treatment if reload
24335         hasn't run or the frame pointer is needed.
24336         * haifa-sched.c (attach_deaths): Likewise.
24337         * sched.c (attach_deaths): Likewise.
24338
24339 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
24340
24341         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24342         calculate_can_reach_end returns nonzero.
24343
24344         * configure.in (native gas tests): Search for an assembler in the
24345         same manner that the installed compiler will.
24346         * configure: Rebuilt.
24347         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24348
24349         * alias.c (find_base_term): Improve handling of addresses
24350         constructed from binary operations.
24351
24352 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
24353
24354         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24355
24356 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
24357
24358         * function.h (cleanup_label, frame_offset): Declare.
24359         (tail_recursion_label, tail_recursion_reentry): Likewise.
24360         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24361         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24362         (tail_recursion_label, tail_recursion_reentry): Likewise.
24363         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24364
24365 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
24366
24367         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24368         defined.
24369         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24370         (MAX_OFILE_ALIGNMENT): Define.
24371
24372 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
24373
24374         * fixincl.c: Replace local include scheme with #includes of
24375         gansidecl.h and system.h.
24376         * procopen.c:  Likewise.
24377         * server.c:  Likewise.
24378
24379 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
24380
24381         * i386/t-dgux (EXTRA_PARTS): Add crti.o
24382         (crti.o): Add build rule and dependencies.
24383         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
24384
24385 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24386
24387         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24388         (LIB_LINUX_SPEC): Likewise.
24389         (LIB_LINUX_SPEC): Add support for -pthread
24390         (CPP_OS_LINUX_SPEC): Likewise.
24391         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24392         specified.
24393
24394 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
24395
24396         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24397         conditional move.
24398         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24399         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24400         for IEEE math and CC_FCOMI.
24401         (put_jump_code): No IEEE if CC_FCOMI is set.
24402
24403 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24404
24405         * fold-const.c (fold_truthop): Make the field reference unsigned
24406         when converting a single bit compare.
24407
24408 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24409
24410         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24411
24412 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
24413
24414         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24415         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24416         version did.
24417
24418         * reload.c (push_reload): Do not call remove_address_replacements
24419         when presented with identical optional reloads.
24420
24421 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
24422
24423         * alpha.h (MASK_FIX, TARGET_FIX): New.
24424         (MASK_*): Reorganize constants.
24425         (CPP_AM_FIX_SPEC): New.
24426         (TARGET_SWITCHES): Add FIX.
24427         (EXTRA_SPECS): Likewise.
24428         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24429         (SECONDARY_MEMORY_NEEDED): Likewise.
24430         (REGISTER_MOVE_COST): Likewise.
24431         * alpha.c (override_options): Add FIX support.  Always use
24432         ALPHA_TP_PROG for ev6.
24433         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24434         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24435         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24436
24437 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
24438
24439         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24440         something is a candidate for optimize_bit_field_compare.
24441
24442 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
24443
24444         * gcc.texi (Passes): Document branch-shortening.
24445         * invoke.texi (Debugging Options): Document the fact that `-dp'
24446         outputs length information for instructions.
24447
24448 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
24449
24450         * flow.c: Revert previous delta.
24451
24452 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
24453
24454         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24455         FRAME_POINTER_REGNUM.
24456         (mark_set_1): Ditto.
24457         (mark_used_regs): Ditto.
24458
24459 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
24460
24461         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24462         (GOT_PCREL): New macro.  Define to 1 if not already defined.
24463         * arm/elf.h (GOT_PCREL): Define to 0.
24464         * arm.c (arm_finalize_pic): Take into account the setting of
24465         GOT_PCREL.
24466
24467 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
24468
24469         * output.h (STRIP_NAME_ENCODING): Provide default definition.
24470         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24471
24472         * flow.c (mark_set_1): Do not record BLKmode stores as dead
24473         store elimination candidates.
24474
24475 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24476
24477         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24478         TARGET_GAS.
24479
24480 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
24481
24482         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24483         Add use of x-aix41-gld.
24484
24485 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24486
24487         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24488         (ASM_OUTPUT_DESTRUCTOR): Define.
24489
24490 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
24491
24492         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24493         last CODE_LABEL in a loop if we have previously passed a jump
24494         to the top of the loop.
24495
24496 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
24497
24498         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24499         applying Philip's patch.
24500
24501 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
24502
24503         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24504         are not VAR_DECLs.
24505
24506 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
24507
24508         * loop.c (strength_reduce): Grow reg_single_usage as needed.
24509
24510 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
24511
24512         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24513         Also remove a useless comment.
24514
24515 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24516
24517         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
24518
24519 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
24520
24521         * collect2.c (main): Only generate import or export file and add
24522         to link arguments if non-empty.  Use xmalloc not alloca.
24523         (write_{export,import}_file): Delete.
24524         (write_aix_file): New function.
24525         (locatelib): Use xmalloc not malloc.
24526         (GCC_OK_SYMBOL): Do not check type if aix64.
24527
24528 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
24529
24530         Based on patch by Scott Bambrough and Pat Beirne:
24531         * config/arm/arm.c (making_const_table): New variable.
24532         * config/arm/arm.h (making_const_table): Declare.
24533         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24534         appropriate.
24535         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24536         Keep track of when we are building the constant table.
24537
24538 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
24539
24540         * config/arm/arm.c (arm_override_options): Fix erroneous warning
24541         message.
24542
24543 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
24544
24545         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24546         defined.
24547
24548 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
24549
24550         * tm.texi (FUNCTION_ARG): Correct description of a stack element
24551         in a PARALLEL.
24552
24553 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
24554
24555         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24556
24557 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24558
24559         * rs6000.c (output_mi_thunk): Enable full support again.
24560
24561 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24562
24563         * sh.h (BRANCH_COST): Define.
24564
24565 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
24566
24567         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24568
24569 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
24570
24571         * function.c (assign_stack_local): Align stack slot propertly.
24572         (assign_outer_stack_local): Likewise.
24573
24574 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
24575
24576         * expr.h (lang_expand_constant): Declare.
24577         * toplev.c (lang_expand_constant): Define it.
24578         * varasm.c (output_constant): Use it.
24579
24580 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24581
24582         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24583         Change function definitions to K&R style.
24584
24585 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24586
24587         * fixinc/fixincl.c: We must not ignore SIGCLD now.
24588
24589 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
24590
24591         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24592         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24593         (several places): omit static initialization
24594         (process): use single fd, since only the read fd is used
24595         * fixinc/gnu-regex.c: define 'const' away, if not supported
24596         * fixinc/procopen.c(several places): omit static initialization
24597         * fixinc/server.c: define 'volitile' away, if not supported
24598
24599 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24600
24601         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24602         asm_fprintf and %L to generate the label name.
24603         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24604         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24605
24606 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
24607
24608         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24609         insn for a conditional jump can not be found.
24610
24611 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
24612
24613         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24614         on variables in specific sections other than .sbss and .sdata.
24615
24616 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
24617
24618         * stmt.c (expand_return): Call start_cleanup_deferral and
24619         end_cleanup_deferral around conditional code.
24620
24621 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24622
24623         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24624         filename lists.  Utilizes new "krstr" AutoGen function.
24625         * fixinc/fixincl.x: Rebuilt.
24626
24627 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
24628
24629         * i386.c (output_float_compare): Avoid GNU-C extensions.
24630
24631 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
24632
24633         * version.c: Bump to distinguish mainline tree from the
24634         gcc-2.95 branch.
24635
24636 See ChangeLog.1 for earlier changes.
24637
24638