OSDN Git Service

(expand_call): Do not reverse args in "equal from" field.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2
3         (expand_call): Do not reverse args in "equal from" field.
4         (emit_library_call_value_1): Emit_libcall_block for const and pure
5         function.
6
7 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8
9         * reload1.c (reload_combine): Don't enable optimization for fixed
10         registers when encountering a BARRIER.
11
12 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
13
14         * builtins.c (expand_builtin_memcmp): Do expansion even with
15         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
16
17         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
18         stack is propertly aligned; add sanity checking for aligned
19         stack pointer.
20         (expand_library_call_value_1): Add sanity checking for aligned
21         stack pointer.
22
23 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
24  
25         * calls.c (emit_library_call_value_1): Change 3rd arg to
26         locate_and_pad_parm to disregard the setting of partial.
27
28 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
29
30         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
31
32         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
33         CALL_INSN from the normal case.
34
35 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
36
37         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
38         New global variables.
39         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
40         adjustment.
41         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
42         Declare,
43         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
44          TARGET_ADD_ESP_8): New macros.
45         * i386.md: Add peep2s to convert esp adjustments to push and pop
46         instructions.
47         (pushsi_prologue, popsi_epilogue): New patterns.
48
49 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
50
51         * real.c (toe64): Remove stale #endif from the last change.
52
53 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
54
55         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
56         * real.c (toe64): Revert previous change.
57
58 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
59
60         * objc/objc-act.c: Include ggc.h.
61         (objc_tree_index, objc_global_trees): Convert most of the
62         static tree variables into a static array with previous names
63         as defines.
64         (objc_ellipsis_node): New variable.
65         (lang_init): Call objc_act_parse_init and c_parse_init.
66         Create objc_ellipsis_node.
67         (build_selector_translation_table): Use objc_ellipsis_node instead
68         of (tree)1.
69         (hack_method_prototype): Likewise.
70         (get_arg_type_list): Likewise.
71         (start_method_def): Likewise.
72         (continue_method_def): Likewise.
73         (gen_method_decl): Likewise.
74         (ggc_mark_imp_list): New function.
75         (ggc_mark_hash_table): New function.
76         (objc_act_parse_init): New function.
77         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
78         * c-parse.in (c_parse_init): For objc add roots of objc specific
79         local tree variables.
80         * objc/objc-parse.y: Rebuilt.
81         * objc/objc-parse.c: Rebuilt.
82         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
83
84 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
85
86         * cse.c (delete_trivially_dead_insns): Also delete insns
87         that copy a register to itself where the destination is
88         a strict_low_part.
89
90 2000-04-11  Richard Henderson  <rth@cygnus.com>
91
92         * flow.c (struct propagate_block_info): Add new_dead, new_live.
93         (propagate_block): Initialize them.  Use them in parallel instead
94         of one tmp variable, ie revert much of the 0408 and 0407 functional
95         changes, but keep the structural changes.
96         (mark_set_regs): Take new_dead from propagate_block_info instead.
97         (mark_set_1, mark_set_reg): Likewise.
98         (mark_used_regs): Likewise with new_live.
99         (mark_used_reg): Likewise.  Revert 0408 change.
100
101 2000-04-11  Nick Clifton  <nickc@cygnus.com>
102
103         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
104         restriction.
105         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
106
107 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
108
109         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
110         const section to output a CONSTRUCTOR based on the same conditions
111         used for VAR_DECLs.
112
113 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
114
115         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
116         * pa/pa-protos.h (output_call): Add additional argument indicating
117         if the call is a sibling/tail call.
118         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
119         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
120         (function_arg, function_arg_partial_nregs): Likewise
121         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
122         (emit_move_sequence): Zero extend certain constants as needed
123         for TARGET_64BIT.
124         (compute_zdepdi_operands, output_64bit_and): New functions.
125         (output_64bit_ior, function_arg): Likewise.
126         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
127         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
128         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
129         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
130         (output_bvb): Likewise.
131         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
132         (output_call): New argument 'sibcall'.  Generate sibcall sequences
133         as needed.
134         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
135         (ouput_arg_descriptor): Do not emit argument descriptors for
136         TARGET_64BIT.
137         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
138         defined.
139         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
140         (FUNCTION_OK_FOR_SIBALL): Define.
141         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
142         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
143         (CPP_SPEC): Use new spec infrastructure.
144         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
145         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
146         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
147         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
148         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
149         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
150         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
151         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
152         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
153         (FUNCTION_ARG); Call out to C code.
154         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
155         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
156         (MIN_UNITS_PER_WORD): Likewise.
157         * pa/pa.md (cmpdi): New expander.
158         (scc patterns, movstrsi): Not available for TARGET_64BIT.
159         (64bit conditional arithmetic): New patterns.
160         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
161         (movsicc): Not available if modes on all the operands to not match.     
162         (movdicc): New expander and associated patterns.
163         (64bit branches): New patterns.
164         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
165         (pre_ldd, post_std): New patterns.
166         (64bit addil, load low part): New patterns.
167         (special movsf constant): Not available for TARGET_64BIT.
168         (movsf, movdf expanders): Force constants into memory.
169         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
170         (64bit movdf/movdi patterns): New patterns.
171         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
172         for TARGET_64BIT.
173         (extendqidi2, extendhidi2, extendsidi2): Similarly.
174         (adddi3 expander): Allow "arith_operand" for second input.
175         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
176         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
177         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
178         (muldi3): New expander for TARGET_64BIT.
179         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
180         for TARGET_64BIT.
181         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
182         patterns for TARGET_64BIT.
183         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
184         patterns for TARGET_64BIT.
185         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
186         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
187         (sibcall_epilogue): New expander.
188         (casesi): Tweak for TARGET_64BIT.
189         (call expanders): Set & use the outgoing argument pointer.  Use the
190         64bit call patterns as needed. Add additional arg to output_call.
191         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
192         (sibcall, sibcall_internal_symref): New expanders.
193         (sibcall_value, sibcall_value_internal_symref
194         (interspace_jump): Turn into an expander + matching patterns.
195         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
196         * pa/pa64-regs.h: Eliminate trigraph sequences.
197         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
198
199 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
200
201         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
202         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
203         cpp_token with cpp_ttype everywhere.
204         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
205         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
206         CPP_BUF_COL.  Line and column numbers are unsigned int, not
207         long.
208         * cpplex.c (cpp_buf_line_and_col): Delete.
209         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
210         'long lineno' to 'unsigned int lineno'.
211         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
212
213 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
214
215         * extend.texi: ISO C99 is not a draft anymore.
216         * invoke.texi: ISO C++ is not a draft anymore.
217         * cpp.texi: __cplusplus is required by the ISO standard.
218
219         * extend.texi (-fthis-is-variable): Undocument.
220         * flags.h (warn_template_debugging): Remove declaration.
221         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
222         -Wenum-clash, -Wtemplate-debugging): Undocument.
223
224 2000-04-10  Nick Clifton  <nickc@cygnus.com>
225
226         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
227         integer.
228         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
229         integer.
230         (ARM_SIGN_EXTEND): Use HOST_UINT.
231         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
232         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
233         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
234         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
235
236         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
237         (arm_gen_constant): Use HOST_UINT.
238         (arm_canonicalize_constant): Use HOST_UINT.
239         (arm_reload_in_hi): Use HOST_UINT.
240         (arm_reload_out_hi): Use HOST_UINT.
241         (output_multi_immediate): Use HOST_UINT.
242         (int_log2): Use HOST_UINT.
243         (arm_poke_function_name): Use HOST_UINT.
244         (arm_output_epilogue): Use arm_volatile_func().
245         (output_thumb_prologue): Use arm_strip_name_encoding().
246         
247 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
248
249         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
250         of sequence point problems.
251
252 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
253
254         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
255         Recomment.
256         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
257
258 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
259
260         * sbitmap.h: Whitespace changes and use upper-case macro args.
261         (struct simple_bitmap_def): All sizes now unsigned.
262         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
263         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
264         (sbitmap_vector_alloc): Parms and local vars now unsigned.
265         (sbitmap_zero): Cast bzero arg to PTR.
266         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
267         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
268         loop to make structure clearer.
269         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
270         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
271         (sbitmap_a_and_b_or_c): Likewise.
272         (sbitmap_intersection_of_succs): Minor cleanups.
273         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
274         (sbitmap_union_of_preds): Likewise.
275         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
276         (debug_sbitmap): New function.
277         
278         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
279         * c-typeck.c (convert_for_assignment): Likewise.
280
281         * expmed.c (init_expmed): Don't free objects we make.
282         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
283
284         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
285         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
286
287         * gcse.c (expr_hash_table_size): Now unsigned.
288         (compute_ae_gen): Local variable `i' now unsigned.
289         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
290         (compute_transout, hoist_code): Likewise.
291         (compute_local_properties): Likewise, also hash_table_size.
292         (alloc_expr_hash_table): N_INSNS now unsigned.
293         (delete_null_pointer_checks): Mark arg F as unused.
294
295         * regrename.c: Minor cleanups, including chang some variables
296         to unsigned int.
297
298 2000-04-10  Neil Booth  <NeilB@earthling.net>
299
300         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
301         than GETC ().
302         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
303
304 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
305
306         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
307         __classof__, and __headof__ from the list of gnu keywords.
308         (-ansi): Remove -foperator-names from list of implied options. 
309         Do not call it ANSI C++.
310         (-foperator-names): Document as -fno-operator-names.
311
312 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
313
314         * cpphash.c (timestamp): Delete.
315         (del_HASHNODE): If type is T_MCONST, free value.cpval.
316         (special_symbol): Remove unnecessary braces.  Remove
317         T_VERSION.  Treat T_STDC like T_CONST unless
318         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
319         when one is encountered, then convert them into T_MCONST
320         nodes.
321         * cppinit.c (builtin_array): version_string is T_MCONST.
322         __STDC__ has a "1" in its cpval.  Don't have a terminator
323         entry.  Clean up which entries are dumped.
324         (initialize_builtins): Only __STDC__ gets the special
325         -traditional treatment.  Count the length of builtin_array.
326         Render version_string here.
327         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
328         * cpplib.h (struct cpp_reader): Remove timebuf. 
329
330 2000-04-09  Richard Henderson  <rth@cygnus.com>
331
332         * genrecog.c (pred): Update comparison_operator for the unordered
333         operators.
334
335         * config/i386/i386.c (no_comparison_operator): Disallow unordered
336         operators.
337         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
338         (uno_comparison_operator): New.
339         (put_condition_code): Handle UNORDERED/ORDERED.
340         (unsigned_comparison): Likewise.
341         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
342         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
343         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
344         update all callers.  Handle all 8 unordered operators.
345         (ix86_expand_setcc): Lose the unordered argument, update all callers.
346         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
347         * config/i386/i386.h (PREDICATE_CODES): Update.
348         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
349         (ix86_expand_branch, ix86_expand_setcc): Update.
350         * config/i386/i386.md (sunordered, sordered): New.
351         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
352         (bunordered, bordered): New.
353         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
354         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
355         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
356
357 2000-04-09  Philip Blundell  <philb@gnu.org>
358
359         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
360         
361 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
362
363         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
364         fix_truncxfhi2): New patterns.
365         * i386.c (output_fix_trunc): Handle converting to HImode.
366
367 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
368
369         * ssa.c (convert_to_ssa): Eliminate dead code when calling
370         life_analysis.  
371         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
372         (for_each_successor_phi): Change parameter to basic_block.
373         (coalesce_regs_in_successor_phi_nodes): Likewise.
374         (coalesce_regs_in_copies): Likewise.
375         (compute_coalesced_reg_partition): Use basic_block instead of index.
376         * rtl.h (convert_to_ssa): Delete.
377         (convert_from_ssa): Likewise.
378         (successor_phi_fn): Likewise.
379         (for_each_successor_phi): Likewise.
380         (in_ssa_form): Likewise.
381         * basic-block.h (convert_to_ssa): Moved from rtl.h.
382         (convert_from_ssa): Likewise.
383         (successor_phi_fn): Likewise.
384         (in_ssa_form): Likewise.
385         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
386         * flow.c (calculate_global_regs_live): Pass a basic_block to
387         for_each_successor_phi.
388
389 2000-04-08  Richard Henderson  <rth@cygnus.com>
390
391         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
392         was modified in the current insn.
393
394 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
395
396         * arm/thumb.md: Delete.
397         * arm/thumb-protos.h: Delete.
398
399 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
400
401         Merge changes from merged-arm-thumb-backend-branch onto trunk.
402
403         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
404
405         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
406         into branch.
407
408         * arm.md (nop): Use the standard RTL expression.  Don't code as a
409         define_expand.
410         (*arm_nop, *thumb_nop): Delete.
411
412         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
413         constants.  Use casts instead.
414         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
415         output_multi_immediate, arm_poke_function_name): Likewise.
416         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
417         MASK_RETURN_ADDDR): Likewise.
418
419         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
420
421         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
422         into branch.
423         
424         * arm.md (eh_epilogue): New function.
425         * arm.h (struct machine_function): Move to here ...
426         * arm.c: ... from here.
427         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
428         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
429         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
430
431         2000-03-30  Nick Clifton  <nickc@cygnus.com>
432
433         * config/arm/semi.h (ASM_SPEC): Restore definition.
434         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
435
436         * config/arm/elf.h (ASM_SPEC): Restore definition.
437         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
438
439         * config/arm/arm.h (ASM_SPEC): Remove definition.
440         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
441
442         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
443
444         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
445
446         2000-03-24  Nick Clifton  <nickc@cygnus.com>
447
448         Various formating tidyups, elimination of compile time
449         warnings and synchronisation with internal sources:
450         
451         * config/arm/arm-protos.h (assemble_align): Add prototype.
452         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
453         (gen_comapre_reg): Rename to arm_gen_compare_reg.
454         (arm_return_addr_rtx): Rename to arm_return_addr.
455
456         * config/arm/arm.c: Include except.h.
457         Define shorter typenames for strict minipool_node and struct
458         minipool_fix.
459         (arm_return_in_memory): For WinCE return all structures <= 32 bits
460         in memory.
461         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
462         (gen_comapre_reg): Rename to arm_gen_compare_reg.
463
464         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
465         already defined.
466         (ASM_SPEC): Define if not already defined.
467         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
468
469         * config/arm/arm.md: Rename references to gen_rotated_half_load to
470         arm_gen_rotated_half_load, and references to gen_comapre_reg to
471         arm_gen_compare_reg.
472         (indirect_jump):  Only accept register operands.
473         (load_indirect_jump): Keep this pattern since combine can generate
474         it.
475
476         * config/arm/coff.h: Include aout.h.
477         (MULTILIB_DEFAULTS): Only define if not already defined.
478
479         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
480         into arm.h (so that COFF ports can support thumb based aliases).
481         (ASM_SPEC): Move definition into arm.h
482         
483         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
484         redundant apcs spec.
485         (ASM_SPEC): Move definition to arm.h
486
487         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
488
489         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
490         for entries in the .bss section
491
492         2000-03-23  Nick Clifton  <nickc@cygnus.com>
493
494         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
495         to thumb_far_jump_used_p.
496
497         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
498         single integer parameter.
499
500         * config/arm/arm.c (struct machine_function): Add two new
501         fields, 'far_jump_used' and 'arg_pointer_live'.
502         (thumb_far_jump_used_p): Once the decision has been made that
503         far jumps might be used, always return true.
504         If being called from the initial elimination offset macro then
505         do not bother to perform the test if the arg pointer is not
506         being used.
507         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
508         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
509
510         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
511
512         * arm.c (output_return_instruction): Handle more cases where we can
513         return from a function with an ldr instruction.
514         (arm_output_epilogue): Likewise.
515
516         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
517         if we need to push a large stack frame and there are no callee-saved
518         registers.
519
520         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
521         in ARM code if the frame pointer has been eliminated.
522
523         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
524         unspec_volatile arguments to avoid duplicates.
525         (consttable_1, consttable_2): Fixes for big-endian mode.
526
527         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
528         as appropriate.
529
530         Re-write constant pool code.
531         * arm.c (minipool_node, minipool_fix): New types.
532         (minifix): Delete type.
533         (arm_add_minipool_constant): Delete.
534         (arm_compute_minipool_offsets, arm_find_barrier, 
535         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
536         (get_jump_table_size): Now returns HOST_WIDE_INT.
537         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
538         functions.
539         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
540         (assign_minipool_offsets, arm_print_value): Likewise.
541         (dump_minipool): Rewrite.
542         (arm_barrier_cost): New function.
543         (create_fix_barrier): New function.
544         (push_minipool_barrier): New function.
545         (push_minipool_fix): Record additional information about the fixup 
546         required.
547         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
548         check the mode of what needs fixing.
549         (arm_reorg): Rewrite.
550
551         2000-03-08  Nick Clifton  <nickc@cygnus.com>
552
553         * config/arm/arm.md (indirect_jump): Force constant addresses into
554         a register. 
555
556         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
557
558         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
559
560         2000-02-24  Nick Clifton  <nickc@cygnus.com>
561
562         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
563         adjust is word aligned.
564         (thumb_expand_epilogue): Make sure that stack adjust is word
565         aligned.
566
567         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
568         
569         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
570
571         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
572         pointer relative addresses.
573
574         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
575
576         * arm.c (find_barrier): Find the last barrier within the allowed 
577         range.
578
579         2000-02-09  Nick Clifton  <nickc@cygnus.com>
580
581         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
582
583         2000-02-09  Nick Clifton  <nickc@cygnus.com>
584
585         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
586         ARM_FUNCTION_PROFILER. 
587
588         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
589         ARM_FUNCTION_PROFILER. 
590
591         * config/arm/linux-oldld.h: Imported from mainline sources.
592
593         2000-02-07  Nick Clifton  <nickc@cygnus.com>
594
595         * config/arm/lib1funcs.asm: Merge in thumb functions from
596         lib1thumb.asm.
597         
598         * config/arm/lib1thumb.asm: Delete.
599
600         2000-02-04  Nick Clifton  <nickc@cygnus.com>
601
602         * config/arm/arm.c: Sychronised with current Red hat local
603         sources. 
604         * config/arm/arm.h: Ditto.
605         * config/arm/arm-protos.h: Ditto.
606
607         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
608
609         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
610
611         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
612         byte stores.
613
614         2000-02-02  Nick Clifton  <nickc@cygnus.com>
615
616         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
617
618         * config/arm/arm.md (epilogue): Fix rtl checking abort because
619         (return) was emited using an emit_insn() call. 
620         
621         2000-01-31  Nick Clifton  <nickc@cygnus.com>
622
623         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
624         thumb stack frame.
625         (thumb_exit): Move frame pointer back into hard frame pointer
626         register if backtracing is being used.
627
628         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
629
630         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
631         into branch.
632
633         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
634
635         * config/arm/arm.md (neg_pool_offset): Provide default for new
636         attribute.
637         (arm_movsi_insn): Add neg_pool_offset attribute.
638         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
639         rtx for the insn that starts the scan and an unsigned long for its
640         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
641         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
642         instructions in *PINSERTED.
643         (struct minipool_fixup): Add MIN_ADDRESS elt.
644         (sort_fixups): Compute it.
645         (arm_reorg): Changes to support inserting pools before the insn to be
646         fixed up.
647
648         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
649
650         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
651         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
652         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
653
654         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
655
656         * config/arm/semi.h (TARGET_VERSION): Do not define if already
657         defined.
658         (TARGET_DEFAULT): Do not define if already defined.
659
660         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
661
662         * config/arm/arm.md (anddi3): Allow disjoint source operands.
663         (iordi3): Allow disjoint source operands.
664         (xordi3): Allow disjoint source operands.
665         (negdi2): Permit construction for ARM and Thumb.
666         (arm_negdi2): Renamed version of old negdi2 pattern.
667         (thumb_negdi2): New pattern: Only permit non-overlapping
668         source and destination.
669
670         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
671
672         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
673         scratch low register so that it will not be deleted.
674
675         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
676
677         * config/arm/pe.h (ARM_PE): Define.
678         
679         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
680         interfacearm attribute if this is a PE toolchain.
681         (output_return_instruction): Do not emit anything if the function
682         has the naked attribute set.
683         (is_called_in_ARM_mode): If the function has the interfacearm
684         attribute then return true.
685         (thumb_expand_prologue): Do not generate a prologue for naked
686         functions.
687         (thumb_expand_epilogue): Do not generate an epilogie for a naked
688         function.
689         (output_thumb_prologue): Do not bother if the function is naked.
690         Strip PE encoding from function name before emitting.
691
692         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
693
694         * arm.md (pic_load_addr): Fix constraints.
695
696         * arm.md (casesi_insn): Fix mis-applied patch.
697
698         * arm.md ("core" function unit): Add rules for single- and
699         multi-cycle insns.
700         (All TARGET_THUMB patterns): Add "type" attribute information
701         where needed.
702         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
703         the following insn is a CALL.
704
705         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
706         pointer.
707         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
708         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
709         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
710         
711         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
712
713         * config/arm/linux-gas.h: oops - this file was missed out when the
714         branch was created...
715
716         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
717
718         * thumb.c: Deleted.  Move contents to ...
719         * arm.c: ... here.
720         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
721         rule for thumb.o
722         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
723         * configure: Regen.
724
725         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
726         declare a prototype for asm_output_align();
727
728         * arm.c (thumb_condition_code): Delete.
729         (arm_print_operand): Always use arm_condition_code array.
730
731         * arm.c (thumb_return_addr_rtx): Delete.
732         (arm_save_machine_status, arm_restore_machine_status): Delete.
733         (arm_init_machine_status, arm_mark_machine_status): New functions.
734         (arm_init_expanders): Update accordingly.
735         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
736         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
737         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
738         
739         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
740
741         * configure.in : Fix arm-*-aout target to use new t-arm-aout
742         script. 
743         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
744         targets.
745
746         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
747
748         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
749         stack backtrace structure.
750
751         * config/arm/arm-protos.h: Add prototypes for functions defined in
752         arm/pe.h.
753         
754         * config/arm/arm.c (arm_override_options): Fix selection of 
755         attributes of default processor.
756         
757         * config/arm/coff.h: Delete needless #include.
758         
759         * config/arm/pe.c: Delete unused code.
760         
761         * config/arm/pe.h (CPP_DEFINES): Delete
762         (SUBTARGET_CPP_SPEC): Define.
763         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
764         
765         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
766
767         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
768
769         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
770         updated.
771         (CAN_DEBUG_WITHOUT_FP): Define.
772         (FIXED_REGISTERS): Make r11 call-saved.
773         (CALL_USED_REGISTERS): Likewise.
774         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
775         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
776         frame-pointer is required.
777         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
778         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
779         if the target normally needs a stack frame in non-leaf functions.
780         (use_return_insn): Correct logic for determining when a return
781         instruction can be used.
782         (output_return_instruction): Handle the frame-pointer register as
783         a normal register when not TARGET_APCS_FRAME.
784         (arm_output_prologue): Likewise.
785         (arm_output_epilogue): Likewise.
786         (output_func_epilogue): Likewise.
787         (arm_expand_prologue): Likewise.
788         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
789
790         * arm.c (use_return_insn): No need to check floating point regs if
791         TARGET_SOFT_FLOAT.
792         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
793         the code of value stored in the minipool array.
794         (arm_add_minipool_constant): Likewise.
795
796 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
797
798         * basic-block.h (conflict_graph_enum_fn): K&R fix.
799
800 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
801
802         * tree.c (tree_expr_nonnegative_p): New function.
803
804         * tree.h (tree_expr_nonnegative_p): Declare.
805
806         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
807         elide some sign_compare warnings.
808         (build_conditional_expr): Likewise.
809
810 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
811
812         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
813
814         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
815         * i386.c (print_operand): Use the proper suffix for a 387 HImode
816         operand.  Abort if a 387 operand has an unsupported size.
817
818 2000-04-08  Neil Booth  <NeilB@earthling.net>
819
820         * cppexp.c (parse_charconst): Null does not end character
821         constants.
822         * cppinit.c (ISTABLE): Null character handled as whitespace.
823         * cpplex.c (null_warning):  new function.
824         (skip_string): Emit warning if nulls encountered.
825         (_cpp_skip_hspace): Emit warning if nulls encountered.
826         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
827         them.
828         * cpp.texi: Update.
829
830 2000-04-07  Richard Henderson  <rth@cygnus.com>
831
832         * flow.c (loop_depth): Remove.
833         (reg_next_use, cc0_live, mem_set_list): Replace with ...
834         (struct propagate_block_info): New.
835         (life_analysis): Don't allocate reg_next_use.
836         (propagate_block_delete_insn): Break out of propagate_block.
837         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
838         (propagate_block_delete_libcall): Likewise.
839         (propagate_block): Create a propagate_block_info struct to pass
840         to subroutines.  Allocate one not two temporary regsets.  Don't
841         clobber memory for const calls.  Look for clobbers in
842         CALL_INSN_FUNCTION_USAGE.
843         (mark_set_regs): Recognize COND_EXEC.
844         (mark_set_reg): Break out of mark_set_1.
845         (mark_used_reg): Break out of mark_used_regs.
846         (mark_used_regs): Recognize COND_EXEC.
847         (insn_dead_p): Use propagate_block_info struct.
848         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
849         (find_auto_inc, try_pre_increment_1): Likewise.
850         (print_rtl_with_bb): Dump regs live at end too.
851         (count_reg_sets_1): Pass in loop_depth.
852         (count_reg_sets, count_reg_references): Likewise.
853         (recompute_reg_usage): Provide it.
854
855 2000-04-07  Richard Henderson  <rth@cygnus.com>
856
857         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
858         not the raw files.
859
860 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
861
862         * cpplib.c (do_elif): Skip the rest of the line if we're
863         not going to bother evaluating it.
864         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
865         to avoid pointless calls to the lexer.
866
867 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
868
869         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
870
871 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
872
873         * calls.c (expand_call): emit_queue if we're trying a sibcall.
874
875 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
876
877         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
878
879 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
880
881         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
882         crtend so they can be multilibbed.
883         (STAGESTUFF): Remove s-crt and s-crtS.
884
885 2000-04-07  Richard Henderson  <rth@cygnus.com>
886
887         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
888         if we discover we need a pseudo and no_new_pseudos is true.
889         * config/alpha/alpha.md (ne:DI insn): New.
890         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
891
892 2000-04-07  Richard Henderson  <rth@cygnus.com>
893
894         * rtl.def (COND_EXEC): New.
895         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
896         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
897
898         * genconfig.c (have_cond_arith_flag): Remove.
899         (have_cond_exec_flag): New.
900         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
901         (main): Print HAVE_conditional_execution.
902
903         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
904         (sched_analyze_insn, print_pattern): Likewise.
905         * reload.c (find_equiv_reg): Likewise.
906         * rtlanal.c (reg_referenced_p): Likewise.
907         (note_stores, dead_or_set_regno_p): Likewise.
908         (reg_overlap_mentioned_p): Rewrite to use a switch.
909
910         * ggc.h (struct rtx_def): Forward declare.
911
912         * print-rtl.c (debug_rtx_range): New.
913         * rtl.h (debug_rtx_range): Declare.
914
915         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
916
917         * gcse.c (gcse_main): Don't rebuild the CFG here.
918         (delete_null_pointer_checks): Likewise.
919         * ssa.c (convert_to_ssa): Likewise.
920         * toplev.c (rest_of_compilation): Do it here instead.  Combine
921         sequential calls to TIMEVAR.  Consistently use `insns' instead of
922         `get_insns()'.  Always split insns after reload when optimizing.
923
924         * basic-block.h (merge_blocks_nomove): Declare.
925         (tidy_fallthru_edge): Declare.
926         * flow.c (merge_blocks_nomove): Document as merging into previous
927         blocks.  Remove cruft from between blocks; remove all edges out of A.
928         (tidy_fallthru_edge): Export.
929
930 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
931
932         * ssa.c (compute_conservative_reg_partition): Declare with
933         void arguments.
934         * toplev.c (clean_dump_file): Remove previously-deleted function
935         inadvertantly merged back in.
936         * conflict.c (conflict_graph_add): Use a single call to
937         htab_find_slot to look up and insert.
938
939 2000-04-06  Richard Henderson  <rth@cygnus.com>
940
941         * genrecog.c (*): Rename _last_insn to last_insn.
942         (make_insn_sequence): Set the position of the peephole2 C test
943         to be at the last insn.
944
945 2000-04-06  Richard Henderson  <rth@cygnus.com>
946
947         * flow.c (compute_flow_dominators): Free worklist.
948
949 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
950
951         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
952
953 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
954
955         * rtl.h (INSN_P): New macro.
956         (successor_phi_fn): New typedef.
957         (for_each_successor_phi): New prototype.
958         (in_ssa_form): New variable.
959         (PHI_NODE_P): Likewise.
960         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
961         phi nodes in successors.
962         (mark_used_regs): Add PHI case.
963         (set_phi_alternative_reg): New function.
964         (life_analysis): Assert that dead code elimination is not selected
965         when in SSA form.
966         * toplev.c (to_ssa_time): New variable.
967         (from_ssa_time): Likewise.
968         (compile_file): Zero to_ssa_time and from_ssa_time.
969         Print time to convert to and from SSA.
970         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
971         (print_time): Compute percent fraction as integer.
972         * ssa.c (PHI_NODE_P): Moved to rtl.h.
973         (convert_to_ssa): Check if we're already in SSA.  
974         Don't eliminate dead code in life_analysis.
975         Rerun flow and life analysis at bottom.
976         (eliminate_phi): Use canonical regnos when adding nodes.
977         (mark_reg_in_phi): New function.
978         (mark_phi_and_copy_regs): Likewise.
979         (convert_from_ssa): Rerun life analysis at top.  
980         Use coalesced partition.
981         Check for removing a phi node at the end of the block.
982         (compute_coalesced_reg_partition): New function.
983         (coalesce_regs_in_copies): Likewise.
984         (coalesce_reg_in_phi): Likewise.
985         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
986         (for_each_successor_phi): Likewise.
987         (rename_context): New struct.
988         (rename_block): Use a rename_context with rename_insn_1.  When
989         renaming sets of a subreg, emit a copy of the entire reg first.
990         (rename_insn_1): Treat data as a rename_context *.  Save current
991         insn in set_data.
992         (rename_set_data): Add field set_insn.
993         * Makefile.in (HASHTAB_H): Move up in file.
994         (OBSTACK_H): New macro.
995         (collect2.o): Use OBSTACK_H in dependencies.
996         (sdbout.o): Likewise.
997         (emit-rtl.o): Likewise.
998         (simplify-rtx.o): Likewise.
999         (fix-header.o): Likewise.
1000         (OBJS): Add conflict.o.
1001         (conflict.o): New rule.
1002         * basic-block.h: Include partition.h.
1003         (conflict_graph): New typedef.
1004         (conflict_graph_enum_fn): Likewise.
1005         (conflict_graph_new): New prototype.
1006         (conflict_graph_delete): Likewise.
1007         (conflict_graph_add): Likewise.
1008         (conflict_graph_conflict_p): Likewise.
1009         (conflict_graph_enum): Likewise.
1010         (conflict_graph_merge_regs): Likewise.
1011         (conflict_graph_print): Likewise.
1012         (conflict_graph_compute): Likewise.
1013         * conflict.c: New file.
1014
1015 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1016
1017         * tlink.c (read_repo_files): Don't look for .rpo info for
1018         linker flags.
1019
1020 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1021
1022         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1023
1024 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1025
1026         * config/sh/lib1funcs.asm (___udivsi3_i4):
1027         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1028         only depends on FMOVD_WORKS.
1029
1030 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1031
1032         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1033         make double constant 8-byte aligned.
1034
1035 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
1036
1037         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1038         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1039         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1040         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1041         Accept storing GENERAL_REGS into offsetable memory.
1042         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1043         building a TFmode constant other than 0.0L into GENERAL_REGS.
1044
1045 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
1046
1047         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1048         
1049 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
1050
1051         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1052         (macro_cleanup): No need to cast pbuf->macro.
1053         (collect_expansion): Use _cpp_get_define_token.  Goto done if
1054         it returns VSPACE.  Remove check for trailing space after
1055         CPP_COMMENT.
1056         (_cpp_create_definition): Don't diddle flags here.  Return
1057         directly on error.
1058         (unsafe_chars): Handle c1 being EOF.
1059         (push_macro_expansion): Use unsafe_chars for both accidental-paste
1060         checks.  Don't push the buffer till after we're done with
1061         them.
1062         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1063         (PEEKN, FORWARD, GETC, PEEKC): Use them.
1064         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
1065         appropriately.
1066         (_cpp_parse_assertion): Don't NUL terminate.
1067         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
1068         hspace before calling _cpp_parse_assertion.  Remove all sets
1069         of only_seen_white. Treat '\f' as hspace.  Don't do anything
1070         special with '\n' here.
1071         (maybe_macroexpand): Handle T_EMPTY hash entries without
1072         pushing a buffer at all.
1073         (cpp_get_token): Handle clearing only_seen_white here.  Handle
1074         incrementing the line number here.  Clear
1075         potential_control_macro as well as only_seen_white, if
1076         appropriate.
1077         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1078         (_cpp_get_define_token): New function, basically like
1079         _cpp_get_directive_token was but doesn't eat horizontal space.
1080         Don't do anything with only_seen_white here.
1081         (_cpp_get_directive_token): Just call _cpp_get_define_token
1082         repeatedly till it returns non-hspace.
1083
1084         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1085         (conditional_skip, skip_if_group): Return int.
1086         (DIRECTIVE_TABLE): Change origin of all conditional directives
1087         to "COND".
1088         (TRAD_DIRECT_P): New macro.
1089         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
1090         an error for a bogus directive, unless -lang-asm.  Use
1091         TRAD_DIRECT_P. Loop calling handler functions till one returns
1092         zero.
1093         (get_macro_name): Don't diddle flags here.
1094         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
1095         Create T_EMPTY nodes for #define macro /* nothing */.
1096         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
1097         Use hp->name when calling pass_thru_directive.
1098         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1099         Return the result of conditional_skip and/or skip_if_group.
1100         Don't call _cpp_output_line_command.
1101         (consider_directive_while_skipping): Use _cpp_get_directive_token.
1102         Issue -Wtraditional warnings as appropriate.  Don't complain
1103         about unrecognized directives.  If we are to stop skipping,
1104         return the number of the directive that ended the skip.
1105         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
1106         expansion and line commands while skipping.  Return the result
1107         of consider_directive_while_skipping, if nonzero.
1108         (do_endif): Just set potential_control_macro here.
1109         (validate_else): Use _cpp_get_directive_token.
1110         (do_assert, do_unassert): Don't save pointers into the
1111         token_buffer across calls to the lexer.  Use
1112         _cpp_get_directive_token.  
1113
1114         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
1115         pointer, not an offset.  Replace 'data', which was a generic
1116         pointer, with 'macro', which points to a struct hashnode.
1117         (cpp_reader): Add 'potential_control_macro' pointer.
1118         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1119         (CPP_BUF_GET, CPP_FORWARD): Delete.
1120         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1121         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1122         ACTIVE_MARK_P): Update.
1123         (_cpp_get_define_token): New internal function.
1124         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1125
1126 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
1127
1128         * configure.in: And here.
1129         * configure: Regenerate.
1130         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1131         --enable-libstdcxx-v3 is passed at configure time.
1132         * config.h.in: Regenerate.
1133
1134 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
1135
1136         * final.c (final): Use xcalloc to allocate line_note_exists.
1137         * function.c (free_after_compilation): Free the temp_slots.
1138         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1139         (combine_temp_slot): Free temp_slots when they get combined.
1140         (purge_addressof): Fix typo in comment.
1141         * stmt.c (mark_goto_fixup): Mark the fixup itself.
1142         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1143
1144         * ggc.h: Include varray.h.
1145         (ggc_pending_trees): Declare.
1146         (ggc_mark_tree_children): Remove declaration.
1147         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1148         * ggc-common.c (ggc_pending_trees): New variable.
1149         (ggc_mark_roots): Call ggc_mark_trees.
1150         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
1151         the ggc_pending_trees.
1152         * Makefile.in (GGC_H): New variable.  Use it throughout in place
1153         of ggc.h.
1154         
1155 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1156
1157         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1158         GET_MODE_SIZE.
1159
1160 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1161
1162         * sh.c (sh_insn_length_adjustment): New function.
1163         * sh-protos.h (sh_insn_length_adjustment): Declare.
1164         * sh.h (ADJUST_INSN_LENGTH): Use it.
1165
1166 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
1167
1168         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1169         from the insn where REG_RETVAL is added.
1170         (emit_no_conflict_block): Ditto.
1171
1172         * md.texi (Standard Names): Clarify when movX is needed.
1173
1174         * combine.c (simplify_comparison) [MINUS]: Do not replace
1175         all (op (minus A B) 0) with (op A B).
1176
1177 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
1178                           J"orn Rennecke <amylaar@cygnus.co.uk>
1179
1180         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1181         (block_lump_real): Likewise.
1182
1183 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
1184
1185         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1186         remaining non-zero debugging masks.
1187
1188 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
1189
1190         * basic-block.h (verify_flow_info): Declare.
1191         (flow_loop_outside_edge_p): Declare.
1192         * flow.c (verify_flow_info): Remove declaration.
1193         (clear_log_links, flow_loop_outside_edge_p): Likewise.
1194
1195 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
1196
1197         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1198         not C++ comments.
1199
1200 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
1201
1202         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1203         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1204         seqdi_zero_trunc+1): Allow splits only if registers are
1205         different.
1206
1207 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
1208
1209         * acconfig.h: Add HAVE_GAS_HIDDEN.
1210         * config.in: Regenerated.
1211         * configure.in: Add test for .hidden pseudo-op in gas.
1212         * configure: Regenerated.
1213         * crtstuff.c: Include auto-host.h.
1214         Emit additional .hidden pseudo-op for __dso_handle if the
1215         assembler knows about it.
1216
1217 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
1218
1219         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1220         before freeing argnames.
1221         * cpplib.c (do_ifndef): Cast return value of xstrdup.
1222
1223 2000-04-05  Michael Meissner  <meissner@redhat.com>
1224
1225         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1226         Walton <jonboy@gordian.com> to make memory references with update
1227         work wtih -mregnames.
1228
1229 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1230
1231         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1232         (regrename_optimize): Rename variables `def_uses' and
1233         `ext_basic_blocks' to avoid conflicts with similarly named
1234         typedefs in traditional C.
1235
1236         * calls.c (initialize_argument_information): Fix typo in previous
1237         change.
1238
1239 2000-04-04  Richard Henderson  <rth@cygnus.com>
1240
1241         * regrename.c (consider_available): Test fixed_regs not
1242         PIC_OFFSET_TABLE_REGNUM.
1243
1244 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
1245
1246         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1247         crtend.
1248         (CRTSTUFF_T_CFLAGS_S): Delete definition.
1249         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1250         (ENDFILE_LINUX_SPEC): Always use crtend.
1251         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1252         (powerpc-*-linux-gnu): Likewise.
1253         * configure: Regenerate.
1254
1255         * config/rs6000/eabi.h: Don't include sysv4.h.
1256         (MULTILIB_DEFAULTS): Don't define.
1257         * config/rs6000/eabiaix.h: Don't include eabi.h.
1258         * config/rs6000/eabile.h: Delete.
1259         * config/rs6000/eabilesim.h: Delete.
1260         * config/rs6000/eabisim.h: Don't include eabi.h.
1261         * config/rs6000/linux.h: Don't include sysv4.h.
1262         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1263         (MULTILIB_DEFAULTS): Don't redefine.
1264         * config/rs6000/rtems.h: Don't include eabi.h.
1265         * config/rs6000/sol2.h: Don't include sysv4le.h.
1266         * config/rs6000/sysv4le.h: Don't include sysv4.h.
1267         * config/rs6000/t-ppc: Delete.
1268         * config/rs6000/t-ppcgas: Correct comment.
1269         * config/rs6000/t-ppcos: Correct comment.  Don't build 
1270         multilibs for -fPIC, rather use -fPIC -mstrict-align 
1271         as default.
1272         * config/rs6000/t-ppc: Delete.
1273         * config/rs6000/vxppc.h: Don't include sysv4.h.
1274         * config/rs6000/vxppcle.h: Delete.
1275         * configure.in: Use multiple header files for p2pc ELF targets
1276         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1277         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1278         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1279         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
1280         always available for these platforms.
1281
1282 2000-04-04  Richard Henderson  <rth@cygnus.com>
1283
1284         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1285
1286 2000-04-04  Stan Cox  <scox@cygnus.com> 
1287
1288         * Makefile.in: Add rules for regrename.o
1289         * regrename.c: New file.
1290         * rtl.h (regrename_optimize): Add prototype.
1291         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1292         (compile_file, decode_d_option): Add support for -frename-registers.
1293         (rest_of_compilation): Call regrename_optimize.
1294         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1295         New macros.     
1296         
1297 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1298
1299         * Makefile (gccbug): New target.
1300         (doc): Depend on it.
1301         * gcc.texi (Bugs): Link subnodes.
1302         (gccbug): New node.
1303         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1304         Document severities, priorities, and classes in bug form.
1305
1306 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1307
1308         * cpplex.c (trigraph_map, speccase): Combine into single
1309         table, chartab.
1310         (NORMAL, NONTRI): New macros.
1311         (_cpp_read_and_prescan): Change to use unified table.  Use
1312         is_hspace to test for whitespace.
1313
1314         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1315         definition that doesn't provoke the "empty body in an
1316         if-statement" warning.
1317
1318 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1319
1320         * builtins.c (expand_builtin_strlen): Force the source to
1321         be a memory address.
1322
1323 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1324
1325         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1326
1327 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1328
1329         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1330          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1331         (ECF_IS_CONST): Rename to ECF_CONST.
1332         (special_function_p): Make static, change interface.
1333         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1334         (expand_call) ... here; convert number of variables to flags.
1335         (emit_library_call_vlue_1): Likewise.
1336         (setjmp_call_p): New function.
1337         (initialize_argument_information): Accepts flags as argument;
1338         return flags.
1339         (precompute_arguments): Likewise.
1340         * tree.h (special_function_p): Remove.
1341         (setjmp_call_p): Add prototype.
1342
1343 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1344
1345         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1346         so that addresses are offsetable by up to 16 bytes.
1347         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1348         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1349         offsetable.
1350
1351         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1352         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1353         (movsf): Don't force any constant to memory if target is integer
1354         hard register.
1355         Move fp_zero_operand check below the const0_rtx check.
1356         (movtf): Likewise. Also allow fp_zero_operand for stores into
1357         memory.
1358         (movdf): Likewise. Also allow fp_zero_operand for stores into
1359         memory and into integer hard registers.
1360         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1361         movdf_const_intreg_sp64): Remove.
1362         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1363         conditions.
1364         (movdf_no_e_insn_v9_sp32): New pattern.
1365         (movdf_insn_v9only): Remove.
1366         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1367         (movdf_insn_sp64): Remove.
1368         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1369         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1370         (following splits): Rewrite conditions. Add two new splits
1371         for storing 0.0 into memory and registers.
1372         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1373         (movtf_insn_sp32): Redo constraints and conditions.
1374         (movtf_insn_vis_sp32): New pattern.
1375         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1376         (movtf_insn_hq_sp64): Likewise.
1377         (movtf_insn_hq_vis_sp64): New pattern.
1378         (movtf_insn_sp64): Redo constraints and conditions.
1379         (movtf_insn_vis_sp64): New pattern.
1380         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1381         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1382         or memory.
1383         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1384         -mvis or -m64 to take down the number of various reload patterns.
1385
1386 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1387
1388         * pa/pa-64.h: New file.
1389         * pa/pa64-regs.h: New file.
1390         * pa/pa64-start.h: New file.
1391         * pa/t-pa64: New file.
1392         * pa/xm-pa64hpux.h: New file.
1393
1394 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1395
1396         * sparc.c (output_restore_regs): Prototype.
1397         (sparc_emit_float_lib_cmp): Constification.
1398
1399         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1400
1401         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1402         Prototype.
1403
1404         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1405         (get_value_hash, hash_rtx): Likewise.
1406
1407         * ssa.c (compute_conservative_reg_partition): Prototype.
1408
1409         * tree.c (mark_hash_entry): Prototype.
1410
1411 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1412
1413         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1414         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1415         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1416
1417         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1418         * objc/lang-specs.h: Likewise.
1419
1420 2000-04-03  Neil Booth  <NeilB@earthling.net>
1421
1422         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1423         and SYNTAX_ERROR2. Replace `' in messages with ''.
1424         (op_to_str): Make re-entrant.
1425         (_cpp_parse_expr): Implement new error macros. Use | rather
1426         than || to logically or 2 boolean integers.  Simply expression
1427         checking we have a left operand iff needed.
1428
1429 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1430
1431         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1432
1433 2000-04-03  Philip Blundell  <philb@gnu.org>
1434
1435         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1436
1437 2000-04-03  Felix Lee  <flee@cygnus.com>
1438
1439         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1440         (run_shell): Use it. 
1441
1442 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1443
1444         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1445         (stmp-fixproto): ...rather than here.
1446
1447 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1448
1449         * pa.c (print_operand): Compute 'base' only inside the code paths
1450         that use it.
1451
1452 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1453
1454         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1455         CEIL_DIV_EXPR.
1456
1457 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1458
1459         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1460
1461 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1462
1463         * Makefile.in (alias.o): Depend on $(TREE_H).
1464
1465 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1466
1467         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1468         processing C++.
1469         * cpplib.c (_cpp_handle_directive): Improve warnings for
1470         traditional C and indented directives.
1471
1472         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1473         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1474         fixinc/inclhack.def: Indent the # of #include_next one space.
1475         * cp/rtti.c: Un-indent #if and #endif.
1476
1477         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1478         syntax error, but an error has already been printed.
1479         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1480         message when called with nothing remaining on the line.
1481         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1482         OTHER token, not an ASSERTION.
1483         * cpplib.c (do_assert): When we create a 'base' node, clear
1484         its aschain pointer.
1485
1486 2000-04-02  Neil Booth <NeilB@earthling.net>
1487
1488         * cppexp.c:  New typedef op_t.  struct operation and struct 
1489         token updated to use it.
1490         (op_to_str): New function.
1491         (_cpp_parse_expr): Error messages modified to use op_to_str.
1492
1493 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1494
1495         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1496         before checking MUST_PASS_IN_STACK.
1497
1498 2000-04-02  Neil Booth <NeilB@earthling.net>
1499
1500         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1501         flags and initial priority into a single constant.  New
1502         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1503         (_parse_cpp_expr): Implement new constants.  Take left operand
1504         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1505         parse indicated by reducing FINISHED token.  Remove new lines
1506         from cpp_error messages.
1507
1508 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1509
1510         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1511         permanent obstack.
1512
1513 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1514
1515         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1516         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1517         the strings and function names on the fly.  Take the #sccs
1518         entry out of the table if SCCS_DIRECTIVE is not defined.
1519         (_cpp_handle_directive): Decide if the # was at the beginning
1520         of the line here.  Issue -pedantic warnings for extended
1521         directives here.  Warn about K+R directives with the #
1522         indented, and C89/extended directives with the # not indented,
1523         here.
1524         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1525         do_assert, do_unassert): Don't issue pedantic warning here.
1526
1527         * cpphash.h: Add CPP_WTRADITIONAL macro.
1528         * cpplib.h (struct cpp_options): Rename warn_stringify to
1529         warn_traditional; update comments.
1530         * cppinit.c (handle_option): Set warn_traditional not
1531         warn_stringify.
1532         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1533         CPP_WTRADITIONAL (pfile).
1534         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1535         be ignored in -traditional mode here.
1536
1537         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1538         to initialize speccase[] and trigraph_map[].  Delete all
1539         references to pfile->input_speccase.  Always treat '?' as a
1540         special character.  Remove table-initialization code from
1541         _cpp_init_input_buffer.
1542
1543         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1544         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1545
1546 2000-04-01  Richard Henderson  <rth@cygnus.com>
1547
1548         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1549         (mostlyclean): Likewise.
1550
1551         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1552         (struct dump_file_info, enum dump_file_index, dump_file): New.
1553         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1554         not a string.  Clean out file if we havn't yet done so.  Do nothing
1555         if the dump isn't enabled.
1556         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1557         graph data if requested.
1558         (dump_rtl, clean_dump_file): Remove.
1559         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1560         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1561         .combine dump if optimizing.  Iterate over dump_file to finalize the
1562         graph dumps.
1563         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1564         Convert all uses of dump_rtl.
1565         (decode_d_option): Iterate over dump_file to implement 'a' and to
1566         locate pass-specific dumps.
1567
1568 2000-04-01  Neil Booth <NeilB@earthling.net>
1569
1570         * cppexp.c: Redefine priority constants.
1571         (_cpp_parse_expr): Replace left and right priority scheme with
1572         single priority logic.  Move LOGICAL to same place as COMPARE.
1573         Remove bogus check for multiple unary +/- operators.
1574
1575 2000-04-01  Neil Booth <NeilB@earthling.net>
1576
1577         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1578         within the switch statement.  Binary operations break out of
1579         the switch naturally.  '(' tokens handled by forcing
1580         immediate shift.  ')' handled by forcing immediate reduce to
1581         the previous '('.  New error messages.
1582         
1583 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1584
1585         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1586         part', it's already in use.  Use %K instead.  Add a return at the
1587         end of what is now %K.
1588         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1589
1590 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1591
1592         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1593         allocate_dynamic_stack_space.
1594         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1595         update stack_pointer_delta; do not update arg_size_so_far.
1596         (compute_argument_block_size): Use stack_delta instead of
1597         stack_pointer_pending and arg_size_so_far.
1598         (expand_call): Add sanity checking for stack_pointer_delta;
1599         save and restore stack_pointer_delta for SIB, use
1600         stack_pointer_delta for alignment; do not update arg_space_so_far.
1601         (emit_library_call_value): Use stack_pointer_delta for alignment.
1602         (store_one_arg): Do not update arg_space_so_far.
1603         * explow.c (adjust_stack, anti_adjust_stack): Update
1604         stack_pointer_delta.
1605         (allocate_dynamic_stack_space): Add sanity checking for
1606         stack_pointer_delta.
1607         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1608         stack_pointer_delta.
1609         (emit_push_insn): Update stack_pointer_delta.
1610         * function.h (struct expr_status): Add x_stack_pointer_delta;
1611         remove x_arg_space_so_far.
1612         (arg_space_so_far): Remove.
1613         (stack_pointer_delta): New macro.
1614
1615 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1616
1617         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1618         Reorder struct cpp_options and struct cpp_reader for better 
1619         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1620         takes two args.  Change all 'char' flags to 'unsigned char'.
1621         Move show_column flag into struct cpp_options.  Don't
1622         prototype cpp_options_init.
1623         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1624         cppinit.c, cpplex.c, cpplib.c:
1625         Replace CPP_OPTIONS (pfile)->whatever with
1626         CPP_OPTION (pfile, whatever), and likewise for
1627         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1628
1629         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1630         Extract CPP_OPTION (pfile, pending) and work with that
1631         directly.
1632         (cpp_options_init): Delete.
1633         (cpp_reader_init): Turn on on-by-default options here.
1634         Allocate the pending structure here.              
1635         (cl_options, enum opt_code): Define these from the same table,
1636         kept in a large macro.  Add -fshow-column and -fno-show-column
1637         options.
1638
1639         * cpperror.c (v_message): If show_column is off, don't print
1640         the column number.
1641
1642         * cppmain.c: Update for new interface.
1643         * fix-header.c: Likewise.
1644
1645 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1646
1647         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1648         definition.
1649         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1650         are passed to any invocation of AR_FOR_TARGET.
1651         (AR_CREATE_FOR_TARGET): New macro.
1652         (AR_EXTRACT_FOR_TARGET): New macro.
1653         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1654         AR_EXTRACT_FOR_TARGET.
1655         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1656         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1657         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1658         AR_EXTRACT_FOR_TARGET to sub-makes.
1659
1660 2000-03-31  Neil Booth <NeilB@earthling.net>
1661
1662         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1663         PAREN_INNER_PRIO.
1664         (_cpp_parse_expr): Check for multiple unary +/- operators.
1665         Correct priorities of ':' and '?'.  Treat ')' as having a
1666         value.  Ensure conditional expression is not void.
1667         
1668 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1669
1670         * alias.c (canon_rtx): Make it global.
1671         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1672         equality.
1673         * cse.c (struct table_elt): Add canon_exp.
1674         (insert): Clear it.
1675         (invalidate): Canonicalize expressions only once.
1676         * rtl.h (canon_rtx): Declare.
1677
1678 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1679
1680         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1681         * alias.c (reg_known_value): Add comments.
1682         (init_alias_analysis): Likewise.
1683         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1684         address.
1685         (cse_basic_block): Fix typo in comment.
1686         * emit-rtl.c: Include hashtab.h.
1687         (const_int_htab): New variable.
1688         (const_int_htab_hash): New function.
1689         (const_int_htab_eq): Likewise.
1690         (rtx_htab_mark_1): Likewise.
1691         (rtx_htab_mark): Likewise.
1692         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1693         (unshare_all_rtx): Fix formatting.
1694         (init_emit_once): Initialize const_int_htab.
1695         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1696         address.
1697         * rtl.texi: Document the fact that all CONST_INTs with the same
1698         value are shared.
1699
1700 2000-03-30  Richard Henderson  <rth@cygnus.com>
1701
1702         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1703
1704 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1705
1706         * configure.in: Comment out --enable-c-cpplib stanza.
1707         * configure: Regenerate.
1708
1709 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1710
1711         * expr.c (store_constructor): Properly compute displacement and
1712         alignment when offset is variable.
1713
1714         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1715         cases of alignment in bytes.
1716
1717 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1718
1719         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1720         since it is used to generate c-parse.y.
1721         * objc-parse.c, objc-parse.y: Regenerated.
1722
1723         * function.c (expand_function_end): Pass alignment argument to
1724         emit_block_move in bits, not bytes.
1725
1726 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1727
1728         * expr.c (move_by_pieces_ninsns): Fix one more missing align
1729         correction.
1730
1731         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1732
1733         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1734         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1735         * function.c (assign_parms): Likewise.
1736         * integrate.c (expand_inline_function): Likewise.
1737         * stmt.c (expand_decl): Likewise.
1738         (copy_rtx_and_substitute): Likewise.
1739         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1740         (clear_by_pieces): Fix error in last change.
1741         * emit-rtl.c (init_emit): Set known registers alignment in bits.
1742         * function.h (regno_pointer_align): Now unsigned.
1743         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1744         is in bits.
1745         * config/i386/i386.c (aligned_operand): Likewise.
1746         * config/sparc/sparc.c (mem_min_alignment): Likewise.
1747         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1748         (unaligned_memory_operand): Likewise.
1749         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1750         Also make alignments and sizes unsigned and some whitespace cleanup.
1751         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1752
1753         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1754         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1755         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1756         (expand_builtin_memset): Likewise, but to clear_storage.
1757         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1758         (restore_fixed_argument_area): Likewise.
1759         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1760         (load_register_parameters): Likewise, to emit_group_load.
1761         (expand_call): Likewise, to emit_group_store and emit_block_move.
1762         (emit_library_call_value_1): Likewise, to emit_block_move.
1763         (store_one_arg): Likewise, and to emit_push_insn.
1764         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1765         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1766         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1767         (emit_block_move, emit_group_load, emit_group_store): Likewise.
1768         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1769         (expand_assigment, store_expr, store_constructor_field): Likewise.
1770         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1771         (store_constructor, store_field, get_inner_reference): Likewise.
1772         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1773         (expand_expr, case COMPONENT_REF): Likewise.
1774         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1775         and positions; reindent code.
1776         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1777         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1778         (assign_parms): Likewise to emit_group_store.
1779         * optabs.c (prepare_cmp_insn): Alignment is in bits.
1780         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1781         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1782         (expand_return): Likewise to {extract,store}_bit_field.
1783         * stor-layout.c (get_mode_alignment): Minor cleanup.
1784         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1785         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1786         
1787 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1788
1789         * config/arm/arm.h: Undo effects of previous delta:
1790         (ASM_SPEC): Do not define.
1791         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1792
1793         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1794         typo. 
1795
1796 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1797
1798         * cppinit.c (cpp_start_read): Call initialize_dependency_output
1799         only after reading in the primary source file.
1800
1801 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
1802
1803         * c-common.c (c_common_nodes_and_builtins): The first parameter to
1804         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1805         or a reference to a va_list.
1806         * builtins.c (stabilize_va_list): Simplify now we don't have to
1807         work around C array address decay.
1808         * c-typeck.c (convert_for_assignment): Handle assignment to
1809         a reference parameter by taking the address of the RHS.
1810         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1811         (va_copy): Likewise.
1812         (__va_copy): Likewise.
1813         * ginclude/varargs.h (va_start): Likewise.
1814         (__va_copy): Likewise.
1815
1816 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
1817
1818         * i386/djgpp.h: Remove extraneous "+".
1819
1820         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1821
1822         * calls.c (expand_call): Fix typo in last change.
1823
1824 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
1825
1826         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1827         been expanded.
1828
1829 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1830
1831         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1832         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1833         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1834         * tree.c (bit_position, byte_position): Likewise.
1835         * tree.h: Declare new functions.
1836
1837 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1838
1839         * config/arm/arm.c: Minor formatting changes/
1840         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1841         already defined.
1842         (ASM_SPEC): Define if not already defined.
1843
1844 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1845
1846         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1847         _cpp_calc_hash.
1848
1849 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
1850
1851         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1852         value, don't output it as unsigned.
1853
1854 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
1855
1856         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1857
1858 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1859
1860         * c-common.c (c_common_nodes_and_builtins): Don't special case
1861         cplus_mode when declaring builtin bzero/bcmp, always avoid
1862         prototype arguments.
1863
1864 2000-03-29  Bruce Korb  <bkorb@gnu.org>
1865
1866         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1867         to a non-file
1868
1869 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1870
1871         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1872         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1873         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1874         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1875         (save_fixed_argument_area, restore_fixed_argument_area):
1876         conditionize by #ifdef REG_PARM_STACK_SPACE only.
1877         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1878         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1879         (precompute_register_parameters): Avoid #ifdefs on
1880         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1881         (stire_one_args): Likewise.
1882         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1883         (emit_library_call_value_1): Likewise.
1884         (compute_argument_block_size): Align to STACK_BOUNDARY only for
1885         ACCUMULATE_OUTGOING_ARGS.
1886         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1887         value.
1888         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1889         (use_crosses_set_p): Likewise.
1890         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1891         #define ACCUMULATE_OUTGOING_ARGS 1.
1892         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1893         frames.
1894         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1895         constants.
1896         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1897         (TARGET_SWITCHES): Add push-args, no-push-args,
1898         accumulate-outgoing-args and no-accumulate-outgoing-args.
1899         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1900         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1901         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1902         and PUSH_ROUNDING.
1903         (emit_push_insn): Likewise.
1904         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1905         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1906         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1907         (STACK_DYNAMIC_OFFSET): Define correctly for both
1908         ACCUMULATE_OUTGOING_ARGS and normal mode.
1909         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1910         * tm.texi (PUSH_ARGS): Document.
1911         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1912
1913 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1914
1915         * flags.h (flag_optimize_sibling_calls): Declare.
1916         * calls.c (expand_call): Fail sibcall when
1917         !flag_optimize_sibling_calls
1918         * invoke.texi (flag_optimize_sibling_calls): Document.
1919         * toplev.c (flag_optimize_sibling_calls): New global variable.
1920         (f_options): Add flag_optimize_sibling_calls.
1921         (rest_of_compilation): Conditionize
1922         optimize_sibling_and_tail_recursive_calls by
1923         flag_optimize_sibling_calls.
1924         (main): Set flag_optimize_sibling_calls for -O2.
1925         * stmt.c (expand_return): Conditionize tail recursion by
1926         flag_optimize_sibling_calls.
1927
1928 2000-03-29  Richard Henderson  <rth@cygnus.com>
1929
1930         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1931         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1932
1933 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
1934
1935         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
1936
1937 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1938
1939         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1940         is given.
1941         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1942         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1943         * config/rs6000/aix.h: then modified likewise.
1944
1945 2000-03-28  Richard Henderson  <rth@cygnus.com>
1946
1947         * rtl.h: Redistribute enum reg_note documentation. 
1948         Kill trailing whitespace.
1949         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1950         Kill trailing whitespace.
1951
1952 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1953
1954         * cppfiles.c (hash_IHASH): Just return i->hash.
1955         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1956         htab_find_with_hash.
1957         (cpp_read_file): Likewise.
1958         (find_include_file): Likewise.  Properly initialize
1959         ih->nshort.  Share ih->name and ih->nshort if possible.
1960         * cpphash.c (_cpp_calc_hash): New function.
1961         (hash_HASHNODE): Just return h->hash.
1962         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1963         htab_find_with_hash.
1964         * cpphash.h: Prototype _cpp_calc_hash.
1965         * cppinit.c (initialize_builtins): Provide a valid hash
1966         to _cpp_make_hashnode, using _cpp_calc_hash.
1967
1968         * cpphash.c (collect_expansion): # is not a special character
1969         in object-like macros.  In -traditional mode, /**/ is not
1970         token paste at the beginning or end of the line.
1971         * cpplib.c (do_include, do_import, do_include_next): If
1972         parse_include fails, return immediately.
1973
1974 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1975
1976         * config/arm/arm.md (return peepholes): Update to reflect the new
1977         call insn patterns.
1978         * config/arm/arm.c (arm_volatile_func): Also check
1979         current_function_nothrow.
1980         (output_return_instruction, output_func_prologue): Use it.
1981         (arm_output_epilogue, arm_expand_prologue): Likewise.
1982
1983 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1984
1985         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1986         switch is found.
1987
1988 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1989
1990         * expr.c (store_constructor): SIZE now signed.
1991         For EXPR_SIZE, don't evaluate size; just needed if constant.
1992         * fold-const.c (fold): Fix a number of cases when folded tree is
1993         wrong type.
1994         * function.c (flush_addressof): Reenable.
1995         * tree.h (flush_addressof): Likewise.
1996         * toplev.c (independent_decode_option): Look at strings_processed.
1997         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1998
1999 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
2000
2001         * sibcall.c (indentify_call_return_value): Find last call in the chain;
2002         Allow stack adjustment after function call.
2003
2004         * regmove.c (struct csa_memlist): Make mem field rtx *.
2005         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2006         (try_apply_stack_adjustment): Replace whole MEM rtx.
2007         (combine_stack_adjustments_for_block): Update calls
2008         to record_one_stack_ref.
2009
2010 2000-03-28  Neil Booth  <NeilB@earthling.net>
2011
2012         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2013         '\\' rather than a null character, so nulls are not special.  Fix
2014         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
2015         speed trigraph conversion.
2016         (_cpp_init_input_buffer): Initialize trigraph map.
2017
2018 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2019
2020         * config/i386/i386.c (output_387_binary_op): Correct intel
2021         mode assembly output, and add spaces after commas in AT&T
2022         output.  Correct Unixware assembler comment.  Document input
2023         constraints.  Comment fp operations.  Reduce profligate buffer
2024         size.  Remove extraneous abort.  Localize temp var.
2025         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
2026         (output_fix_trunc): Add spaces after commas in assembly output.
2027
2028 2000-03-27  Richard Henderson  <rth@cygnus.com>
2029
2030         * i386-protos.h (ix86_match_ccmode): Declare.
2031         * i386.c (ix86_match_ccmode): New.
2032         (ix86_expand_fp_compare): Update for pattern renames.
2033         (ix86_expand_strlensi_unroll_1): Likewise.
2034         * i386.h (EXTRA_CC_MODES): Add CCZ.
2035         (SELECT_CC_MODE): Use it for EQ/NE zero.
2036         * i386.md (cmpsi_ccz_1): New.
2037         (cmpqi_ccz_1): New.
2038         (*testsi_ccz_1): New.
2039         (testqi_ccz_1): New.
2040         (cmpsi_ccno_1): Rename from cmpsi_0.
2041         (testsi_ccno_1): Rename from testsi_1.
2042         (testqi_ccno_1): Rename from testqi_1.
2043         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2044         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2045         (*cmphi_0): Use ix86_match_ccmode.
2046         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2047         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2048         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2049         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2050         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2051         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2052         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2053         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2054         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2055         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2056         (appropriate peepholes): Likewise.
2057         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2058         (*subsi_3, *subhi_3, *subqi_3): Remove.
2059         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2060         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2061         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2062         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2063         (x86_shift_adj_1): Use CCZ.
2064         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2065
2066 2000-03-27  Stan Cox  <scox@cygnus.com> 
2067
2068         * resource.h (mark_resource_type): New.
2069         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
2070         find_free_register): Use mark_resource_type.
2071         (mark_set_resources): Change include_delayed_effects
2072         to mark_resource_type.
2073         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
2074         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
2075         Use mark_resource_type.
2076         
2077 2000-03-27  Richard Henderson  <rth@cygnus.com>
2078
2079         * i386.md (call_pop_0, call_value_pop_0): New.
2080         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
2081         (call_value_pop_1): Likewise.
2082         (call_0, call_value_0): New.
2083         (call_1, call_value_1): Remove constraint from unused arg.
2084
2085 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2086
2087         * invoke.texi (Spec Files): Document new spec % command created by
2088         Tom Tromey's recent patch.
2089
2090 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
2091
2092         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2093         if not defined.
2094
2095 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2096
2097         * expr.c (expand_assignment): Fix typo in last change.
2098
2099         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2100
2101 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2102
2103         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2104         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2105         and DECL_INLINE if FUNCTION_DECL.
2106         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2107         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2108         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2109         (combine_parm_decls): Likewise.
2110         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2111         * print-tree.c (print_node): Likewise.
2112         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2113         DECL_TRANSPARENT_UNION on proper decl types.
2114         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2115         * stor-layout.c (layout_decl): Only check DECL_PACKED and
2116         DECL_BIT_FIELD of FIELD_DECL.
2117         * tree.h (DECL_RESULT_FLD): New macro.
2118         
2119         * expr.c (expand_assignment): Add code to handle variable-sized
2120         BLKmode case.
2121
2122 2000-03-26  Richard Henderson  <rth@cygnus.com>
2123
2124         * calls.c (expand_call): Pass parms not original exp to
2125         optimize_tail_recursion.  Mind return value instead of looking
2126         for a barrier.
2127         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2128         call_expr.  Move checks for call_expr and current_function_decl ...
2129         (expand_return): ... here.
2130
2131 2000-03-26  Tom Tromey  <tromey@cygnus.com>
2132
2133         * gcc.c (handle_braces): Recognize `%{<S}' construct.
2134         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2135         defines.
2136         (process_command): Use them.
2137         (check_live_switch): Likewise.
2138         (give_switch): Skip ignored switches.
2139
2140 2000-03-26  Jan Hubicka  <jh@suse.cz>
2141
2142         * jump.c (jump_optimize_1): Fix typo in elide optimizations
2143         for minimal jump pass test.
2144
2145 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
2146
2147         * integrate.c (function_cannot_inline_p): Do inline functions that
2148         return `void'.
2149
2150 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2151
2152         * stor-layout.c (layout_type, set_sizetype): early_type_list is
2153         now a list of TREE_LIST entries, not types.
2154         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2155
2156         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2157         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2158         int_bit_position.
2159         * config/mips/mips.c (function_arg): Likewise; also remove cast
2160         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2161         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2162         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2163         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2164         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2165         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2166         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2167         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2168         num_adjusts now unsigned.
2169         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2170         * config/sparc/sparc.c (struct function_arg_record_value_parms):
2171         NREGS now unsigned.
2172         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2173         as is BITPOS variable; use host_integerp and int_bit_position.
2174         (function_arg_record_value_2): Likewise.
2175         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2176         Variable REGNO now unsigned.
2177         (function_arg_record_value): NREGS now unsigned.
2178
2179 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
2180
2181         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2182
2183 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2184
2185         * Rework fields used to describe positions of bitfields and
2186         modify sizes to be unsigned and use HOST_WIDE_INT.
2187         * alias.c (reg_known_value_size): Now unsigned.
2188         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2189         (really_start_incremental_init): Use bitsize_zero_node.
2190         (push_init_level, pop_init_level, output_init_element): Likewise.
2191         Use bitsize_unit_node and bitsize_one_node.
2192         (output_pending_init_elements, process_init_element): Likewise.
2193         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2194         (make_extraction): Position and length HOST_WIDE_INT and unsigned
2195         HOST_WIDE_INT, respectively.
2196         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2197         (num_sign_bit_copies): Returns unsigned.
2198         BITWIDTH now unsigned; rework arithmetic.
2199         Remove recursive call from arg to MAX.
2200         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2201         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2202         REGNO now unsigned.
2203         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2204         (find_split_point, expand_compound_operation, make_extraction): LEN
2205         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2206         (make_field_assignment): Likewise.
2207         (combine_simplify_rtx): Add cast.
2208         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2209         (force_to_mode): WIDTH now unsigned; add cast.
2210         (if_then_else_cond): SIZE now unsigned.
2211         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2212         (extended_count): Now returns unsigned.
2213         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2214         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2215         (simplify_comparison): MODE_WIDTH now unsigned.
2216         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2217         (mark_used_regs_combine): Likewise; rework arithmetic.
2218         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2219         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2220         (record_promoted_value): REGNO now unsigned.
2221         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2222         (get_last_value): REGNO now unsigned.
2223         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2224         (reg_dead_regno, reg_dead_endregno): Now unsigned.
2225         (remove_death): Arg REGNO now unsigned.
2226         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2227         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2228         now unsigned.
2229         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2230         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2231         (struct cse_reg_info): REGNO now unsigned.
2232         (cached_regno): Now unsigned.
2233         (REGNO_QTY_VALID_P): Add cast.
2234         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2235         (remove_invalid_regs): Likewise.
2236         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2237         as are variables END and I.
2238         (get_cse_reg_info, insert): Likewise.
2239         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2240         (canon_hash): Likewise.
2241         (insert_regs, lookup_for_remove): REGNO now unsigned.
2242         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2243         New variable RN.
2244         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2245         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2246         * emit-rtl.c (subreg_realpart_p): Add cast.
2247         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2248         (operand_subword_force): Arg I is now unsigned.
2249         * except.c (eh_regs): Variable I is now unsigned.
2250         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2251         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2252         length is unsigned HOST_WIDE_INT; likewise for internal variables.
2253         (store_split_bit_field, extract_fixed_bit_field): Likewise.
2254         (extract_split_bit_field, store_bit_field, extract_bit_field):
2255         Likewise.
2256         * expr.c (store_constructor_fields, store_constructor, store_field):
2257         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2258         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2259         (do_jump): Likewise.
2260         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2261         MAX_SIZE is now unsigned.
2262         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2263         (emit_group_store): Likewise.
2264         (emit_move_insn): I now unsigned.
2265         (store_constructor): Use host_integerp, tree_low_cst, and
2266         bitsize_unit_node.
2267         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2268         Rework all calculations to use trees and new fields.
2269         * expr.h (promoted_input_arg): Regno now unsigned.
2270         (store_bit_field, extract_bit_field): Adjust types of pos and size.
2271         (mark_seen_cases): Arg is HOST_WIDE_INT.
2272         * flow.c (verify_wide_reg_1): REGNO now unsigned.
2273         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2274         precisions and alignments are unsigned.
2275         (optimize_bit_field_compare, fold_truthop): Likewise.
2276         (int_const_binop): Adjust threshold for size_int_type_wide call.
2277         (fold_convert): Likewise.
2278         (size_int_type_wide): Make table larger and fix thinko that only
2279         had half of table used.
2280         (all_ones_mask_p, fold): Precisions are unsigned.
2281         * function.c (put_reg_info_stack): REGNO is unsigned.
2282         (instantiate_decl): Size is HOST_WIDE_INT.
2283         (instantiate_virtual_regs): I is unsigned.
2284         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2285         (promoted_input_arg): REGNO is unsigned.
2286         * function.h (struct function): x_max_parm_reg is now unsigned.
2287         * gcse.c (max_gcse_regno): Now unsigned.
2288         (struct null_pointer_info): min_reg and max_reg now unsigned.
2289         (lookup_set, next_set): REGNO arg now unsigned.
2290         (compute_hash_table): REGNO and I now unsigned.
2291         (handle_avail_expr): regnum_for_replacing now unsigned.
2292         (cprop_insn): REGNO now unsigned.
2293         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2294         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2295         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2296         * hard-reg-set.h (reg_class_size): Now unsigned.
2297         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2298         * jump.c (mark_modified_reg): I now unsigned; add cast.
2299         (rtx_equal_for_thread_p): Add cast.
2300         * loop.c (max_reg_before_loop): Now unsigned.
2301         (struct_movable): REGNO now unsigned.
2302         (try_copy_prop): REGNO arg unsigned.
2303         (regs_match_p): XN and YN now unsigned.
2304         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2305         (strength_reduce): Likewise; NREGS also unsigned.
2306         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2307         * loop.h (struct iv_class): REGNO now unsigned.
2308         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2309         Now unsigned.
2310         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2311         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2312         * optabs.c (expand_binop): I and NWORDS now unsigned.
2313         (expand_unop): I now unsigned.
2314         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2315         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2316         * real.c (significand_size): Now returns unsigned.
2317         * real.h (significand_size): Likewise.
2318         * regclass.c (reg_class_size): Now unsigned.
2319         (choose_hard_reg_mode): Both operands now unsigned.
2320         (record_reg_classes): REGNO and NR now unsigned.
2321         (reg_scan): NREGS now unsigned.
2322         (reg_scan_update): old_max_regno now unsigned.
2323         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2324         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2325         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2326         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2327         Likewise for variable R.
2328         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2329         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2330         (find_equiv_reg): Add casts.
2331         (regno_clobbered_p): Arg REGNO now unsigned.
2332         * reload.h (struct reload): NREGS now unsigned.
2333         (refers_to_regno_for_reload_p): Regno args are unsigned.
2334         (regno_clobbered_p): Likewise.
2335         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2336         (compute_use_by_pseudos): REGNO now unsigned.
2337         (find_reg): I and J now unsigned, new variable K, and change loop
2338         variables accordingly; THIS_NREGS now unsigned.
2339         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2340         (spill_hard_reg): REGNO arg now unsigned; add casts.
2341         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2342         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2343         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2344         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2345         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2346         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2347         (emit_reload_insns): REGNO now unsigned.
2348         (reload_cse_move2add): Add cast.
2349         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2350         and rework loop.
2351         * resource.c (mark_referenced_resources, mark_set_resources): New
2352         variable R; REGNO and LAST_REGNO now unsigned.
2353         (mark_target_live_regs): J and REGNO now unsigned.
2354         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2355         * rtl.h (union rtunion_def): New field rtuint.
2356         (XCUINT): New macro.
2357         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2358         (operand_subword, operand_subword_force): Word number is unsigned.
2359         (choose_hard_reg_mode): Operands are unsigned.
2360         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2361         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2362         (regno_use_in, combine_instructions, remove_death): Likewise.
2363         (reg_scan, reg_scan_update): Likewise.
2364         (extended_count): Return is unsigned.
2365         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2366         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2367         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2368         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2369         (reg_reg_last_1): FIRS and LAST now unsigned.
2370         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2371         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2372         now unsigned.
2373         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2374         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2375         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2376         (replace_regs): Arg NREGS now unsigned.
2377         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2378         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2379         (simplify_binary_operation): Likewise.
2380         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2381         THIS_LAST now unsigned.
2382         (cselib_record_set): Add cast.
2383         * ssa.c (ssa_max_reg_num): Now unsigned.
2384         (rename_block): REGNO now unsigned.
2385         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2386         sizes now unsigned.
2387         (all_cases_count): Just return -1 not -2.
2388         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2389         Rework tests to use trees whenever possible.
2390         Use host_integerp and tree_low_cst.
2391         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2392         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2393         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2394         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2395         (smallest_mode_for_size): Likewise.
2396         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2397         KNOWN_ALIGN is now an alignment, so simplify code.
2398         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2399         (start_record_layout): Renamed from new_record_layout_info.
2400         Update to new fields.
2401         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2402         New functions.
2403         (place_union_field): Renamed from layout_union_field.
2404         Update to use new fields in rli.
2405         (place_field): Renamed from layout_field.
2406         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2407         (finalize_record_size): Rework to use new fields in rli and handle
2408         union.
2409         (compute_record_mode): Rework to simplify and to use new DECL fields.
2410         (finalize_type_size): Make rounding more consistent.
2411         (finish_union_layout): Deleted.
2412         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2413         (layout_type, case RECORD_TYPE): Call new function names.
2414         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2415         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2416         (get_best_mode): UNIT is now unsigned; remove casts.
2417         * tree.c (bit_position): Compute from new fields.
2418         (byte_position, int_byte_position): New functions.
2419         (print_type_hash_statistics): Cast to remove warning.
2420         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2421         (build_index_type): Likewise; make subtype of sizetype.
2422         (build_index_2_type): Pass sizetype to build_range_type.
2423         (build_common_tree_nodes): Use size_int and bitsize_int to
2424         initialize nodes; add bitsize_{zero,one,unit}_node.
2425         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2426         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2427         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2428         (DECL_FIELD_BITPOS): Deleted.
2429         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2430         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2431         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2432         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2433         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2434         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2435         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2436         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2437         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2438         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2439         (DECL_ALIGN): Adjust to new field in union.
2440         (DECL_OFFSET_ALIGN): New field.
2441         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2442         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2443         (union tree_decl): Add struct for both aligns.
2444         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2445         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2446         (struct record_layout_info): Rework fields to have offset
2447         alignment and byte and bit position.
2448         (start_record_layout, place_field): Renamed from old names.
2449         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2450         (byte_position, int_byte_position): Likewise.
2451         (get_inner_reference): Change types of position and length.
2452         * unroll.c (unroll_loop): New variable R; use for some loops.
2453         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2454         (calculate_giv_inc): Arg REGNO now unsigned.
2455         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2456         * varasm.c (assemble_variable): Clean up handling of size using
2457         host_integerp and tree_low_cst.
2458         (decode_addr_const): Use byte, not bit, position.
2459         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2460         use tree_low_cst and int_bit_position.
2461         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2462         
2463 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2464
2465         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2466         (reorder_block_def): New members eff_head and eff_end.
2467         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2468         (verify_insn_chain): New function.
2469         (skip_insns_between_block): Add code to skip deleted insns.
2470         Check for note before using.
2471         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2472         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2473         Check for note before using.
2474         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2475         (fixup_reorder_chain): Restructure, clean up, defect removal.
2476         (reorder_basic_blocks): Remove last_insn and references to it.
2477         Moved insn chain verification code into a new function (see above).
2478         Delete defective code that sets last insn.
2479         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2480         all blocks.
2481
2482 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2483
2484         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2485
2486 2000-03-24  Richard Henderson  <rth@cygnus.com>
2487
2488         * tree.c (lang_safe_for_unsave): Remove.
2489         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2490         allowing for two levels of unsafeness.  Remove lang hook.
2491         * tree.h: Update declarations.
2492         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2493         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2494         Always fail sibcalls when there are pending cleanups.
2495
2496 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2497
2498         * flow.c (propagate_block): When we delete an ADDR_VEC,
2499         also delete the BARRIER following it if there is one.
2500
2501 2000-03-24  Richard Henderson  <rth@cygnus.com>
2502
2503         * builtins.c (expand_builtin_bzero): Convert `length' argument
2504         to sizetype.
2505
2506 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2507
2508         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2509         comparison if regno's are equal.
2510         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2511         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2512         (expand_call): Update caller.
2513         Avoid making a sibling call if argument size of the callee is larger
2514         than argument size of the caller.
2515         Call hard_function_value with outgoing set if in sibcall pass.
2516         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2517
2518         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2519         Change LEAF_REGISTERS from an array initializer to actual array
2520         identifier. Move static global variable into the function.
2521         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2522         sequences for leaf functions.
2523         * global.c (global_alloc): Likewise.
2524         * tm.texi (LEAF_REGISTERS): Update documentation.
2525
2526         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2527         TARGET_FLAT leaf disabling hack.
2528         (LEAF_REGISTERS): Changed from an array initializer to actual array
2529         identifier to avoid duplication and remove the above hack.
2530         (FUNCTION_OK_FOR_SIBCALL): Define.
2531         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2532         always like call attribute.
2533         (eligible_for_sibcall_delay): New attribute.
2534         (sibcall): New delay type.
2535         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2536         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2537         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2538         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2539         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2540         New functions.
2541         (output_function_epilogue): Move part of the code into
2542         output_restore_regs.
2543         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2544         TYPE_SIBCALL.
2545         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2546         prototypes.
2547
2548         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2549         until infrastructure is finished.
2550
2551 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2552
2553         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2554         (save_parm_insns): Not here.
2555
2556 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2557
2558         * builtins.c (expand_builtin_bzero): New function.
2559         (expand_builtin): Handle bzero.
2560
2561         * builtins.def: Add BUILT_IN_BZERO.
2562
2563         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2564         prototype & function for bzero.
2565
2566 2000-03-23  Michael Meissner  <meissner@redhat.com>
2567
2568         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2569         change adding TARGET_FP to the TF floating point insns, except for
2570         trunctfsf2, which generates direct calls to truncdfsf2.
2571
2572 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2573
2574         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2575         try to protect against middle-end changes that break binary
2576         compatibility.
2577         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2578
2579 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2580
2581         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2582
2583 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2584
2585         * calls.c (expand_call): If TARGET is passed by reference and
2586         is readonly, write a CLOBBER.
2587
2588 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2589
2590         * builtins.c (expand_builtin): Handle bcmp.
2591
2592         * builtins.def: Add BUILT_IN_BCMP.
2593
2594         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2595         prototype & function for bcmp.
2596
2597 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2598
2599         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2600         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2601         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2602
2603 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2604
2605         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2606         alternative when using -fp64 -gp32.
2607
2608 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2609
2610         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2611         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2612         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2613
2614         * frame.h (frame_state): Revert last change.
2615         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2616         * libgcc2.c (throw_helper): Revert last change.
2617         
2618 2000-03-22  Richard Henderson  <rth@cygnus.com>
2619
2620         * stmt.c (expand_asm_operands): Don't promote the temporary.
2621
2622 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2623
2624         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2625         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2626           c_get_alias_set): Likewise.
2627         * c-decl.c (duplicate_decls): Likewise.
2628         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2629         * calls.c (initialize_argument_information): Likewise.
2630         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2631         Likewise.
2632         * dwarfout.c (decl_class_context,output_type): Likewise.
2633         * expr.c (get_inner_reference): Likewise.
2634         * fold-const.c (simple_operand_p,fold): Likewise.
2635         * function.c (aggregate_value_p): Likewise.
2636         * stmt.c (expand_asm_operands): Likewise.
2637         * varasm.c (named_section): Likewise.
2638
2639 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2640
2641         Implement dwarf2 exception handling for the ARM.
2642         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2643         (DWARF_FRAME_RETURN_COLUMN): Define.
2644         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2645         REG_FRAME_RELATED_EXPR note.
2646         (emit_sfm): Likewise.
2647         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2648         * dwarf2out.c (reg_save): Handle saving a register to itself.
2649         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2650         * except.c (eh_regs): Don't use the static chain reg if it's
2651         callee-saved.
2652         * frame.h (frame_state): Add cfa_saved field.
2653         * frame.c (execute_cfa_insn): Set it.
2654         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2655         the epilogue.
2656         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2657         Now takes a parm.
2658         (instantiate_virtual_regs): Adjust.
2659         * tm.texi: Adjust.
2660         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2661         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2662         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2663
2664         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2665         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2666
2667 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2668
2669         * builtins.def: New file.
2670
2671         * Makefile.in (TREE_H): Depend on builtins.def.
2672
2673         * builtins.c (built_in_names): Use builtins.def.
2674
2675         * tree.h (built_in_function): Likewise.
2676
2677 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2678
2679         * tree.c (size_in_bytes): Return size_zero_node, not
2680         integer_zero_node.
2681
2682 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2683
2684         * config/fp-bit.c (pack_d): Correct the case when a denormal
2685         is rounded up and stops being denormal.
2686
2687 2000-03-21  Richard Henderson  <rth@cygnus.com>
2688
2689         * config/alpha/alpha.c (function_arg): Check for void_type_node
2690         before using MUST_PASS_IN_STACK.
2691
2692 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2693
2694         * regmove.c (combine_stack_adjustments_for_block): Check that
2695         the stack pointer is a valid memory address.
2696
2697 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2698
2699         * calls.c: re-install Mar 16 emit_library_call merge.
2700
2701 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2702
2703         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2704         we cannot be sure that if reload_completed base register will
2705         be properly aligned.
2706
2707 2000-03-21  Richard Henderson  <rth@cygnus.com>
2708
2709         * flow.c (delete_block): Fix typo last change.
2710
2711 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2712
2713         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2714         not COMPLETE_TYPE_P, to check the type of the expression.
2715
2716 2000-03-21  Michael Meissner  <meissner@redhat.com>
2717
2718         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2719         all floating point insns that just tested the macro
2720         TARGET_HAS_XFLOATING_LIBS.
2721         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2722         used to only use the gprs.
2723
2724 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
2725
2726         * tree.h (COMPLETE_TYPE_P): New macro.
2727         (COMPLETE_OR_VOID_TYPE_P): New macro.
2728         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2729         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2730         * c-aux-info.c (gen_type): Use them.
2731         * c-common.c (c_expand_expr_stmt): Likewise.
2732         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2733         grokdeclarator, grokparms, finish_struct, start_function,
2734         store_parm_decls, combine_parm_decls): Likewise.
2735         * c-parse.y (cast_expr): Likewise.
2736         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2737         c_size_in_bytes, c_alignof, build_component_ref,
2738         build_indirect_ref, build_array_ref, convert_arguments,
2739         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2740         * calls.c (initialize_argument_information): Likewise.
2741         * convert.c (convert_to_integer): Likewise.
2742         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2743         * dwarfout.c (location_or_const_value_attribute,
2744         output_enumeration_type_die, output_structure_type_die,
2745         output_union_type_die, output_type): Likewise.
2746         * expr.c (safe_from_p, expand_expr): Likewise.
2747         * function.c (assign_parms): Likewise.
2748         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2749         * tree.c (build_array_type, build_function_type,
2750         build_method_type, build_offset_type, build_complex_type): Likewise.
2751         * c-parse.c, c-parse.h: Regenerated.
2752
2753 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2754
2755         * config/c4x/rtems.h: Include config/rtems.h.
2756
2757 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
2758
2759         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2760         decl is a FUNCTION_DECL
2761
2762 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
2763
2764         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2765         function uses output registers.  Don't save RP for leaf functions.
2766         Do save RP even if no epilogue.
2767         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2768         (CALL_USED_REGISTERS): Unmark in registers.
2769         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
2770         to near the middle.
2771
2772 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2773
2774         * config/rs6000/rs6000.md (bunordered): New expander.
2775         (bordered): New expander.
2776         (buneq): New expander.
2777         (bunge): New expander.
2778         (bungt): New expander.
2779         (bunle): New expander.
2780         (bunlt): New expander.
2781         (bltgt): New expander.
2782  
2783         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2784         (ccr_bit_negated_p): New function.
2785         (print_operand): For %C, generate appropriate cror for UNEQ,
2786         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
2787
2788 2000-03-20  Andreas Jaeger  <aj@suse.de>
2789
2790         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2791         warning.
2792
2793         * tree.h (safe_for_unsave): Prototype.
2794
2795 2000-03-20  Richard Henderson  <rth@cygnus.com>
2796
2797         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2798         (combine_stack_adjustments_for_block): Don't allow sp references
2799         in the side of a set we're not fixing up.
2800         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2801         after life_analysis.
2802
2803 2000-03-20  Richard Henderson  <rth@cygnus.com>
2804
2805         * calls.c (expand_call): Don't bother generating tail call
2806         sequences if there are pending cleanups.  Use
2807         expand_start_target_temps/expand_end_target_temps to elide
2808         cleanups created during sibcall expansion.
2809
2810 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2811
2812         * configure.in: Set $IFS to a value if it doesn't already have one
2813         in the --enable-checking handling.
2814         * configure: Regenerate.
2815
2816 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2817
2818         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2819         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2820         Regenerated.
2821
2822 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
2823
2824         * jump.c (delete_noop_moves): Remove code attempting to
2825         combine stack adjustments.
2826
2827 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2828
2829         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2830         * except.c (emit_cleanup_handler): Use them.
2831         (expand_end_all_catch): Likewise.
2832         * function.c (fixup_var_refs): Likewise.
2833         (expand_function_end): Clear catch_clauses_last.
2834         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2835         * except.h (struct eh_status): New field x_catch_clauses_last.
2836         (catch_clauses_last): New define.
2837
2838         * Makefile.in (tree.o): Depend on HASHTAB_H.
2839         * tree.c: Include hashtab.h.
2840         (struct type_hash): Remove next field.
2841         (TYPE_HASH_SIZE): Remove.
2842         (TYPE_HASH_INITIAL_SIZE): New define.
2843         (type_hash_table): Change type to htab_t.
2844         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2845         mark_hash_entry): New functions.
2846         (init_obstacks): Allocate type hash.
2847         (type_hash_lookup): Use htab functions.
2848         (type_hash_add, mark_type_hash): Likewise.
2849         (dump_tree_statistics): Call print_type_hash_statistics.
2850
2851 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2852
2853         * rs6000/t-aix41: New file.
2854
2855         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2856
2857 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2858
2859         * tm.texi (Driver): Fix typos and tweak entry for
2860         INCLUDE_DEFAULTS.
2861         Move misplaced STRUCT_FORCE_BLK entry ...
2862         (Storage Layout): ... to here.
2863         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2864
2865 2000-03-19  Richard Henderson  <rth@cygnus.com>
2866
2867         * flow.c (delete_block): Delete the addr_vec along with the block.
2868         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2869         reference labels.
2870
2871         * fold-const.c (extract_muldiv): Apply type check for defined
2872         overflow to multiply as well as divide.
2873
2874         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2875
2876 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2877
2878         * emit-rtl.c (remove_unncessary_notes): Check that all
2879         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2880         associated NOTE_BLOCK.
2881         * function.h (identify_blocks): Update comments.
2882         (reorder_blocks): Declare.
2883         * function.c (identify_blocks): Don't take paramters.
2884         (reorder_blocks): Don't take parameters.
2885         * loop.h (find_loop_tree_blocks): Remove.
2886         (unroll_block_trees): Likewise.
2887         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
2888         reorder_blocks instead of unroll_block_trees.h
2889         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2890         * stmt.c (find_loop_tree_blocks): Remove.
2891         (unroll_block_trees): Likewise.
2892         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2893         in whole-function mode.
2894         * tree.h (reorder_blocks): Remove declaration.
2895
2896         * expr.c: Include intl.h.
2897         * Makefile.in (expr.o): Depend on intl.h.
2898         
2899 2000-03-18  Richard Henderson  <rth@cygnus.com>
2900
2901         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2902
2903 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2904
2905         * tree.h (tree_index): Remove enumerals for integer types.
2906         (integer_type_kind): New type.
2907         (integer_types): New variable.
2908         (char_type_node): Adjust.
2909         (signed_char_type_node): Likewise.
2910         (unsigned_char_type_node): Likewise.
2911         (short_integer_type_node): Likewise.
2912         (short_unsigned_type_node): Likewise.
2913         (integer_type_node): Likewise.
2914         (unsigned_type_node): Likewise.
2915         (long_integer_type_node): Likewise.
2916         (long_unsigned_type_node): Likewise.
2917         (long_long_integer_type_node): Likewise.
2918         (long_long_unsigned_type_node): Likewise.
2919         * tree.c (integer_types): New variable.
2920         (init_obstacks): Register it as a root.
2921
2922 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
2923
2924         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2925         NEXT_INSN. Update last insn in chain.
2926
2927 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
2928
2929         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2930         with TYPE_DECL_SUPPRESS_DEBUG set.
2931
2932 2000-03-18  Richard Henderson  <rth@cygnus.com>
2933
2934         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2935
2936 2000-03-18  Richard Henderson  <rth@cygnus.com>
2937
2938         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2939         care for HALF_PIC_P.
2940         (expander_call_insn_operand): Remove.
2941         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2942         * i386.h (PREDICATE_CODES): Update.
2943         * i386.md (all call expanders): Remove predicates, remove special
2944         handling for half-pic.
2945         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2946         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2947         (sibcall_epilogue): New.
2948
2949 2000-03-17  Richard Henderson  <rth@cygnus.com>
2950
2951         * rtlanal.c (single_set): Reject if the parallel has anything
2952         except SET or USE or CLOBBER.
2953
2954 2000-03-17  Jeff Law  <law@cygnus.com>
2955             Richard Henderson  <rth@cygnus.com>
2956
2957         * Makefile.in (OBJS): Add sibcall.o.
2958         (sibcall.o): New.
2959         * sibcall.c: New file.
2960         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2961         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2962         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2963         Emit sibcall patterns when requested.  Update all callers.
2964         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2965         elimination seems feasable.
2966         * final.c (leaf_function_p): Sibling calls don't discount being
2967         a leaf function.
2968         * flow.c (HAVE_sibcall_epilogue): Provide default.
2969         (find_basic_blocks_1): Sibling calls don't throw.
2970         (make_edges): Make edge from sibling call to EXIT.
2971         (propagate_block): Don't remove sibcall_epilogue insns.
2972         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2973         (sibcall_epilogue): New.
2974         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2975         (identify_blocks_1): Likewise.  Break out from ...
2976         (identify_blocks): ... here.
2977         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2978         (reorder_blocks): ... here.
2979         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2980         (record_insns): Extend a varray instead of mallocing new memory.
2981         (contains): Read a varray not array of ints.
2982         (sibcall_epilogue_contains): New.
2983         (thread_prologue_and_epilogue_insns): Emit and record
2984         sibcall_epilogue patterns.
2985         (init_function_once): Allocate prologue/epilogue varrays.
2986         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2987         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2988         Broken out from ...
2989         (save_for_inline_nocopy): ... here.
2990         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2991         Broken out from ...
2992         (expand_inline_function): ... here.
2993         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2994         (subst_constants): Handle 'n' formats.
2995         * jump.c (jump_optimize_minimal): New.
2996         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2997         optimizations if it's set.
2998         * rtl.c (copy_rtx): Do copy jump & call for insns.
2999         * rtl.h (struct rtx_def): Document use of jump and call for insns.
3000         (SIBLING_CALL_P): New.
3001         (sibcall_use_t): New.
3002         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3003         Invoke optimize_sibling_and_tail_recursive_calls.
3004         * tree.c (lang_safe_for_unsave): New.
3005         (safe_for_unsave): New.
3006         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3007
3008         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3009         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3010         (*sibcall_osf_1, *sibcall_value_osf_1): New.
3011
3012 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
3013
3014         * objc/objc-act.c (encode_method_prototype): Pass types, not
3015         PARM_DECLs, to int_size_in_bytes.
3016
3017 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
3018
3019         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3020
3021         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3022         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3023
3024 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3025
3026         * Clean up usages of TREE_INT_CST_LOW.
3027         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3028         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3029         Regenerated.
3030         * c-tree.h (min_precision): Move declaration to here.
3031         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3032         (build_unary_op, add_pending_init): Use bit_position.
3033         (pending_init_member, process_init_element): Likewise.
3034         (really_start_incremental_init, push_init_level, pop_init_level):
3035         Don't make copies of nodes or modify them in place, use consistent
3036         types when tracking positions, and use tree routines computations.
3037         (set_init_index, output_init_element): Likewise.
3038         (output_pending_init_elements, process_init_element): Likewise.
3039         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3040         tree_low_cst and int_bit_position; also minor cleanup.
3041         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3042         (print_cst_octal): Precision is unsigned.
3043         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3044         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3045         (simple_type_align_in_bits): Result is unsigned int.
3046         Use tree_int_low_cst and host_integerp.
3047         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3048         (field_byte_offset): Result is HOST_WIDE_INT.
3049         Change types of internal variables so alignments are unsigned int,
3050         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3051         Use host_integerp, tree_low_cst, and int_bit_position.
3052         (add_bit_offset_attribute): Likewise.
3053         (add_data_member_location_attribute): Use tree_cst_low.
3054         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3055         (add_bit_size_attribute): Use tree_low_cst.
3056         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3057         * dwarfout.c: Similar changes to dwarf2out.c.
3058         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3059         * genoutput.c (n_occurences): Return -1 for null string.
3060         (strip_whitespace): Accept null string and make into function.
3061         (scan_operands): Reflect above changes.
3062         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3063         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3064         * ssa.c (rename_registers): Add missing cast of arg to bzero.
3065         * tree.c (int_size_in_bytes): Check for too big to represent.
3066         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3067         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3068         New declarations.
3069         (min_precision): Delete from here.
3070         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3071         and int_bit_position.
3072         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3073         (encode_method_def): Likewise.
3074         (build_ivar_list_initializer): Use int_bit_position.
3075         (generate_shared_structures): Convert size.
3076         (encode_type, encode_complete_bitfield): Use integer_zerop.
3077         (encode_bitfield): Use tree_low_cst and int_bit_position.
3078         
3079 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3080
3081         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3082
3083 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3084
3085         * call.c (special_function_p): It is only malloc if it returns
3086         Pmode.
3087
3088 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3089
3090         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3091         (C33_FLAG, TARGET_C3X): Add macros.
3092         (TARGET_SWITCHES): Add -m33 option.
3093         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3094         
3095 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3096         
3097         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3098         (PARALLEL_PACK_FLAG): Delete.
3099         (TARGET_SWITCHES): Update.
3100         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3101
3102 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3103
3104         * fold-const.c (fold): Fix a few cases when the returned result
3105         is not of the same type as the input.
3106
3107 2000-03-16  Nick Clifton  <nickc@cygnus.com>
3108
3109         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3110         warning.
3111
3112 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3113
3114         * libgcc2.h: Move prototypes above macros with the same name.
3115         Wrap some function prototypes in the conditional which indicates
3116         whether they are supported, i.e. "BITS_PER_UNIT == 8".
3117
3118 2000-03-16  Richard Henderson  <rth@cygnus.com>
3119
3120         * calls.c: Revert last two changes.
3121
3122 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
3123
3124         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3125         has exponent 0 is a zero.
3126
3127         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3128         HASH may already be nonzero.  Add code/mode into hash value
3129         immediately after repeat label.
3130         (cselib_lookup): Don't leave the hash table in an inconsistent
3131         state before a hash lookup operation.
3132
3133 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
3134
3135         * i386.md (all HI and QI mode non-move patterns):  Conditionize
3136         by TARGET_[HQ]IMODE_MATH.
3137         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3138         x86_promote_qi_regs): Declare.
3139         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3140         TARGET_PROMOTE_QI_REGS): New macros.
3141         (PROMOTE_MODE): New macro.
3142         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3143         x86_promote_qi_regs): New global variables.
3144
3145 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
3146
3147         * calls.c (emit_library_call_value_1): Break out from ...; handle
3148         VOIDmode function calls too.
3149         (emit_library_call_value): ... here.
3150         (emit_library_call): Implement by calling emit_library_call_value_1.
3151
3152 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
3153
3154         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3155         Update arg_space_so_far on stack adjustments.
3156         (emit_library_call, emit_library_call_value): Likewise; take into
3157         account arg_space_so_far and pending_stack_adjust when calculcating
3158         the boundary.
3159
3160 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
3161
3162         * flow.c: Move all basic block reordering code into its own file.
3163         (create_basic_block): Externalize.
3164         * bb-reorder.c: New file. Copy all basic block reordering code from
3165         flow.c to this file.
3166         (reorder_basic_blocks): Fix fencepost error in for-loop.
3167         (reorder_basic_blocks): Remove braces from single statement for-loops.
3168         * basic-block.h: Add declaration for create_basic_block.
3169         * Makefile.in: Add rules for bb-reorder.o.
3170
3171 2000-03-16  Neil Booth  <NeilB@earthling.net>
3172
3173         * cppinit.c (handle_option):  Implement #unassert directive
3174         as -A- command line option.
3175         (print_help):  Update.
3176         * cpptexi.c:  Update.
3177
3178 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3179
3180         * md.texi (Standard Names): Document `jump'.
3181
3182 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3183
3184         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3185         gotos.
3186
3187 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3188
3189         Merge changes from newppc-branch onto trunk.
3190
3191         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3192
3193         * rs6000.c (toc_hash_table): Update for new hash table functions.
3194         (toc_hash_function): Likewise.
3195         (toc_hash_eq): Likewise.
3196         (toc_hash_mark_entry): Likewise.
3197         (toc_hash_mark_table): Likewise.
3198         (output_toc): Likewise.
3199         (rs6000_add_gc_roots): Likewise.
3200
3201         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3202
3203         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
3204         (AR_FLAGS_FOR_TARGET): here.  New macro.
3205
3206         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
3207
3208         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3209         fpmem_operand) Delete.
3210         (xer_operand) New.
3211         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3212         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3213         (rs6000_save_machine_status, rs6000_restore_machine_status, 
3214         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
3215         references to above variables.
3216         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3217         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3218         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3219         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3220         (XER_REGNO_P, XER_REGNO): New.
3221         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3222         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3223         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
3224         XER_REGNO_P.
3225         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3226         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
3227         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3228         
3229         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3230
3231         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3232         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3233         * rs6000.h: from here.
3234
3235         * rs6000-protos.h (rs6000_select_section): Provide prototype.
3236         (rs6000_select_rtx_section): Likewise.
3237         (rs6000_encode_section_info): Likewise.
3238         (sdata_section): Likewise.
3239         (sdata2_section): Likewise.
3240         (sbss_section): Likewise.
3241         * sysv4.h (rs6000_select_section): Delete prototype.
3242         (rs6000_select_rtx_section): Likewise.
3243         (rs6000_encode_section_info): Likewise.
3244         (sdata_section): Likewise.
3245         (sdata2_section): Likewise.
3246         (sbss_section): Likewise.
3247         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3248
3249         * sysv4.h: Delete various unnecessary #undef's and put a comment
3250         on the remaining ones.
3251         Change various comments according to coding standard.
3252
3253         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
3254
3255         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
3256         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3257         (CR0_REGNO_P) Remove.
3258         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
3259         setup_incoming_varargs, mtcrf_operation, print_operand, 
3260         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
3261         Use the above macros.
3262
3263         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
3264
3265         * config/rs6000/rs6000.md: Added a new alternative for each
3266         pattern that had a 'x' alternative but no 'y' alternative.
3267         Added a new split for each of the above patterns.
3268
3269         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
3270
3271         * aix41.h (ASM_CPU_SPEC): Delete.
3272         (CPP_CPU_SPEC): Delete.
3273
3274         * aix.h (RS6000_OUTPUT_BASENAME): Define.
3275         (ASM_OUTPUT_LABEL): Define.
3276         (ASM_GLOBALIZE_LABEL): Define.
3277         (STRIP_NAME_ENCODING): Define.
3278         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3279         (STRIP_NAME_ENCODING): Don't define.
3280         (ASM_OUTPUT_LABEL): Don't define.
3281         (ASM_GLOBALIZE_LABEL): Don't define.
3282         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3283         names, and ASM_OUTPUT_LABEL to output labels, rather than
3284         asm_fprintf.
3285         (ASM_OUTPUT_LABEL): Define.
3286         (ASM_OUTPUT_INT): Use assemble_name.
3287         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3288         (STRIP_NAME_ENCODING): Don't undefine first.
3289         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3290         ELF.
3291         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3292         specified with 'asm' even with -fleading-underscore.
3293         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3294         (output_epilog): Likewise.
3295         (output_toc): Likewise. 
3296         * tramp.asm: Handle -fleading-underscore correctly.
3297
3298         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3299         -mminimal-toc.
3300         (nonlocal_goto_receiver): Delete.
3301         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3302
3303         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3304         (SET_ASM_OP): Define.
3305         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3306
3307         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3308         (ASM_LONG): Define.
3309
3310         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3311         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3312
3313         * rs6000.h: Add 'u' to more constants.
3314
3315         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
3316
3317         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3318
3319         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
3320
3321         * rs6000.c (reg_or_u_cint_operand): New function.
3322         (logical_operand): Handle 64-bit hosts.
3323         (logical_u_operand): New function.
3324         (non_logical_cint_operand): Handle 64-bit hosts.
3325         (non_logical_u_cint_operand): New function.
3326         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3327         (PREDICATE_CODES): Define new functions.
3328         * rs6000-protos.h: Declare new functions.
3329         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3330         (movdi_64): Bracket code intended for 64-bit hosts.  Create
3331         CONST_DOUBLE for 32-bit values.
3332         (scc insns): Generate DImode compares.
3333         (mfcr insns): Create DImode versions.
3334         (sge matchers): New patterns.
3335         
3336         2000-02-15  Gabriel Paubert  <paubert@iram.es>
3337
3338         * rs6000.md: Correct instructions length attributes and
3339         constraints on unsigned compare instructions.
3340         (*ne0): Disable for PowerPC64.
3341
3342         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3343
3344         * rs6000.c (output_function_profiler): Use .long for a 32-bit
3345         quantity, fix profile1.C test failure under -fPIC.
3346
3347         * rs6000.c: Add 'u' to many constants to suppress warnings.
3348         (constant_pool_expr_1): Make static.
3349         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3350         * rs6000.h: Add 'u' to many constants to suppress warnings.
3351
3352         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3353         for the start of the TOC, instead of LCTOC..0.
3354         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3355         of the TOC.
3356         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3357         (load_toc_aix_di): Use LCTOC..1.
3358
3359         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3360         * rs6000.c (rs6000_legitimize_address): New function from
3361         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
3362         symbols in the constant pool that really are TOC references.
3363         (print_operand_address): For ELF, write TOC offsets under
3364         -fPIC as subtractions in the insn.
3365         (output_toc): For ELF, define symbols in TOC as normal labels,
3366         to match RTL.
3367         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3368         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3369         (create_TOC_reference): Prototype only when RTX_CODE is defined.
3370         * rs6000.md (movsi): Only use create_TOC_reference on
3371         symbols in the constant pool that really are TOC references.
3372
3373         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3374         * rs6000.c (rs6000_reorg): Delete.
3375         * rs6000-protos.h (rs6000_reorg): Delete.
3376
3377         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
3378
3379         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3380
3381         * aix.h (SETUP_FRAME_ADDRESSES): Define.
3382         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3383         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3384         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3385         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3386         rs6000_aix_emit_builtin_unwind_init.
3387         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
3388         rs6000_emit_eh_toc_restore on AIX.
3389         (return_eh_si): Use r2.
3390         (return_eh_di): Use r2.
3391
3392         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3393         since we're breaking binary compatibility anyway.
3394
3395         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3396
3397         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3398         constant_pool_expr_p): Declare them.
3399         (constant_pool_expr_p): Declare it.
3400         * config/rs6000/rs6000.c (toc_label_name): Define.
3401         (rs6000_override_options): Set toc_label_name.
3402         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3403         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3404         uses_TOC): New functions.
3405         (print_operand): Delete old '*' case.
3406         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3407         and strip off rtl for TOC before calling output_addr_const.
3408         (rs6000_emit_load_toc_table): Use toc_label_name.
3409         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3410         the default.
3411         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3412         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3413         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3414         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3415         into explicit TOC_REGISTER offsets.
3416         (TOC_REGISTER): New macro.
3417         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
3418         TARGET_TOC to reference TOC_REGISTER.
3419         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3420         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
3421         uses_TOC before emitting label references.
3422
3423         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3424
3425         * rs6000.md (stack_tie): Fix warning.
3426
3427         * eabi-ctors.c: Use 'asm' names for the start/end variables,
3428         to handle -fleading-underscore.
3429         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3430         (USER_LABEL_PREFIX): New macro.
3431         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3432         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3433         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3434         call-linux can use the same multilibs.
3435         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3436         and call-linux multilibs.  Do multilib with -fleading-underscore.
3437         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3438         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
3439         to call-aix.
3440
3441         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3442         have MASK_SOFT_FLOAT set.
3443         (CPP_FLOAT_DEFAULT_SPEC): New macro.
3444         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3445         CPP_FLOAT_DEFAULT_SPEC.
3446
3447         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3448         * rs6000.md: Whitespace change.
3449         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3450         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3451
3452         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3453
3454         * rs6000.md (eh_epilogue): New expander.
3455         (eh_reg_restore): New expand/split/insn combination.
3456         (return_eh_si): New insn.
3457         (return_eh_di): New insn.
3458
3459         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3460         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3461         * eabi-ctors.c (__do_global_ctors): Register this object's
3462         frame.  Clean up.  Call atexit() after the constructors.
3463         (__do_global_dtors): Deregister this object's frame.  Clean up.
3464         Allow for recursive calls to exit().
3465         * rs6000.c (fixuplabelno): New variable.
3466         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3467         TARGET_RELOCATABLE, it slows down exec() under linux.
3468         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3469
3470         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3471         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3472         (ASM_OUTPUT_DWARF_DELTA2): New macro.
3473         (ASM_OUTPUT_DWARF_DELTA4): New macro.
3474         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3475         (ASM_OUTPUT_DWARF_ADDR): New macro.
3476         (ASM_OUTPUT_DWARF_DATA4): New macro.
3477         (ASM_OUTPUT_DWARF_DATA2): New macro.
3478         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3479         (ASM_OUTPUT_DWARF_OFFSET): New macro.
3480         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3481
3482         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3483
3484         * rs6000.c (rs6000_sr_alias_set): New variable.
3485         (rs6000_override_options): Initialise rs6000_sr_alias_set.
3486         (rs6000_emit_stack_tie): New function.
3487         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3488         in a way that dwarf2out can understand.
3489         (rs6000_frame_related): New function.
3490         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
3491         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3492         Use rs6000_emit_stack_tie when needed.
3493         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
3494         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
3495         * rs6000.md (stack_tie): New insn.
3496         (return_internal_si): Allow return value to be in the count
3497         register.
3498         (return_internal_di): Likewise.
3499
3500         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3501
3502         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3503
3504         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3505
3506         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
3507
3508         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3509
3510         * rs6000.md (stmw): Use the right POWER opcode.
3511         (lmw): Likewise.
3512
3513         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3514
3515         * rs6000-protos.h: New file.
3516
3517         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
3518         
3519         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
3520         warnings.
3521         
3522         * sysv4.h: Likewise.
3523
3524         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
3525
3526         * ../../configure.in: Delete powerpcle-*-winnt*
3527         and powerpcle-*-pe|powerpcle-*-cygwin*.
3528         * ../../configure: Regenerated.
3529         * cygwin.h: Delete.
3530         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3531         (TARGET_WINDOWS_NT): Delete.
3532         (ABI_NT): Delete.
3533         (CALL_NT_DLLIMPORT): Delete.
3534         Delete NT-specific code.
3535         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3536         * win-nt.h: Delete.
3537         * t-winnt: Delete.
3538         * nt-ci.asm: Delete.
3539         * nt-cn.asm: Delete.
3540         * ntstack.asm: Delete.
3541
3542         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3543
3544         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3545         (ASM_FILE_START): Likewise.
3546         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3547         (ASM_OUTPUT_LABELREF): Likewise.
3548         (ASM_OUTPUT_SKIP): Likewise.
3549         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3550         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3551         (ASM_OUTPUT_CASE_LABEL): Likewise.
3552         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3553         (ASM_OUTPUT_ASCII): Likewise.
3554
3555         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
3556
3557         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3558         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
3559         increment rs6000_pic_labelno here.
3560         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3561         and increment rs6000_pic_labelno here.
3562
3563         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
3564
3565         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3566         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3567         allocation knows (reg) is dead before the insn.
3568
3569         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
3570
3571         * rs6000.md (movsi_to_cr): Correct typo in output template.
3572
3573         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3574
3575         * rs6000.c (rs6000_pic_labelno): Always define.
3576         (rs6000_pic_func_labelno): Delete.
3577         (lmw_operation): Check for a zero base register,
3578         which doesn't mean what we want.
3579         (stmw_operation): New function.
3580         (print_operand): Define new 'l' modifier.
3581         (rs6000_stack_info): We must save all 64 bits of the registers
3582         if TARGET_POWERPC64.
3583         (rs6000_output_load_toc_table): Delete.
3584         (rs6000_emit_load_toc_table): New function.
3585         (rs6000_allocate_stack_space): Delete.
3586         (rs6000_emit_allocate_stack): New function.
3587         (rs6000_emit_prologue): New function.
3588         (output_prolog): Use rs6000_emit_prologue.
3589         (rs6000_emit_epilogue): Change a few variable names to be
3590         more accurate.  Restore all 64 bits of the registers if
3591         TARGET_POWERPC64.  Only restore the FP registers which were used
3592         if they are being saved/restored one-at-a-time.
3593         (output_mi_thunk): Delete inefficient code generation.
3594         (output_function_profiler): Don't use rs6000_output_load_toc_table.
3595         * rs6000.h: Declare rs6000_emit_load_toc_table,
3596         rs6000_allocate_stack_space, stmw_operation.  Don't declare
3597         rs6000_output_load_toc_table.
3598         * rs6000.md (elf_high): Allow register 0, but discourage it
3599         heavily.
3600         (elf_low): Support loading into register 0.
3601         (load_toc_aix_si): New pattern.
3602         (load_toc_aix_di): New pattern.
3603         (load_toc_v4_pic_si): New pattern.
3604         (load_toc_v4_pic_di): New pattern.
3605         (load_toc_v4_PIC_1): New pattern.
3606         (load_toc_v4_PIC_1b): New pattern.
3607         (load_toc_v4_PIC_2): New pattern.
3608         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3609         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3610         (prologue): New expander.
3611         (movesi_from_cr): New pattern.
3612         (stmw): New pattern.
3613         (save_fpregs_si): New pattern.
3614         (save_fpregs_di): New pattern.
3615
3616         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3617
3618         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3619         (movdi): Likewise.
3620         (movhi): Likewise.
3621         (movqi): Likewise.
3622
3623         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3624
3625         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3626         at present.
3627         (movsi_got_internal): Likewise.
3628         (movsi_got_internal+1): Likewise.
3629         (set_sp): 'unspec 7' does a SImode clobber.
3630
3631         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3632
3633         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3634         allocate a stack temporary.
3635         (floatsidf2_internal): Likewise.
3636         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
3637         with unspec.
3638         (floatunssidf2): Don't use the fpmem "register", just
3639         allocate a stack temporary.
3640         (floatunssidf2_internal): Likewise.
3641         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
3642         with unspec.
3643         (floatsidf2_loadaddr): Delete.
3644         (floatsidf2_store1): Delete.
3645         (floatsidf2_store2): Delete.
3646         (floatsidf2_load): Delete.
3647         (fix_truncdfsi2): Don't use the fpmem "register", just
3648         allocate a stack temporary.
3649         (fix_truncdfsi2_internal_si): Delete.
3650         (fix_truncdfsi2_internal_di): Delete.
3651         (fix_truncdfsi2_internal): New insn.
3652         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3653         (fix_truncdfsi2_store): Delete.
3654         (fix_truncdfsi2_load): Delete.
3655         (fctiwz): Produce gen_fctiwz.
3656
3657         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3658
3659         * eabi.h (INVOKE__main): Define.
3660         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3661         specially.
3662         (rs6000_emit_prologue): Likewise.
3663         * rs6000.h (struct rs6000_stack): Don't keep track of whether
3664         this is the main program.
3665
3666         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3667
3668         * rs6000.c (rs6000_va_arg): Delete some unused variables.
3669
3670         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3671
3672         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3673         goes after the argument.
3674
3675         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3676
3677         * rs6000.md: Document 'unspec' values used.
3678         (epilogue): New expander.
3679         (movesi_to_cr_one): New expander.
3680         (movesi_to_cr and following): New pattern.
3681         (lmw): New pattern.
3682         (return_internal_si): New pattern.
3683         (return_internal_di): New pattern.
3684         (return_and_restore_fpregs_si): New pattern.
3685         (return_and_restore_fpregs_di): New pattern.
3686         * rs6000.h: Declare new functions.
3687         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3688         rather than rs6000_calls_p.
3689         (rs6000_makes_calls): Delete.
3690         (lmw_operation): New function.
3691         (mtcrf_operation): New function.
3692         (rs6000_emit_epilogue): New function.
3693         (output_epilog): Call rs6000_emit_epilogue and final if
3694         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3695
3696         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3697
3698         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3699         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3700         * aix.h (SUBTARGET_SWITCHES): Document switches.
3701         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
3702         sched-prolog and sched-epilog the same.  Document all the
3703         switches.
3704         (TARGET_OPTIONS): No longer allow -mdebug-.
3705
3706         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3707
3708         * rs6000.h (ASM_FILE_END): Move to aix.h.
3709         (EXTRA_SECTIONS): Move to aix.h.
3710         (READONLY_DATA_SECTION): Move to aix.h.
3711         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3712         (SELECT_SECTION): Move to aix.h.
3713         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3714         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3715         (LINK_REGISTER_REGNUM): New definition.
3716         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3717         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3718         AIX and SVR4.
3719         * sysv4.h: Delete the code between the inclusion of rs6000.h
3720         and svr4.h.
3721         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3722         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3723         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3724         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3725         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3726         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3727         (fix_truncdfsi2_internal_di): New pattern.
3728         (fix_truncdfsi2_store): The second arg here is Pmode too.
3729         (fix_truncdfsi2_load): The second arg here is Pmode too.
3730         (tablejumpdi): Now that switch tables hold only SImode values,
3731         gcc needs to know how to add them to the pc which is DImode.
3732         * rs6000.c (rs6000_stack_info): Use symbolic name for 
3733         LINK_REGISTER_REGNUM.
3734         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3735         (output_toc): Delete unused variables s1 and s2.
3736         (output_ascii): Use fputs not fprintf on a variable string.
3737
3738         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
3739
3740         * rs6000.c (processor_target_table): Add power3 as alias for 630.
3741         * aix43.h: Revert Aug 2 change.
3742         (HAS_INIT_SECTION): Define, not visible yet.
3743         (LD_INIT_SWITCH): Define, not visible yet.
3744         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3745
3746         2000-01-04  Joel Sherrill (joel@OARcorp.com>
3747
3748         * config/rs6000/rtems.h: Include config/rtems.h.
3749
3750         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3751
3752         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3753         (SLOW_UNALIGNED_ACCESS): Define.
3754         (CASE_VECTOR_MODE): Always use 32-bit offsets.
3755         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3756         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3757         (toc_section): Likewise and .toc pseudo-op.
3758         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
3759         64-bit mode.
3760         (TEXT_SECTION_ASM_OP): Likewise.
3761         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3762         32-bit offsets.
3763
3764         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
3765
3766         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3767         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3768         compiling libgcc2.
3769         
3770         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3771
3772         * rs6000.h: Move more stuff from here...
3773         * aix.h: to here.
3774         * sysv4.h: Cleanup accordingly.
3775         * netware.h: Likewise
3776
3777         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3778
3779         * rs6000.h: Continue cleanup.
3780         * aix.h: Likewise.
3781         * lynx.h: Likewise.
3782         * netware.h: Likewise.
3783         * sol2.h: Likewise.
3784         * sysv4.h: Likewise.
3785         * win-nt.h: Likewise.
3786
3787         * rs6000.h (TARGET_SWITCHES): Add descriptions.
3788         (TARGET_OPTIONS): Likewise.
3789
3790         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3791         (SUBTARGET_OPTIONS): Likewise.
3792
3793         * rs6000.md: Fix compile time warnings.
3794
3795         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3796
3797         vxworks patches from the Cygnus tree originally by
3798         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3799         <vmakarov@cygnus.com>.
3800         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3801         (ENDFILE_SPEC): Likewise.
3802         (LIB_VXWORKS_SPEC): New macro.
3803         (STARTFILE_VXWORKS_SPEC): New macro.
3804         (ENDFILE_VXWORKS_SPEC): New macro.
3805         (LINK_START_VXWORKS_SPEC): New macro.
3806         (LINK_OS_VXWORKS_SPEC): New macro.
3807         (CPP_OS_VXWORKS_SPEC): New macro.
3808         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3809         * vxppc.h: Rewrite to use proper configuration method.
3810         * vxppcle.h: New file.
3811         * ../../configure.in: Add powerpcle-wrs-vxworks*.
3812         * ../../configure: Rebuilt.
3813
3814         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3815
3816         Lots of changes to rs6000.h, sysv4.h, aix.h,
3817         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3818         with the aim that rs6000.h is the first header
3819         included and the others override it.
3820         * aix.h: New file.
3821
3822         * x-aix41-gld: Remove.  
3823         * x-aix43: Remove.
3824         * x-aix41: Remove target-specific switches, and don't specify
3825         -Wl,-bbigtoc as we don't need it any more.
3826         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3827         Use t-aix43 for AIX 4.3 and above.
3828         * ../../configure: Regenerated.
3829
3830         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3831         options, that don't do anything yet.
3832         (MASK_SCHED_PROLOG): New macro.
3833         (MASK_SCHED_EPILOG): New macro.
3834         (TARGET_SCHED_PROLOG): New macro.
3835         (TARGET_SCHED_EPILOG): New macro.
3836
3837         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3838
3839         * rs6000.c: Correct comment, the `minimal' TOCs are actually
3840         one per translation unit, not one per function.
3841         (output_toc): Also do duplicate constant elimination
3842         for per-translation-unit TOCs.
3843
3844         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
3845         a comment explaining _exactly_ when this pattern gets used.
3846         (builtin_setjmp_receiver): New pattern for better clarity.
3847         (init_v4_pic): Move it into a section dealing with TOC registers.
3848
3849         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
3850
3851         * rs6000.c (toc_hash_table): New variable.
3852         (rs6000_hash_constant): New function.
3853         (toc_hash_function): New function.
3854         (toc_hash_eq): New function.
3855         (toc_hash_mark_entry): New function.
3856         (toc_hash_mark_table): New function.
3857         (output_toc): Don't output duplicate TOC entries in
3858         a single file.
3859         (rs6000_add_gc_roots): Add the hash table as a GC root.
3860         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3861         where they clearly shouldn't be.  This may need to be fixed
3862         later when there is a GNU ar for AIX.
3863         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3864         Don't define BOOT_LDFLAGS as it is now not necessary.
3865
3866         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
3867
3868         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
3869         for va_list on AIX.  Use unsigned_char_type_node rather than
3870         constructing our own version on svr4.
3871
3872         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
3873
3874         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
3875         since patently it's not.
3876
3877         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
3878
3879         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
3880         define_expand/define_insn pair, and handle restore of the
3881         SVR4 -fpic register.
3882
3883 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
3884
3885         * acconfig.h (HAVE_GAS_WEAK): New define.
3886         * configure.in (assembler weak support): Check for .weak support.
3887         * config.in, configure: Rebuilt.
3888         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
3889         HAVE_GAS_WEAK is defined.
3890
3891 2000-03-15  Nick Clifton  <nickc@cygnus.com>
3892
3893         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
3894         asm_fprintf().
3895
3896 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
3897
3898         * cppfiles.c (open_include_file): New function.
3899         (find_include_file, cpp_read_file): Use it.
3900
3901 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3902
3903         * cpphash.c (dump_hash_helper): Take the slot, not the element.
3904
3905 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
3906
3907         * flow.c (verify_flow_info): Check for unconditional return.
3908
3909 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
3910
3911         * config/ia64/ia64.md (restore_stack_nonlocal): New.
3912         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
3913         (__ia64_restore_stack_nonlocal): New.
3914         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
3915
3916 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3917
3918         * cpphash.c (collect_formal_parameters): Do not complain about
3919         parameter names that just start with `__VA_ARGS__'.
3920
3921 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
3922
3923         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
3924         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
3925         * i386.c (pentiumpro_cost): Set mul cost to 4.
3926         (x86_use_movx): Set for PPro.
3927
3928 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
3929
3930         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
3931         STACK_BOUNDARY for empty frames now.
3932
3933 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
3934
3935         * stor-layout.c (layout_union): Remove.
3936         (layout_union_field): New function, split out from layout_union.
3937         (finish_union_layout): Likewise.
3938         (layout_field): Handle unions by calling layout_union_field.
3939         (finish_record_layout): Handle unions.
3940         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
3941         QUAL_UNION_TYPE handling.
3942
3943 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
3944
3945         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
3946         end of basic block is jump_insn, not barrier; use create_basic_block
3947         instead of creating basic block by hand.
3948
3949 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
3950
3951         * flow.c (reorder_basic_blocks): Account for barriers when writing
3952         over NEXT_INSN (last_bb->end).
3953         (verify_flow_info): Add check for missing barriers.
3954
3955 2000-03-14  Greg McGary  <gkm@gnu.org>
3956
3957         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
3958         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
3959         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
3960         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
3961         __unbounded, __unbounded__): New keywords.
3962         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
3963         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
3964         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
3965
3966 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3967
3968         * cselib.h: New file.
3969         * alias.c: Include "cselib.h".
3970         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
3971         MEMs as two new arguments.
3972         (get_addr): New static function.
3973         (find_base_term): Handle VALUEs.
3974         (memrefs_conflict_p): Likewise.
3975         (true_dependence): Call get_addr on the addresses.
3976         Call fixed_scalar_and_varying_struct_p with addresses that have been
3977         passed through get_addr and canon_rtx.
3978         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
3979         with true_dependence.
3980         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
3981         * loop.c: Include "cselib.h".
3982         (load_mems): Process extended basic block that enters the loop with
3983         cselib.  Use that information to change initialization of the shadow
3984         register so that a constant equivalence is seen by later passes.
3985         * reload1.c: Include "cselib.h".
3986         (reload_cse_invalidate_regno): Delete function.
3987         (reload_cse_mem_conflict_p): Likewise.
3988         (reload_cse_invalidate_mem): Likewise.
3989         (reload_cse_invalidate_rtx): Likewise.
3990         (reload_cse_regno_equal_p): Likewise.
3991         (reload_cse_check_clobber): Likewise.
3992         (reload_cse_record_set): Likewise.
3993         (reg_values): Delete static variable.
3994         (invalidate_regno_rtx): Likewise.
3995         (reload_cse_delete_noop_set): New static function.
3996         (reload_cse_simplify): New static function, broken out of
3997         reload_cse_regs_1.
3998         (reload_cse_noop_set_p): Delete unused argument INSN.
3999         Just call rtx_equal_for_cselib_p on set source and destination.
4000         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4001         reload_cse_delete_noop_set.  Delete code to keep track of values; use
4002         cselib functions instead.  Delete code to push/pop obstacks.
4003         (reload_cse_simplify_set): Use cselib to find equivalent values.
4004         Delete code to push/pop obstacks.
4005         (reload_cse_simplify_operands): Likewise.
4006         * rtl.def (VALUE): New rtx code.
4007         * rtl.h (union rtunion_def): New elt rt_cselib.
4008         (X0CSELIB, CSELIB_VAL_PTR): New macros.
4009         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4010         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4011         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4012         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4013         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4014         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4015         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4016         cselib_record_set, cselib_record_sets): New static functions.
4017         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4018         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4019         references_value_p): New functions.
4020         (MAX_USELESS_VALUES, REG_VALUES): New macros.
4021         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4022         n_useless_values, reg_values, callmem, cselib_obstack,
4023         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4024         New static variables.
4025         * varray.h (union varray_data_tag): New elt te.
4026         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4027         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4028         dependencies.
4029
4030 2000-03-14  Nick Clifton  <nickc@cygnus.com>
4031
4032         * gcc.c (do_spec_1): Catch the case where %* is used in a
4033         substitution pattern, but it has not been initialised.
4034         Issue a meaningful error message if an unrecognised operator
4035         is encountered in a spec string.
4036
4037 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
4038
4039         * function.c (prepare_function_start): Correctly initialize
4040         cfun->stack_alignment_needed.
4041
4042 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
4043
4044         * cppfiles.c (find_include_file): Don't assume nshort is a
4045         substring of name.
4046
4047 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
4048
4049         * configure.in (hppa configurations): Add pa32-regs.h to the
4050         list of tm files as appropriate.
4051         * configure: Rebuilt.
4052         * pa.c (compute_frame_size): Remove explicit knowledge about FP
4053         register numbering.
4054         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4055         (fmpyaddoperands, fmpysuboperands): Likewise.
4056         * pa.h: Remove various definitions which depend on knowing
4057         how registers are numbered.
4058         * pa32-regs.h: New file with PA32 register numbering specific
4059         definitions.
4060
4061 2000-03-14  Richard Henderson  <rth@cygnus.com>
4062
4063         * regmove.c (combine_stack_adjustments): New.
4064         (stack_memref_p, single_set_for_csa): New.
4065         (free_csa_memlist, record_one_stack_memref): New.
4066         (try_apply_stack_adjustment): New.
4067         (combine_stack_adjustments_for_block): New.
4068         * rtl.h (combine_stack_adjustments): Declare.
4069         * toplev.c (rest_of_compilation): Call it.
4070
4071         * i386.md: Revert 2000-01-16 change.
4072
4073 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4074
4075         * gccbug.in: Add web category, gcc specific classes.
4076
4077 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
4078
4079         * stor-layout.c (finalize_record_size): Fix typo.
4080
4081 2000-03-14  Stan Shebs  <shebs@apple.com>
4082
4083         * c-typeck.c (c_alignof): Error on incomplete types.
4084         * extend.texi (Alignment): Document this.
4085
4086 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4087
4088         * cppfiles.c: Include mkdeps.h.
4089         (find_include_file, read_include_file): Remove _cpp_ prefix
4090         from name, make static.
4091         (_cpp_execute_include): New function, broken out of
4092         do_include.
4093
4094         * cpplib.c: Don't include mkdeps.h.
4095         (struct directive): Remove type field. Reorder entries.  The
4096         function takes only one argument.
4097         (struct if_stack): Make type field an int.
4098         (directive_table): Rename to dtable.  Generate it, the
4099         prototypes of the directive handlers, and the enum for the
4100         directive numbers, from a template macro.
4101         (do_ifndef, do_include_next, do_import): New functions.
4102         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4103         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4104         do_ident, do_assert, do_unassert, do_sccs): Take only one
4105         argument.
4106         (do_sccs): Define always, but alter behavior based on
4107         SCCS_DIRECTIVE.
4108         (_cpp_handle_directive, consider_directive_while_skipping):
4109         Restructure for new directive table layout.
4110
4111         (pass_thru_directive): Take a directive number, not a pointer
4112         to a struct directive.
4113         (parse_include): New function, broken out of do_include.
4114         (do_include, do_import, do_include_next): Use parse_include
4115         and _cpp_execute_include.
4116         (do_elif, do_else): Test for T_ELSE specifically when checking
4117         for #elif/#else after #else.
4118         (parse_ifdef): New function, broken out of do_ifdef.
4119         (validate_else): Expect a name arg without a leading #.
4120         (if_directive_name): Delete.
4121         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4122         directive handlers with only one argument.
4123
4124         * cpphash.h: Update prototypes.
4125         (enum node_type): Remove entries for directives.
4126         * Makefile.in: Update dependencies.
4127
4128         * cpphash.c (dump_hash_helper): Only dump nodes of type
4129         T_MACRO.  Emit a newline after each definition.
4130
4131 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4132
4133         * gccbug.in: New file.
4134         * configure.in (all_outputs): Add gccbug.
4135         * Makefile.in (install-common): Install gccbug.
4136         (GCCBUG_INSTALL_NAME): New variable.
4137         * configure: Rebuilt.
4138         
4139 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4140
4141         * function.c (put_var_into_stack): Use type_for_mode to calculate
4142         part_type.  Use MEM_SET_IN_STRUCT_P.
4143         * expr.c (store_field): Handle CONCAT.
4144         (store_constructor): Use fields_length.
4145         * tree.c (fields_length): New fn.
4146         * tree.h: Declare it.
4147
4148 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4149
4150         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4151         (cpplex.o): New target.
4152         * po/POTFILES.in: Add cpplex.c.
4153
4154         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4155         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4156         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4157         skip_block_comment, skip_line_comment, skip_comment,
4158         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4159         _cpp_parse_name, skip_string, parse_string,
4160         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4161         _cpp_get_directive_token, find_position,
4162         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4163         (maybe_macroexpand, _cpp_lex_token): New functions.
4164
4165         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4166         parse_goto_mark): Delete.
4167         (_cpp_handle_eof): New function.
4168         (_cpp_handle_directive): Rename from handle_directive.
4169         (_cpp_output_line_command): Rename from output_line_command.
4170         (do_if, do_elif): Call _cpp_parse_expr directly.
4171         * cppfiles.c (_cpp_read_include_file): Don't call
4172         init_input_buffer here.
4173         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4174         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4175         here; pop the token_buffer and skip the rest of the line here.
4176         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4177         here.
4178
4179         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4180         Define here.
4181         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4182         CPP_GOTO_MARK): New macros.
4183         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4184         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4185         _cpp_read_and_prescan, _cpp_init_input_buffer,
4186         _cpp_grow_token_buffer, _cpp_get_directive_token,
4187         _cpp_handle_directive, _cpp_handle_eof,
4188         _cpp_output_line_command): Prototype them here.
4189         * cpplib.h (enum cpp_token): Add CPP_MACRO.
4190         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4191         quote_string, output_line_command): Remove.
4192
4193 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
4194
4195         * stmt.c (expand_end_case): RANGE may be signed, and when checking
4196         whether it is too large we must also verify that it isn't negative.
4197
4198 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
4199
4200         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4201         (movsi_zero_liveg0): Remove.
4202         (movsf_insn_novis_liveg0): Remove.
4203         (negsi2): Remove.
4204         (negsi2_not_liveg0): Rename to negsi2.
4205         (one_cmplsi2): Remove.
4206         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4207         (one_cmplsi2_liveg0): Remove.
4208         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4209         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4210         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4211         (PREDICATE_CODES): Remove zero_operand.
4212         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4213         TARGET_BROKEN_SAVERESTORE.
4214         (zero_operand): Remove.
4215         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4216         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4217         options.
4218         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4219         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4220         TARGET_BROKEN_SAVERESTORE): Remove.
4221         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4222         Remove.
4223         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4224         Remove.
4225         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4226         Remove.
4227
4228         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4229
4230 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4231
4232         * cpplib.c (do_pragma_implementation): Fix off-by-one error
4233         truncating a string.  Don't assume tokens are nul terminated.
4234         Problem noted by Andreas Jaeger <aj@suse.de>
4235
4236 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4237
4238         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4239         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4240         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4241
4242 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
4243
4244         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4245         STRUCTURE_SIZE_BOUNDARY.
4246
4247 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
4248
4249         * tree.h (record_layout_info_s): New structure.
4250         (record_layout_info): New type.
4251         (new_record_layout_info): New function.
4252         (layout_field): Likewise.
4253         (finish_record_layout): Likewise.
4254         * stor-layout.c (layout_record): Remove.
4255         (new_record_layout_info): New function.
4256         (layout_field): New function, broken out from layout_record.
4257         (finalize_record_size): Likewise.
4258         (compute_record_mode): Likewise.
4259         (finalize_type_size): New function, broken out from layout_type.
4260         (finish_record_layout): Likewise.
4261         (layout_type): Use them.
4262         
4263 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4264
4265         * cpphash.c: Don't include version.h.
4266         (special_symbol) [case T_VERSION]: Look for the string in
4267         hp->value.cpval; don't use version_string.
4268         * cppinit.c (initialize_builtins): Set hp->value.cpval for
4269         __VERSION__ to version_string.
4270         * Makefile.in (cpphash.o): Update deps.
4271
4272 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4273
4274         Convert cpplib to use libiberty/hashtab.c.
4275
4276         * cpplib.h (struct cpp_reader): Make hashtab and
4277         all_include_files of type 'struct htab *'.  Delete HASHSIZE
4278         and ALL_INCLUDE_HASHSIZE macros.
4279
4280         * cpphash.h: Update prototypes.
4281         (struct hashnode): Remove next, prev, and bucket_hdr members.
4282         Make length a size_t.  Add hash member.
4283         (struct ihash): Remove next member.  Add hash member.  Make
4284         name a flexible array member.
4285
4286         * cppfiles.c: Include hashtab.h.
4287         (include_hash): Delete.
4288         (IHASHSIZE): New macro.
4289         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4290         (cpp_included): Do the hash lookup here.
4291         (_cpp_find_include_file): Rewrite.
4292         (cpp_read_file): Put the "fake" hash entry into the hash
4293         table.  Honor the control_macro, if it turns out we've seen
4294         the file before.  Don't push the buffer here.
4295         (_cpp_read_include_file): Push the buffer here.
4296         (OMODES): New macro.  Use it whenever we call open(2).
4297
4298         * cpphash.c: Include hashtab.h.
4299         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4300         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4301         _cpp_lookup_slot): New functions.
4302         (HASHSIZE): new macro.
4303         (hashf, _cpp_install, _cpp_delete_macro): Delete.
4304         (_cpp_lookup): Use hashtab.h routines.
4305
4306         * cppinit.c: Include hashtab.h.
4307         (cpp_reader_init): Call _cpp_init_macro_hash and
4308         _cpp_init_include_hash.  Don't allocate hashtab directly.
4309         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4310         pfile->all_include_files.
4311         (initialize_builtins): Use _cpp_make_hashnode and
4312         htab_find_slot to add hash entries.
4313         (cpp_finish): Just call _cpp_dump_macro_hash.
4314         * cpplib.c: Include hashtab.h.
4315         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4316         create hash entries.
4317         (do_pragma_poison, do_assert): Likewise.
4318         (do_include): Don't push the buffer here.  Don't increment
4319         system_include_depth unless _cpp_read_include_file succeeds.
4320         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4321         or htab_remove_elt.
4322         (do_pragma_implementation): Use alloca to create copy.
4323
4324         * Makefile.in: Update dependencies.
4325
4326 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4327
4328         * cppinit.c (cl_directive_handler): More K&R fixing.
4329
4330 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
4331
4332         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4333         STACK_BOUNDARY.
4334         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4335
4336 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4337
4338         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4339         Change from char[] to macros.
4340
4341 2000-03-12  Neil Booth  <NeilB@earthling.net>
4342
4343         * cppinit.c (cpp_start_read): Update indirect function
4344         call to K&R C.
4345
4346 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
4347
4348         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4349         entry.
4350
4351         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4352         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4353
4354 2000-03-11  Neil Booth  <NeilB@earthling.net>
4355
4356         * cppinit.c (struct pending option): Replace undef with a 
4357         pointer to a directive handling routine.
4358         (struct cpp_pending): Replace separate assert_ and define_ 
4359         lists with one directive_ list.
4360         (new_pending_define): Rename new_pending_directive. Extra
4361         argument is the directive's handling routine.
4362         (handle_option): Update to use new_pending_directive.
4363
4364 2000-03-11  Neil Booth  <NeilB@earthling.net>
4365
4366         * cppfiles.c (file_cleanup, _cpp_find_include_file,
4367         remap_filename, _cpp_read_include_file, actual_directory,
4368         hack_vms_include_specification): Replace bcopy(), index() etc
4369         calls.  Add casts to some allocations.  Make some variables
4370         pointers to const [unsigned] char.
4371         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4372         collect_formal_parameters): Similarly.
4373         * cppinit.c (struct pending_option, append_include_chain,
4374         cpp_options_init, cpp_reader_init, initialize_standard_includes,
4375         cpp_start_read, new_pending_define, handle_option): Similarly.
4376         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4377         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4378         do_pragma_implementation, detect_if_not_defined,
4379         do_ifdef, skip_if_group, cpp_get_token, parse_string,
4380         do_assert, do_unassert): Similarly.
4381         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
4382         function prototypes.
4383         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
4384
4385 2000-03-10  Richard Henderson  <rth@cygnus.com>
4386
4387         * builtins.c (expand_builtin_strlen): Revert last change.
4388         Use emit_insn_before if we're at the beginning of a sequence.
4389
4390 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
4391
4392         * builtins.c (expand_builtin_strlen): Make sure that we have something
4393         at the beginning of the sequence.
4394
4395         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4396         deferred inlines.
4397
4398         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4399
4400 2000-03-10  Richard Henderson  <rth@cygnus.com>
4401
4402         * except.c (can_throw): Use INTVAL on a CONST_INT.
4403         (reachable_handlers): Likewise.
4404         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4405
4406 2000-03-10  Andreas Jaeger  <aj@suse.de>
4407
4408         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4409         MD_STARTFILE_PREFIX since those are not needed on linux.
4410         (ASM_FILE_START): New, from mips/gnu.h.
4411
4412 2000-03-09  Richard Henderson  <rth@cygnus.com>
4413             Alex Samuel  <samuel@codesourcery.com> and others
4414         
4415         * Makefile.in (ssa.o): New rule.
4416         (OBJS): Add ssa.o.
4417         (STAGESTUFF): Add *.ssa and *.ussa.
4418         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4419         * rtl.def (PHI): New RTL expression.
4420         * rtl.h (clear_log_links): New declaration.
4421         (convert_to_ssa): Likewise.
4422         (convert_from_ssa): Likewise.
4423         * flow.c (split_edge): If the entry node falls through to the
4424         split edge's source block, split the entry edge.
4425         (clear_log_links): New function.
4426         * toplev.c (ssa_dump): New variable.
4427         (flag_ssa): Likewise.
4428         (f_options): Add "ssa".
4429         (compile_file): Create SSA dump files.
4430         (rest_of_compilation): Go to and from SSA if enabled.
4431         (decide_d_option): Handle -de for SSA dump files.
4432         * ssa.c: New file.
4433         
4434 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
4435
4436         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4437         same as VAR_DECL.
4438
4439 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
4440
4441         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4442
4443 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
4444
4445         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4446         (MD_STARTFILE_PREFIX_1): New macro.
4447
4448 2000-03-09  Robert Lipe  <robertl@sco.com>
4449
4450         * config/ia64/ia64.c: Include system.h.
4451
4452 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4453
4454         * except.c (nothrow_function_p): If -fno-exceptions, just return.
4455         (init_eh_nesting_info): Likewise.
4456
4457         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4458         (TREE_NOTHROW): Rename from TREE_RAISES.
4459         * toplev.c (rest_of_compilation): Set it.
4460         * print-tree.c (print_node): Adjust.
4461         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4462         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4463         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
4464         REG_EH_REGION note as appropriate.
4465         (libfunc_nothrow): New fn.
4466         (emit_library_call, emit_library_call_value): Use it.
4467         (expand_call): Check TREE_NOTHROW.
4468
4469         * varasm.c (make_decl_rtl): Skip initial '*' when setting
4470         DECL_ASSEMBLER_NAME.
4471
4472 2000-03-09  Andreas Jaeger  <aj@suse.de>
4473
4474         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4475         (TARGET_MEM_FUNCTIONS): Define.
4476
4477 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4478
4479         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4480
4481         * except.c (can_throw): See through a SEQUENCE.
4482         (nothrow_function_p): New fn.
4483         * except.h: Declare it.
4484         * function.c (current_function_nothrow): New var.
4485         (prepare_function_start): Initialize it.
4486         * output.h: Declare it.
4487         * toplev.c (rest_of_compilation): Set it.
4488         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4489
4490 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
4491
4492         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4493         match.  (cpp_compare_defs): Count the nul separator when
4494         advancing over argument names.
4495
4496 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
4497
4498         * recog.c (preprocess_constraints): Matching constraints affect
4499         same alternative/different operand, not same operand/different
4500         alternative.
4501         
4502         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4503         register and a constant specially.
4504
4505 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4506
4507         * libgcc2.h: New file.
4508         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4509
4510 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
4511
4512         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4513         * configure: Regenerate.
4514         * config/ia64: New.
4515
4516 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4517
4518         * Makefile.in (LIBCPP_DEPS): New macro.
4519         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4520         it to declare deps.
4521         * cpperror.c: Include cpphash.h.
4522         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
4523         dingleberry.
4524         (lex): Don't use CPP_WARN_UNDEF.
4525         (_cpp_parse_expr): Return an int, the truth value.
4526         * cppfiles.c: Include cpphash.h.
4527         (_cpp_merge_include_chains): Move to cppinit.c and make static.
4528         * cppinit.c (include_defaults_array): Disentangle.
4529         (cpp_cleanup): Don't free the if stack here.
4530         (cpp_finish): Pop off all buffers, not just one.
4531         * cpplib.c (eval_if_expr): Return int.
4532         (do_xifdef): Rename do_ifdef.
4533         (handle_directive): Don't use CPP_PREPROCESSED. 
4534         (cpp_get_token): Don't use CPP_C89.
4535         * fix-header.c: Don't use CPP_OPTIONS.
4536
4537         * cpplib.h: Move U_CHAR, enum node_type, struct
4538         file_name_list, struct ihash, is_idchar, is_idstart,
4539         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4540         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4541         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4542         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4543         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4544         of _cpp_simplify_pathname, _cpp_find_include_file,
4545         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4546         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
4547         cppinit.c.
4548         Change all uses of U_CHAR to be unsigned char instead.
4549         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4550
4551 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4552
4553         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4554         (dwarf2out_begin_prologue): Set it.
4555         (output_call_frame_info): Don't emit EH unwind info for leaves.
4556
4557         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4558         can occur outside of an EH region.
4559         * except.c: Correct comments about rethrow behavior.
4560         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4561
4562 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
4563
4564         * flow.c (make_edges): Always call make_eh_edge for calls.
4565
4566 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4567
4568         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4569         (struct cpp_buffer): Remove fname and underflow fields.
4570         (struct cpp_reader): Remove get_token field.
4571         (struct include_hash): Rename to struct ihash.  Add typedef to
4572         IHASH.
4573         (struct if_stack): Remove fname field.
4574         (IF_STACK_FRAME): Rename to IF_STACK.
4575
4576         * cpperror.c (print_containing_files): Trust that there are no
4577         macro buffers below the top file buffer.
4578         * cppfiles.c: Replace all references to 'struct include_hash'
4579         with 'IHASH'.  Rename initialize_input_buffer to
4580         init_input_buffer.  Don't set or reference cpp_buffer->fname,
4581         use buffer->ihash->name instead.
4582         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
4583         not CPP_NULL_BUFFER.
4584         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4585         IF_STACK_FRAME, IHASH not struct include_hash.
4586         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
4587         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
4588         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
4589         references to cpp_buffer->fname (delete entirely, or use
4590         ->ihash->name instead) and IF_STACK->fname.
4591         (cpp_push_buffer): Don't set new->underflow.
4592         (do_include): Use cpp_file_buffer.
4593
4594         * cpphash.c (collect_formal_parameters): Remove duplicate
4595         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
4596         used as a macro argument name.  Don't append "..." to namebuf
4597         for varargs macros.  After we're done scanning, go through
4598         namebuf and make it NUL separated, not comma separated.
4599         (_cpp_compare_defs): Remove register tag from variables.
4600         Expect defn->argnames to be NUL separated.
4601         (_cpp_dump_definition): Expect defn->argnames to be NUL
4602         separated and in forward order.
4603         * cpphash.h: Update documentation of argnames field.
4604
4605 2000-03-08  Richard Henderson  <rth@cygnus.com>
4606
4607         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4608         to fail.  Don't pre-expand the source operand.
4609
4610         * i386.md (strlensi): Initialize eoschar and align before use.
4611
4612 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4613
4614         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4615         CONSTRUCTOR element.
4616
4617 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4618
4619         * mips.c (mips_expand_prologue): If the last 
4620         named argument is the vararg marker "va_list", treat it as
4621         an unnamed argument.
4622
4623 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
4624
4625         * dbxout.c (dbxout_parms): When correcting for promoted 
4626         big-endian parameters, use the mode of the DECL_RTL rather 
4627         than UNITS_PER_WORD.
4628
4629 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
4630
4631         * c-common.h (make_fname_decl): Declare.
4632         * c-common.c (make_fname_decl): Define.
4633         (declare_hidden_char_array): Remove.
4634         (declare_function_name): Use make_fname_decl.
4635         * c-decl.c (c_make_fname_decl): New function.
4636         (init_decl_processing): Set make_fname_decl.
4637
4638 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
4639
4640         * cccp.c (handle_directive): Initialize backslash_newlines_p.
4641
4642 2000-03-07  Philipp Thomas  <pthomas@suse.de>
4643
4644         * po/POTFILES.in: Remove cppalloc.c from file list.
4645
4646 2000-03-07  Steve Chamberlain  <sac@pobox.com>
4647
4648         * pj.c (pj_expand_prologue): current_function->args_info is
4649         now current_function_args_info.  
4650
4651         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4652         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4653         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4654
4655 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4656
4657         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4658         output as hexadecimal rather than the default octal.
4659
4660 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4661
4662         * cpphash.c (special_symbol): Fix thinko in previous commit.
4663
4664 2000-03-07  Neil Booth  <NeilB@earthling.net>
4665
4666         * cppexp.c (struct operation, left_shift, right_shift,
4667         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4668         "int"s to "unsigned int"s.
4669         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4670         Similarly.
4671         * cpplib.h: Update for above.
4672         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4673         returned from allocations.
4674
4675         * cppinit.c (opt_comp, parse_options): New functions.
4676         (handle_option): Use parse_option to parse a single command
4677         line option, that possibly takes an argument.
4678         (cpp_handle_options): Sort the array of command line options on
4679         first invocation (non-ASCII hosts only).
4680         (print_help): Update.
4681
4682 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4683
4684         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4685         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
4686         
4687         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4688         initialized.
4689         * cppinit.c (cpp_cleanup): Free imp->nshort also.
4690
4691         * cpperror.c (cpp_print_containing_files,
4692         cpp_print_file_and_line, v_cpp_message): Rename to
4693         print_containing_files, print_file_and_line, and v_message.
4694         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4695         to _cpp_parse_expr, parse_escape, and lex.
4696         (parse_charconst): Remove broken multibyte support.
4697         * cppfiles.c (include_hash): Make static.
4698         (cpp_included): New function.
4699         (merge_include_chains, find_include_file, finclude,
4700         simplify_pathname): Rename to _cpp_merge_include_chains,
4701         _cpp_find_include_file, _cpp_read_include_file, and
4702         _cpp_simplify_pathname.
4703         * cpphash.c (cpp_lookup, free_definition, delete_macro,
4704         cpp_install, create_definition, macroexpand, compare_defs,
4705         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4706         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4707         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4708         * cppinit.c (cpp_handle_option): Rename to handle_option, make
4709         static.
4710         * cpplib.c: Remove extern prototype of cpp_parse_expr.
4711
4712         * cpphash.h: Update prototypes.
4713         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
4714
4715 2000-03-07  Andrew Haley  <aph@cygnus.com>
4716
4717         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4718         PTRDIFF_TYPE should be based solely on Pmode.
4719         (SIZE_TYPE): ditto.
4720
4721 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4722
4723         * rtl.h (rtunion_def): Constify member `rtstr'.
4724         (emit_line_note_after, emit_line_note, emit_line_note_force,
4725         emit_note, decode_asm_operands): Constify.
4726         
4727         * cse.c (canon_hash): Likewise.
4728
4729         * dbxout.c (dbxout_block): Likewise.
4730
4731         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4732         v_warning_for_asm): Likewise.
4733
4734         * dwarfout.c (function_start_label): Likewise.
4735
4736         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4737         emit_line_note_force): Likewise.
4738
4739         * final.c (last_filename, asm_insn_count, final_scan_insn,
4740         output_source_line): Likewise.
4741
4742         * function.h (struct emit_status): Likewise.
4743
4744         * gcse.c (hash_expr_1): Likewise.
4745
4746         * genattr.c (gen_attr, main): Likewise.
4747
4748         * genattrtab.c (struct function_unit, current_alternative_string,
4749         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4750         attr_numeral, check_attr_test, check_attr_value,
4751         convert_set_attr_alternative, convert_set_attr,
4752         compute_alternative_mask, simplify_by_exploding, gen_attr,
4753         gen_unit): Likewise.
4754
4755         * genflags.c (gen_insn): Likewise.
4756
4757         * gengenrtl.c (type_from_format): Likewise.
4758
4759         * genopinit.c (gen_insn): Likewise.
4760
4761         * genoutput.c (n_occurrences, process_template, process_template):
4762         Likewise.
4763
4764         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4765         Likewise.
4766
4767         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4768         Likewise.
4769
4770         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4771         ggc_set_mark, ggc_get_size): Likewise.
4772
4773         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4774
4775         * optabs.c (init_one_libfunc): Likewise.
4776
4777         * output.h (assemble_start_function): Likewise.
4778
4779         * recog.c (decode_asm_operands): Likewise.
4780
4781         * toplev.c (rest_of_compilation): Likewise.
4782
4783         * tree.h (emit_line_note_after, emit_line_note,
4784         emit_line_note_force): Likewise.
4785
4786         * varasm.c (asm_output_bss, asm_output_aligned_bss,
4787         asm_emit_uninitialised, assemble_start_function,
4788         assemble_variable, const_hash, compare_constant_1,
4789         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4790
4791         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4792
4793         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4794
4795         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4796
4797         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4798
4799         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4800         arm_dllimport_name_p): Likewise.
4801
4802         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4803         Likewise.
4804
4805         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4806
4807         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4808
4809         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4810         arm_mark_dllexport, arm_mark_dllimport,
4811         arm_pe_encode_section_info): Likewise.
4812
4813         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4814         ASM_FINISH_DECLARE_OBJECT): Likewise.
4815
4816         * arm/thumb.c (thumb_function_prologue): Likewise.
4817
4818         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4819
4820         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4821
4822         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4823
4824         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4825
4826         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4827
4828         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4829
4830         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4831         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4832
4833         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4834
4835         * i386/i386.c (asm_output_function_prefix): Likewise.
4836
4837         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4838
4839         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4840
4841         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4842
4843         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4844         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4845         ASM_OUTPUT_SECTION_NAME): Likewise.
4846
4847         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4848
4849         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4850
4851         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4852
4853         * m32r/m32r.c (m32r_encode_section_info): Likewise.
4854
4855         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4856
4857         * mcore/mcore.c (mcore_encode_section_info): Likewise.
4858
4859         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4860
4861         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4862
4863         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4864
4865         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4866
4867         * mips/mips.md (movdi, movsi): Likewise.
4868
4869         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4870
4871         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4872
4873         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4874
4875         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4876         ASM_OUTPUT_ASCII): Likewise.
4877
4878         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
4879         output_mi_thunk, output_toc): Likewise.
4880
4881         * rs6000/rs6000.md (movsi): Likewise.
4882
4883         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
4884
4885         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
4886
4887         * v850/v850.c (print_operand, print_operand_address,
4888         v850_encode_data_area): Likewise.
4889
4890 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
4891         
4892         * config/mips/mips.md (zero_extendsidi2): Always force operand
4893         one to memory for mips16.
4894
4895 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4896
4897         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
4898         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
4899         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
4900         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
4901         (min_precision): Result is unsigned.
4902         (add_double, neg_double, mul_double): Low word is unsigned.
4903         (lshift_double, rshift_double, lrotate_double): Likewise.
4904         (rrotate_double, div_and_round_double): Likewise.
4905         (tree_floor_log2, compare_tree_int): New functions.
4906         (preserve_rtl_expr_temps): New declaration.
4907         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
4908         (decl_attributes): Use tree_log2 to find alignment.
4909         Check for TREE_INT_CST_HIGH for format args.
4910         (min_precision): Now unsigned.
4911         Use tree_floor_log2.
4912         (truthvalue_conversion): Delete long-disabled code.
4913         * c-decl.c (finish_struct): Clean up tests on field width.
4914         (finish_function): Use compare_tree_int.
4915         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
4916         * c-typeck.c (comptypes): Use tree_int_cst_equal.
4917         (default_conversion, digest_init): Use compare_tree_int.
4918         (build_binary_op): Use integer_all_onesp and compare_tree_int.
4919         Fix type errors in forming masks.
4920         * calls.c (initialize_argument_information): Use compare_tree_int.
4921         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4922         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
4923         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
4924         (store_field): Use compare_tree_int.
4925         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
4926         (expand_expr, case ARRAY_REF): Use compare_tree_int.
4927         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
4928         (do_store_flag): Use compare_tree_int.
4929         * fold-const.c (encode, decode): Low part is always unsigned.
4930         (force_fit_type, add_double, neg_double, mul_double): Likewise.
4931         (lshift_double, rshift_double, lrotate_double): Likewise.
4932         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
4933         (fold_convert): Use compare_tree_int.
4934         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
4935         (invert_truthvalue, case INTEGER_CST): Likewise.
4936         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
4937         * mkdeps.c (deps_dummy_targets): Make I unsigned.
4938         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
4939         (lshift_double, rshift_double, lrotate_double, rrotate_double):
4940         Likewise.
4941         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
4942         (expand_end_case): Use compare_tree_int.
4943         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4944         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
4945         (layout_decl): Likewise.
4946         (layout_record, layout_union): Make sizes unsigned.
4947         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
4948         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
4949         * tree.c (struct type_hash): hashcode is unsigned.
4950         (build_type_attribute_variant, type_hash_list): Likewise.
4951         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
4952         (attribute_hash_list, build_array_type, build_method_type): Likewise.
4953         (build_complex_type): Likewise.
4954         (real_value_from_int_cst): Remove unneeded casts.
4955         (integer_all_onesp): Add casts.
4956         (tree_floor_log2, compare_tree_int): New functions.
4957         (build_index_type): Use tree_int_cst_sgn.
4958         * varasm.c (assemble_variable): Use compare_tree_int.
4959
4960 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
4961
4962         * cpphash.c (collect_expansion): Also catch ## at start of macro.
4963
4964         * varasm.c (make_decl_rtl): Don't add a number to members of
4965         local classes.
4966         (make_function_rtl): Likewise.
4967
4968 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4969
4970         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
4971         patch from 2000-01-28.
4972
4973 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
4974
4975         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
4976         filled with an insn from the jump target.
4977
4978 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4979
4980         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
4981         (c4x_external_ref): Likewise.
4982         * config/c4x/c4x.c (struct name_list): Likewise.
4983
4984 1999-12-16  Ben Collins  <bcollins@debian.org>
4985
4986         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
4987         argument to genmultilib.
4988         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
4989         the contents into the multilib.h header.
4990         * gcc.c: Declare multilib_exclusions for the specs file.
4991         (set_multilib_dir): Use it.
4992         (print_multilib_info): Likewise.
4993         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
4994         to pass to genmultilib.
4995
4996 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4997
4998         * builtins.c (built_in_class_names, built_in_names): Constify a
4999         char*.
5000
5001         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5002         int.
5003         (_mcleanup): Ensure value matches format specifier in sprintf.
5004
5005         * cpphash.c (special_symbol): Don't needlessly cast away
5006         const-ness.
5007
5008         * cppinit.c (base_name): Delete unused prototype.
5009
5010         * mkdeps.c (deps_init): Make definition K&R safe.
5011
5012         * tree.h (built_in_class_names, built_in_names): Constify a
5013         char*.
5014
5015 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
5016
5017         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5018         floating point instructions for epilogue delay.
5019
5020         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5021         to gas if it supports .register pseudo.
5022
5023         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5024         LONG_DOUBLE_TYPE_SIZE if not defined.
5025         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5026         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5027         * real.c: Likewise.
5028         * gengenrtl.c: Likewise.
5029         * print-rtl.c: Likewise.
5030         * rtl.c: Likewise.
5031         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5032         MASK_LONG_DOUBLE_128.
5033         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5034         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5035         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5036         (SUBTARGET_SWITCHES): Define.
5037         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5038         with -mlong-double-128.
5039         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5040         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5041         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5042         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5043         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5044         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5045         with -mlong-double-128.
5046         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5047         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5048         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5049         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5050         TARGET_LONG_DOUBLE_128): Define.
5051         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5052         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5053         long double on TARGET_ARCH64.
5054
5055 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
5056
5057         * function.c (free_temps_for_rtl_expr): Don't free slots
5058         that have been pushed into a higher level.
5059         
5060         Revert this patch:
5061         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5062
5063 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5064
5065         * basic-block.h (ALLOCA_REG_SET): Remove.
5066         (INITIALIZE_REG_SET): New macro.
5067         * flow.c (update_life_info): Use it.
5068         (calculate_global_regs_live): Likewise.
5069         (propagate_block): Likewise.
5070         * global.c (build_insn_chain): Likewise.
5071         * haifa-sched.c (schedule_region): Likewise.
5072
5073 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
5074
5075         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5076         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5077         (DWARF_ARANGES_PAD_SIZE): New define.
5078         (output_aranges): Use it to pad the address range header.
5079         (DWARF_ROUND): Fix for non power of 2 rounding.
5080
5081 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
5082
5083         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5084
5085 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5086
5087         * tree.def (RTL_EXPR): Update documentation.
5088         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5089         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5090         * function.c (preserve_rtl_expr_temp): New function.
5091         (preserve_rtl_expr_temps): Likewise.
5092         (preserve_rtl_expr_result): Use it.
5093
5094         Revert this patch:
5095         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5096
5097 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
5098
5099         * regmove.c (copy_src_to_dest)  Do not create src->dest move
5100         for unchanging destination.
5101
5102 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5103
5104         * function.h (struct sequence_stack): Remove rtl_expr.
5105         (struct emit_staus): Likewise.
5106         (seq_rtl_expr): Remove.
5107         * tree.h (free_temps_for_rtl_expr): Don't declare.
5108         (start_sequence_for_rtl_expr): Likewise.
5109         * rtl.h (preserve_rtl_expr_result): Likewise.
5110         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5111         (start_sequence_for_rtl_expr): Remove.
5112         (push_topmost_sequence): Don't save sequence_rtl_expr.
5113         (pop_topmost_sequence): Remove comment about not restoring it.
5114         (end_sequence): Don't set seq_rtl_expr.
5115         (init_emit): Don't initialize it.
5116         (mark_sequence_stack): Don't mark it.
5117         (mark_emit_status): Likewise.
5118         * except.c (protect_with_terminate): Use
5119         start_sequence_for_rtl_expr, not start_sequence.
5120         * expr.c (expand_expr, case RTL_EXPR): Don't call
5121         preserve_rtl_expr_result or free_temps_for_rtl_expr.
5122         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5123         (preserve_rtl_expr_result): Remove.
5124         (free_temps_for_rtl_expr): Likewise.
5125         (pop_temp_slots): Likewise.
5126         (mark_temp_slot): Don't mark the rtl_expr.
5127         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5128         start_sequence_for_rtl_expr.
5129         
5130 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
5131
5132         * mkdeps.c, mkdeps.h: New files.
5133         * po/POTFILES.in: Add them.
5134         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5135         (cpplib.o, cppinit.o): Depend on mkdeps.h.
5136         (mkdeps.o): New target.
5137
5138         * cppfiles.c: Delete deps_output.
5139         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
5140         OBJECT_SUFFIX, and base_name.
5141         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
5142         the include hash.
5143         (initialize_dependency_output): Use deps_init,
5144         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
5145         all the unnecessary string bashing.
5146         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
5147         level.
5148         * cpplib.c (do_include): Use deps_add_dep.
5149         * cpplib.h (struct cpp_reader): Replace deps_buffer,
5150         deps_allocated_size, deps_size, deps_column members with
5151         single pointer to a struct deps.  Delete prototype of
5152         deps_output.
5153
5154         * cppinit.c: Fix thinko in previous patch.
5155
5156 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5157
5158         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5159         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5160         (mode_for_size_tree): New function.
5161         (layout_decl, layout_type): Call it and clean up BLKmode checks.
5162         * tree.h (mode_for_size_tree): New declaration.
5163         
5164         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5165
5166 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
5167
5168         * stmt.c (is_body_block): Move...
5169         * dwarfout.c, dwarf2out.c: ...from here.
5170         * tree.h: Declare it.
5171         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5172         * final.c (final_start_function): Do call remove_unnecessary_notes
5173         when scheduling.
5174
5175 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5176
5177         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5178         
5179         * cpplib.h (_dollar_ok): New macro.
5180         (is_idchar, is_idstart): Use it.
5181         (IStable): Rename to _cpp_IStable.  Declare it const if
5182         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
5183         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5184         is_space): Update for renamed IStable.
5185
5186         * cppinit.c: Delete all references to FAKE_CONST and CAT
5187         macros. Define init_IStable as empty macro if gcc >=2.7 or
5188         C99. Change TABLE() to ISTABLE and hardcode name of table.
5189         (cpp_start_read): Don't change the IStable based on
5190         dollars_in_ident.
5191
5192         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
5193         changed.  Handle '$' for char1 correctly.
5194         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5195
5196         * cppexp.c (tokentab2): Make const.
5197         (cpp_lex): Make toktab const.
5198         * cppinit.c (include_defaults_array): Make const.
5199         (initialize_standard_includes): Make default_include const.
5200
5201 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5202
5203         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5204         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5205         (gen_decl_die): Likewise.
5206         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5207         (output_decl): Likewise.
5208
5209         * varasm.c (make_function_rtl): If we change the name used in the
5210         rtl, update DECL_ASSEMBLER_NAME accordingly.
5211         (make_decl_rtl): Likewise.
5212
5213         * toplev.c (rest_of_compilation): Tweak formatting.
5214
5215         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5216         remove_unnecessary_notes.
5217         (debug_ignore_block): New fn.
5218         * toplev.h: Declare it.
5219         * emit-rtl.c (remove_unncessary_notes): Call it.
5220         * dwarf2out.c (dwarf2out_ignore_block): New fn.
5221         * dwarf2out.h: Declare it.
5222         * final.c (final_start_function): Don't call remove_unnecessary_notes
5223         if we did insn scheduling.
5224
5225 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5226
5227         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5228         * cpplib.h: Delete SET_CPP_PEDANTIC.
5229
5230 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5231
5232         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5233         result is a RECORD_TYPE.
5234
5235 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5236
5237         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5238
5239 2000-03-03  Richard Henderson  <rth@cygnus.com>
5240
5241         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5242         addition over compliments over shifts.
5243
5244 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5245
5246         * reload1.c (reload_combine_note_use): Handle return register USEs.
5247         REG case: Handle multi-hard-register hard regs.
5248
5249 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5250
5251         * md.texi: Document use of '*' in insn pattern name.
5252
5253 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5254
5255         * calls.c (special_function_p): operator new may not be malloc-like.
5256
5257         * gcse.c (dump_hash_table): Really fix error in last change.
5258
5259 2000-03-02  Denis Chertykov  <denisc@overta.ru>
5260
5261         * avr.c (print_operand): Use print_operand_address instead of
5262         output_addr_const.
5263         * avr/libgcc.S: Cleanup code.
5264
5265 2000-03-02  Richard Henderson  <rth@cygnus.com>
5266
5267         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5268
5269 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
5270
5271         * tree.h (TYPE_ALIGN_UNIT): New macro.
5272
5273 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
5274
5275         * i386.c: (constant_call_address_operand): Reject CONST_INT.
5276
5277 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
5278
5279         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5280         for the buffer.
5281         (SET_CPP_PEDANTIC): New macro.
5282         * cpplib.c (do_include): Don't bother checking system_header_p.
5283         (do_warning, do_ident, do_assert, do_unassert): Likewise.
5284         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5285
5286         * function.h (struct expr_status): Add x_arg_space_so_far.
5287         (arg_space_so_far): New macro.
5288         * expr.c (init_expr): Initialize it.
5289         * calls.c (emit_call_1): Reset it.
5290         (compute_argument_block_size, expand_call): Use it.
5291         (expand_call, store_one_arg): Increment it.
5292
5293 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5294
5295         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5296         a UNION_TYPE.
5297
5298 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
5299
5300         * cppfiles.c (cpp_read_file): New function.
5301
5302         * cpphash.c (collect_expansion): Make sure to reset last_token
5303         to NORM when we hit a string.  Handle trailing whitespace
5304         properly when the expansion is empty.
5305         (create_definition): Disable line commands while parsing the
5306         directive line.
5307         (dump_definition): If pfile->lineno == 0, output a line
5308         command ahead of the dump, and add a trailing newline.
5309
5310         * cppinit.c (append_include_chain): Add fifth argument, which
5311         indicates whether or not system headers are C++ aware.
5312         (initialize_standard_includes): New function,
5313         broken out of read_and_prescan.  Pass 'cxx_aware' value from
5314         the include_defaults_array on to append_include_chain.
5315         (dump_special_to_buffer): Const-ify char array.
5316         (builtin_array): Don't dump __BASE_FILE__.
5317         (cpp_start_read): Use cpp_read_file.  Reorder code for
5318         clarity.  Don't output line commands here for -D/-A/-U
5319         switches.  Don't call deps_output for files included with
5320         -include or -imacros.
5321
5322         * cpplib.c (do_define): Don't pay any attention to the second
5323         argument.
5324         (cpp_expand_to_buffer): Disable line commands while scanning.
5325         (output_line_command): Work in the file buffer.
5326         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5327         Fix formatting of comments.  Prototype cpp_read_file.
5328
5329 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5330
5331         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5332         reference the language-equivalent of sizetype.
5333         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5334         * fold-const.c (size_binop, size_diffop): Put back checks.
5335         * gcse.c (dump_hash_table): Fix minor error in last change.
5336         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5337         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5338         all sizetypes.
5339
5340 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
5341
5342         * calls.c (expand_call)  Do not attempt to combine stack adjustments
5343         with inhibit_defer_pop set.
5344
5345 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
5346
5347         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5348         the DECL_SIZE for a FIELD_DECL.
5349
5350 2000-03-01  Bruce Korb  <bkorb@gnu.org>
5351
5352         * fixinc/inclhack.tpl: remove unused symlinks
5353         * fixinc/README: GCC Maintainer info
5354         * fixinc/inclhack.sh: regen
5355         * fixinc/fixincl.sh: regen
5356
5357 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
5358
5359         * cpphash.c (collect_expansion): Trim trailing white space
5360         from macro definitions, but don't go past the last insertion
5361         point.
5362
5363 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
5364
5365         * i386.md (mulqi3): New pattern.
5366
5367 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
5368
5369         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5370         token types.
5371         (struct cpp_reader): Add parsing_if_directive and
5372         parsing_define_directive flags.               
5373         (struct cpp_options): Remove output_conditionals flag.
5374         (check_macro_name): Delete prototype.
5375
5376         * cpphash.h (struct macrodef): Delete.
5377         (struct reflist): Separate from struct definition.
5378         (struct definition): Remove unused fields.  Add column number.
5379         (create_definition): Returns a DEFINITION *.  Takes a
5380         cpp_reader * and an int.
5381
5382         * cpphash.c (SKIP_WHITE_SPACE): Delete.
5383         (PEEKC): Copy defn from cpplib.c.
5384         (rest_extension, REST_EXTENSION_LENGTH): Delete.
5385         (struct arg): New.
5386         (struct arglist): Simplify.
5387         (collect_expansion): Rewrite.  Get tokens by calling
5388         cpp_get_token.  Add more error checking.
5389         (collect_formal_parameters): New function, broken out of
5390         create_definition and reworked to use get_directive_token.
5391         (create_definition): All real work is now in collect_expansion
5392         and collect_formal_parameters.  do_define handles finding the
5393         macro name.  Return a DEFINITION, not a MACRODEF.
5394         (macroexpand): Replace bcopy with memcpy throughout.  Replace
5395         character-at-a-time copy loop with memcpy and pointer increments.
5396         (compare-defs): d1->argnames / d2->argnames might be null.
5397
5398         * cpplib.c (copy_rest_of_line): Delete function.
5399         (skip_rest_of_line): Do all the work ourselves.
5400         (skip_string): New function.
5401         (parse_string): Use skip_string.
5402         (get_macro_name): New function.
5403         (check_macro_name): Delete.
5404         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5405         (cpp_skip_hspace): Use CPP_BUMP_LINE.
5406         (handle_directive): ICE if we're called on a macro buffer.
5407         (do_define): Determine macro name and type (funlike/objlike)
5408         here.  Expunge all uses of MACRODEF.
5409         (cpp_push_buffer): Set line_base to NULL.
5410         (do_undef, read_line_number): Don't worry about getting a POP token.
5411         (eval_if_expression): Set/reset parsing_if_directive around
5412         cpp_parse_expr. Don't clear only_seen_white.
5413         (skip_if_group): Remove output_conditionals logic.  Use
5414         skip_rest_of_line.
5415         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5416         tokens under appropriate conditions.
5417         (cpp_unassert): Call do_unassert not do_assert.  Oops.
5418
5419         * cppexp.c (parse_defined): New function, break out of
5420         cpp_lex.
5421         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5422         ourselves, with cpp_defined.
5423         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5424
5425         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5426         * gcc.dg/strpaste-2.c: New.
5427
5428 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
5429
5430         * fold-const.c (size_binop): Don't asert inputs are the same and
5431         have TYPE_IS_SIZETYPE set.
5432         (size_diffop): Likewise.
5433
5434 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
5435
5436         * dwarfout.c (output_block): Output abstract blocks even if they
5437         don't have TREE_ASM_WRITTEN set.
5438
5439         * calls.c (emit_library_call): Check for null REG.
5440
5441 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5442
5443         * c-decl.c (current_function_decl): Move to toplev.c.
5444         (init_decl_processing): Don't add current_function_decl as a ggc
5445         root here.
5446         * dbxout.c (dbxout_symbol): Change return type to int.
5447         (dbxout_symbol_location, dbxout_syms): Likewise.
5448         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5449         any locals. Use current_function_func_begin_label if set.
5450         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5451         * dwarf2out.c (dwarf2out_begin_prologue): Set
5452         current_function_func_begin_label.
5453         * final.c (final_start_function): Reset it.
5454         * toplev.c (current_function_decl): Define it here.
5455         (current_function_func_begin_label): New variable.
5456         (main): Add both as ggc roots.
5457         * tree.h (current_function_func_begin_label): Declare.
5458
5459 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5460
5461         * gcse.c: Cleanups throughout: mostly white-space, but also
5462         some minor rearrangement of code.
5463
5464 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
5465
5466         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5467         returns a PARALLEL.  Use emit_group_load and use_group_regs
5468         as needed.  
5469         (emit_library_call_value): Similarly.
5470
5471         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5472         * pa/quadlib.asm: Remove.
5473         * pa/quadlib.c: New file.
5474
5475         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5476         * configure: Rebuilt.
5477
5478 2000-02-29  Philip Blundell  <pb@futuretv.com>
5479
5480         * config/arm/conix-elf.h: New file.
5481         * configure.in (arm*-*-conix*): New configuration.
5482         * configure: Regenerate.
5483
5484 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
5485
5486         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5487         don't have TREE_ASM_WRITTEN set.
5488
5489 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5490
5491         * Eliminate DECL_FIELD_SIZE.
5492         * builtins.c (built_in_class_names, built_in_names): New variables.
5493         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5494         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5495         DECL_SIZE, not DECL_FIELD_SIZE.
5496         * print-tree.c (print_node): Remove code that prints extra blank
5497         lines in some cases.
5498         Properly handle inline and builtin function cases.
5499         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5500         * tree.h (built_in_class_named, built_in_names): New declarations.
5501         (union tree_decl): Rename internal unions to u1 and u2 and change
5502         some of their components.
5503         Add new field built_in_class.
5504         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5505         Reflect above changes.
5506         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5507         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5508         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5509         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5510
5511 2000-02-28  Dmitri Makarov  <dim@windriver.com>
5512
5513         * extend.texi: Document ARM's support for long/short calls.
5514
5515         * invoke.texi: Document ARM's -mlong-calls command line switch.
5516         
5517         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5518         (arm_encode_call_attribute): Add prototype.
5519         (arm_set_default_type_attribute): Add prototype.
5520         (arm_strip_name_encoding): Add prototype.
5521
5522         * config/arm/arm.c (arm_init_cumulative_args): replace
5523         initialisation og 'long_calls' field with initialisation of
5524         'call_cookie' field.
5525         (enum arm_pragma_enum): New enum.
5526         (arm_pragma_long_calls): New static variable.
5527         (arm_process_pragma): Also process "#pragma long_calls_off".
5528         (arm_valid_type_attribute_p): Accept short_call attribute.
5529         (arm_comp_type_attributes): Check long/short call attributes.
5530         (arm_encode_call_attribute):  New function:  Encode long_call
5531         or short_call attribute in function name.
5532         (arm_set_default_type_attributes): New function: Assign
5533         default attributes to newly defined type.
5534         (current_file_function_operand): New function: Return true if
5535         the symbol is a function which has already been compiled.
5536         (arm_is_longcall_p): New function: Return true if the
5537         indicated function should be called via a long call.
5538         (arm_get_strip_length): New function.  Returns number of
5539         prefix characters to be stripped from a function's name.
5540         (arm_strip_name_encoding): New function.  Strip prefix characters
5541         from a function's name.
5542
5543         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5544         with 'call_cookie'.
5545         (SHORT_CALL_FAG_CHAR): Define.
5546         (LONG_CALL_FAG_CHAR): Define.
5547         (ENCODED_SHORT_CALL_ATTR_P): Define.
5548         (ENCODED_LONG_CALL_ATTR_P): Define.
5549         (ARM_NAME_ENCODING_LENGTHS): Define.
5550         (STRIP_NAME_ENCODING): Define.
5551         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5552         (ARM_ENCODE_CALL_TYPE): Define.
5553         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5554         (ARM_DECLARE_FUNCTION_SIZE): Define.
5555         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5556
5557         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5558         if a long call is needed.
5559         (call_value): Ditto.
5560         (call_symbol): Ditto.
5561
5562         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5563         ARM_DECLARE_FUNCTION_SIZE.
5564
5565         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5566         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5567         (ARM_STRIP_NAME_ENCODING): Undefine.
5568         (STRIP_NAME_ENCODING): Undefine.
5569         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5570         (ASM_DECLARE_FUNCTION_NAME): Ditto.
5571         (ASM_OUTPUT_COMMON): Ditto.
5572         (ASM_DECLARE_OBJECT_NAME): Ditto.
5573
5574         * config/arm/pe.c (arm_dllexport_name_p): Check for
5575         ARM_PE_FLAG_CHAR.
5576         (arm_dllimport_name_p): Ditto.
5577         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5578         (arm_mark_dllimport): Ditto.
5579         
5580 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5581
5582         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5583
5584 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
5585
5586         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5587
5588 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
5589
5590         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5591         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5592         NO_BUILTIN_WCHAR_TYPE is not defined.
5593         (CPP_WCHAR_TYPE): Delete.
5594         * cccp.c (main): Don't change wchar_type if cplusplus.
5595         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5596
5597 2000-02-28  Nick Clifton  <nickc@cygnus.com>
5598
5599         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5600
5601 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
5602
5603         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5604         (ASM_WEAKEN_LABEL): Define.
5605  
5606 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
5607
5608         * expr.c (store_constructor): Do not emit USE.
5609         * rtl.h (stupid_life_analysis): Remove.
5610
5611 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5612
5613         * function.c (number_blocks): Reset next_block_index based on
5614         what debugging format is used, not what is defined.
5615         
5616         * lcm.c: Minor reformatting throughout.
5617         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5618         
5619         * toplev.c (rest_of_compilation): Account for time in
5620         optimize_mode_switching.
5621
5622         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5623         if only marking labels.
5624
5625 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
5626
5627         * calls.c (expand_call): Attempt to combine stack adjustments with
5628         pending stack adjustments.
5629
5630 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5631
5632         * loop.c (reg_in_basic_block_p): Don't abort when falling through
5633         to the end of the function.
5634
5635 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
5636
5637         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5638         blocks.
5639         * final.c (next_block_index): Remove.
5640         (max_block_depth): Likewise.
5641         (pending_blocks): Likewise.
5642         (init_final): Don't initialize them.
5643         (final_start_function): Don't set next_block_index.  Set up
5644         BLOCK_NUMBER.
5645         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5646         * function.h (number_blocks): New function.
5647         * function.c (get_block_vector): New function.
5648         (identify_blocks): Use it.
5649         (reorder_blocks): Set NOTE_BLOCK.
5650         (number_blocks): New function.
5651         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5652         * tree.h (BLOCK_NUMBER): New macro.
5653         (tree_block): Add block_num field.
5654         * dbxout.c (next_block_number): Remove.
5655         (dbxout_init): Don't set it.
5656         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5657         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
5658         block numbers.
5659         * toplev.c (rest_of_compilation): Always call
5660         find_loop_tree_blocks.  Fix indentation.
5661         * dwarf2out.c (next_block_number): Remove.
5662         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5663         to determine block numbers.
5664         (gen_inlined_subroutine_die): Likewise.
5665         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5666         (decls_for_scope): Don't increment next_block_number.
5667         * dwarfout.c (next_block_number): Remove.
5668         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5669         to determine block numbers. 
5670         (output_inlined_subroutine_die): Likewise.
5671         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5672         (output_decls_for_scope): Don't increment next_block_number.
5673         * sdbout.c (next_block_number): Remove.
5674         (sdbout_block): Use BLOCK_NUMBER.
5675         (sdbout_begin_block): Simplify.
5676         * xcoffout.c (next_block_number): Remove.
5677         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5678         (xcoffout_begin_block): Don't set next_block_number.
5679         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5680         next_block_number.
5681         
5682 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5683
5684         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5685         (expand_builtin_strcpy): Pass correct type to size_binop.
5686         (expand_builtin_strcmp): Likewise.
5687         Clean up conditional structure.
5688         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5689         (complete_array_type): Don't use size_binop for MAXINDEX.
5690         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5691         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5692         (c_alignof): Use size_one_node.
5693         (build_unary_op): Pass arg of proper type to size_binop.
5694         (really_start_incremental_init, push_init_level): Use sizetype for
5695         constructor{,_bit,_unfilled}_index.
5696         (pop_init_label, output_init_element): Likewise.
5697         (output_pending_init_elements, process_init_element): Likewise.
5698         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5699         * expr.c (store_expr): Use size_int.
5700         (store_constructor): Use proper types for size_binop args.
5701         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5702         (expand_expr_unaligned): Likewise.
5703         (string_contant): Return object of sizetype.
5704         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5705         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5706         (ARGS_SIZE_TREE): Pass proper types to size_binop.
5707         * fold-const.c (int_const_binop): Refine when size_int is called.
5708         (fold_convert): Likewise.
5709         (size_int_wide): Rework to take KIND as arg, only take low order
5710         bits, handle new sizetype_tab datatype, and chain entries in
5711         size_table.
5712         (size_int_type_wide): New function.
5713         (size_binop): Validate types of arguments.
5714         (ssize_binop): Deleted.
5715         (size_diffop): New function.
5716         (extract_muldiv): Only fold division into multiplication for sizetypes.
5717         * function.c (assign_parms): Use size_diffop and make sure
5718         VAR field is of ssizetype; also pass proper type to size_binop.
5719         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5720         (round_down): Deleted from here.
5721         * store-layout.c (sizetype_tab): Now an array.
5722         (sizetype_set, early_root_list): New variables.
5723         (variable_size): Use size_one_node.
5724         (round_up): Pass proper type to size_binop.
5725         (round_down): Moved to here and corrected as above.
5726         (layout_record): Pass proper arg types to size_binop.
5727         (layout_type): Likewise.
5728         If sizetype_set is zero, record the type just laid out.
5729         (make_unsigned_type): Don't call set_sizetype;
5730         (make_signed_type): Likewise; also, call fixup_signed_type.
5731         (initialize_sizetypes): New function.
5732         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5733         set name of bitsizetype to "bit_size_type".
5734         Fix up type of sizes of all types made before call.
5735         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5736         * tree.c (fix_sizetype): Deleted.
5737         (build_common_tree_nodes): Call initialize_sizetypes.
5738         (build_common_tree_nodes_2): Don't call fix_sizetype.
5739         * tree.h (TYPE_IS_SIZETYPE): New macro.
5740         (initialize_sizetype): New declaration.
5741         (enum size_type_kind): New type.
5742         (struct sizetype_tab): Deleted.
5743         (sizetype_tab): Now array; adjust sizetype macros.
5744         (size_diffop, size_int_type_wide): New functions.
5745         (size_int_wide): Change number of args and type; access macros changed.
5746         (ssize_int, sbitsize_int): New macros.
5747         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5748         (ROUND_TYPE_SIZE_UNIT): New macro.
5749
5750 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
5751
5752         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5753
5754 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5755
5756         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5757         Mark as possibly unused.
5758
5759         * cse.c (cse_insn): Delete dead code involving tablejump.
5760         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5761
5762         * Makefile.in (libcpp.a): Start by deleting it.
5763
5764 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5765
5766         * cpplib.h (enum file_change_code): Added rename_file.
5767         * cpplib.c (do_line): If a filename is given, set file_change to
5768         rename_file.
5769         (output_line_command): If file_change is rename_file, always
5770         output a # directive with the file name.
5771
5772         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5773
5774 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
5775
5776         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5777         when copying a PARM_DECL or RESULT_DECL.
5778
5779 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5780
5781         * fix-header.c (recognized_function): Also fix prototypes for
5782         functions taking "void".
5783
5784 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5785
5786         * reload1.c (do_output_reload): Check reg_reloaded_valid before
5787         looking at reg_reloaded_contents.
5788
5789 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
5790
5791         * Makefile.in (STMP_FIXINC): New toggle.
5792         (LIBGCC2_DEPS): Delete all references.
5793         (stmp-headers): Delete target.  All references either deleted
5794         or changed to stmp-int-headers.
5795         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5796         (LIBCPP_OBJS): Take out cppalloc.o.
5797         (cppalloc.o): Delete target.
5798         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5799         (gen-protos, fix-header): Link with libiberty.a.
5800         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
5801         to empty.
5802
5803         * configure.in: Remove refs to strerror.
5804         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5805         * system.h: Take out strerror stanza.
5806
5807         * cpperror.c (my_strerror): Delete function.
5808         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5809         * cppmain.c (main): Call xmalloc_set_program_name first thing.
5810         * cppalloc.c: Delete file.
5811         * gen-protos.c: Don't provide xrealloc.
5812
5813         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5814         xstrerror throughout.
5815
5816 2000-02-26  Bruce Korb  <bkorb@gnu.org>
5817
5818         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5819         match for DOS headers, too.
5820         * fixinc/inclhack.sh,fixincl.x: Regenerate.
5821
5822 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5823
5824         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
5825         is right for most ELF targets.
5826         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5827         Let the default file use %U properly.
5828         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
5829         default.
5830
5831         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5832         numbers.
5833
5834 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5835
5836         * toplev.c (documented_lang_options): Correct spelling error.
5837         (decode_d_option, decode_f_option, main): Likewise.
5838
5839         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5840
5841         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5842         to tell assembler it is permitted to expand large constants.
5843
5844 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
5845
5846         * protoize.c: (AUX_INFO_SUFFIX): New macro.
5847         (aux_info_suffix): Use.
5848         (SAVE_SUFFIX): New macro.
5849         (save_suffix): Use.
5850         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5851         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5852         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5853
5854         * invoke.texi (Running Protoize): Update documentation.
5855
5856 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5857
5858         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5859
5860 2000-02-25  John Wehle  (john@feith.com)
5861
5862         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5863
5864 2000-02-25  Anthony Green  <green@cygnus.com>
5865
5866         * toplev.c (rest_of_compilation): Rebuild jump labels if
5867         combine_instructions has created a new direct jump.
5868         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
5869         when appropriate.
5870         (combine_instructions): Call try_combine with new argument.
5871         Return non-null value when new direct jump instruction is created.
5872         * rtl.h: combine_instructions returns an int.
5873
5874 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
5875
5876         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
5877         jump when changing a computed jump into a jump to a known
5878         target.
5879
5880 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
5881
5882         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
5883         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
5884
5885         * i386.md (define_expand "clrstrsi"): Fix typo.
5886
5887 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
5888
5889         * rtl.texi: Fix typo.
5890
5891 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5892
5893         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
5894         UNITS_PER_WORD.  Change caller initial_elimination_offset.
5895         (rounded_frame_size): Take into account that argument pushed has
5896         changed.  Fix TARGET_ALIGN_DOUBLE problem.
5897
5898 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
5899
5900         * haifa-sched.c (schedule_block): Explain the real reason
5901         we delete REG_SAVE_NOTEs on the first insn of a block.
5902         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
5903
5904 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
5905
5906         * input.h (push_srcloc): New function.
5907         (pop_srcloc): Likewise.
5908         * toplev.c (push_srcloc): Define it.
5909         (pop_srcloc): Likewise.
5910
5911 2000-02-24  Richard Henderson  <rth@cygnus.com>
5912
5913         * flow.c (life_analysis): When collecting reg info, clear
5914         regs_ever_live.
5915
5916 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5917
5918         Fix bug exposed by reload.c no longer rounding the frame
5919         size to BIGGEST_ALIGNMENT:
5920         * sh.c (rounded_frame_size): New function.
5921         (sh_expand_prologue, sh_expand_epilogue): Use it.
5922         (initial_elimination_offset): Likewise.
5923
5924 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5925
5926         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
5927         * sh-protos.h (sh_need_epilogue): Declare.
5928         * sh.c (sh_need_epilogue_known): New static variable.
5929         (sh_need_epilogue): New function.
5930         (function_epilogue): Clear need_epilogue_known.
5931         * sh.md (return): Split into expander / insn pattern.
5932         Make the expander conditional on ! sh_need_epilogue ().
5933
5934 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
5935
5936         * machmode.h (get_mode_alignment): Declare.
5937         (GET_MODE_ALIGNMENT): Call it.
5938         * stor-layout.c (get_mode_alignment): New function. Make
5939         sure alignment is always power of 2.
5940
5941 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5942
5943         * i386.h: Remove useless definition of "I386" and misleading
5944         comment above it.
5945
5946 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5947
5948         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
5949         under which TREE_PERMANENT will be set.
5950         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
5951         build1): Use TREE_SET_PERMANENT.
5952         * print-tree.c (print_node): Don't report value of
5953         TREE_PERMANENT if ggc_p is true.
5954
5955         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
5956         decide whether to give a type a new alias set.
5957         * objc/objc-act.c (build_objc_string_object): Never copy the string.
5958         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
5959         of value of 'obstack'.
5960
5961
5962 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5963
5964         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
5965
5966 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5967
5968         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
5969         * cpplib.c (cpp_get_token): Produce them.
5970         * cppexp.c (cpp_lex): Handle them.
5971
5972 2000-02-23  Nick Clifton  <nickc@cygnus.com>
5973
5974         * config/arm/arm.c (arm_comp_type_attributes): Simply and
5975         comment tests on type attributes.
5976
5977 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5978
5979         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
5980         conform to documentation.
5981         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
5982         to check for special cases.
5983         * sh-protos.h (sh_loop_align): Declare.
5984         * sh.c (sh_loop_align): Define.
5985
5986 2000-02-22  Andrew Haley  <aph@cygnus.com>
5987
5988         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
5989         (SIZE_TYPE): Is 32 bits when using -mgp32.
5990         (PTRDIFF_TYPE): Ditto.
5991
5992 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5993
5994         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
5995
5996 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5997
5998         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
5999         BIGGEST_FIELD_ALIGNMENT a constant.
6000
6001 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
6002
6003         * dwarf2out.c (output_line_info): Put the marker for the end of
6004         the line number info at the actual end.
6005         (gen_struct_or_union_type_die): Use decl_function_context 
6006         to check for local classes.
6007         * dwarfout.c (output_type): Likewise.
6008
6009 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
6010
6011         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6012         for arguments with a mode, but no type.
6013         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6014         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6015         * pa/long_double.h: New file.
6016         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6017         both have 128bit wide long doubles.
6018         * configure: Rebuilt.
6019
6020 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6021
6022         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6023
6024         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6025         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6026         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6027
6028         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6029
6030         * integrate.c (compare_blocks, find_block): Likewise.
6031
6032         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6033
6034         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6035
6036         * stmt.c (stmt_status, set_file_and_line_for_stmt,
6037         expand_asm_operands): Likewise.
6038
6039 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
6040
6041         * predict.c (estimate_probability): Added the pointer heuristic to
6042         the collection of static branch predictors.
6043
6044 2000-02-21  Catherine Moore  <clm@cygnus.com>
6045
6046         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6047         * invoke.texi (-mfix7000): Document.
6048
6049 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
6050
6051         * diagnostic.c (init_output_buffer): Make it possible to output at
6052         least 32 characters if we're given a too long prefix.
6053
6054 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
6055
6056         * varasm.c (initializer_constant_valid_p): Call
6057         lang_expand_constant to simplify the constant.
6058
6059 2000-02-20  Bruce Korb  <bkorb@gnu.org>
6060
6061         * fixinc/inclhack.def(stdio_va_list):
6062         typedef needs to be disabled.
6063         * fixinc/inclhack.sh: regen
6064         * fixinc/fixincl.x: regen
6065
6066 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
6067
6068         * print-rtl.c (print_rtx): Don't print addresses when
6069         flag_dump_unnumbered.
6070
6071 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6072
6073         * sparc.c (sparc_output_scratch_registers): Mark parameter with
6074         ATTRIBUTE_UNUSED.
6075         (sparc_va_arg, sparc_flat_output_function_prologue,
6076         sparc_flat_output_function_epilogue): Cast value to unsigned in
6077         comparison.
6078         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6079         
6080         * sparc.md: Add default case in switch.
6081
6082 2000-02-19  Richard Henderson  <rth@cygnus.com>
6083
6084         * c-typeck.c (add_pending_init): Don't abort for multiple
6085         fields at the same offset.
6086         (pending_init_member): Test the correct member.
6087
6088 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6089
6090         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6091         instead of SImode.
6092         (start_catch_handler) : Same.
6093
6094 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
6095
6096         * Makefile.in: Have flow.o depend on $(EXPR_H)
6097
6098 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6099
6100         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6101         * c-decl.c (duplicate_decls, finish_enum): Likewise.
6102         (finish_decl): Remove -Wlarger-than code from here.
6103         * flags.h (id_clash_len): Now int.
6104         (larger_than_size): Now HOST_WIDE_INT.
6105         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6106         Clean up checking to see if in table.
6107         (make_bit_field_ref): Remove extra parm to bitsize_int.
6108         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6109         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6110         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6111         and for computing size of decl.
6112         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6113         Move -Wlarger-than code to here.
6114         (layout_record): Remove extra arg to bitsize_int.
6115         Set TYPE_BINFO_SIZE_UNIT.
6116         (layout_union): Remove extra arg to bitsize_int.
6117         Use proper type for size of QUAL_UNION.
6118         (layout_type): Remove extra arg to bitsize_int.
6119         * toplev.c (id_clash_len): Now int.
6120         (larger_than_size): Now HOST_WIDE_INT.
6121         (decode_W_option): Clean up id-clash and larger-than- cases.
6122         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6123         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6124         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6125         (struct tree_decl): New field size_unit.
6126         (size_int_wide): No HIGH operand; NUMBER is now signed.
6127         (size_int_2): Deleted.
6128         (size_int, bitsize_int): Don't use it and rework args.
6129         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6130
6131 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
6132
6133         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6134
6135 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6136
6137         * invoke.texi (Warning Options): Add an explanation of why
6138         you might want the -Wfloat-equal flag.
6139
6140 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6141
6142         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6143         * cppinit.c (new_pending_define): Add cast to avoid warning.
6144         * expmed.c (extract_bit_field): Likewise.
6145         * flow.c (enum reorder_skip_type): New type.
6146         (skip_insns_between_blcok): New it.
6147         Rework to avoid warning about possibly undefined variable.
6148         * function.c (assign_parms): Make thisparm_boundary unsigned.
6149         * genrecog.c (write_switch): Cast XWINT result to int.
6150         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6151         * mips-tfile.c (init_file): Make two versions of FDR intializer:
6152         one for MIPS and one for Alpha.
6153         (get_tag, copy_object): Add casts to avoid warnings.
6154         * optabs.c (init_one_libfunc): Cast NAME to (char *).
6155         * reload.c (find_reloads): Make TYPE enum reload_type.
6156         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6157         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6158         * varasm.c (compare_constant_1): Add cast to avoid warning.
6159         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6160         to (char *).
6161         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6162         Cast switch operand of size to int.
6163         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6164         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6165         in unhandled case.
6166
6167 2000-02-18  Nick Clifton  <nickc@cygnus.com>
6168
6169         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6170         anything for an alignment of zero.
6171
6172         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6173         anything for an alignment of zero.
6174
6175 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6176
6177         * gcc.texi (Bug Reporting): Refer to bugs.html.
6178         (Bug Lists): Likewise.
6179         * system.h (GCCBUGURL): New preprocessor define.
6180         * rtl.c (fancy_abort): Use it.
6181         * gcc.c (main): Likewise.
6182
6183 2000-02-18  Richard Henderson  <rth@cygnus.com>
6184
6185         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6186         (life_analysis_1): Subsume into ...
6187         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
6188         Use update_life_info for the relaxation.
6189         (update_life_info): Update REG_BASIC_BLOCK for registers live on
6190         entry and regs_live_at_setjmp.
6191         (set_noop_p): Simplify.
6192         (notice_stack_pointer_modification_1): Renamed from s/_1//.
6193         (record_volatile_insns): Split into ...
6194         (delete_noop_moves): ... here,
6195         (notice_stack_pointer_modification): ... here,
6196         (insn_dead_p): ... and here.
6197         (propagate_block): Don't query INSN_VOLATILE.
6198         (mark_used_regs): Mind !PROP_REG_INFO.
6199         * toplev.c (rest_of_compilation): Call mark_constant_function here,
6200         not in life_analysis.
6201
6202 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
6203
6204         * loop.c (canonicalize_condition): New function,
6205         broken out of get_condition.
6206         (get_condition): Use it.
6207         * expr.h (canonicalize_condition): Prototype it.
6208
6209         * tree.h (tree_int_cst_msb): Declare.
6210         * tree.c (tree_int_cst_msb): New function.
6211
6212 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6213
6214         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6215         isn't set.
6216
6217         * invoke.texi (-fmessage-length=n): Document.
6218
6219 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
6220
6221         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6222
6223 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6224
6225         * function.c (thread_prologue_and_epilogue_insns): Put a line note
6226         after the prologue.
6227
6228 2000-02-17  Nick Clifton  <nickc@cygnus.com>
6229
6230         * config/arm/thumb.c: Replace includes of system headers with
6231         #include "system.h".
6232
6233 2000-02-16  Richard Henderson  <rth@cygnus.com>
6234
6235         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6236         Add crtbeginS.o and crtendS.o.
6237         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6238         (ENDFILE_SPEC): Use crtendS.o.
6239         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6240
6241         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6242         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
6243         shared and present.
6244         (__dso_handle): New variable.
6245         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6246         bias to __CTOR_END__.
6247         
6248 2000-02-16  Richard Henderson  <rth@cygnus.com>
6249
6250         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6251
6252 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6253
6254         * longlong.h (__clz_tab): Declare as static to match definition.
6255
6256 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6257         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6258         (XREF_FILE_NAME): Define.
6259
6260         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6261         (EH_FRAME_SECTION_ASM_OP): Define.
6262         (IDENT_ASM_OP): Define.
6263         (TEXT_SECTION_ASM_OP): Define.
6264         (CPP_SPEC): Define.
6265         (CTORS_SECTION_ASM_OP): Define.
6266         (CTOR_SECTION_FUNCTION): Use it.
6267         (DTORS_SECTION_ASM_OP): Define.
6268         (DTOR_SECTION_FUNCTION): Use it.
6269
6270 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
6271
6272         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6273         NOTE_BASIC_BLOCK.
6274
6275         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6276         debug_bb_n): New functions.
6277         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6278         * basic-block.h: Prototype new functions.
6279
6280 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
6281
6282         * configure.in: Add support for avr target.
6283         * configure: Rebuilt.
6284
6285         * invoke.texi: Add AVR invocation docs.
6286         * install.texi: Add information about AVR.
6287         * md.texi: Add AVR constraint letters description.
6288         * extend.texi: Add description for AVR specific attributes.
6289
6290 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
6291
6292         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6293
6294 2000-02-16  Nick Clifton  <nickc@cygnus.com>
6295
6296         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6297         (make_insn_raw): Move RTL check here.
6298
6299 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6300
6301         * version.c: Include gansidecl.h and version.h.
6302
6303         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6304         
6305         * configure.in (gcc_version): When setting, narrow search to
6306         lines containing `version_string'.
6307
6308         * Makefile.in (mainversion): Likewise. 
6309         (GCC_H): New variable.
6310         (gcc.h): Delete target.
6311         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6312         (version.o): Depend on version.h.
6313         (dbxout.o): Don't depend on gcc.h.
6314
6315 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6316                           Michael Meissner  <meissner@cygnus.com>
6317
6318         * md.texi (Simple Constraints): Add item about whitespace.
6319         * genoutput.c (strip_whitespace): New.
6320         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6321         strip_whitespace for constraints.
6322         Test pointer using NULL, not 0.
6323
6324 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6325
6326         * cpplib.c (do_line): Pedwarn for #line > 32767.
6327
6328         * c-lex.c (readescape): Warn about '\x', but do not reject it.
6329
6330 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
6331
6332         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6333         to default cpp spec.
6334         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6335         * cpp.texi: Document __GNUC_PATCHLEVEL__.
6336         * cpp.1: Likewise.
6337
6338         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6339         default spec.
6340
6341 2000-02-15  Denis Chertykov  <denisc@overta.ru>
6342
6343         * configure.in: Add support for avr target.
6344
6345 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6346
6347         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6348         (sh_addr_diff_vec_mode): Don't declare.
6349         * sh.c (sh_addr_diff_vec_mode): Delete.
6350
6351 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6352
6353         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6354
6355 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6356
6357         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6358         (smulsi3_highpart_i): Name.
6359         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6360         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6361         (smulsi3_highpart, umulsi3_highpart): Likewise.
6362
6363         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6364         correctly independent of endianness.
6365         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
6366         confuse the optimizers.
6367         (mulsidi3+1, umulsidi3+1): New define_split.
6368
6369 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
6370
6371         * config/sh/sh.md: Guard insn splits against illegal registers.
6372         * config/sh/sh.h: Correct comment about macros.
6373
6374 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6375                           Andrew MacLeod  <amacleod@cygnus.com>
6376
6377         * Makefile.in (lcm.o): Depend on insn-attr.h.
6378         * basic-block.h (optimize_mode_switching): Declare.
6379         * lcm.c (tm_p.h, insn-attr.h): #include.
6380         (seginfo, bb_info): New structs.
6381         (antic, transp, comp, delete, insert) : New file-scope static variables.
6382         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6383         (reg_becomes_live, optimize_mode_switching): Likewise.
6384         * tm.texi: Add description of mode switching macros.
6385         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6386
6387         * sh-protos.h (remove_dead_before_cse): Remove prototype.
6388         (fldi_ok, fpscr_set_from_mem): New prototypes.
6389         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6390         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6391         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6392         (sh_flag_remove_dead_before_cse): Remove declaration.
6393         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6394         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6395         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6396         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6397         (barrier_align): Allow for JUMP_INSNS containing a parallel.
6398         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6399         (fldi_ok): New function.
6400         (get_fpscr_rtx): Add fpscr_rtx as GC root.
6401         (emit_sf_insn): Only generate fpu switches when optimize < 1.
6402         (emit_df_insn): Likewise.
6403         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6404         (sh_flag_remove_dead_before_cse): Delete.
6405         (get_free_reg, fpscr_set_from_mem): New functions.
6406         * sh.md (movdf, movsf): Remove no_new_pseudos code.
6407         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6408
6409 2000-02-15  Loren Rittle  <ljrittle@acm.org>
6410
6411         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6412
6413 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6414
6415         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6416         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6417
6418         * cccp.c: Include version.h and/or don't declare `version_string'.
6419         * collect2.c: Likewise.
6420         * alpha.c: Likewise.
6421         * arm/aof.h: Likewise.
6422         * arm/coff.h: Likewise.
6423         * arm/elf.h: Likewise.
6424         * arm/pe.h: Likewise.
6425         * arm/tcoff.h: Likewise.
6426         * arm/telf.h: Likewise.
6427         * arm/tpe.h: Likewise.
6428         * arm/vxarm.h: Likewise.
6429         * convex/convex.c: Likewise.
6430         * i386/dgux.c: Likewise.
6431         * i386/sun386.h: Likewise.
6432         * m88k/m88k.c: Likewise.
6433         * mcore/mcore-pe.h: Likewise.
6434         * mips/mips.h: Likewise.
6435         * romp/romp.h: Likewise.
6436         * sh/sh.c: Likewise.
6437         * cpphash.c: Likewise.
6438         * cppinit.c: Likewise.
6439         * dwarf2out.c: Likewise.
6440         * dwarfout.c: Likewise.
6441         * gcc.c: Likewise.
6442         * gcc.h: Likewise.
6443         * mips-tfile.c: Likewise.
6444         * protoize.c: Likewise.
6445         * toplev.c: Likewise.
6446         * tree.h: Likewise.
6447         
6448         * version.c (version_string): Constify a char*.
6449
6450         * version.h: New file.
6451
6452 2000-02-14  Nick Clifton  <nickc@cygnus.com>
6453
6454         * configure.in: Add mcore-elf and mcore-pe targets.
6455         * configure: Regenerate.
6456
6457         * NEWS: Add note that MCore port has been contributed.
6458
6459         * invoke.texi: Document command line switches for MCore port.
6460         * install.texi: Add MCore to list of supported targets.
6461
6462 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
6463
6464         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6465         then we will need to import the frame handling functions.
6466         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6467         to import the frames themselves.
6468
6469 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
6470                           Jason Eckhardt  <jle@cygnus.com>
6471
6472         * basic_block.h: Added prototype for reorder_basic_blocks.
6473         * toplev.c: Changes to add -freorder-blocks and graph dump after
6474         block reordering is done.
6475         * flow.c (reorder_block_def): New structure for use during block
6476         reordering.
6477         (REORDER_BLOCK_*): New macros to access members of above structure.
6478         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6479         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6480         functions for block reordering.
6481
6482 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6483
6484         * gcc.texi (Passes): Fix typo.
6485         * md.texi (Standard Names): Ditto.
6486         * tm.texi (Storage Layout): Ditto.
6487
6488 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6489
6490         * cpplib.c (do_define): Only free the old definition if it
6491         actually had one.
6492
6493 2000-02-13   Neil Booth  <NeilB@earthling.net>
6494
6495         * cppfiles.c (read_and_prescan): When emitting deferred
6496         newlines, test speccase[] again instead of checking each
6497         possible whitespace character in turn.  When we encounter \r,
6498         look behind for \n first, then ahead.
6499
6500 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6501
6502         * cse.c (cse_altered): New internal flag.
6503         (cse_insn): Set it if we changed an insn.
6504         (cse_main): Clear cse_altered before each basic block.
6505         Only garbage collect if cse_altered is true afterward.
6506
6507 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6508
6509         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6510
6511 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
6512
6513         * combine.c (simplify_comparison): Fix typo.
6514
6515 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
6516
6517         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6518         consistently.
6519
6520 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6521
6522         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6523         previously inserted node instead of root node.  Caller changed.
6524
6525 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6526
6527         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6528
6529 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6530
6531         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6532         __dereg_frame_dtor): Add prototype argument.
6533
6534         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6535
6536         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6537
6538         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6539
6540         * gthr-vxworks.h (__gthread_once): Likewise.
6541
6542         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6543
6544 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
6545
6546         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6547         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6548         stack pointer in functions w/o saved registers, output LEAVE more often
6549         on TARGET_USE_LEAVE machines.
6550
6551 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6552
6553         * config/arm/arm.c (arm_init_cumulative_args); New function:
6554         Initlaise the CUMULATIE_ARGS strcuture for a function
6555         defintion. 
6556         (arm_function_arg): New function: Determine where to place a
6557         function's argument.  Also handles deciding the function's
6558         call cookie.
6559         (current_file_function_operand): New function: Return true if
6560         the symbol is a function which has already been compiled.
6561         (arm_is_long_call_p): New function: Return true if the
6562         indicated function should be called via a long call.
6563         (arm_valid_type_attribute_p): New function: Return true if the
6564         attribute is a valid, arm specific, attribute.
6565         (arm_comp_type_attribute): New function: Return true if the
6566         two types have compatable, arm specific, attributes.
6567
6568         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6569         structure.
6570         (FUNCTION_ARG): Redefine to call arm_function_arg.
6571         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6572         structure field.
6573         (INIT_CUMULATIVE_ARGS): Redefine to call
6574         arm_init_cumulative_args.
6575         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6576         field. 
6577         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
6578         field. 
6579         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6580         functions.
6581         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6582         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6583         (COMP_TYPE_ATTRIBUTES): Define.
6584
6585         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6586         if a long call is needed.
6587         (call_value): Call arm_is_long_call_p to decide if a long call
6588         is needed.
6589         (call_symbol): Call arm_is_long_call_p to decide if a long call
6590         is needed.
6591
6592         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6593
6594 2000-02-11  Denis Chertykov  <denisc@overta.ru>
6595
6596         * README.AVR: New file with information about the avr ports.
6597         * config/avr: New directory with avr port files.
6598
6599 2000-02-11  Andreas Jaeger  <aj@suse.de>
6600
6601         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6602
6603 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
6604
6605         * cpphash.c: Fix formatting, update commentary.
6606         (dump_definition): Take three separate arguments instead of a
6607         MACRODEF structure argument.
6608         * cpphash.h: Update prototype of dump_definition.
6609         * cppinit.c (cpp_finish): Update call of dump_definition.
6610
6611         * cpplib.c (do_define): Always create new hash entry with
6612         T_MACRO type.  Remove redundant check for redefinition of
6613         poisoned identifier.  Update call of dump_definition.
6614         (do_undef): Don't call check_macro_name.  Rename sym_length to
6615         len.
6616         (do_error, do_warning): Don't use copy_rest_of_line or
6617         SKIP_WHITE_SPACE.
6618         (do_warning): Don't use pedwarn for the actual warning,
6619         only the notice about its not being in the standard.  (Fixes
6620         bug with #warning in system headers.)
6621         (do_ident): Stricter argument checking - accept only a single
6622         string after #ident.  Also, macro-expand the line.
6623         (do_xifdef): Use cpp_defined.  De-obfuscate.
6624
6625         (do_pragma): Split out specific pragma handling to separate
6626         functions.  Use get_directive_token.  Update commentary.  Do
6627         not pass on #pragma once or #pragma poison to the front end.
6628         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6629         do_pragma_default): New.
6630
6631 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
6632
6633         * jump.c (jump_optimize_1): The first operand in a relational
6634         can be a CONST_INT.
6635         * optabs.c (emit_conditional_move): Handle relationals which
6636         have a known true/false result.
6637
6638 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6639
6640         * function.c (thread_prologue_and_epilogue_insns): Don't insert
6641         a RETURN insn into a block which already ends with a jump.
6642
6643 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6644
6645         * haifa-sched.c (BUF_LEN): Increase a lot.
6646
6647 2000-02-11  Nick Clifton  <nickc@cygnus.com>
6648
6649         * configure.in: Add tm_p_file specification for thumb targets.
6650         * configure: Regenerate.
6651
6652         * config/arm/thumb-protos.h: New file: Prototypes for exported
6653         functions defined in thumb.c.
6654
6655 2000-02-11  Robert Lipe  <robertl@sco.com>
6656
6657         * Makefile.in (bootstrap-lean): Remove additional files.
6658         (bootstrap2-lean): Likewise.
6659         (VOL_FILES): List of files for above.
6660
6661 2000-02-11  Nathan Sidwell  <nathan@acm.org>
6662
6663         * cpphash.c (special_symbol): Remove spurious argument to
6664         cpp_lookup.
6665
6666 2000-02-11  Joel Sherrill (joel@OARcorp.com>
6667
6668         * configure.in: (i*86-*-rtems*): Swapped elf and coff
6669         stanzas.
6670         * configure: Rebuilt.
6671
6672 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
6673         
6674         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6675
6676 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
6677
6678         * pa.c, pa.h: Remove trigraph sequences within comments.
6679
6680 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
6681
6682         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6683
6684 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
6685
6686         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6687
6688 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6689         
6690         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6691
6692 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6693
6694         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6695         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6696         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6697         (ASM_FILE_END): Use c4x_file_end.
6698         * config/c4x/c4x.c (c4x_global_label): New function.
6699         (c4x_external_ref, c4x_file_end): Likewise.
6700
6701         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6702         (c4x_external_ref, c4x_end_file): Likewise.
6703
6704 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
6705
6706         * cppexp.c: Don't include cpphash.h.
6707         (parse_charconst, cpp_lex): Use cpp_defined.
6708         (cpp_lex): Use get_directive_token throughout.  Remove
6709         unnecessary cases from switch.  Move assertion-handling code
6710         down to OTHER case.
6711         (cpp_parse_expr): If we see '+' or '-', check the context to
6712         determine if they are unary or binary operators.  Streamline
6713         the jumps a bit.  Do not call skip_rest_of_line.
6714
6715         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6716         static.  Export get_directive_token.  Update commentary.
6717         (cpp_defined): New function.
6718         (do_define): Remove reference to T_PCSTRING.  Call
6719         free_definition to release memory for old definition, when
6720         redefining a macro.
6721         (eval_if_expression): Set only_seen_white to 0 before calling
6722         cpp_parse_expr.  Call skip_rest_of_line after it returns.
6723         (cpp_read_check_assertion): Don't preserve a pointer into the
6724         token buffer across a call to cpp_get_token.
6725
6726         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6727         * cppfiles.c (redundant_include_p): Use cpp_defined.
6728         * cpphash.c (free_definition): New function.
6729         (delete_macro): Use it.  Update commentary.
6730         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
6731         free_definition.
6732         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6733         from enum node_type.  Prototype cpp_defined and get_directive_token.
6734         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6735
6736         * fix-header.c (check_macro_names): Use cpp_defined.
6737         (read_scan_file): Set inhibit_warnings and inhibit_errors in
6738         the options structure.
6739
6740 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6741
6742         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6743
6744 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
6745
6746         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6747         rather than die->die_tag.
6748
6749 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6750
6751         * combine.c (make_extraction, force_to_mode): Avoid warning on
6752         mixed-signedness conditionals.
6753         (make_field_assignment, nonzero_bits): Likewise.
6754         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6755         (store_split_bit_field, extract_split_bit_field): Likewise.
6756         (extract_fixed_bit_field, store_bit_field, 
6757         * expr.c: Change alignment to be unsigned everywhere.
6758         (move_by_pieces, store_constructor_field, store_constructor): 
6759         Alignment parm is unsigned.
6760         (emit_block_move, emit_group_load, emit_group_store): Likewise.
6761         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6762         (do_compare_rtx_and_jump): Likewise.
6763         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6764         Compare align with GET_MODE_ALIGNMENT.
6765         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6766         (get_inner_reference): Likewise.
6767         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6768         (expand_assignment): Local vars for alignment now unsigned.
6769         (store_constructor, store_field, expand_expr, do_jump): Likewise.
6770         (do_compare_and_jump): Likewise.
6771         (store_field): Call new function expr_align.
6772         * expr.h (emit_block_move, emit_group_load, emit_group_store):
6773         Alignment arg now unsigned.
6774         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6775         (do_compare_rtx_and_jump, store_bit_field): Likewise.
6776         (extract_bit_field): Likewise.
6777         * fold-const.c (add_double): Add cast to eliminate signedness warning.
6778         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6779         (get_best_mode): Alignment arg is unsigned.
6780         * rtl.h (move_by_pieces): Likewise.
6781         * store-layout.c (maximum_field_alignment, set_alignment):
6782         Now unsigned.
6783         (layout_decl): Alignment arg is now unsigned.
6784         Remove unneeded casts.
6785         (layout_record, layout_union, layout_type): Remove unneeded casts.
6786         Local alignment variables now unsigned.
6787         (get_best_mode): Alignment arg now unsigned.
6788         * tree.c (expr_align): New function.
6789         * tree.h (expr_align): Likewise.
6790         (maximum_field_alignment, set_alignment): Now unsigned.
6791         (get_inner_reference): Alignment argument is now pointer to unsigned.
6792         * varasm.c (assemble_variable): Add cast to eliminate warning.
6793
6794 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
6795
6796         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6797         then store directly into op0.
6798
6799         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6800         the CALL_INSN, and emit the note immediately after it.
6801
6802 2000-02-10  Nick Clifton  <nickc@cygnus.com>
6803
6804         * config/arm/thumb.md (epilogue): Include a (return) in the
6805         generated insn, and emit it using emit_jump_insn not
6806         emit_insn. 
6807
6808 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
6809
6810         * function.c (assign_temp): Change zero-sized arrays to size 1.
6811         * integrate.c (expand_inline_function): Do not update
6812         stack_alignment_needed
6813         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6814         add some sanity checking, remove optimization for function with
6815         zero frame size.
6816
6817 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6818
6819         * flow.c (mark_regs_live_at_end): Delete unused variables.
6820
6821         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6822
6823         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6824         in macro FRAME_GROWS_DOWNWARD.
6825
6826         * stmt.c (expand_end_bindings): Delete unused variable.
6827
6828         * unroll.c (iteration_info): Mark parameter `loop' with
6829         ATTRIBUTE_UNUSED.
6830
6831 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6832
6833         * fixinc/server.c (load_data): Return NULL if the marker line is
6834         not found.
6835         (run_shell): If load_data returns NULL, retry the command once, in
6836         a new shell.
6837
6838         * configure: Rebuilt.
6839
6840 2000-02-09  Bruce Korb  <bkorb@gnu.org>
6841
6842         * gcc/fixincludes:  ** DELETED **
6843         * gcc/fixcpp:  ** DELETED **
6844         * gcc/fixinc-nt.sed:  ** DELETED **
6845         * gcc/just-fixinc:  ** DELETED **
6846         * gcc/Makefile.in:  Removed out-dated commentary
6847         * gcc/configure.in: Removed fast-fixincludes disablement.
6848         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6849
6850 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6851         * function.c (thread_prologue_and_epilogue_insns): Uncomment
6852         last change.
6853
6854 2000-02-09  Richard Henderson  <rth@cygnus.com>
6855
6856         * jump.c (delete_insn): Don't delete user labels at -O0.
6857
6858 2000-02-09  Robert Lipe  <robertl@sco.com>
6859
6860         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6861         Don't link with HOST_LIBS. 
6862
6863 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6864
6865         * configure.in: Correct --help text for --with-dwarf2.
6866         Put tm-dwarf2.h after other tm files, if it's requested.
6867         * configure: Regenerate.
6868         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
6869         defining it.
6870
6871 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6872
6873         * cpplib.h: Provide HASHNODE typedef and forward decl of
6874         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
6875         DEFINITION, struct hashnode, struct macrodef, struct
6876         definition, scan_decls prototype, default defn of
6877         INCLUDE_LEN_FUDGE moved elsewhere.
6878
6879         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
6880         definition, and struct hashnode moved here. Remove the unused
6881         'predefined' field from struct definition.  Replace the 'args'
6882         union with its sole member.  All users updated (cpphash.c).
6883         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
6884         multiple include guard.
6885
6886         * cpphash.c (hashf): Make static; use better algorithm; drop
6887         HASHSIZE parameter; return an unsigned int.
6888         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
6889         used. Calculate HASHSIZE modulus here.
6890         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
6891         here.
6892         (create_definition): Drop PREDEFINITION parameter.
6893         * cpplib.c (do_define): Don't calculate a hash value here.
6894         Don't pass (keyword == NULL) to create_definition.
6895
6896         * scan.h: Prototype scan_decls here.
6897         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
6898         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
6899         callers of cpp_lookup and cpp_install updated.
6900         
6901         * cpphash.c (macarg): Hoist all the flag diddling out of the
6902         function...
6903         (macroexpand): ... and out of the loop that calls macarg.
6904         Skip over the initial paren before macro arguments with
6905         cpp_get_non_space_token; point may be some distance before
6906         that paren.  Abort if it's not there.
6907
6908         * cpplib.c (parse_clear_mark): Delete function.
6909         (parse_set_mark, parse_goto_mark): Make static.
6910         (ACTIVE_MARK_P): New macro.
6911         (skip_block_comment, skip_line_comment): Do not bump the line
6912         if ACTIVE_MARK_P is true.
6913         (cpp_pop_buffer): The buffer to be popped may not have an
6914         active mark.
6915         (cpp_get_token): When looking for the initial paren before
6916         macro arguments, only set a mark in a file buffer, Always
6917         return to that mark before proceeding to call macroexpand or
6918         return a NAME token.
6919
6920         * cpplib.h: Remove prototypes of parse_set_mark,
6921         parse_clear_mark, parse_goto_mark.
6922         (struct cpp_options): Rename 'put_out_comments' to
6923         'discard_comments' and invert its sense.
6924         * cppinit.c, cpphash.c, cpplib.c: All users of
6925         put_out_comments changed to use discard_comments, with
6926         opposite sense.
6927
6928 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6929
6930         * function.c (thread_prologue_and_epilogue_insns): Don't delete
6931         the edge from a block that both jumps and falls through to the
6932         fallthru block.
6933
6934 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
6935
6936         * config/arm/arm.md (movsi): In PIC mode, make sure that a
6937         constant source address is legitimate.
6938
6939 2000-02-09  Philip Blundell  <pb@futuretv.com>
6940
6941         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
6942         correctly.
6943
6944         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
6945         generating PIC.
6946         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
6947
6948 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6949
6950         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
6951         ends with a newline and a NUL.  Don't be so clever manipulating
6952         strings.
6953
6954 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
6955
6956         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
6957         not to BIGGEST_ALIGNMENT.
6958
6959 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
6960
6961         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
6962         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
6963         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
6964         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
6965         * frame.c (execute_cfa_insn): Handle 
6966         DW_CFA_GNU_negative_offset_extended.
6967
6968 2000-02-08  Richard Henderson  <rth@cygnus.com>
6969
6970         * flow.c (tidy_fallthru_edges): Split out from ...
6971         (delete_unreachable_blocks): ... here.
6972         (find_basic_blocks): Use it.
6973
6974 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6975
6976         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
6977
6978 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
6979
6980         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
6981         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
6982         (fix-header.o): Don't depend on cpphash.h.
6983
6984         * scan.c (hashstr): New function. 
6985         * scan.h: Prototype it.
6986         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
6987         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
6988         hashstr.  Report hash table statistics.  Add private     
6989         definition of xrealloc.
6990
6991 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6992
6993         * i386.h (TARGET_SWITCHES): Fix typo in option name.
6994
6995 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
6996
6997         * function.c (thread_prologue_and_epilogue_insns): Don't replace
6998         jumps with returns unless they are jumps to the fallthru block.
6999
7000 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
7001
7002         * i386.md (addqi3_cc): Fix contraints.
7003
7004 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7005
7006         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7007
7008 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
7009
7010         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7011         carriage return after a macro name.
7012
7013 2000-02-07  Fred Fish  <fnf@be.com>
7014
7015         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7016         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7017
7018 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
7019
7020         * cppfiles.c (deps_output): Count spacers in deps_column.
7021
7022 2000-02-07  Neil Booth  <NeilB@earthling.net>
7023
7024         * cppinit.c (initialize_dependency_output): If there is no
7025         suffix, don't try to look for known suffixes.  Use strrchr.
7026         (cpp_start_read): Remove duplicate initialization.
7027
7028 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
7029
7030         * calls.c (compute_argument_block_size): New argument
7031         preferred_stack_boundary.
7032         (expand_call): update cfun->preferred_stack_boundary, update call of
7033         compute_argument_block_size
7034         (emit_library_call): Increate cfun->preferred_stack_boundary
7035         to PREFERRED_STACK_BOUNDARY
7036         (emit_library_call_value): Likewise.
7037         * explow.c (allocate_dynamic_stack_spave): Likewise.
7038         * function.c (prepare_function_start): Set
7039         cfun->preferred_stack_boundary
7040         * function.h (struct function): Add preferred_stack_boundary field.
7041         * integrate.c (expand_inline_function): Update
7042         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7043         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7044         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7045
7046 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
7047
7048         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7049         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7050         cpp_pedwarn, cpp_pedwarn_with_line,
7051         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7052         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7053         v_cpp_error_with_line, v_cpp_warning_with_line,
7054         cpp_message_from_errno, cpp_perror_with_name): Delete.
7055
7056         * cpperror.c (cpp_print_containing_files): Take starting
7057         buffer as argument.
7058         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7059         (v_cpp_message): Now called directly by all entry points.
7060         Remove -1 case.
7061         (cpp_pfatal_with_name, cpp_message): Delete.
7062         (cpp_notice_from_errno, cpp_ice): New functions.
7063         (cpp_notice): Is now for reporting error conditions, just
7064         without an associated file.
7065         (cpp_error, cpp_error_with_line): Don't do anything if
7066         opts->inhibit_errors is on.
7067         (cpp_pedwarn_with_file_and_line): Take column argument also.
7068
7069         * cpplib.h: Update prototypes of exported functions.
7070         (struct cpp_options): Add inhibit_errors.
7071
7072         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7073         non-error messages.  Include intl.h.
7074
7075         * cppinit.c, cppmain.c: Likewise.  Also, use
7076         cpp_notice_from_errno instead of cpp_perror_with_name or
7077         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7078
7079         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7080         report internal errors.
7081
7082         * cpplib.c (do_define): Switch bcopy to memcpy.
7083         Give cpp_pedwarn_with_file_and_line a dummy column argument.
7084
7085         * cpplib.c (copy_rest_of_line): Revert previous change: don't
7086         bail out early if we hit a line comment.
7087
7088 2000-02-06  Richard Henderson  <rth@cygnus.com>
7089
7090         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7091         * basic-block.h: Declare them.
7092         * emit-rtl.h (active_insn_p): New.
7093         (next_active_insn, prev_active_insn): Use it.
7094         * rtl.h: Declare it.
7095         * function.c (emit_return_into_block): New.
7096         (thread_prologue_and_epilogue_insns): Insert return insns instead
7097         of epilogues when possible.
7098         * jump.c (jump_optimize_1): Remove code to insert a return insn
7099         on the fallthru to the exit block.
7100
7101         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7102         and for non-empty stack frames.
7103         * i386.md (return): Expand to return-pop as needed.
7104
7105 2000-02-06  Richard Henderson  <rth@cygnus.com>
7106
7107         * simplify-rtx.c (simplify_relational_operation): Canonicalize
7108         constant to op1 for testing.
7109
7110 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7111
7112         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7113         (fixuns_truncqfqi2): Use it.
7114
7115 2000-02-06  Richard Henderson  <rth@cygnus.com>
7116
7117         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7118         as a TYPE_LEA insn.
7119
7120         * i386.md (widening and peepholes): Mask the constant instead of
7121         using gen_lowpart.
7122
7123 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7124
7125         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7126         input pointer before possibly branching off to the backslash
7127         code.
7128         * cpphash.c (macroexpand): Correctly delete \r escapes when
7129         stringifying parameters.
7130         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7131         if we can; bail out early if we hit a line comment.
7132         (handle_directive): Treat '# 123' in an .S file just like
7133         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
7134         Return 1 for '# not_a_directive'.
7135         (get_directive_token): Pop macro buffers here, so that
7136         cpp_get_token can't sneakily move past a newline.
7137         Add sanity checks. 
7138         (cpp_get_token): goto randomchar if handle_directive returns 0.
7139
7140         * cppalloc.c: Update copyright.
7141         * cpplib.c: Merge all the static function prototypes into one
7142         block.
7143         * cpplib.h: Remove #if 0 block.
7144
7145         * cpperror.c: Remove #ifdef EMACS block.
7146         * cppmain.c: Likewise.
7147         * cpphash.c: Remove #if 0 blocks.
7148         * cppinit.c: Remove #if 0 blocks, and the -lint option.
7149         * cpplib.c: Remove #if 0 blocks and code referencing
7150         pcp_inside_if or for_lint.  Remove duplicate error message.
7151         Fix error messages for #else after #else or #elif.  Reformat.
7152         Remove archaic TODO list.
7153         * cpplib.h: Remove pcp_inside_if and for_lint flags.
7154
7155 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7156
7157         * i386/osf1elf.h: Add missing backslash to multiline string.
7158
7159 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7160
7161         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7162
7163 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7164
7165         * Makefile.in (c-common.o): Depend on $(EXPR_H).
7166
7167         * c-common.c: Include expr.h.
7168
7169         * c-pragma.c (mark_align_stack): Add prototype.
7170
7171         * caller-save.c (add_stored_regs): Likewise.
7172
7173         * combine.c (record_promoted_value): Likewise.
7174
7175         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7176         Likewise.
7177
7178         * cppinit.c (new_pending_define): Likewise.
7179
7180         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7181
7182         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7183         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7184         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7185         class_scope_p): Likewise.
7186
7187         * dwarf2out.h (dwarf2out_set_demangle_name_func,
7188         dwarf2out_add_library_unit_info): Likewise.
7189
7190         * ggc.h (ggc_page_print_statistics): Likewise.
7191
7192         * haifa-sched.c (propagate_deps): Likewise.
7193
7194         * reg-stack.c (next_flags_user, record_label_references): Likewise.
7195
7196         * rtl.h (set_stack_check_libfunc): Likewise.
7197
7198         * toplev.h (set_fatal_function): Likewise.
7199
7200         * toplev.c (set_fatal_function): Delete prototype.
7201         
7202         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7203         
7204 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7205
7206         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7207         (FUNC_END): Likewise.
7208
7209 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7210
7211         * caller-save.c: Include tm_p.h.
7212
7213 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7214
7215         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7216
7217 2000-02-04  Neil Booth  <NeilB@earthling.net>
7218
7219         * cccp.c (main): Check 'dir' for a NULL pointer before passing
7220         it to strcmp.
7221
7222 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
7223
7224         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7225         * genflags.c: Use the max_operand_1 logic from genemit.c to
7226         calculate how many arguments gen_insn prototypes have.  Remove
7227         NO_MD_PROTOTYPES ifdefs from the generated file.
7228         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7229         file.  Cast gen_insn initializers to insn_gen_fn.
7230         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7231         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7232
7233 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7234
7235         * fixinc/Makefile.in (HDR): Add machname.h.
7236         (clean): Likewise.
7237
7238 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7239
7240         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7241         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7242         (c4x_cpu_version): Ditto.
7243         * config/c4x/c4x-protos.h: ... here.
7244
7245 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
7246
7247         * dwarf2out.c (add_abstract_origin_attribute): Don't call
7248         gen_abstract_function on our context if we're a nested function.
7249
7250 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7251
7252         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7253         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7254
7255 2000-02-04  Bruce Korb  <bkorb@gnu.org>
7256
7257         * fixinc/genfixes(machname.h):
7258         Move the functionality from gen-machine.h into this file.
7259         UNdef MN_NAME_PAT if there are no names to change.
7260         Also, be a little kinder when AutoGen is not present.
7261
7262         * fixinc/Makefile.in(machname.h):
7263         Change the generation rule to use genfixes.
7264
7265         * fixinc/fixfixes.c(machine_name):
7266         machine_name_fix's functionality now dependent upon whether
7267         MN_NAME_PAT is defined.
7268
7269         * fixinc/fixtests.c(machine_name):
7270         ditto.
7271
7272         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7273         of MN_NAME_PAT.
7274
7275         * fixinc/fixlib.h(mn_get_regexps):
7276         ditto
7277
7278         * fixinc/gen-machine.h: DELETED
7279
7280 2000-02-04  Jan Hubicka  <jh@suse.cz>
7281             Richard Henderson  <rth@cygnus.com>
7282
7283         * i386.c (SAVE_REGS_FIRST): Remove.
7284         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7285         (ix86_compute_frame_size): Likewise.
7286         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
7287         (ix86_emit_restore_regs): Remove.
7288         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7289         when a frame pointer is in use.
7290         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
7291         instead of pop to restore a register when profitable; emit leave
7292         when profitable.
7293         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7294         as a TYPE_LEA insn.
7295         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7296         * i386.md (prologue_allocate_stack): Remove.
7297         (epilogue_deallocate_stack): Remove.
7298         (pro_epilogue_adjust_stack): New.
7299
7300 2000-02-04  Richard Henderson  <rth@cygnus.com>
7301
7302         * function.c (diddle_return_value): Rework to use a callback function.
7303         Use current_function_return_rtx if it's been set up.
7304         (do_clobber_return_reg, clobber_return_register): New.
7305         (do_use_return_reg, use_return_register): New.
7306         (expand_function_end): Use them.
7307         * stmt.c (expand_null_return): Likewise.
7308         * function.h: Declare them.
7309         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7310         (mark_reg): Change arguments as appropriate for callback.
7311         * integrate.c (expand_inline_function): Revert 19 Jan change.
7312
7313 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7314
7315         * tm.texi (Values in Registers): Fix typo: "fo" "for".
7316         (Misc): Say the scheduler, not the Haifa scheduler.
7317
7318 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
7319
7320         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7321         when in_mem is set.  Update all callers.
7322
7323 2000-02-04  Richard Henderson  <rth@cygnus.com>
7324
7325         * i386/openbsd.h (INT_ASM_OP): Define.
7326
7327 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7328
7329         * tm.texi: Fix various typos.
7330
7331 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
7332
7333         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7334         (MD_STARTFILE_PREFIX_1): New macro.
7335
7336 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
7337
7338         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7339         destination when needed.
7340         (strmovsi, strsetsi): New expander.
7341         (strmovsi_1, strsetsi_1): New pattern.
7342         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7343         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7344         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7345         * invoke.texi (align-stringops, inline-all-stringops): Document.
7346
7347 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
7348
7349         * i386/netbsd.h (INT_ASM_OP): Define.
7350
7351 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
7352
7353         * cpplib.h (cpp_reader): Add new flag, no_directives.
7354         * cpphash.c (macarg): Set it.
7355         * cpplib.c (handle_directive): If no_directives is on and we
7356         find a directive, issue an error and discard the line.
7357
7358 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
7359
7360         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7361         FP constants.  Add ! TARGET_FPU check for FP constants.
7362
7363 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
7364         
7365         * flow.c (find_basic_blocks): Don't kill label_value_list
7366         here.
7367         (cleanup_cfg): Kill it here.
7368
7369 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7370
7371         * expr.c (store_field): Ensure ALIGN is no stricter than the
7372         alignment of EXP.
7373
7374 2000-02-02  Richard Henderson  <rth@cygnus.com>
7375
7376         * jump.c (delete_insn): Partially revert 19 Jan change; 
7377         don't convert unused code labels to notes at -O0.
7378
7379 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7380
7381         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7382         split_all_insns to recreate REG_LABEL notes for flow2 pass.
7383
7384 2000-02-01  Richard Henderson  <rth@cygnus.com>
7385
7386         * i386.c (general_no_elim_operand): New.
7387         (nonmemory_no_elim_operand): New.
7388         (ix86_expand_move): Copy eliminable operands before a push.
7389         * i386-protos.h: Declare new functions.
7390         * i386.h (CAN_ELIMINATE): Simplify.
7391         (PREDICATE_CODES): Update.
7392         * i386.md (push insns): Don't allow eliminable register operands.
7393
7394 2000-02-01  Richard Henderson  <rth@cygnus.com>
7395
7396         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7397         replace BLKmode with DECL_RTL's mode.
7398
7399 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
7400
7401         * frame.c (find_fde): Convert for loop to do-while so compiler
7402         sees it's always executed at least once.
7403         * libgcc2.c (BBINBUFSIZE): Kill.
7404         (__bb_init_prg): Use fgets.
7405         (__bb_exit_trace_func): Don't paste strings.
7406         * unroll.c (unroll_loop): Initialize unroll_type, not
7407         unroll_number, and tweak logic to match.
7408
7409         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7410         all failure paths.
7411         (ix86_flags_dependant): Likewise.  Disentangle control flow.
7412         (ix86_sched_reorder): Break guts out to
7413         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7414         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7415         any possible use.
7416
7417         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7418         use string concatenation.  Don't save and restore esi.
7419
7420         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7421         (machname.h): Remove script to separate file.  Use two-step
7422         sequence so target is not created if script fails.
7423         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
7424         identifiers are defined.
7425         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7426         an empty string, machine_name doesn't need to do anything at
7427         all.
7428         (is_cxx_header): Add more cases to regexp.
7429         * fixinc/fixlib.h: Update prototype.
7430         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7431         mn_get_regexps.
7432         * fixinc/fixincl.c: Define NO_BOGOSITY.
7433
7434         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7435         (hp_sysfile): Add missing comma.
7436         (math_exception): Put the wrapper ifdefs at the beginning and
7437         the end of the file.
7438         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7439
7440 2000-02-01  Richard Henderson  <rth@cygnus.com>
7441
7442         * sparc.c (fp_zero_operand): Turn into a normal predicate.
7443         Use CONST0_RTX.  Update all callers.
7444         * sparc.h, sparc-protos.h: Update accordingly.
7445         * sparc.md (fp mov insns): Use fp_zero_operand directly
7446         where applicable.
7447
7448 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7449
7450         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7451         example.
7452
7453 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7454
7455         * Makefile.in (specs.ready): New target.
7456         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7457
7458 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7459
7460         * fixinc.irix: Use unique filenames for writing into /tmp,
7461         * fixinc.ptx: Likewise.
7462         * fixinc.sco: Likewise.
7463         * fixinc.svr4: Likewise.
7464         * fixinc.winnt: Likewise.
7465
7466 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7467
7468         * tsystem.h: New file.
7469
7470         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7471         s-crtS): Depend on tsystem.h.
7472
7473         * crtstuff.c: Include tsystem.h.
7474         * frame.c: Likewise.
7475         * libgcc2.c: Likewise.
7476
7477 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
7478
7479         * builtins.c (expand_builtin_memset): Expand for variable sized
7480         lengths too.
7481
7482 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
7483
7484         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7485         on ABI.
7486
7487 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7488
7489         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7490
7491         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7492
7493 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
7494
7495         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7496         case 3->2 combining (combining with splitting) in which 2 is CC0
7497         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
7498         checked at the begining of the function with the aid of calling 
7499         function 'can_combine_p'. 
7500
7501 2000-01-31  Dave Brolley  <brolley@redhat.com>
7502
7503         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7504
7505 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
7506
7507         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7508         new label.
7509
7510 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7511
7512         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7513         
7514         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7515         PROTO -> PARAMS.
7516
7517 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7518
7519         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7520         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7521         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7522         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7523         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7524         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7525         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7526         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7527         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7528         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7529         
7530         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7531         Add %(cpp_cpu) to CPP_SPEC.
7532
7533         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7534         Add %(cc1_cpu) to CC1_SPEC.
7535
7536 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7537
7538         * c-decl.c (c_decode_option): Accept optional numeric argument to
7539         -Wformat and set warn_format.
7540         * c-common.c: Don't emit warning about non-constant printf format
7541         string unless warn_format > 1.
7542
7543 2000-01-30  Richard Henderson  <rth@cygnus.com>
7544
7545         * alpha.md (return_internal): Allow after reload only.
7546
7547 2000-01-30  Richard Henderson  <rth@cygnus.com>
7548
7549         * i386.c (ix86_compute_frame_size): Omit padding1 if the
7550         local frame size is zero.
7551
7552 2000-01-30  Richard Henderson  <rth@cygnus.com>
7553
7554         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7555         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
7556         * alpha.md (return): Turn into an expander.
7557         (return_internal): Don't use $26.
7558         (epilogue): Emit the return insn.
7559
7560 2000-01-30  Richard Henderson  <rth@cygnus.com>
7561
7562         * alpha.md (negtf2, abstf2): Fix word order thinko.
7563         (extendsftf2): New.
7564         (trunctfsf2): Avoid intermediate rounding errors.
7565
7566 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7567
7568         * cppfiles.c (find_position): Drop 'colp' argument, return the
7569         new line base.
7570         (read_and_prescan): Adjust to match.  Don't ever manipulate
7571         line or line_base except via find_position.
7572
7573 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7574
7575         * c-parse.in: Apply Ulrich's changes from c-parse.y.
7576         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7577         Regenerate.
7578
7579 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7580
7581         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7582         just print "<command line>".  If 'filename' is null or an
7583         empty string, print "<stdin>" for the filename.
7584         * cpplib.c (do_define): Don't print the 'location of the
7585         previous definition' message if we're still parsing the
7586         command line.
7587         (cpp_pedwarn_with_file_and_line): Always call
7588         cpp_file_line_for_message.
7589
7590 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
7591
7592         * flow.c (mark_regs_live_at_end): Fix typo.
7593
7594 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7595
7596         * c-common.c: Adjust variable names, comments, help strings to c99.
7597         * c-lex.c: Likewise.
7598         * c-parse.y: Likewise.
7599         * c-tree.h: Likewise.
7600         * cccp.c: Likewise.
7601         * cpplib.h: Likewise.
7602         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
7603         * cppinit.c: Likewise.
7604
7605 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7606
7607         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7608         * c4x.c: Define the optab rtx values.
7609         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7610         (c4x_emit_libcall): Use new optab rtx values.
7611         (c4x_emit_libcall3): Likewise.
7612         (c4x_emit_libcall_mulhi): Likewise.
7613         * c4x-protos.h: Add prototypes for optab rtx values and change
7614         prototypes for above c4x_emit_libcall functions.
7615
7616 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7617
7618         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7619         syntax is used.
7620         (c4x_function_prologue): Use regnames intead of float_reg_names when
7621         TI syntax is used.
7622         (c4x_function_epilogue): Likewise.
7623         (c4x_print_operand): Likewise.
7624         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7625         * c4x.md (set_high): Disable for TARGET_TI.
7626
7627 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7628
7629         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7630         of framepointer + constant to ADDR_REGS class.
7631         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7632         * c4x.c (std_or_reg_operand): New function.
7633         * c4x-protos.h (std_or_reg_operand): Prototype it.
7634
7635 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7636
7637         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7638                 object names as libgcc2.c.
7639         * libgcc.S: Use newly defined names.
7640
7641 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
7642         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7643         function.
7644         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7645         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7646         (FLOW_LOOP_LAST_BLOCK): Likewise.
7647
7648 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7649
7650         * basic-block.h (struct loop): New fields 'first' and 'last'.
7651         * flow.c (flow_loops_find): Compute loop->first and loop->last.
7652         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7653         and loop->last to check for NOTE_INSN_LOOP_END.
7654
7655 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
7656
7657         * predict.c (estimate_probability): Use the new FIRST and LAST fields
7658         of the loop descriptor rather than HEADER and LATCH. Also added
7659         missing break statements as well making some coding style modifications
7660         as suggested by Michael Hayes.
7661
7662 2000-01-28  Richard Henderson  <rth@cygnus.com>
7663
7664         * flow.c (find_basic_blocks): Remove do_cleanup argument.
7665         Break out that code ...
7666         (cleanup_cfg): ... here.
7667         (commit_one_edge_insertion): Detect a return instruction being
7668         emitted to an edge.  Emit a barrier following; clear fallthru.
7669         (commit_edge_insertions): Verify CFG consistency.
7670         * function.c (expand_function_start): Kill unused variable.
7671         (expand_function_end): Likewise.
7672         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7673         to insert the epilogue.
7674
7675         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7676         (delete_null_pointer_checks): Likewise.
7677         * output.h: Likewise.
7678         * reg-stack.c (reg_to_stack): Likewise.
7679         * toplev.c (rest_of_compilation): Likewise.  Run
7680         thread_prologue_and_epilogue_insns after rebuilding the CFG.
7681
7682 2000-01-28  Richard Henderson  <rth@cygnus.com>
7683
7684         * Makefile.in (flow.o): Revert 24 Jan change.
7685         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
7686         FUNCTION_VALUE result to DECL_RESULT's mode.
7687
7688         * haifa-sched.c (schedule_insns): Don't recompute reg info
7689         after reload.
7690
7691 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
7692
7693         * configure.in: Make --enable-cpplib the default.
7694         * configure: Regenerate.
7695         * gcc.dg/990119-1.c: No longer expected to fail.
7696
7697 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
7698
7699         * jump.c (jump_optimize_1): Delete an optimization that is also done
7700         by merge_blocks in flow.
7701
7702 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7703
7704         * diagnostic.c (build_message_string, output_printf,
7705         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7706         (build_location_prefix): Fix non-literal format string.
7707
7708 2000-01-27  Richard Henderson  <rth@cygnus.com>
7709
7710         * alpha.md (trunctfsf2): New.
7711
7712 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
7713
7714         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7715
7716 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7717
7718         * cppinit.c (cpp_handle_option): Recognize C++ comments under
7719         -std=gnu89.
7720         * cpplib.c (skip_block_comment, skip_line_comment): Split code
7721         out of...
7722         (skip_comment) ... here.  Permit C++ comments in system
7723         headers always.  Warn about C++ comments in user code under
7724         -std=gnu89 -pedantic.
7725         (copy_comment): Use skip_comment.
7726         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7727         return EOF.
7728         (consider_directive_while_skipping, do_else, do_endif): Call
7729         validate_else unconditionally.
7730         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
7731         text after the conditional in a system header.
7732         * cpplib.h (struct cpp_buffer): Add flag
7733         warned_cplusplus_comments.
7734
7735 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7736
7737         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7738         Use unshare_all_rtl_1.
7739         (unshare_all_rtl_again): New function.
7740         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7741
7742         * function.c (purge_addressof_1): Use unshare_all_rtl_again
7743         rather than resetting the 'used' flags ourself.
7744
7745         * toplev.c (rest_of_compilation): Add current_function_decl
7746         to the unshare_all_rtl call.
7747         * tree.h: Prototype unshare_all_rtl.
7748         * rtl.h: Prototype unshare_all_rtl_again here.
7749
7750 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7751
7752         * genoutput.c (output_prologue): Include ggc.h in generated
7753         files.
7754         * Makefile.in (insn-output.o): Depends on ggc.h.
7755
7756 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7757             Hans-Peter Nilsson  <hp@bitrange.com>
7758
7759         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7760         Remove redundant include of xm-ns32k.h.
7761         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7762         Remove redundant include of xm-ns32k.h.
7763         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7764         Remove redundant include of xm-ns32k.h.
7765         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7766
7767         * ns32k/ns32k.h: Update comment on multiply-add instructions.
7768         (TARGET_SWITCHES): Add documentation strings.
7769         (DWARF_FRAME_REGNUM): Override default definition.
7770         (REG_CLASS_CONTENTS): Add comments.
7771         (SUBSET_P): Format to reduce line length.
7772         (SMALL_REGISTER_CLASSES): Make a run time option.
7773         (GO_IF_NONINDEXED_ADDRESS): Reformat.
7774         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7775         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
7776         (regclass_map): fix typo in comment.
7777         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7778         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7779         (trace, reg_or_mem_operand): Delete, unused function.
7780         (calc_address_cost): Small offsets are cheaper than large ones.
7781         (expand_block_move): Generate more efficient code when bytes is a
7782         known at compile time.
7783         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7784         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7785         instead of reg_or_mem_operand.
7786
7787         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7788         not general_operand.  Similarly use "=rm" or stricter, not "=g".
7789         For input operands, use stricter constraints than "g" if not
7790         general_operand.  Similarly use stricter predicate than
7791         "general_operand" when stricter constraints than "g" are present,
7792         except for matching constraints.
7793         (movstrsi): Use "memory_operand" for operands 0 and 1.
7794         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7795         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7796         not reg_or_mem_operand.
7797         (udivmoddisi4): Ditto.
7798         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7799         Use nonimmediate_operand for operand 3, not register_operand.
7800         (udivmoddiqi4_internal): Use register_operand for operand 1, not
7801         reg_or_mem_operand.
7802
7803 2000-01-27  Fred Fish  <fnf@be.com>
7804
7805         * gthr-posix.h: Fix typo; compatibily -> compatibility.
7806         * gthr-single.h: Likewise.
7807         * gthr-solaris.h: Likewise.
7808         * gthr-vxworks.h: Likewise.
7809         * gthr-win32.h: Likewise.
7810         * gthr.h: Likewise.
7811
7812 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7813
7814         * cppinit.c: Add " (cpplib)" to end of string printed by
7815         -v / --version.
7816
7817 2000-01-27  Richard Henderson  <rth@cygnus.com>
7818
7819         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7820         testing for a signed comparison.
7821         (alpha_emit_floatuns): New.
7822         * alpha-protos.h: Declare it.
7823         * alpha.md (floatunsdisf2, floatunsdidf2): New.
7824         (extendsfdf2): Tidy.
7825
7826 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
7827
7828         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7829         no -g option specifying debugging format, default to -gstabs+.
7830
7831 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
7832
7833         * calls.c (special_function_p): New argument fork_or_exec.
7834         (expand_call): When profile_arc_flag is set and the function
7835         is in the fork_or_exec group, call __bb_fork_func first.
7836         * libgcc2.c, _bb module (__bb_fork_func): New function.
7837         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7838         output file.
7839         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7840         * tree.h (special_function_p): Update prototype.
7841
7842 2000-01-26  Richard Henderson  <rth@cygnus.com>
7843
7844         * alpha.c (alpha_split_tfmode_pair): New.
7845         * alpha-protos.h: Declare it.
7846         * alpha.md (abstf2, negtf2): New.
7847         (movtf insn): Add input G constraint.
7848         (movtf splitter): Use alpha_split_tfmode_pair.
7849
7850 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7851
7852         * i386/cygwin.h: PROTO -> PARAMS.
7853
7854 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
7855
7856         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7857         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7858         using _Qp_cmp/_Q_cmp and testing the return value.
7859         (print_operand): Call reverse_condition_maybe_unordered if
7860         we are handling CCFPmode or CCFPEmode.
7861         Handle ORDERED, UN* and LTGT comparisons.
7862         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7863         if not TARGET_HARD_QUAD.
7864         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7865         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7866         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7867         Adjust gen_b* calls so that they reflect return comparison of
7868         sparc_emit_float_lib_cmp.
7869
7870 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7871
7872         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
7873         incoming operands array is large enough for one more operand.
7874         (alpha_emit_xfloating_arith): Likewise.
7875
7876 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7877
7878         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
7879         file with one line and no trailing newline.
7880         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
7881         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
7882         checking if the match is on the line.
7883         * fixinc/gnu-regex.c: Provide regerror not __regerror.
7884
7885 2000-01-25  Richard Henderson  <rth@cygnus.com>
7886
7887         * sparc.c (output_cbranch): Fix accidental squashing of the
7888         fp branch pre-delay nop.
7889
7890 2000-01-25  Richard Henderson  <rth@cygnus.com>
7891
7892         * tree.def (UNNE_EXPR): Remove.
7893         * c-typeck.c (build_binary_op): Don't handle it.
7894         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
7895
7896         * rtl.def (UNNE): Remove.
7897         (LTGT): Add.
7898         * jump.c (reverse_condition): Update accordingly.
7899         (swap_condition): Likewise.
7900         (comparison_dominates_p): Handle unordered comparisons.
7901         (reverse_condition_maybe_unordered): New.
7902         * rtl.h (reverse_condition_maybe_unordered): Declare.
7903
7904         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
7905         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
7906         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
7907         * sparc.md (bltgt): New.
7908
7909 2000-01-25  Nick Clifton  <nickc@redhat.com>
7910
7911         * emit-rtl.c (emit_insn): Only check machine class insns for
7912         improper emission of a RETURN.
7913
7914 2000-01-25  Richard Henderson  <rth@cygnus.com>
7915
7916         * Makefile.in (flow.o): Depend on $(EXPR_H).
7917         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
7918         duplicate the structure of diddle_return_value for keeping regs live.
7919
7920 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7921
7922         * loop.c (current_loop_info): Delete.
7923         (consec_sets_invariant_p): Add loop argument, update callers.
7924         (get_condition_for_loop): Likewise.
7925         (count_nonfixed_reads, update_giv_derive): Likewise.
7926         (simplify_giv_expr, general_induction_var): Likewise.
7927         (consec_sets_giv, recombine_givs): Likewise.
7928         (move_movables): Delete loop_start and loop_end arguments,
7929         add loop argument, and update callers.
7930         (find_mem_givs, check_final_value): Likewise.
7931         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
7932         (loop_invariant_p): Rename from invariant_p, add loop argument, and
7933         update callers.
7934         (basic_induction_var): Add loop argument, delete loop_level argument,
7935         and update callers.
7936         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
7937         add loop argument, and update callers.
7938         (find_splittable_regs, find_splittable_givs): Likewise.
7939         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
7940         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
7941         (biv_total_increment): Delete loop_start and loop_end arguments;
7942         update callers.
7943         (precondition_loop_p): Delete loop_start and loop_info arguments;
7944         update callers.
7945         * loop.h (get_condition_for_loop): Add loop argument.
7946         (biv_total_increment): Delete loop_start and loop_end arguments.
7947         (precondition_loop_p): Delete loop_start and loop_info arguments;
7948         add loop argument.
7949         (final_biv_value): Delete loop_start and loop_end arguments;
7950         add loop argument.
7951         (final_giv_value, back_branch_in_range_p): Likewise.
7952
7953 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
7954
7955         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
7956
7957 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
7958
7959         * Makefile.in (c-gperf.h) : Change the "See" pointer to
7960         point to the new "generated_files" doc.
7961
7962 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
7963
7964         * config/fp-bit.c (_unord_f2): Fix typo.
7965
7966 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7967
7968         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
7969         c-typeck.c, objc/objc-act.c: Remove all references to obstack
7970         functions obsoleted by GC, such as push_obstacks_nochange,
7971         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
7972         and code which existed only to decide whether or not to call
7973         them.  Remove now-unused NESTED argument from start_function;
7974         all callers changed.  Do not change behavior based on ggc_p.
7975         The use of the ixp_obstack in c-iterate.c and the util_obstack
7976         in objc/objc-act.c remain; these are not obsoleted by garbage
7977         collection.
7978         * c-tree.h: Update prototype for start_function.
7979
7980         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
7981
7982 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
7983
7984         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
7985         mips16.
7986
7987 2000-01-25  Richard Henderson  <rth@cygnus.com>
7988
7989         * sparc-protos.h (select_cc_mode): Declare.
7990         * sparc.c (select_cc_mode): New.  Handle unordered compares.
7991         (output_cbranch): Always reverse via code change.  Handle
7992         unordered compares.  Factor tests and string updates.
7993         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
7994         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
7995         * sparc.md (bunordered, bordered): New.
7996         (bungt, bunlt, buneq, bunge, bunle): New.
7997
7998 2000-01-25  Richard Henderson  <rth@cygnus.com>
7999
8000         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8001         * ggc-common.c (ggc_add_rtx_varray_root): New.
8002         (ggc_mark_rtx_varray): New.
8003         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
8004         functions down below ggc_mark_foo.
8005         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8006
8007 2000-01-25  Richard Henderson  <rth@cygnus.com>
8008
8009         * alpha.c (secondary_reload_class): Don't allocate a secondary
8010         for integral mode memories into FLOAT_REGS.  Rearrange the more
8011         complicated memory expression inward.
8012
8013 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8014
8015         * inclhack.def: Fixes to play nicer with FreeBSD, and
8016         corrections to comments.
8017         (cxx_unready): Add select expression.
8018         (irix_sockaddr): Add bypass expression.
8019         (machine_ansi_h_va_list): New fix.
8020         (stdio_va_list): No need to edit _BSD_VA_LIST_.
8021         Split out addition of "#include <stdarg.h>" to...
8022         (stdio_stdarg_h): ... here.
8023         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
8024         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
8025         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8026         size_t.
8027         (ultrix_ifdef): Tighten up select expression.
8028
8029         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
8030         re_ct and max_mach to avoid use of shell.  Make printed names
8031         match names in inclhack.def.  Use static copyright date.
8032         Don't count c_test and test expressions as requiring regex_t
8033         slots.  Add some commentary.
8034         * inclhack.tpl: Do not include the 'This script contains N
8035         fixup scripts' line if PROGRAM is defined.  Use static
8036         copyright date.
8037
8038 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
8039
8040         * dwarf2out.c: include "varray.h", not dyn-string.h.
8041         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8042         (addr_const_to_string, addr_to_string): Lose.
8043         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8044         (struct dw_val_struct): val_addr is now an rtx.
8045         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8046         (used_rtx_varray): New varray.
8047         (dwarf2out_init): Initialize it.
8048         (save_rtx): New fn.
8049         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8050         addr_to_string.
8051         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8052         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8053         * Makefile.in (dwarf2out.o): Update dependencies.
8054
8055 2000-01-24  Richard Henderson  <rth@cygnus.com>
8056
8057         * i386.c (i386_dwarf_output_addr_const): New.
8058         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8059
8060         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8061         if defined.
8062         * dwarfout.c (output_mem_loc_descriptor): Likewise.
8063         * i386.c (i386_simplify_dwarf_addr): New.
8064         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8065
8066 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
8067
8068         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8069         TYPE_STUB_DECL is NULL.
8070
8071 2000-01-24  Richard Henderson  <rth@cygnus.com>
8072
8073         * builtins.c (expand_tree_builtin): Move ...
8074         * c-common.c (expand_tree_builtin): ... here.
8075
8076 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8077
8078         * loop.h (LOOP_INFO): New accessor macro.
8079         * basic-block.h (struct loop): Rename field `info' to `aux'.
8080         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8081         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8082         * unroll.c (loop_iterations, unroll_loop): Likewise.
8083
8084 2000-01-24  Christopher Faylor <cgf@cygnus.com>
8085
8086         * config/i386/t-cygwin: Accomodate new winsup directory layout
8087         when searching for include files.
8088
8089 2000-01-24  Richard Henderson  <rth@cygnus.com>
8090
8091         * rtl.def: Add unordered fp comparisions.
8092         * tree.def: Likewise.
8093         * tree.h: Add ISO C 9x unordered fp comparision builtins.
8094
8095         * builtins.c (expand_tree_builtin): New function.
8096         * c-typeck.c (build_function_call): Use it.
8097         (build_binary_op): Support unordered compares.
8098         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8099
8100         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8101         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8102         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8103         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8104         * jump.c (reverse_condition): Don't abort for UNLE etc, but
8105         return UNKNOWN.
8106         (swap_condition): Handle unordered compares.
8107         (thread_jumps): Check can_reverse before reversing.
8108         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
8109         reversed for FP.
8110
8111         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
8112         setcc is present before acking for cmp_optab.  Update all callers.
8113         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8114         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8115         * expr.c (expand_expr): Likewise.  Support unordered compares.
8116         (do_jump, do_store_flag): Likewise.
8117         * expr.h (enum libfunc_index): Add unordered compares.
8118
8119         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8120         (DPBIT_FUNCS): Add _unord_df.
8121         * config/fp-bit.c (_unord_f2): New.
8122         * fp-test.c (main): Try unordered compare builtins.
8123
8124         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8125         * alpha.c (alpha_comparison_operator): Check mode properly.
8126         (alpha_swapped_comparison_operator): Likewise.
8127         (signed_comparison_operator): Likewise.
8128         (alpha_fp_comparison_operator): New.
8129         (alpha_emit_conditional_branch): Handle unordered compares.
8130         * alpha.h (PREDICATE_CODES): Update.
8131         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8132         (bunordered, bordered): New.
8133
8134 2000-01-24  Richard Henderson  <rth@cygnus.com>
8135
8136         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8137         * alpha.md (movtf): New expander, insn, and splitter.
8138
8139 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
8140
8141         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8142         dead registers.
8143
8144 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8145
8146         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8147         (FIXED_REGISTERS, CALL_USED_REGISTERS,
8148          REG_ALLOC_ORDER): Add frame pointer
8149         (FRAME_POINTER_REGNUM): Set to 20
8150         (HARD_FRAME_POINTER_REGNUM): New macro.
8151         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8152         to HARD_FRAME_POINTER.
8153         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8154         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8155         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8156         (HI_REGISTER_NAMES): Add "frame".
8157         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8158         (debug_reg): Handle FRAME_POINTER_REGNUM.
8159         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8160         GENERAL_REGS and INDEX_REGS.
8161         * i386.c (SAVED_REGS_FIRST): new macro.
8162         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8163         (ix86_decompose_address, memory_address_length): Likewise.
8164         (regclass_map): Add frame pointer.
8165         (call_insn_operand): Handle frame_pointer_rtx.
8166         (reg_no_sp_operand): Likewise.
8167         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8168         (print_operand, legitimize_pic_address): Fix formating.
8169         (ix86_compute_frame_size): Make static, update prototype, new
8170         parameters padding1, padding2, use ix86_nsaved_regs, use
8171         stack_alignment_needed.
8172         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8173         to HARD_FRAME_POINTER_REGNUM conversions.
8174         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8175         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8176         (print_reg): Abort on FRAME_POINTER_REGNUM
8177
8178 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8179
8180         * i386.h (PREDICATE_CODES): Add aligned_operand.
8181         * i386.c (aligned_operand): New function.
8182         (ix86_aligned_p): Kill.
8183         * i386.md (movhi_1): Emit mov for aligned operands.
8184         (promoting peep2s): Use aligned_operand.
8185
8186 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
8187
8188         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8189         expression to allow underscores in macro names.
8190         (fix_char_macro_defines): Increment scanning pointer.
8191
8192 2000-01-23  Richard Henderson  <rth@cygnus.com>
8193
8194         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8195         * alpha/osf5.h: New file.
8196         * configure.in (alpha-*-osf5): Add it to tm_file.
8197
8198         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8199
8200         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8201         (alpha_emit_xfloating_cvt, function_arg): Declare.
8202         * alpha.c (alpha_emit_conditional_branch): Call
8203         alpha_emit_xfloating_compare for TFmode compares.
8204         (alpha_lookup_xfloating_lib_func): New.
8205         (alpha_compute_xfloating_mode_arg): New.
8206         (alpha_emit_xfloating_libcall): New.
8207         (alpha_emit_xfloating_arith): New.
8208         (alpha_emit_xfloating_compare): New.
8209         (alpha_emit_xfloating_cvt): New.
8210         (print_operand): Add default abort case.
8211         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8212         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8213         (BIGGEST_ALIGNMENT): Increase to 128 bits.
8214         (RETURN_IN_MEMORY): True for TF/TCmode.
8215         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8216         (FUNCTION_ARG): Move to function_arg.
8217         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8218         (ASM_OUTPUT_LONG_DOUBLE): New.
8219         (ASM_OUTPUT_DOUBLE): Always output bits.
8220         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8221         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8222         (extenddftf2, trunctfdf2): New.
8223
8224 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8225
8226         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8227         * config/sparc/sol2.h: ... here.
8228
8229 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8230
8231         * basic-block.h (struct loops): New field `levels'.
8232         * flow.c (flow_loops_level_compute): Traverse all outer loops.
8233         (flow_loop_level_compute): Initialise level to 1.
8234         (flow_loops_find): Set loops->levels.
8235         (flow_loops_dump): Print loops->levels.
8236
8237 2000-01-23  Richard Henderson  <rth@cygnus.com>
8238
8239         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8240         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8241
8242 2000-01-23  Richard Henderson  <rth@cygnus.com>
8243
8244         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8245         * i386.h (DBX_REGISTER_NUMBER): Use them.
8246         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8247         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8248         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8249         * i386/sequent.h: Kill incorrect comment.
8250
8251 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
8252
8253         * ggc-page.c (struct page_entry): Make `context_depth' an
8254         `unsigned short'.
8255         (struct globals): Likewise.
8256
8257 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
8258
8259         * loop.c (check_dbra_loop): When checking a loop for
8260         reversability, check the source of any stores to ensure
8261         they don't depend on an initial value.
8262
8263 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8264
8265         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8266
8267 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
8268
8269         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8270         'pz_scan' into scope of entire function.  Only affects
8271         compiles with -DDEBUG.
8272
8273 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8274
8275         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8276         section naming to that prior to 2000-01-07 patch.
8277         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8278         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8279         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8280         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8281         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8282
8283 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8284
8285         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8286         constant.
8287
8288 2000-01-21  Jim Wilson  <wilson@cygnus.com>
8289
8290         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8291         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8292
8293 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8294
8295         * cpphash.c (change_newlines): Delete function.
8296         (struct argdata): Delete 'newlines' and 'use_count' fields.
8297         (macroexpand): Remove code referencing those fields.
8298
8299 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8300
8301         * loop.c (loops_info): New variable.
8302         (loop_optimize): Allocate loops->array and free it on exit.
8303         Allocate memory for loops_info and assign to each loop,
8304         replacing alloca.
8305         (find_and_verify_loops): Do not allocate loops->array.
8306
8307 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8308
8309         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8310
8311 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
8312
8313         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8314         pseudos if expanded after first flow.
8315         (movdi_pic_label_ref): Likewise.
8316
8317 2000-01-20  Richard Henderson  <rth@cygnus.com>
8318
8319         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8320
8321 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
8322
8323         * Makefile.in (fixinc.sh): Depend on specs.
8324         * fixinc/Makefile.in: Add rule to create machname.h.
8325         (fixlib.o): Depend on machname.h.
8326         * fixinc/fixtests.c (machine_name): New test.
8327         * fixinc/fixfixes.c (machine_name): New fix.
8328         * fixinc/fixlib.c (mn_get_regexps): New helper function for
8329         the machine_name test and fix.
8330         * fixinc/fixlib.h: Prototype it.
8331         * fixinc/inclhack.def (machine_name): Use the C test and fix.
8332         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8333
8334         * gcc.c (do_spec_1) [case P]: Take care not to create
8335         identifiers with three leading or trailing underscores.
8336
8337         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8338         (fixincl): Don't specify libraries twice on link line.
8339         (gnu-regex.o): Remove special rule.
8340         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8341         defined by config.h.  Do not define _REGEX_RE_COMP.
8342         (regcomp): Allocate and initialize a fastmap.
8343         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8344
8345 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
8346
8347         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8348
8349 2000-01-19  Richard Henderson  <rth@cygnus.com>
8350
8351         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8352         arguments with BB.  Update all callers.  Tidy line wrapping.
8353
8354 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
8355
8356         * emit-rtl.c (try_split): Return last_insn if we split the
8357         last_insn.
8358
8359 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
8360
8361         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8362         (ix86_initial_elimination_offset): Declare.
8363         * i386.c (ix86_nsaved_regs): Break out from ...
8364         (ix86_can_use_return_insn_p): ... here.
8365         (ix86_emit_save_regs): Break out from ...
8366         (ix86_expand_prologue): ... here.
8367         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8368         out from ...
8369         (ix86_expand_epilogue): ... here.
8370         (ix86_compute_frame_size): Make static, add prototype.
8371         (ix86_initial_elimination_offset): Break out from ...
8372         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8373
8374 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8375
8376         * recog.h (OUT_FCN): Delete.
8377
8378         * vax.md: Call `get_insn_template' instead of OUT_FCN.
8379
8380 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8381
8382         * cppalloc.c: PROTO -> PARAMS.
8383         * cpperror.c: Likewise.
8384         * cppfiles.c: Likewise.
8385         * cpplib.c: Likewise.
8386         * cpplib.h: Likewise.
8387
8388         * config/arm/arm-protos.h: PROTO -> PARAMS.
8389         * config/arm/arm.c: Likewise.
8390         * config/c4x/c4x.c: Likewise.
8391         * config/fr30/fr30-protos.h: Likewise.
8392         * config/nextstep.c: Likewise.
8393         * config/pa/pa.c: Likewise.
8394         * config/pj/pj.c: Likewise.
8395         * config/rs6000/rs6000.c: Likewise.
8396         * config/v850/v850-protos.h: Likewise.
8397         * config/v850/v850.c: Likewise.
8398
8399 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8400
8401         * i370-protos.h: New file.
8402
8403         * i370.c: Include tm_p.h.  Fix compile time warnings.
8404
8405         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
8406         warnings.
8407
8408         * i370.md: Likewise.
8409
8410 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8411
8412         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8413         (target_isinf, target_isnan, eisnan): Mark parameter with
8414         ATTRIBUTE_UNUSED.
8415         (eiisinf): Wrap in INFINITY.
8416         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8417         (ibmtoe): Remove unused variable `rndsav'.
8418
8419 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8420
8421         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8422         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8423
8424 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
8425
8426         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8427         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8428         (fix_char_macro_defines, fix_char_macro_uses): New functions.
8429
8430         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8431         Recognize Emacs mode markers also.
8432         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8433         C++ comments in C++ headers.  Call is_cxx_header only if
8434         necessary.
8435
8436         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8437         bypass for ncurses.
8438         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8439         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8440         ... these, which use the new C fixes.
8441         (math_exception): Escape literal '+' in bypass expression.
8442
8443         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8444         Regenerate.
8445
8446 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
8447
8448         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8449         inside the MEM.
8450
8451 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8452
8453         * loop.c (loop_optimize): Allocate loop_info structure for each loop
8454         prior to calling scan_loop.
8455
8456 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8457
8458         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8459         (split_branches, calc_live_regs): Likewise.
8460
8461 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8462
8463         * sh.md (fpu_single, fp_mode): New attributes.
8464
8465 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8466
8467         * loop.c (current_loop_info): Renamed from loop_info_data
8468         and changed to a pointer.
8469         (loop_optimize): Allocate loop_info structure for each loop
8470         and initialise to zero.
8471         (scan_loop): Set current_loop_info.
8472
8473         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8474         on iteration_var.
8475
8476 2000-01-19  Richard Henderson  <rth@cygnus.com>
8477
8478         * stupid.c: Die die die.
8479         * Makefile.in (OBJS): Remove stupid.o.
8480         (stupid.o): Likewise.
8481
8482         * except.c (emit_eh_context): Don't emit USEs for stupid.
8483         * explow.c (probe_stack_range): Likewise.
8484         * flags.h (obey_regdecls): Remove.
8485         * flow.c (find_basic_blocks): Don't run try_merge_blocks
8486         when not optimizing.
8487         (life_analysis): Limit data collection when not optimizing.
8488         (mark_regs_live_at_end): Always mark the return value registers.
8489         (mark_used_regs): Remove dummy RETURN case.
8490         (print_rtl_with_bb): Don't consult obey_regdecls.
8491         * function.c (use_variable, use_variable_after): Remove.
8492         (assign_parms): Consult optimize not obey_regdecls.
8493         (expand_function_start): Don't emit USEs for stupid.
8494         (expand_function_end): Likewise.
8495         * global.c (build_insn_chain): Export.
8496         * integrate.c (expand_inline_function): Kill return-value USE
8497         handling code.
8498         * jump.c (jump_optimize_1): Do simple jump optimizations and
8499         dead code elimination.
8500         (calculate_can_reach_end): Remove check_deleted argument.
8501         (delete_insn): Patch out insns even when not optimizing.
8502         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8503         * rtl.h (use_variable, use_variable_after): Remove declarations.
8504         (build_insn_chain): Declare.
8505         * stmt.c (expand_value_return): Don't emit USEs for stupid.
8506         (expand_end_bindings): Likewise.
8507         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
8508         * toplev.c (obey_regdecls): Remove.
8509         (rest_of_compilation): Don't set it.  Kill stupid in favour of
8510         flow1, local-alloc, and reload.
8511         (main): Don't set obey_regdecls.
8512
8513         * config/nextstep.c (handle_pragma): Likewise.
8514
8515         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8516
8517         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8518
8519 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8520
8521         * alpha-protos.h: PROTO -> PARAMS.
8522         * alpha.c: Likewise.
8523         * elf.h: Likewise.
8524         * h8300.c: Likewise.
8525         * i386-protos.h: Likewise.
8526         * i386.c: Likewise.
8527         * m32r-protos.h: Likewise.
8528         * m32r.c: Likewise.
8529         * mips.c: Likewise.
8530         * mips.md: Likewise.
8531         * gmon-sol2.c: Likewise.
8532         * sparc.c: Likewise.
8533
8534 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8535
8536         * ns32k-protos.h: New file.
8537
8538         * ns32k.c: Fix compile time warnings.
8539
8540         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
8541         warnings.
8542
8543         * ns32k.md: Likewise.
8544
8545 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8546
8547         * vax-protos.h: New file.
8548
8549         * vax.c: Fix compile time warnings.
8550
8551         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
8552         warnings.
8553
8554         * vax.md: Likewise.
8555
8556         * vaxv.md: Likewise.
8557
8558 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8559
8560         * romp-protos.h: New file.
8561
8562         * romp.c: Fix compile time warnings.
8563
8564         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
8565         warnings.
8566
8567         * romp.md: Likewise.
8568
8569 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8570
8571         * we32k-protos.h: New file.
8572
8573         * we32k.c: Fix compile time warnings.
8574
8575         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
8576         warnings.
8577
8578 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8579
8580         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8581
8582         * except.c (eh_regs): Likewise.
8583
8584         * final.c (output_operand): Likewise.
8585
8586         * fold-const.c (target_isinf, target_isnan): Likewise.
8587
8588 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8589
8590         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8591         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8592
8593         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8594         when optimize_size.
8595         (clrstrsi): Rewrite.
8596         (strsethi, strsetqi): New expanders.
8597         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8598         (cmpstrsi): Emit compare insn before cmpstrsi_1
8599         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8600         (strlensi_1): Likewise.
8601         (cmpstrsi_1): Likewise; do not output compare.
8602         (strlen expander): Do not unroll when optimizing for size.
8603         (*subsi3_carry): Rename to subsi3_carry
8604         (addqi3_cc): New pattern.
8605         * i386.h (processor_costs): Add move_ratio field.
8606         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8607         * i386.c (*_cost): Set move_ratio.
8608         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8609         (x86_expand_strlensi_1): Rewrite the main loop.
8610
8611 2000-01-17  Richard Henderson  <rth@cygnus.com>
8612
8613         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8614         * cse.c (find_comparison_args, fold_rtx): Likewise.
8615         * integrate.c (subst_constants): Likewise.
8616         * loop.c (get_condition): Likewise.
8617
8618         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8619
8620         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8621
8622 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8623
8624         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8625         (RESTORE_WARN_FLAGS): Unpack it.
8626         Change semantic type of extension to ttype.
8627         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8628         * c-parse.y, c-parse.c, objc/objc-parse.y,
8629         objc/objc-parse.c: Regenerate.
8630
8631 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
8632
8633         * fixinc/fixlib.c: Add copyright notice.
8634         (compile_re): New function.
8635         * fixinc/fixlib.h: Prototype compile_re.
8636
8637         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8638         Use compile_re to compile regular expressions.
8639
8640         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8641         where the pattern matched.
8642
8643         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8644         use 'replace'.
8645         (ultrix_ansi_compat): Likewise.
8646         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8647         add egrep test.
8648         (interactv_add2, interactv_add3): Delete.
8649         (x11_sprintf): Don't use filename glob.
8650         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8651         Regenerate.
8652
8653 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8654
8655         * print-rtl.c: PROTO -> PARAMS.
8656         * real.c: Likewise.
8657         * reg-stack.c: Likewise.
8658         * resource.c: Likewise.
8659         * sdbout.h: Likewise.
8660         * simplify-rtx.c: Likewise.
8661         * stor-layout.c: Likewise.
8662         * stupid.c: Likewise.
8663         * xcoffout.c: Likewise.
8664         * xcoffout.h: Likewise.
8665
8666 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8667
8668         * toplev.c: PROTO -> PARAMS.
8669         * toplev.h: Likewise.
8670         * tree.c: Likewise.
8671         * tree.h: Likewise.
8672         * unroll.c: Likewise.
8673         * varasm.c: Likewise.
8674         * varray.c: Likewise.
8675         * varray.h: Likewise.
8676
8677 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8678
8679         * reload.c: PROTO -> PARAMS.
8680         * reload.h: Likewise.
8681         * reload1.c: Likewise.
8682         * reorg.c: Likewise.
8683         * resource.h: Likewise.
8684         * rtl.c: Likewise.
8685         * rtl.h: Likewise.
8686         * rtlanal.c: Likewise.
8687         * sbitmap.h: Likewise.
8688         * sdbout.c: Likewise.
8689         * stack.h: Likewise.
8690         * stmt.c: Likewise.
8691         * system.h: Likewise.
8692
8693 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8694
8695         * machmode.h: PROTO -> PARAMS.
8696         * mbchar.h: Likewise.
8697         * mips-tdump.c: Likewise.
8698         * mips-tfile.c: Likewise.
8699         * optabs.c: Likewise.
8700         * output.h: Likewise.
8701         * prefix.c: Likewise.
8702         * profile.c: Likewise.
8703         * protoize.c: Likewise.
8704         * real.h: Likewise.
8705         * recog.c: Likewise.
8706         * recog.h: Likewise.
8707         * regclass.c: Likewise.
8708         * regmove.c: Likewise.
8709         * regs.h: Likewise.
8710
8711 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8712
8713         * ggc-common.c: PROTO -> PARAMS.
8714         * ggc-page.c: Likewise.
8715         * ggc-simple.c: Likewise.
8716         * ggc.h: Likewise.
8717         * global.c: Likewise.
8718         * graph.c: Likewise.
8719         * gthr-win32.h: Likewise.
8720         * haifa-sched.c: Likewise.
8721         * halfpic.h: Likewise.
8722         * integrate.c: Likewise.
8723         * integrate.h: Likewise.
8724         * jump.c: Likewise.
8725         * lcm.c: Likewise.
8726         * local-alloc.c: Likewise.
8727         * loop.c: Likewise.
8728         * loop.h: Likewise.
8729
8730 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8731
8732         * genattr.c: PROTO -> PARAMS.
8733         * genattrtab.c: Likewise.
8734         * gencheck.c: Likewise.
8735         * gencodes.c: Likewise.
8736         * genconfig.c: Likewise.
8737         * genemit.c: Likewise.
8738         * genextract.c: Likewise.
8739         * genflags.c: Likewise.
8740         * gengenrtl.c: Likewise.
8741         * genopinit.c: Likewise.
8742         * genoutput.c: Likewise.
8743         * genpeep.c: Likewise.
8744         * genrecog.c: Likewise.
8745
8746 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
8747
8748         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8749
8750 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8751
8752         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8753         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8754         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8755         * configure, config.in: Rebuilt.
8756
8757 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
8758
8759         * config/i386/i386.md: Add peephole to merge successive stack
8760         adjusts.
8761
8762 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
8763
8764         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8765         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
8766         when walking backwards to find all the parameter loads when
8767         the basic block ends in a call.
8768
8769 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8770
8771         * loop.c (this_loop_info): Delete.
8772         (uid_loop): Add in place of uid_loop_num.  All uses updated.
8773         (loop_number_exit_count): Delete and replace with entry in loop
8774         structure.  All uses updated.
8775         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8776         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8777         (loop_outer_loop): Likewise.
8778         (loop_invalid, loop_number_exit_labels): Likewise.
8779         (loop_used_count_register): Delete and replace with entry in
8780         loop_info structure.
8781         (find_and_verify_loops): Add loops argument.
8782         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8783         loop_end, etc. arguments with loop structure pointer.  All callers
8784         changed.
8785         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8786         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8787         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8788         (insert_bct): Likewise.
8789         (basic_induction_var): New argument level.
8790         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8791         vtop, and cont.  Add used_count_register.
8792         (uid_loop): Delete declaration.
8793         (loop_number_exit_count): Likewise.
8794         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8795         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8796         (loop_outer_loop, loop_used_count_register): Likewise.
8797         (loop_invalid, loop_number_exit_labels): Likewise.
8798         (unroll_loop): Replace loop_start and loop_end arguments
8799         with loop structure pointer.
8800         (loop_precondition_p, loop_iterations): Likewise.
8801         Include basic-block.h.
8802         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8803         with loop structure pointer.
8804         (loop_precondition_p, loop_iterations): Likewise.
8805         * basic-block.h (struct loop): New entries vtop, cont,
8806         cont_dominator, start, end, top, scan_start, exit_labels,
8807         exit_count.
8808         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8809
8810 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8811
8812         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8813
8814 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
8815
8816         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8817
8818 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8819
8820         * pdp11-protos.h: New file.
8821
8822         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
8823         time warnings.
8824
8825         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
8826         warnings.
8827
8828         * pdp11.md: Likewise.
8829
8830         * 2bsd.h: Likewise.
8831
8832 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8833
8834         * mn10300-protos.h: New file.
8835
8836         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8837         time warnings.
8838
8839         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
8840         warnings.
8841
8842         * mn10300.md: Likewise.
8843
8844 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8845
8846         * mn10200-protos.h: New file.
8847
8848         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
8849         time warnings.
8850
8851         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
8852         warnings.
8853
8854         * mn10200.md: Likewise.
8855
8856 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8857
8858         * h8300-protos.h: New file.
8859
8860         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8861         time warnings.
8862
8863         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
8864         warnings.
8865
8866         * h8300.md: Likewise.
8867
8868 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8869
8870         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
8871         (asm_emit_uninitialised): Likewise.
8872
8873 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
8874
8875         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
8876         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
8877
8878 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8879
8880         * config/mips/mips.c (override_options): Don't turn on extra
8881         alignment for mips16.
8882
8883 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8884
8885         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
8886         eabi, and make sure queued POSTINCREMENT rtl is emitted at
8887         the right point.
8888
8889 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8890
8891         * builtins.c (PAD_VARARGS_DOWN): Define.
8892         (std_expand_builtin_va_arg): Use the above macro.
8893         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
8894         * tm.texi (Register Arguments): Document the above macro.
8895
8896 2000-01-14  Nick Clifton  <nickc@cygnus.com>
8897
8898         * emit-rtl.c (emit_insn): If checking is enabled, make sure
8899         that this function has not been used to emit a jump
8900         instruction.
8901
8902         * jump.c (return_jump_1): Cope with being passed a null rtx.
8903
8904 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8905
8906         * eh-common.h: PROTO -> PARAMS.
8907         * emit-rtl.c: Likewise.
8908         * errors.c: Likewise.
8909         * errors.h: Likewise.
8910         * except.c: Likewise.
8911         * except.h: Likewise.
8912         * explow.c: Likewise.
8913         * expmed.c: Likewise.
8914         * expr.c: Likewise.
8915         * expr.h: Likewise.
8916         * final.c: Likewise.
8917         * fix-header.c: Likewise.
8918         * flow.c: Likewise.
8919         * fold-const.c: Likewise.
8920         * function.c: Likewise.
8921         * function.h: Likewise.
8922         * gcc.c: Likewise.
8923         * gcov-io.h: Likewise.
8924         * gcov.c: Likewise.
8925         * gcse.c: Likewise.
8926
8927 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8928
8929         * sh-protos.h: New file.
8930
8931         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
8932         Add static prototypes.  Fix compile time warnings.
8933
8934         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
8935         * sh.md: Likewise.
8936         * elf.h: Likewise.
8937
8938 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8939
8940         * arc-protos.h: New file.
8941
8942         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
8943         time warnings.
8944
8945         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
8946         warnings.
8947
8948         * arc.md: Likewise.
8949
8950 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8951
8952         * dsp16xx-protos.h: New file.
8953
8954         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
8955         time warnings.
8956
8957         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
8958         warnings.
8959
8960         * dsp16xx.md: Likewise.
8961
8962 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8963
8964         * convex-protos.h: New file.
8965
8966         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
8967         time warnings.
8968
8969         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
8970         warnings.
8971
8972 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8973
8974         * elxsi-protos.h: New file.
8975
8976         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
8977         time warnings.
8978
8979         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
8980         warnings.
8981
8982         * elxsi.md: Likewise.
8983
8984 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8985
8986         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
8987         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
8988         match the comment for MIPS16.
8989
8990 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
8991
8992         * flow.c (split_edge): Do not call set_block_for_insn if we
8993         do not have a basic_block_for_insn structure.
8994
8995         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
8996         and destination functions are 32bit aligned within the trampoline.
8997         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
8998         (TRAMPOLINE_ALIGNMENT): Define.
8999
9000         * cse.c (cse_insn): When changing (set (pc) (reg)) to
9001         (set (pc) (label_ref)), verify the change creates a valid insn.
9002
9003         * fr30.c (call_operand): Tighten and rework to match rules for
9004         call RTL expressions.
9005         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9006         * fr30.md (call patterns): Improve constraints.
9007
9008 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
9009
9010         * fr30.c (fr30_expand_epilogue): Revert last change.
9011         Use emit_jump_insn for the return insn.
9012
9013 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
9014                           Stan Cox  <scox@cygnus.com>
9015
9016         * predict.c: New file. Preliminary infrastructure work for static
9017         branch prediction and basic block reordering.
9018         * basic-block.h: Add prototype for estimate_probability.
9019         * Makefile.in: Add rules for predict.o.
9020
9021 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
9022
9023         * fixincludes (va_list): Use __not_va_list__ for the dummy.
9024         * fixinc/*: Likewise.
9025
9026 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9027
9028         * cccp.c: PROTO -> PARAMS.
9029         * cexp.y: Likewise.
9030         * collect2.c: Likewise.
9031         * combine.c: Likewise.
9032         * convert.h: Likewise.
9033         * cse.c: Likewise.
9034         * dbxout.c: Likewise.
9035         * dbxout.h: Likewise.
9036         * diagnostic.c: Likewise.
9037         * doprint.c: Likewise.
9038         * dwarf2out.c: Likewise.
9039         * dwarf2out.h: Likewise.
9040         * dwarfout.c: Likewise.
9041         * dwarfout.h: Likewise.
9042         * dyn-string.h: Likewise.
9043
9044 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9045
9046         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9047         macro conditionals guarding use.
9048
9049         * dwarf2out.c: Include "tm_p.h".
9050
9051         * function.c (locate_and_pad_parm): Mark parameter with
9052         ATTRIBUTE_UNUSED.
9053         (expand_function_end): Likewise for variable `context'.
9054
9055         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9056
9057 2000-01-13  Nick Clifton  <nickc@cygnus.com>
9058
9059         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9060         register to prevent compile time warnings.
9061
9062 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
9063
9064         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9065         to avoid -Wtraditional warning.
9066
9067 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9068
9069         * 1750a-protos.h: New file.
9070
9071         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
9072         time warnings.
9073
9074         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
9075         warnings.
9076
9077         * 1750a.md: Likewise.
9078
9079 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9080
9081         * a29k-protos.h: New file.
9082
9083         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9084         time warnings.
9085
9086         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
9087         warnings.
9088
9089 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9090
9091         * clipper-protos.h: New file.
9092
9093         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
9094         time warnings.
9095
9096         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
9097         warnings.
9098
9099 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9100
9101         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9102
9103 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
9104
9105         * configure.in (--enable-new-gxx-abi): New option.
9106         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9107         * Makefile.in (GXX_ABI_FLAG): New variable.
9108         * configure: Regenerate.
9109
9110 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9111
9112         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9113         * tm.texi (FORCE_STRUCT_BLK): Document.
9114         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9115
9116 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
9117
9118         * config/ns32k/ns32k.md: Revert Jan 9 change.
9119
9120         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9121         to a mode-test, if the predicate is address_operand.
9122
9123 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
9124
9125         * combine.c (if_then_else_cond): Be careful about what kinds
9126         of RTL expressions are passed to operand_subword.
9127
9128         * flow.c (split_edge): If we have to insert a new jump, make
9129         sure to associate it with a basic block.
9130
9131         * flow.c (commit_one_edge_insertion): A block with one successor
9132         can end in a JUMP_INSN that is not a simplejump.
9133
9134 2000-01-12  Robert Lipe  <robertl@sco.com>
9135
9136         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9137         (BUILD_VA_LIST_TYPE): Define.
9138         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9139         with crtstuff.c.
9140
9141 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
9142
9143         * cccp.c (do_pragma): Add cast to (char *).
9144
9145 2000-01-12  Richard Henderson  <rth@cygnus.com>
9146             Fred Fish  <fnf@be.com>
9147             Jason Merrill  <jason@cygnus.com>
9148
9149         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9150         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9151         * i386/beos-elf.h, i386/beos-pe.h: New files.
9152
9153         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9154         * cross-make (SYSTEM_HEADER_DIR): Define using
9155         CROSS_SYSTEM_HEADER_DIR.
9156
9157         * gcc.c (LIBRARY_PATH_ENV): Provide default.
9158         (process_command): Use it.
9159         (main): Likewise.  Kill trailing = from env vars.
9160         (build_search_list): Put it back.
9161         * collect2.c (main): Use LIBRARY_PATH_ENV.
9162
9163         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9164         * toplev.c: Use NEED_DECLARATION_ENVIRON.
9165
9166         * tm.texi (Frame Layout): Document SMALL_STACK.
9167         * c-common.c (c_common_nodes_and_builtins): Check it.
9168
9169         * system.h: Undef alloca after including glibc's <stdlib.h>,
9170         if USE_C_ALLOCA is defined.
9171
9172         * gcc.c (set_input): New fn.
9173         (main): After all input files are compiled, reset the input file
9174         info to the first.
9175
9176         * aclocal.m4 (rindex, index): If already defined, don't attempt
9177         to redefine.
9178
9179         * ginclude/varargs.h: (__va_list__): Define ifndef.
9180         * ginclude/stdarg.h: Likewise.
9181
9182         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9183         instead of unsigned char.
9184
9185         * hash.h (true, false, boolean): Undef before enum.
9186
9187         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9188         proper type of "HOST_WIDE_INT *", rather than their natural type of
9189         "unsigned HOST_WIDE_INT *".
9190
9191 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9192
9193         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9194
9195         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9196
9197         * regclass.c (choose_hard_reg_mode): Likewise.
9198
9199         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9200
9201         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9202
9203 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9204
9205         * c-common.c: PROTO -> PARAMS.
9206         * c-common.h: Likewise.
9207         * c-decl.c: Likewise.
9208         * c-iterate.c: Likewise.
9209         * c-lang.c: Likewise.
9210         * c-lex.c: Likewise.
9211         * c-lex.h: Likewise.
9212         * c-parse.in: Likewise.
9213         * c-pragma.c: Likewise.
9214         * c-pragma.h: Likewise.
9215         * c-tree.h: Likewise.
9216         * c-typeck.c: Likewise.
9217         * objc/objc-act.c: Likewise.
9218         * objc/objc-act.h: Likewise.
9219
9220 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9221
9222         * m88k-protos.h: New file.
9223
9224         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9225         time warnings.
9226
9227         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
9228
9229         * m88k.md: Likewise.
9230
9231         * tekXD88.h: Likewise.
9232
9233 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9234
9235         * m68k-protos.h: New file.
9236
9237         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9238         time warnings.
9239
9240         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
9241
9242         * mot3300.h: Likewise.
9243
9244 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
9245
9246         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9247         extract_bitlst.
9248         (extract_bitlist): Declare bitlen.
9249
9250 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
9251
9252         * cccp.c: Accept and ignore -lang-fortran.
9253
9254         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9255         qualifiers don't match at any level of pointerness.
9256
9257 2000-01-12  Robert Lipe  <robertl@sco.com>
9258
9259         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9260
9261 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
9262
9263         * reload1.c (reload_reg_unavailable): New static variable.
9264         (reload_reg_free_p): Test it.
9265         (reload_reg_free_for_value_p): Test it instead of
9266         reload_reg_used.
9267         (choose_reload_regs_init): Compute it.
9268
9269 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
9270
9271         * reorg.c (fill_slots_from_thread): Check modified_in_p
9272         before replacing.
9273
9274 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
9275
9276         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9277         these nodes even if INTERNALS is not set.
9278
9279 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
9280
9281         * gcse.c (delete_null_pointer_checks_1): Cope when
9282         get_condition cannot determine the condition.
9283
9284 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
9285
9286         * toplev.h (set_message_length): Declare.
9287
9288         * diagnostic.c (obstack_chunk_alloc): Define macro.
9289         (obstack_chunk_free): Likewise.
9290         (struct output_buffer): New data structure.
9291         (vmessage): Remove.
9292         (output_maximum_width): New variable.
9293         (doing_line_wrapping, set_message_length, init_output_buffer,
9294         get_output_prefix, output_space_left, emit_output_prefix,
9295         output_newline, output_append, output_puts, dump_output,
9296         vbuild_message_string, build_message_string, build_location_prefix,
9297         voutput_notice, output_printf, line_wrapper_printf,
9298         vline_wrapper_message_with_location):  New functions. Implement
9299         automatic line wrapping.
9300         (v_message_with_decl): Make it handle automatic line wrapping.
9301         (v_error_with_file_and_line): Likewise.
9302         (v_warning_with_file_and_line): Likewise.
9303         (announce_function): Likewise.
9304         (default_print_error_function): Likewise.
9305
9306 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9307
9308         * cpplib.h (struct cpp_options): Change lang_asm to char.
9309         Add lang_fortran.
9310         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9311         done in cpp_handle_option now.
9312         (initialize_builtins): Take out special case code used only by
9313         __STDC_VERSION__.
9314         (cpp_handle_option): Turn off trigraphs and trigraph warnings
9315         if -traditional.  Recognize -lang-fortran and set
9316         lang_fortran, also turn off cplusplus_comments.
9317         (print_help): Document -lang-fortran.
9318         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9319         lang_asm. Ignore all directives other than `# 123 "file"' if
9320         CPP_PREPROCESSED.
9321         (cpp_get_token): If -traditional, don't recognize directives
9322         unless the # is in column 1.
9323         (parse_string): If lang_fortran or lang_asm, silently
9324         terminate strings ('' or "") at end of line.
9325         Remove unnecessary braces.
9326
9327 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9328             Richard Henderson  <rth@cygnus.com>
9329
9330         * resource.c (mark_referenced_resources): Mark a set strict_low_part
9331         as used.
9332         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9333         strict_low_part when possible.
9334
9335 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9336
9337         * alias.c: PROTO -> PARAMS.
9338         * basic-block.h: Likewise.
9339         * bitmap.c: Likewise.
9340         * bitmap.h: Likewise.
9341         * builtins.c: Likewise.
9342         * c-aux-info.c: Likewise.
9343         * caller-save.c: Likewise.
9344         * calls.c: Likewise.
9345
9346 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9347
9348         * Makefile.in (toplev.o): Depend on regs.h.
9349
9350         * output.h (tdesc_section): Prototype.
9351
9352         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9353
9354         * sdbout.c: Include "tm_p.h".
9355
9356         * toplev.c: Include "regs.h".
9357
9358 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
9359
9360         * unroll.c (unroll_loop): Add EH support.
9361
9362 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9363
9364         * pa-protos.h: New file.
9365
9366         * pa.c: Include recog.h and tm_p.h.
9367         (compute_zdepwi_operands, compute_movstrsi_length,
9368         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9369         find_addr_reg, import_milli): Add static prototypes.
9370         (pa_cpu_string, pa_arch_string): Constify a char*.
9371         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9372         (read_only_operand): Add argument `mode'.
9373         (singlemove_string, output_move_double, output_fp_move_double,
9374         output_block_move, output_and, output_ior, output_ascii,
9375         remove_useless_addtr_insns, milli_names, output_mul_insn,
9376         output_div_insn, output_mod_insn, output_arg_descriptor,
9377         output_cbranch, output_bb, output_bvb, output_dbra, ,
9378         output_millicode_call, output_call, hppa_encode_label,
9379         output_parallel_movb, output_parallel_addb): Constify a char*.
9380         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9381         (output_parallel_addb): Remove extra arg to `constrain_operands'
9382
9383         * pa.h:  Move all prototypes to pa-protos.h.
9384         (pa_cpu_string, pa_arch_string): Constify a char*.
9385         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9386
9387         * pa.md: Call `function_label_operand' with mode argument.
9388         Likewise for `read_only_operand'.
9389         Fix nesting of parens in call to `symbolic_operand'.
9390
9391 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9392
9393         * i860-protos.h: New file.
9394
9395         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
9396         time warnings.
9397
9398         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
9399
9400         * i860.md: Likewise.
9401
9402 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
9403
9404         * i386.md (movstrsi expander): Rewrite.
9405         (movstrsi_1 insn): Deleted.
9406         (strmovhi, strmovqi expander): New expanders.
9407         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9408         * i386.c (x86_single_stringop): New global variable.
9409         * i386.h (x86_single_stringop): Declare.
9410         (TARGET_SINGLE_STRINGOP): New macro.
9411
9412 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9413
9414         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9415         integer vararg POSTINCREMENT before the destination of the jump
9416         for the hard fp case.
9417         (function_arg_pass_by_reference): Pass a copy of CUM to
9418         FUNCTION_ARG.
9419
9420         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9421         for CONSTANT_ADDRESS_P above while loop for subreg.
9422
9423 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9424
9425         * flow.c (propagate_block): When a prologue/epilogue insn
9426         is marked dead, unconditionally clear libcall_is_dead and
9427         insn_is_dead, and only dump rtl if warnings aren't being
9428         suppressed.
9429
9430 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
9431
9432         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9433         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9434         (FIXED_REGISTERS): Set dirflag as fixed.
9435         (CALL_USED_REGISTERS): Set dirflag as used.
9436         (REG_ALLOC_ORDER): Set dirflag as last one.
9437         (DIRFLAG_REG): New macro.
9438         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9439         (HI_REGISTER_NAMES): Add dirflag.
9440         (DEBUF_PRINT_REG): Handle dirflag.
9441         * i386.md (type attribute): New cld and str types.
9442         (length_opcode attribute): Set cld and str to 1.
9443         (memory attribute): Set str to unknown - it is not clear from the
9444         patterns.
9445         (pent_np function unit): Prefixed string operations takes 12 cycles
9446         minimally; cld takes 2 cycles.
9447         (ppro_uops attribute): Str is "many" and cld is "few".
9448         (ppro_p0 unit): Handle cld here.
9449         (k6_alux unit): Handle cld and str types.
9450         (k6_load unit): It is ocupied by str opcodes.
9451         (k6_store unit): It is ocupied by str opcodes.
9452         (athlon_decode): Str is vector decoded.
9453         (athlon_ieu): Handle str and cld.
9454         (cld pattern): New.
9455         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9456         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9457         cmpstrsi_nz_1 insn): Do not output cld instruction
9458
9459 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
9460
9461         * gcc.texi (G++ and GCC): Add Java and Chill.
9462         (Bug Critera): Don't list languages.
9463
9464         * gcc.texi (Incompatibilities): No longer claim most C compilers
9465         are K&R.
9466
9467         * gcc.texi (G++ and GCC): Update other front-ends list.
9468
9469 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
9470
9471         * i386.c (ix86_expand_setcc): Fix typo.
9472         (ix86_expand_movcc): Similarly.
9473
9474         * Band-aid until haifa's bitset implementation is nuked.
9475         * haifa-sched.c (extract_bitlst): New parameter for size of the
9476         bitset in bits.  All callers changed.  Avoid looking at undefined
9477         bits in the bitset.
9478         (edgeset_bitsize): New variable.
9479         (schedule_region): Initialize edgeset_bitsize.
9480
9481 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9482
9483         * Makefile.in (optabs.o): Depend on real.h
9484         (resource.o): Depend on insn-attr.h
9485
9486         * builtins.c (result_vector): Wrap prototype in macro conditions
9487         governing definition and use.
9488
9489         * c-common.c: Include tm_p.h.
9490
9491         * c-lex.c: Likewise.
9492
9493         * elfos.h: Constify a char*.
9494
9495         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9496         (get_attr_length, shorten_branches, profile_after_prologue): Mark
9497         parameter with ATTRIBUTE_UNUSED.
9498
9499         * fold-const.c (exact_real_inverse): Wrap variable `i' in
9500         CHECK_FLOAT_VALUE.
9501
9502         * haifa-sched.c (schedule_insns): Mark parameter with
9503         ATTRIBUTE_UNUSED.
9504
9505         * optabs.c: Include real.h.
9506
9507         * real.h (ereal_atof): Add prototype arguments.
9508
9509         * resource.c: Include insn-attr.h.
9510
9511         * sdbout.c (sdbout_queue_anonymous_type,
9512         sdbout_dequeue_anonymous_types): Wrap in macro
9513         SDB_ALLOW_FORWARD_REFERENCES.
9514         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9515         ATTRIBUTE_UNUSED.
9516
9517         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9518
9519         * stupid.c: Include tm_p.h.
9520
9521         * tree.c (real_value_from_int_cst): Mark parameter with
9522         ATTRIBUTE_UNUSED.
9523
9524 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9525
9526         * i960-protos.h: New file.
9527
9528         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
9529         time warnings.
9530
9531         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
9532
9533 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9534
9535         * combine.c (expand_field_assignment): Do not discard SUBREGs
9536         while computing nonzero_bits.
9537
9538 2000-01-09  Nick Clifton  <nickc@cygnus.com>
9539
9540         * config/arm/arm.c: Fix compile time warnings about signed vs
9541         unsigned constants.
9542         * config/arm/arm.h: Fix compile time warnings about signed vs
9543         unsigned constants.
9544
9545 2000-01-09  Philip Blundell  <philb@gnu.org>
9546
9547         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9548         than `ldm' with only one register.
9549         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9550         only one register.
9551
9552         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9553         clobbered.
9554
9555 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
9556
9557         * config/ns32k/ns32k.md (load or push effective address): Operand 1
9558         must have SImode.
9559
9560 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9561
9562         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9563         assignment used as truth value.
9564
9565         * function.c (assign_temp): Mark parameter `dont_promote' with
9566         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
9567         PROMOTE_FOR_CALL_ONLY.
9568
9569         * genrecog.c (write_subroutine): Mark variable `operands' with
9570         ATTRIBUTE_UNUSED.
9571
9572         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9573         ATTRIBUTE_UNUSED.
9574
9575         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9576         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9577
9578         * toplev.c (note_deferral_of_defined_inline_function): Likewise
9579         for `decl'.
9580
9581 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9582
9583         * config/c4x.h: Tidy up comments.
9584         * config/c4x.c: Likewise.
9585
9586 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
9587
9588         * fold-const.c (lshift_double, rshift_double): Handle
9589         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9590
9591 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9592
9593         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9594         in prepare_function_start().
9595
9596 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
9597
9598         * config/v850/v850.c (expand_epilogue): Interrupt functions no
9599         longer allocate extra stack for function calls.
9600
9601 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9602
9603         * config/c4x/c4x.md (*subqf3_set): Fix typo.
9604
9605 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9606
9607         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9608
9609 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
9610
9611         * rs6000.c (processor_target_table): Add power3 as alias for 630.
9612         * aix43.h: Revert Aug 2 change.
9613         (HAS_INIT_SECTION): Define, not visible yet.
9614         (LD_INIT_SWITCH): Define, not visible yet.
9615         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9616
9617         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9618
9619         * collect2.c (main): Expand ld2 size further.
9620         (export_object_lst): Cast assignment to avoid warning.
9621         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9622         (scan_prog_file, COFF): Do not collect initialization or
9623         finalization functions generated for entire shared object if
9624         init/fini support present.
9625
9626 2000-01-07  Nick Clifton  <nickc@cygnus.com>
9627
9628         * config/elfos.h: Tidy up formatting of marcos.  Make sure
9629         that .section directives are always prefixed by a tab.
9630
9631         * config/svr4.h: Add #include "elfos.h" and remove duplicate
9632         definitions.
9633
9634 2000-01-07  Matt Austern  <austern@sgi.com>
9635
9636         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9637         expon.
9638
9639 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
9640
9641         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9642         crtstuff.c.
9643         (crtbegin.o, s-crtS): Likewise.
9644
9645 2000-01-06  Richard Henderson  <rth@cygnus.com>
9646
9647         * alpha.md (adddi_2+1): Limit offset such that it will be
9648         loadable with a single ldah+lda pair.
9649         (adddi_2+2): Explicitly fail split if we can't make it work.
9650
9651 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
9652
9653         * protoize.c: Conditionally include unistd.h.
9654         (IS_SAME_PATH_CHAR): New macro.
9655         (IS_SAME_PATH): New macro.
9656         (CPLUS_FILE_SUFFIX): New macro.
9657         (cplus_suffix): New static variable.
9658         (is_abspath): New static function.
9659         (in_system_include_dir): Handle DOS style pathnames.
9660         (file_could_be_converted): Likewise.
9661         (file_normally_convertible): Likewise.
9662         (directory_specified_p): Likewise.
9663         (file_excluded_p): Likewise.
9664         (abspath): Likewise.
9665         (shortpath): Likewise.
9666         (referenced_file_is_newer): Likewise.
9667         (save_def_or_dec): Likewise.
9668         (do_processing): Likewise.
9669         (main): Likewise.
9670         (edit_file): Likewise. Use rename instead of link.
9671         (rename_c_file): Likewise. Don't rename syscalls file.
9672         (munge_compile_params): Define null device for DOS based systems.
9673         (process_aux_info_file): Use binary mode if appliable.
9674         (edit_file): Likewise.
9675         * invoke.texi (Running Protoize): Document C++ suffixes used.
9676
9677         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9678         IS_DIR_SEPARATOR macros.
9679         * collect2.c: Likewise.
9680         * cppinit.c: Likewise.
9681         * dwarf2out.c: Likewise.
9682         * gcc.c: Likewise.
9683         * gcov.c: Likewise.
9684         * prefix.c: Likewise.
9685         * rtl.c: Likewise.
9686         * toplev.c: Likewise.
9687         * system.h: And move to here.
9688
9689         * prefix.c (update_path): Fix typo in variable name.
9690
9691 2000-01-06  Richard Henderson  <rth@cygnus.com>
9692
9693         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9694         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9695         (count_reg_sets_1, count_reg_references): Likewise.
9696         (flow_loops_level_compute): Start counting actual loop depth at 1.
9697         (flow_loops_find): Likewise.
9698         * local-alloc.c (update_equiv_regs): Likewise.
9699         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9700
9701 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9702
9703         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9704         FIRST_PSEUDO_REGISTER
9705         * dwarf2out.c: Don't include frame.h
9706         * dwarfout.c: Likewise
9707         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9708         frame.h
9709
9710 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
9711
9712         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9713         dead registers.
9714
9715         * i386.c (movsf splitter): Fix typo in my last checkin.
9716
9717 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9718
9719         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9720         own definition of this macro.
9721         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9722         flag_data_sections or UNIQUE_SECTION_P are true.
9723
9724         * tm.texi (UNIQUE_SECTION): Document that it can be called for
9725         unitialised data decls.
9726
9727         * config/i386/winnt.c (i386_pe_unique_section): Cope with
9728         being called for uninitialised data.
9729
9730         * config/i386/interix.c (i386_pe_unique_section): Cope with
9731         being called for uninitialised data.
9732
9733         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9734         for uninitialised data.
9735
9736         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9737         for uninitialised data.
9738
9739         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9740         for uninitialised data.
9741
9742         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9743         (UNIQUE_SECTION_P): Always generate a unique section if
9744         flag_data_sections is true.
9745         (UNIQUE_SECTION): Also generate unique sections for
9746         uninitialised data.
9747         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9748         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9749         named_section().
9750
9751 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9752
9753         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9754         SI, or DI.
9755
9756 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9757
9758         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9759         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9760         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9761         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9762         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9763
9764         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9765
9766 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
9767
9768         * c-decl.c (finish_enum): Simplify code to determine minimum and
9769         maximum values of the enum, and calculate the type.  Remove check
9770         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
9771         the DECL_INITIAL of each enumeration constant with a copy converted
9772         to the enumeration type.  When updating variant types, don't bother
9773         updating the type itself.
9774
9775         * c-typeck.c (build_binary_op): Simplify conditional expressions
9776         when weeding out spurious signed-unsigned warnings.  Add new
9777         spurious warning category: if the unsigned quantity is an enum
9778         and its maximum value fits in signed_type(result_type).  Update
9779         commentary.
9780         (build_conditional_expr): Warn here if one alternative is signed
9781         and the other is unsigned.
9782
9783 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9784
9785         * config/fr30/fr30.h: Remove extraneous comments.
9786
9787 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
9788
9789         * reload1.c (choose_reload_regs): When disabling a reload, also
9790         set reload_spill_index to -1.
9791
9792 2000-01-04  Joel Sherrill (joel@OARcorp.com>
9793
9794         * configure.in (m68*-*-rtemscoff*): New target, formal name for
9795         old m68*-*-rtems*.
9796         (m68*-*-rtemself*): New target.
9797         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9798         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9799         (sparc*-*-rtemself*): New target.
9800         (sparc*-*-rtems*): Now elf not a.out.
9801         * config/i386/rtems.h: Include config/rtems.h.
9802         * config/i386/rtemself.h: Include config/rtems.h.
9803         * config/i960/rtems.h: Include config/rtems.h.
9804         * config/m68k/rtems.h: Include config/rtems.h.
9805         * config/m68k/rtemself.h: Include config/rtems.h.
9806         * config/mips/rtems64.h: Include config/rtems.h.
9807         * config/pa/rtems.h: Include config/rtems.h.
9808         * config/rs6000/rtems.h: Include config/rtems.h.
9809         * config/sh/rtems.h: Include config/rtems.h.
9810         * config/sh/rtemself.h: Include config/rtems.h.
9811         * config/sparc/rtems.h: Include config/rtems.h.
9812         * config/sparc/rtemself.h: Include config/rtems.h
9813
9814 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
9815
9816         * final.c (shorten_branches): Correctly compute length of
9817         asms without operands.
9818
9819 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
9820
9821         * configure.in: Add pj target.
9822         * configure: Regenerate.
9823         * config/pj: New directory.
9824         * config/pj/lib1funcs.S: New file.
9825         * config/pj/linux.h: New file.
9826         * config/pj/pj.c: New file.
9827         * config/pj/pj.md: New file.
9828         * config/pj/pjl.h: New file.
9829         * config/pj/t-pj: New file.
9830         * config/pj/xm-pj.h: New file
9831
9832 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
9833
9834         * toplev.c (rest_of_compilation): Run shorten-branches before
9835         reg-stack for now.
9836
9837 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9838
9839         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9840         macros so that they're consistent with their names.
9841         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9842         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9843
9844 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9845
9846         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9847         modified inadvertently.
9848
9849 2000-01-04  Joel Sherrill <joel@OARcorp.com>
9850
9851         * configure.in (v850*-*-rtems*): New target.
9852         * configure: Regenerate.
9853         * config/v850/rtems.h: New file.
9854
9855 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
9856
9857         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9858         (__gthread_key_create): Likewise.
9859         (__gthread_key_dtor):  Likewise.
9860         (__gthread_once): Fix logic.
9861         (__gthread_key_delete): Cast away constness.
9862
9863         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9864         * invoke.texi: Document.
9865         * i386/mingw32.h (CPP_SPEC): Use.
9866         (LIBGCC_SPEC): Likewise.
9867         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
9868
9869 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
9870
9871         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
9872         (HANDLE_PRAGMA_PACK): Undefine.
9873         (SLOW_UNALIGNED_ACCESS): Define.
9874
9875 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
9876
9877         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9878         to default definition.
9879         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
9880         (store_fixed_bit_field): Call macro with word_mode and alignment.
9881         (extract_bit_field): Call macro with relevant mode and alignment.
9882         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9883         to default definition.
9884         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
9885         and alignment.
9886         (move_by_pieces_ninsns): Likewise.
9887         (clear_by_pieces): Likewise.
9888         (emit_push_insn): Likewise.
9889         (store_field): Call macro with relevant mode and alignment.
9890         (expand_expr): Likewise.
9891         (expand_expr_unaligned): Likewise.
9892
9893         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
9894         (SLOW_UNALIGNED_ACCESS): Define.
9895         (CASE_VECTOR_MODE): Always use 32-bit offsets.
9896         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
9897         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
9898         (toc_section): Likewise and .toc pseudo-op.
9899         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
9900         64-bit mode.
9901         (TEXT_SECTION_ASM_OP): Likewise.
9902         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
9903         32-bit offsets.
9904
9905         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
9906         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
9907         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
9908         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
9909         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
9910
9911 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
9912
9913         * regclass.c: Revert my Jan 4 change to loop cost computation.
9914
9915 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9916
9917         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
9918         compilation.
9919
9920 2000-01-04  Stan Cox  <scox@cygnus.com>
9921
9922         * haifa-sched.c (build_control_flow): Change unreachable simple
9923         loop test to check if current block has only one predecessor.
9924         (find_rgns): Initialize degree.  Use dest as degree index, not src.
9925
9926 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9927
9928         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
9929
9930         * calls.c (expand_call): Likewise for
9931         `old_stack_arg_under_construction'.
9932
9933         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
9934
9935         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
9936         `save_constant'.
9937
9938         * gcc.c (execute): Likewise for `ut' and `st'.
9939
9940         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
9941
9942         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
9943
9944         * jump.c (jump_optimize_1): Likewise for `temp2'.
9945
9946         * local-alloc.c (block_alloc): Likewise for `r1'.
9947
9948         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
9949
9950         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
9951         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
9952
9953         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
9954         and `set2'.
9955
9956         * reload.c (find_reloads): Likewise for `goal_alternative_number'
9957         and `goal_earlyclobber'.
9958
9959         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
9960
9961         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
9962
9963         * stupid.c (stupid_life_analysis): Likewise for `chain'.
9964
9965         * unroll.c (copy_loop_body): Likewise for `copy'.
9966
9967         * varasm.c (output_constructor): Likewise for `byte'.
9968
9969 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9970
9971         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
9972         all FP constants for constant->reg moves.
9973         (ix86_split_to_parts): Try to convert memory address into immediate
9974         when available in the constant pool.
9975         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
9976         moves.
9977         (LEGITIMATE_CONSTANT_P): Return 1.
9978         * i386.md (pushsf): New splitter to convert constant pool memory
9979         reference to immediate.
9980         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
9981         reload.
9982
9983 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
9984
9985         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
9986         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
9987         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
9988         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
9989         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
9990
9991 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
9992
9993         * ginclude/stdbool.h:  Support compilation as C++.
9994
9995 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9996
9997         * fold-const.c (make_range): Don't try to reverse an unbounded range.
9998
9999 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
10000
10001         * regclass.c (regclass): Properly compute loop_cost.  Adjust
10002         comments.
10003
10004         * regclass.c: Fix minor whitespace problems.
10005
10006 2000-01-03  Anthony Green  <green@cygnus.com>
10007
10008         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10009         Restore the pic register if required.
10010
10011 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
10012
10013         * c-common.c (format_char_info): Update comment.
10014         (check_format_info): Recognize 'z' modifier in the same way 'Z'
10015         was recognized.  Emit warning for formats new in ISO C99 only
10016         if flag_isoc9x is not set.
10017
10018 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
10019
10020         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10021
10022 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10023
10024         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10025         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10026         (make_compound_operation): Choose cheaper alternative between
10027         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10028
10029         * regclass.c (op_costs): Remove global variable.
10030         (record_reg_classes): New parameter "op_costs" and "reg_pref".
10031         (record_operand_costs): Break out from ...
10032         (scan_one_insn): ... here.
10033         (dump_regclass): Make dumps nicer.
10034         (regclass): Dump preferrences choosed and changes done during passes.
10035
10036 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10037
10038         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10039
10040 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10041
10042         * config/sparc/sparc.c (gen_df_reg): New function.
10043         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10044         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10045         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10046         movtf_cc_reg_sp64+1): Use it.
10047
10048 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10049
10050         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10051         copied LABEL_DECLs.
10052
10053 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10054
10055         * config/i386/i386.c (ix86_expand_unary_operator): Function
10056         definition made void.
10057         (ix86_expand_binary_operator): Update outdated preceding comment.
10058         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10059         prototype.
10060
10061         * config/i386/i386.c (override_options): Fix option-name typo.
10062
10063 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10064
10065         * system.h (CEIL): Define.
10066         * builtins.c (CEIL): Remove.
10067         * expmed.c (CEIL): Likewise.
10068         * expr.c (CEIL): Likewise.
10069         * stor-layout.c (CEIL): Likewise.
10070
10071 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10072
10073         * expr.c (store_constructor_field): Fix typo introduced with last
10074         gcc2 merge.
10075
10076 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
10077
10078         * tree.h (BINFO_N_BASETYPES): New macro.
10079
10080 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
10081
10082         * expmed.c (emit_store_flag): Prevent losing a pending stack
10083         adjust the same way we prevent losing queued increments.
10084
10085 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10086
10087         * function.c (update_temp_slot_address): Handle case where sum of
10088         temporary address plus offset in register is a valid address.
10089
10090 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
10091
10092         * genrecog.c (change_state) Corrected typo.
10093
10094 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10095
10096         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10097         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10098         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10099
10100 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10101
10102         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10103         case, expand GT comparisons correctly.  Fix a comment before this
10104         part of the code.
10105
10106 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10107
10108         * dwarfout.c: Include "frame.h"
10109         * dwarf2out.c: Likewise.
10110         * Makefile.in (dwarfout.o): Depend on frame.h
10111         (dwarf2out.o): Likewise.
10112
10113 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10114
10115         Restore i386 binary compatibility in Dwarf EH info.
10116         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10117         value of FIRST_PSEUDO_REGISTER.
10118         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10119         (struct frame_state): Use DWARF_FRAME_REGISTERS.
10120         * dwarfout.c (output_reg_number): Ditto.
10121         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10122         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10123
10124 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
10125
10126         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10127         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10128         (<hack>_RE_CT): not needed
10129         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10130         rewritten to scan the file text once only
10131         "template<..." test added
10132         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10133         (is_cxx_header): declaration added
10134         * fixinc/fixtests.c(is_cxx_header): removed
10135         (apply_fix_p_t): removed
10136         (double_slash_test): is_cxx_header is only called once now
10137         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10138         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10139         within the templates.
10140         The borken spelling of "broken" was fixed.
10141         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10142         The default level depends on FIXINC_DEBUG.
10143
10144 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10145
10146         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10147         Otherwise provide a declaration for atexit.
10148         (init_dummy): Make sure dummy call to atexit is nevertheless
10149         called with correct number of args.
10150
10151         * frame.c: Update comments referring to other files.
10152
10153         * libgcc2.c: Likewise.
10154
10155 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10156
10157         * cse.c (free_element, get_element): Remove unused prototypes.
10158
10159         * fold-const.c (extract_muldiv): Initialize variables `op0' and
10160         `op1'.
10161
10162         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10163         `else' clauses.
10164
10165 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
10166
10167         * configure.in,configure: case arm for mn10200-*-* now sets
10168         float_format=i32 so that float.h will correctly claim "double"
10169         to be 32 bits. Ran autoconf to generate configure from .in file.
10170
10171 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
10172
10173         * pa.md (conditional zero): If op1 is a register, force it into
10174         the same register as op0.
10175
10176 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
10177
10178         * tree.h (BINFO_BASETYPES): Improve documentation.
10179
10180 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10181
10182         * configure.in (--enable-checking): Use a more portable `for'
10183         loop syntax.
10184
10185 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10186
10187         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10188         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10189
10190         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10191         Delete files.
10192
10193         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10194         Delete descriptions.
10195
10196         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10197         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10198         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10199         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10200         xm-svr4.h: Remove all instances of sys_siglist handling.
10201
10202 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
10203
10204         * config/sparc/sparc.md (cmp_zero_qi,
10205         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10206         cmp_zero_extendqidi2_andcc_set): New patterns.
10207
10208 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
10209
10210         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10211         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10212         (fpgnulib.c, xfgnulib.c): Add rules.
10213         * m68k/t-mot3300-gas: Likewise.
10214
10215 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
10216
10217         * configure.in: Avoid [[ by using test and changequote.  Add
10218         changequote required by 1999-12-14 change.
10219         * configure: Rebuild.
10220
10221 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
10222
10223         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10224
10225 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
10226
10227         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10228         * flow.c (find_use_as_address): Likewise.
10229         * function.c (fixup_var_refs_1): Likewise.
10230         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10231         * jump.c (invert_exp, redirect_exp): Likewise.
10232         * loop.c (replace_call_address): Likewise.
10233         (count_nonfixed_reads): Likewise.
10234         * rtlanal.c (modified_between_p): Likewise.
10235         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10236         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10237         * unroll.c (remap_split_bivs): Likewise.
10238
10239 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10240
10241         * diagnostic.c (v_message_with_decl): Use .* format specifier
10242         instead of building the format specifier width manually.
10243
10244         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10245         determining whether to provide a prototype.  Remove the
10246         sys_siglist clause in the conditional.
10247
10248 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10249
10250         * fold-const.c (operand_equal_p): Use memcmp to compare string
10251         constants.
10252         Suggested by D. J. Bernstein
10253
10254 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10255
10256         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10257         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10258         compiling libgcc2.
10259         * config/mips/mips.h (TARGET_64BIT): Likewise.
10260         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10261         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10262         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
10263         dsps.  Give routines proper names if SI/DI modes are not used.
10264         * longlong.h: Use DWunion instead of DIunion.
10265
10266 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
10267
10268         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10269         GC_CHECKING, GC_ALWAYS_COLLECT.
10270         * configure.in: Allow --enable-checking with an argument
10271         listing check modes to enable.
10272         * config.in, configure: Rebuilt.
10273         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10274         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10275         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
10276         ENABLE_GC_ALWAYS_COLLECT.
10277         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10278         throughout.
10279         * tree.h, tree.c: Change ENABLE_CHECKING to
10280         ENABLE_TREE_CHECKING throughout.
10281
10282 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10283
10284         * fold-const.c (fold_truthop): Properly check for FP RHS.
10285
10286 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
10287
10288         * toplev.h (note_deferall_of_defined_inline_function): Declare.
10289         * toplev.c (note_deferral_of_defined_inline_function): New
10290         function, split out from ...
10291         (rest_of_compilation): ... here.  Use it.
10292
10293 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10294
10295         * expr.c (store_constructor): Don't call clear_storage if size is
10296         variable.
10297
10298 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10299
10300         * Makefile.in (toplev.o): Depend on loop.h.
10301
10302         * dwarfout.c: Include tm_p.h.
10303
10304         * emit-rtl.c (restore_emit_status): Mark parameter with
10305         ATTRIBUTE_UNUSED.
10306
10307         * final.c (final_scan_insn): Likewise.
10308
10309         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10310         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10311         flow_depth_first_order_compute, flow_loop_pre_header_find,
10312         flow_loop_tree_node_add, flow_loops_tree_build,
10313         flow_loop_level_compute, flow_loops_level_compute,
10314         flow_loop_outside_edge_p): Add prototypes.
10315         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10316
10317         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10318         Mark with ATTRIBUTE_NORETURN.
10319
10320         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10321
10322         * local-alloc.c (no_conflict_p): Likewise.
10323
10324         * loop.c (insert_bct): Hide definitions of variables with hidden
10325         usage.
10326         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10327
10328         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10329         with ATTRIBUTE_UNUSED.
10330         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10331         (reg_scan): Likewise.
10332
10333         * reload.c (find_reloads): Remove unused variables `changed'.
10334
10335         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10336         away const-ness.
10337         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10338         Remove unused variable `insn'.
10339
10340         * toplev.c: Include loop.h.
10341         (report_file_and_line): Remove unnecessary prototype.
10342
10343         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10344
10345         * unroll.c (biv_total_increment): Likewise.
10346
10347 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10348
10349         * reload1.c (emit_input_reload_insns): Restore old behaviour
10350         wrt. 'special' reloads.
10351
10352 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
10353
10354         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10355         hash.h.  (cse.c): Don't depend on hashtab.h.
10356
10357         * cse.c: Don't include hashtab.h.
10358         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10359         of dead functions.
10360         * ggc-simple.c: Don't include hash.h.
10361
10362 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
10363
10364         * dwarf2out.c (add_abstract_origin_attribute): Call
10365         gen_abstract_function on our function context.
10366
10367 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10368
10369         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10370
10371 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10372
10373         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10374         case in switch.
10375
10376 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10377
10378         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10379         constraints to "a!r".
10380
10381 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
10382
10383         * Makefile.in (calls.o): Depend on function.h.
10384         (alias.o): Likewise.
10385
10386 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
10387
10388         * reload1.c (emit_reload_insns): Break out code and variables into...
10389         (input_reload_insns, other_input_address_reload_insns,
10390         other_input_reload_insns, input_address_reload_insns,
10391         inpaddr_address_reload_insns, output_reload_insns,
10392         output_address_reload_insns, outaddr_address_reload_insns,
10393         operand_reload_insns, other_operand_reload_insns,
10394         other_output_reload_insns): ... new static variables, and...
10395         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10396         do_output_reload): ... new functions.
10397
10398 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10399
10400         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10401
10402 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10403
10404         * md.texi: Add c4x constraints documentation.
10405
10406 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10407
10408         * config/i386/dgux.c (struct option): Rename to
10409         lang_independent_option.
10410         (struct m_options): Add description field.
10411         (output_options): Rename option type, add sep declaration, output
10412         ix86_cpu_string and ix86_arch_string only if set.
10413         (output_file_start): Rename option type.
10414
10415 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
10416
10417         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10418         stmp-int-hdrs.
10419         (libgcc2.a): Similarly.
10420
10421 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
10422
10423         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10424         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
10425         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10426
10427 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
10428
10429         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10430         Remove redundant initialization of "frexpon" and "expon".
10431
10432 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10433
10434         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10435
10436         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10437         (store_constructor_field, expand_expr): Pass new arg.
10438
10439 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
10440
10441         * Makefile.in (explow.o): Depend on function.h.
10442
10443         * stor-layout.c (set_sizetype): Fix typo.
10444
10445 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
10446
10447         * function.c (cfun): Renamed from current_function.  All users
10448         changed.
10449         * function.h (cfun): Rename declaration as well.
10450
10451         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10452         to be of type regset_head, not regset.  All users changed by adding
10453         address operator.
10454         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10455
10456 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10457
10458         * config/c4x/rtems.h: New file.
10459
10460 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10461
10462         * reload1.c (spill_failure): Take class of failed reload as argument
10463         and print it.  Caller changed.
10464
10465 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10466
10467         * rs6000.h (SUBTARGET_DEFAULT): New macro.
10468         (TARGET_SWITCHES): Allow subtargets to default switches.
10469         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10470
10471 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
10472
10473         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10474         in a main program.
10475
10476 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
10477
10478         * cccp.c (main): Define __STDC_VERSION__ as necessary.
10479         * cppinit.c (cpp_handle_option): Likewise.
10480
10481         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10482         determine when to define.
10483
10484 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
10485
10486         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10487         cmove with mismatched test and data modes.
10488
10489 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
10490
10491         * c-typeck.c (c_expand_start_case): Don't warn for long switch
10492         in system headers.
10493
10494 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10495
10496         * alias.c: Minor reformatting.
10497         * flow.c: Likewise.
10498         * regs.h: Likewise.
10499         * stor-layout.c: Likewise.
10500         * fold-const.c: Likewise.
10501         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10502         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10503         not arg itself.
10504         (size_int_wide): Cache nodes even if garbage collecting.
10505         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10506         of SAVE_EXPR has no side effects.
10507         * cse.c: Move a comment.
10508         * tree.c: Minor reformatting.
10509         (int_size_in_bytes): Return -1 if constant overflows.
10510
10511 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10512
10513         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10514
10515 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10516
10517         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
10518         after any change to c-parse.in, even if objc-parse.y didn't
10519         change.  Oops.
10520
10521 1999-12-18  David S. Miller  <davem@redhat.com>
10522
10523         * toplev.c (rest_of_compilation): Restore BLOCK tree
10524         reconstruction and branch shortening changes lost in
10525         December 18th change.
10526
10527 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
10528
10529         * config/arm/linux-elf.h: Change all instances of
10530         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10531         * config/arm/uclinux-elf.h: Likewise.
10532
10533 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
10534
10535         * toplev.c (notice, vmessage, v_message_with_file_and_line,
10536         v_message_with_decl, file_and_line_for_asm,
10537         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10538         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10539         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10540         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10541         pfatal_with_name, fatal_io_error, need_error_newline,
10542         last_error_function, last_error_tick, announce_function,
10543         default_print_error_function, print_error_function,
10544         report_error_function, fnotice, error_with_file_and_line,
10545         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10546         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10547         warning_with_decl, warning_for_asm, warning, pedwarn,
10548         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10549         diagnostic.c
10550         (compile_file): Use fnotice instead of notice.  Adjust call.
10551
10552         * diagnostic.c: New file.
10553
10554         * Makefile.in (OBJS): Include diagnostic.o
10555         (diagnostic.o): Define dependence.
10556
10557 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10558
10559         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10560         Tweak formatting.
10561
10562 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10563
10564         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10565
10566 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10567
10568         * fixtests.c (is_cxx_header): New fn, split out of
10569         double_slash_test.
10570         (else_endif_label): Allow "#endif // comment" in C++ headers,
10571         as determined by is_cxx_header.
10572         * fixfixes.c (else_endif_label_fix): Update comment.
10573         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10574         a tty.
10575         * genfixes: Correct double thinko in commandline parsing.
10576         * hackshell.tpl: Generate correct sh syntax for bypass
10577         entries.
10578
10579         * inclhack.def (all): Whenever an inserted preprocessor
10580         conditional is split over multiple lines, use double
10581         backslashes in this file so the fixed header will be readable.
10582
10583         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10584         and add bypass entry for correct version of this header.
10585         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10586         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10587
10588         (hpux8_bogus_inlines): New fix, split from...
10589         (ultrix_atof_param) ... here.
10590         (math_expression): Add bypass entry keyed to glibc comment
10591         indicating the problem has been dealt with; disable
10592         unnecessary sed operations; update commentary.
10593         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10594         add select and bypass entries, simplify shell operation.
10595         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10596
10597         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10598          ultrix_atof_param): Add select entry.
10599         (stdio_va_list, sunos_mather_decl): Add bypass entry.
10600         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10601         comments with the fixes they describe.
10602
10603         * c-parse.in (string action): Do not warn about ANSI string
10604         concatenation in system headers.  Affects C parser only.
10605         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10606
10607 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10608
10609         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10610         compiling libgcc2 the macro depends always on arch cpp defines.
10611
10612 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
10613
10614         * loop.c (insert_loop_mem): Don't record MEMs from inside
10615         EXPR_LISTs.
10616
10617 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
10618
10619         * regclass.c (regclass): Do not use flowgraph when not optimizing.
10620
10621         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10622         notes too, create one when replacement failed, attempt to simplify
10623         resulting notes.
10624         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10625         or REG_EQUIV notes.
10626
10627 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10628
10629         * crtstuff.c (__dso_handle): Declare.
10630         (__cxa_finalize): Likewise.
10631         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10632         non-NULL.
10633
10634         * invoke.texi: Document -fuse-cxa-atexit.
10635
10636         * tree.h (ptr_type_node): Document.
10637         (const_ptr_type_node): Likewise.
10638
10639 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10640
10641         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10642         (optimize_reg_copy_2): Likewise.
10643         (optimize_reg_copy_3): Likewise.
10644         (fixup_match_2): Likewise.
10645         (regmove_optimize): Likewise.
10646         (fixup_match_1): Liekwise.
10647
10648         * i386.md (HI to SImode promoting splitters): Rewrite.
10649         (pushsf mem peep2): New.
10650         (testhi to andhi peep2): Remove.
10651         * i386.h (x86_promote_QImode): New.
10652         (TARGET_PROMOTE_QImode): New.
10653         (PREDICATE_CODES): Add promotable_binary_operator.
10654         * i386.c (x86_promote_QImode0: New.
10655         (promotable_binary_operator): New.
10656         * i386-protos.h (promotable_binary_operator): New.
10657
10658         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10659         condition.
10660         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10661
10662 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10663
10664         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10665         * function.c (insert_block_after_note): Remove.
10666         (retrofit_block): Likewise.
10667         (identify_blocks): Fix indentation.
10668         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10669         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10670         * function.h (insert_block_after_note): Remove prototype.
10671         (retrofit_block): Likewise.
10672         * integrate.c (expand_inline_function): Don't call
10673         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
10674         just expand_start_bindings.  Use the block_map to remap old
10675         NOTE_BLOCKs to new ones.
10676         (integrate_decl_tree): Keep track of remapped blocks.
10677         * integrate.h (struct inline_remap): Add block_map.
10678         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
10679         NOTE_BLOCK on the notes.
10680         (expand_start_bindings): Rename to ...
10681         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
10682         (expand_end_bindings): Set NOTE_BLOCK.
10683         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10684         reconstruct the BLOCK tree.
10685         * tree.h (expand_start_bindings): Macroize.  Call ...
10686         (expand_start_bindings_and_block): New function.
10687
10688 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10689
10690         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10691         to match the format.
10692
10693 1999-12-16  David S. Miller  <davem@redhat.com>
10694
10695         * expr.c (emit_move_insn_1): Only emit clobbers if one of
10696         the outputs is a SUBREG.
10697         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10698         change.
10699
10700         * config/sparc/sparc.c (epilogue_renumber): Add default case
10701         to switch stmt.
10702
10703 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10704
10705         * toplev.c (rest_of_compilation): Run branch shortening after
10706         reg-stack.
10707
10708         * regclass.c (loop_depth): Remove
10709         (scan_one_insn): Do not handle LOOP_NOTE insns.
10710         (regclass): Go through basic blocks and set loop_cost
10711
10712 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
10713
10714         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10715
10716 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10717
10718         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10719         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10720         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10721
10722 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
10723
10724         * loop.c (insert_loop_mem): Ignore memory clobbers.
10725
10726         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10727         to (OP A B).
10728
10729 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
10730
10731         * profile.c: Remove redundant #include "output.h".
10732
10733         * h8300.md (HImode preinc peephole): Fix typo.
10734
10735 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10736
10737         * function.c (retrofit_block): Abort if we don't find a suitable insn.
10738         (insert_block_after_note): Abort if we don't have a previous block.
10739         Remove FN parameter.
10740         * function.h: Adjust.
10741
10742 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
10743
10744         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10745         argument more than once.
10746
10747 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10748
10749         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10750
10751 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
10752
10753         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10754
10755 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10756
10757         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10758         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10759         update stack_alignment_needed.
10760         (prepare_function_start): Initialize stack_alignment_needed
10761         * function.h (struct function): Add field stack_alignment_needed.
10762
10763 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10764
10765         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10766         Handle live_throughout / dead_or_set instead of live_before /
10767         live_after.
10768         (save_call_clobbered_regs): Get register livenessinformation from
10769         chain->live_throughout.
10770         (add_stored_regs): New function.
10771         (insert_restore, insert_save): Add restored / saved registers to
10772         dead_or_set.
10773         * global.c (reg_dies): New parameter chain.
10774         (reg_becomes_live): Third parameter is regs_set now.
10775         Changed all callers.
10776         (reg_dies): New parameter chain.  Changed all callers.
10777         (build_insn_chain): Set live_throughout instead of
10778         live_before / live_after.
10779         * reload.h (struct insn_chain): Replace members live_before /
10780         live_after with live_throughout / dead_or_set.
10781         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10782         instead of live_before / live_after.
10783         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10784         (order_regs_for_reload, find_reg, finish_spills): Likewise.
10785         (choose_reload_regs_init): Likewise.
10786         * stupid.c (current_chain, find_clobbered_regs): Delete.
10787         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10788         instead of chain->live_before / chain->live_after.
10789         (mark_hard_ref): New function.
10790         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10791
10792 1999-12-15  David S. Miller  <davem@redhat.com>
10793
10794         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10795
10796 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10797
10798         * flow.c (calculate_loop_depth): Make global, remove prototype,
10799         rewrite to use new loop infrastructure.
10800         (find_basic_block): Remove calculate_loop_depth call.
10801         * toplev.c (rest_of_compilation): Call find_basic_block.
10802         * output.h (calculate_loop_depth): Declare.
10803
10804         * flow.c (dump_flow_info): Dump loop_depth.
10805         (flow_loops_nodes_find): Increase loop_depth for basic block in the
10806         body.
10807         (flow_loops_find): Initialize the loop_depth for each basic block.
10808
10809 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10810
10811         * tree.c (decl_function_context): Handle virtual functions.
10812
10813         * tlink.c (scan_linker_output): Don't look in demangled name when
10814         looking for linker output keywords.
10815
10816         * dwarfout.c (output_type): We can defer namespace-scope classes.
10817
10818 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
10819
10820         * regclass.c (record_reg_classes): Update comment for merging
10821         register class preferences in reg->reg copies.  Tighten conditions
10822         for merging register class preferences in reg->reg copies.
10823
10824 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
10825
10826         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10827
10828 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
10829
10830         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10831         (INIT_SECTION_ASM_OP): Delete.
10832         (FINI_SECTION_ASM_OP): Delete.
10833         (STARTFILE_SPEC): Define to hold just crtbegin.o.
10834
10835 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
10836
10837         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10838         the abstract origin wasn't emitted.
10839
10840         * dwarf2out.c (class_scope_p): New fn.
10841         (gen_subprogram_die): Use it.
10842         (gen_variable_die): Use it.  Tweak logic.
10843         (gen_struct_or_union_type_die): Check context_die to determine
10844         if we're function-local.
10845         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10846
10847 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10848
10849         * loop.c (check_dbra_loop): Can't reverse a biv that has
10850         maybe_multiple set.
10851
10852 1999-12-14  Nick Clifton  <nickc@cygnus.com>
10853
10854         * config/arm/arm.c: Add support for -mcpu=arm720 command line
10855         switch.
10856
10857 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10858
10859         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10860         for givs made from biv increments.
10861
10862 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
10863
10864         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10865         * alpha.c (override_options): Recognize -mcpu=ev67.
10866         * alpha.h (CPP_CPU_EV67_SPEC): New.
10867         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
10868         (EXTRA_SPECS): Update.
10869
10870 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
10871
10872         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
10873         appropriate for -lang-c89 and -std=*.
10874         * cppinit.c (cpp_handle_option): Likewise.
10875         (new_pending_define): New, split out from cpp_handle_option.
10876         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
10877         or enable trigraphs for -ansi/-std=*.
10878
10879         * ginclude/stdarg.h (__va_copy): New.
10880         (va_copy): Don't define for C89.
10881
10882 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
10883
10884         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
10885         for long long multiply-accumulate.
10886
10887 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10888
10889         * regclass.c (scan_one_insn): Set loop_cost to 1 when
10890         optimizing for size.
10891
10892 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10893
10894         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
10895         if something changed.  Back out that part of yesterday's changes.
10896
10897         * loop.c (loop_max_reg): New static variable.
10898         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
10899         max_reg_num.
10900         (scan_loop): Call reg_scan_update whenever we may have added new
10901         registers, and update loop_max_reg.
10902
10903 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10904
10905         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
10906         when source does not die.
10907
10908         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
10909
10910 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
10911
10912         * config/sparc/linux64.h (TARGET_LIVE_G0,
10913         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
10914         variants on Linux.
10915         * config/sparc/linux.h (TARGET_LIVE_G0,
10916         TARGET_BROKEN_SAVERESTORE): Likewise.
10917         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
10918         TARGET_BROKEN_SAVERESTORE): Likewise.
10919
10920         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
10921         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
10922         not %g2.
10923         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
10924         as sparc64 block profiling register.
10925         * config/sparc/sparc.c (sparc_override_options): Allow block
10926         profiling with -m32.
10927         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
10928         profiling register.
10929         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
10930         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
10931         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
10932
10933         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
10934         for sparc64.
10935         * config/sparc/sparc.h: Likewise.
10936         * config/sparc/xm-sysv4-64.h: Likewise.
10937         * config/float-sparc.h: Likewise.
10938         * glimits.h: Likewise.
10939         * longlong.h: Likewise.
10940
10941         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
10942         (ASM_IDENTIFY_GCC): Remove.
10943
10944 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10945
10946         * combine.c (combine_simplify_rtx): Don't make shared rtl.
10947         (simplify_logical): Likewise.
10948
10949 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
10950
10951         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
10952         * cppfiles.c (INO_T_EQ): Likewise.
10953
10954 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
10955
10956         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
10957         * i386/mingw32.h (LIB_SPEC): Likewise.
10958         (STARTFILE_SPEC): Likewise.
10959         * i386/uwin.h (LIB_SPEC): Likewise.
10960         (STARTFILE_SPEC): Likewise.
10961
10962         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
10963         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
10964
10965 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
10966
10967         * combine.c (combine_simplify_rtx): Fix order of checks for
10968         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
10969
10970 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
10971
10972         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
10973         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
10974
10975 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
10976
10977         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
10978         defined.
10979         * regclass.c (inv_reg_alloc_order): New array.
10980         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
10981
10982         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
10983         counted_for_groups, counted_for_nongroups.  Add fields rld and
10984         n_reloads.
10985         * reload.c (push_secondary_reload): Don't set nongroup field of
10986         new reloads.
10987         (push_reload): Likewise.
10988         (find_reloads): Delete code to compute nongroup fields.
10989         * reload1.c (reload_insn_firstobj): New static variable.
10990         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
10991         users changed.
10992         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
10993         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
10994         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
10995         functions.
10996         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
10997         functions.
10998         (struct hard_reg_n_uses): Deleted.
10999         (potential_reload_regs): Deleted.
11000         (init_reload): Initialize spilled_pseudos and pseudos_counted.
11001         (reload): Don't try to allocate reload registers if we already know
11002         we have to make another pass.  Call select_reload_regs.  Free memory
11003         starting with reload_firstobj when starting another pass.
11004         Don't allocate spilled_pseudos.
11005         (calculate_needs_all_insns): Call copy_reloads for an insn that
11006         needs reloads; don't call calculate_needs.
11007         (spill_cost): New static array.
11008         (used_spill_regs_local): New static variable.
11009         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11010         to compute potential_reload_regs.
11011         (find_reload_regs): Completely rewritten to use find_reg.
11012         (allocate_reload_reg): Don't test counted_for_groups or
11013         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
11014         all cllers changed.
11015         (choose_reload_regs): Add fallback code that uses the existing
11016         register allocation from find_reload_regs.
11017
11018 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
11019
11020         * flow.c (create_edge_list): Cast xmalloc return value.
11021
11022 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
11023
11024         * doprnt.c: Remove incorrect comment closure.
11025
11026         * cse.c: Fix a few minor whitespace goofs.
11027
11028 1999-12-13  Don Bowman  <don@pixstream.com>
11029
11030         * mips/vxworks.h: Fix problem with comment termination.
11031         (EXTRA_SECTIONS): Add in_sbss.
11032         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11033
11034 1999-12-12  David S. Miller  <davem@redhat.com>
11035
11036         * cse.c (struct cse_reg_info): Add hash_next member,
11037         reorder rest of struct for better packing on 64-bit
11038         hosts.
11039         (cse_reg_info_tree): Kill.
11040         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11041         REGHASH_FN): New custom pow2 hash mechanism.
11042         (NBUCKETS): Kill.
11043         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11044         use a pow2 hash table.
11045         (get_cse_reg_info): Rework to use new REGHASH.
11046         (new_basic_block): Likewise, use HASH_SIZE, and inline
11047         free_element call.
11048         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11049         and inline free_element call.
11050         (lookup_as_function, insert, flush_hash_table, invalidate,
11051         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11052         invalidate_for_call, use_related_value, find_comparison_args,
11053         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11054         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11055         get_element): Kill.
11056
11057 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
11058
11059         * cse.c (cse_basic_block): Free qty_table consistently.
11060
11061 1999-12-12  David S. Miller  <davem@redhat.com>
11062             Jakub Jelinek    <jakub@redhat.com>
11063
11064         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11065         SUBREGs by hand, gen the appropriate hard reg directly.
11066         (movtf reg/mem split): Likewise and alter_subreg on destination
11067         if necessary.
11068         (movtf mem/reg split): Similarly.
11069         (movdf_cc_sp64): Rename from hidden pattern.
11070         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11071         (movtf_cc_sp64, following split): New pattern and splitter.
11072         (movdf_cc_reg_sp64): Rename from hidden pattern.
11073         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11074         TARGET_HARD_QUAD.
11075         (movtf_cc_reg_sp64, following split): New pattern and splitter.
11076
11077 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
11078
11079         * loop.c (load_mems): Don't hoist written floating point mem
11080         if -ffloat-store.
11081
11082 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
11083
11084         * except.h (struct eh_queue): Add `next' pointer.
11085         (struct eh_status): Make x_ehqueue a pointer.
11086         (push_ehqueue):  Declare.
11087         (pop_ehqueue): Likewise.
11088         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11089         pointer.
11090         (expand_fixup_region_end): Likewise.
11091         (expand_leftover_cleanups): Likewise.
11092         (push_ehqueue): Define.
11093         (pop_ehqueue): Likewise.
11094         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11095         than doing it inline.
11096         (expand_start_all_catch):  Adjust now that ehqueue is a
11097         pointer.
11098         (mark_eh_queue): Mark all level of the queue.
11099         (mark_eh_status):  Adjust now that ehqueue is a
11100         pointer.
11101         (init_eh_for_function): Allocate ehqueue.
11102         (free_eh_status): Free it.
11103         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11104         expansion for a fixup.
11105
11106 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11107
11108         * gthr-single.h (__gthread_active_p): Add prototype arguments.
11109
11110         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11111         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11112         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11113         function_ptr, getpagesize, __enable_execute_stack,
11114         __enable_execute_stack, __clear_insn_cache,
11115         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11116         _cleanup, _exit, __default_terminate, __terminate_func,
11117         __terminate, __empty, __throw, new_eh_context,
11118         eh_context_initialize, eh_context_static, eh_context_specific,
11119         get_eh_context, __get_eh_context, __get_eh_info,
11120         init_reg_size_table, eh_threads_initialize,
11121         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11122         __unwinding_cleanup, throw_helper, __throw, __rethrow,
11123         __pure_virtual): Add prototype arguments.
11124         (__bb_exit_func): Cast a sizeof to long when comparing against one.
11125         Cast a signed value to unsigned long when comparing against one.
11126         (new_eh_context): Wrap in _GTHREADS macro.
11127         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11128         declaration.
11129         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11130         (throw_helper): Initialize variables `handler_p' and `pc_p'.
11131
11132 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11133
11134         * combine.c (record_promoted_value): Remove unused variable
11135         `links2'.
11136
11137         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11138
11139         * global.c (record_conflicts): Likewise for `j'.
11140
11141         * genoutput.c (output_insn_data): Don't unnecessarily cast away
11142         const-ness.
11143
11144 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11145
11146         * i386-protos.h (output_387_binary_op, output_fix_trunc,
11147         output_fp_compare): Constify a char*.
11148
11149         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11150         static prototypes.
11151         (override_options, ix86_comp_type_attributes, print_operand,
11152         output_387_binary_op, output_fix_trunc, output_fp_compare):
11153         Constify a char*.
11154         (ix86_sched_reorder): Mark parameter `clock_var' with
11155         ATTRIBUTE_UNUSED.
11156
11157         * i386.h (DEBUG_PRINT_REG): Constify a char*.
11158
11159 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11160
11161         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11162         operand, for use in the Java front-end.
11163
11164 1999-12-10  Ben Collins  <bcollins@debian.org>
11165
11166         * configure.in: Fix typo for "-64" in 64bit as check.
11167         * configure: Rebuilt.
11168
11169 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
11170
11171         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11172         appropriate.
11173
11174 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11175
11176         * c-parse.in (string): With -Wtraditional, warn if ANSI string
11177         concatenation is utilized.
11178
11179         * invoke.texi (-Wtraditional): Document it.
11180
11181 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11182
11183         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11184         Cast a ptrdiff_t to long and pass it to printf with %ld.
11185
11186 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
11187
11188         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11189         68881, we have no 68881 registers at all.
11190         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11191         value in a 68881 register if it is available.
11192
11193 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
11194
11195         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11196         for long long multiply-accumulate.
11197
11198 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11199
11200         * loop.c (insert_loop_mem): Undo last change.
11201
11202 1999-12-10  David S. Miller  <davem@redhat.com>
11203
11204         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11205         New functions.
11206         * config/sparc/sparc-protos.h: Add them.
11207         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11208         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11209         constraints which use those helpers.
11210         (EXTRA_CONSTRAINT): Use this new macro.
11211         * md.texi: Update sparc target constraints documentation.
11212         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11213         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11214         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11215         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11216         (movsf high/lo_sum split): Rework for new patterns.
11217         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11218
11219 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
11220
11221         * c-common.c (c_common_nodes_and_builtins):
11222         Create __builtin_ptrdiff_t and __builtin_size_t.
11223
11224 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
11225
11226         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11227
11228 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11229
11230         * regclass.c (globalize_reg): Re-instate test that allows
11231         fixed registers to be declared as a variable even after functions
11232         are defined.
11233
11234 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11235
11236         * i386.md (cpu attribute): Add "athlon".
11237         (athlon_decode): New attribute.
11238         (Athlon scheduling units definitions): New.
11239         (fcmp and shld patterns): Set athlon_decode to "vector".
11240         * i386.c (athlon_cost): New.
11241         (m_ATHLON): New.
11242         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11243         x86_use_sahf): Set for Athlon.
11244         (x86_use_fiop): Unset for Athlon.
11245         (override_options): Define Athlon alignments and "athlon" name.
11246         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11247         * i386.h (TARGET_ATHLON): New.
11248         (enum processor_type): Add PROCESSOR_ATHLON.
11249         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11250         for CPU_DEFAULT==5
11251         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11252
11253 1999-12-09  Andreas Jaeger  <aj@suse.de>
11254
11255         * loop.c (record_biv): Declare parameter as int.
11256
11257         * config/i386/i386-protos.h: Declare long_memory_operand.
11258
11259 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
11260
11261         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11262         EXPR_WITH_FILE_LOCATION.
11263
11264 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
11265
11266         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11267         in expander.
11268
11269         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11270
11271         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11272         updating code.
11273
11274 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
11275
11276         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11277         default on linux64 again.
11278         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11279         models for multilibing.
11280         * genmultilib: Accept | as alternative separator within a set in
11281         MULTILIB_OPTIONS.
11282
11283         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11284
11285         * calls.c (precompute_arguments): Make sure initial_value contains
11286         value pseudo which CSE expects.
11287         * cse.c (struct set): New entry orig_src.
11288         (cse_insn): Set it early on entry, use it for libcall EQUIV note
11289         replacement.
11290
11291 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
11292
11293         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11294
11295 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
11296
11297         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11298
11299 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
11300
11301         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11302         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11303
11304         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11305         if TARGET_ARCH32.
11306
11307         * longlong.h: Merge in changes from glibc.
11308         Also don't clobber %g2 register in 32bit SPARC assembly, so that
11309         -mno-app-regs libgcc can be compiled.
11310         * libgcc2.c: Add defines so that the updated longlong.h
11311         can be used in libgcc2.a. Also, make sure on most architectures
11312         (at least on all which have optimized code in longlong.h defined
11313         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11314
11315 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11316
11317         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11318         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11319         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11320         is GNU ld.
11321         * configure: Rebuilt.
11322
11323 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
11324
11325         * alpha.c (secondary_reload_class): For !BWX, sub-simode
11326         outputs require a register.
11327
11328 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
11329
11330         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11331         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
11332         functions like dptoul will be resolved.
11333         (libgcc2.a): Make sure that the object files from DPBIT are named
11334         differently (prefix `_dp') from those that would be coming from
11335         FPBIT.
11336
11337 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
11338
11339         * configure.in: When target is sparc* and tm_file contains 64,
11340         test for 64bit support in assembler.  If not supported, remove
11341         sparc/t-sol2-64 from target-dependent Makefile fragments.
11342         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11343         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11344         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11345         * acconfig.h (AS_SPARC64_FLAG): Added.
11346         * configure, config.in: Rebuilt.
11347         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11348         support.  Use AS_SPARC64_FLAG.
11349
11350 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
11351
11352         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11353         suitable for holding OFmode values so that gcc works with complex
11354         quad long doubles.
11355         (hard_64bit_mode_classes): Likewise.
11356
11357         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11358         so that it is actually matched.
11359         (sethi_di_medlow): Likewise.
11360
11361         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11362         as legitimate constant if -mvis.
11363         * config/sparc/sparc.md (movtf): Likewise.
11364         (clear_sf): Use const_double_operand.
11365         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11366
11367         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11368         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11369         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11370         routines, _Qp_* cannot be handled like that now.
11371         (INIT_TARGET_OPTABS): Likewise.
11372         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11373         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11374         sparc_emit_float_lib_cmp if ARCH64 and soft float.
11375         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11376         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11377         divtf3, sqrttf3): New expanders.
11378         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11379         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11380         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11381         non-_hq patterns.
11382
11383         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11384         * configure: Rebuilt.
11385         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11386         -mcpu is given and we're doing 64bit compiles.
11387
11388 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
11389
11390         * loop.h (struct induction): Add multi_insn_incr.
11391         * loop.c (basic_induction_var): New multi_insn_incr argument.
11392         Set it if we search back through previous insns for the biv.
11393         (record_biv): New multi_insn_incr argument; fill in struct induction.
11394         (strength_reduce): Discard an iv with multiple bivs, any of
11395         which require multiple insns to increment.
11396
11397 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11398
11399         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11400         documentation.
11401
11402 1999-12-06  David S. Miller  <davem@redhat.com>
11403
11404         * combine.c (check_promoted_subreg): Do not conditionalize this upon
11405         PROMOTE_FUNCTION_RETURN.
11406
11407 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
11408
11409         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11410         and handle REG_UNUSED note on insn.
11411
11412         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
11413         inner_mask instead of mask.
11414
11415 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
11416
11417         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11418         zero if there was an error.
11419
11420 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11421
11422         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11423         output string.
11424
11425         * longlong.h: Fix clobbers in SPARC asm statements.
11426
11427         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11428         valid sethi operations when TARGET_ARCH64.
11429
11430         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11431         always use move_by_pieces to avoid infinite recursion.
11432         (restore_fixed_argument_area): Likewise.
11433
11434         * combine.c (check_promoted_subreg, record_promoted_value): New
11435         functions.
11436         (combine_instructions): Use them to retain nonzero and sign bit
11437         information after SUBREGs are eliminated by optimizations in
11438         this pass if PROMOTE_FUNCTION_RETURN.
11439
11440         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11441         .register declaration. Don't use variables with __ prefixes.
11442
11443 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11444
11445         * fold-const.c (optimize_bit_field_compare): Only use one mode
11446         for both RHS and LHS in non-constant case.
11447
11448 1999-12-06  Nathan Sidwell  <nathan@acm.org>
11449
11450         * frame.c (start_fde_sort): Only allocate erratic array, if
11451         linear one was allocated. Return allocated flag.
11452         (fde_insert): Only insert, if there's a valid array.
11453         (fde_end_sort): Split, sort and merge if linear and erratic
11454         arrays exist, else just sort linear one.
11455         (search_fdes): New function. Linear search through original fde
11456         structure.
11457         (frame_init): Permit multiple initializations. Cope with
11458         memory shortages.
11459         (find_fde): Fallback on linear search, if failed to sort array.
11460         (__deregister_frame_info): Only free sorted array, if we
11461         allocated it.
11462
11463 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11464
11465         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11466
11467 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
11468
11469         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11470
11471 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
11472
11473         * tree.h (special_function_p): Declare.
11474         * calls.c (special_function_p): Make it global.  Don't take `name'
11475         as a parameter.  Fix typo in 1999-11-28 change.
11476         (expand_cal): Adjust.
11477
11478 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
11479
11480         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11481         * tree.h (EXPR_WFL_FILENAME): Define in terms of
11482         EXPR_WFL_FILENAME_NODE.
11483         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11484         the TREE_CHAIN.
11485         * print-tree.c (print_note): Print TREE_PRIVATE and
11486         TREE_PROTECTED.
11487
11488         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11489         the original die cannot be found.
11490
11491         * varray.h (varray_head_tag): Add elements_used.
11492         (VARRAY_PUSH): New macro.
11493         (VARRAY_POP): Likewise.
11494         (VARRAY_TOP): Likewise.
11495         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11496         types.
11497         * varray.c (varray_init): Initialize elements_used.
11498         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11499         (INTEGRATE_H): New variable.
11500         (integrate.o): Depend on INTEGRATE_H.
11501         (unroll.o): Likewise.
11502
11503         * function.h (insert_block_after_note): Declare.
11504         * function.c (insert_block_after_note): Split out from ...
11505         (retrofit_block): ... here.
11506
11507         * stmt.c (expand_fixup): Fix typo in comment.
11508
11509 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11510
11511         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11512         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11513         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11514         (regmove_optimize, fixup_match_1): Likewise.
11515
11516 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11517
11518         * flow.c (flow_loops_dump): Add missing argument when calling
11519         flow_loop_nested_p.
11520
11521 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
11522             Greg McGary  <gkm@gnu.org>
11523
11524         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11525         (init_attributes): Add A_NO_LIMIT_STACK.
11526         (decl_attributes): Handle A_NO_LIMIT_STACK.
11527         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11528         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11529         Handle stack bounds checking.
11530         * flags.h (flag_stack_check): Use the word 'probe' rather than
11531         'check', because the flag doesn't actually cause any checking to
11532         be done.
11533         * function.c (expand_function_start): Set
11534         current_function_limit_stack.
11535         * function.h (struct function): Add limit_stack.
11536         (current_function_limit_stack): Define.
11537         * invoke.texi (Code Gen Options): Document new options.
11538         * rtl.h: Declare stack_limit_rtx.
11539         * toplev.c (stack_limit_rtx): New variable.
11540         (decode_f_option): Handle new options -fstack-limit-register=REG,
11541         -fstack-limit-symbol=IDENT, -fno-stack-limit.
11542         (main): Add stack_limit_rtx as GC root.
11543         * tree.h (DECL_NO_LIMIT_STACK): New macro.
11544         (struct tree_decl): New member no_limit_stack.
11545
11546         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11547         stack_limit_rtx.
11548         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11549         (conditional_trap+1): Get new mnemonic correct.
11550         (conditional_trap+2): New pattern for DImode traps.
11551
11552         * config/m68k/m68k.c (output_function_prologue): Handle
11553         stack_limit_rtx.
11554         * config/m68k/m68k.md (trap): New insn.
11555         (conditional_trap): New insn.
11556         * md.texi (Standard Names): Document `trap' and
11557         `conditional_trap'.
11558         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11559         so a cc0 setter doesn't get emitted at some random place in the
11560         function.
11561
11562         * config/i960/i960.md (trap): New insn.
11563         (conditional_trap): New expander.
11564         (conditional_trap+1, conditional_trap+2): New insns for signed
11565         and unsigned cases.
11566         * config/i960/i960.c (i960_function_prologue): Use
11567         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
11568
11569 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
11570                           Geoffrey Keating  <geoffk@cygnus.com>
11571
11572         * flags.h (warn_padded, warn_packed): Add global var decls.
11573         * toplev.c (warn_padded, warn_packed): Add global var defns.
11574         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11575         * stor-layout.c (layout_record): Add local variable `type'
11576         to hold often-used TREE_TYPE (field).  Add local variable
11577         `unpacked_align' to hold alignment that would be in force
11578         if no `packed' attribute were present.  Warn if `packed' attribute
11579         is unnecessary, or even harmful.  Warn when gcc inserts padding
11580         to satisfy alignment requirements of members.  Use NULL_TREE
11581         when checking whether var_size is set.
11582         * invoke.texi: Document new flags.
11583
11584 1999-12-03  Nathan Sidwell  <nathan@acm.org>
11585
11586         * frame.c (fde_split): Reimplement to avoid variable sized array.
11587
11588 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11589
11590         * combine.c (try_combine): Before fixing up LOG_LINKS for the
11591         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11592
11593 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
11594
11595         * invoke.texi: Document the mips option -mno-crt0
11596
11597 1999-12-02  Mike Karr  <mkarr@mathworks.com>
11598
11599         * cccp.c (argdata): Added free_ptr member.
11600         (macroexpand): Initialize free_ptr of each argument. When an
11601         argument's buffers are freed, if the argument's free_ptr corresponds
11602         to a buffer on the input stack, then return the free_ptr to that stack
11603         frame, otherwise, free it.
11604         (macarg): If an argument begins and ends on the same input stack level,
11605         then transfer the free_ptr of that buffer to the argument in case
11606         the stack is popped during the processing of a subsequent argument.
11607
11608 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
11609
11610         * loop.c (note_reg_stored): New function.
11611         (struct note_reg_stored_arg): New structure.
11612         (try_copy_prop): Change to be more conservative; only replace within
11613         one extended basic block and stop replacing if a store to the
11614         replacement reg is seen.
11615
11616 1999-12-02  Nick Clifton  <nickc@cygnus.com>
11617
11618         * config/fp-bit.c: Initialise all fields of the NAN
11619         constants.
11620
11621         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11622         to HANDLE_PRAGMA.
11623
11624 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
11625
11626         * i386.md (extend?f?f2): Force the input into a register, not
11627         the output.
11628
11629 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
11630
11631         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11632         regclass' sake.
11633         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11634         alternative because setting up 64bit constant is usually costly,
11635         especially when reload is in progress or completed.
11636         (movdf_const_intreg_sp64): Likewise.
11637         (movdf_const_intreg split): Fix building up constants when
11638         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11639
11640 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
11641
11642         * combine.c (if_then_else_cond): Use const_true_rtx instead of
11643         const1_rtx for return values in EQ/NE comparison against (const_int 0)
11644         case.
11645
11646         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11647         (asm_file_start): Emit .am33 into assembly file when compiling for
11648         the AM33.
11649         (print_operand_address): Handle POST_INC addresses.
11650         (can_use_return_insn, initial_offset): Check AM33 registers too.
11651         (expand_prologue): Check & save AM33 registers too.
11652         (expand_epilogue): Similarly.
11653         (secondary_reload_class): Handle AM33 specific secondary reloads.
11654         (output_tst): Emit efficient code for the AM33 too.
11655         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11656         (TARGET_SWITCHES): Add -mam33 switch.
11657         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11658         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11659         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11660         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11661         (enum reg_class, REG_CLASS_NAMES): Likewise.
11662         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11663         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11664         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11665         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11666         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11667         (HAVE_POST_INCREMENT): Define.
11668         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11669         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11670         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11671         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11672         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11673         (zero_extend to SI from QI/HI): Likewise.
11674         (sign_extend to SI from QI/HI): Likewise.
11675         (mulsidi3, umulsidi3): New patterns for the AM33.
11676         (tstsi with zero extension from QI/HI): Add AM33 variants.
11677         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11678         (return_internal_regs, store_movm): Handle new AM33 registers.
11679         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11680         (LIBGCC, INSTALL_LIBGCC): Likewise.
11681         * invoke.texi: Document new flags.
11682
11683 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11684
11685         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11686         (addsi3_carry): Likewise.
11687         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11688         (sbbsi3_carry): Likewise.
11689         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11690         (mulhi3): Likewise.
11691         (test?i_1): Ensure that only one operand is memory.
11692         (conditional move patterns): likewise.
11693         (shift and rotate patterns): Rewrite to expander, add
11694         "binary_operator_ok" to the condition.
11695
11696         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11697         * i386.h (procesor_costs): Add movzbl_load field.
11698         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11699         non-Q registers, accept DImode registers anywhere.
11700         (Q_CLASS_P): New.
11701         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11702         * i386.c (*_cost): Set value for movxbl_load field.
11703
11704         * (addsi): New add to lea splitter.
11705         (ashlsi): Likewise.
11706         (lea to add/shift peep2): New.
11707
11708 1999-12-01  Mark Salter <msalter@cygnus.com>
11709
11710         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11711         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11712         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11713
11714 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11715
11716         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11717         * i386.md (movsi_xor): New.
11718         (movsi_or): New.
11719         (movsi_1, movhi_1, movqi_1): Remove.
11720         (movsi_2): Rename to movsi_1.
11721         (movhi_2): Rename to movhi_1.
11722         (movqi_2): Rename to movqi_1.
11723         (movdi_1): Remove; remove splitter.
11724         (movdi_2): Rename to movdi_1.
11725         (divmodsi4 splitter): Do not emit clobbers for move patterns.
11726         (long move peep2): Do not create QI or HI mode mov0s
11727         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11728
11729         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11730         rewrite splitters.
11731
11732         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11733         (abs?f2_if): Likewise.
11734
11735 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
11736
11737         * ggc.h (ggc_test_and_set_mark): New macro.
11738         (ggc_mark_rtx): Use ggc_test_and_set_mark.
11739         (ggc_mark_tree): Likewise.
11740         (ggc_mark_rtvec): Likewise.
11741         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11742
11743 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
11744
11745         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
11746         containing types.
11747         (decl_scope_table): Just an array of trees now.
11748         (push_decl_scope): Simplify.
11749         (dwarf2out_init): Adjust.
11750         (local_scope_p): New fn.
11751         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11752         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11753         (gen_typedef_die): Likewise.
11754         (gen_lexical_block_die): Don't call push/pop_decl_scope.
11755         (gen_inlined_subroutine_die): Likewise.
11756         (gen_abstract_function): Set current_function_decl temporarily.
11757         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11758         Handle block extern declarations.  Don't call push/pop_decl_scope.
11759         (gen_decl_die): Fix logic for block externs.
11760
11761 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11762
11763         * calls.c (special_function_p): Remove `realloc' and add `strdup'
11764         to the list of functions which have attribute malloc by default.
11765
11766 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11767
11768         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11769         integer constant does not match the traditional type, limit the
11770         warnings to cases where the base of the type is ten.
11771
11772         * invoke.texi (-Wtraditional): Document it.
11773
11774 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11775
11776         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11777         * rs6000.md: Only access a CONST_INT with INTVAL
11778
11779 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
11780
11781         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11782         (compute_nearerout): Likewise.
11783         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11784         size_t to unsigned long for formatting.
11785
11786 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11787
11788         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11789         Allow the user to override call-used/fixed state of %g2-5
11790         registers from the command line (with the exception of %g4 for
11791         embedded model).
11792         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11793         there is a higher chance of having a leaf function.
11794         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11795         for ARCH64 which has %ccr register.
11796         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11797         patterns.
11798         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11799         insn accept into delay slot any insn which does not use %[ol]
11800         registers.  Accept some LO_SUM and shift left by 1 for the normal
11801         restore case.
11802         (output_function_epilogue): Likewise.
11803         (epilogue_renumber): Added argument which inhibits any renumbering
11804         and just tests if the rtx does not use any %[ol] registers.
11805         (output_return): Reflect above change.
11806
11807 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11808
11809         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11810         aggregate passing for sizes <= 16 bytes.
11811
11812 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
11813
11814         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11815         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11816         * reload.c (find_dummy_reload): Likewise.
11817         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11818         * reload1.c (reload_as_needed): Likewise.
11819         * stupid.c (stupid_find_reg): Likewise.
11820         * tm.texi (Obsolete Register Macros): Delete section.
11821         * gmicro.h: Remove all traces of the two macros.
11822         * i386.h: Likewise.
11823         * m88k.h: Likewise.
11824         * mips.h: Likewise.
11825
11826 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
11827
11828         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11829         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11830         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11831         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11832         units for the sparclite86x chip.
11833         (flush): Revert October 14th change; add SImode specifically.
11834         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11835         * invoke.texi: Document it.
11836
11837 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
11838
11839         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11840         psimode_truncation_operand.
11841
11842         * config/mn10200/mn10200.c (psimode_truncation_operand): New
11843         function.  Return true if the operand is either a MEM valid
11844         for a PSImode address or not a MEM at all.
11845
11846         * config/mn10200/mn10200.md (truncsipsi2): Use
11847         psimode_truncation_operand.
11848
11849 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11850
11851         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11852         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11853         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11854         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11855         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11856         (flow_loop_level_compute, low_loops_level_compute): Likewise.
11857         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11858         * basic-block.h: Protect from multiple inclusion.
11859         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11860         (struct loops, struct loop): Define structures.
11861         * sbitmap.c (sbitmap_a_subset_b_p): New function.
11862         * sbitmap.h: Protect from multiple inclusion.
11863         (sbitmap_a_subset_b_p): Add prototype.
11864         * Makefile.in (LOOP_H): New macro.
11865         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11866
11867 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
11868
11869         * cppinit.c (CAT): The argument list of this macro may not contain
11870         spaces !
11871
11872 1999-11-29  David S. Miller  <davem@redhat.com>
11873
11874         Move quantity tables and register equivalence chains into
11875         per-qty and per-register structure arrays respectively.
11876         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
11877         qty_const_insn, qty_comparison_code, qty_comparison_const,
11878         qty_comparison_qty): Delete, replace with...
11879         (qty_table): this structure table.
11880         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
11881         (reg_eqv_table): this structure table.
11882         (make_new_qty): Add argument MODE.  Caller updated.
11883         Update to use qty_table and reg_eqv_table.
11884         (make_regs_eqv, delete_reg_equiv, insert_regs,
11885         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
11886         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
11887         cse_process_notes, cse_main, cse_basic_block): Likewise.
11888
11889 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11890
11891         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
11892         operation if C is negative.
11893         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
11894         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
11895         law for some divisions if constant is negative and change other
11896         divisions to the opposite rounding.
11897
11898         * expr.c (store_constructor_field): If bit position is not multiple
11899         of alignment of TARGET's mode, use BLKmode.
11900
11901         * expr.c (expand_expr_unaligned): Add more code from full case
11902         that is needed when OP0 is in a register.
11903
11904 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11905
11906         * dwarfout.c (field_byte_offset): Size can be zero if there was
11907         an error.
11908
11909 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
11910
11911         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
11912         (associate_trees): Delete unused var TEM.
11913         (extract_muldiv): Delete unused var CANCEL_P.
11914
11915         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
11916         (target_isinf, target_isnan, target_negative): Add return types to
11917         function definitions.
11918
11919 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
11920
11921         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
11922         * fixinc/hackshell.tpl: ditto
11923         * fixinc/fixtests.c(double_slash_test): more C++ header testing
11924         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
11925
11926 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
11927
11928         * reload.c (push_reload): When looking for a register to put into
11929         reg_rtx, make sure all hard regs in a multi-reg register are in the
11930         right class and nonfixed.
11931
11932         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
11933         pending_read_insns, pending_write_insns, pending_read_mems,
11934         pending_write_mems, pending_list_length, last_pending_memory_flush,
11935         last_function_call, sched_before_next_call): Move static variables
11936         into a structure.
11937         (bb_ prefixed versions): Replace with single array bb_deps.
11938         (struct deps): New structure.
11939         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
11940         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
11941         argument of type "struct deps *"; use that instead of global
11942         variables.  All callers changed.
11943         (init_rgn_data_dependencies): Delete function.
11944         (init_rtx_vector): Delete function.
11945         (init_deps): New function.
11946
11947         (free_pending_lists): Simplify, we always use the bb_deps array even
11948         if only one basic block.
11949         (compute_block_backward_dependences): Likewise.
11950         (schedule_region): Likewise.
11951
11952         (propagate_deps): New function, broken out of
11953         compute_block_backward_dependences.
11954         (compute_block_backward_dependences): Use it.
11955
11956         * alpha.md: Delete useless patterns that tried to work around
11957         register elimination problems.
11958
11959         * unroll.c (loop_iterations): Don't abort if iteration variable
11960         was made by loop.
11961
11962         From Joern Rennecke:
11963         * reload1.c (reloads_conflict): Reverse test comparing operand
11964         numbers when testing for conflict between output/outaddr reloads.
11965
11966 1999-11-29  David S. Miller  <davem@redhat.com>
11967
11968         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
11969         arg.
11970         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
11971
11972 1999-11-28  Robert Lipe  <robertl@cygnus.com>
11973
11974         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
11975         table from .fini into .dtor.
11976
11977 1999-11-28  Anthony Green  <green@cygnus.com>
11978
11979         * tree.h (struct tree_decl): Add malloc_flag.
11980         (DECL_IS_MALLOC): Define.
11981         * c-common.c (attrs): Add A_MALLOC attribute.
11982         (init_attributes): Add this attribute to the table.
11983         (decl_attributes): Handle malloc attribute.
11984         * calls.c (special_function_p): Check for the malloc attribute.
11985         * extend.texi (Function Attributes): Document malloc attribute.
11986
11987 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
11988
11989         * pa.md (reload shift-add patterns): Remove.
11990
11991 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11992
11993         * reorg.c (dbr_schedule) Print more statistics. Corrected
11994         problem when printing info when 3 delay slots are filled.
11995
11996 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
11997
11998         * combine.c (setup_incoming_promotions): Pass an outgoing
11999         regno to FUNCTION_ARG_REGNO_P which it expects.
12000
12001 1999-11-28  Andreas Jaeger  <aj@suse.de>
12002
12003         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12004
12005 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
12006
12007         * cccp.c (do_include): Avoid initialization of automatic variable.
12008
12009         * integrate.c (mark_stores): Function definition made void, to match
12010         previous declaration.
12011         * regclass.c (dump_regclass): Ditto.
12012         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12013
12014 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12015
12016         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12017         known to be multiple of divisor.
12018
12019         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12020
12021         * combine.c (try_combine): Add code to try to merge a set of a
12022         two-word pseudo to a constant with a setting of one of those words
12023         to a constant.
12024
12025         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12026         (split_tree): Completely rework to make more general.
12027         (make_range, fold): Call negate_expr.
12028         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12029         (fold, associate): Call new split_tree and associate_trees.
12030         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12031
12032 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
12033
12034         * loop.c (try_copy_prop): Avoid GNU C extension.
12035
12036 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12037
12038         * except.c (init_eh_for_function): Still zero eh_return_context,
12039         eh_return_stack_adjust, and eh_return_handler.
12040
12041         * except.h (eh_status): Adjust documentation for x_protect_list.
12042         (begin_protect_partials): New function.
12043         * except.c (enqueue_eh_entry): Fix formatting.
12044         (get_first_handler): Add consistency check.
12045         (add_partial_entry): Adjust usage of protect_list.
12046         (emit_cleanup_handler): Save and restore ehqueue.
12047         (expand_start_all_catch): Add comment.
12048         (begin_protect_partials): New function.
12049         (end_protect_partials): Adjust usage of protect_list.
12050         (init_eh_for_function): Use xcalloc.
12051
12052 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12053
12054         * c-common.c (check_format_info): Don't call a variadic function
12055         with a non-literal format string.
12056
12057         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12058
12059         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12060         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12061         Likewise.
12062
12063         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12064         Likewise.
12065
12066         * collect2.c (collect_wait): Likewise.
12067
12068         * dbxout.c (dbxout_type): Likewise.
12069
12070         * gcc.c (do_spec_1): Likewise.
12071
12072         * genemit.c (gen_insn, gen_expand): Likewise.
12073
12074         * genrecog.c (write_switch, write_subroutine): Likewise.
12075
12076         * mips-tfile.c (catch_signal, botch): Likewise.
12077
12078         * print-rtl.c (print_rtx): Likewise.
12079
12080         * toplev.c (default_print_error_function, report_error_function,
12081         _fatal_insn): Likewise.
12082
12083 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12084
12085         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12086
12087 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12088
12089         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12090         operations when needed.
12091         * i386.md (fop_?f_comm): New.
12092         (fop_?f_1): Do not accept commutative operands.
12093
12094 1999-11-25  Andreas Jaeger  <aj@suse.de>
12095
12096         * config/mips/mips.md (casesi_internal): Add missing brace.
12097
12098 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
12099
12100         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12101         (splice_child_die): Handle moving a child DIE from the declaration
12102         DIE of a class to its specification.
12103         (gen_struct_or_union_type_die): Use 'complete' consistently.
12104         (gen_decl_die): Generate the virtual context DIE first.
12105         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12106
12107 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
12108
12109         * config/mips/mips.md (call_value_multiple_interanal1): New.
12110
12111 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
12112
12113         * dwarf2out.c (free_AT, free_die): New fns.
12114         (remove_children): Call them.
12115         (output_line_info): Disable removal of duplicate notes.
12116
12117         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12118         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12119         means pretend the type isn't defined.
12120         Don't defer emitting types.
12121         (gen_type_die_for_member): New fn.
12122         (gen_decl_die): Call it.
12123         (splice_child_die): New fn.
12124         (gen_member_die): Call it rather than generate duplicate dies.
12125
12126         Defer emitting information for the abstract instance of an inline
12127         until we either inline it or emit an out-of-line copy.
12128         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12129         from output_inline_function if DECL_ABSTRACT is also set.
12130         (block_ultimate_origin): Likewise.
12131         (gen_abstract_function): New fn.
12132         (gen_decl_die, gen_inlined_subroutine_die): Call it.
12133         (gen_subprogram_die):  An abstract instance is not a declaration
12134         just because it doesn't match current_function_decl.  Don't abort
12135         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
12136         has an abstract origin.
12137         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12138         abstract instance here.
12139
12140 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
12141
12142         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12143         where we need to reload fpul from a system register.
12144
12145 1999-11-24  Andreas Jaeger  <aj@suse.de>
12146
12147         * config/mips/linux.h (CPP_PREDEFINES): Added.
12148         (LINK_SPEC): Remove -Y since this is only needed on sparc.
12149
12150 1999-11-24  Andreas Jaeger  <aj@suse.de>
12151
12152         * config/mips/linux.h (TARGET_VERSION): Added.
12153         (HANDLE_SYSV_PRAGMA): Added.
12154         (DEFAULT_VTABLE_THUNKS): Added.
12155
12156 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12157
12158         * local-alloc.c (qty): New structure and static variable.
12159         (qty_phys_reg): Remove, all references changed to qty.
12160         (qty_n_refs): Likewise.
12161         (qty_min_class): Likewise.
12162         (qty_birth): Likewise.
12163         (qty_death): Likewise.
12164         (qty_size): Likewise.
12165         (qty_mode): Likewise.
12166         (qty_n_calls_crossed): Likewise.
12167         (qty_alternate_class): Likewise.
12168         (qty_changes_size): Likewise.
12169         (qty_first_reg): Likewise.
12170         (alloc_qty): Rename variable QTY to QTYNO.
12171         (finf_free_reg): Likewise.
12172         (local_alloc): Allocate qty, do not allocate the removed variables.
12173
12174 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
12175
12176         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12177         when -membedded-pic is passed.
12178
12179         * config/mips/mips.md (casesi): Handle 64-bit case too.
12180         (casesi_internal_di): New insn.
12181
12182         * config/mips/mips.c (embedded_pic_offset): Always make the
12183         embedded-pic subtractions relative to the name of the current
12184         function by use of the magic string "..CURRENT_FUNCTION".
12185         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12186
12187 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
12188
12189         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12190         of (const_int 0), when what we really care about is
12191         whether it's a zero constant anyway.
12192         (div_trap_mips16): Likewise.
12193
12194 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
12195
12196         * loop.c (loop_optimize): Always find_loop_tree_blocks and
12197         unroll_block_trees when generating debuggable code.
12198
12199         * tree.h (unsave_expr_1): New function.
12200         (lang_unsave): New variable.
12201         (get_callee_fndecl): New function.
12202         * tree.c (unsave_expr_now_r): New function.
12203         (lang_unsave): Define.
12204         (unsave_expr_1): Likewise.
12205         (unsave_expr_now_r): Split out from unsave_expr_now.
12206         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
12207         call unsave_expr_now_r.
12208         (get_callee_fndecl): Define.
12209
12210         * Makefile.in (gencheck): Don't depend on lang_tree_files.
12211         (gencheck.o): Do depend on lang_tree_files.
12212
12213         * integrate.h (copy_decl_for_inlining): New declaration.
12214         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12215         (copy_decl_for_inlining): New function.
12216         (integrate_parm_decls): Use it.
12217         (integrate_decl_tree): Likewise.
12218
12219 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
12220
12221         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12222         the second two from the first.
12223         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12224         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12225         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12226         ISA_HAS_FP4.
12227         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12228         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12229         ISA_HAS_FP4.
12230
12231 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
12232
12233         * pa.md (call_internal_symref, call_value_internal_symref): No mode
12234         needed on the address operand.
12235         * pa.c (call_operand_address): Check for the correct mode.
12236
12237 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
12238
12239         * loop.c: Include "basic-block.h".
12240         (try_copy_prop, replace_loop_reg): New functions.
12241         (load_mems): Detect registers that just hold copies of the hoisted
12242         mem, and call try_copy_prop to eliminate them.
12243         * Makefile.in (loop.o): Update dependencies.
12244
12245 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
12246
12247         * Makefile.in (gencheck.o): Depend on gencheck.h.
12248         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12249         (insn-peep.o): Depend on except.h and function.h.
12250         (insn-attrtab.o): Depend on RECOG_H.
12251         (insn-output.o): Depend on toplev.h and flags.h.
12252         (gengenrtl.o): Depend on real.h.
12253         (gen-protos.o): Depend on cpplib.h and cpphash.h.
12254         Unify all dependencies to be on RECOG_H rather than recog.h.
12255
12256 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12257
12258         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12259         * configure.in: Try building a bi-arch 32/64-bit compiler on
12260         sparc-*-solaris2.7 and higher.
12261         * configure: Rebuild.
12262
12263 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
12264
12265         * config/freebsd.h: New, FreeBSD architecture independent file.
12266         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12267         independent pieces.
12268         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12269         directly by i386/freebsd.h.
12270         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12271         independent configuration file.
12272         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12273         directly by i386/freebsd.h.
12274         * configure: Rebuilt.
12275
12276         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12277         which is in the user's namespace.
12278         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12279         `i386' which is not in our namespace.
12280
12281 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
12282
12283         * invoke.texi (ARM Options): Add in -mno-alignment-traps
12284
12285 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12286
12287         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12288         (add_dwarf_attr, add_child_die): Just push onto the front.
12289         (reverse_die_lists): New fn.
12290         (add_sibling_attributes): Use it.
12291         (push_decl_scope): Reorganize.
12292         (add_name_and_src_coords_attributes): Don't set file and line for
12293         an artificial decl.
12294         (gen_subprogram_die): An artificial function doesn't need to match
12295         file and line.
12296         (gen_compile_unit_die): Return the generated die.  Only add
12297         AT_comp_dir if the filename is relative.
12298         (remove_AT): Simplify loop.  Also free string values.
12299         (output_die): A DIE ref can't be null.
12300         (output_value_format, value_format): Take a dw_attr_ref.
12301         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12302         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12303         AT_addr, AT_lbl): New fns.
12304         (various): Use them.
12305         (various): Constify.
12306
12307 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12308
12309         * combine.c (combine_simplify_rtx): When handling a SUBREG,
12310         take SUBREG_WORD into account.
12311         (if_then_else_cond): Likewise.
12312
12313 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12314
12315         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12316         clause from BSD license, pursuant with
12317
12318           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12319
12320 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
12321
12322         * loop.c (load_mems): Reformat slightly.
12323         * basic-block.h (regset_head): New typedef.
12324         (INIT_REG_SET): New macro.
12325
12326 1999-11-22  Bruce Korb  <autogen@linuxbox.com
12327
12328         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12329         (mips-dec-bsd*): non-functional code
12330         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12331
12332         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12333         added three replacement fixes
12334         (no_double_slash): removed comments that are not (any longer) pertinent
12335         (bad_lval): this fix currently runs against many files.
12336         The comment seems to indicate that we should select for files
12337         containing 'pragma extern_prefix'.
12338
12339         * fixinc/fixinc.x86-linux-gnu: deleted
12340         * fixinc/inclhack.sh:  regen
12341         * fixinc/fixincl.x:  regen
12342         * fixinc/fixincl.sh:  regen
12343
12344 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
12345
12346         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12347         its code is INSN and it has no notes.
12348
12349 1999-11-22  Andrew Haley  <aph@cygnus.com>
12350
12351         * varasm.c (function_defined): Remove.
12352         (make_function_rtl): Don't set function_defined.
12353         (make_decl_rtl): Remove global register warning.
12354         * regclass.c (no_global_reg_vars): New variable.
12355         (globalize_reg): Warn if function has already been defined.
12356         (regclass_init): Set no_global_reg_vars.
12357
12358 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12359
12360         * regclass.c (reg_pref): New structure and static variable
12361         (prefclass): Delete.
12362         (altclass): Delete.
12363         (all uses of prefclass and altclass): Use reg_pref instead.
12364
12365 1999-11-21  Nick Clifton  <nickc@cygnus.com>
12366
12367         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12368         -malignment-traps.
12369         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12370         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12371         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12372
12373 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
12374
12375         * varasm.c (output_constructor): Solve problem with long long
12376         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12377
12378 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12379
12380         * global.c (allocno): New structure and static variable.
12381         (allocno_reg): Remove, all references replaced by allocno.
12382         (allocno_size): Likewise.
12383         (hard_reg_conflicts): Likewise.
12384         (hard_reg_preferences): Likewise.
12385         (hard_reg_copy_preferences): Likewise.
12386         (hard_reg_full_preferences): Likewise.
12387         (regs_someone_prefers): Likewise.
12388         (allocno_calls_crossed): Likewise.
12389         (allocno_n_refs): Likewise.
12390         (allocno_live_length): Likewise.
12391         (find_reg): Rename ALLOCNO to NUM.
12392
12393         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12394         references updated.
12395         (may_move_out_cost): New variable.
12396         (init_reg_sets_1): Initialize may_move_out_cost.
12397         (record_reg_classes): Use may_move_out_cost.
12398
12399         * regclass.c (dump_regclass): New function.
12400         (regclass): New parameter DUMP, call DUMP_REGCLASS.
12401         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12402         pass rtl_dump_file to regclass.
12403         * rtl.h (regclass): Update prototype.
12404
12405 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12406
12407         * i386.md (neg, not and abs patterns): Revmap to use
12408         ix86_expand_unary_operator and ix86_unary_operator_ok.
12409         (add?f and sub?f expanders): Force operand 1 to register.
12410         * i386.c (ix86_expand_unary_operator): Rewrite.
12411         (ix86_unary_operator_ok): Ensure that memory operands
12412         match real opcode.
12413         (ix86_binary_operator_ok): Do not allow operand 1 to
12414         come into memory and operand 0 not.
12415         (ix86_expand_binary_operator): Ensure that
12416         src1 is not non-matching memory.
12417
12418         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12419         to support integer registers and memory.
12420         (abss?2_integer): Likewise.
12421
12422         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12423         (REG_CLASS_NAMES): Likewise.
12424         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12425         and GENERAL_REGS.
12426         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12427         (movsf): Likewise; unify 4th and 5th alternative.
12428         (pushdf): Likewise.
12429         (movdf_1): Likewise; rename to movdf_integer.
12430         (pushxf): Likewise; rename to pushxf_integer; fix output template;
12431         remove redundant splitter.
12432         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12433         (movdf_nointeger): New.
12434         (movxf_nointeger): New.
12435         (pushxf_nointeger): New.
12436
12437         * i386.md (extend?f?f): Split to expander and pattern, refuse two
12438         memory operands in patterns.
12439         (fop*): Refuse two memory operands.
12440
12441         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12442         on !TARGET_USE_CLTD CPUs.
12443
12444 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
12445
12446         * extend.texi: Document C++ restricted pointers and references.
12447
12448 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12449
12450         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12451         (invalidate_skipped_set): Call it unconditionally.
12452         (cse_set_around_loop): Likewise.
12453
12454 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12455
12456         * rtl.texi (mem): Add documentation for alias-set argument
12457         to RTX `mem'.
12458
12459 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12460
12461         * i386.h (struct_processor_costs): New fields int_load, int_store,
12462         fp_move, fp_load and fp_store
12463         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12464         fp->int moves
12465         (MEMORY_MOVE_COST): New macro.
12466         * i386.c (386_cost): Define new fields.
12467         (i486_cost): Likewise.
12468         (pentium_cost): Likewise.
12469         (pentiumpro_cost): Likewise.
12470         (k6_cost): Likewise.
12471
12472 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
12473                           Geoffrey Keating  <geoffk@cygnus.com>
12474
12475         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12476
12477         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12478         MASK_ALIGN_INT.
12479
12480         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12481         (TARGET_STRICT_ALIGNMENT): New macro.
12482         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12483         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12484         * invoke.texi (M680x0 Options): Document -mstrict-align.
12485
12486 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
12487                           Richard Henderson  <rth@cygnus.com>
12488
12489         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12490         (ix86_split_long_move): Declare.
12491         * i386.c (split_xf, ix86_split_movdi): Remove.
12492         (ix86_split_to_parts, ix86_split_long_move): New.
12493         * i386.md (dimode move splitters): Use ix86_split_long_move.
12494         (dfmode move splitters): Likewise.
12495         (xfmode move splitters): Likewise.
12496         (movsf_1): Allow F->r.
12497         (movdf_1, movxf_1): Allow F->ro.
12498
12499 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12500
12501         * except.h (struct eh_entry): Add goto_entry_p.
12502         (eh_region_from_symbol): Remove prototype.
12503         * except.c (find_func_region_from_symbol): New function.
12504         (emit_cleanup_handler): Likewise.
12505         (eh_region_from_symbol): Make it static.
12506         (add_new_handler): Verify the argument.
12507         (find_func_region): Update comment.
12508         (expand_eh_region_end): Expand handlers here, rater than waiting
12509         until expand_leftover_cleanups or start_all_catch.
12510         (expand_leftover_cleanups): Don't expand here.
12511         (expand_start_all_catch): Or here.
12512         (expand_rethrow): Check the return value from find_func_region.
12513         * function.c (expand_function_end): Emit the catch_clauses.
12514
12515 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
12516
12517         * integrate.c (expand_inline_function): Add necessary check for NULL.
12518
12519 1999-11-18  Nick Clifton  <nickc@cygnus.com>
12520
12521         * toplev.c (main): Correctly detect an unrecognised option.
12522
12523         * cppinit.c (cpp_handle_option): Do not claim to have consumed
12524         a -f option if it has not been recognised.
12525
12526 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
12527
12528         * basic-block.h (update_life_extent): Remove trailing comma on
12529         enumeration type list.
12530
12531 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12532
12533         * varasm.c (output_constructor) Solved problem with long long
12534         bitfields. Corrected calculating this_time and shift. Also
12535         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12536
12537 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
12538
12539         * flow.c (split_edge): Take looping structure into account when
12540         determining where to put the new block note.
12541
12542 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
12543
12544         * Makefile.in (ggc-none.o): Provide host specific version if
12545         needed.
12546
12547 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
12548
12549         * cse.c (delete_trivially_dead_insns): Identify no-op insns
12550         containing subregs too.
12551
12552 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12553
12554         * invoke.texi: Add documentation for -muninit-const-in-rodata.
12555         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12556         (TARGET_UNINIT_CONST_IN_RODATA): Define.
12557         (text_section): Add switches -munint-const-in-rodata and
12558         -mno-uninit-const-in-rodata.
12559         (ASM_OUTPUT_COMMON): Remove.
12560         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12561         const objects should be placed in read-only data. Otherwise declare
12562         them in common.
12563
12564 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
12565
12566         * jump.c (jump_optimize_1): Revert last change.
12567
12568 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
12569
12570         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12571         test if optimizing for size.
12572
12573 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12574
12575         * Makefile.in (toplev.o): Depend on except.h.
12576         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12577
12578 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12579
12580         * i386.md (divmodsi4): Rewrite to expander.
12581         (*divmodsi4_nocltd): New.
12582         (*divmodsi4_cltd): New.
12583         (divmodsi4 splitter): Handle the case when input comes in edx.
12584         (udivmodhi4): Do not use constraints in exander.
12585         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12586
12587 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
12588
12589         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12590         for the common case.
12591
12592 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
12593
12594         * explow.c (hard_function_value): Add outgoing argument.
12595         * expr.h (hard_function_value): Declare it.
12596         * calls.c (expand_call, emit_library_call_value): Update callers.
12597         * function.c (aggregate_value_p): Ditto.
12598         (diddle_return_value): Must look at the outgoing registers
12599         on archs with register windows.
12600
12601 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
12602
12603         * alpha.c (alpha_build_va_list): Use make_lang_type and
12604         initialize TYPE_NAME for the va_list record.
12605
12606         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12607
12608         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12609         for printing.
12610         * ggc.h (struct ggc_statistics): Rearrange elements for better
12611         packing on 64-bit hosts.
12612         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12613         (compute_nearerout): Likewise.
12614
12615 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
12616
12617         * config/rs6000/rs6000.c (first_reg_to_save): Save
12618         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12619
12620 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
12621
12622         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12623         notion of nesting to find the DIE for a type or function.
12624         DIEs can go in limbo even if we got a context_die.
12625         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12626         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12627         for local type.
12628         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12629         (gen_type_die): Writing out the context doesn't cause member class
12630         template instantiations to be written out as well.
12631
12632 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
12633
12634         * rs6000.h (ASM_OUTPUT_DEF): New.
12635         Based on proposed addition from David Edelsohn.
12636
12637 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
12638             Bruce Korb  <autogen@linuxbox.com>
12639
12640         * fixinc/inclhack.def
12641         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
12642         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
12643                 in net/inet.h.
12644         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
12645         (svr4_endian): enabled with SVR5
12646         (svr4_mkdev): simplified syntax and enabled with SVR5
12647
12648 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
12649
12650         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12651         * configure: Rebuilt.
12652         * config/t-freebsd-thread: New file.
12653
12654 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
12655
12656         * i386.c (ix86_decompose_address): Verify the base is a REG
12657         before trying to examine its register number.
12658
12659         * basic-block.h: Remove all #defines and prototypes related to
12660         integer lists.
12661         (free_bb_mem, compute_preds_succs): Remove prototype.
12662         * rtl.h (free_bb_mem): Remove prototype.
12663         * flow.c (alloc_int_list_node); Remove function.
12664         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12665         (compute_preds_succs, free_bb_mem): Likewise.
12666         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12667         * toplev.c (rest_of_compilation): Likewise.
12668         * haifa-sched.c (build_control_flow): Use flow generated edge
12669         list to build the haifa specific edge list.
12670         (find_rgns): Use new CFG data structures instead of pred/succ lists.
12671         (schedule_insns): Do not build pred/succ lists anymore.  Instead
12672         build the edge table.
12673
12674         * basic-block.h (dump_bb_data): Remove declaration.
12675         * flow.c (dump_bb_data): Remove function.
12676         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12677         (sbitmap_union_of_predsucc): Likewise.
12678
12679         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12680         argument.  All callers changed.
12681         (delete_null_pointer_checks_1): No longer need to compute the
12682         pred/succ lists.
12683
12684         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12685         All callers changed.
12686         (pre_expr_reaches_here_p_work): Likewise.
12687         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12688         * lcm.c (compute_laterin): Fix initialization of LATER.
12689         (compute_nearerout): Similarly for NEARER.
12690
12691 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12692
12693         * cse.c (set_nonvarying_address_components): Delete unused function.
12694         (refers_to_p): Likewise.
12695
12696 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
12697
12698         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12699         needed.
12700
12701 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12702
12703         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12704         definition in do while (0).
12705
12706 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
12707
12708         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12709
12710 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
12711
12712         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12713
12714 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
12715
12716         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12717         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12718         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12719         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12720
12721         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12722         saved on the stack.  Output more accurate stack frame statistics
12723         into assembler file.
12724
12725 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
12726
12727         * genextract.c (record_insn_name): New function.
12728         (get_insn_name): No longer a stub.
12729         (main): Call record_insn_name for each insn.  After each label
12730         written, print the insn name in a comment.
12731
12732 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12733
12734         * output.h (const_section, init_section, fini_section): Add
12735         prototypes.
12736
12737         * alpha/elf.h (const_section): Delete declaration.
12738
12739         * svr4.h (const_section): Likewise.
12740
12741 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
12742
12743         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12744         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12745         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12746         expressions.
12747         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12748         variable-sized array bounds.
12749
12750 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
12751
12752         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
12753         ASM_OUTPUT_LABEL.
12754
12755 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12756
12757         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12758         addresses the same way GO_IF_LEGITIMATE_INDEX does.
12759
12760 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12761
12762         * cse.c (hash_arg_in_struct): Delete.
12763         (struct table_elt): Delete elt in_struct.
12764         (struct set): Delete elt src_in_struct.
12765         (merge_equiv_classes): Don't set either hash_arg_in_struct or
12766         the corresponding in_struct elts.
12767         (canon_hash): Likewise.
12768         (safe_hash): Likewise.
12769         (find_best_addr): Likewise.
12770         (record_jump_cond): Likewise.
12771         (cse_insn): Likewise.
12772
12773 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
12774
12775         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12776
12777         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12778         unsigned types.
12779
12780 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
12781
12782         * function.c (diddle_return_value): Put back check that the DECL_RTL
12783         for the function is a register.
12784
12785         * function.c (diddle_return_value): Use hard_function_value to
12786         get an rtx suitable for use in the USE/CLOBBER insn.
12787
12788         * global.c (global_conflicts): Update comments.
12789         (record_conflicts): No need to record conflicts between pseudos here.
12790
12791 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
12792
12793         * fixinc/fixincl.c: Added verbose levels for status messages
12794
12795 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12796
12797         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12798         operand as argument to expand_and or expand_binop.
12799
12800 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
12801
12802         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12803         gcc_add_string_root.
12804
12805 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
12806
12807         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12808
12809 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
12810
12811         * flow.c (compute_flow_dominators): Initially put all blocks on
12812         the worklist.
12813         * lcm.c (compute_antinout_edge, compute_available): Similarly.
12814         * gcse.c (compute_cprop_avinout): Remove.
12815         (compute_cprop_data): Use compute_available.
12816         (delete_null_pointer_checks_1): Use compute_available.
12817
12818         * basic-block.h (compute_available): Returns a void now.
12819         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12820         to return a value anymore.
12821         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12822         worklists.  Fix boundary cases. Compute maximal solutions.
12823         (compute_laterin, compute_nearerout): Similarly.
12824
12825         * dwarf2out.c (add_AT_location_description): Allow
12826         (mem (plus (pseudo) (...)) too.
12827
12828 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
12829
12830         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12831
12832 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
12833                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12834
12835         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12836
12837         * gansidecl.h: Likewise.
12838
12839         * rtl.c: Likewise.
12840
12841         * rtl.h: Likewise.
12842
12843         * toplev.h: Likewise.
12844
12845         * tree.c: Likewise.
12846
12847         * tree.h: Likewise.
12848
12849         * varray.c: Likewise.
12850
12851         * varray.h: Likewise.
12852
12853 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
12854
12855         * gcov.c (struct arcdata): Add hits and total, remove prob.
12856         (output_branch_counts): New.
12857         (process_args): Set output_branch_counts if -c.
12858         (calculate_branch_probs): Store hits and total instead of
12859         percentage.
12860         (output_data): Emit counts if output_branch_counts is true.
12861         * gcov.texi (Invoking Gcov): Document -c switch..
12862
12863 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
12864
12865         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12866         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12867
12868 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
12869
12870         * invoke.texi (C Dialect Options): Add missing builtins from
12871         c-common.c to list.
12872         * extend.texi (Other Builtins): Copy to this list.
12873
12874 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12875
12876         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
12877         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
12878         redundant bitmap.h.
12879
12880 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
12881
12882         * flow.c (compute_flow_dominators): No longer treat basic block 0
12883         or (n_basic_blocks - 1) specially.  Clear the AUX field before
12884         starting computation of doms/pdoms.  Fix initial state for pdoms.
12885
12886 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12887
12888         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
12889         match rtl.o's: added ggc.h and toplev.h
12890         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
12891         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
12892         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
12893
12894 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
12895
12896         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
12897         from HAVE_DOS_BASED_FILESYSTEM.
12898         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
12899         HAVE_DOS_BASED_FILESYSTEM.
12900         (main): Likewise.
12901         (split_directories): Only special-case DOS file names if
12902         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
12903         instead of explicit tests.  Conditionalize on !VMS.
12904         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
12905         tests.  Conditionalize on !VMS.
12906         (process_command): Only use make_relative_prefix if !VMS.
12907         (free_split_directories): Conditionalize on !VMS.
12908         (DIR_UP): Conditionalize on !VMS.
12909
12910 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12911
12912         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
12913
12914 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12915
12916         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
12917         case.
12918
12919 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
12920
12921         * invoke.texi (Environment Variables): Document relative path
12922         lookup.
12923         * gcc.c (DIR_UP): If not defined, define as "..".
12924         (standard_bindir_prefix): New static, holds target location to
12925         install binaries.
12926         (split_directories): New function to split a filename into
12927         component directories.
12928         (free_split_directories): New function, release memory allocated
12929         by split_directories.
12930         (make_relative_prefix): New function, make a relative pathname if
12931         the compiler is not in the expected location.
12932         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
12933         can figure out an appropriate prefix from argv[0].
12934         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
12935         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
12936         STANDARD_BINDIR_PREFIX.
12937
12938 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12939
12940         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
12941         in c4x.c.
12942         * config/c4x/c4x.h: Moved prototypes to c4x.h.
12943         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
12944         c4x_secondary_memory_needed) Delete.
12945         (fp_zero_operand): Add mode argument.
12946
12947 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
12948
12949         * reload1.c (reload_reg_free_for_value_p): Don't use a register
12950         that is in reload_reg_used.
12951
12952 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
12953
12954         * config/arm/arm-protos.h: New file: Prototypes for functions
12955         defined in arm.c and pe.c.
12956         * config/arm/arm.h: Fix compile time warnings.
12957         * config/arm/arm.c: Fix compile time warnings.
12958         * config/arm/pe.h: Fix compile time warnings.
12959         * config/arm/aout.h: Fix compile time warnings.
12960
12961 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
12962
12963         * config/m32r/m32r-protos.h: New file: Prototypes for functions
12964         defined in m32r.c
12965
12966         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
12967         Add support for subtargets.
12968         Add prototypes for new predicates.
12969         Add scheduling macros.
12970
12971         * config/m32r/m32r.c: Fix compile time warnings.
12972         (int8_operand): New predicate function.
12973         (reg_or_cmp_int16_operand): New predicate function.
12974         (extend_operand): New predicate function.
12975         (m32r_adjust_code): New scheduling function.
12976         (m32r_adjust_priorty): New scheduling function.
12977         (m32r_sched_init): New scheduling function.
12978         (m32r_sched_reorder): New scheduling function.
12979         (m32r_sched_variable_issue): New scheduling function.
12980         (direct_return): New codegen function.
12981         (m32r_not_same_reg): New rtl testsing function.
12982
12983         * config/m32r/m32r.md: Fix compile time warnings.
12984         Add support for pre decrement and post increment memory
12985         references.
12986         Add S<cc> patterns.
12987         Add fabs patterns.
12988
12989 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12990
12991         * global.c (EXECUTE_IF_CONFLICT): Don't define.
12992         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
12993         (find_reg): Likewise.
12994
12995 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
12996
12997         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
12998         to avoid assembler errors.
12999
13000 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
13001
13002         * config/v850/v850-protos.h: New file: Prototypes for functions
13003         defined in v850.c
13004         * config/v850/v850.h: Move prototypes to v850-protos.h
13005         * config/v850/v850.c: Move prototypes to v850-protos.h
13006         * config/v850/v850.md: Fix compile time warnings.
13007
13008         * config/fr30/fr30-protos.h: New file: Prototypes for functions
13009         defined in fr30.c
13010         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13011         * config/fr30/fr30.c: Fix compile time warnings.
13012         * config/fr30/fr30.md: Fix compile time warnings.
13013
13014 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
13015
13016         * tree.h (get_containing_scope): Declare it.
13017         * tree.c (get_containing_scope): New fucntion.
13018         (decl_function_context): Use it.
13019         * toplev.c (rest_of_compilation): Use get_containing_scope.
13020
13021 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13022
13023         * Makefile.in (rtl.o): Depend on toplev.h.
13024
13025 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
13026
13027         * cse.c (delete_trivially_dead_insns): Replace alloca with
13028         xmalloc/xcalloc.
13029         * except.c (update_rethrow_references): Likewise.
13030         (init_eh_nesting_info): Likewise.
13031         * function.c (identify_blocks): Likewise.
13032         * gcse.c (dump_hash_table): Likewise.
13033         * graph.c (print_rtl_graph_with_bb): Likewise.
13034         * loop.c (combine_movables): Likewise.
13035         (move_movables): Likewise.
13036         (count_loop_regs_set): Likewise.
13037         (strength_reduce): Likewise.
13038         * profile.c (compute_branch_probabilities): New function, split
13039         out from ...
13040         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
13041         * regclass.c (regclass): Likewise.
13042         * regmove.c (regmove_optimize): Likewise.
13043         * toplev.c (compile_file): Likewise.
13044         (main): Don't mess with the stack rlimit.
13045
13046 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
13047
13048         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13049         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13050
13051 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
13052
13053         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13054
13055 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
13056
13057         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13058         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13059         macro expansion.
13060
13061 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
13062
13063         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13064
13065 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
13066
13067         * gcse.c (post_dominators): Kill.
13068         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13069         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
13070         pass in a pdom array since we do not need pdoms.
13071         * haifa-sched.c (schedule_insns): Similarly.
13072         * flow.c (compute_dominators): Remove dead function.
13073         (compute_flow_dominators): Do not compute doms or pdoms if the
13074         caller does not request them.  Split up loop to build doms and
13075         pdoms.  Use a worklist to compute doms and pdoms.
13076         * basic-block.h (compute_dominators): Remove prototype.
13077
13078 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
13079
13080         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13081         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13082         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13083         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13084         (cant_move, fed_by_spec_load, is_load_insn): Remove.
13085         (schedule_region): Remove unused variable.
13086         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13087
13088 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
13089
13090         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13091         (update_equiv_regs): Likewise.
13092         (block_alloc): Likewise.
13093         * reg-stack.c (reg_to_stack): Likewise.
13094         (convert_regs_2): Likewise.
13095         * reload1.c (reload_as_needed): Likewise.
13096
13097 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
13098
13099         * Makefile.in (dbxout.o): Depend on ggc.h.
13100         (dwarf2out.o): Likewise.
13101         (xcoffout.o): Likewise.
13102         * dbxout.c: Include ggc.h.
13103         (dbxout_init): Register lastfile as a root.
13104         * dwarf2out.c: Include ggc.h.
13105         (dwarf2out_line): Register lastfile as a root.
13106         * xcoffout.c: Include ggc.h.
13107         (xcoffout_source_line): Register xcoff_lastfile as a root.
13108
13109 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
13110
13111         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13112
13113 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
13114
13115         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13116         defined.
13117         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13118
13119 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13120
13121         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13122         (EXECUTE_IF_CONFLICT): Likewise.
13123         (ALLOCNO_LIVE_P): Avoid signed division.
13124         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13125         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13126         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13127
13128 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
13129
13130         * haifa-sched.c (schedule_block): Don't crash if there's no
13131         next insn for an interblock movement.
13132         (add_branch_dependences): Don't allow clobber insns to move either.
13133
13134 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
13135
13136         * i386.c (split_xf): New.
13137         * i386-protos.h: Declare it.
13138         * i386.md (movxf_1): Add general regs alternatives.
13139         (movxf_1+1): New splitter for same.
13140
13141 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
13142
13143         * function.c (purge_addressof_1): Add missing return values.
13144
13145 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
13146
13147         * function.c (is_addressof): New function.  Returns true if
13148         the given piece of RTL is an ADDRESSOF.
13149         (purge_addressof_1): Make boolean.  Return false if the
13150         ADDRESSOFs could not be purged.
13151         (purge_addressof): If ADDRESSOFs could not be purged from the
13152         notes attached to an insn, remove the offending note(s),
13153         unless they are attached to a libcall.
13154
13155 1999-11-05  Andreas Jaeger  <aj@suse.de>
13156
13157         * genoutput.c (null_operand =): Initialize all fields.
13158
13159         * errors.h: Add extern to prototypes.
13160
13161 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
13162
13163         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13164         * configure: Rebuilt.
13165
13166 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13167
13168         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13169         (mirror_conflicts): New function.
13170         (global_alloc): Call it.
13171         (expand_preferences): Remove redundant CONFLICTP test.
13172         (find_reg, dump_conflicts): Likewise.
13173         (prune_preferences): Process conflicts one word at a time.
13174
13175 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
13176
13177         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13178         instead of an explicit loop.
13179
13180 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
13181
13182         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
13183         if REG_RETVAL check succeeds, then put classp in src_elt.
13184
13185 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
13186
13187         * function.c (pad_to_arg_alignment): Only update argument_pad
13188         if the argument's alignment is greater than STACK_BOUNDARY.
13189
13190 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
13191
13192         * bitmap.h (BITMAP_XFREE): New.
13193         * flow.c (life_analysis): Use it.
13194         (life_analysis_1): Free blocks.
13195
13196         * combine.c (undo_commit): New.
13197         (try_combine): Use it.  Don't zap undobuf.undos.
13198         (combine_instructions): Don't zap undobuf.undos; free the
13199         undobuf.frees list.
13200
13201         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13202
13203         * stmt.c (cost_table_): New.
13204         (estimate_case_costs): Use it instead of xmalloc.
13205
13206         * toplev.c (compile_file): Reuse dumpname memory instead
13207         of strdup'ing it.
13208
13209 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
13210
13211         * reg-stack.c (convert_regs_1): Initialize target_stack->top
13212         after verifying an EH edge.
13213
13214         * haifa-sched.c (init_rgn_data_dependences): Correctly
13215         size bb_pending_lists_length when zeroing.
13216
13217 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
13218
13219         * function.c (diddle_return_value): New.
13220         (expand_function_end): Use it.
13221         * stmt.c (expand_null_return): Likewise.
13222         (expand_value_return): Likewise.
13223
13224         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13225
13226         * reload1.c (reload): Don't remove return value clobbers.
13227
13228 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
13229
13230         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13231
13232 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
13233
13234         * cse.c (cse_main): Use xmalloc, not alloca.
13235         (cse_basic_block): Likewise.
13236         * local-alloc.c (local_alloc): Likewise.
13237
13238 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
13239                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13240
13241         * rtl.c: Include toplev.h.
13242         (fatal): Remove declaration.
13243
13244 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
13245
13246         * haifa-sched.c (schedule_block): Fix thinko.
13247
13248 1999-11-03  James McKelvey <mckelvey@fafnir.com>
13249
13250         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
13251         S_IR* defined values
13252
13253 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
13254
13255         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13256         call `malloc' instead.
13257
13258 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
13259
13260         * flags.h (flag_renumber_insns): Declare.
13261         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
13262         renumbering table.
13263         * rtl.h (renumber_insns): Change prototype.
13264         * toplev.c (flag_renumber_insns): Define.
13265         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13266
13267 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
13268
13269         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13270         and fpsqrtd.  Use them and create fdiv function unit to more
13271         accurately represent fpu sqrt pipeline semantics on UltraSparc.
13272         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13273
13274 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
13275
13276         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13277         3 on UltraSparc.
13278         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13279         insn into ready list, do not use just a raw swap.
13280
13281 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
13282
13283         * rtl.h (renumber_insns): New function.
13284         (remove_unnecessary_notes): Likewise.
13285         * emit-rtl.c (renumber_insns): Define.
13286         (remove_unncessary_notes): Likewise.
13287         * toplev.c (rest_of_compilation): Remove dead code.
13288         Use renumber_insns and remove_unncessary_notes.
13289
13290         * gcse.c (struct null_pointer_info): New type.
13291         (get_bitmap_width): New function.
13292         (current_block): Remove.
13293         (nonnull_local): Likewise.
13294         (nonnull_killed): Likewise.
13295         (invalidate_nonnull_info): Take a null_pointer_info as input.
13296         (delete_null_pointer_checks_1): New function.
13297         (delete_null_pointer_checks): Use it.
13298
13299         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13300         (split_edges): Likewise.
13301         (schedule_block): Likewise.
13302         (compute_block_backward_dependencies): Likewise.
13303         (schedule_region): Likewise.
13304         (schedule_insns): Likewise.
13305
13306 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
13307
13308         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13309         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13310         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13311         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13312         * jump.c (delete_unreferenced_labels): Don't delete if
13313         LABEL_ALTERNATE_NAME is set.
13314         * print-rtl.c (print_rtx): Dump alternate name.
13315         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13316         * rtl.h (LABEL_ALTERNATE_NAME): Define.
13317         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13318         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13319
13320 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13321
13322         * fix-header.c (recognized_extern, recognized_function): Constify
13323         a char*.
13324
13325         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13326         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13327         (compute_available): Remove unused variable `last'.
13328         (compute_nearerout): Remove unused variable `temp_bitmap'.
13329         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13330         Remove unused variable `x'.
13331
13332         * scan.h (recognized_function, recognized_extern): Constify a
13333         char*.
13334
13335         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13336
13337 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13338
13339         * varasm.c (decode_rtx_const): Use XSTR to access the string
13340         of a SYMBOL_REF.
13341
13342 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
13343
13344         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13345
13346 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13347
13348         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13349
13350 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
13351
13352         * pa.c (ireg_operand): New function.
13353         * pa.h (PREDICATE_CODES): Handle ireg_operand.
13354         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13355         Fix out of date comment.
13356
13357         * pa.md (negdi2): Turn into expander + anonymous pattern.
13358
13359         * reload.c (find_reloads): Fix typos in recent change.
13360
13361         * dwarf2out.c: Do not include ctype.h.
13362
13363 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13364
13365         * regclass.c (record_reg_classes): Always use may_move_cost when
13366         seeing how operand fits with various register classes.
13367
13368 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
13369
13370         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13371         * toplev.c: Revert Nov 1 13:22 change.
13372
13373 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
13374
13375         * config/pa/pa.md (height reduction patterns): Add checks for
13376         overlapping operands to avoid semantic-destroying splits for
13377         height reduction patterns.
13378
13379 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13380
13381         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13382         have been an hyphen, fixed.
13383         * configure: Rebuilt.
13384
13385 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
13386
13387         * config/arm/tpe.h: Add prototypes for exported functions.
13388         * config/arm/pe.c: Fix compile time warnings.
13389         * config/arm/semi.h: Fix compile time warnings.
13390         * config/arm/arm.c: Fix compile time warnings.
13391         * config/arm/arm.h: Fix compile time warnings.
13392         * config/arm/arm.md: Fix compile time warnings.
13393         * config/arm/thumb.c: Fix compile time warnings.
13394         * config/arm/thumb.h: Fix compile time warnings.
13395         * config/arm/thumb.md: Fix compile time warnings.
13396
13397 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
13398
13399         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13400         detection code
13401
13402         * unroll.c (unroll_loop): Remove LOOP notes when loop is
13403         completely unrolled.
13404
13405 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13406
13407         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13408
13409 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
13410
13411         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13412         * rtl.h (rtx_equal_p): Move prototype.
13413         * rtl.c (rtx_equal_function_value_matters): Move from
13414         rtlanal.c
13415         (rtx_equal_p): Likewise.
13416         * rtlanal.c (rtx_equal_function_value_matters): Delete.
13417         (rtx_equal_p): Likewise.
13418
13419 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13420
13421         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13422         ! HAS_INIT_SECTION.
13423
13424 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
13425
13426         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13427
13428         * pa.h (ADDR_VEC_ALIGN): Define.
13429
13430         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13431         notes when presented with "if (foo) break; end_of_loop" and
13432         the break sequence gets moved out of the loop.
13433
13434         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13435         Remove explicit zero initializations of entries within MAP.
13436
13437 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
13438
13439         * reg-stack.c (convert_regs_1): Handle EH edges specially.
13440
13441 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
13442
13443         * bitmap.h (BITMAP_XMALLOC): New macro.
13444         * flow.c (CLEAN_ALLOCA): Remove.
13445         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13446         (life_analysis): Likewise.
13447         (update_life_info): Don't use CLEAN_ALLOCA.
13448         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13449         (calculate_global_regs_live): Likewise.
13450         (print_rtl_with_bb): Likewise.
13451         (verify_flow_info): Likewise.
13452         * global.c (global_alloc): Likewise.
13453         (global_conflicts): Likewise.
13454         * integrate.c (save_for_inline_nocopy): Likewise.
13455         (expand_inline_function): Likewise.
13456         * jump.c (jump_optimize_1): Likewise.
13457         (duplicate_loop_exit_test): Likewise.
13458         (thread_jumps): Likewise.
13459         * loop.c (loop_optimize): Likewise.
13460         (combine_givs): Likewise.
13461         (recombine_givs): Likewise.
13462         * reorg.c (dbr_schedule): Likewise.
13463         * unroll.c (unroll_loop): Likewise.
13464
13465         * combine.c (combine_instructions): Use xmalloc instead of alloca.
13466
13467 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
13468
13469         * toplev.c (rest_of_compilation): Don't optimize the CFG
13470         when rebuilding, just before dbr.
13471
13472 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13473
13474         * output.h (assemble_end_function, assemble_destructor,
13475         assemble_constructor, assemble_gc_entry, assemble_global,
13476         assemble_label, output_constant_pool) Constify a char*.
13477
13478         * varasm.c (assemble_destructor, assemble_constructor,
13479         assemble_gc_entry, assemble_end_function, assemble_global,
13480         assemble_label, output_constant_pool): Likewise.
13481
13482 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
13483
13484         * config/arm/thumb.c (thumb_expand_prologue): Add comments
13485         explaining what is goin on in this function.
13486
13487 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13488
13489         * regclass.c (record_reg_classes): In matching case, recompute
13490         costs since the direction of movement is different.
13491
13492 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
13493
13494         * resource.c (mark_target_live_regs): For unconditional branches,
13495         the resources found at the branch target should be added to the
13496         resources found so far, not intersected.
13497
13498 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
13499
13500         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13501         old cpp's.
13502         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13503         (sys/mman.h): Include this file only if #HAVE_MMAP.
13504         (run_compiles): Initialize `esac_fmt' with one old KR string, not
13505         with automatically concatenated ANSI strings.
13506
13507 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
13508
13509         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13510         (DIV_ROUND_UP): Robustify.
13511         (ggc_recalculate_in_use_p): New function.
13512         (release_pages): Don't inline it.
13513         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13514         outer contexts.
13515         (ggc_pop_context): Use ggc_recalculate_in_use_p.
13516         (clear_marks): Always save in_use_p.
13517         (sweep_pages): Use ggc_recalculate_in_use_p.
13518         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13519         Release pages before counting statistics.
13520
13521 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
13522
13523         * toplev.c (rest_of_compilation): Fix thinko in this change:
13524
13525         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13526
13527         (rest_of_compilation): If inside an inlined external function,
13528         pretend we are just being declared.
13529
13530 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
13531
13532         * flow.c (calculate_global_regs_live): Fix thinko.
13533
13534         * integrate.c (expand_inline_function): Fix bugs in previous
13535         change from Oct 28, 1999.
13536
13537 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
13538
13539         * stmt.c (expand_value_return): Fix typo in this change:
13540
13541         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13542         (expand_value_return): Correctly convert VAL when promoting function
13543         return; support RETURN_REG being a PARALLEL.
13544
13545 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
13546
13547         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13548
13549 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13550
13551         * hard-reg-set.h (reg_names): Constify a char*.
13552
13553         * regclass.c  (reg_names): Likewise.
13554
13555         * regs.h (reg_names): Likewise
13556
13557         * a29k/a29k.c (reg_names): Delete declaration.
13558
13559         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13560
13561         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13562         arc_output_function_epilogue): Likewise.
13563
13564         * elxsi/elxsi.c (reg_names): Likewise.
13565
13566         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13567
13568         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13569         Likewise.
13570
13571         * m88k/m88k.c (output_function_profiler): Likewise.
13572
13573         * sparc/sparc.c (sparc_flat_output_function_prologue,
13574         sparc_flat_output_function_epilogue): Likewise.
13575
13576 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
13577
13578         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13579         warning from -Wuninitialized and put it under -W.
13580         * function.c (uninitialized_vars_warning): Warn only when the
13581         corresponding flag is set.
13582
13583 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
13584
13585         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13586         is nonzero and the single set does not have an elt, then assign
13587         it an elt.
13588
13589         * simplify-rtx.c: New file.
13590         * Makefile.in (OBJS): Add simplify-rtx.o
13591         (simplify-rtx.o): Add dependencies.
13592         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13593         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13594         (cse_gen_binary, simplify_unary_operation): Delete.
13595         (simplify_binary_operation, simplify_plus_minus): Likewise.
13596         (check_fold_consts, simplify_relation_operation): Likewise.
13597         (simplify_ternary_operation): Likewise.
13598         (delete_trivially_dead_insns): Simplify the contents of the
13599         REG_EQUAL note before trying to substitute it into the source
13600         of the reg-reg copy at the end of a libcall sequence.
13601
13602         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
13603         references/callers changed.
13604
13605         * mn10200.c (mn10200_va_arg): Force the return value into a
13606         register.
13607
13608         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13609
13610         * cccp.c (macroexpand): Avoid out of range accesses for omitted
13611         arguments.
13612
13613 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
13614
13615         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13616
13617 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
13618
13619         * fold-const.c (fold): Fix thinko when optimizing comparisons
13620         against -0.0.
13621
13622 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
13623
13624         * gcc.texi (Passes): Update front-end files to their current
13625         location.
13626
13627 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
13628
13629         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13630         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13631         (PREDICATE_CODES): Add addition_operation.
13632         * alpha-protos.h (addition_operation): Declare.
13633         (secondary_reload_class): Likewise.
13634         * alpha.c (addition_operation): New.
13635         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13636         * alpha.md (adddi3): Turn into expander.
13637         (*lda, *adddi_2): New.
13638         (movsf, movdf patterns): Don't preference integer regs.
13639         (movsi, movdi patterns): Don't preference fp regs.
13640
13641 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
13642
13643         * genrecog.c (write_switch): Check for duplicate CODE cases.
13644
13645 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
13646
13647         * ggc-common.c: Update pre-function commentary.
13648         * ggc-page.c: Likewise.
13649         (poison): Remove.
13650         (poison_pages): Use memset directly.
13651         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
13652         (ggc_collect): Poison before sweeping.
13653         * ggc-simple.c: Update pre-function commentary.
13654         (ggc_alloc_obj): Poison non-zeroed memory.
13655
13656 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
13657
13658         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13659         match format string, even on 64-bit hosts.
13660         * gcc-page.c (ggc_page_print_statistics): Likewise.
13661
13662 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
13663
13664         * config/i386/i386.c (ix86_cpu): Revert last patch.
13665         * config/i386/i386.h (ix86_cpu): Ditto.
13666
13667 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
13668
13669         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13670         TYPE_SIZE, convert type of result to sizetype.
13671
13672 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
13673
13674         * flow.c (count_or_remove_death_notes): Equate NULL with the
13675         universal set.
13676
13677         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13678         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13679         dbr_schedule.
13680
13681         * i386.c (pic_label_no): Delete.
13682         (ix86_attr_length_default): Don't use single_set to peek
13683         inside a parallel.
13684
13685         * recog.c (peephole2_optimize): Allow recog_next_insn to index
13686         the first insn after bb->end.
13687         * i386.md (push mem peeps): Scratch is live after evaluation
13688         of the memory.
13689         (cmp mem peep): Similarly.
13690
13691 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
13692
13693         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13694         * function.c (pad_to_arg_alignment): Add missing braces.
13695
13696 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13697
13698         * alpha/alpha-protos.h (literal_section): Add prototype.
13699         (alpha_need_linkage, alpha_start_function,alpha_end_function):
13700         Constify a char*.
13701
13702         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13703         prototype.
13704         (alpha_start_function, alpha_end_function, float_strings,
13705         alpha_need_linkage): Constify a char*
13706
13707         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13708
13709         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13710
13711         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13712
13713         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13714
13715 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13716
13717         * flow.c (debug_flow_info): Add prototype.
13718
13719         * gcc.c (main): Likewise.
13720
13721         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13722         Likewise.
13723
13724         * reload1.c (failed_reload, set_reload_reg): Likewise.
13725
13726         * mips-tfile.c (main): Likewise.
13727         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13728         with ATTRIBUTE_NORETURN.
13729
13730 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
13731
13732         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13733         DECL is not a memory ref.
13734
13735 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
13736
13737         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13738         * config/i386/i386.c (ix86_cpu): Add extern attribute.
13739
13740 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
13741
13742         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13743         * config/mips/elf64.h: ditto.
13744
13745 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
13746
13747         * expr.c (emit_push_insn): New argument alignment_pad.
13748         Update all callers.  Adjust stack pointer based on alignment pad.
13749         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
13750         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
13751         (locate_and_pad_parm): New argument alignment_pad.  Update all
13752         callers.
13753         * expr.h (emit_push_insn): Update prototype.
13754         (locate_and_pad_parm): Update prototype.
13755         * calls.c (arg_data):  Add new field alignment_pad.
13756         (initialize_argument_information): Initialize alignment_pad.
13757
13758 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
13759
13760         * except.c (free_eh_nesting_info): Free the info itself.
13761         * function.c (free_after_compilation): Don't free NULL.
13762         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13763         (pre_edge_insert): Free inserted.
13764         * stmt.c (free_stmt_status): Don't free NULL.
13765
13766 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13767
13768         * gcov.c (DIR_SEPARATOR): Provide default.
13769         (output_data): Add test for MS-DOS format absolute filename.
13770         (fancy_abort): Correct program name.
13771         (open_files): Open all files in binary mode.
13772         * libgcc2.c (__bb_exit_func): Likewise.
13773
13774         * profile.c (init_branch_prob): Specify binary when opening files.
13775
13776         * flags.h (flag_unwind_tables): New decl.
13777         * toplev.c (flag_unwind_table): New definition.
13778         (f_options): Add -funwind-tables.
13779         (decode_g_option): Clarify warning when unknown -g option is given.
13780         (rest_of_compilation): If inside an inlined external function,
13781         pretend we are just being declared.
13782
13783         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13784         (dwarf2out_frame_finish): Likewise.
13785
13786 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
13787
13788         * fold-const.c (merge_ranges): If not in0, but in1, handle
13789         upper bounds equal like subset case.
13790
13791 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
13792
13793         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13794         passed in a register but moved to the stack.
13795
13796 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
13797
13798         * gcc.c (pass_exit_codes, greatest_status): New variables.
13799         (struct option_map): Add entry for "--pass-exit-codes".
13800         (execute): Update greatest_status if error.
13801         (display_help): Add documentation for -pass-exit-codes.
13802         (process_command): Handle -pass-exit-codes.
13803         (main): Look at pass_exit_codes and greatest_status on call to exit.
13804
13805 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13806
13807         * reload.c (find_reloads): Refine test for no input reload
13808         case to not includes reloads emitted after insn.
13809
13810         * function.c (find_temp_slots_from_address): Handle sum involving
13811         a register that points to a temp slot.
13812         (update_temp_slot_address): Make recursive call if both old and
13813         new are PLUS with a common operand.
13814         * calls.c (expand_call): Mark temp slot for result as having
13815         address taken.
13816
13817         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13818
13819         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13820         component as well as "BINUTILS".
13821
13822         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13823         * integrate.c (copy_rtx_and_substitute): Likewise.
13824         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13825         All callers changed.
13826         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13827
13828         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13829         gdb extensions, write size of type; also be more consistent
13830         in using references when this is a subtype.
13831
13832         * pa.md (extv, extzv, insv): Use define_expand to reject constant
13833         that is out of range.
13834
13835         * loop.c (unknown_constant_address_altered): New variable.
13836         (prescan_loop): Initialize it.
13837         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13838         (invariant_p, case MEM): Remove handling for volatile and readonly;
13839         check new variable if readonly.
13840         (check_dbra_loop): Chdeck unknown_constant_address_altered.
13841
13842         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13843         (addr_affects_sp_p): Removed from note_mem_written and only
13844         define #ifdef AUTO_INC_DEC.
13845
13846         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13847
13848         * regclass.c (record_reg_classes): Properly handle register move
13849         directions.
13850
13851         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13852         Don't think valid if both operands are invalid.
13853         (struct constant_descriptor): New field RTL.
13854         (mark_const_hash_entry): Mark it.
13855         (record_constant{,_rtx}): Initialize it.
13856         (output_constant_def): Allocate RTL in permanent obstack and
13857         save in table.
13858         ({record,compare}_constant_1): Modes must match for
13859         CONSTRUCTOR of ARRAY_TYPE.
13860
13861         * c-common.h (initializer_constant_valid_p): Delete decl from here.
13862         * output.h (initializer_constant_valid_p): Move decl to here.
13863         * c-common.c (initializer_constant_valid_p): Delete function from here.
13864         * varasm.c (initializer_constant_valid_p): Move function to here.
13865
13866         * tree.h (STRIP_SIGN_NOPS): New macro.
13867         * fold-const.c (optimize_minmax_comparison): New function.
13868         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
13869         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
13870         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
13871         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
13872         widening conversions.
13873         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
13874         to look at size of mode, not precision of type; also add missing cases.
13875         (optimize_bit_field_compare, decode_field_reference): Don't try to
13876         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
13877
13878         * dwarf2out.c (ctype.h): Include.
13879         (dwarf2out_set_demangle_name_func): New function.
13880         (size_of_line_info): Deleted.
13881         (output_line_info): Compute size of line info table from difference
13882         of labels.
13883         (base_type_die, add_name_attribute): Call demangle function, if any.
13884         (field_byte_offset): Use bits per word for variable length fields.
13885         (gen_array_type_die): Add array name.
13886         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
13887         (dwarf2out_add_library_unit_info): New function.
13888
13889         * explow.c (set_stack_check_libfunc): New function.
13890         (stack_check_libfunc): New static variable.
13891         (probe_stack_range): Allow front-end to set up a libfunc to call.
13892
13893         * combine.c (simplify_comparison): When making comparison in wider
13894         mode, check for having commuted an AND and a SUBREG.
13895         (contains_muldiv): New function.
13896         (try_combine): Call it when dividing a PARALLEL.
13897         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
13898         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
13899         a PLUS.
13900         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
13901         use one of the CLOBBERs instead.
13902         (if_then_else_cond): If comparing against zero, just return thing
13903         being compared.
13904
13905         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
13906         Don't generate shifts and subtract if have conditional arithmetic.
13907
13908         * rtl.h (delete_barrier): New declaration.
13909         * jump.c (jump_optimize): Set up to handle conditional call.
13910         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
13911         (delete_barrier): New function.
13912
13913         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
13914
13915         * recog.c (nonmemory_operand): Accept ADDRESSOF.
13916
13917         * tree.c (build_type_attribute_variant): Push to obstack of
13918         ttype around type_hash_canon call.
13919
13920         * expr.c (placeholder_list): Move decl to file scope.
13921         (expand_expr): Don't force access to volatile just because its
13922         address is taken.
13923         If ignoring reference operations, just expand the operands.
13924         (expand_expr, case COMPONENT_REF): Propagate
13925         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
13926         Refine test for using bitfield operations vs pointer punning.
13927         (expand_expr, case CONVERT_EXPR): If converting to
13928         BLKmode UNION_TYPE from BLKmode, just return inner object.
13929         Use proper mode in store_field call.
13930         Properly set sizes of object to store and total size in store_field
13931         call for convert to union.
13932         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
13933         memory (like for ADDR_EXPR).  Also, don't put constant in register if
13934         we'll want it in memory.
13935         (readonly_fields_p): New function.
13936         (expand_expr, case INDIRECT_REF): Call it if LHS.
13937         (expand_assignment): Handle a RESULT_DECL where
13938         DECL_RTL is a PARALLEL.
13939         (do_jump, case WITH_RECORD_EXPR): New case.
13940         (get_inner_reference): Always go inside a CONVERT_EXPR
13941         and NOP_EXPR if both modes are the same.
13942         (store_field): Use bitfield operations if size of bitsize is not same
13943         as size of RHS's type.
13944         Check for bitpos not a multiple of alignment in BLKmode case.
13945         Do block move in largest possible alignment.
13946         (store_constructor): Set BITSIZE to -1 for variable size and properly
13947         in case of array of BLKmode.
13948         (expand_expr_unaligned): New function.
13949         (do_compare_and_jump): Call it.
13950
13951         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
13952         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
13953         does not include 'o'.
13954
13955         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
13956         both SET_DEST and SET_SRC reference a virtual register.
13957         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
13958
13959         * integrate.c (expand_inline_function): Handle case of setting
13960         virtual stack vars register (from built in setjmp); when parameter
13961         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
13962         (subst_constant): Add new parm, MEMONLY.
13963         (expand_inline_function, integrate_parm_decls): Pass new parm.
13964         (integrate_decl_tree): Likewise.
13965         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
13966         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
13967         (copy_rtx_and_substitute, case SET): Add explicit calls to
13968         copy_rtx_and_substitute for both sides.
13969
13970         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
13971         constraints.
13972         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
13973         within INDEX_TYPE, instead of before.
13974         (fixup_gotos): Use f->target_rtl, not the next insn,
13975         since latter may be from a later fixup.
13976         (expand_value_return): Correctly convert VAL when promoting function
13977         return; support RETURN_REG being a PARALLEL.
13978         (expand_return): When checking for result in regs and having
13979         cleanup, consider PARALLEL in DECL_RTL as being in regs.
13980
13981 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
13982
13983         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
13984         last_nominal_fname): Mark const.
13985         (struct include_hash: name, nshort, control_macro): Mark
13986         const.
13987         (struct macrodef: symnam): Mark const.
13988         (struct if_stack: fname): Mark const.
13989         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
13990         (IStable): New character-syntax array which encompasses all
13991         the old is_foo arrays.
13992         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
13993         is_space): New macros for interrogating IStable.
13994         (check_macro_name): Kill last argument.  All callers changed.
13995
13996         * cppinit.c (initialize_char_syntax): Delete.
13997         (is_idchar, is_idstart, is_hor_space, is_space,
13998         trigraph_table): Delete.
13999         (IStable): New.  Initialize with clever macros to avoid
14000         information duplication.
14001         (builtin_array): Table of builtins to get rid of explicit list
14002         in initialize_builtins.
14003         (initialize_builtins): Use builtins_array.
14004         (cpp_start_read): Call init_IStable, and set IStable['$'] if
14005         opts->dollars_in_ident.
14006
14007         * cppexp.c: Change all refs to is_xyz[] arrays to use new
14008         is_xyz() macros.
14009         (cpp_parse_expr): Avoid 'format string is not constant'
14010         warning. Use ISGRAPH to identify printable chars.
14011         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14012         is_xyz() macros.
14013         (read_and_prescan): Map trigraphs to chars with open-coded
14014         if-else-if-... sequence, not a lookup table.
14015         * cpphash.c: Change all refs to is_xyz[] arrays to use new
14016         is_xyz() macros.
14017         * cpplib.c: Change all refs to is_xyz[] arrays to use new
14018         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
14019         (check_macro_name): Remove ability to report an invalid
14020         assertion name, which is never used.
14021         (do_line): Constify a couple of char *'s.
14022         * cppmain.c (main): Call cpp_cleanup before returning.
14023
14024 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
14025
14026         * ggc.h (struct ggc_statistics): New type.
14027         (ggc_get_size): New function.
14028         (ggc_print_statistics): Likewise.
14029         * ggc-common.c (ggc_stats): New variable.
14030         (ggc_mark_rtx_children): Keep statistics.
14031         (ggc_mark_tree_children): Likewise.
14032         (ggc_print_statistics): New function.
14033         * ggc-page.c (struct globals): Add bytes_mapped field.
14034         (alloc_anon): Update it.
14035         (release_pages): Likewise.
14036         (ggc_get_size): New function.
14037         (ggc_page_print_statistics): New function.
14038         * ggc-simple.c (ggc_get_size): New function.
14039
14040 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
14041
14042         * flow.c (propagate_block): When the last reference to a label
14043         before an ADDR_VEC is deleted because the reference is a dead
14044         store, delete the ADDR_VEC.
14045
14046 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
14047
14048         * resource.c (find_free_register): Don't use the frame pointer
14049         if frame_pointer_needed.
14050
14051 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
14052
14053         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14054         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14055
14056         * config/i960/i960.c (i960_va_start): New locals base, num.
14057         Use INDIRECT_REF instead of ARRAY_REF on valist.
14058         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14059
14060 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
14061
14062         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14063
14064 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
14065
14066         * tree.def (PLACEHOLDER_EXPR): Update comments.
14067
14068 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14069
14070         * c-common.c (check_format_info): Avoid non-literal format string
14071         warnings when `first_arg_num' is zero.
14072
14073 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14074
14075         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14076
14077 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
14078
14079         * arm.md (casesi_insn): Add a clobber of the condition code
14080         register.
14081
14082 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
14083
14084         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14085         used by both cc1 and cc1plus.
14086
14087 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
14088
14089         * config/arm/arm.c: Initialise arm_structure_size_boundary to
14090         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14091         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14092         to the value 32 if it has not already been defined.
14093         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14094         Override definition in arm.h with a value of 8.
14095
14096 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
14097
14098         * c-pragma.c (push_alignment): Don't check the return value
14099         of xmalloc.
14100
14101 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
14102
14103         * sparc.h (ADJUST_COST): Fix thinko.
14104
14105 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
14106
14107         * cccp.c (rescan): Fixed obp pointer handling around call to
14108         check_expand subroutine.
14109
14110 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
14111
14112         * gcse.c (delete_null_pointer_checks): Only record non-null info
14113         for pseudos when examining stores.
14114
14115         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14116         splitters for these patterns.  Use "#" for output templates.
14117         (addsi3_carryin_shift): New pattern.
14118
14119 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
14120
14121         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14122         of the function return register into a plain REG until
14123         after function inlining is done.
14124
14125 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14126
14127         * jump.c (jump_optimize_1): If we did cross-jumping, and
14128         the data will matter, rebuild the CFG.
14129         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14130         not optimizing.  Don't run shorten_branches.
14131         * toplev.c (rest_of_compilation): Run shorten_branches after
14132         reg_to_stack.
14133
14134 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
14135
14136         * rtl.h (note_stores): Add additional paramter.
14137         * rtlanal.c (reg_set_p_1): Take additional paramter.
14138         (reg_set_last_1): Likewise.
14139         (reg_set_p): Adjust call to note_stores.
14140         (reg_set_last): Likewise.
14141         (note_stores): Pass data parameter to worker function.
14142         * alias.c (record_set): Take additional parameter.
14143         (init_alias_analysis): Pass it.
14144         * caller-save.c (mark_set_regs): Take additional parameter.
14145         (save_call_clobbered_regs): Pass NULL to note_stores.
14146         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14147         parameter.
14148         (record_dead_and_set_regs_1): Likewise.
14149         (reg_dead_at_p_1): Likewise.
14150         (combine_instructions): Adjust calls to note_stores.
14151         (try_combine): Likewise.
14152         (record_dead_insn): Remove.
14153         (record_dead_and_set_regs): Adjust calls to note_stores.
14154         (reg_dead_at_p): Likewise.
14155         * cse.c (invalidate_skipped_set): Take additional parameter.
14156         (cse_check_loop_start): Likewise.
14157         (cse_check_loop_start_value): Remove.
14158         (cse_set_around_loop): Adjust calls to note_stores.
14159         * flow.c (notice_stack_pointer_modification): Take additional
14160         parameter.  Remove duplicate declaration.
14161         (record_volatile_insns): Adjust calls to note_stores.
14162         * gcse.c (record_set_info): Take additional parameter.
14163         (record_last_set_info): Likewise.
14164         (invalidate_nonnull_info): Likewise.
14165         (record_set_insn): Remove.
14166         (compute_sets): Adjust calls to note_stores.
14167         (last_set_insn): Remove.
14168         (compute_hash_table): Adjust calls to note_stores.
14169         (insert_insn_end_bb): Likewise.
14170         (delete_null_pointer_checks): Likewise.
14171         * global.c (mark_reg_store): Take additional parameter.
14172         (mark_reg_clobber): Likewise.
14173         (reg_becomes_live): Likewise.
14174         (global_conflicts): Adjust calls to note_stores.
14175         (build_insn_chain): Likewise.
14176         * integrate.c (note_modified_parmregs): Take additional parameter.
14177         (mark_stores): Likewise.  Make it static.
14178         (save_for_inline_nocopy): Adjust calls to note_stores.
14179         (try_constants): Likewise.
14180         * integrate.h (mark_stores): Remove declaration.
14181         * jump.c (mark_modified_reg): Take additional parameter.
14182         (thread_jumps): Adjust calls to note_stores.
14183         * local-alloc.c (validate_equiv_mem_from_store): Take additional
14184         parameter.
14185         (no_equiv): Likewise.
14186         (reg_is_set): Likewise.
14187         (validate_equiv_mem): Adjust calls to note_stores.
14188         (update_equiv_regs): Likewise.
14189         (block_alloc): Likewise.
14190         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14191         (note_addr_stored): Take additional parameter.
14192         (note_set_pseudo_multiple_uses): Likewise.
14193         (record_initial): Likewise.
14194         (prescan_loop): Adjust calls to note_stores.
14195         (strength_reduce): Likewise.
14196         (check_dbra_loop): Likewise.
14197         * regmove.c (flags_set_1): Take additional paramter.
14198         (mark_flags_life_zones): Adjust calls to note_stores.
14199         * reload1.c (mark_not_eliminable): Take additional parameter.
14200         (forget_old_reloads_1): Likewise.
14201         (reload_cse_invalidate_rtx): Likewise.
14202         (reload_cse_check_clobber): Likewise.
14203         (reload_combine_note_store): Likewise.
14204         (move2add_note_store): Likewise.
14205         (reload): Adjust calls to note_stores.
14206         (reload_as_needed): Likewise.
14207         (emit_reload_insns): Likewise.
14208         (reload_cse_regs_1): Likewise.
14209         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14210         (reload_combine): Adjust calls to note_stores.
14211         * resource.c (update_live_status): Take additional paramter.
14212         (mark_target_live_regs): Adjust calls to note_stores.
14213         * stupid.c (find_clobbered_regs): Take additional parameter.
14214         (stupid_life_analysis): Adjust calls to note_stores.
14215
14216 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
14217
14218         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14219         definition.
14220
14221         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14222         definition.
14223
14224         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14225         of the variable arm_structure_size_boundary.
14226
14227 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14228
14229         * alias.c (init_alias_analysis): Allocate reg_known_value and
14230         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
14231         and reg_seen.
14232         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14233         * cse.c (cse_main): Call end_alias_analysis.
14234         * haifa-sched.c (schedule_insns): Likewise.
14235         * local-alloc. (update_equiv_regs): Likewise.
14236         * reload1.c (reload_cse_regs): Likewise.
14237
14238 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14239
14240         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14241         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14242         mapping from MASK_FPU.
14243
14244 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
14245
14246         * sparc.md (call): Don't bound structure return size to 0xfff.
14247
14248 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
14249
14250         * resource.c (mark_target_live_regs): Check that the target
14251         insn wasn't created after compute_bb_for_insn.
14252
14253 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
14254
14255         * ggc-page.c (poison_pages): Don't be overzealous.
14256
14257 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
14258
14259         * alias.c: Update comments for ADDRESS.
14260         (nonlocal_reference_p): Look inside the ADDRESS to determine if
14261         it is a local memory reference.
14262
14263         * c-typeck.c (build_function_call): Check that the built-in
14264         function is of class BUILT_IN_NORMAL before trying to recongize
14265         it as BUILT_IN_ABS.
14266         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14267         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14268
14269 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
14270
14271         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14272         of alloca.
14273         (pre_gcse): Likewise.
14274         (hoist_expr_reaches_here_p): Likewise.
14275         (hoist_code): Likewise.
14276         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14277         code to ...
14278         (pre_expr_reaches_here_p_work): ... here.
14279         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14280         code to ...
14281         (expr_reaches_here_p_work): ... here.
14282
14283 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
14284
14285         * resource.c (find_basic_block): Delete.
14286         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14287         (init_resource_info): Call compute_bb_for_insn.
14288
14289 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
14290
14291         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14292         with already adjacent blocks, but no fallthru.
14293         (merge_blocks_move_successor_nojumps): Simplify.
14294         (debug_flow_info): New.
14295
14296         * toplev.c (rest_of_compilation): Open jump1 dump file before
14297         jump and close after, as opposed to just using dump_rtl.
14298
14299 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14300
14301         * reload.h (earlyclobber_operand_p): Declare.
14302         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
14303         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14304         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14305         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
14306
14307 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14308                           Richard Henderson  <rth@cygnus.com>
14309
14310         * emit-rtl.c (emit_block_insn_before): New.
14311         (emit_block_insn_after): New.
14312         * basic-block.h: Declare them.
14313
14314         * bitmap.h: Protect from multiple inclusion.
14315
14316         * recog.c (scratch_operand): Handle VOIDmode correctly.
14317
14318         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14319
14320         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14321         * function.c (assign_parms): Likewise.
14322         * global.c (global_conflicts): Clarify STACK_REGS commentary.
14323
14324         * reg-stack.c (max_uid): Remove.
14325         (blocks, block_begin, block_end, block_drops_in): Remove.
14326         (block_stack_in, block_out_reg_set, block_number): Remove.
14327         (struct block_info_def, BLOCK_INFO): New.
14328         (enum emit_where): New.
14329         (current_block): New.
14330         (BLOCK_NUM): Remove.
14331         (mark_regs_pat, record_label_references): Remove.
14332         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14333         (nan): New.
14334         (goto_block_pat, print_blocks, dump_stack_info): Remove.
14335         (reg_to_stack): Simplified test for existance of fp code.  Use
14336         flow.c code.  Call shorten_branches after cross-jump opt.
14337         (check_asm_stack_operands): Renamed from record_asm_reg_life.
14338         Return false if the asm doesn't use stack regs.  Don't do life
14339         analysis on the asm.
14340         (emit_pop_insn): Replace function pointer arg `when' with
14341         enum `where'.  Update all callers.
14342         (change_stack): Likewise.  Update basic block end.
14343         (emit_swap_insn): Use current_block->head to limit reverse search
14344         for start of block.  Use emit_block_insn_after.
14345         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14346         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
14347         structure assignment instead of bcopy.
14348         (print_stack): New.
14349         (convert_regs_entry, convert_regs_exit): New.
14350         (convert_regs_1, convert_regs_2): Split out from convert_regs.
14351         Work on basic blocks and the CFG.
14352         (convert_regs): Use them.
14353
14354         * i386.c (output_fix_trunc): Remove code for DImode input operand
14355         not at top-of-stack.
14356         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14357         appropriate mode.
14358         (fix_truncdi_1): Allow any mode scratch.
14359
14360 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
14361
14362         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14363         * linux.h, netbsd.h, vms.h: Not here.
14364
14365 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
14366
14367         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14368         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14369         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14370         CONDITIONAL_REGISTER_USEAGE): Use them.
14371         * config/mips/mips.c (mips_move_1word,mips_move_2words,
14372         gen_conditional_branch,override_options) : Use them.
14373         * config/mips/mips.md : Use them.
14374
14375 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
14376
14377         * i386.md (zero_extendqihi2): Use SImode register name with andl.
14378
14379 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
14380
14381         * integrate.c (function_cannot_inline_p): Don't allow inlining
14382         if setjmp is used.
14383
14384 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14385
14386         * c-parse.in (cast_expr): Constify.
14387
14388         * cccp.c (special_symbol): Likewise.
14389
14390         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14391
14392         * dwarf2out.c (base_type_die): Likewise.
14393
14394         * global.c (allocno_compare): Likewise.
14395
14396         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14397
14398         * regclass.c (fix_register): Likewise.
14399
14400         * rtl.h (fix_register): Likewise.
14401
14402         * stupid.c (stupid_reg_compare): Likewise.
14403
14404         * toplev.c (decode_f_option): Likewise.
14405
14406         * tree.c (build_complex_type): Likewise.
14407
14408 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
14409
14410         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14411
14412 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14413
14414         * reload.c (find_reloads): Compute mode and nregs fields of all
14415         reloads.
14416         * reload1.c (calculate_needs_all_insns): Simplify a bit.
14417         (calculate_needs): Use precomputed mode/nregs values.
14418         (allocate_reload_reg): Likewise.
14419         Break out two...
14420         (failed_reload, set_reload_reg): ... new functions.
14421         (choose_reload_regs_init): New function, mostly broken out from...
14422         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
14423         Also lose one #if 0 block.
14424
14425 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
14426
14427         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
14428         substitution.
14429
14430 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
14431
14432         * tree.h (BLOCK_TYPE_TAGS): Remove.
14433         (BLOCK_END_NOTE): Likewise.
14434         (BLOCK_LIVE_RANGE_FLAG): Likewise.
14435         (BLOCK_LIVE_RANGE_START): Likewise.
14436         (BLOCK_LIVE_RANGE_END): Likewise.
14437         (tree_block): Remove live_range_flag, live_range_var_flag, and
14438         type_tags.  Remove end_note, live_range_start, and live_range_end.
14439         (remember_end_note): Remove prototype.
14440         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14441         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14442         remember_end_note.
14443         * ggc-common.c (ggc_mark_tree_children): Don't mark
14444         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14445         * integrate.c (adjust_copied_decl_tree): Remove.
14446         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14447         * stmt.c (last_block_end_note): Remove.
14448         (init_stmt): Don't add a GC root for it.
14449         (expand_fixup): Don't set it.
14450         (remember_end_note): Remove.
14451         (expand_end_bindings): Don't set last_block_end_note.
14452
14453 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14454
14455         * reload1.c (reload_reg_free_for_value_p): Show
14456         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14457         reloads.
14458
14459 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
14460
14461         * expmed.c (extract_bit_field): Allow for the case of non-integer
14462         objects that are smaller than a word (like SFmode on a 64-bit
14463         machine).
14464
14465         * loop.c (basic_induction_var): A non-integer variable which is
14466         being set by a paradoxical subreg is probably not a biv.
14467
14468 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14469
14470         * prefix.c (translate_name) Check for empty prefix string.
14471
14472 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
14473
14474         * Makefile.in (CPP_CROSS_NAME): New variable.
14475         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14476         xcpp.
14477         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14478         names of the files to be uninstalled.
14479
14480 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
14481
14482         * collect2.c (IS_DIR_SEPARATOR): Define.
14483         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14484
14485         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14486         functions too.
14487
14488         * haifa-sched.c (add_dependence): Update the true dependency
14489         cache the first time we add a true dependence to the LOG_LINKS chain.
14490
14491 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
14492
14493         * fold-const.c (fold): Fix comment.
14494
14495 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14496
14497         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14498         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14499         dbxout_start_new_source_file, dbxout_source_file,
14500         dbxout_source_line, dbxout_finish, dbxout_type_fields,
14501         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14502         Constify a char*.
14503         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14504         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14505         (dbxout_block): Initialize variable `blocknum'.
14506
14507         * dbxout.h (dbxout_init, dbxout_finish,
14508         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14509         dbxout_args, dbxout_source_line): Constify a char*.
14510
14511         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14512         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14513         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14514         low_pc_attribute, high_pc_attribute, body_begin_attribute,
14515         body_end_attribute, comp_dir_attribute, sf_names_attribute,
14516         src_info_attribute, mac_info_attribute, producer_attribute,
14517         lookup_filename, generate_macinfo_entry, fundamental_type_code,
14518         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14519         dwarfout_undef): Constify a char*.
14520         (add_incomplete_type, retry_incomplete_types): Add prototypes.
14521
14522         * dwarfout.h (dwarfout_define, dwarfout_undef,
14523         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14524
14525 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
14526
14527         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14528         (MULTILIB_ISA_DEFAULT): New.
14529         (MULTILIB_DEFAULTS): Use it.
14530         * config/mips/mips.c (): Remove the now unnecessary definition
14531         of MIPS_ISA_DEFAULT.
14532         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14533         unnecessary definition.
14534
14535 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
14536
14537         * arm.md (pic_load_addr): Add constraints to operand 1.
14538
14539 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
14540
14541         * fixinc/genfixes:  Provide a means for specifying -D options to
14542         AutoGen
14543
14544 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
14545
14546         * arm.c (arm_override_options): Correct initialization of
14547         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14548         arm_is_strong, and arm_is_6_or_7.
14549
14550         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14551         (note_set_pseudo_multiple_uses): New function.
14552         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14553         if a pseudo set in the loop exit is used elsewhere.
14554
14555 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
14556
14557         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14558
14559 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
14560
14561         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14562         a single load-address pattern.
14563
14564 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
14565
14566         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14567         depending on whether or not line-number notes are present.
14568
14569 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14570
14571         * cccp.c (progname, file_buf, default_include, include_file,
14572         macrodef, definition, hashval, wchar_type, user_label_prefix,
14573         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14574         expand_to_temp_buffer, is_system_include, base_name,
14575         absolute_filename, read_name_map, open_include_file,
14576         record_control_macro, check_precompiled, check_preconditions,
14577         pcfinclude, pass_thru_directive, create_definition,
14578         check_macro_name, comp_def_part, collect_expansion,
14579         check_assertion, read_token_list, assertion_install,
14580         assertion_lookup, eval_if_expression, conditional_skip,
14581         validate_else, skip_quoted_string, quote_string, macarg1,
14582         error_from_errno, install, lookup, hashf, dump_defn_1,
14583         perror_with_name, pfatal_with_name, main, trigraph_pcp,
14584         check_white_space, rescan, handle_directive, monthnames,
14585         special_symbol, do_include, remap_include_file, write_output,
14586         arglist, do_assert, do_unassert, do_line, do_error, do_once,
14587         do_ident, do_sccs, do_xifdef, skip_if_group,
14588         output_line_directive, macroexpand, macarg, change_newlines,
14589         initialize_builtins, make_definition): Constify a char*.
14590
14591         * pcp.h (stringdef): Likewise.
14592
14593 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
14594
14595         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14596         not of pattern.
14597
14598 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
14599                           Richard Henderson  <rth@cygnus.com>
14600
14601         * alias.c: Include ggc.h.
14602         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14603         (record_set): Verify enough room in reg_base_value.
14604         (init_alias_analysis): Allocate reg_base_value with xcalloc.
14605         Register it as a GC root.
14606         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
14607         * Makefile.in (alias.o): Depend on ggc.h.
14608
14609         * unroll.c (unroll_loop): Verify the insn before a barrier
14610         is a JUMP_INSN before checking JUMP_LABEL.
14611
14612 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14613
14614         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14615         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14616         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14617         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14618         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14619         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14620
14621 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14622
14623         * output.h (ctors_section, dtors_section, bss_section): Prototype.
14624
14625         * alpha/alpha-interix.h (text_section): Delete prototype.
14626         * alpha/elf.h (text_section): Likewise.
14627         * arm/linux-elf.h (text_section): Likewise.
14628         * arm/linux-telf.h (text_section): Likewise.
14629         * c4x/c4x.h (text_section): Likewise.
14630         * dsp16xx/dsp16xx.h (bss_section): Likewise.
14631         * elfos.h (text_section): Likewise.
14632         * i386/aix386ng.h (text_section): Likewise.
14633         * i386/i386-interix.h (text_section): Likewise.
14634         * i386/sco5.h (text_section): Likewise.
14635         * i386/svr3gas.h (text_section): Likewise.
14636         * nextstep.h (text_section): Likewise.
14637         * psos.h (text_section): Likewise.
14638         * ptx4.h (text_section): Likewise.
14639         * svr3.h (text_section): Likewise.
14640         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14641
14642 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14643
14644         * final.c (peephole): Delete prototype.
14645
14646         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14647         (pre_insert_copies): Remove unused variable `bb'.
14648
14649         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14650         prototypes.
14651
14652         * output.h (peephole): Add prototype.
14653
14654 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
14655
14656         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14657         -O0.
14658
14659 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
14660
14661         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14662         for inlined declarations.
14663
14664 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
14665
14666         * arm.c (logical_binary_operator): New fucntion.
14667         * arm.h (logical_binary_operator): Declare it.
14668         (PREDICATE_CODES): Handle logical_binary_operator.
14669         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14670         output constraints.  Add appropriate splitters.
14671         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14672         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14673         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14674
14675 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14676
14677         * genoutput.c (struct operand_data): New elt eliminable.
14678         (output_operand_data): Write it.
14679         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14680         (compare_operands): Take it into account.
14681         * recog.h (struct insn_operand_data): New elt eliminable.
14682         * reload1.c (check_eliminable_occurrences, elimination_effects): New
14683         functions.
14684         (old_asm_operands_vec, new_asm_operands_vec): Delete.
14685         (eliminate_regs): Move code that detects changes to elimination
14686         target regs into new function elimination_effects.
14687         Delete one #if 0 block.
14688         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14689         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14690         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14691         Only call eliminate_regs for real operands of the insn, not for parts
14692         of its structure or parts matched by things like match_operator.
14693         Use elimination_effects and check_eliminable_occurrences.  Use
14694         copy_insn to duplicate the pattern when not in the final pass.
14695
14696 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
14697
14698         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14699         and fld.
14700
14701 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
14702
14703         * fixinc/README: document the "mach" machine matching test
14704         * fixinc/fixfixes.c: Implement the #else/#endif label fix
14705         * fixinc/fixtests.c: Implement the #else/#endif label test
14706         * fixinc/inclhack.def: utilize these tests and fixes
14707         * fixinc/inclhack.sh:  regen
14708         * fixinc/fixincl.x:  regen
14709         * fixinc/fixincl.sh:  regen
14710
14711 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
14712
14713         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
14714         depend on ggc.h.
14715
14716 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
14717
14718         * gcc.1: Document exit codes.
14719
14720 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14721
14722         * calls.c: Include tm_p.h later, so everything we need is defined.
14723         * expr.c: Likewise.
14724         * function.c: Likewise.
14725
14726         * except.c: Include tm_p.h.
14727
14728         * sparc.c: Likewise.
14729         (dwarf2out_cfi_label): Don't prototype.
14730         (check_return_regs, epilogue_renumber,
14731         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14732         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14733         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14734         ultra_schedule_insn): Add static prototype.
14735         (data_segment_operand, text_segment_operand): Call itself with the
14736         proper number of arguments.
14737         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14738
14739         * sparc.h: Move all declarations to sparc-protos.h.
14740         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
14741         symbolic_operand.
14742
14743         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14744
14745         * config/svr4.h (text_section, ctors_section, dtors_section): Add
14746         Prototypes.
14747         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14748         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14749         ASM_OUTPUT_ASCII): Constify a char*.
14750
14751         * sparc-protos.h: New file for sparc prototypes.
14752
14753 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14754
14755         * function.c (record_insns, contains): Always declare and define.
14756         (record_insns): Mark with ATTRIBUTE_UNUSED.
14757
14758 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14759
14760         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14761         to .section when outputting a .bss section to deal with multiple
14762         .bss input sections (as happens with -fdata-sections)
14763         Also output %progbits, not @progbits so the assembler doesn't treat as
14764         a comment.
14765         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14766
14767         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14768         thumb parts even when building with non-thumb CPUs, by forcing
14769         thumb mode.
14770
14771 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
14772
14773         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14774         (movdf_const_intreg_sp64): Similarly.
14775
14776         * local-alloc.c (update_equiv_regs): Check the correct insn
14777         for pre-existing REG_EQUIV notes.
14778
14779 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
14780
14781         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14782         block reached by a branch if we're not going to actually process
14783         this block.
14784
14785 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
14786
14787         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14788         a local extern function declaration.
14789
14790 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
14791
14792         * i386.c (ix86_expand_prologue): Properly wrap USE around
14793         reg for CALL_INSN_FUNCTION_USAGE.
14794
14795 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
14796
14797         * config/mips/mips.md (movdf_internal1a): Allow floating-point
14798         move between GP_REGs.
14799
14800 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
14801
14802         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14803         the mode size when finding out if an offset is legal.
14804
14805 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
14806
14807         * basic-block.h (PROP_*): Move constants from ...
14808         * flow.c: ... here.
14809         (compute_bb_for_insn): Free the array before reallocating.
14810         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14811         (allocate_reg_life_data): Reset all reg variables collected by
14812         propagate_block.
14813         (get_block_head_tail): Don't convert from bb to block.
14814         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
14815         (find_insn_reg_weight): Take block not bb.
14816         (schedule_block): Don't set block num for moved insns.
14817         (schedule_region): Don't update_life_info or find_insn_reg_weight.
14818         (schedule_insns): Do it here instead.
14819         * combine.c (combine_instructions): Invoke compute_bb_for_insn
14820         before update_life_info.
14821         * recog.c (split_all_insns, peephole2_optimize): Update for
14822         new arg to update_life_info.
14823         * rtlanal.c (remove_note): Cope with NULL note.
14824         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14825         if we did sched1.
14826
14827 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
14828
14829         * jump.c (jump_optimize_1): More accurately detect casesi insns.
14830
14831         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14832         block records so that merge_blocks_nomove will clean up correctly.
14833         (split_edge): Handle casesi insns.
14834
14835         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14836
14837 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
14838
14839         * pa.md (call, call_value): Do not emit a blockage after restoring
14840         the PIC register.
14841
14842 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
14843
14844         * c-typeck.c (c_expand_asm_operands): Fix typo.
14845
14846 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14847
14848         * arm.c (fpu_rhs_operand): Verify modes.
14849         (fpu_add_operand): Likewise.
14850         (di_operand): Likewise.
14851         (soft_df_operand): Likewise.
14852
14853 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
14854
14855         * arm.c (arm_return_in_memory): APCS rules state that the elements
14856         of a structure returned in a register must be 'integer-like'.
14857
14858 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
14859
14860         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14861         in the source tree when the generated targets are out of date
14862         * fixinc/genfixes: Alter it to run individual fixes for make.
14863         * fixinc/README: rewrite
14864         * fixinc/inclhack.def: moved initial comments to README
14865
14866 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
14867
14868         * toplev.c (main): Do not generate an error message if an
14869         unrecognised command line switch is recognisable by another
14870         language.  If extra_warnings are enabled, then generate a
14871         warning message instead.
14872
14873 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14874
14875         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
14876         (insert_pack_attributes): Delete prototype.
14877
14878         * c-pragma.c (default_alignment): New static variable.
14879         (push_alignment): Initialize to current effective alignment.
14880         (pop_alignment): Use to set new alignment.
14881         (insert_pack_attributes): Delete function.
14882         (handle_pragma_token): Set default_alignment as well each time
14883         a #pragma pack(<n>) is encountered.
14884
14885 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
14886
14887         * reg-stack.c (stack_result): Aggregates are not returned in
14888         stack registers.
14889
14890 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
14891
14892         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
14893
14894 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
14895
14896         * basic-block.h (set_block_num): Declare.
14897         * flow.c (update_life_info): Don't call compute_bb_for_insn
14898         or free_basic_block_vars.
14899         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
14900         (insn_orig_block): Remove.
14901         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
14902         (schedule_block): Keep BLOCK_NUM up-to-date.
14903         (schedule_insns): Use compute_bb_for_insn.
14904         * recog.c (split_all_insns): Likewise.
14905         (peephole2_optimize): Likewise.
14906
14907 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
14908
14909         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
14910         if the pic register is used.
14911
14912 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14913
14914         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
14915         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
14916         if that tests TREE_PERMANENT.
14917
14918 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
14919
14920         * cse.c (invalidate_for_call): Do not remove memory references from
14921         the table here.  It's handled elsewhere.
14922
14923         * haifa-sched.c (add_dependence): Protect references to the
14924         true dependency cache with #ifdef INSN_SCHEDULING.
14925         (remove_dependence): Similarly.
14926
14927         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
14928         to the cfg code that this is a return instruction.
14929         * mn10300.md (return_internal): Similarly.
14930
14931         * combine.c (get_last_value): If the last set of a register
14932         is after subst_low_cuid, then we can not use it to determine
14933         the register's last value.
14934
14935 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
14936
14937         * Makefile.in: Back out previous change.
14938
14939 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
14940
14941         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
14942
14943         * haifa-sched.c (add_dependence): Only check/update the cache
14944         if it exists.
14945         (remove_dependence): Likewise.
14946         (schedule_insns): Only create the true_dependency_cache if the
14947         average number of instructions in a basic block is very large.
14948
14949 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
14950
14951         * Makefile.in (ggc-common.o): Depend on genrtl.h.
14952         (ggc-simple.o): Likewise.
14953         (ggc-page.o): Likewise.
14954
14955 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
14956
14957         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
14958         Prototype for exported functions.
14959         (pre_lcm, pre_rev_lcm): Remove prototypes.
14960         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
14961         (compute_available): Move to lcm.c, and change parameter order.
14962         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
14963         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
14964         (gcse_main): No longer call compute_preds_succs.  Rebuild the
14965         set table after reach pre pass.
14966         (pre_insert_map, pre_delete_map, edge_list): New.
14967         (alloc_pre_mem): Allocate edge vectors.
14968         (free_pre_mem): Delete edge vectors.
14969         (compute_pre_data): Call new edge based lcm routines.
14970         (process_insert_insn): New function.
14971         (insert_insn_end_bb): Use it.
14972         (pre_edge_insert): New function.
14973         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
14974         needed.
14975         (pre_insert_copies): Revamp using new edge based lcm outputs.
14976         (pre_delete): Likewise.
14977         (one_pre_gcse_pass): Insert & remove fake edges to the exit
14978         block.
14979         (compute_code_hoist_vbeinout): New new edge based routines.
14980         * lcm.c: Remove all the old LCM functions.  Replace with new ones
14981         that work with the new cfg datastructures and work with edges
14982         instead of blocks.
14983
14984 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14985
14986         * reload.h (struct reload): Add new fields "mode" and "nregs".
14987         * reload1.c: Change all occurrences of reload_mode and reload_nregs
14988         to reference the "mode" and "nregs" field within struct reload.
14989
14990 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
14991
14992         * haifa-sched.c (true_dependency_cache): New.
14993         (add_dependence): Use the true dependency cache to avoid expensive
14994         walks down the LOG_LINKS dependency list.  Add entries to the
14995         cache as necessary.
14996         (remove_dependence): Remove entries from the true dependency cache
14997         as needed.
14998         (schedule_insns): Allocate and initialize and free the true
14999         dependency cache.
15000
15001         * haifa-sched.c (schedule_insns): Do not remove inter-block
15002         dependencies anymore.
15003
15004 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15005
15006         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15007         * i386/t-winnt: Likewise.
15008
15009 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
15010
15011         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15012
15013 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
15014
15015         * Makefile.in (LANGUAGES): Omit "proto".
15016         (clean): Remove stale comment about removing unprotoize.c.
15017
15018 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15019
15020         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15021         using arithmetic on void pointers.
15022
15023 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
15024
15025         * haifa-sched.c (compute_block_forward_dependencies): Only check
15026         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15027
15028 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
15029
15030         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15031         (expr_equiv_p): Reject memories with different alias sets.
15032
15033 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
15034
15035         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15036         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15037         (f_options): Add "bounded-pointers" and "bounds-check" entries.
15038         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15039         (lang_init): Set default for flag_bounds_check if still "unspecified".
15040
15041 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15042
15043         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
15044
15045 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15046
15047         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15048         instructions.
15049
15050 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15051
15052         * config/c4x/c4x.md (*db_noclobber,
15053         *decrement_and_branch_until_zero_noclobber): New patterns and
15054         associated splitters.
15055
15056 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15057
15058         * config/c4x/c4x.md (parallel instruction patterns): Rework
15059         constraints to keep reload happy.
15060
15061 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15062
15063         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15064         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15065         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15066         Add new patterns and associated post-reload splitters.
15067
15068 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15069
15070         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15071
15072 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15073
15074         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15075         if appropriate.
15076         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15077
15078 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15079
15080         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
15081         memory mode.
15082
15083 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
15084
15085         * pa.c (move_operand): Rely on memory_address_p to determine the
15086         validity of non-indexed memory addresses.
15087         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15088         operand in DFmode and SFmode when generating PA2.0 code.
15089
15090 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
15091
15092         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15093
15094 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
15095
15096         * mips.c (function_prologue): Fix argument types.
15097         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15098         (casesi_internal): Write to the scratch register.
15099
15100 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
15101
15102         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
15103         to U_CHAR **.
15104         (parse_charconst): Delete unnecessary cast when calling
15105         cpp_parse_escape.
15106         (cpplib.h): Kill prototype of cpp_parse_escape.
15107
15108 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
15109
15110         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15111         * unroll.c (unroll_loop): Cast return value of alloca.
15112         * i370/i370.c: Include function.h and toplev.h.
15113         (i370_label_scan): Remove c++ commented abort.
15114         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15115         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15116         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15117         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15118
15119 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
15120
15121         * config/t-freebsd: Do not override USER_H.
15122         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15123
15124 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15125                           Mumit Khan  <khan@xraylith.wisc.edu>
15126
15127         * c-parse.in (component_decl): Support anonymous struct/union.
15128         (%expect): Update.
15129         * c-parse.y: Regenerate.
15130         * c-parse.c: Likewise.
15131         * objc/objc-parse.y: Likewise.
15132         * objc/objc-parse.c: Likewise.
15133         * c-decl.c (finish_struct): Don't sort the fields.
15134         (field_decl_cmp): Delete unused function.
15135
15136 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
15137
15138         * sparc.md (movsf_const_intreg): Revert last constraint change.
15139         (movdf_const_intreg_sp32): Likewise.
15140
15141 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15142
15143         * cse.c: Include hashtab.h instead of splay-tree.h
15144         (struct cse_reg_info): No longer use variant union.  Add new
15145         field "regno".  All references changed to avoid union.
15146         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15147         (free_cse_reg_info): Remove.
15148         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15149         (get_cse_reg_info): Revamp to use expandable hash tables instead
15150         of splay trees.  Initialize new fields in cse_reg_info structure.
15151         (new_basic_block): Similarly.
15152
15153 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
15154
15155         * genrecog.c (message_with_line): Prototype.
15156         (validate_pattern): Pass along the set for the dest, not a flag.
15157         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
15158         Check for PC/CC0 as sources.
15159         (nodes_identical): Check for children position match before
15160         allowing the combination.
15161
15162         * rtl.c (read_rtx): Track line number across \\\n.
15163
15164 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
15165
15166         * mips.h (SPECIAL_MODE_PREDICATES): New.
15167         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15168         (movdi+1, movsi+1): Add output reload constraint.
15169         (casesi_internal): Likewise.  Fix commentary.
15170         (return_internal): Use pmode_register_operand.
15171
15172 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
15173
15174         * 1750a.md (movstrqi): Add missing output reload constraint.
15175         (call_value): Likewise.
15176         * a29k.md (cpxxx patterns): Add missing match_operator mode.
15177         (jmpfdec): Add missing inout reload constraint.
15178         * elxsi.md (addsi patterns): Add missing output reload constraint.
15179         (move from sp): Use @ alternates.
15180         (call_value): No constraint on output.
15181         * fr30.md (movsi_pop): Add missing output reload constraint.
15182         (movsf_constant_store): Likewise.
15183         (splits): Remove constraints.
15184         (subsi3): Add missing mode.
15185         * i370.md (cmpstrsi+1): Add missing output reload constraint.
15186         (call_value): Likewise.
15187         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15188         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15189         * m32r.md (movsicc_internal): Add output reload constraint.
15190         (movstrsi_internal): Add inout reload constraints.
15191         * m88k.h (reg_names): Don't declare.
15192         (SPECIAL_MODE_PREDICATES): New.
15193         * m88k.md (*): Use register_operand not reg_or_0_operand
15194         on destinations.
15195         * mn10200.h (PREDICATE_CODES): New.
15196         * ns32k.md (ffs pattern): Add output reload constraint.
15197         * pdp11.md (sob pattern): Add inout reload constraint.
15198         * sh.md (splits): Remove constraints.
15199         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15200         * v850.md (pattern_is_ok_for_epilogue): Likewise.
15201         * vax.md (jgequ pattern): Add inout reload constraint.
15202
15203 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
15204
15205         * configure.in (djgpp): Revert previous patch.
15206         * configure: Rebuit.
15207         * config/i386/djgpp.h: Revert previous patch.
15208
15209 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
15210
15211         * fixinc/inclhack.def: Restore patch lost during last merge of
15212         "no_bogosity" branch.
15213         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15214
15215 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15216
15217         * fixincludes: Add a HPUX 11 fix for inttypes.h.
15218         * fixinc/inclhack.def: Same.
15219         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15220
15221 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
15222
15223         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15224         as the base of a PLUS.
15225
15226 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15227
15228         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
15229         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
15230
15231 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
15232
15233         * pa.md (post_stw+1): Use pmode_register_operand.
15234         (dcacheflush, icacheflush): Likewise.
15235
15236         * i386.md (movstricthi_1): Allow r/r.
15237
15238 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
15239
15240         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15241         to (not (and (arg0) (arg1))). Similary for and.
15242
15243         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15244         fallthrough to associate code.
15245         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15246         bits in common.
15247
15248         * combine.c (simplify_logical): Convert XOR to IOR if operands have
15249         no bits in common; remove XOR to ROTATE conversion.
15250
15251 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15252
15253         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15254
15255 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15256
15257         * config/c4x/c4x.c (dst_operand): New.
15258         (PREDICATE_CODES): Update.
15259         * config/c4x/c4x.h (dst_operand): Declare it.
15260         * config/c4x/c4x.md:  Define mode for each unspec usage.
15261         (move patterns):  Use dst_operand predicate instead of src_operand.
15262         (movqi_update, movqf_update): Delete.
15263
15264 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
15265
15266         * recog.c (pmode_register_operand): New.
15267         * recog.h: Declare it.
15268         * genrecog.c (pred_codes): Likewise.
15269         (special_mode_pred_table): Likewise.
15270         (validate_pattern): Don't warn no mode for address_operand.
15271
15272         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15273         if the operand is not insn-like.
15274
15275 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
15276                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15277
15278         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15279
15280 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
15281
15282         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15283         instead of general_operand in a SET_DEST.  Use const_double_operand
15284         instead of an explicit test against CONST_DOUBLE.
15285         (movsf_const_lo): Add missing register mode.
15286         (goto_handler_and_restore): Add auxiliary test for Pmode.
15287         (flush): Adjust to use address_operand.
15288         (return_sf_no_fpu): Add missing output constraint.
15289
15290 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
15291
15292         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15293         for call return value.
15294         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15295
15296 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
15297
15298         * toplev.c (main): Only warn about options for other languages.
15299         * collect2.c (main): Pass -w to sub-gcc.
15300
15301 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
15302
15303         * flow.c (propagate_block): Add call-clobbered registers to
15304         significant too.
15305
15306         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15307         zapping mem_set_list.
15308         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15309         (mark_set_1, mark_used_regs): Likewise.
15310
15311 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
15312
15313         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15314
15315 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15316
15317         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15318         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15319         options. Also add a new item "C-only Warning Options" to the
15320         option summary.
15321
15322 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
15323
15324         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15325         from multiple calls.
15326
15327 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
15328
15329         * i386.md (call value patterns): Move to the end of the file.
15330         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15331
15332 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15333
15334         * configure.in (djgpp configuration): Define extra_objects..
15335         * configure: Rebuilt.
15336         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15337         (DTORS_SECTION_ASM_OP): Define.
15338         (INIT_SECTION_ASM_OP): Define.
15339         (FINI_SECTION_ASM_OP): Define.
15340         (DATA_SECTION_ASM_OP): Define.
15341         (TEXT_SECTION_ASM_OP): Define.
15342         (EH_FRAME_SECTION_ASM_OP): Define.
15343         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15344         (STARTFILE_SPEC): Add crtbegin.o.
15345         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15346         to here from LINK_COMMAND_SPEC.
15347         (DO_GLOBAL_CTORS_BODY): Define.
15348         (CRTSTUFF_USE_FINI_SECTION): Define
15349         (HAS_INIT_SECTION): Delete.
15350
15351 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
15352
15353         * Makefile.in (all.cross): Depend on xcpp$(exeext).
15354
15355 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
15356
15357         * pa.h (PREDICATE_CODES): New.
15358
15359         * genrecog.c (validate_pattern): Condense the destination
15360         non-lvalue message.
15361
15362 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
15363
15364         * alpha.md (call-1): Supply missing mode for operator.
15365         (*): Add missing output reload constraints.  Remove constraints
15366         from define_splits.
15367
15368         * i386.h (SPECIAL_MODE_PREDICATES): New.
15369         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15370         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15371         (addsi_lea_3): Add missing mode for op 3.
15372         (prologue_set_got, prologue_get_pc): Add missing modes.
15373         (*) Add missing output reload constraints.
15374
15375 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
15376
15377         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15378         check for member bit-size overflow and use var_size if it occurs.
15379         (layout_record): Use bitsize_int() to define the type size in bits.
15380         Likewise for computation and assignment to DECL_FIELD_BITPOS.
15381         (layout_decl): Likewise when assigning to DECL_SIZE.
15382
15383 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
15384
15385         * genrecog.c (validate_pattern): Typo last change.  Verify
15386         that output operands have output reloads.
15387
15388 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
15389
15390         * genrecog.c (special_mode_pred_table): New.
15391         (NUM_SPECIAL_MODE_PREDS): New.
15392         (find_operand): New.
15393         (validate_pattern): New argument `insn'.  Warn for assignment to
15394         any predicate accepting non-lvalues.  Conditionaly warn for
15395         match_operand without a mode.  Try much harder to match source
15396         and destination modes on a set.
15397         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15398
15399 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
15400
15401         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15402
15403 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
15404
15405         * combine.c (simplify_logical): Recognize xor pattern that encodes
15406         rotation.
15407
15408 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15409
15410         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15411         alignment.
15412
15413 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
15414
15415         * ggc-page.c (MAP_FAILED): Provide default.
15416
15417 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
15418
15419         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15420         * sparc.h (PREDICATE_CODES): Update.
15421
15422 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
15423
15424         * alpha.c (some_ni_operand): New.
15425         * alpha-protos.h: Declare it.
15426         * alpha.h (PREDICATE_CODES): Update.
15427         * alpha.md (sXaddq reload insns): Use some_ni_operand
15428         for SET_DEST instead of some_operand.
15429
15430 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
15431                           Jim Wilson  <wilson@cygnus.com>
15432
15433         * genrecog.c (maybe_both_true_2): Don't compare modes of
15434         two DT_pred tests.
15435         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
15436         after find_afterward.
15437         (debug_decision_1): Dump next and afterward codes.
15438
15439 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
15440
15441         * rtl.c (dump_and_abort): Remove.
15442         (fatal_with_file_and_line): New.
15443         (fatal_expected_char): New.
15444         (read_rtx_lineno, read_rtx_filename): New.
15445         (read_skip_spaces): Track line number.
15446         (read_name): Use fatal_with_file_and_line.
15447         (read_rtx): Use fatal_expected_char.  Track line number.
15448         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15449
15450         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15451         if it isn't a CODE_LABEL.
15452
15453         * genattr.c (main): Set read_rtx_filename.
15454         * genattrtab.c (main): Likewise.
15455         * gencodes.c (main): Likewise.
15456         * genconfig.c (main): Likewise.
15457         * genemit.c (main): Likewise.
15458         * genextract.c (main): Likewise.
15459         * genflags.c (main): Likewise.
15460         * genopinit.c (main): Likewise.
15461         * genoutput.c (main): Likewise.
15462         * genpeep.c (main): Likewise.
15463
15464         * genrecog.c (decision_test.u.insn): Add `lineno'.
15465         (pattern_lineno, error_count): New variables.
15466         (message_with_line): New.
15467         (add_to_sequence): Break out checking code to ...
15468         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
15469         (merge_insn): Use message_with_line.
15470         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
15471         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
15472
15473 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15474
15475         * expr.c (store_constructor): Clear union if constructor is empty.
15476
15477 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
15478
15479         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15480         Add !endian checks.  Change %{...} to %(...).
15481
15482 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
15483
15484         * i386.md (*addsi3_cc): Renamed from addcsi3.
15485         (*addsi3_carry): Renamed from addxsi3.
15486         (*subsi3_cc): Renamed from subcsi3.
15487         (*subsi3_carry): Renamed from subxsi3.
15488         (*xorqi_cc_1): Renamed from xorcqi_1.
15489         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15490         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15491
15492 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
15493
15494         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15495         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15496
15497 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
15498
15499         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15500         climb up the chain of insns.
15501
15502 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
15503
15504         * genrecog.c (write_subroutine): Careful for null trees.
15505         (process_tree): Don't elide empty functions.
15506
15507 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
15508
15509         * Makefile.in (genrtl.o): Depend on ggc.h.
15510         * configure.in (valloc): Probe for it.
15511         (with-gc): Use ggc-page if valloc present.
15512         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15513         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15514         (ggc_alloc_string): Moved from ggc-page.c.
15515         * ggc-none.c (ggc_alloc_obj): New.
15516         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15517         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15518         (struct globals): Likewise for dev_zero_fd.
15519         (init_ggc): Likewise for it's initialization.
15520         (ggc_allocated_p): Move careful dereference from ...
15521         (ggc_lookup_page_table): ... here.  Delete.
15522         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15523         (alloc_anon): Use valloc if no mmap.
15524         (release_pages): Use free if using valloc.
15525         (ggc_alloc_obj): Renamed from alloc_obj.
15526         (ggc_set_mark): Renamed from mark_obj.
15527         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15528         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15529         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15530         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15531         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15532         (ggc_collect): Use fp printing instead of our own rounding.
15533         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15534         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15535         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15536         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15537         (struct ggc_string, struct ggc_any): Delete.
15538         (offsetof): Provide default definition.
15539         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15540         (PTR_KEY): New.
15541         (struct ggc_mem): New, from corpse of ggc_any.
15542         (struct ggc_status): Delete.
15543         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15544         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15545         (n_strings_collected, n_anys_collected): Delete.
15546         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15547         (ggc_alloc_string, ggc_alloc): Delete.
15548         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15549         (ggc_free_string, ggc_free_any): Delete.
15550         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15551         (ggc_compare_addresses, ggc_mark_string): Delete.
15552         (ggc_mark_string_if_gcable, ggc_mark): Delete.
15553         (search_data): Delete.
15554         (struct globals): New.
15555         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15556         (tree_insert, tree_lookup): New.
15557         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15558         (clear_marks, sweep_objs): New.
15559         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
15560         (init_ggc): Set allocated_last_gc.
15561         (ggc_push_context): Gut.  Use G.context.
15562         (ggc_pop_context): Likewise.
15563         (ggc_pop_context_1): New.
15564         (debug_ggc_tree): New.
15565         (debug_ggc_balance, tally_leaves): New.
15566         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15567         (ggc_mark_string_if_gcable): Remove decl.
15568         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15569         (ggc_mark_rtvec_children): New.
15570         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15571         (ggc_mark_if_gcable): New decl.
15572         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15573         (ggc_alloc_tree, ggc_alloc): Likewise.
15574         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15575         (ggc_alloc_obj): New decl.
15576         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15577         (ggc_alloc_tree, ggc_alloc): Likewise.
15578         (ggc_set_mark): New decl.
15579         * rtl.h (struct rtx_def): Remove gc_mark.
15580         (struct rtvec_def): Likewise.
15581         * tree.h (struct tree_common): Likewise.
15582
15583 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
15584
15585         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15586         float_format and thread_file definitions.
15587         * configure: Rebuilt.
15588
15589 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
15590
15591         * extend.texi (Function Names): Document types of function names.
15592
15593 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15594
15595         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15596         an earlyclobbered output conflict with RELOAD_INPUT reloads.
15597
15598 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15599
15600         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15601
15602 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15603
15604         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15605
15606 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
15607
15608         * collect2.c (main): Do prelimnary link on AIX if rflag.
15609
15610 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15611
15612         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15613         __CTOR_LIST__ in opposite order, which is the correct order for sorted
15614         constructors.
15615         (__do_global_dtors): similarly for __DTOR_LIST__.
15616
15617 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15618                                 Diego Novillo <dnovillo@cygnus.com>
15619
15620         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15621         FPUL_REGS.
15622
15623 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
15624
15625         * fixincl/*: Merged "no_bogosity" branch
15626         * fixincl/fixlib.h: protect against doubly defining t_bool
15627         * fixincl/server.h: protect against doubly defining t_bool
15628
15629 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
15630
15631         * genoutput.c: Include toplev.h.
15632
15633 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
15634
15635         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15636         Undef.
15637         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15638         * configure: Regenerate.
15639
15640 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
15641
15642         * gcse.c (delete_null_pointer_checks): Returns void.
15643
15644 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15645
15646         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15647         * emit-rtl.c (copy_insn_1): Likewise.
15648
15649 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15650
15651         * config/mips/mips.c (mips_build_va_list): Correct
15652         TREE_CHAIN setting when hard-float.
15653         (mips_va_start): Use corrected setting.
15654         (mips_va_arg): Likewise.  Also pass a tree to build of
15655         POSTINCREMENT_EXPR rather than a naked 'int'.
15656
15657 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
15658
15659         * ggc.h (ggc_push_context): Fix comment.
15660         (ggc_pop_context): Likewise.
15661         (mark_string_if_gcable): Likewise.
15662         * ggc-common.c (ggc_mark_rtx_children): Use
15663         ggc_mark_string_if_gcable.
15664         * ggc-page.c (ggc_lookup_page_table): New function.
15665         (ggc_allocated_p): Likewise.
15666         (mark_obj): Fix formatting.
15667         (ggc_mark_string_if_gcable): New function.
15668         * ggc-simple.c (ggc_allocated_strings): New variable.
15669         (ggc_strings_used): Likewise.
15670         (ggc_compare_addresses): New function.
15671         (ggc_pop_context): Pop the `any' memory too.
15672         (ggc_mark_string_if_gcable): New function.
15673         (ggc_collect): Initialize and tear down ggc_allocated_strings.
15674
15675 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
15676
15677         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15678         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15679         * rs6000.c (expand_block_move): Match movstrsi_?reg register
15680         changes.
15681
15682 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
15683
15684         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15685         (sched_reg_live_length, sched_reg_basic_block): Delete.
15686         (current_block_num, bb_live_regs, old_live_regs): Delete.
15687         (dead_notes, struct sometimes): Delete.
15688         (sched_note_set, birthing_insn_p): Delete.
15689         (adjust_priority): Gut useless reg lifetime code.
15690         (create_reg_dead_note, attach_deaths): Delete.
15691         (attach_deaths_insn, new_sometimes_live): Delete.
15692         (finish_sometimes_live): Delete.
15693         (find_pre_sched_live, find_post_sched_live): Delete.
15694         (update_reg_usage): Delete.
15695         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15696         (schedule_insns): Delete reg lifetime code.
15697         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15698         (unlink_other_notes): Adjust REG_NOTE commentary.
15699         (reemit_notes): Use REG_SAVE_NOTE.
15700         (schedule_block): Likewise.
15701         (schedule_region): Allocate bitmap of blocks in region.  Use
15702         count_or_remove_death_notes.  Use update_life_info.
15703
15704         * rtl.h (REG_SAVE_NOTE): New.
15705         * rtl.c (reg_note_name): Update.
15706
15707 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
15708
15709         * combine.c (refresh_blocks, need_refresh): New.
15710         (combine_instructions): Allocate refresh_blocks.  Invoke
15711         update_life_info if needed.
15712         (distribute_notes): Mark refresh_blocks instead of installing
15713         USE insns.
15714         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15715         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15716
15717         * Makefile.in (recog.o): Depend on basic-block.h.
15718
15719 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
15720
15721         * genrecog.c (add_to_sequence): Thinko last change: delete
15722         shadowing allow_const_int variable.
15723
15724 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15725
15726         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15727         __GNUC__ and __GNUC_MINOR__.
15728
15729         * gansidecl.h: Likewise.
15730
15731         * rtl.c: Likewise.
15732
15733         * rtl.h: Likewise.
15734
15735         * toplev.h: Likewise.
15736
15737         * tree.c: Likewise.
15738
15739         * tree.h: Likewise.
15740
15741         * varray.c: Likewise.
15742
15743         * varray.h: Likewise.
15744
15745 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15746
15747         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15748         use one before a jump table.
15749
15750         * rtl.def (ADDRESS): Change documentation to match reality.
15751         * md.texi: Don't document it.
15752         * gmicro.md (load address pattern): Use 'p' constraint, delete use
15753         of ADDRESS rtx.
15754
15755         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15756
15757 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
15758
15759         * genrecog.c (add_to_sequence): Move allow_const_int test outside
15760         known predicate block; default allow_const_int true.
15761         (debug_decision_list): New.
15762
15763 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
15764
15765         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15766
15767 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
15768
15769         * gcse.c (gcse_main): Avoid global optimizations if we have a
15770         large number of basic blocks and the ratio of edges to blocks
15771         is high.
15772         (delete_null_pointer_checks): Likewise.
15773
15774 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
15775
15776         * c-common.c (check_format_info): Warn if format string isn't a
15777         string literal.
15778
15779 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15780
15781         * configure.in (arm*-*-*): Don't let autoconf remove brackets
15782         * configure: regenerate
15783
15784 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
15785
15786         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
15787         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
15788         (peepholes): Re-enable.
15789
15790 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
15791
15792         * Makefile.in (flow.o): Depend on TREE_H.
15793         * basic-block.h (REG_SET_EQUAL_P): New.
15794         (XOR_REG_SET): New.
15795         (n_edges): Declare.
15796         (free_regset_vector): Remove declaration.
15797         (flow_delete_insn_chain): Declare.
15798         (enum update_life_extent): New.
15799         (update_life_info, count_or_remove_death_notes): Declare.
15800         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15801         Verify register live at bb->global_live_at_start before adding USE.
15802         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15803         (CLEAN_ALLOCA): New.
15804         (n_edges): New.
15805         (PROP_*): New flags.
15806         (find_basic_blocks_1): Use alloc_EXPR_LIST.
15807         (clear_edges): Zero n_edges.
15808         (make_edge): Increment n_edges.
15809         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
15810         (flow_delete_insn_chain): Export.
15811         (delete_block): Decrement n_edges.
15812         (merge_blocks_nomove): Likewise.
15813         (life_analysis): Give life_analysis_1 PROP flags.
15814         (verify_wide_reg_1, verify_wide_reg): New.
15815         (verify_local_live_at_start): New.
15816         (update_life_info): Rewrite to call into propogate_block.
15817         (mark_reg): New.
15818         (mark_regs_live_at_end): After reload, if epilogue as rtl,
15819         always mark stack pointer.  Conditionally mark PIC register.
15820         After reload, mark call-saved registers, return regsiters.
15821         (life_analysis_1): Accept PROP flags not remove_dead_code.
15822         Call mark_regs_live_at_end before zeroing regs_ever_live.
15823         Use calculate_global_regs_live.  Copy global_live_at_end before
15824         calling final propagate_block.  Zero reg_next_use on exit.
15825         (calculate_global_regs_live): New.
15826         (allocate_bb_life_data): Don't allocate bb->local_set.
15827         (init_regset_vector, free_regset_vector): Remove.
15828         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15829         Test flags before every operation.  Warn if prologue/epilogue insn
15830         would have been deleted.
15831         (mark_set_regs, mark_set_1): Accept and use FLAGS.
15832         Use alloc_EXPR_LIST.
15833         (mark_used_regs): Accept and use FLAGS, not FINAL.
15834         Remove special handling for RETURN.
15835         (try_pre_increment): Use alloc_EXPR_LIST.
15836         (dump_flow_info): Dump n_edges.
15837         (unlink_insn_chain, split_hard_reg_notes): Remove.
15838         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15839         (find_insn_with_note, new_insn_dead_notes): Remove.
15840         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15841         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15842         (replace_insns): Remove.
15843         (count_or_remove_death_notes): New.
15844         (verify_flow_info): Abort on error after all checks.
15845         (remove_edge): Decrement n_edges.
15846         (remove_fake_edges): Tweek format.
15847         * haifa-sched.c (schedule_insns): Use split_all_insns.
15848         * output.h (update_life_info): Remove declaration.
15849         * recog.c (split_all_insns): From the corpse of split_block_insns,
15850         do the whole function block by block.  Use update_life_info.
15851         (recog_last_allowed_insn): New.
15852         (recog_next_insn): Mind it.
15853         (peephole2_optimize): Set it.  Walk backwards through blocks.
15854         Use update_life_info.
15855         * rtl.h (update_flow_info, replace_insns): Remove declarations.
15856         (split_all_insns): Declare.
15857         * toplev.c (rest_of_compilation): Thread prologue before flow2.
15858         Use split_all_insns.
15859
15860         * i386.md (or -1 peep2s): Disable.
15861
15862 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
15863
15864         * config/mips/mips.md (movstrsi+[123]) : Combine these into
15865         a single pattern.  Scrap the 'd' versions as unnecessary.
15866
15867         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
15868         tablejump_mips162,tablejump_internal4): The operands to a
15869         label_ref must be VOIDmode.
15870
15871 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15872
15873         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
15874
15875 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
15876
15877         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
15878
15879 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
15880
15881         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
15882         cache every function if ggc_p.
15883
15884 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15885
15886         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
15887         instead of copy_rtx.  Accept sequences that contain asm statements.
15888         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
15889         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
15890         orig_asm_operands_vector, copy_asm_operands_vector,
15891         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
15892         variables.
15893         * rtl.h (copy_insn, copy_insn_1): Declare.
15894
15895 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15896
15897         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
15898
15899         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
15900         arguments to `current_file_function_operand'.
15901
15902         * genrecog.c: Include hard-reg-set.h and resource.h in the
15903         generated output file.
15904
15905         * real.c: Include tm_p.h.
15906
15907 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15908
15909         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
15910         output operand.
15911
15912 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
15913
15914         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
15915         before the fctiwz insn.
15916
15917 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15918                           Mark Mitchell  <mark@codesourcery.com>
15919
15920         * tree.c (make_lang_type_fn): New funtion pointer.
15921         (make_lang_type): Call it.
15922         * tree.h (make_lang_type): Declare.
15923         (make_lang_type_fn): Likewise.
15924         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
15925
15926 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
15927
15928         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
15929         make sure that HIGH instructions are copied into BASE_REGS.
15930
15931 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
15932
15933         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
15934
15935 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
15936
15937         * c-decl.c (finish_struct): Use simpler method of
15938         removing elements of a singly-linked list.
15939
15940 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
15941
15942         * alpha.md (peephole2's): Comment out peephole2's that generate
15943         buggy code.
15944
15945 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
15946
15947         * genrecog.c (add_to_sequence): Disable mode check for
15948         wildcard matches.
15949
15950 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15951
15952         * ggc-simple.c (init_ggc): Set empty_string.
15953
15954 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
15955
15956         * configure.in: Detect mmap.  Add --with-gc=foo to select
15957         garbage collector; default to page if mmap available.
15958         * Makefile.in (GGC): Substitute.
15959
15960 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
15961
15962         * c-decl.c (ggc_p): Enable.
15963
15964 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15965
15966         * flow.c (verify_flow_info): Make it extern & unconditionally define.
15967
15968 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
15969
15970         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
15971         string for little-endian-data.
15972
15973 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
15974
15975         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
15976         case somebody tries to compile --enable-checking code with gcc
15977         1.34 or such.
15978
15979 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
15980
15981         * genrecog.c (add_to_sequence): Verify operand to label_ref is
15982         VOIDmode.
15983
15984 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
15985
15986         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
15987         * jump.c (jump_optimize_1): Document why.
15988
15989 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15990
15991         * collect2.c (scan_prog_file, scan_libraries): Prototype function
15992         pointers and casts for `int_handler' and `quit_handler'.
15993
15994         * flow.c (verify_flow_info, split_hard_reg_notes,
15995         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
15996         remove_edge, remove_fake_successors): Add static prototypes.
15997         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
15998         (mark_set_1): Initialize variable `regno'.
15999         (unlink_insn_chain): Likewise for variable `curr'.
16000         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16001
16002         * loop.c (strength_reduce): Initialize variable
16003         `unrolled_insn_copies'.
16004         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16005         prototypes.  Change these functions to take const PTR parameters
16006         to avoid prototype conflict when used as the comparson argument
16007         for qsort.
16008         (check_dbra_loop): Initialize variable `comparison_val'.
16009
16010         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16011         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16012         (find_valid_class): Initialize variable `best_class'.
16013         (find_reloads): Call memcpy, not bcopy.
16014
16015         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16016         (hard_reg_use_compare): Don't needlessly cast away const.
16017         (reload_reg_class_lower): Likewise.
16018         (choose_reload_regs): Initialize variable `regno'.
16019
16020 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
16021
16022         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16023
16024 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
16025
16026         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16027         ({,d}discard): Add forward declarations.  Declare parameter as
16028         unused.
16029         (main_without_main): Explicitly declare return type to be int.
16030         (memcpy): Properly declare.
16031
16032         * libgcc2.c (toplevel): If inhibit_libc is defined and not
16033         building the trampoline support, declare malloc, free, and
16034         atexit.
16035         (__clear_cache): Mark arguments as potentially unused.
16036
16037         * frame.c (toplevel): If inhibit_libc is defined, declare
16038         malloc and free.
16039
16040 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
16041
16042         * flow.c (make_edge): Accept an optional 2D bitmap in which
16043         to cache edge existence.  Update all callers.
16044         (make_label_edge, make_eh_edge): Pass through the edge cache.
16045         (make_edges): Provide the cache.
16046
16047 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16048
16049         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16050         a char*.
16051         (local_mbtowc): Change the type of variable `i' from int to size_t.
16052
16053         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16054         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16055
16056 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
16057
16058         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16059         after other includes that define the appropriate types.  Include
16060         tm_p.h for getting user prototypes.
16061         * ggc-callbacks.c (toplevel): Ditto.
16062         * ggc-none.c (toplevel): Ditto.
16063         * gcc-page.c (toplevel): Ditto.
16064         * ggc-simple.c (toplevel): Ditto.
16065
16066 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
16067                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
16068
16069         * config/mips/mips.c (mips_move_2words): Split doubles if
16070         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16071
16072 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
16073
16074         * genrecog.c (struct decision_test): New.
16075         (struct decision): Remove test-related members, sort the rest by size.
16076         (IS_SPLIT): Simplify.
16077         (new_decision, new_decision_test): New.
16078         (add_to_sequence): Use them.  No special handling for args of
16079         non-MATCH codes.
16080         (maybe_both_true): Renamed from not_both_true; return sense changed.
16081         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
16082         of maybe_both_true and adjusted for decision_test.
16083         (position_merit): Remove.
16084         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16085         (merge_accept_insn): New, broken out of merge_trees.
16086         (merge_trees): Use them.  No special case for c_test; no node
16087         splitting; use test type instead of position_merit.
16088         (factor_tests): New.
16089         (simplify_tests): New.
16090         (break_out_subroutines): Don't write code now.
16091         (find_afterward): New.
16092         (write_afterward, write_switch, write_cond): New.
16093         (write_action, is_unconditional): New.
16094         (write_node): New.  Use them.
16095         (write_tree_1): Rewrite.  Use the new functions above.
16096         (write_tree): Remove afterward processing.
16097         (write_subroutine): Simplify function variant emission.
16098         (write_subroutines): New.
16099         (same_codes, clear_codes): Remove.
16100         (same_modes, clear_modes): Remove.
16101         (write_header): New, broken out of main.
16102         (make_insn_sequence): Use new_decision and new_decision_test.
16103         (process_tree): New, broken out of main.
16104         (main): Adjust for merge_trees interface change.
16105         Don't #define operands in the output file.
16106         (record_insn_name): New, broken out of make_insn_sequence.
16107         (debug_decision_2, debug_decision_1, debug_decision_0): New.
16108         (debug_decision): New.
16109
16110 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
16111
16112         * resource.c (find_free_register): Mark class_str argument const.
16113         * resource.h: Update prototype to match.
16114
16115         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16116         * i386.md: Give all anonymous insns names.
16117
16118 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
16119
16120         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16121         blocks.
16122
16123 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
16124
16125         * toplev.c (dbr_sched_time): Unconditional.
16126         (peephole2_time): New.
16127         (compile_file): Add pass numbers to all of the dump file suffixes.
16128         Dump peephole2_time.  Don't dump times for non-applicable passes.
16129         (rest_of_compilation): Add pass numbers to dump file suffixes.
16130         Conditionalize calls to the scheduler.
16131         * invoke.texi: Update.
16132
16133 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
16134
16135         * flow.c (make_edges): Fix insn iteration.
16136         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16137         (find_basic_blocks_1): Fix spelling mistake.
16138
16139 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
16140
16141         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16142         always have side-effects.  Use memset not bzero.
16143         (make_node): Likewise.
16144
16145 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
16146
16147         * stmt.c (expand_anon_union_decl): When any of the elements of the
16148         union is addressable, so is the entire union.
16149
16150 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
16151
16152         * sbitmap.c (sbitmap_ones): Don't set too many bits.
16153
16154         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16155         * bitmap.c (bitmap_operation): Return true iff TO changed.
16156         (bitmap_equal_p): New.
16157         (bitmap_bit_p): Tidy arithmetic.
16158         (debug_bitmap_file): Likewise.
16159
16160 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
16161
16162         * toplev.c (rest_of_compilation): Turn on cse_not_expected
16163         before cse2 instead of after.
16164
16165 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
16166
16167         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16168         register offsets.
16169
16170 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16171
16172         * cppinit.c (is_idchar initializer): Loosen tests to accept
16173         gcc 2.>6 and >2.
16174
16175 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
16176
16177         * mips.md: Define conditional move patterns for floating point
16178         operands and DI mode conditions.
16179
16180 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
16181
16182         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16183         always have side-effects.
16184
16185 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
16186
16187         * mn10200.c (asm_file_start): Fix typo.
16188
16189         * cppinit.c (is_idchar initializer): Tighten tests for when
16190         to put the table into initialized memory.
16191
16192         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16193         not an array of rtunion.
16194         * gcc-page.c (ggc_alloc_rtvec): Similarly.
16195         * gcc-simple (ggc_free_rtvec): Similarly.
16196
16197         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16198         of rtunions.
16199
16200         * mbchar.h: Add missing #endif.
16201
16202         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16203         (FPBIT, DPBIT): Define.
16204
16205 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16206
16207         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16208
16209         * profile.c (instrument_arcs, output_gcov_string,
16210         tablejump_entry_p): Add static prototypes.
16211         (output_gcov_string): Constify a char*.
16212
16213         * regmove.c (replacement_quality, fixup_match_2): Add static
16214         prototypes.
16215
16216         * resource.h (reg_dead_p): Add extern prototype.
16217
16218         * rtl.c (trim_filename): Add static prototype.
16219
16220         * scan-decls.c (skip_to_closing_brace): Likewise.
16221
16222         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16223         (expand_end_case): Initialize variable `range'.
16224         (emit_case_nodes): Remove unused prototype `rtx_fn'.
16225
16226         * varasm.c (asm_emit_uninitialised): Add static prototype.
16227         (asm_emit_uninitialised, assemble_variable): Mark parameter with
16228         ATTRIBUTE_UNUSED.
16229
16230 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16231
16232         * cpplib.c (if_directive_nameo): Add static prototype.
16233
16234         * cse.c (cse_insn): Remove unused variable `p'.
16235
16236         * except.c (create_rethrow_ref, push_entry,
16237         receive_exception_label, new_eh_region_entry, find_func_region,
16238         clear_function_eh_region, process_nestinfo): Add static prototypes.
16239         (get_reg_for_handler): Hide definition.
16240         (process_nestinfo): Initialize variable `extra_handlers'.
16241
16242         * expr.h (expand_builtin_longjmp): Add extern prototype.
16243
16244         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16245
16246         * function.c (prepare_function_start): Likewise.
16247         (pop_function_context_from): Mark parameter `context' with
16248         ATTRIBUTE_UNUSED.
16249         (push_temp_slots_for_block, flush_addressof): Hide definition.
16250
16251         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16252         solve_program_flow_graph, calculate_branch_probs,
16253         function_summary, main, fancy_abort): Add prototypes.
16254
16255         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16256         (add_hash): Constify a char*.
16257
16258         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16259         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16260         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16261
16262         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16263
16264         * lists.c (free_list, zap_lists): Likewise.
16265
16266 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16267
16268         * alias.c (nonlocal_reference_p): Add static prototype.
16269
16270         * bitmap.c (bitmap_element_allocate): Prototype args in function
16271         pointer cast.
16272
16273         * builtins.c (stabilize_va_list): Add static prototype.
16274         (expand_builtin_va_arg): Constify a char*.
16275
16276         * c-lex.c (getch, put_back, extend_token_buffer_to,
16277         read_line_number, token_getch, token_put_back): Add static
16278         prototypes.
16279
16280         * c-parse.gperf (hash, is_reserved_word): Likewise.
16281
16282         * cccp.c (is_dir_separator): Likewise.
16283
16284 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16285
16286         * graph.h: New file to prototype functions exported by graph.c.
16287
16288         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16289
16290         * graph.c: Include graph.h.
16291
16292         * toplev.c: Likewise.  Remove redundant prototypes.
16293
16294 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
16295
16296         * invoke.texi: Removed duplicated description for -Q.
16297
16298 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
16299
16300         * extend.texi: Grammar fix in __extension__ text.
16301
16302 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
16303
16304         * md.texi (define_peephole2): New section.
16305
16306 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
16307
16308         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16309         (mov $-1 to or peepholer): Enable for pentium when optimizing for
16310         speed.
16311
16312 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
16313
16314         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16315
16316 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
16317
16318         * i386.md (ffs expander): Emit Pentium friendly code for
16319         TARGET_PENTIUM.
16320
16321 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
16322
16323         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16324         for non-trees.
16325         (build1): Likewise.
16326
16327 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16328
16329         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16330
16331 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
16332
16333         * config/m68k/m68k.c (use_return_insn): Return false if the pic
16334         register is in use.
16335
16336 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16337
16338         * md.texi (No Constraints): Delete section.
16339         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16340         * final.c (final_scan_insn): We always have register constraints.
16341         * genattrtab.c: Don't include "insn-config.h".
16342         (write_attr_case): We always have register constraints.
16343         * genconfig.c (register_constraint_flag): Delete.
16344         (walk_insn_part): Don't check whether we have register constraints.
16345         (main): Don't write out "#define REGISTER_CONSTRAINTS".
16346         * genoutput.c (have_constraints): Delete.
16347         (main): Don't set it.
16348         (output_operand_data): We always have constraints.
16349         (scan_operands): Likewise.
16350         (compare_operands): Likewise.
16351         * local-alloc.c (block_alloc): We always have constraints.
16352         (requires_inout): Always compile this function.
16353         * recog.c (extract_insn): We always have constraints.
16354         (constrain_operands, reg_fits_class_p): Always compile these
16355         functions.
16356         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16357         fields.
16358         (struct insn_operand_data): Likewise.
16359         * regclass.c (regclass): We always have constraints.
16360         (record_reg_classes, copy_cost, record_address_regs,
16361         auto_inc_dec_reg_p): Always compile these functions.
16362         * regmove.c (regmove_optimize): We always have constraints.
16363         * reload.c (find_reloads): Likewise.
16364         * reload1.c (reload): Likewise.
16365         (reload_cse_simplify_operands): Likewise.
16366         * i860.c (output_delay_insn): Likewise.
16367
16368 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
16369
16370         * iris6.h (BUILD_VA_LIST_TYPE): Define.
16371
16372 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16373
16374         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16375         for the va_list record.
16376
16377 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
16378
16379         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16380         prologues.
16381
16382 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
16383
16384         * alias.c: Include insn-flags.h.
16385         * Makefile.in (alias.o): Update.
16386
16387 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
16388
16389         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16390         to LTU and GEU.  Handle more cases using sbb.
16391
16392 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
16393
16394         * i386.md (truncatexfdf splitters): Do not use subreg.
16395         (fop XFmode patterns): Fix mode in operand testing.
16396
16397 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
16398
16399         * jump.c (jump_optimize_1): Amend last change to test only the
16400         form of the operand, not the insn.
16401
16402         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16403         not register_operand to determine when B may need preloading.
16404
16405 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
16406
16407         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16408         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16409         (call-value patterns): Move to end of file.
16410         (*): Remove mode from label_ref in (pc) context.
16411         (movstrqi): Use memory not general_operand for BLKmode operands.
16412         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16413         to register_operand operands.
16414         (peep2 patterns): Convert from commented-out peephole patterns.
16415
16416 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16417
16418         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16419         to BUILT_IN_INIT_DWARF_REG_SIZES.
16420         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16421         Renamed from BUILT_IN_DWARF_REG_SIZE; call
16422         expand_builtin_init_dwarf_reg_sizes.
16423         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16424         with __builtin_init_dwarf_reg_size_table.
16425         * dwarf2out.c (struct reg_size_range): Delete.
16426         (expand_builtin_init_dwarf_reg_sizes): New function.
16427         (expand_builtin_dwarf_reg_size): Delete.
16428         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16429         (expand_builtin_dwarf_reg_size): Don't declare.
16430         * libgcc2.c (dwarf_reg_size_table_initialized): New.
16431         (dwarf_reg_size_table): New.
16432         (init_reg_size_table): New function.
16433         (copy_reg): Use dwarf_reg_size_table.
16434         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16435         before use.
16436
16437 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
16438
16439         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16440         Correctly build argument list to constructor and destructor functions.
16441
16442 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
16443
16444         * c-tree.h (warn_float_equal): Declare.
16445         * c-decl.c (warn_float_equal): Define.
16446         (c_decode_option): Recognize -W[no-]float-equal.
16447         * c-typeck.c (build_binary_op): Conditionally warn
16448         about equality tests of floating point types.
16449         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16450         * invoke.texi: Add docs for -Wfloat-equal warning.
16451
16452 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
16453
16454         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16455         generating RTL directly.
16456         * mips.h (INIT_TARGET_OPTABS): Likewise.
16457         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16458
16459         * expr.h (init_mov_optab): Delete declaration
16460
16461         * h8300.c (WORD_REG_USED): Update to avoid useless register
16462         saves in interrupt functions and functions which never return.
16463
16464         * cse.c (struct set): Delete inner_dest_loc field.
16465         (cse_insn): Remove assignments to inner_dest_loc field.
16466
16467 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
16468
16469         * ggc-page.c: Don't include <unistd.h> etc taken care of
16470         by "system.h".  Include <sys/mman.h> afterward.
16471
16472 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
16473
16474         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16475         ggc_alloc_string.
16476
16477 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
16478
16479         * xcoffout.c (xcoffout_declare_function): Add documentation.
16480         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16481         TARGET_64BIT.  Compare constant to -1, not bit pattern.
16482         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16483         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
16484         gen_movsi typos.
16485
16486 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
16487
16488         * dwarf2out.c (add_abstract_origin_attribute): Abort if
16489         origin_die is NULL.
16490         (gen_inlined_enumeration_type_die): Do not abort if the type has
16491         not been writeen out.
16492         (gen_inlined_structure_type_die): Do not abort if the type has
16493         not been writeen out.
16494         (gen_inlined_union_type_die): Do not abort if the type has
16495         not been writeen out.
16496         (gen_tagged_type_instantiation_die): Do not abort if the type
16497         has not been written out.
16498
16499 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16500
16501         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16502         call it.
16503         * reg-stack.c (straighten_stack): Copy hard reg set with
16504         COPY_HARD_REG_SET.
16505
16506 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
16507
16508         * builtins.c (stabilize_va_list): Stabilize array type va_list
16509         to a pointer type, not the base record type.
16510         (expand_builtin_va_copy): Dereference the pointers explicitly;
16511         use the correct size for the copy.
16512
16513         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16514         (rs6000_va_arg): Likewise.
16515
16516 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
16517
16518         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16519
16520 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
16521
16522         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16523         field.
16524         (DECL_BUILT_IN_CLASS): Adjust accordingly.
16525
16526 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
16527
16528         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16529         (init_ggc): Use it instead of a constant.
16530         (ggc_collect): Bound allocated_last_gc by it.
16531
16532 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
16533
16534         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16535         with va_list.
16536
16537 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
16538
16539         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
16540         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
16541         * configure:  Regen.
16542         * config/mips/openbsd.h:  New, OpenBSD little endian target.
16543         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
16544         * config/mips/xm-openbsd.h:  New, OpenBSD host.
16545
16546 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
16547
16548         * config/m68k/m68k.c (output_function_prologue,
16549         output_function_epilogue): Use
16550         current_function_uses_pic_offset_table instead of regs_ever_live
16551         to decide whether to save/restore pic register.
16552         (legitimize_pic_address): Don't modify regs_ever_live any more.
16553
16554 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
16555
16556         * function.h (struct function): Add x_dont_save_pending_sizes_p.
16557         * stor-layout.c (variable_size): Don't add sizes to the pending
16558         sizes list if x_dont_save_pending_sizes_p is set.
16559
16560 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
16561
16562         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16563         for symbolic_operand().
16564         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16565
16566 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16567
16568         * combine.c (gen_rtx_combine): Add missing call to va_end().
16569
16570         * final.c (asm_fprintf): Likewise.
16571
16572         * genattrtab.c (attr_rtx): Likewise.
16573
16574 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
16575
16576         * cse.c: Update comments.
16577         (cse_insn): When converting a conditional/computed jump into
16578         an unconditional jump, always make sure a BARRIER immediately
16579         follows the converted jump.  Do not delete unreachable code.
16580         (cse_basic_block): Do not delete unreachable code.
16581         * toplev.c (rest_of_compilation): Move call to
16582         delete_trivially_dead_insns after the conditional call to
16583         jump_optimize.
16584
16585 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16586
16587         * collect2.c (make_temp_file): Don't prototype.
16588
16589         * gcc.c (make_temp_file): Likewise.
16590
16591         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16592
16593 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
16594
16595         * varasm.c (asm_emit_uninitialised): New function: Generate
16596         the assembler statements necessary to declare an uninitialised
16597         variable.
16598         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16599         variable.
16600         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16601         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16602         section.
16603         (assemble_variable): Use asm_emit_uninitialised to emit an
16604         uninitialised variable.
16605
16606 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
16607
16608         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16609         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
16610         <geoffk@cygnus.com>.
16611
16612 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16613
16614         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16615         * c-common.h (builtin_function): Don't declare.
16616
16617         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16618         DECL_BUILT_IN.
16619         (pushdecl): Likewise.
16620         (finish_decl): Likewise.
16621         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
16622         int.  All callers changed.
16623         Set the builtin's DECL_BUILT_IN_CLASS.
16624         * tree.h (enum built_in_class): New.
16625         (enum built_in_function): Delete NOT_BUILT_IN.
16626         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16627         in a union.
16628         (DECL_SET_FUNCTION_CODE): Likewise.
16629         (DECL_BUILT_IN_CLASS): New macro.
16630         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16631         (struct tree_decl): Split builtin function code field into a
16632         struct.
16633         (builtin_function): Declare.
16634
16635 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
16636
16637         * optabs.c (init_traps): Fix typo in last change.
16638
16639 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
16640
16641         * toplev.c (rest_of_decl_compilation): Update comment.
16642
16643 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16644
16645         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16646         in .sbss if appropriate.
16647         (EXTRA_SECTION_FUNCTIONS): Add sbss.
16648         (SBSS_SECTION_ASM_OP): New macro.
16649         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16650         (EXTRA_SECTIONS): Add in_sbss.
16651         * config/mips/mips.h: Prototype sbss_section.
16652
16653 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
16654
16655         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16656         to disappear.
16657
16658 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
16659
16660         * optabs.c (init_traps): Register trap_rtx as a GC root.
16661
16662 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16663
16664         * config/mips/mips.c (function_arg_pass_by_reference): Define
16665         unconditionally, since it's called unconditionally.
16666
16667 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16668
16669         * toplev.c (documented_lang_options): Add -fshort-wchar.
16670         * c-decl.c (c_decode_option): Likewise.
16671         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16672         for wchar_t.
16673         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16674         * gcc.c (default_compilers): If -fshort-wchar,
16675         override __WCHAR_TYPE__.
16676         * tm.texi (C Dialect Options): Add -fshort-wchar.
16677
16678         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16679         symbol for a variable.
16680
16681         * cpplib.h (CPP_PREPROCESSED): New macro.
16682         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16683         we're seeing this input for a second time.
16684
16685 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
16686
16687         * emit-rtl.c (init_emit_once): Initialize modes first.
16688
16689 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
16690
16691         * config/i386/i386.c (pic_label_name): Change to char pointer.
16692         (global_offset_table): New variable.
16693         (load_pic_register): Fill global_offset_table if it hasn't
16694         already been done.  Allocate pic_label_name dynamically.
16695         * ggc.h (empty_string): New variable.
16696         * ggc-simple.c (empty_string): Likewise.
16697         (init_ggc): Allocate empty_string and add as root.
16698         * stmt.c (digit_strings): New variable.
16699         (init_stmt): Add last_block_end_note as root.  Allocate and
16700         initialize digit_strings.
16701         (expand_asm_operands): Use empty_string instead of string
16702         constant.  Use digit_strings instead of string constants.
16703         * profile.c (init_arc_profiler): Allocate string with
16704         ggc_alloc_string instead of xmalloc.
16705         (output_func_start_profiler): Likewise.
16706         * c-typeck.c (digest_init): Check if init is error_mark_node.
16707
16708 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
16709                           Richard Henderson  <rth@cygnus.com>
16710
16711         * ggc-page.c: New file.
16712         * Makefile.in (ggc-page.o): New.
16713
16714 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
16715
16716         * invoke.texi: Document -fdelete-null-pointer-checks
16717         * toplev.c (flag_delete_null_pointer_checks): New.
16718         (f_options): Add entry for -fdelete-null-pointer-checks.
16719         (rest_of_compilation): Conditionalize null pointer check
16720         elimination on flag_delete_null_pointer_checks.
16721         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16722
16723 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
16724
16725         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16726         copyright notice and special exception to GPL.
16727
16728 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16729
16730         * abi64.h (mips_function_value): Add prototype arguments.
16731
16732         * mips-protos.h: New file with mips prototypes.
16733
16734         * mips.c: Include "tm_p.h".
16735         (mktemp, lookup_name): Add prototype arguments.
16736         (extern_list, string_constant, mips_fill_delay_slot,
16737         mips_output_external, mips_output_external_libcall,
16738         mips_output_filename, mips_declare_object, function_prologue,
16739         mips_expand_prologue, function_epilogue, mips16_constant,
16740         build_mips16_function_stub, mips_output_conditional_branch):
16741         Constify a char*.
16742         (mips_va_start): Remove unused variable `u'.
16743         (mips_va_arg): Cast value to unsigned when comparing against one.
16744         (trace): Delete.
16745         (save_restore_insns, mips_expand_prologue): Add missing arg in
16746         call to `large_int'.
16747
16748         * mips.h: Move prototypes to mips-protos.h.
16749         (data_section, memory_address_p, rdata_section,
16750         readonly_data_section, simple_epilogue_p, text_section): Delete
16751         prototypes delcared elsewhere.
16752         (mips_epilogue_delay_slots, print_options): Delete unused decls.
16753         (trace): Delete.
16754         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16755
16756         * mips.md: Delete extra args in call to `mips_move_2words'.
16757
16758         * xm-iris6.h (alloca): Add prototype argument.
16759
16760         * genpeep.c: Include "tm_p.h" in generated output file.
16761
16762 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16763
16764         * basic-block.h (find_edge_index): Change parameters.
16765         * flow.c (verify_edge_list): Pass basic_block parameters to
16766         find_edge_index instead of integers.
16767
16768 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
16769
16770         * combine.c (simplify_comparison): Use an unsigned shift to adjust
16771         the constant.
16772
16773 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
16774
16775         * gcc.1: Fix a formatting error.
16776
16777 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16778
16779         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16780         i786, mn10200, mn10300, pdp11, v850.
16781
16782 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
16783
16784         * libgcc2.c (num_digits): Add prototype with
16785         __attribute__((const)).
16786         (__terminate): Add prototype.
16787
16788 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
16789
16790         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16791
16792         * alpha/alpha.c (print_operand): Fix type of `code'.
16793         (alpha_output_filename): Constify.
16794         * alpha/alpha.h: Move all function declarations ...
16795         * alpha/alpha-protos.h: ... here.  New file.
16796         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16797         (SECTION_FUNCTION_TEMPLATE): Likewise.
16798
16799 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16800
16801         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16802         * expr.c (expand_expr): Likewise.
16803         (do_jump): Likewise.
16804         (do_store_flag): Pass ccp_store_flag to can_compare_p.
16805         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16806         accessor macros.
16807         (enum can_compare_purpose): New.
16808         (can_compare_p): Adjust prototype.
16809         (prepare_cmp_insn, prepare_operand): Declare.
16810         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16811         * optabs.c (cmp_available_p): Deleted.
16812         (expand_abs): Pass ccp_jump to can_compare_p.
16813         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
16814         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
16815         Call can_compare_p rather than cmp_available_p.
16816         (prepare_operand): No longer static.
16817         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16818         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16819         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16820         sequence to use emit_cmp_and_jump_insns.
16821         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16822
16823 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
16824
16825         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16826         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16827         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16828         (plus (reg) (const_int 0))
16829         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16830
16831 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
16832
16833         * rs6000.c (expand_block_move): DImode loads and stores require
16834         word-aligned displacements.  Increment address registers with
16835         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
16836
16837 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
16838
16839         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16840         is no name for the base type, rather than segfault.  If we are
16841         writing out a complex integer type, use DW_ATE_lo_user.
16842
16843         * expr.c (emit_move_insn_1): If we are copying a complex that fits
16844         in one word or less (complex char, complex short, or on 64 bit
16845         systems complex float) to/from a hard register, copy it through
16846         memory instead of dying in gen_{real,imag}part.  If we have a
16847         short complex type, prevent inlining since it allocates stack
16848         memory.
16849
16850         * tree.c (build_complex_type): If we are writing dwarf2 output,
16851         generate a name for complex integer types.
16852
16853 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16854
16855         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16856         * flow.c (remove_edge): Remove extra whitespace.
16857         (remove_fake_edges): Fix comment.
16858         (add_noreturn_fake_exit_edges): Use the correct name.
16859
16860 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
16861
16862         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16863         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16864         (clean): Depend on INTL_CLEAN.
16865         (maintainer-clean): Adjust.
16866
16867 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16868
16869         * configure.in (AC_PREREQ): Bump to 2.13.
16870         (AC_C_STRINGIZE): Call this instead of using a custom macro.
16871
16872         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
16873
16874         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
16875
16876         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
16877
16878         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
16879         (HAVE_STRINGIZE): Define.
16880
16881 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
16882
16883         * c-parse.in: save and restore warn_pointer_arith on __extension__
16884         along with pedantic.
16885         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
16886         Set the type of extension to itype rather than $<itype>1 kludge.
16887         * extend.texi (Alternate Keywords): Adjust documentation.
16888         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
16889
16890 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
16891
16892         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
16893         most assembler templates.
16894
16895         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
16896         FP loads and stores.
16897         (following_call): Always return zero for the PA8000.
16898         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
16899         FP loads and stores.
16900         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
16901
16902         * pa.h (BRANCH_COST): Define.
16903
16904         * pa.md (return, return_internal): Use bve for PA2.0.
16905
16906         * pa.md (fused multiply): Add variants which reduce height for the
16907         fused multiply, but which still generate 2 insns.
16908         (fnegabs): Similarly.
16909
16910         * pa.md (subsi3): Turn into an expander.  Create two anonymous
16911         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
16912         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
16913
16914         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
16915         for TARGET_PA_20.
16916         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
16917         code generation.
16918         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
16919         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
16920
16921         * regclass.c (init_regs): Add "top_of_stack" as a garbage
16922         collection root.
16923
16924         * flow.c (record_active_eh_regions): Terminate loop after finding
16925         the last insn in the last basic block.
16926
16927 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16928
16929         * config/c4x/c4x.md: Delete parallel instruction peepholes.
16930
16931 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16932
16933         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
16934
16935 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16936
16937         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
16938         splitting to not use output template.
16939
16940 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16941
16942         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
16943         * config/c4x/c4x.c (c4x_va_start): New function.
16944
16945 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
16946
16947         * genrecog.c (not_both_true): Handle correctly cases when called for
16948         tests with different positions in the insn.
16949
16950 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16951
16952         * machmode.h (HOST_PTR_PRINTF): Move from here ...
16953
16954         * system.h (HOST_PTR_PRINTF): ... to here.
16955
16956         * mips-tfile.c: Don't include machmode.h.
16957
16958         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
16959         (mips-tfile.o): Don't depend on machmode.h.
16960
16961 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16962
16963         * haifa-sched.c (sched_analyze): Rename local variable `region' to
16964         avoid conflicts with typedef struct `region' at the top level scope.
16965
16966 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
16967
16968         * basic-block.h (basic_block): Add eh_beg, eh_end.
16969         * flow.c (entry_exit_blocks): Update.
16970         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
16971         Call new functions.
16972         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
16973         lists.c functions to allocate insn lists.
16974         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
16975         edge creation ...
16976         (make_eh_edge): ... here.  New.
16977         (move_stray_eh_region_notes): New.
16978         (record_active_eh_regions): New.
16979         (delete_unreachable_blocks): Split out block merging ...
16980         (try_merge_blocks): ... here.  New.
16981         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
16982         Dump debugging data.
16983         (merge_blocks_move_successor_nojumps): Likewise.
16984         (merge_blocks): Use eh_beg+eh_end to validate block movement.
16985
16986 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16987
16988         * extend.texi (Bound member functions): Document unbound pmf
16989         conversion.
16990
16991 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16992
16993         * flow.c (split_edge): Handle insertion on a fallthrough edge which
16994         has the EXIT_BLOCK as a dest.
16995
16996 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16997
16998         * flow.c (remove_edge): New function to remove an edge from the
16999         flow graph.
17000         (remove_fake_successors): New function to remove fake successor edges.
17001         (remove_fake_edges): New function to remove all fake edges from the
17002         flow graph.
17003         (add_fake_exit_edges): New function to add fake edges from all blocks
17004         with no successors to the exit block.
17005         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17006         prototypes for new functions.
17007
17008 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17009
17010         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17011         Use Pmode to determine whether to output .dword or .word.
17012
17013 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
17014
17015         * tree.c (built_in_filename): New variable.
17016         (BUILT_IN_FILENAME): New macro.
17017         (init_tree_codes): Allocate built_in_filename.
17018         (make_node): Use built_in_filename instead of string constant.
17019
17020 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
17021
17022         * configure.in: Add fr30 target.
17023         * configure: Regenerate.
17024         * config/fr30: New directory.
17025         * config/fr30/crti.asm: New file.
17026         * config/fr30/fr30.c: New file.
17027         * config/fr30/crtn.asm: New file.
17028         * config/fr30/fr30.h: New file.
17029         * config/fr30/fr30.md: New file.
17030         * config/fr30/lib1funcs.asm: New file.
17031         * config/fr30/t-fr30: New file.
17032         * config/fr30/xm-fr30.h: New file.
17033
17034 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
17035
17036         * flow.c (merge_blocks_move_successor_nojumps): Delete the
17037         BARRIER at the end of the successor, not the BARRIER before
17038         the successor.
17039
17040         * pa.c (pa_add_gc_roots): Fix thinko in last change.
17041
17042 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
17043
17044         * stmt.c (any_pending_cleanups): Don't crash when
17045         current_function->stmt is unset.
17046
17047 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17048
17049         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17050         other initializations that may use it for relative offsets.
17051
17052 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17053
17054         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17055         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
17056         * config/i386/sol2dbg.h: Removed.
17057         * config/i386/sol2gas.h: New file, to enable gas work-around.
17058         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17059         Don't use sol2dbg.h.
17060         * configure: Rebuilt.
17061
17062 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
17063
17064         * invoke.texi (-fthis-is-variable): Remove documentation.
17065
17066 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
17067
17068         * basic-block.h (compute_bb_for_insn): Declare.
17069         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
17070         to use; set size of basic_block_for_insn directly.
17071         (find_basic_blocks): Update.
17072
17073 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17074
17075         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17076
17077 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17078
17079         * crtstuff.c (ON_EXIT): Delete empty macro definition.
17080         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17081
17082 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
17083
17084         * c-decl.c (c_decode_option): Extend comment.
17085
17086 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
17087
17088         * toplev.c (progname): Make 'const char *'
17089         (flag_print_mem): Move out of main.
17090         (version_flag): Move out of main.
17091         (filename): Move out of main.
17092         (debug_args): Remove g prefix from options.
17093         (documented_lang_options): Remove cpplib specific options.
17094         (display_help): Add g prefix to debug options.
17095         (check_lang_option): Delete this function.
17096         (decode_d_option): New function: Decode -d... option.
17097         (decode_f_option): New function: Decode -f... option.
17098         (decode_W_option): New function: Decode -W... option.
17099         (decode_g_option): New function: Decode -g... option.
17100         (independent_decode_option): New function: Decode a language
17101         independent command line option.
17102         (main): Invoke lang_decode_option and then
17103         independent_decode_option on each command line option in
17104         turn.
17105
17106 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
17107
17108         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
17109          * fold-const.c (fold_range_test): Do not try to fold the range
17110          test if the rhs or lhs has side effects.
17111
17112         * basic-block.h (compute_flow_dominators): Declare.
17113
17114         * gcse.c (alloc_code_hoist_mem): New function.
17115         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17116         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17117         (hoist_code, one_code_hoisting_pass): Likewise.
17118         (gcse_main): If optimizing for size, then hoist expressions
17119         computed in multiple dominated basic blocks.
17120
17121         * gcse.c (invalid_nonnull_info): New function.
17122         (delete_null_pointer_checks): Likewise.
17123         * rtl.h (delete_null_pointer_checks): Declare.
17124         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17125
17126         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17127         (merge-blocks_move_successor_nojumps): Likewise.
17128         (merge_blocks): Allow merging of some blocks, even if it requires
17129         physical movement of the blocks, but not if it requires new jumps.
17130
17131         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17132         Callers and prototype changed.
17133         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17134
17135 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17136
17137         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17138         -YP when both -p and -pg are present.  From i386/sol2.h.
17139
17140 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17141
17142         * Makefile.in (distclean): Delete tm_p.h.
17143         * configure.in: Create a new file, "tm_p.h", from a list in
17144         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17145         "i386/i386-protos.h".
17146
17147         * alias.c: Include "tm_p.h".
17148         * c-typeck.c: Likewise.
17149         * calls.c: Likewise.
17150         * cse.c: Likewise.
17151         * emit-rtl.c: Likewise.
17152         * explow.c: Likewise.
17153         * expmed.c: Likewise.
17154         * expr.c: Likewise.
17155         * final.c: Likewise.
17156         * flow.c: Likewise.
17157         * fold-const.c: Likewise.
17158         * function.c: Likewise.
17159         * gcse.c: Likewise.
17160         * global.c: Likewise.
17161         * haifa-sched.c: Likewise.
17162         * integrate.c: Likewise.
17163         * jump.c: Likewise.
17164         * local-alloc.c: Likewise.
17165         * loop.c: Likewise.
17166         * optabs.c: Likewise.
17167         * recog.c: Likewise.
17168         * reg-stack.c: Likewise.
17169         * regclass.c: Likewise.
17170         * regmove.c: Likewise.
17171         * reload.c: Likewise.
17172         * reload1.c: Likewise.
17173         * reorg.c: Likewise.
17174         * resource.c: Likewise.
17175         * stmt.c: Likewise.
17176         * stor-layout.c: Likewise.
17177         * toplev.c: Likewise.
17178         * tree.c: Likewise.
17179         * unroll.c: Likewise.
17180         * genattrtab.c (main): Make generated file include "tm_p.h".
17181         * genemit.c (main): Likewise.
17182         * genoutput.c (main): Likewise.
17183         * genrecog.c (main): Likewise.
17184
17185         * i386.h: Delete all prototypes.
17186         * i386.c: Include "tm_p.h".
17187         (ix86_attr_length_default): Call constant_call_address_operand
17188         with correct number of arguments.
17189         * i386-protos.h: New file.
17190         * i386.md (unnamed patterns): Call constant_call_address_operand
17191         with correct number of arguments.
17192         (exception_receiver): Call load_pic_register with correct number
17193         of arguments.
17194
17195 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
17196
17197         * c-pragma.c (mark_align_stack): Dereference the void* properly.
17198
17199 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
17200
17201         * rtl.h (insns_safe_to_move_p): New function.
17202         * loop.c (find_and_verify_loops): Use it.
17203         * rtlanal.c (insns_safe_to_move_p): Define it.
17204
17205 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
17206
17207         * c-pragma.c: Include ggc.h.
17208         * Makefile.in (c-pragma.o): Update.
17209
17210 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17211
17212         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17213         (LIB_SPEC): Likewise.
17214         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17215         Reindent -YP/-p/-pg.
17216         Copied from config/sparc/sol2.h.
17217
17218 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
17219
17220         * c-pragma.c (mark_align_stack): New.
17221         (init_pragma): New.
17222         * c-pragma.h (init_pragma): Declare it.
17223         * c-lex.c (init_parse): Call it.
17224
17225 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17226
17227         * configure.in: Pick up thread library on Solaris/x86 just
17228         like on Solaris/sparc.
17229         * configure: Rebuilt.
17230
17231 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
17232
17233         * rtl.h (global_rtx_index): New enum.
17234         (global_rtl): Change to array of rtx.
17235         (pc_rtx, cc0_rtx): Redefine accordingly.
17236         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17237         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17238         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17239         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17240         (const_int_rtx): Change to array of rtx.
17241         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17242         accordingly.
17243         * emit-rtl.c (global_rtl): Change to array of rtx.
17244         (const_int_rtx): Change to aray of rtx.
17245         (gen_rtx_CONST_INT): Redefine accordingly.
17246         (init_emit_once): Allocate and initialize global_rtl.  Likewise
17247         for const_int_rtx.  Add both as GC roots.
17248         * genattrtab.c (global_rtl): Update declaration.
17249
17250 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
17251
17252         * Makefile (USER_H): Add iso646.h back.
17253
17254 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
17255
17256         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17257         zapping the LOG_LINKS of sched_before_next_call.
17258
17259         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17260         * pa.c (insn_refs_are_delayed): Renamed from
17261         insn_sets_and_refs_are_delayed.
17262
17263 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
17264
17265         * functiion.h (struct function): Add x_whole_function_mode_p.
17266         (retrofit_block): Declare.
17267         * function.c (retrofit_block): New function.
17268         (identify_blocks): Add assertions.  Allow an incomplete set of
17269         block notes if we're still generating code for the function.
17270         * integrate.c: Include loop.h.
17271         (expand_inline_function): Call find_loop_tree_blocks to map block
17272         notes to blocks when in whole-function mode.  Use retrofit_block
17273         to insert new BLOCKs for the inlined function, rather than
17274         insert_block.
17275         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
17276         * Makefile.in (integrate.o): Depend on loop.h.
17277
17278 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
17279
17280         * tree.h (warn_about_unused_variables): Declare.
17281         * stmt.c (warn_about_unused_variables): New function, split out
17282         from ...
17283         (expand_end_bindings): Here.
17284
17285 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
17286
17287         * stmt.c (preserve_subexpressions_p): Don't crash when
17288         current_function->stmt is unset.
17289
17290 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
17291
17292         * stmt.c (expand_start_bindings): Allow callers to pass a flag
17293         indicating that no NOTE_INSN_BLOCK_BEG note is required.
17294         (expand_start_target_temps): Use it.
17295         * except.c (expand_eh_region_start_for_decl): Likewise.
17296         * expr.c (expand_expr): Likewise.
17297
17298 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17299
17300         * fold-const.c (operand_equal_p): Pay attention to side effects.
17301
17302 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17303
17304         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17305         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17306
17307         * tlink.c (scan_linker_output): Look for keywords before accepting
17308         a mangled name in quotes.
17309
17310 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
17311
17312         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17313         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17314
17315 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
17316
17317         * alpha.md: Revert Thu Nov 26 change that came in through the
17318         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17319         Avoid earlyclobber when possible.
17320
17321 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17322
17323         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17324
17325         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17326         Define HAVE_ON_EXIT.
17327
17328 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17329
17330         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
17331         CTYPE_CONV in all ctype macros.
17332
17333         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17334         from system.h.
17335
17336         * cexp.y (initialize_random_junk): Likewise.
17337
17338         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17339
17340         * i370.c (handle_pragma): Likewise.
17341
17342         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17343
17344         * v850.c (override_options): Likewise.
17345
17346         * doprint.c (_doprnt): Likewise.
17347
17348         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17349         Likewise.
17350
17351         * fixinc/server.c (load_data): Likewise.
17352
17353         * fold-const.c (real_hex_to_f): Likewise.
17354
17355         * genattr.c (write_upcase, gen_attr): Likewise.
17356
17357         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17358         write_upcase): Likewise.
17359
17360         * genemit.c (print_code): Likewise.
17361
17362         * genopinit.c (gen_insn): Likewise.
17363
17364         * genpeep.c (print_code): Likewise.
17365
17366         * genrecog.c (print_code): Likewise.
17367
17368         * optabs.c (init_libfuncs): Likewise.
17369
17370 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
17371
17372         * haifa-sched.c (sched_analyze): Keep the list of notes organized
17373         in pairs.
17374         (reemit_notes): Likewise.
17375
17376 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
17377
17378         * ggc.h (ggc_root): Move to ggc-common.c.
17379         (roots): Remove.
17380         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17381         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17382         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17383         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17384         * ggc-common.c (ggc_root): Move from ggc.h.
17385         (roots): Declare, static.
17386         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17387         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17388         null or check/set mark bit.
17389         (ggc_mark_roots): New.
17390         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17391
17392 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
17393
17394         * m32r.c: Include toplev.h.
17395         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17396         (gen_compare): Rename swap_p to must_swap to match uses.
17397         Add default abort case.
17398         (m32r_output_function_epilogue): Remove unused variables.
17399         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17400         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17401         define to empty parameter list.  Update all uses.
17402         (predicate decls): Use enum machine_mode not int.
17403         * m32r.md (movsi): Call abort, not fatal_insn.
17404         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17405
17406 1999-09-14  Andrew Haley  <aph@cygnus.com>
17407
17408         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17409         use $0 instead of 0.
17410
17411 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17412
17413         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17414         computation out of loop over hard regs.
17415
17416 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
17417
17418         * function.c (identify_blocks): Don't shadow a variable in an
17419         outer scope.
17420         * integrate.c (integrate_decl_tree): Don't use pushlevel,
17421         pushdecl, or poplevel to build up the new BLOCK tree.
17422         (expand_inline_function): Likewise.
17423         (integrate_parm_decls): Likewise.
17424
17425 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
17426
17427         * c-typeck.c (qualify_type): Merge qualifiers from both types.
17428
17429 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
17430
17431         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17432         * invoke.texi: Document this change.
17433
17434 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
17435
17436         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17437         Free the struct.
17438         (mark_emit_status): Renamed from mark_emit_state.
17439         * except.c (mark_eh_status): Renamed from mark_eh_state.
17440         Check not null before marking.
17441         (free_eh_status): New.
17442         * expr.c (mark_expr_status, free_expr_status): New.
17443         * function.c (free_machine_status): New.
17444         (free_after_parsing): New.
17445         (free_after_compilation): Move bits to free_after_parsing; call
17446         free_eh_status, free_expr_status; zero the marked members of the
17447         function state.
17448         (prepare_function_start): No can_garbage_collect.
17449         Call init_eh_for_function.
17450         (expand_dummy_function_end): Free up current_function state.
17451         (mark_function_status): Renamed from mark_function_state.
17452         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
17453         * function.h (struct function): No can_garbage_collect.
17454         (free_machine_status, free_after_parsing): Declare.
17455         (free_eh_status, free_expr_status): Declare.
17456         * ggc.h (mark_expr_status): Declare.
17457         * stmt.c (free_stmt_status): Free the struct.
17458         (mark_stmt_status): Renamed from mark_stmt_state.
17459         (init_stmt): Don't call init_eh.
17460         (init_stmt_for_function): Don't call init_eh_for_function.
17461         * toplev.c (compile_file): Call init_eh.
17462         (rest_of_compilation): Free basic block info before ggc_collect.
17463         Call free_after_parsing; conditionally call free_after_compilation.
17464         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17465         Check not null before marking.
17466         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
17467
17468 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
17469
17470         * c-lex.c (yylex): Initialize warn.
17471
17472 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
17473
17474         * pa.c (emit_move_sequence): Properly set the mode of the scratch
17475         register when performing secondary reloads for the SAR register.
17476
17477 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
17478
17479         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17480         (NOTE_BLOCK): New macro.
17481         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17482         * function.h (identify_blocks): Change prototype.
17483         * function.c (identify_blocks): Simplify.
17484         (reorder_blocks): Likewise.
17485         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17486         NOTE_INSN_BLOCK_{BEG,END}.
17487         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17488         the list of saved notes if the note isn't a
17489         NOTE_INSN_BLOCK_{BEG,END}.
17490         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17491         NOTE_BLOCK_NUMBER.
17492         (reemit_notes): Adjust recreation of notes to reflect new saved
17493         note structure.
17494         * print-rtl.c (print_rtx): Print the address of the BLOCK when
17495         printing a block note.
17496         * stmt.c (block_vector): Remove.
17497         (find_loop_tree_blocks): Simplify.
17498         (unroll_block_trees): Likewise.
17499         * tree.h (reorder_block): Change prototype.
17500
17501 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
17502
17503         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
17504         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17505         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17506         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
17507         (atexit, exit): Simplify.
17508         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
17509         * config/lots: Remove defns of HAVE_ATEXIT.
17510
17511 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
17512
17513         * calls.c (precompute_arguments): Fix typo in comment.
17514         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17515         TARGET_EXPR.
17516
17517 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
17518
17519         * dsp16xx.c (override_options): Fix typos in GC root registration.
17520
17521 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
17522
17523         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17524         from config/svr4.h.
17525         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17526         (FUNCTION_PROFILER): Redefine appropriately for Linux.
17527         (CC1_SPEC): Likewise.
17528
17529 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17530
17531         * genattr.c (main): Add extern prototype.  Call return, not exit.
17532         * genattrtab.c (main): Likewise.
17533         * gencheck.c (main): Likewise.
17534         * gencodes.c (main): Likewise.
17535         * genconfig.c (main): Likewise.
17536         * genemit.c (main): Likewise.
17537         * genextract.c (main): Likewise.
17538         * genflags.c (main): Likewise.
17539         * gengenrtl.c (main): Likewise.
17540         * genopinit.c (main): Likewise.
17541         * genoutput.c (main): Likewise.
17542         * genpeep.c (main): Likewise.
17543         * genrecog.c (main): Likewise.
17544
17545         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17546         * genattrtab.c (get_insn_name): Likewise.
17547         * gencodes.c (get_insn_name): Likewise.
17548         * genconfig.c (get_insn_name): Likewise.
17549         * genemit.c (get_insn_name): Likewise.
17550         * genextract.c (get_insn_name): Likewise.
17551         * genflags.c (get_insn_name): Likewise.
17552         * genopinit.c (get_insn_name): Likewise.
17553         * genpeep.c (get_insn_name): Likewise.
17554
17555         * gencheck.c (usage): Add static prototype.
17556         * genextract.c (print_path): Constify a char*.
17557         * genopinit.c (optabs): Likewise.
17558         * genoutput.c (operand_data, data, output_predicate_decls,
17559         compare_operands): Likewise.
17560         * genrecog.c (write_tree): Add default case in switch.
17561
17562 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17563
17564         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17565
17566         * print-rtl.c (get_insn_name): Remove prototype.
17567
17568         * toplev.h (progname): Declare const.
17569
17570         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17571         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17572         dump_sched_info, dump_local_alloc, regset_release_memory,
17573         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17574         error_with_file_and_line, error_with_decl, error_for_asm, error,
17575         fatal, warning_with_file_and_line, warning_with_decl, warning,
17576         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17577         Remove redundant prototypes.
17578
17579         (notice, check_lang_option, report_file_and_line, vnotice,
17580         mark_file_stack): Add static prototype.
17581         (set_fatal_function): Add prototype.
17582         (vnotice, report_file_and_line, set_fatal_function,
17583         check_lang_option): Constify a char*.
17584         (main): Prototype.  Call return, not exit.
17585
17586 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17587
17588         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17589
17590         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17591
17592         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17593
17594         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17595
17596 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17597
17598         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
17599         behave as if it's zero in all cases.
17600         (expand_function_start): Adjust call to assign_parms.
17601         * tree.h (assign_parms): Adjust prototype.
17602         * objc/objc-act.c (hack_method_prototype): Adjust call to
17603         assign_parms.
17604
17605 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
17606
17607         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17608         arg_pointer_rtx fixed if the argument pointer register is
17609         not fixed.
17610         (NONZERO_BASE_PLUS_P): Likewise.
17611
17612 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
17613
17614         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17615         match_insn2 to match_insn.
17616         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17617
17618 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
17619
17620         * Makefile.in (USER_H): Remove va-foo.h.
17621
17622         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17623         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17624         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17625         va-spur.h,va-v850.h}: Remove.
17626
17627 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
17628
17629         * sparc/sparc.md (eligible_for_return_delay): New attribute.
17630         (in_return_delay): Use it instead of match_insn.
17631
17632 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17633
17634         * config/alpha/va_list.h (va-alpha.h): Do not include.
17635         (__gnuc_va_list): Typedef as in varargs.h.
17636
17637 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
17638
17639         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17640         DECL_LIVE_RANGE_RTL.
17641
17642 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
17643
17644         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17645         not NOTE_BLOCK_NUMBER.
17646         (expand_eh_region_end): Likewise.
17647         (find_exception_handler_labels): Likewise.
17648         (scan_region): Likewise.
17649         (exception_optimize): Likewise.
17650         (update_rethrow_references): Likewise.
17651         (set_insn_eh_region): Likewise.
17652         * final.c (final_scan_insn): Likewise.
17653         * flow.c (make_edges): Likewise.
17654         * integrate.c (expand_inline_function): Likewise.
17655         * print-rtl.c (print_rtx): Likewise.
17656
17657 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
17658
17659         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17660         terms of builtin functions and types.
17661
17662         * mips.c (mips_build_va_list): New.
17663         (mips_va_start, mips_va_arg): New.
17664         * mips.h (BUILD_VA_LIST_TYPE): New.
17665         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17666
17667         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17668         (sh_build_va_list, sh_va_start, sh_va_arg): New.
17669         * sh.h (BUILD_VA_LIST_TYPE): New.
17670         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17671
17672 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
17673
17674         * recog.h (struct recog_data): Make dup_num, operand_address_p,
17675         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17676         (struct insn_data): Likewise with n_operands, n_dups,
17677         n_alternatives, output_format.
17678         * regclass.c (scan_one_insn): Cast n_operands to int before
17679         arithmetic inside comparison.
17680
17681 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
17682
17683         * toplev.c (compile_function): Unconditionally emit nop.
17684
17685 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17686
17687         * haifa-sched.c (actual_hazard): Move declaration of variable
17688         `this_cost' into the scope where it is used.
17689
17690 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17691
17692         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17693         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
17694         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17695
17696         * genrecog.c (make_insn_sequence): Call memset, not bzero.
17697
17698         * jump.c (find_insert_position): Don't declare or define unless
17699         !HAVE_conditional_arithmetic.
17700         (returnjump_p_1, delete_prior_computation): Add static prototypes.
17701
17702         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17703
17704         * recog.c (offsettable_address_p): Prototype function pointer.
17705         (preprocess_constraints): Call memset, not bzero.
17706
17707         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
17708         (gcc_obstack_init): Don't declare.
17709         (fix_sizetype): Add static prototype.
17710         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17711         (tree_cons): Call memset, not bzero.
17712
17713         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17714         definition in macro ASM_WEAKEN_LABEL.
17715         (mark_const_hash_entry): Add static prototype.
17716
17717 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17718
17719         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17720
17721         * unroll.c (find_common_reg_term, subtract_reg_term,
17722         loop_find_equiv_value): Add static prototypes.
17723         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17724         (copy_loop_body): Remove unreachable break statement.
17725
17726         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17727
17728         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17729
17730 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17731
17732         Undo some changes from the gcc2 merge:
17733         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17734         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17735         pointers.
17736
17737         Undo this change:
17738         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
17739         * emit-rtl.c (gen_lowpart_common): Disable optimization of
17740         initialized float-int union if the value is a NaN.
17741
17742 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17743
17744         * gthr-win32.h: New file.
17745
17746         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17747         shared as a valid attribute.
17748         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17749         * extend.texi: Document `shared' variable attribute.
17750
17751 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
17752
17753         * configure.in: Handle --enable-threads on FreeBSD.
17754         * configure: Rebuit.
17755
17756 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17757
17758         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17759         thread support.
17760         * configure: Rebuilt.
17761
17762 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
17763                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17764                           Rosimildo DaSilva <rdasilva@connecttel.com>
17765
17766         * configure.in (m68k-*-rtemscoff*): Added.
17767         * configure.in (mips64orion-*-rtems*): Converted to ELF.
17768         * configure.in (sparc-*-rtemsaout*): Added as alias for old
17769         sparc-rtems configuration.
17770         * configure.in (sparc-*-rtemself*): Added.
17771         * configure.in (sparc-*-rtems*): Now ELF not a.out.
17772         * config/i386/rtems.h: Added comment.
17773         * config/sparc/rtemself.h: New file.
17774
17775         * configure.in (m68k-rtemself): Added.
17776         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17777         and DWARF_DEBUGGING_INFO.
17778         * config/m68k/crti.s: New file.
17779         * config/m68k/crtn.s: New file.
17780         * config/m68k/t-crtstuff: New file.
17781         * config/m68k/rtemself.h: New file.
17782
17783         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17784         global ctor/dtor and C++ exception handling.
17785         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17786         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17787         ENDFILE_SPEC.
17788         * config/i386/t-rtems-i386: New File.
17789
17790 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
17791
17792         * stmt.c (expand_end_case): Return right away if the case stack is
17793         empty.
17794
17795 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
17796
17797         * Makefile.in (version.c): Remove rule incorrectly brought in from
17798         the gcc2 merge.
17799
17800 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
17801
17802         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
17803         * msdos/top.sed:  Take into account a prepended $(SHELL) to
17804         move-if-change.
17805         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
17806
17807         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17808
17809 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17810
17811         * regmove.c (fixup_match_1): Don't change an unchanging register.
17812         (stable_but_for_p): Renamed to:
17813         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
17814         Changed all callers.
17815
17816 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
17817
17818         * loop.c (strength_reduce): Don't call reg_used_between_p if the
17819         insn from BL2 is after the insn from BL.
17820
17821 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
17822
17823         * recog.h (INSN_OUTPUT_FORMAT_*): New.
17824         (struct insn_data): Merge `template' and `outfun' into `output'.
17825         Add `output_format'.
17826         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17827         (struct data): Remove `outfun'; add `output_format'.
17828         (name_for_index): Remove declaration.
17829         (output_insn_data): Handle output formats.
17830         (process_template): Emit the bare array for @.
17831         (gen_expand, gen_split): Set output_format to NONE.
17832         * output.h (get_insn_template): Declare.
17833         * final.c (get_insn_template): New.
17834         (final_scan_insn): Use it.
17835         * toplev.c (compile_file): Likewise.
17836
17837         * c4x/c4x.c (c4x_process_after_reload): Likewise.
17838         * i860/i860.c (output_delayed_branch): Likewise.
17839         (output_delay_insn): Likewise.
17840
17841 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17842
17843         * rtl.c (obstack_alloc_rtx): Removed.
17844
17845 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
17846
17847         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17848
17849 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17850
17851         * i386.c (call_insn_operand): Reject const_int.
17852         (expander_call_insn_operand): Use call_insn_operand.
17853
17854 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17855
17856         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17857
17858 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
17859
17860         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17861         Use DImode operation.
17862
17863 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
17864
17865         * gcc.c: Include sys/resource.h.
17866         (report_times): New flag.
17867         (execute):  If report_times is set, calculate and report the
17868         CPU time consumed by each subprocess.
17869
17870         (rus, prus): New globals.
17871         (option_map): Add --time.
17872         (display_help): Document -time.
17873         (process_command): Set report_times if -time is given.
17874         Turn off -pipe if -time is given.
17875
17876         * invoke.texi: Document new option -time.
17877
17878         * configure.in: Check for getrusage.  Check if we have to
17879         prototype getrusage.
17880         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
17881         * configure: Regenerate.
17882         * config.in: Regenerate.
17883
17884 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
17885
17886         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
17887         fields.
17888
17889 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
17890
17891         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
17892         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
17893         (nan): Return _thenan_sf or _thenan_df as appropriate.
17894         (L_thenan_sf): Define _thenan_sf.
17895         (L_thenan_df): Define _thenan_df.
17896
17897         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
17898         (DPBIT_FUNCS): Add _thenan_df.
17899
17900 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
17901
17902         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
17903         TYPE_SIZE_UNIT.
17904
17905 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17906
17907         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
17908
17909         * gcc.h: New file.
17910         (lang_specific_driver): Don't take a function pointer parameter.
17911         All callers changed.
17912
17913         * gcc.c: Include gcc.h.
17914         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
17915         lang_specific_extra_outfiles, fatal): Don't declare.
17916         (multilib_defaults_raw): Constify.
17917         (read_specs): Call memset, rather than bzero.
17918         (main): Call return, not exit.
17919         (lookup_compiler): Call memcpy, not bcopy.
17920         (fatal): Make extern.
17921
17922         * cppspec.c: Include gcc.h.
17923         (lang_specific_driver): Initialize variable `quote'.  Constify a
17924         char*.  All calls to the function pointer parameter now
17925         explicitly call `fatal'.
17926
17927         * gccspec.c (lang_specific_driver): Include gcc.h.
17928
17929 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
17930
17931         * arm.c (note_invalid_constants): Use recog_data.operand_type
17932         for recog_op_type.
17933
17934 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17935
17936         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
17937         Declare.
17938
17939         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
17940         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17941         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17942         reload_secondary_in_reload, reload_secondary_out_reload,
17943         reload_secondary_in_icode, reload_secondary_out_icode,
17944         reload_reg_rtx, reload_when_needed): Delete declarations.
17945         (struct reload): New structure.
17946         (rld): Declare new array.
17947         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
17948         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17949         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17950         reload_secondary_in_reload, reload_secondary_out_reload,
17951         reload_secondary_in_icode, reload_secondary_out_icode,
17952         reload_reg_rtx, reload_when_needed): Delete definitions.
17953         (rld): New array.
17954         (whole file): Replace uses of the deleted arrays with uses of rld.
17955         * reload1.c (whole file): Replace uses of the deleted arrays with
17956         uses of rld.
17957         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
17958         explicit loops, not with bcopy.
17959
17960 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
17961
17962         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
17963         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
17964         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
17965         insn_name): Delete and consolidate into new structures.
17966         (insn_operand_predicate_fn): New.
17967         (insn_output_fn): New.
17968         (insn_gen_fn): New.
17969         (struct insn_operand_data): New.
17970         (struct insn_data): New.
17971         (insn_data): New.
17972         (OUT_FCN): Update for insn_data change.
17973         * builtins.c (expand_builtin_strlen): Likewise.
17974         (expand_builtin_memcmp): Likewise.
17975         * combine.c (make_extraction, simplify_comparison): Likewise.
17976         * cse.c (canon_reg, cse_insn): Likewise.
17977         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
17978         * expmed.c (store_bit_field, extract_bit_field): Likewise.
17979         (emit_store_flag): Likewise.
17980         * expr.c (convert_move, emit_block_move): Likewise.
17981         (clear_storage, emit_push_insn, expand_increment): Likewise.
17982         (do_store_flag): Likewise.
17983         * expr.h (GEN_FCN): Likewise.
17984         (insn_gen_function): Die.
17985         * final.c (final_scan_insn): Update for insn_data change.
17986         (output_asm_name): Likewise.
17987         * function.c (fixup_var_refs_1): Likewise.
17988         * loop.c (check_dbra_loop): Likewise.
17989         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
17990         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
17991         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
17992         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
17993         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
17994         * regmove.c (gen_add3_insn): Likewise.
17995         * reload.c (push_secondary_reload, combine_reloads): Likewise.
17996         (find_reloads, find_reloads_address_1): Likewise.
17997         (debug_reload_to_stream): Likewise.
17998         * reload1.c (emit_reload_insns, gen_reload): Likewise.
17999         * stmt.c (expand_end_case): Likewise.
18000         * toplev.c (compile_file): Likewise.
18001
18002         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18003         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18004
18005         * print-rtl.c (insn_name_ptr): Remove declaration.
18006         (get_insn_name): Declare.
18007         (print_rtx): Use it.
18008         * genoutput.c (insn_name_ptr): Remove.
18009         (next_operand_number): New.
18010         (struct operand_data): New.
18011         (null_operand, odata, odata_end): New.
18012         (struct data): Use struct operand_data.
18013         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18014         (get_insn_name): Renamed from name_for_index.
18015         (output_prologue): Define NO_MD_PROTOTYPES.
18016         (output_predicate_decls): Break out from output_epilogue.
18017         Iterate over the operands list.
18018         (output_operand_data): Break out from output_epilogue.  Emit
18019         just the operands list.
18020         (output_insn_data): Break out from output_epilogue.  Emit just
18021         the insn data.
18022         (output_epilogue): Remove.
18023         (output_get_insn_name): New.
18024         (constraints, op_n_alternatives, predicates, address_p): Die.
18025         (modes, strict_low, seen): Die.
18026         (scan_operands): Take new param `d' instead of writing to
18027         seven global variables.
18028         (compare_operands): New.
18029         (place_operands): New.
18030         (validate_insn_alternatives): Update for struct data change.
18031         (gen_insn): Don't zero or copy 7 global arrays.  Update for
18032         scan_operands; call place_operands.
18033         (gen_peephole, gen_expand, gen_split): Likewise.
18034         (main): Update for new output routines.
18035
18036         * genattr.c (insn_name_ptr): Remove.
18037         (get_insn_name): New function.
18038         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18039         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18040         * genrecog.c: Likewise.
18041
18042         * alpha.md (adddi3): Make `pattern' array static.
18043
18044 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18045
18046         * config/c4x/c4x.h (c4x_rpts_cycles_string,
18047         c4x_cpu_version_string): Constify char *.
18048         * config/c4x/c4x.c (c4x_rpts_cycles_string,
18049         c4x_cpu_version_string): Likewise.
18050
18051 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
18052
18053         * tree.c (save_tree_status): Revert 10 Sep change.
18054         (restore_tree_status): Likewise.  Call obstack_free with NULL
18055         before freeing the obstack proper.
18056
18057 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
18058
18059         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18060
18061         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18062         surrounding context.
18063
18064 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
18065
18066         * tree.c (type_hash_canon): Put all types in the hash-table, when
18067         GC'ing.
18068
18069 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
18070
18071         * recog.h (struct recog_data, recog_data): New.
18072         (recog_foo variables): Kill.
18073         * recog.c (recog_operand, recog_operand_loc): Kill.
18074         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18075         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18076         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18077         (recog_data): Define.
18078         (extract_insn): Update all recog_foo references to use recog_data.
18079         (preprocess_constraints, constrain_operands): Likewise.
18080         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18081         * genattrtab.c (main): Likewise.
18082         * genextract.c (main): Likewise.
18083         * genoutput.c: Likewise.
18084         * genrecog.c (write_subroutine, main): Likewise.
18085         * local-alloc.c (block_alloc): Likewise.
18086         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18087         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18088         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18089         * reload.c (find_reloads, find_reloads_toplev): Likewise.
18090         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18091         (reload_cse_simplify_operands): Likewise.
18092
18093         * arc/arc.c (arc_final_prescan_insn): Likewise.
18094         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18095         * h8300/h8300.c (notice_update_cc): Likewise.
18096         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18097         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18098         * mn10200/mn10200.c (notice_update_cc): Likewise.
18099         * mn10300/mn10300.c (notice_update_cc): Likewise.
18100         * romp/romp.c (update_cc): Likewise.
18101         * sparc/sparc.c (check_pic): Likewise.
18102         * v850/v850.c (notice_update_cc): Likewise.
18103
18104         * genemit.c (main): Don't declare recog_operand.
18105
18106 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
18107
18108         * ggc.h (rtvec_def): Forward declare.
18109         (tree_node): Likewise.
18110         (ggc_root): Define.
18111         (roots): Declare.
18112         (ggc_set_mark_rtx): Add prototype.
18113         (ggc_set_mark_rtvec): Likewise.
18114         (ggc_set_mark_tree): Likewise.
18115         * ggc-simple.c (ggc_root): Don't define.
18116         (roots): Don't declare.
18117         (ggc_mark_rtx): Remove.
18118         (ggc_mark_rtvec): Likewise.
18119         (ggc_mark_tree): Likewise.
18120         (ggc_mark_varray): Likewise.
18121         (ggc_mark_tree_hash_table_entry): Likewise.
18122         (ggc_mark_tree_hash_table): Likewise.
18123         (ggc_set_mart_rtx): New function.
18124         (ggc_set_mark_rtvec): Likewise.
18125         (ggc_set_mark_tree): Likewise.
18126         (ggc_add_root): Remove.
18127         (ggc_add_rtx_root): Likewise.
18128         (ggc_remove_tree_root): Likewise.
18129         (ggc_add_string_root): Likewise.
18130         (ggc_add_tree_varray_root): Likewise.
18131         (ggc_add_tree_hash_table_root): Likewise.
18132         (ggc_del_root): Likewise.
18133         (ggc_mark_rtx_ptr): Likewise.
18134         (ggc_mark_tree_ptr): Likewise.
18135         (ggc_mark_string_ptr): Likewise.
18136         (ggc_mark_tree_varray_ptr): Likewise.
18137         (ggc_mark_tree_hash_table_ptr): Likewise.
18138         * ggc-common.c: New file.
18139         * Makefile.in (OBJS): Add ggc-common.o.
18140         (ggc-common.o): List dependencies.
18141
18142 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
18143
18144         * cppalloc.c (xstrdup): Use memcpy.
18145         * cpperror.c (cpp_print_containing_files): Don't use
18146         cpp_notice.
18147         * cpplib.c (conditional_skip): Set temp->lineno.
18148         (do_endif): Make error message less obscure.
18149         (if_directive_name): New function.
18150         (cpp_get_token [case EOF]): Unwind the if stack and generate
18151         error messages for each unterminated conditional in this file.
18152         (parse_string):  Do not behave differently if -traditional.
18153
18154 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
18155
18156         * builtins.c (expand_builtin_va_arg): Cope with an array-type
18157         va_list decomposing to pointer-type.
18158         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18159         (rs6000_va_arg): Likewise.
18160
18161 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
18162
18163         * except.c (start_dynamic_handler): Compute size using
18164         STACK_SAVEAREA_MODE.
18165
18166 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18167
18168         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
18169         include directory headers.  Don't define strrchr.  Don't provide
18170         my_* replacement functions.  Prefer PTR over `pointer_type'.
18171         Don't prototype system functions.  Don't redefine getopt.
18172
18173         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18174         safe_read, safe_write, save_pointers, restore_pointers,
18175         is_id_char, in_system_include_dir, directory_specified_p,
18176         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18177         find_corresponding_lparen, referenced_file_is_newer,
18178         save_def_or_dec, munge_compile_params, gen_aux_info_file,
18179         process_aux_info_file, identify_lineno, check_source,
18180         seek_to_line, forward_to_next_token_char, output_bytes,
18181         output_string, output_up_to, other_variable_style_function,
18182         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18183         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18184         find_static_definition, connect_defs_and_decs, add_local_decl,
18185         add_global_decls, needs_to_be_converted, visit_each_hash_node,
18186         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18187         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18188         scan_for_missed_items, edit_file, string_list_cons): Add static
18189         prototypes.
18190         (standard_exec_prefix, target_machine, target_version,
18191         default_syscalls_dir, string_list, string_list_cons, find_file,
18192         do_cleaning): Constify a char*.
18193         (safe_read, safe_write): Use PTR, not a char*.
18194         (is_id_char): Take an int, not a char.
18195         (main): Add prototype.  Call return, not exit.
18196
18197 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
18198
18199         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18200         when comparing types.
18201
18202 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
18203
18204         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18205         (strength_reduce): Release the varrays from the no-bivs early exit.
18206
18207         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18208         the loop over the registers.
18209
18210         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18211         for a new obstack.
18212         (restore_tree_status): Check that instead when freeing the obstack.
18213
18214 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
18215
18216         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18217         as pointers.
18218
18219 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18220
18221         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
18222         operand size modifiers.
18223
18224 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18225
18226         * c-common.c (c_common_nodes_and_builtins): Don't build
18227         va_list_type_node.
18228         * c-common.h (enum c_tree_index and related accesor macros): Remove
18229         everything now declared in tree.h.
18230         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18231         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18232         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18233         (error_mark_node, void_type_node, char_type_node, integer_type_node,
18234         unsigned_type_node, ptr_type_node, va_list_type_node,
18235         integer_zero_node, null_pointer_node, integer_one_node): Delete.
18236         (init_decl_processing): Call build_common_tree_nodes and
18237         build_common_tree_nodes_2 instead of building their nodes here.
18238         Don't add roots for these nodes.
18239         * stor-layout.c (size_zero_node, size_one_node): Delete.
18240         (set_sizetype): Make a new node for bitsizetype each time.
18241         * tree.c (global_trees): New variable.
18242         (init_obstacks): Add a gc root for it.
18243         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18244         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18245         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18246         (build_common_tree_nodes): New function.
18247         (fix_sizetype): New function.
18248         (build_common_tree_nodes_2): New function.
18249         * tree.h (enum tree_index): New.
18250         (global_trees): Declare.
18251         Add accessor macros for all nodes now moved to global_trees.
18252         Delete their declarations.
18253
18254 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
18255
18256         * c-decl.c (finish_function): When processing a nested function,
18257         push and pop GC context around rest_of_compilation.
18258
18259 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
18260
18261         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18262         Default ix86_arch to PROCESSOR_I386.
18263         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
18264         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18265         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18266         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18267         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
18268         (EXTRA_SPECS): Remove deleted specs.
18269
18270 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
18271
18272         * function.c (assign_stack_local_1): Allocate from
18273         function->x_frame_offset, not frame_offset.
18274
18275 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
18276
18277         * ggc.h (lang_cleanup_tree): Remove.
18278         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18279         * ggc-callbacks.c (lang_cleanup_tree): Remove.
18280
18281         * c-decl.c (finish_struct): Use ggc_alloc to allocate
18282         TYPE_LANG_SPECIFIC when garbage collecting.
18283         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18284         (lang_cleanup_tree): Remove.
18285
18286 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18287
18288         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18289         * crtstuff.c: Not here.
18290         * dwarf2out.c: Or here.
18291         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18292         info.
18293
18294 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
18295
18296         * function.h (free_after_compilation): Remove decl parameter.
18297         (free_varasm_status0: Likewise.
18298         (free_emit_status): Likewise.
18299         (free_stmt_status): Likewise.
18300         (free_after_compilation): Likewise.
18301         (init_lang_status): New variable.
18302         (free_lang_status): Likewise.
18303         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18304         * function.c (init_lang_status): New variable.
18305         (free_lang_status): Likewise.
18306         (push_function_context_to): Don't set function::decl here.
18307         (free_after_copmilation): Make decl parameter implicit.  Call
18308         free_lang_status if defined.
18309         (prepare_function_start): Call init_lang_status if defined.
18310         (init_function_start): Set function::decl here.
18311         * profile.c (output_func_start_profiler): Don't call pushdecl
18312         until we've actually started the function.
18313         * stmt.c (free_stmt_status): Make decl parameter implicit.
18314         * toplev.c (rest_of_compilation): Don't pass decl to
18315         free_after_compilation.
18316         * varasm.c (free_varasm_status): Likewise.
18317
18318 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18319
18320         * except.c (call_get_eh_context): Add root when allocating static
18321         tree variable.
18322
18323 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
18324
18325         * arm.c: Include "ggc.h".
18326         (arm_add_gc_roots): New function.
18327         (arm_override_options): Call it.
18328         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18329
18330         * arm.md (define_asm_attributes): Add a pool_range attribute.
18331
18332 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
18333
18334         * extend.texi (Volatiles): New node.
18335
18336 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
18337
18338         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18339         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18340         (struct ggc_any): Replace `mark' with `magic_mark'.
18341         (ggc_alloc_string): Use memcpy, not bcopy.
18342         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
18343         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18344         (ggc_free_any): New.
18345         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
18346         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
18347         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
18348         Use IS_MARKED. Use ggc_free_any.
18349
18350 1999-09-09  Scott Bambrough <scottb@netwinder.org>
18351
18352         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18353
18354 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
18355
18356         * toplev.c (main): Always init_ggc.
18357
18358 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
18359
18360         * except.c (find_all_handler_type_matches): Free the list if
18361         we found no matches.
18362
18363         * combine.c (SUBST): Break out to a real function do_SUBST.
18364         (SUBST_INT): Likewise.
18365         * gcse.c (free_pre_mem): Free `temp_bitmap'.
18366         (pre_insert): Free `inserted'.
18367         * loop.c (basic_induction_var): Always set `location'.
18368
18369         * function.c (expand_function_end): Add initial_trampoline as a root.
18370         * rtl.h (init_varasm_once): Declare.
18371         * toplev.c (compile_file): Call it.
18372         * ggc-simple.c (ggc_mark_string_ptr): New.
18373         (ggc_add_string_root): New.
18374         (ggc_collect): Disable collection avoidance temporarily.
18375         * ggc.h (ggc_add_string_root): Declare.
18376         * except.c (create_rethrow_ref): Use ggc_alloc_string.
18377         * optabs.c (init_libfuncs): Likewise.
18378         * varasm.c (named_section): Use ggc_alloc_string.
18379         (make_function_rtl): Likewise.
18380         (make_decl_rtl): Likewise.
18381         (assemble_static_space): Likewise.
18382         (assemble_trampoline_template): Likewise.
18383         (output_constant_def): Likewise.
18384         (force_const_mem): Likewise.
18385         (mark_const_hash_entry): New.
18386         (mark_pool_sym_hash_table): New.
18387         (mark_varasm_state): Use it.
18388         (init_varasm_once): New.
18389
18390         * expr.h (init_one_libfunc): Declare.
18391         * optabs.c (init_one_libfunc): New.
18392         (init_optabs): Use it.
18393         * config/gofast.h: Likewise.
18394         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18395         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18396
18397 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18398
18399         * Makefile.in (cppexp.o): Depend on cpphash.h.
18400         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18401         Include cpphash.h.
18402         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18403         * cpplib.c (do_define): Generalise to handle poisoned definitions,
18404         redefining poisoned identifiers, etc.
18405         (do_undef): Don't allow poisoned identifiers to be undefined.
18406         (do_pragma): Add #pragma poison.
18407         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18408
18409         * cccp.c: Add T_POISON node type.
18410         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18411         poisoned xxx.
18412         (do_define): Generalise to handle poisoned definitions,
18413         redefining poisoned identifiers, etc.
18414         (do_undef): Don't allow poisoned identifiers to be undefined.
18415         (do_pragma): Add #pragma poison.
18416         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18417
18418         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18419         * c-pragma.h: Add ps_poison state.  We now always have generic
18420         pragmas.
18421
18422 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
18423
18424         * ggc.h (ggc_alloc): New function.
18425         (ggc_mark): Likewise.
18426         * ggc-simple.c (ggc_any): New structure.
18427         (ggc_status): Add anys.
18428         (n_anys_collected): New variable.
18429         (ggc_alloc): Define.
18430         (ggc_mark): Likewise.
18431         (ggc_collect): Collect the anys.
18432
18433 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18434
18435         * c-decl.c (mark_binding_level): Make static to match prototype.
18436
18437 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
18438
18439         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18440
18441 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
18442
18443         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18444         will use into account.  Expand the max width to 5.
18445         * rtl.c: Likewise.
18446
18447 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
18448
18449         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18450         for the rtx length.
18451
18452 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
18453
18454         * alpha.md (call value patterns): Remove the result predicates.
18455
18456 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
18457
18458         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18459         last change.
18460
18461 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18462
18463         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18464         changed from extern char *, to extern PTR.  Also fix typo in
18465         NEED_DECLARATION_REALLOC test.
18466
18467         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18468
18469 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18470
18471         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18472         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18473         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18474         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18475
18476         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18477
18478         * cccp.c (pcfinclude): Likewise.
18479
18480         * global.c (allocno_compare): Likewise.
18481
18482         * haifa-sched.c (rank_for_schedule): Likewise.
18483
18484         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18485
18486         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18487
18488         * stupid.c (stupid_reg_compare): Likewise.
18489
18490         * tree.c (_obstack_allocated_p): Likewise.
18491
18492         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18493
18494 1999-09-08  Bruce Korb  autogen@linuxbox.com
18495
18496         * Makefile.in: Give the hapless gperf user a hint about
18497         why "gperf -F" fails.
18498
18499 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
18500
18501         * lists.c: Include ggc.h.
18502         (zap_lists): New.
18503         (init_EXPR_INSN_LIST_cache): Install it.
18504
18505         * ggc-simple.c (init_ggc): Absorb the old init.
18506         (ggc_push_context): Use xcalloc.
18507         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18508         (ggc_collect): Add [rvts] tags to the collection stats.
18509
18510 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
18511
18512         * cccp.c (main): Fix handling of -include and -imacros options.
18513
18514 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
18515
18516         * cpplib.c (cpp_push_buffer): Fix order of arguments.
18517
18518 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18519
18520         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18521         genrtl.c.
18522
18523 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18524
18525         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18526         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18527         and SET_DEST. Update comment.
18528
18529 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18530
18531         * config/c4x/c4x.c: Include ggc.h.
18532         (c4x_add_gc_roots): New function.
18533         (c4x_override_options): Call c4x_add_gc_roots.
18534
18535 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
18536
18537         * defaults.h (TARGET_ESC): Move ...
18538         * system.h: ... here, where Linas had it in the first place.  Silly me.
18539
18540 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
18541
18542         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18543         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18544         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18545         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18546         * defaults.h (TARGET_ESC): Add default.
18547
18548 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
18549
18550         * configure.in: add i370-*-openedition, i370-*-mvs and
18551         i370-*-linux targets
18552
18553 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
18554
18555         * dsp16xxx.c: Include ggc.h
18556         (override_options): Mark GC roots.
18557         * mn10200.c: Include ggc.h.
18558         (asm_file_start): Mark GC roots.
18559         * tahoe.c: Include ggc.h.
18560         (extensible_operand): Mark GC roots.
18561
18562 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
18563
18564         * README: Add section discussing status of ELF ABI.
18565         * i370.c: Fix misc spelling mistakes.
18566         (i370_label_scan): Updated notes, exception handling.
18567         (i370_function_prolog): Simplify ELF stack handling.
18568         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18569         (STACK_GROWS_DOWNWARD): ELF stack grows down.
18570         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18571         * i370.md: (movdi): Add notes.
18572         (floatsidf2): Use stack not rtca for scratch float area.
18573         (iorsi3): Correct operand constraints.
18574         * x-oe: Restore TAROUTOPTS which are used by pax.
18575
18576 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
18577
18578         * rs6000.c: Include ggc.h.
18579         (rs6000_add_gc_roots): New function.
18580         (override_options): Call it.
18581
18582 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
18583
18584         * alpha.h (alpha_compare): New.
18585         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18586         * alpha.c: Likewise for the definitions.
18587         (alpha_emit_conditional_branch): Update for alpha_compare.
18588         (alpha_emit_conditional_move): Likewise.
18589         * alpha.md (cmpdf, cmpdi): Likewise.
18590         (setcc patterns): Likewise.  Zero alpha_compare after use.
18591         (sne): Optimize (x != 0) into (0U < x).
18592
18593 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
18594
18595         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18596         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18597         (INIT_EXPANDERS): Remove.
18598         * alpha.c: Include ggc.h.
18599         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18600         (alpha_init_machine_status, alpha_mark_machine_status): New.
18601         (override_options): Install them.
18602         (struct machine_function): Moved to alpha.h.
18603         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18604         (alpha_init_expanders): Remove.
18605         (alpha_return_addr): Adjust to use current_function->machine.
18606         (alpha_ra_ever_killed): Likewise.
18607         (alpha_expand_epilogue): Likewise.
18608         * alpha.md (eh_epilogue): Likewise.
18609
18610 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
18611                           Melissa O'Neill  <oneill@cs.sfu.ca>
18612                           Geoffrey Keating  <geoffk@cygnus.com>
18613
18614         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18615         call-used registers (call-saved registers must still be contiguous
18616         and end with r31, of course).
18617
18618 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
18619
18620         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18621         (self_promoting_type_p): Delete.
18622         (self_promoting_args_p): Move ...
18623         * c-common.c: ... here.
18624         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18625         (simple_type_promotes_to): New.
18626         * builtins.c (lang_type_promotes_to): New.
18627         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18628         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18629         * c-common.h: ... here.
18630         (self_promoting_args_p, simple_type_promotes_to): Declare.
18631         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18632         (grokdeclarator): Likewise.
18633         * tree.h (lang_type_promotes_to): Declare.
18634
18635 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
18636
18637         Add some machine-dependent GC roots.
18638         * sparc.c: Include ggc.h.
18639         (sparc_add_gc_roots): New function.
18640         (mark_ultrasparc_pipeline_state): Likewise.
18641         (override_options): Call sparc_add_gc_roots.
18642         * pa.c: Include ggc.h.
18643         (pa_add_gc_roots): New function.
18644         (mark_deferred_plabels): Likewise.
18645         (override_options): Call pa_add_gc_roots.
18646         * mips.c: Include ggc.h.
18647         (mips_add_gc_roots): New function.
18648         (override_options): Use it.
18649
18650 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18651
18652         * cpperror.c (cpp_file_line_for_message): Constify a char*.
18653
18654         * cppexp.c (parse_number, parse_charconst, cpp_lex,
18655         cpp_parse_expr): Add static prototypes.
18656         (parse_charconst): Don't cast away const-ness.
18657         (token): Constify a char*.
18658
18659         * cppfiles.c (file_name_list, include_hash, find_include_file,
18660         finclude, initialize_input_buffer): Constify a char*.
18661         (file_cleanup, find_position): Add static prototypes.
18662
18663         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18664         collect_expansion): Add static prototypes.
18665         (cpp_install, create_definition, monthnames): Constify a char*.
18666
18667         * cpphash.h (cpp_install): Likewise.
18668
18669         * cppinit.c (known_suffixes, default_include,
18670         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18671         (base_name, dump_special_to_buffer, initialize_dependency_output):
18672         Add static prototypes.
18673
18674         * cpplib.c (my_strerror): Constify a char*.
18675         (null_underflow, null_cleanup, skip_comment, copy_comment,
18676         copy_rest_of_line, handle_directive, pass_thru_directive,
18677         get_directive_token, read_line_number, cpp_print_file_and_line,
18678         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18679         v_cpp_warning_with_line, detect_if_not_defined,
18680         consider_directive_while_skipping): Add static prototypes.
18681         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18682         cpp_pedwarn_with_file_and_line): Constify a char*.
18683
18684         * cpplib.h (cpp_options, include_hash, progname, definition,
18685         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18686         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18687         find_include_file, deps_output, include_hash): Constify a char*.
18688
18689         * cppmain.c (progname): Constify.
18690         (main): Add prototype.  Use return, not exit.
18691
18692         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18693         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18694         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18695         check_protection): Add static prototype.
18696         (xfree): Remove.
18697         (progname, recognized_macrom, recognized_extern): Constify a char*.
18698         (main): Add prototype.
18699
18700         * gen-protos.c (progname): Constify a char*.
18701
18702 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
18703
18704         * emit-rtl.c (free_emit_status): Take decl as a parameter.
18705         (init_emit_once): Add more GC roots.
18706         * except.c (mark_func_eh_entry): New function.
18707         (mark_eh_node): Mark false_label and rethrow_label.
18708         (init_eh): Add more GC roots.
18709         * function.c (free_after_compilation): Take decl as a paramter.
18710         Call free_stmt_status.
18711         (mark_function_state): Don't assume x_parm_reg_stack_loc is
18712         non-NULL.
18713         * function.h (free_after_compilation): Change prototype.
18714         (free_varasm_status): Likewise.
18715         (free_emit_status): Likewise.
18716         (free_stmt_status): New function.
18717         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18718         Remove, replacing with ...
18719         (ggc_status): New structure.
18720         (ggc_chain): New variable.
18721         (init_gcc): Define.
18722         (ggc_push_context): New function.
18723         (ggc_pop_context): Likewise.
18724         (ggc_alloc_rtx): Adjust for use of ggc_chain.
18725         (ggc_alloc_rtvec): Likewise.
18726         (ggc_alloc_tree): Likewise.
18727         (ggc_alloc_string): Likewise.
18728         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18729         (ggc_mark_tree): Give language-dependent code a chance to mark
18730         `x' nodes.
18731         (ggc_mark_tree_varray): Handle empty arrays.
18732         (ggc_collect): Adjust for use of ggc_chain.  Clear
18733         bytes_alloced_since_last_gc.
18734         * ggc.h (ggc_pop_context): New function.
18735         (ggc_push_context): Likewise.
18736         * print-tree.c (print_node): Don't print obstacks when GC'ing.
18737         * stmt.c (free_stmt_status): New function.
18738         (init_stmt_for_function): Clear last_expr_value.
18739         * toplev.c (rest_of_compilation): Always call free_after_compilation.
18740         Conditionalize call to ggc_collect.
18741         (main): Call init_ggc.
18742         * tree.c (push_obstacks): Do the push, even when GC'ing.
18743         (push_obstacks_nochange): Likewise.
18744         (pop_obstacks): Liekwise.
18745         * varasm.c (free_varasm_status): Take decl as a parameter.
18746
18747 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18748
18749         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18750         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18751         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18752         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18753
18754 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
18755
18756         * pa/x-pa-mpeix: New file for the MPE port.
18757
18758         * pa/quadlib.asm: New file for long double support.
18759
18760         * configure.in: Add hppa1.0-*-mpeix for MPE port.
18761         * configure: Rebuilt.
18762
18763 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
18764
18765         * final.c (shorten_branches): Fix last change.
18766
18767 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
18768
18769         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18770
18771 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
18772
18773         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
18774         details.
18775
18776 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18777
18778         * c-aux-info.c (concat): Don't define.
18779
18780         * cccp.c (my_strerror): Likewise.  All callers changed to use
18781         xstrerror instead.
18782         (do_include): Call xstrdup, not xmalloc/strcpy.
18783         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18784         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18785
18786         * collect2.c (my_strsignal): Likewise.  All callers changed to use
18787         strsignal instead.
18788         (locatelib): Call xstrdup, not xmalloc/strcpy.
18789
18790         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18791
18792         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18793
18794         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18795
18796         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18797
18798         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18799
18800         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18801
18802         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18803         malloc/realloc.
18804         (find_all_handler_type_matches): Likewise.  Don't check return
18805         value.
18806         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18807         xmalloc, not malloc.
18808         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
18809
18810         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18811         (init_spec): Call xcalloc, not xmalloc/bzero.
18812         (set_spec): Call xstrdup, not save_string.
18813         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18814         (find_a_file): Call xstrdup, not xmalloc/strcpy.
18815         (process_command): Call xstrdup, not save_string.
18816         (main): Call xcalloc, not xmalloc/bzero.
18817
18818         * gcov.c (xmalloc): Don't define.
18819         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18820         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18821         (output_data): Call xcalloc, not xmalloc/bzero.
18822
18823         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18824
18825         * mips-tdump.c (xmalloc): Don't define.
18826         (print_symbol): Call xmalloc, not malloc.
18827         (read_tfile): Call xcalloc, not calloc.
18828
18829         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18830         Don't define.  All callers of xfree/my_strsignal changed to use
18831         free/strsignal instead.
18832         (allocate_cluster): Call xcalloc, not calloc.
18833
18834         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18835         Fix memory leak, free allocated memory.
18836
18837         * prefix.c (translate_name): Call xstrdup, not save_string.
18838         (update_path): Likewise.
18839
18840         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18841
18842         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18843         Don't define.  Callers of xfree/savestring2 changed to use
18844         free/concat instead.
18845
18846         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18847         (init_elim_table): Likewise.
18848
18849         * resource.c (init_resource_info): Likewise.
18850
18851         * stupid.c (stupid_life_analysis): Likewise.
18852
18853         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18854         (open_dump_file): Call concat, not xmalloc/strcpy/...
18855         (clean_dump_file): Likewise.
18856         (compile_file): Call xstrdup, not xmalloc/strcpy.
18857
18858 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
18859
18860         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18861         * v850.c (v850_va_arg): New.
18862
18863 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18864
18865         * haifa-sched.c: Tidy comments.
18866
18867 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18868
18869         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
18870         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
18871         $(out_object_file)): Depend on ggc.h.
18872         * c-common.c: Include "ggc.h".
18873         (combine_strings): If doing GC, use ggc_alloc_string.
18874         * c-decl.c: Include "ggc.h".
18875         (ggc_p): Define with value 0.
18876         (mark_binding_level): New function.
18877         (init_decl_processing): Add GC roots.
18878         (mark_c_function_context): New function.
18879         (lang_mark_false_label_stack): New function.
18880         (lang_mark_tree): New function.
18881         (lang_cleanup_tree): New function.
18882         * c-lang.c: Include "ggc.h".
18883         (lang_init): Call c_parse_init.
18884         * c-lex.c: Include "ggc.h".
18885         (check_linenum): If doing GC, don't copy filenames to permanent
18886         obstack.
18887         * c-parse.in: Include "ggc.h".
18888         (c_parse_init): New function.
18889         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
18890         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
18891
18892         * except.c (mark_eh_state): Mark more state.
18893         * function.c (mark_function_state): Likewise.
18894         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
18895         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
18896         * toplev.c (mark_file_stack): New function.
18897         (compile_file): If doing GC, use ggc_alloc_string on input filename.
18898         (main): Add root for input_file_stack.
18899
18900         * i386.c: Include "ggc.h".
18901         (ix86_mark_machine_status): New function.
18902         (override_options): Set mark_machine_status.
18903
18904 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18905
18906         * tree.c (copy_node): Copy node contents also if doing GC.
18907
18908 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18909
18910         * collect2.c (scan_libraries): Fix double-thinko :-).
18911
18912 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
18913
18914         * collect2.c (scan_libraries): Fix thinko.
18915
18916         * cse.c (delete_trivially_dead_insns): Do not skip the last
18917         insn if it is a real insn.
18918
18919 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
18920
18921         * Makefile.in (ggc-simple.o): Depend on hash.h.
18922         * ggc.h (ggc_add_tree_hash_table_root): Declare.
18923         (ggc_mark_tree_varray): Likewise.
18924         (ggc_mark_tree_hash_table): Likewise.
18925         * ggc-simple.c: Include hash.h.
18926         (ggc_mark_tree_hash_table_ptr): New function.
18927         (ggc_mark_tree_hash_table_entry): Likewise.
18928         (ggc_mark_tree_hash_table): Likewise.
18929         (ggc_add_tree_hash_table_root): Likewise.
18930         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
18931         rtx, when defining fields.
18932
18933 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18934
18935         * profile.c (output_func_start_profiler): Remove apparently
18936         nonsensical call to start_sequence.
18937
18938 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
18939
18940         * clipper/clipper.c (clipper_va_start): Fix typos.
18941
18942         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
18943         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
18944         (spur_va_arg): New stub.
18945
18946         * configure.in: Comment out pyramid.
18947
18948 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
18949
18950         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
18951         don't conflict with the bits that win32, cygwin, and dgux
18952         defines.
18953
18954 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
18955                           Bernd Schmidt <bernds@cygnus.co.uk>
18956
18957         * integrate.c (function_cannot_inline_p): Do not inline
18958         functions with forced labels.
18959
18960 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
18961                           Bernd Schmidt <bernds@cygnus.co.uk>
18962                           Mark Mitchell  <mark@codesourcery.com>
18963
18964         * Makefile.in (ggc-simple.o): Depend on varray.h.
18965         (rtl.o): Depend on ggc.h.
18966         (genattrtab.o): Depend on ggc.h.
18967         (print-tree.o): Likewise.
18968         (fold-const.o): Likewise.
18969         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
18970         (make_insn_raw): Don't cache insns when GC'ing.
18971         (emit_insn_before): Likewise.
18972         (emit_insn_after): Likewise.
18973         (emit_insn): Likewise.
18974         (start_sequence): Use xmalloc to allocate the sequence_stack.
18975         (end_sequence): Add free to free it.
18976         (gen_sequence): Don't cache insns when GC'ing.
18977         (clear_emit_caches): Don't use sequence_element_free_list.
18978         (init_emit): Use xcalloc, not xmalloc+bzero.
18979         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
18980         * function.c (pop_function_context_from): Use free to free the
18981         fixup_var_refs_queue.
18982         (put_reg_into_stack): Allocate it with xmalloc.
18983         * genattrtab.c: Include ggc.h.
18984         (operate_exp): Don't use obstack_free when GC'ing.
18985         (simplify_cond): Likewise.
18986         (simplify_text_exp): Likewise.
18987         (optimize_attrs): Likewise.
18988         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
18989         GC'ing.
18990         (gencode): Generate a #include for ggc.h.
18991         * ggc-callbacks.c (ggc_p): Define it to zero.
18992         * ggc-none.c (ggc_p): Likewise.
18993         * ggc-simple.c: Include varray.h.
18994         (ggc_mark_tree_varray): New function.
18995         (ggc_add_tree_varray_root): Likewise.
18996         (ggc_mark_tree_varray_ptr): Likewise.
18997         * ggc.h (ggc_p): Declare.
18998         (varray_head_tag): Likewise.
18999         (ggc_add_tree_varray_root): Declare.
19000         * print-tree.c (print_node): Don't check for TREE_PERMANENT
19001         inconsistencies when GC'ing.
19002         * rtl.c: Include ggc.h.
19003         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19004         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19005         (rtx_free): Don't call obstack_free when GC'ing.
19006         * toplev.c (rest_of_compilation): Call ggc_collect after every
19007         pass, if GC'ing.
19008         * tree.c (push_obstacks): Do nothing, if GC'ing.
19009         (pop_obstacks_nochange): Likewise.
19010         (pop_obstacks): Likewise.
19011         (make_node): Use ggc_alloc_tree when GC'ing.
19012         (copy_node): Likewise.
19013         (get_identifier): Use ggc_alloc_string when GC'ing.
19014         (build_string): Likewise.
19015         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19016         (tree_cons): Likewise.
19017         (build1): Likewise.
19018         (type_hash_canon): Don't call obstack_free when GC'ing.
19019
19020 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
19021
19022         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19023         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19024
19025 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
19026                           Bernd Schmidt <bernds@cygnus.co.uk>
19027                           Mark Mitchell  <mark@codesourcery.com>
19028
19029         * Makefile.in (stor-layout.o): Depend on ggc.h.
19030         (expr.o): Depend on ggc.h.
19031         (profile.o): Depend on ggc.h.
19032         (stor-layout.o): Depend on ggc.h.
19033         * emit-rtl.c (init_emit_once): Add gc roots.
19034         * expr.c: Include ggc.h.
19035         (emit_block_move): Add gc roots.
19036         (clear_storage): Likewise.
19037         * expr.h (init_stor_layout_once): New function.
19038         * profile.c: Include ggc.h.
19039         (init_arc_profiler): profiler_label is a root.
19040         * scan.c (make_sstring_space): Trust xrealloc to function
19041         correctly with first parameter NULL.
19042         * stor-layout.c: Include ggc.h.
19043         (set_sizetype): Add gc root.
19044         (init_stor_layout_once): New function.
19045         * toplev.c (compile_file): Call it.
19046
19047 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
19048                           Bernd Schmidt <bernds@cygnus.co.uk>
19049                           Mark Mitchell  <mark@codesourcery.com>
19050
19051         * Makefile.in (tree.o): Depend on ggc.h.
19052         (varasm.o): Likewise.
19053         (function.o): Likewise.
19054         (stmt.o): Likewise.
19055         (except.o): Likewise.
19056         (optabs.o): Likewise.
19057         (emit-rtl.o): Likewise.
19058         * emit-rtl.c: Include ggc.h.
19059         (sequence_element_free_list): Remove, and all references.
19060         (mark_sequence): New functions.
19061         (mark_emit_state): New function.
19062         * except.c: Include ggc.h.
19063         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19064         (mark_tree_label_node): New functions.
19065         (mark_eh_state): New function.
19066         * function.c: Include ggc.h.
19067         (mark_temp_slot, mark_function_chain): New functions.
19068         (mark_function_state): New function.
19069         (init_function_once): New function.
19070         * function.h (init_function_once): New function.
19071         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19072         * ggc.h (label_node): Declare.
19073         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19074         (lang_mark_false_label_stack): New function.
19075         (mark_temp_slot): Remove declaration.
19076         (mark_function_chain): Likewise.
19077         (mark_eh_state): Adjust prototype.
19078         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19079         Likewise.
19080         * optabs.c: Include ggc.h.
19081         (mark_optab): New function.
19082         (init_optabs): Add gc roots.
19083         * stmt.c: Include ggc.h.
19084         (mark_cond_nesting, mark_loop_nesting): New functions.
19085         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19086         (mark_stmt_state): New function.
19087         * toplev.c (compile_file): Call init_function_once.
19088         * tree.c: Include ggc.h.
19089         (type_hash): Move declaration earlier in file.
19090         (TYPE_HASH_SIZE, type_hash_table): Likewise.
19091         (init_obstacks): Add gc roots.
19092         (mark_type_hash): New function.
19093         * varasm.c: Include ggc.h.
19094         (mark_pool_constant): New function.
19095         (mark_varasm_state): New function.
19096
19097 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19098
19099         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19100
19101 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19102
19103         * c-decl.c (struct language_function): Renamed from struct c_function.
19104         Delete elt NEXT.
19105         (c_function_chain): Delete.
19106         (push_c_function_context): New arg F.  Don't warn about nested
19107         functions here.  Fill LANGUAGE elt of F.  Delete code to update
19108         c_function_chain.  Don't call push_function_context.
19109         (pop_c_function_context): New arg F.  Restore from there instead of
19110         from c_function_chain.  Don't call pop_function_context.  Clear out
19111         LANGUAGE field of F when done.
19112         * c-lang.c: Include "function.h"
19113         (lang_init): Initialize save_lang_status and restore_lang_status.
19114         * c-parse.in (nested_function, nested_function_notype): Warn about
19115         nested functions.  Call push_function_context/pop_function_context
19116         instead of the _c_ variants.
19117         * c-tree.h (push_c_function_context, pop_c_function_context): Update
19118         prototype.
19119         * Makefile.in (c-lang.o): Update dependencies.
19120
19121         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19122         regno_pointer_flag, regno_pointer_align.
19123         (gen_reg_rtx): Use xrealloc to enlarge them.
19124         (free_emit_status): New function.
19125         * function.c (mark_machine_status, mark_lang_status): New variables.
19126         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
19127         in some bits from assign_stack_local.  All callers changed to use new
19128         name.
19129         (assign_stack_local): Just call assign_stack_local_1.
19130         (free_after_compilation): New function.
19131         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19132         (trampoline_address): Likewise.
19133         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19134         (prepare_function_start): Explicitly clear some more variables.
19135         * function.h (struct function): New elt can_garbage_collect.
19136         (mark_machine_status, mark_lang_status): Declare variables.
19137         (free_after_compilation, free_emit_status, free_varasm_status,
19138         init_varasm_status): Declare functions.
19139         * toplev.c (rest_of_compilation): Call free_after_compilation when
19140         done with the current function.
19141         * varasm.c (free_varasm_status): New function.
19142
19143 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
19144
19145         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19146         (EXPAND_BUILTIN_VA_ARG): Define.
19147         * sparc.c (sparc_va_start): New.
19148         (sparc_va_arg): New.
19149
19150 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19151
19152         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19153
19154 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19155
19156         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19157
19158 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
19159
19160         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19161         (OBJS): Add $(GGC).
19162         (ggc-callbacks.o): New target.
19163         * ggc-callbacks.c: New file.
19164
19165 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19166
19167         * expr.h: Collapse individual optab and libfunc vars to arrays.
19168         (optab_index, libfunc_index): New enumerations.
19169         (optab_table, libfunc_table): New arrays.
19170         Add accessor macros for both.
19171
19172         * optabs.c (optab_table, libfunc_table): New.
19173         Delete declarations for individual optab and libfunc vars.
19174
19175 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
19176
19177         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19178
19179 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
19180
19181         * Makefile.in (GGC, GGC_LIB): New.
19182         (HOST_RTL): Include ggc-none.o.
19183         (ggc-simple.o): New target.
19184         (ggc-none.o): Likewise.
19185         * tree.h (tree_common): Add gc_mark.
19186         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19187         (struct rtvec_def): Add gc_mark.
19188         * emit-rtl.c (global_rtl): Update static initializers to contain
19189         enough initializers.
19190         * ggc.h, ggc-none.c, ggc-simple.c: New files.
19191         * toplev.c (gc_time): New variable.
19192         (all_time): New variable.
19193         (compile_file): Print gc time.
19194         (print_time): Calculate percentage of the whole.
19195
19196 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19197
19198         Change obstack memory management and varasm constant pool handling so
19199         that nested functions are treated like any other functions.
19200         * function.c (init_machine_status): New variable.
19201         (push_function_context_to): Set contains_functions for the outer
19202         function.  Don't call save_varasm_status.
19203         (pop_function_context_from): Don't call restore_varasm_status.  Don't
19204         set current_function_contains_functions.
19205         (prepare_function_start): Call init_varasm_status rather than
19206         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
19207         is non-null.
19208         * function.h (struct function) Add field varasm.  Delete fields
19209         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19210         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19211         (init_machine_status): Declare.
19212         (save_varasm_status, restore_varasm_status): Delete declarations.
19213         (save_tree_status, restore_tree_status): Delete last argument.
19214         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
19215         code.  All callers changed.
19216         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19217         save_constants_in_decl_trees, restore_constants, save_constants,
19218         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19219         functions.
19220         (inlining): New variable.
19221         (reg_map, label_map, insn_map, orig_asm_operands_vector,
19222         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19223         variables.
19224         (save_for_inline_nocopy): Don't save constants.
19225         Don't set inl_emit field in current_function.
19226         (expand_inline_function): Use emit field, not inl_emit, of the inlined
19227         function.  Set new variable inlining before
19228         calling copy_rtx_and_substitute.
19229         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19230         constant pool references if inlining is nonzero.
19231         Delete ADDRESS and (most of the) CONST cases.
19232         (output_inline_function): Save and restore current_function/
19233         current_function_decl.  Delete restore_constants code.  Don't call
19234         init_const_rtx_hash_table.
19235         * output.h (init_const_rtx_hash_table): Don't declare.
19236         * rtl.h (struct function): Declare.
19237         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19238         * toplev.c (rest_of_compilation): Don't treat nested functions or
19239         functions containing them specially.  Delete all code to deal with
19240         save_for_inline_copying.
19241         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19242         inline_obstacks): Delete variables.
19243         (save_tree_status): Lose arg CONTEXT.  All callers changed.
19244         Simply allocate a new function_maybepermanent_obstack for the new
19245         function, delete all the special cases.
19246         Don't save inline_obstacks.
19247         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
19248         Delete special handling for function_maybepermanent_obstack; simply
19249         free it if empty.
19250         Don't restore inline_obstacks.
19251         (permanent_allocation):  Delete code that frees inline_obstacks.
19252         (print_inline_obstack_statistics): Delete function.
19253         (dump_tree_statistics): Don't call it.
19254         * varasm.c (struct varasm_status): New.
19255         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19256         last_pool, pool_offset, const_double_chain): Delete global
19257         variables, replace with accessor macros.
19258         (immed_double_const): Don't walk const_double_chain outside a
19259         function, but don't treat nested functions specially anymore.
19260         (immed_real_const_1): Likewise.
19261         (clear_const_double_mem): Don't treat nested functions specially.
19262         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19263         (save_varasm_status, restore_varasm_status): Delete functions.
19264         (init_varasm_status): New function.
19265         (force_const_mem): Don't treat nested functions specially.
19266         (find_pool_constant): Accept new arg F, search for constants in
19267         that function's pool rather than the current one.  All callers
19268         changed.
19269         (get_pool_constant_for_function, get_pool_mode_for_function): New
19270         functions.
19271
19272         * i386.c (init_386_machine_status): New function, mostly from
19273         clear_386_stack_locals.
19274         (struct machine_functions): Rename element names to avoid name
19275         clashes.
19276         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19277         macros, replacing global variables.
19278         (clear_386_stack_locals, save_386_machine_status,
19279         restore_386_machine_status): Delete functions.
19280         (override_options): Initialize init_machine_status.
19281         * i386.h (INIT_EXPANDERS): Delete macro.
19282         (save_386_machine_status, restore_386_machine_status,
19283         clear_386_stack_locals): Delete declarations.
19284
19285 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19286
19287         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19288         (doloop_begin):  Simplify pattern and use emit_jump_insn.
19289         (doloop_end): Simplify pattern, switch operand order,
19290         and use emit_jump_insn.
19291
19292 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19293
19294         * function.h (struct function): Add new element LANGUAGE.
19295         (save_lang_status): Declare new variable.
19296         (restore_lang_status): Likewise.
19297         * function.c (save_lang_status): Define.
19298         (restore_lang_status): Likewise.
19299         (push_function_context_to): Call language-specific save function.
19300         (pop_function_context_from): Call language-specific restore function.
19301
19302 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19303
19304         * i386.md (movsf_1): Check REG_P before use of REGNO.
19305         (movdf_1): Likewise.
19306         (movxf_1): Likewise.
19307         (extendsfdf2): Likewise.
19308         (extendsfxf2): Likewise.
19309         (extenddfxf2): Likewise.
19310
19311 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19312
19313         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19314         constants into memory.
19315         (c4x_shiftable_constant): New function.
19316         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19317         (c4x_shiftable_constant): Declare.
19318         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19319         ashlqi3_noclobber): Add new patterns and associated splitters.
19320
19321 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
19322
19323         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19324         * dwarf2out.c (dwarf2out_frame_init): Likewise.
19325         * final.c (shorten_branches): Likewise.
19326         * global.c (global_alloc): Likewise.
19327         * haifa-sched.c (build_control_flow): Likewise.
19328         * stmt.c (check_for_full_enumeration_handling): Likewise.
19329         (estimate_case_costs): Likewise.
19330
19331 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
19332
19333         * rtl.h (RTL_CHECKC2): Fix typo in last change.
19334
19335 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
19336
19337         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19338         (recompute_reg_usage): Likewise.
19339         * rtlanal.c (find_regno_fusage): Likewise.
19340
19341         * rtl.c (rtl_check_failed_code1): New function.
19342         (rtl_check_failed_code2): New.
19343         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19344         (RTL_CHECKC1, RTL_CHECKC2): New.
19345         (XC*): New accessor macros.
19346         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19347         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19348         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19349         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19350         (TRAP_*, RANGE_INFO_*): Likewise.
19351
19352 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19353
19354         * Makefile.in (tlink.o): Don't depend on toplev.h.
19355
19356         * collect2.c (c_file, o_file, export_file, import_file, ldout,
19357         output_file, nm_file_name, ldd_file_name, strip_file_name,
19358         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19359         add_prefix, prefix_from_env, prefix_from_string, do_wait,
19360         fork_execute, maybe_unlink, add_to_list,
19361         extract_init_priority, write_list, dump_list,
19362         dump_prefix_list, write_list_with_asm, write_c_file,
19363         write_c_file_stat, write_c_file_glob, scan_prog_file,
19364         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19365         ignore_library, extract_string, notice, dump_file, target_machine,
19366         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19367         read_file, print_load_command): Constify a char*.
19368         (fdopen, error, fatal, fatal_perror): Don't prototype.
19369         (my_strerror): Remove.  All callers use xstrerror instead.
19370         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19371         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
19372         to xcalloc/strcpy/strcat/...  to one call to concat.
19373         (main, scan_prog_file, scan_libraries): Use an intermediate
19374         `const char **' to build an argv array.
19375         (mapfile, libselect, libcompare, locatelib): Add prototypes.
19376
19377         * collect2.h (collect_execute, collect_wait, dump_file,
19378         file_exists): Constify a char*.
19379         (ldout, c_file_name, temporary_obstack, permanent_obstack,
19380         temporary_firstobj, vflag, debug): Add extern declarations.
19381         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19382
19383         * tlink.c: Don't include toplev.h.
19384         (vflag, debug, ldout, c_file_name, temporary_obstack,
19385         permanent_obstack, temporary_firstobj): Don't declare.
19386         (tlink_execute, frob_extension, symbol_hash_lookup,
19387         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19388         recompile_files, read_repo_files, demangle_new_symbols,
19389         scan_linker_output): Constify a char*.
19390         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19391         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19392
19393 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
19394
19395         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19396         (relative) rather than jsr (absolute) subroutine call insns.
19397         * config/m68k/m68k-coff.h: Ditto.
19398
19399 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
19400
19401         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19402         now rework these too.
19403         (arm_reorg): If an insn can't reach the end of the current pool,
19404         ensure that we emit that pool before the insn.
19405
19406 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
19407
19408         * tlink.c (scan_linker_output): Skip the initial underscore in
19409         a mangled name if appropriate.
19410
19411 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19412
19413         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19414         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19415         error_with_ivar, gen_declarator, create_builtin_decl,
19416         my_build_string, generate_descriptor_table, generate_ivars_list,
19417         generate_dispatch_table, check_protocols, TAG_GETCLASS,
19418         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19419         dump_base_name, lang_decode_option, build_encode_expr,
19420         start_class, finish_class, encode_pointer, really_start_method,
19421         gen_declaration, dump_interface, handle_class_ref, handle_impent):
19422         Constify.
19423         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19424         Add static prototypes.
19425         (build_objc_string_decl, build_selector_reference_decl,
19426         encode_bitfield, build_class_reference_decl): Remove unused
19427         parameter, all callers changed.
19428         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19429         (objc_printable_name): Likewise.  Change second parameter to type int.
19430         (init_objc): Use memcpy, not bcopy, to avoid casts.
19431
19432 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
19433
19434         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19435         reg notes on a deleted insn.
19436         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19437
19438 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
19439
19440         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19441
19442 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19443
19444         * stmt.c (expand_asm_operands): Fix index into inout_mode when
19445         reading it.
19446
19447 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
19448
19449         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19450         * tm.texi (MD_ASM_CLOBBERS): Document it.
19451
19452 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
19453
19454         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19455         * except.c (expand_rethrow): Remove unused variable.
19456         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19457         * flow.c (replace_insns): Likewise.
19458         (create_edge_list, verify_edge_list): Likewise.
19459         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19460
19461         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19462         is special code to run.
19463         (main): Don't define operands to emit_operand.
19464         * genrecog.c (main): Don't emit an empty peephole2_insn function.
19465
19466         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19467
19468         * alpha/alpha.h (normal_memory_operand): Declare.
19469         (reg_no_subreg_operand): Declare.
19470         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19471
19472 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
19473
19474         * c-parse.in (compstmt_primary_start): New, broken out of first
19475         part of compstmt handling in primary.
19476         (primary): Use it.  Add an error clause.
19477         (compstmt_nostart): Renamed from compstmt; remove all
19478         initial invocations of compstmt_start.
19479         (compstmt): New.
19480
19481 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
19482
19483         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
19484         needed.
19485
19486 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
19487
19488         * combine.c (simplify_shift_const): Remove extra semicolon.
19489         * dwarf2out.c (remove_AT): Likewise.
19490         * expmed.c (expand_mult): Likewise.
19491         * gcov.c (create_program_flow_graph): Likewise.
19492         * reorg.c (mostly_true_jump): Likewise.
19493
19494 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
19495
19496         * fold-const.c (fold_range_test): Do not try to fold the range
19497         test if the rhs or lhs has side effects.
19498
19499         * combine.c (simplify_rtx): Recognize another case of a synthesized
19500         sign extension.
19501
19502         * varasm.c (mark_constant_pool): When marking indirect references,
19503         only look at SYMBOL_REFs.
19504
19505         * except.c (expand_fixup_region_end): Do not peek at
19506         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19507
19508 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
19509
19510         * flags.h: New variables align_loops, align_loops_log,
19511         align_jumps, align_jumps_log, align_labels, align_labels_log,
19512         align_functions, align_functions_log.
19513         * toplev.c: Define them.
19514         (f_options): Handle -falign-* when they have no argument.
19515         (main): Add logic to set variables for -falign-functions,
19516         -falign-jumps, -falign-labels, -falign-loops.
19517         Make it -fsched-verbose=<n> and -finline-limit=<n>.
19518         (display_help): Change help to match options.
19519         * final.c (LABEL_ALIGN): Default to align_labels_log.
19520         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19521         (LOOP_ALIGN): Default to align_loops_log.
19522         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19523         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19524         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19525         * varasm.c (assemble_start_function): Handle align_functions.
19526
19527         * config/sparc/sparc.h: Don't declare sparc_align_*.
19528         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19529         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19530         sparc.c.
19531         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19532         it's a promise.
19533         * config/sparc/sparc.c: Delete sparc_align_loops,
19534         sparc_align_jumps, sparc_align_funcs and the corresponding string
19535         variables.
19536         (sparc_override_options): Default align_functions on ultrasparc.
19537         Delete -malign-* handling.
19538
19539         * config/mips/mips.c (override_options):  On 64-bit targets,
19540         try to align code to 64-bit boundaries.
19541         (print_operand): New substitution, %~,
19542         which aligns labels to align_labels_log.
19543         * config/mips/mips.md (div_trap_normal): Use %~.
19544         (div_trap_mips16): Likewise.
19545         (abssi): Likewise.
19546         (absdi2): Likewise.
19547         (ffssi2): Likewise.
19548         (ffsdi2): Likewise.
19549         (ashldi3_internal): Likewise.
19550         (ashrdi3_internal): Likewise.
19551         (lshrdi3_internal): Likewise.
19552         (casesi_internal): Likewise.
19553
19554 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
19555
19556         Merge new ia32 backend from the branch!
19557
19558         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19559         See ChangeLog.P2 on new_ia32_branch for details.
19560
19561         * rtl.h (stack_regs_mentioned_p): Delete prototype.
19562         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19563         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19564         * i386/gas.h (ASM_FILE_START): Define.
19565         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19566         for name change of ix86_valid_decl_attribute_p.
19567         (i386_pe_valid_type_attribute_p): Similarly.
19568
19569 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
19570
19571         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19572         to step through CC modes.
19573
19574 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19575
19576         * regmove.c (fixup_match_1): Don't move INSN in front of P if
19577         it would end up in the shadow of a live flags regsiter.
19578
19579 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19580
19581         * reload1.c: Fix many indentation problems.
19582         * reload.c: Likewise.
19583
19584 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
19585
19586         * alias.c (non_local_reference_p): Constify fmt.
19587
19588 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
19589
19590         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19591
19592 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
19593
19594         * cse.c (delete_trivially_dead_insns): Do not delete stores to
19595         the internal_arg_pointer.
19596
19597 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
19598
19599         Merge peephole2 from new_ia32_branch:
19600         * Makefile.in (STAGESTUFF): Add *.peephole2.
19601         (mostlyclean): Likewise.
19602         (recog.o): Depend on resource.h.
19603
19604         * final.c (peephole): Conditionalize decl on HAVE_peephole.
19605         (final_scan_insn): Likewise for the invocation of peephole.
19606         * genconfig.c (main): Look for peephole and peephole2 patterns.
19607         Emit HAVE_peephole* accordingly.
19608         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19609         * flags.h (flag_peephole2): Declare.
19610         * toplev.c: New pass peephole2.  New flag -fpeephole2.
19611
19612         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19613         * gencodes.c (main): Likewise.
19614         * genextract.c (main): Likewise.
19615         * genoutput.c (main): Likewise.
19616         * genemit.c (max_operand_1): Look for the max scratch operand.
19617         (gen_rtx_scratch): New.
19618         (gen_exp): Use it, and pass on new arg subroutine_type.
19619         (gen_expand): Take max scratch into account.
19620         (gen_split): Emit peephole2 functions.
19621         (output_peephole2_scratch): New.
19622         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
19623         * genrecog.c (routine_type): Add PEEPHOLE2.
19624         (IS_SPLIT): New.
19625         (make_insn_sequence): Match outer parallel for peep2.  Discard
19626         top level scratches and dups.
19627         (add_to_sequence): New args insn_type and top.  Update all callers.
19628         Handle toplevel peep2 matching insns.
19629         (write_subroutine): Handle peep2.
19630         (write_tree_1): Likewise.
19631         (write_tree): Likewise.
19632         (main): Likewise.
19633         (change_state): New arg afterward.  Update all callers.
19634         Handle matching separate insns.
19635         * recog.c (recog_next_insn): New.
19636         (peephole2_optimize): New.
19637         * rtl.def (DEFINE_PEEPHOLE2): New.
19638         * resource.c (find_free_register): New argument last_insn.  Use it
19639         to find a register available through the entire span.
19640         * resource.h (find_free_register): Update prototype.
19641
19642 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
19643
19644         * i386.c (output_strlen_unroll): Don't write xops[7]
19645         label if it wasn't set.
19646
19647 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
19648
19649         * cpplib.c (struct directive): Const-ify name pointer and
19650         function pointer prototype.
19651         (validate_else, do_define, do_line, do_include, do_undef,
19652         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19653         do_elif, do_endif, do_sccs, do_assert, do_unassert,
19654         do_warning): Const-ify second arg.
19655         (directive_table): Mark const.  Reorder entries by frequency
19656         of usage, record statistics.
19657
19658 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19659
19660         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19661         bounds- check RTL accesses if --enable-checking.
19662         (RTVEC_ELT): Bounds check if --enable-checking.
19663         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19664         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19665         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19666         GET_NUM_ELEM.
19667         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19668         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
19669
19670         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19671         (NOTE_SOURCE_FILE): Use X0STR.
19672         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19673         MEM_ALIAS_SET): Use X0INT.
19674         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19675         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19676         Use X0EXP.
19677         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19678         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19679         (rtl_check_failed_bounds, rtl_check_failed_type1,
19680         rtl_check_failed_type2, rtvec_check_failed_bounds): New
19681         functions.
19682         (fancy_abort): Fix comment.
19683
19684         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19685         (cse_insn): Decrement LABEL_NUSES for jump target before
19686         deleting jump insn.
19687         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19688         * final.c (alter_subreg): Compute regno before changing x to
19689         REG; set REGNO(x) after changing it.
19690         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19691         notes containing CONST_INTs.
19692         (delete_eh_regions): Use NOTE_EH_HANDLER.
19693         * function.c (put_reg_into_stack): Make reg a MEM before
19694         initializing it.
19695         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
19696         delete insn.
19697         (gen_mem_addressof): Make reg a MEM before initializing it.
19698         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19699         X0WINT.
19700         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19701         deleting an insn, not after.
19702         (block_alloc): Only look at PATTERN(insn) if we have to, and
19703         only if it's format class 'i'.
19704         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19705         CONST_INT before using its INTVAL.
19706         * print-rtl.c (print_rtx): Use X0STR.
19707         * regmove.c (fixup_match_1): Don't look at PATTERN of
19708         non-class-'i' insn chain elements.
19709         * reload.c (loc_mentioned_in_p): Take address of
19710         in->fld[1].rtx directly.
19711         * reload1.c (reload): Change reg to a MEM before initializing
19712         it.
19713         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19714         have no names.
19715         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19716
19717 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
19718
19719         * config/mips/mips.c (machine_dependent_reorg): Force a
19720         barrier to output the local constant pool if a barrier hasn't
19721         been found at a natural point in the instruction stream.
19722
19723 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19724
19725         * c-parse.in (language_string): Constify.
19726
19727         * dwarf2out.c (language_string): Remove declaration.
19728
19729         * dwarfout.c (language_string): Likewise.
19730
19731         * toplev.c (language_string, init_parse, finish_parse): Likewise.
19732
19733         * tree.h (language_string, init_parse, finish_parse): Declare.
19734
19735         * i386/sun386.h (language_string): Remove declaration.
19736
19737         * mips.h (language_string): Likewise.
19738
19739         * nextstep.h (language_string): Likewise.
19740
19741         * nextstep21.h (language_string): Likewise.
19742
19743         * rs6000.c (language_string): Likewise.
19744
19745 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19746
19747         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19748         (getpwd.o): Remove target.
19749
19750         * getpwd.c: Delete file.  Its in libiberty now.
19751
19752         * dbxout.c (getpwd): Don't prototype.
19753         * dwarf2out.c (getpwd): Likewise
19754         * dwarfout.c (getpwd): Likewise
19755         * final.c (getpwd): Likewise.
19756         * protoize.c (getpwd): Likewise.
19757
19758 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19759
19760         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19761
19762 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
19763
19764         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19765         mark_set_resources.
19766
19767 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
19768
19769         * fixinc/Makefile.in (subdir): New.
19770         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19771         (Makefile): New.
19772
19773 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
19774
19775         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19776         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19777         be shared.
19778
19779         * invoke.texi: Fix typo.
19780
19781         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
19782         changed.  Handle autoincrement addressing modes.
19783
19784         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19785         just like we would the virtual incoming args register when
19786         integrating.
19787
19788 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
19789
19790         * rs6000.h (ASM_FILE_START): Specify complete filename, including
19791         path, in .file directive.
19792
19793 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
19794
19795         * gcc.texi (External Bugs): Remove obsolete note about Perl on
19796         SunOS.
19797
19798 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
19799
19800         * stdbool.h: Make the typedef name _Bool, with bool a #defined
19801         alias.
19802
19803 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19804
19805         * tree.c (tree_code_name): Constify a char*.
19806
19807         * tree.h (tree_code_name, decl_printable_name): Likewise.
19808
19809         * function.h (struct function): Likewise.
19810
19811         * toplev.c (decl_name, decl_printable_name): Likewise.
19812
19813         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19814
19815         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19816         (init_objc): Remove function pointer cast.
19817
19818 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
19819
19820         * pa.md (interspace_jump): New pattern.
19821         (builtin_longjmp): New expander.
19822
19823 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
19824
19825         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19826         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19827         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19828
19829 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
19830
19831         * jump.c (delete_prior_computation): Also check calls
19832         to constant functions.  Don't bother checking for a
19833         REG_UNUSED note before adding it.
19834         (delete_computation): Handle multi-word hard registers
19835         when synthesizing missing REG_DEAD notes for a register
19836         which is both set and used by an insn.
19837
19838 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19839
19840         * loop.c (this_loop_info): New variable.
19841         (loop_has_call, loop_has_volatile, loop_has_tablejump,
19842         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19843         All uses updated.
19844         (prescan_loop, strength_reduce): New argument loop_info.  All callers
19845         updated.
19846         (scan_loop): New variable loop_info, initialise to address of
19847         this_loop_info.
19848         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19849         Delete variable loop_has_multiple_exit targets and replace with
19850         field in this_loop_info.
19851         (find_and_verify_loops): Rename this_loop to this_loop_num.
19852         (strength_reduce): Delete loop_iteration_info.  Replace variable
19853         loop_info with function argument of same name.
19854         (insert_bct): Rework test for loop being completely unrolled.
19855
19856         * loop.h (struct loop_info): New fields num, loops_enclosed,
19857         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19858         has_indirect_jump, and cont.  Redefine use of unroll_number.
19859         (loop_unroll_number): Delete.
19860
19861         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19862         field of loop_info.
19863         (loop_iterations): Delete variable vtop and instead use
19864         loop_info->vtop computed in prescan_loop.
19865
19866 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
19867
19868         * fix-header.c (main): Do not pass a null pointer to strcmp.
19869
19870 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
19871
19872         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
19873         filenames.
19874         * configure: Rebuilt.
19875
19876 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
19877
19878         * jump.c (jump_optimize_1): Do not delete assignments to
19879         internal_arg_pointer.
19880         * cse.c (delete_trivially_dead_insns): Always consider a set of
19881         the internal_arg_pointer live.
19882
19883 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
19884
19885         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
19886         (update_life_info) [REG_WAS_0]: Search the original insns rather
19887         than the new insns for the note.  Fix typos finding note_dest.
19888         If no dest found, discard the note rather than abort.
19889         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
19890         (replace_insns): Remove the old insn list after update_life_info
19891         not before.
19892
19893 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
19894
19895         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
19896         sched_analyze_insn.
19897         (sched_analyze_1): Let add_dependence care for not adding dups.
19898         (sched_analyze_2): Likewise.
19899         (add_branch_dependences): Likewise.
19900
19901 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19902
19903         * i386/winnt.c (export_list): New type.
19904         (exports_head): Rename to
19905         (export_head):  this.
19906         (i386_pe_record_exported_symbol): Add is_data flag.
19907         (i386_pe_asm_file_end): Emit directive for exported variables.
19908         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
19909         prototype.
19910         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
19911         (ASM_DECLARE_OBJECT_NAME): Likewise.
19912         (ASM_DECLARE_FUNCTION_NAME): Likewise.
19913         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
19914
19915 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
19916
19917         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
19918
19919         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
19920         operand.
19921
19922 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
19923
19924         * config/openbsd.h: Define SET_ASM_OP.
19925         * tm.texi: cross-reference SET_ASM_OP in the index.
19926
19927 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
19928
19929         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
19930         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
19931         and class_narrowest_mode at compile time.  Kill init_rtl.
19932         Mark rtx_length, mode_class, mode_size, mode_unit_size,
19933         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
19934         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
19935         EXTRA_CC_NAMES.
19936         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
19937         format.
19938         * rtl.h: Declare rtx_length and rtx_format as const.
19939         * machmode.def: Define CC().  Use CC() to define CCmode.  If
19940         EXTRA_CC_MODES is defined, expand it here.
19941         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
19942         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
19943         const.  Kill all references to EXTRA_CC_MODES.
19944
19945         * toplev.c: Don't prototype or call init_rtl.
19946         * optabs.c: Don't call init_mov_optab.
19947         * genemit.c: Don't generate init_mov_optab.  Don't call
19948         init_rtl.
19949         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
19950         here.
19951         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
19952         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
19953         genrecog.c: Don't call init_rtl.
19954
19955         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
19956         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
19957         definition of EXTRA_CC_MODES.
19958
19959         * md.texi: Kill ref to EXTRA_CC_NAMES.
19960         * tm.texi: Document new way to define EXTRA_CC_MODES.
19961
19962         * genrecog.c: Do not look up the name of a define_split.
19963         (Unrelated bugfix.)
19964
19965 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
19966
19967         * config/v850/v850.md: Fix typo introduced by previous delta.
19968
19969 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19970
19971         * gcc.c (fatal): Make definition static to match prototype.
19972
19973 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19974
19975         * combine.c (get_last_value): Don't look for earlier sets if the last
19976         known set is somewhere in between the insns being combined.
19977
19978 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
19979
19980         * configure.in: Don't use shell ! to negate exit codes
19981         * configure: Regenerate
19982
19983 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
19984
19985         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
19986         the fact that ALIGN is measured in bits, not bytes.
19987
19988 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
19989
19990         * errors.c: New file; defines functions error, warning, and
19991         fatal, variables have_error and progname.
19992         * errors.h: New file; prototypes and decls for stuff in errors.c.
19993
19994         * Makefile: Add rules to build errors.o and
19995         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
19996         genopinit, genrecog, genextract, genpeep, genattr, and
19997         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
19998         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
19999         genpeep.o, genattr.o, and genoutput.o.
20000
20001         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20002         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
20003         define or prototype fatal.  Set progname at beginning of main.
20004         * genoutput.c:  Likewise, and don't define or prototype error
20005         either.
20006
20007         * c-typeck.c (c_expand_start_case): Return immediately if exp
20008         is an ERROR_MARK.
20009         * fold-const.c (operand_equal_p): Return immediately if arg1
20010         or arg0 are ERROR_MARKs.
20011         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20012         fields of type ERROR_MARK when calculating if the record can
20013         go in a register.
20014
20015 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
20016         with much help from Jeffrey A Law and Richard Henderson
20017
20018         * i386.md: In the 6 insns which call output_fix_trunc,
20019         earlyclobber operands[0].
20020
20021 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
20022
20023         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20024         creating new registers.
20025
20026 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
20027
20028         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20029         i386_reg_alloc_order, i386_regparm_string,
20030         i386_align_loops_string, i386_align_jumps_string,
20031         i386_align_funcs_string, i386_preferred_stack_boundary_string,
20032         and i386_branch_cost_string as type "const char *".
20033         * i386.c: Define all above strings as type "const char *".
20034
20035 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
20036
20037         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20038         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
20039
20040 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20041
20042         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20043         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20044
20045 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
20046
20047         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20048         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20049         (dwarf2out_line, dwarf2out_finish): Likewise.
20050         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20051
20052 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20053
20054         * tree.c (lang_unsave_expr_now) : Correct return type.
20055         * tree.h (lang_unsave_expr_now) : Same.
20056
20057 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
20058
20059         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20060         instead of duplicating code.
20061
20062 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20063
20064         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20065
20066 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
20067
20068         * tree.h: fancy_abort always takes three args.
20069         * resource.c: Move include of system.h before toplev.h.
20070
20071 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
20072
20073         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20074         as SYMBOL_REFs.
20075
20076 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
20077
20078         * system.h: Don't redefine abort or trim_filename.
20079         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20080         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20081         whether or not __FUNCTION__ is available.
20082         * tree.h: Duplicate rtl.h's definition of abort, for files
20083         that don't include rtl.h.  Delete all code to perform type
20084         checking with a compiler other than GCC.
20085         * varray.h: Delete all code to perform type checking with a
20086         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
20087         its arguments exactly once, using a statement expression.
20088         Adjust the VARRAY_<type> accessor macros to match.
20089         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20090         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20091         caller's location.  Define fatal_insn and fatal_insn_not_found
20092         as macros that use _fatal_insn and _fatal_insn_not_found.
20093         (fancy_abort, trim_filename): Kill prototypes.
20094
20095         * rtl.c (trim_filename): Move here from toplev.c.
20096         (fancy_abort): New function.
20097         (DIR_SEPARATOR): Provide default definition.
20098         * tree.c (tree_check_failed, tree_class_check_failed): Go
20099         through fancy_abort.
20100         (tree_check, tree_class_check, cst_or_constructor_check,
20101         expr_check): Delete.
20102         * varray.c (varray_check_failed): New function.
20103         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20104         _fatal_insn and _fatal_insn_not_found.  Go through
20105         fancy_abort.
20106         (trim_filename, fancy_abort): Delete.
20107
20108         * builtins.c (expand_builtin_args_info): Report ICE with abort.
20109         * except.c (start_catch_handler): Report ICE with error/abort
20110         combo.
20111         * final.c (output_operand_lossage): Likewise.
20112         * flow.c (verify_flow_info): Likewise.
20113
20114         * gcc.c: Prototype fatal.
20115         * gengenrtl.c: Undef abort after including rtl.h not system.h.
20116         * genattr.c, genattrtab.c, genemit.c, genextract.c,
20117         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20118         Don't define fancy_abort.
20119
20120 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
20121
20122         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20123         canonization.
20124
20125 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
20126
20127         * m88k.h (VERSION_INFO2): Kill.
20128         (VERSION_STRING): Kill.
20129         (TM_RCS_ID): Kill.
20130         (VERSION_INFO1): Tidy.
20131         (TARGET_VERSION): Update.
20132         * m88k/dgux.h (VERSION_INFO2): Kill.
20133         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20134         * m88k/luna.h (VERSION_INFO1): Tidy.
20135         * m88k/sysv4.h (VERSION_INFO1): Likewise.
20136         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20137         (output_file_start): Adjust for death of VERSION_STRING.
20138
20139 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
20140
20141         * cpplib.c (detect_if_not_defined): New function.
20142         (do_if): Use it to detect potential once-only headers.
20143
20144 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
20145
20146         * c-common.c (combine_strings): Always set TREE_CONSTANT.
20147
20148 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20149
20150         * combine.c (nonzero_bits) : Allow single-ly set registers to be
20151         anywere in the function only if they are pseudos and set before
20152         being used (not live at the start of the function).
20153         (num_sign_bit_copies) : Same.
20154         (get_last_value_validate) : Same.
20155         (get_last_value) : Same.
20156
20157 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
20158
20159         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20160         where N and M are constant and N is an integer multiple of M.
20161
20162 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20163
20164         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20165         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20166         sbitmap_union_of_preds): Add prototypes.
20167         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20168         the intersection of successors with the new flow graph structures.
20169         (sbitmap_intersection_of_preds): New function to compute the
20170         intersection of predecessors with the new flow graph structures.
20171         (sbitmap_union_of_succs): New function to compute the union of
20172         successors with the new flow graph structures.
20173         (sbitmap_union_of_preds): New function to compute the union of
20174         predecessors with the new flow graph structures.
20175         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20176         (expr_reaches_here_p): Use edge and basic_block structures instead
20177         of s_preds and s_succs.
20178         (compute_cprop_avinout): Use new sbitmap routines.
20179         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20180         of s_preds and s_succs.
20181         * flow.c (compute_flow_dominators): Compute dominators using
20182         edges and basic blocks instead of s_preds and s_succs.
20183
20184 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20185
20186         * lists.c (unused_insn_list, unused_expr_list): New file for
20187         maintaining various types of lists. New statics for maintaining a
20188         cache of available INSN_LIST and EXPR_LIST nodes.
20189         (free_list): Static function for freeing a list of INSN/EXPR nodes.
20190         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20191         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20192         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20193         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20194         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20195         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20196         (free_INSN_LIST_node): Free an individual INSN_LIST node.
20197         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20198         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20199         (remove_dependence, free_pending_lists): Use new global routines.
20200         (flush_pending_lists, sched_analyze_insn): Use new global routines.
20201         (sched_analyze, compute_block_backward_dependences): Use new routines.
20202         (sched_analyze_1, sched_analyze_2): Use new routines.
20203         (schedule_insns): Use new global routines.
20204         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20205         prototypes.
20206         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20207         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20208         prototypes.
20209         * toplev.c (rest_of_compilation): Initialize node cache.
20210         * Makefile.in (OBJS): Add lists.o to list of object files.
20211         (lists.o): Add dependancies.
20212
20213 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
20214
20215         * config/v850/v850.md: Fix compile time warning messages.
20216         * config/v850/v850.c: Fix compile time warning messages.
20217         * config/v850/v850.h: Fix compile time warning messages.
20218
20219 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20220
20221         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20222         Remove unused prototype for `init_lengths'.
20223
20224 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20225
20226         * calls.c (emit_call_1): Mark parameter `stack_size' with
20227         ATTRIBUTE_UNUSED.
20228         (expand_call): Initialize variable `insn'.
20229         (emit_library_call): Likewise for variable `high_to_save'.
20230         (emit_library_call_value): Likewise.
20231         (store_one_arg): Likewise for variables `lower_bound' and
20232         `upper_bound'.
20233
20234         * combine.c (try_combine): Likewise for variables `i2_code_number'
20235         and `other_code_number'.
20236         (find_split_point): Likewise for variables `pos', `unsignedp' and
20237         `inner'.
20238         (simplify_if_then_else): Likewise for variables `op' and `c1'.
20239         (simplify_and_const_int): Remove unused variable `width'.
20240         (merge_outer_ops): Likewise.
20241
20242         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20243         HOST_WIDE_INT' when comparing against one.
20244         (simplify_relational_operation): Likewise.
20245         (cse_insn): Initialize variables `src_eqv_volatile',
20246         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20247
20248         * final.c (init_final): Constify parameter `filename'.
20249         (final_start_function): Mark parameter `optimize' with
20250         ATTRIBUTE_UNUSED.
20251         (profile_function): Likewise for parameters `first' and `optimize'.
20252         (output_source_line): Likewise for parameter `file'.
20253
20254         * integrate.c (subst_constants): Cast a value to `size_t' when
20255         comparing against one.
20256         (mark_stores): Initialize variable `mode'.  Cast a value to
20257         `size_t' when comparing against one.
20258
20259         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20260
20261         * loop.c (move_movables): Initialize variable `first'.
20262         (strength_reduce): Likewise for variable `increment'.
20263         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
20264         value to `size_t' when comparing against one.
20265         (load_mems): Initialize variable `end_label'.
20266
20267         * output.h (init_final): Constify parameter.
20268
20269         * reload.c (decompose): Initialize variable `base'.
20270
20271         * reload1.c (reload): Likewise for variable `is_scalar'.
20272         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20273         (choose_reload_regs): Initialize variable `mode'.
20274         (emit_reload_insns): Likewise for variable `store_insn'.
20275         (reload_cse_noop_set_p): Mark parameter `insn' with
20276         ATTRIBUTE_UNUSED.
20277         (reload_combine): Initialize variable `set'.
20278
20279         * unroll.c (unroll_loop): Likewise for variable `local_label'.
20280         (copy_loop_body): Cast a value to `size_t' when comparing against
20281         one.
20282
20283         * varasm.c (assemble_variable): Initialize variable `size_tree'.
20284         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20285         (remove_from_pending_weak_list): Mark parameter `name' with
20286         ATTRIBUTE_UNUSED.
20287
20288 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20289
20290         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20291         gcse dump file.
20292
20293 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
20294
20295         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20296         (ASM_DECLARE_FUNCTION_NAME): Define.
20297         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20298         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20299         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20300         not already defined.
20301
20302 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20303
20304         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20305         of n_popped when call/call_value are not defined.
20306
20307 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
20308
20309         * tm.texi: GNU CC -> GCC conversion.
20310         (CC1_SPEC): Indicate it is used for all language front ends.
20311
20312 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
20313
20314         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20315         NOTE_INSN_EH_REGION_END correctly.
20316
20317 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20318                           Jeff Law <law@cygnus.com>
20319
20320         * loop.c (strength_reduce): Automatically unroll loops if the
20321         unrolled loop size is smaller than the rolled loop size.
20322
20323         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20324         and delete comment that code should be rewritten.
20325
20326 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
20327
20328         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20329         as reachable.
20330
20331         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20332
20333 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20334
20335         * fixinc/mkfixinc.sh: Don't fix uwin headers.
20336         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20337         (LINK_SPEC): Add -u _main when building executables.
20338         (ASM_DECLARE_FUNCTION): Update from Cygwin.
20339         (ASM_FILE_END): Use the default for ix86-pe.
20340         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20341
20342 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
20343
20344         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20345         and ASM_CLOSE_PAREN are empty strings.
20346
20347 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
20348                           Geoffrey Keating <geoffk@cygnus.com>
20349
20350         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20351         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20352         (unprotoize.o): Ditto.
20353         (test-protoize-simple): Don't define STD_PROTO_DIR.
20354         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
20355         changes to make 'test-protoize-simple' pass.
20356         (STD_PROTO_DIR): Remove define.
20357         (STANDARD_EXEC_PREFIX): Supply default define.
20358         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20359         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20360         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20361         (GET_ENV_PATH_LIST): New macro.
20362         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20363         (do_processing): Initialize default_syscalls_dir using new
20364         macros.  Use it to initialize syscalls_absolute_filename.
20365
20366 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
20367
20368         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20369         B into a register before emit_conditional_move.
20370
20371 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
20372
20373         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20374         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
20375         multiplicand out of (+ (* a b) (* c d)).
20376
20377 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
20378                           Richard Henderson  <rth@cygnus.com>
20379
20380         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20381         (new_insn_dead_notes): Likewise.
20382         (update_n_sets): Likewise.
20383         (update_flow_info): Move to flow.c, renamed to update_life_info;
20384         extend to handle multiple source insns.
20385         * flow.c: Include resource.h
20386         (unlink_insn_chain): New.
20387         (split_hard_reg_notes): New.
20388         (maybe_add_dead_note): New.
20389         (maybe_add_dead_note_use): New.
20390         (find_insn_with_note): New.
20391         (new_insn_dead_notes): New.
20392         (update_n_sets): New.
20393         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20394         (maybe_remove_dead_notes): New.
20395         (update_life_info): New.
20396         (prepend_reg_notes): New.
20397         (replace_insns): New.
20398         * output.h (update_life_info): Declare.
20399         * recog.c (split_block_insns): Use update_life_info.
20400         * resource.c (find_free_register): Use reg_alloc_order, don't use
20401         fixed regs, make sure the mode is supported, don't use new regs.
20402         (reg_dead_p): New.
20403         * rtl.h (replace_insns): Declare.
20404
20405 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
20406
20407         * expr.c (expand_expr): Cope with COND_EXPRs with one
20408         non-returning branch.
20409
20410 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
20411
20412         * expr.c (store_expr): Always pass down the target, even when not
20413         doing CSE.
20414
20415 1999-08-24  Nick Clifton  <nickc@cygnus.com>
20416
20417         * configure.in: Define target_cpu_default for v850 targets.
20418         * configure: Regenerate
20419
20420         * config/v850/v850.h (TARGET_CPU_generic): Define.
20421         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20422         addresses are 4 byte aligned.
20423
20424         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20425         addresses.
20426
20427 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20428
20429         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
20430         (main): Add prototypes.
20431
20432         * genattrtab.c (substitute_address, write_const_num_delay_slots,
20433         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20434         (write_attr_get): Emit prototypes along with function definition.
20435         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20436         (write_complex_function): Emit static prototype along with
20437         function definition.
20438
20439         * genemit.c (gen_split): Emit prototypes along with function
20440         definition.
20441
20442         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20443         Likewise for predicates and `insn_operand_predicate'.
20444         (process_template): Emit static prototype along with function
20445         definition.
20446
20447         * genrecog.c (make_insn_sequence): Constify a char*.  Add
20448         prototypes for get_split_*().
20449         (write_subroutine): Emit prototypes along with function
20450         definition.
20451
20452 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20453
20454         * gcse.c (find_avail_set): Follow chains of register-register copies.
20455         Use oprs_not_set_p to guarantee that the returned value can be
20456         substituted.
20457         (cprop_insn): Don't verify the return value of find_avail_set with
20458         oprs_not_set_p.
20459
20460         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20461         (cprop_cc0_jump): New function.
20462         (cprop_insn): Break out new function cprop_jump and use it.
20463         Also use cprop_cc0_jump for machines with CC0.
20464         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20465
20466         * tree.h (current_function_calls_setjmp,
20467         current_function_calls_longjmp): Delete declarations.
20468         * dsp16xx.c: Include "function.h".
20469         * elxsi.c: Likewise.
20470         * gmicro.c: Likewise.
20471         * h8300.c: Likewise.
20472         * i370.c: Likewise.
20473         * m32r.c: Likewise.
20474         * mn10200.c: Likewise.
20475         * mn10300.c: Likewise.
20476         * ns32k.c: Likewise.
20477         * spur.c: Likewise.
20478         * v850.c: Likewise.
20479
20480         * rtl.h (rtx_equal_function_value_matters): Declare.
20481         * toplev.c (rtx_equal_function_value_matters): Don't declare.
20482         * cse.c: Likewise.
20483         * function.c: Likewise.
20484         * emit-rtl.c: Likewise.
20485
20486 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
20487
20488         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20489         call.
20490
20491 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20492
20493         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20494         exactly.
20495
20496 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
20497
20498         * cpp.texi: Add a node documenting macro varargs (copied
20499         from extend.texi).
20500
20501 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
20502
20503         * cppspec.c: Put a null pointer at the end of the new argv.
20504
20505 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
20506
20507         * configure.in: Remove code to select/de-select the haifa
20508         scheduler.  Every scheduled port gets haifa now.
20509         * configure: Rebuilt.
20510         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20511         * sched.c Deleted.
20512         * Makefile.in: Corresponding changes.
20513
20514 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20515
20516         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20517         All callers changed.
20518         (prepare_float_lib_cmp): Likewise.
20519         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20520         * expr.h (emit_float_lib_cmp): Delete declaration.
20521         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20522         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20523         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20524         specially.
20525         (cmptf): Now conditional on TARGET_HARD_QUAD.
20526
20527 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
20528
20529         * resource.c (mark_target_live_regs): Use
20530         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20531
20532 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20533
20534         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20535
20536         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20537
20538         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20539
20540 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20541
20542         * rtl.h (rtx_format): Constify a char*.
20543
20544         * rtl.c (rtx_format): Likewise.
20545         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20546         (init_rtl): Use accessor macro, not `rtx_format'.
20547
20548         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20549         char*.
20550
20551         * caller-save.c (mark_referenced_regs): Likewise.
20552
20553         * combine.c (subst, make_compound_operation, known_cond,
20554         gen_rtx_combine, update_table_tick, get_last_value_validate,
20555         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20556
20557         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20558         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20559         count_reg_usage): Likewise.
20560
20561         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20562         Likewise.
20563
20564         * final.c (leaf_renumber_regs_insn): Likewise.
20565
20566         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20567         dump_edge_info, count_reg_references): Likewise.
20568
20569         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20570         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20571         Likewise.
20572
20573         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20574         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20575         add_label_notes): Likewise.
20576
20577         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20578         clear_struct_flag, count_sub_rtxs, count_alternatives,
20579         compares_alternatives_p, contained_in_p, walk_attr_value,
20580         write_expr_attr_cache): Likewise.
20581
20582         * genconfig.c (walk_insn_part): Likewise.
20583
20584         * genemit.c (max_operand_1, gen_exp): Likewise.
20585
20586         * genextract.c (walk_rtx): Likewise.
20587
20588         * genflags.c (num_operands): Likewise.
20589
20590         * genoutput.c (scan_operands): Likewise.
20591
20592         * genpeep.c (match_rtx): Likewise.
20593
20594         * genrecog.c (add_to_sequence): Likewise.
20595
20596         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20597         Likewise.
20598
20599         * integrate.c (save_constants, copy_for_inline,
20600         copy_rtx_and_substitute, subst_constants, restore_constants):
20601         Likewise.
20602
20603         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
20604         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20605
20606         * local-alloc.c (contains_replace_regs, memref_referenced_p):
20607         Likewise.
20608
20609         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20610         add_label_notes, replace_call_address, count_nonfixed_reads,
20611         invariant_p, find_single_use_in_loop, find_mem_givs,
20612         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20613         Likewise.
20614
20615         * print-rtl.c (reg_names, print_rtx): Likewise.
20616
20617         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20618
20619         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20620         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20621         print_blocks): Likewise.
20622
20623         * regclass.c (fix_register, record_address_regs,
20624         reg_scan_mark_refs): Likewise.
20625
20626         * regmove.c (stable_but_for_p): Likewise.
20627
20628         * reload.c (loc_mentioned_in_p, operands_match_p,
20629         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20630         copy_replacements, refers_to_regno_for_reload_p,
20631         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20632         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20633         Likewise.
20634
20635         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20636         delete_address_reloads_1, count_occurrences,
20637         reload_cse_mem_conflict_p, reload_combine_note_use,
20638         add_auto_inc_notes): Likewise.
20639
20640         * resource.c (mark_referenced_resources, mark_set_resources):
20641         Likewise.
20642
20643         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20644         reg_mentioned_p, regs_set_between_p, modified_between_p,
20645         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20646         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20647         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20648         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20649
20650         * sched.c (sched_analyze_2, attach_deaths): Likewise.
20651
20652         * stupid.c (stupid_mark_refs): Likewise.
20653
20654         * unroll.c (remap_split_bivs): Likewise.
20655
20656         * varasm.c (mark_constants): Likewise.
20657
20658         * a29k/a29k.c (uses_local_reg_p): Likewise.
20659
20660         * alpha/alpha.c (summarize_insn): Likewise.
20661
20662         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20663         eliminate_lr2ip): Likewise.
20664
20665         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20666
20667         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20668         reg_mentioned_in_mem): Likewise.
20669
20670         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20671         symbolic_reference_mentioned_p): Likewise.
20672
20673         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20674
20675         * sh/sh.c (regs_used, mark_use): Likewise.
20676
20677         * vax/vax.c (vax_rtx_cost): Likewise.
20678
20679 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20680
20681         * machmode.h (mode_name): Constify a char*.
20682
20683         * rtl.c (mode_name): Likewise.
20684
20685         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20686
20687         * optabs.c (init_libfuncs): Constify a char*.
20688
20689         * print-tree.c (mode_name): Remove redundant declaration.
20690         (print_node): Use accessor macro, not `mode_name'.
20691
20692         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
20693         not `mode_name'.
20694         (new_spill_reg): Constify a char*.
20695
20696         * tree.c (mode_name): Remove redundant declaration.
20697
20698 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20699
20700         * rtl.c (rtx_name): Constify a char*.
20701
20702         * rtl.h (rtx_name, fix_sched_param): Likewise.
20703
20704         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20705         (mypr): Use accessor macro, not `rtx_name'.
20706
20707         * genemit.c (print_code): Constify a char*.
20708
20709         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20710
20711         * genpeep.c (print_code): Constify a char*.
20712
20713         * genrecog.c (print_code): Likewise.
20714
20715         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20716         end_bb): Add static prototype.
20717         (draw_edge): Constify a char*.
20718         (end_bb): Remove unused parameter.
20719
20720         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20721         print_block_visualization): Constify a char*.
20722
20723 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
20724
20725         * c-common.c (c_get_alias_set): Update comment.
20726
20727 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20728
20729         * linux.h (LIB_SPEC): Added.
20730
20731 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20732
20733         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20734
20735 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
20736
20737         * tree.c (expr_check): Fix typo in last change.
20738
20739 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
20740
20741         * rtl.def (NOTE): Change format to "iuu0n".
20742         (ADDR_DIFF_VEC): Change format to "eEee0".
20743         (ADDRESSOF): Change format to "eit".
20744
20745         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20746         (RTVEC_ELT): Change to match.
20747         (XVECEXP): Use XVEC and RTVEC_ELT.
20748         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20749         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20750         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20751         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20752         TRAP_CONDITION, TRAP_CODE): Use XEXP.
20753         (INTVAL): Use XWINT.
20754         (ADDRESSOF_DECL): Use XTREE.
20755         (SET_ADDRESSOF_DECL): Delete.
20756         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20757         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
20758         ifdefed out since 2.6 at least.
20759         (gen_rtvec_vv): Delete prototype.
20760
20761         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20762         not rtunion.
20763         (copy_most_rtx): Handle 't' format letter.
20764         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20765         (gen_rtvec_vv): Delete function.  All callers changed to use
20766         gen_rtvec_v instead.
20767         * print-rtl.c (print_rtx): Move special casing of NOTEs to
20768         the '0' format letter.
20769
20770         * function.c (gen_mem_addressof): Don't use
20771         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20772         instead.
20773         * integrate.c (copy_rtx_and_substitute): Likewise.
20774         Copy 't' slots with XTREE.
20775         (subst_constants): Treat 't' slots like '[swi]' slots.
20776         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20777         * jump.c (rtx_equal_for_thread_p): Likewise.
20778         * rtlanal.c (rtx_equal_p): Likewise.
20779         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20780         only four arguments.
20781         * gengenrtl.c (type_from_format): Provide correct types for
20782         'b' and 't' slots.
20783
20784
20785         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20786         If a recent gcc is in use (always in stage2 and beyond), use
20787         statement expressions, so we don't make a function call unless
20788         the check fails.  Evaluate arguments exactly once.
20789         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20790         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20791         Delete.
20792         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20793         they evaluate their arguments exactly once, irrespective of
20794         the compiler in use.
20795
20796         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20797         is used by the currently-enabled check macros.  This is:
20798         (tree_check_failed, tree_class_check_failed): For gcc.
20799         (tree_check, tree_class_check, cst_or_constructor_check,
20800         expr_check): For other compilers.
20801
20802         * gencheck.c: Do not define any *_CHECK1 macros.
20803
20804 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
20805                           Mark Mitchell <mark@codesourcery.com>
20806
20807         * c-common.c (c_get_alias_set): Fix support for poitners and
20808         references.
20809
20810 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
20811
20812         * alias.c: Include tree.h.
20813         (nonlocal_reference_p, mark_constant_function): New functions.
20814         * flow.c (life_analysis): Call mark_constant_function.
20815         * rtl.h (mark_constant_function): Declare it.
20816
20817 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
20818
20819         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20820         unrecognisable switches.
20821
20822 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20823
20824         * loop.c (recombine_givs): Set ix field after sorting.
20825         (recombine_givs): Remove bogus index / giv lockstep looping.
20826
20827 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20828
20829         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20830         on CODE.
20831         (emit_store_flag_force): Use do_compare_rtx_and_jump.
20832         (do_cmp_and_jump): Formatting fixes.
20833         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20834         do_compare_rtx_and_jump instead of compare_from_rtx.
20835         (do_compare_rtx_and_jump): New function; mostly copied from
20836         compare_from_rtx.
20837         (do_jump_for_compare): Delete.
20838         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20839         MIN_EXPR.
20840         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20841         of compare/do_jump_for_compare pairs.
20842         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20843         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20844         compare_from_rtx/do_jump_for_compare pairs.
20845         (do_jump_by_parts_equality): Likewise.
20846         (do_jump_by_parts_equality_rtx): Likewise.
20847         * expr.h (do_compare_rtx_and_jump): Declare.
20848         * optabs.c (prepare_cmp_insn): New function, contains most of the code
20849         that used to be in emit_cmp_insn.
20850         (cmp_available_p): New function.
20851         (prepare_operand): New function.
20852         (emit_cmp_and_jump_insn_1): New function, contains some code that used
20853         to be in emit_cmp_insn.
20854         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20855         parameters to be pointers; don't emit final compare but modify some of
20856         the values pointed to by the args so the caller can perform the
20857         correct comparison.
20858         (expand_binop): Call emit_store_flag_force with signed forms of
20859         comparison code.
20860         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20861         emit_jump_insn pair.
20862         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20863         emit_cmp_and_jump_insn_1.  Call emit_queue.
20864         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20865         arg.
20866         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20867         jump sets cc0 before deleting it.
20868         * integrate.c (expand_inline_function): Likewise.
20869         * unroll.c (unroll_loop): Similar changes in several places.
20870         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
20871         before deleting it.
20872
20873 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20874
20875         * Makefile.in (insn-recog.o): Update dependencies.
20876         * genrecog.c (main): Make generated file include "function.h".
20877
20878 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
20879
20880         * cse.c (cse_insn): Call never_reached_warning when a jump is
20881         changed to be unconditional.
20882         * flags.h: Declare warn_notreached.
20883         * flow.c (delete_block): Call never_reached_warning when
20884         a block is deleted.
20885         * jump.c (delete_barrier_successors): Call never_reached_warning
20886         when we delete everything after a BARRIER.
20887         (never_reached_warning): New function.
20888         * rtl.h: Declare never_reached_warning.
20889         * toplev.c (warn_notreached): New variable.
20890         (lang_independent_options): Set warn_notreached
20891         when -Wunreachable-code.
20892         (compile_file): We need line numbers for -Wunreachable-code.
20893
20894 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
20895
20896         * haifa-sched.c (insn_unit): Fix typo on out of range test.
20897         * sched.c (insn_unit): Likewise.
20898
20899 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
20900
20901         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
20902
20903 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20904
20905         * flow.c (create_edge_list): Use xmalloc, not malloc.
20906
20907 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
20908
20909         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
20910         C-style comments.  Do not lose the character before double slash.
20911
20912 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20913
20914         * basic-block.h (struct edge_list): Stucture to maintain a vector
20915         of edges.
20916         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
20917          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
20918         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
20919         New function prototypes.
20920         * flow.c (create_edge_list): Function to create an edge list.
20921         (free_edge_list): Discards memory used by an edge list.
20922         (print_edge_list): Debug output showing an edge list.
20923         (verify_edge_list): Internal consistency check for an edge list.
20924         (find_edge_index): Function to find an edge index for a pred and succ.
20925
20926 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
20927
20928         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
20929         hashtable.
20930
20931 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
20932
20933         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
20934
20935 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
20936
20937         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20938
20939 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
20940
20941         * toplev.c (rest_of_compilation): Allow machine dependent
20942         reorganisation pass to place information into the RTL dump
20943         file if it so wishes.
20944
20945 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
20946
20947         * explow.c (hard_function_value): Use VOIDmode instead of
20948         MAX_MACHINE_MODE.
20949         * stmt.c (expand_return): Likewise.
20950         * stor-layout.c (get_best_mode): Likewise.
20951
20952         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
20953         emit call instead of emit_insn call.
20954
20955 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20956
20957         * configure.in: Handle --disable/enable-win32-registry.
20958         * install.texi: Document --disable/enable-win32-registry.
20959         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
20960         (WIN32_REGISTRY_KEY): New macro.
20961         * prefix.c: Use to enable/disable win32-specific code.
20962         (lookup_key): Use versioned key.
20963         * configure: Regenerate.
20964         * config.in: Likewise.
20965
20966 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
20967
20968         * cpplib.c (read_line_number): New fn, split out of...
20969         (do_line): Here.
20970
20971 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20972
20973         tree.c (lang_unsave_expr_now) : New.
20974         (unsave_expr_now): Call lang_unsave_expr_now.
20975         tree.h (lang_unsave_expr_now) : New.
20976
20977 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
20978
20979         * toplev.c (flag_new_exceptions): On by default.
20980
20981 1999-08-13  Michael Meissner  <meissner@cygnus.com>
20982
20983         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
20984
20985 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20986
20987         * dwarfout.c (fundamental_type_code): Return FT_boolean for
20988         INTEGER_TYPE with precision==1, it's __java_boolean.
20989
20990 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20991
20992         * global.c (prune_preferences): Move some invariants out of the
20993         inner loop.
20994
20995 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
20996
20997         * configure.in (alpha*-dec-osf*): Add osf5.
20998
20999 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
21000
21001         * configure.in: Rework handling of ARM GNU/Linux slightly.
21002         (arm*-*-linux-gnuoldld): New target.
21003         * configure: Regenerate.
21004         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21005         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
21006         * config/arm/linux-oldld.h: New file.
21007         * config/arm/linux-elf26.h: Don't include linux-elf.h.
21008         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21009         Don't define.
21010         * config/arm/linux-elf.h (ASM_SPEC): Define.
21011         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21012         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21013         for 26-bit APCS and old linker.
21014         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21015         `arm_elf'.
21016         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21017         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21018         don't define `arm' or `arm_elf'.
21019         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21020         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
21021
21022 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
21023
21024         * rtl.texi: Fix typo.
21025
21026 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
21027
21028         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21029
21030 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
21031
21032         * extend.texi (C++ Signatures): Remove node.
21033         * invoke.texi: Remove discussion of -fhandle-signatures,
21034         signature, sigof, __signature__, and __sigof__.
21035
21036 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
21037
21038         * Makefile.in (JAVAGC): Removed.
21039
21040 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21041
21042         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21043
21044 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21045
21046         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21047
21048 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
21049
21050         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21051         a register that is already known to be a pointer.
21052
21053 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
21054
21055         * fixinc/inclhack.tpl: Only install assert.h conditionally.
21056         * fixinc/inclhack.sh: Regenerated.
21057         * fixinc/fixincl.sh: Regenerated.
21058
21059 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
21060
21061         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21062         Fix documentation of -ansi flag to describe its C++ behavior.
21063         Remove bogus reference to GCC 2.9.
21064
21065 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
21066
21067         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21068         note if it is non-NULL.
21069
21070 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21071
21072         * except.h (eh_nesting_info): Add new structure defintion.
21073         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21074         (reachable_handlers, update_rethrow_references): Add function
21075         prototypes.
21076         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
21077         a rethrow symbol instead of an integer exception region number.
21078         * flow.c (Make_edges): Use new exception nesting routines to determine
21079         which handlers are reachable from a CALL or asynchronous insn.
21080         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21081         goto receivers.
21082         (delete_eh_regions): Update rethrow labels, and don't delete
21083         regions which are the target of a rethrow.
21084         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21085         avoid overloading the SYMBOL_REF_USED flag.
21086         (rethrow_symbol_map): Use new rethrow_ref field.
21087         (rethrow_used): Use new rethrow_ref field.
21088         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21089         of an integer.  Fix formatting.
21090         (output_exception_table_entry): Use new rethrow_ref field.
21091         (can_throw): Check for EH_REGION_NOTE before deciding
21092         whether a CALL can throw or not.
21093         (scan_region): Call rethrow_used() instead of accessing data structure.
21094         (update_rethrow_references): New function to make sure only regions
21095         which are still targets of a rethrow are flagged as such.
21096         (process_nestinfo): New static function to initialize a handler
21097         list for a specific region.
21098         (init_eh_nesting_info): New function to allocate and initialize
21099         the list of all EH handlers reachable from all regions.
21100         (reachable_handlers): New function to retrieve the list of handlers
21101         reachable from a specific region and insn.
21102         (free_eh_nesting_info): New function to dispose of a list of
21103         reachable handlers.
21104
21105 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21106
21107         * flow.c (split_edge): Set JUMP_LABEL field.
21108         (commit_one_edge_insertion): Set head correctly for insert_before.
21109         When inserting insns, update insn block numbers if allocated.
21110
21111 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21112
21113         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21114         retry_incomplete_types): Add static prototype.
21115         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21116         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21117         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21118         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21119         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21120         Constify a char*.
21121
21122         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21123         dwarf2out_start_source_file, dwarf2out_line): Likewise.
21124
21125 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21126
21127         * output.h (assemble_name): Constify a char*.
21128
21129         * varasm.c (UNIQUE_SECTION, assemble_start_function,
21130         assemble_variable, assemble_name): Likewise.
21131
21132         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21133
21134         * arm/pe.c (arm_pe_unique_section): Likewise.
21135
21136         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21137
21138         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21139
21140         * i386/interix.c (i386_pe_unique_section): Likewise.
21141
21142         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21143
21144         * i386/winnt.c (i386_pe_unique_section): Likewise.
21145
21146         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21147
21148         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21149
21150         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21151
21152         * pa/pa.c (output_call): Likewise.
21153
21154         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21155
21156         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21157
21158         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21159         Likewise.
21160
21161         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21162         Likewise.
21163
21164         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21165
21166         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21167         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21168
21169         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21170
21171 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21172
21173         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21174
21175 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21176
21177         * tree.h (lang_identify): Constify a char*.
21178         (print_error_function): Add extern prototype.  Constify a char*.
21179
21180         * c-lang.c (lang_identify): Constify a char*.
21181
21182         * objc/objc-act.c (lang_identify): Constify a char*.
21183
21184 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21185
21186         * genpeep.c (main): Make generated file include "function.h".
21187         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21188
21189 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21190
21191         * Makefile.in: Update dependencies.
21192         * alias.c: Include "function.h"
21193         * c-decl.c: Likewise.
21194         * caller-save.c: Likewise.
21195         * calls.c: Likewise.
21196         * combine.c: Likewise.
21197         * cse.c: Likewise.
21198         * explow.c: Likewise.
21199         * final.c: Likewise.
21200         * global.c: Likewise.
21201         * graph.c: Likewise.
21202         * local-alloc.c: Likewise.
21203         * loop.c: Likewise.
21204         * optabs.c: Likewise.
21205         * profile.c: Likewise.
21206         * recog.c: Likewise.
21207         * regclass.c: Likewise.
21208         * regmove.c: Likewise.
21209         * reload.c: Likewise.
21210         * reorg.c: Likewise.
21211         * resource.c: Likewise.
21212         * sched.c: Likewise.
21213         * stupid.c: Likewise.
21214         * config/1750a/1750a.c: Likewise.
21215         * config/a29k/a29k.c: Likewise.
21216         * config/arc/arc.c: Likewise.
21217         * config/arm/arm.c: Likewise.
21218         * config/arm/thumb.c: Likewise.
21219         * config/c4x/c4x.c: Likewise.
21220         * config/clipper/clipper.c: Likewise.
21221         * config/convex/convex.c: Likewise.
21222         * config/fx80/fx80.c: Likewise.
21223         * config/i860/i860.c: Likewise.
21224         * config/m68k/m68k.c: Likewise.
21225         * config/m88k/m88k.c: Likewise.
21226         * config/mips/mips.c: Likewise.
21227         * config/pdp11/pdp11.c: Likewise.
21228         * config/pyr/pyr.c: Likewise.
21229         * config/romp/romp.c: Likewise.
21230         * config/sh/sh.c: Likewise.
21231         * config/tahoe/tahoe.c: Likewise.
21232         * config/vax/vax.c: Likewise.
21233         * config/we32k/we32k.c: Likewise.
21234         * config/sparc/sparc.c: Include "function.h".
21235         (mem_min_alignment): Test current_function rather than
21236         regno_pointer_align.
21237         * config/pa/pa.c: Likewise.
21238         (compute_frame_size): Delete declaration of
21239         current_function_outgoing_args_size.
21240         * config/arc/arc.h (current_function_varargs): Delete declaration.
21241         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21242         declaration.
21243         * config/i370/i370.h (current_function_outgoing_args_size): Delete
21244         declaration.
21245         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21246         current_function_uses_pic_offset_table.
21247         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21248         of current_function_returns_pointer.
21249         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21250         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21251         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21252         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21253         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21254         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21255         * config/m88k/m88k.c: Include "function.h"
21256         (call_used_regs, current_function_pretend_args_size,
21257         current_function_outgoing_args_size, frame_pointer_needed): Delete
21258         declarations.
21259         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21260         declaration.
21261         * config/mips/mips.h (current_function_calls_alloca): Delete
21262         declaration.
21263         * config/mn10200/mn10200.h (current_function_needs_context,
21264         rtx_equal_function_value_matters): Delete declarations.
21265         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21266         flag_pic): Delete declarations.
21267         * config/pa/pa.h (current_function_pretend_args_size,
21268         current_function_decl): Delete declarations.
21269         * config/pa/som.h (current_function_varargs): Delete declaration.
21270         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21271         declaration.
21272         * config/pyr/pyr.h (current_function_pretend_args_size,
21273         current_function_args_size, current_function_calls_alloca): Delete
21274         declarations.
21275         * config/sh/sh.h (current_function_varargs): Delete declaration.
21276         * config/sparc/sparc.h (current_function_outgoing_args_size,
21277         current_function_calls_alloca, current_function_decl): Delete
21278         declarations.
21279         * config/spur/spur.h (current_function_pretend_args_size,
21280         current_function_calls_alloca): Delete declarations.
21281         * config/v850/v850.c (current_function_outgoing_args_size): Delete
21282         declaration.
21283         * config/vax/vms.h (current_function_name): Delete declaration.
21284         * gcse.c: Include "function.h".
21285         (current_function_name, current_function_calls_setjmp): Delete
21286         declarations.
21287         * haifa-sched.c: Include "function.h".
21288         (forced_labels): Delete declaration.
21289         * jump.c: Likewise.
21290         * reg-stack.c: Likewise.
21291         * reload1.c: Likewise.
21292         * genemit.c (main): Make generated file include function.h.
21293         * genoutput.c (output_prologue): Likewise.
21294
21295         * builtins.c (saveregs_value, apply_args_value): Delete variables.
21296         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21297         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21298         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21299         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
21300         macros for some of them.
21301         (emit_filename, emit_lineno): Delete declarations.
21302         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
21303         regno_pointer_* variables through current_function.
21304         (gen_inline_header_rtx): Delete function.
21305         (save_emit_status): Delete function.
21306         (set_new_last_label_num): New function.
21307         (clear_emit_caches): New function.
21308         (restore_emit_status): Just clear last_labelnum and call
21309         clear_emit_caches.
21310         (get_last_insn_anywhere): Variable sequence_stack is now accessed
21311         through macro seq_stack.
21312         (add_insn_after): Likewise.
21313         (add_insn_before): Likewise.
21314         (remove_insn): Likewise.
21315         (pop_topmost_sequence): Likewise.
21316         (in_sequence_p): Likewise.
21317         (start_sequence_for_rtl_expr): Likewise.
21318         (start_sequence): Likewise, and likewise for
21319         sequence_rtl_expr/seq_rtl_expr.
21320         (push_topmost_sequence): Likewise.
21321         (end_sequence): Likewise.
21322         (init_virtual_regs): Now takes a "struct emit_status *" argument.
21323         All callers changed.  Store into that pointer instead of globals.
21324         (init_emit): Allocate emit elt of current_function.
21325         Changes for sequence_rtl_expr/sequence_stack renaming.
21326         Call clear_emit_caches instead of doing it in-line.
21327         Access regno_pointer_* variables through current_function.
21328         (init_emit_once) Don't clear sequence_stack.
21329
21330         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21331         Delete variables.
21332         (arg_pointer_save_area): Delete declaration.
21333         (finish_expr_for_function): Renamed from init_queue; no longer static.
21334         (init_expr): Don't call init_queue.
21335         (save_expr_status, restore_expr_status): Delete functions.
21336         (expand_expr): Changes to reflect new layout of struct function.
21337         Don't access current_function_check_memory_usage when current_function
21338         is 0.
21339         * expr.h (forced_labels, save_expr_regs, saveregs_value,
21340         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21341         current_function_outgoing_args_size, current_function_arg_offset_rtx,
21342         current_function_uses_const_pool, function_call_count,
21343         current_function_uses_pic_offset_table, nonlocal_labels,
21344         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21345         current_function_check_memory_usage, nonlocal_goto_handler_slots,
21346         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21347         declarations.
21348         (finish_expr_for_function): Declare.
21349         * flags.h (current_function_has_nonlocal_label,
21350         current_function_has_nonlocal_goto, current_function_is_thunk,
21351         current_function_has_computed_jump): Delete declarations.
21352         * flow.c (forced_labels): Delete declaration.
21353         * function.c (current_function_pops_args,
21354         current_function_returns_struct, current_function_returns_pcc_struct,
21355         current_function_needs_context, current_function_calls_setjmp,
21356         current_function_calls_longjmp, current_function_has_nonlocal_label,
21357         current_function_has_nonlocal_goto, current_function_is_thunk,
21358         current_function_has_computed_jump, current_function_calls_alloca,
21359         current_function_contains_functions, current_function_returns_pointer,
21360         current_function_epilogue_delay_list, current_function_args_size,
21361         current_function_pretend_args_size, current_function_arg_offset_rtx,
21362         current_function_outgoing_args_size, current_function_varargs,
21363         current_function_stdarg, current_function_args_info, cleanup_label,
21364         current_function_name, current_function_uses_const_pool,
21365         current_function_instrument_entry_exit, current_function_return_rtx,
21366         current_function_uses_pic_offset_table, nonlocal_labels,
21367         current_function_internal_arg_pointer, current_function_cannot_inline,
21368         current_function_check_memory_usage, function_call_count,
21369         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21370         nonlocal_goto_stack_level, return_label, save_expr_regs,
21371         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21372         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21373         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21374         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21375         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21376         Delete variables.
21377         (push_function_context_to): Don't save them.  Don't call
21378         save_storage_status, save_emit_status or save_expr_status.
21379         (pop_function_context_from): Don't restore them.  Don't call
21380         restore_storage_status or restore_expr_status.
21381         (get_func_frame_size): New function.
21382         (get_frame_size): Use it.
21383         (assign_outer_stack_local): Reflect some member name changes in struct
21384         function.
21385         (put_reg_into_stack): Likewise.
21386         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21387         seq_rtl_expr.
21388         (fixup_var_refs): Likewise.
21389         (fix_lexical_addr): Likewise.
21390         (trampoline_address): Likewise.
21391         (prepare_function_start): Clear field inlinable of current_function.
21392         (init_function_for_compilation): New function.
21393         (expand_dummy_function_end): New function.
21394         (expand_function_end): Call finish_expr_for_function.
21395         * function.h (struct emit_status): New; fields moved here from struct
21396         function and from global variables.  Add accessor macros for some of
21397         the fields.
21398         (struct expr_status): Likewise.
21399         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21400         (struct function): Add fields expr and emit, inlinable, inl_emit,
21401         original_arg_vector, original_decl_initial, inl_last_parm_insn,
21402         inl_max_label_num.  Add many comments.
21403         Add accessor macros for all elts of struct function that no longer
21404         have a global variable.
21405         (cleanup_label, return_label, frame_offset, tail_recursion_label,
21406         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21407         stack_slot_list): Delete declarations.
21408         (get_func_frame_size): Declare.
21409         (save_expr_status, restore_expr_status, save_emit_status,
21410         save_storage_status, restore_storage_status): Delete declarations.
21411         (init_virtual_regs): Declare.
21412         * output.h (current_function_pops_args,
21413         current_function_returns_struct, current_function_returns_pcc_struct,
21414         current_function_needs_context, current_function_calls_setjmp,
21415         current_function_calls_longjmp, current_function_calls_alloca,
21416         current_function_has_nonlocal_label, current_function_varargs,
21417         current_function_has_computed_jump, current_function_returns_pointer,
21418         current_function_contains_functions, current_function_args_size,
21419         current_function_pretend_args_size, current_function_stdarg,
21420         current_function_outgoing_args_size, current_function_args_info,
21421         current_function_name, current_function_return_rtx,
21422         current_function_epilogue_delay_list,
21423         current_function_uses_const_pool, current_function_cannot_inline):
21424         Delete declarations.
21425         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21426         regno_reg_rtx): Delete declaration.
21427         (REGNO_POINTER_FLAG): Delete macro.
21428         * stmt.c (expand_goto): Changes to reflect that some fields in struct
21429         function were renamed.
21430         * stor-layout.c (save_storage_status, restore_storage_status): Delete
21431         functions.
21432         * toplev.c: Include "function.h".
21433         (current_function_decl): Delete declaration.
21434         (compile_file): Call init_dummy_function_start and
21435         expand_dummy_function_end around some initializations that need to
21436         emit rtl.
21437         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21438         Call init_function_for_compilation.
21439         * unroll.c: Include "function.h"
21440         (unroll_loop): Access regno_pointer_* variables through
21441         current_function.
21442
21443         * tree.h (struct tree_decl): Add elt f to saved_insns member.
21444         (DECL_SAVED_INSNS): use it.
21445         (expand_dummy_function_end): Declare.
21446         (init_function_for_compilation): Declare.
21447         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21448         that it's no longer an INLINE_HEADER.
21449         (expand_call): Likewise.
21450         * integrate.c (finish_inline): Delete function.
21451         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21452         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21453         args.  Don't generate an INLINE_HEADER rtx, just return the arg
21454         vector.  All callers changed.
21455         (save_for_inline_copying):  Create a duplicate struct emit_status to
21456         hold the emit state for compiling the current function.  Use this and
21457         the other new fields in struct function that are for integration
21458         instead of an INLINE_HEADER.
21459         Use memcpy instead of bcopy.
21460         Store the current struct function in DECL_SAVED_INSNS of fndecl.
21461         (save_for_inline_nocopy): Similar changes, except no new emit_status
21462         is needed here.
21463         (expand_inline_function): Get information from function structure,
21464         not from an inline header rtx.
21465         (output_inline_function): Lose code to extract the necessary
21466         information from an inline header; simply put back the function
21467         structure into current_function.  Clear its inlinable elt.
21468         * rtl.def (INLINE_HEADER): Delete.
21469         * rtl.h: Delete all accessors for an INLINE_HEADER.
21470         (gen_inline_header_rtx): Delete declaration.
21471         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21472         Delete declarations.
21473         (REGNO_POINTER_ALIGN): Delete.
21474         (clear_emit_caches): Declare.
21475         (set_new_last_label_num): Declare.
21476
21477 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
21478
21479         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21480
21481         * except.c (expand_eh_region_start_for_decl): Always start a new block.
21482         * stmt.c (is_eh_region): Make sure current_function is present, too.
21483
21484 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
21485
21486         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21487         for 64bit PA targets.
21488
21489         * pa.h (SELECT_SECTION): Define.
21490         * som.h (SELECT_SECTION): Delete.
21491
21492 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21493
21494         * alias.c (init_alias_analysis): Wrap call to
21495         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21496
21497 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
21498
21499         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
21500         <sys/asm.h> contains an asm comment with an apostrophe
21501         * fixinc/inclhack.sh:  regen
21502         * fixinc/fixincl.x:  regen
21503
21504 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
21505
21506         * function.c (init_function_start): Clear prologue & epilogue.
21507         (prologue_epilogue_contains): New function.
21508         * alias.c (init_alias_analysis): Use it.
21509         * rtl.h (prologue_epilogue_contains): Declare it.
21510
21511 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
21512
21513         * jump.c (onlyjump_p): New function.
21514         * rtl.h: Declare it.
21515         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21516         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21517
21518 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
21519
21520         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21521         to invert loops.  Simplify block scanning.
21522
21523 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21524
21525         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21526         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21527
21528 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
21529
21530         * config/sparc/liteelf.h: New file to support sparclite-elf target
21531         * config/sparc/t-sp86x: New file to support sparc86x targets
21532         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21533         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21534         * configure.in: Support above target triplets
21535         * configure: Regenerated
21536
21537 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
21538
21539         * fixinc/server.c (server_setup): Do not prefix function used as
21540         parameter with `&'.
21541
21542 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
21543
21544         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21545         Remove fp reg alternatives.
21546
21547 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
21548
21549         * Makefiin (TAROUTOPTS): Kill.
21550         (install-headers-tar): Use "xpf" for tar headerfile extraction
21551         * i370/x-oe (TAROUTOPTS): Delete.
21552         * m68k/x-apollo68 (TAROUTOPTS): Delete.
21553         * m68k/x-hp320 (TAROUTOPTS): Delete.
21554         * m68k/x-hp320g (TAROUTOPTS): Delete.
21555         * gcc.texi: Update bug reporting text.
21556
21557 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21558
21559         * reg-stack.c (change_stack) Fixed problem with negative array index.
21560
21561 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21562
21563         * extend.texi, install.texi: Fix spelling mistakes.
21564
21565         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21566         (s-attrtab); No longer try to use pre-made insn-attrtab file.
21567         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21568         PREMADE_ATTRTAB_MD.
21569         * mips/t-ecoff: Likewise.
21570         * mips/t-elf: Likewise.
21571         * mips/t-mips: Likewise.
21572         * mips/t-osfrose: Likewise.
21573         * mips/t-r3900: Likewise.
21574         * mips/t-svr3: Likewise.
21575         * mips/t-svr4: Likewise.
21576         * mips/t-ultrix: Likewise.
21577
21578         * gcc.texi: Document recommend means to provide software floating
21579         point libraries in libgcc.a
21580
21581 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
21582
21583         * c-lex.c (yylex): We can have a number with no digits.
21584
21585 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
21586
21587         * jump.c (delete_prior_computation): New function, broken
21588         out of delete_computation.  Check for side effects with
21589         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
21590         multi-word hard registers.
21591         (delete_computation): Use it.  Check for side effects with
21592         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
21593         missing REG_DEAD note for a register which is both set and
21594         used by an insn.
21595
21596 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
21597
21598         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21599         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21600         (ASM_FILE_START): Import _mcount with the right type.
21601         (ASM_DECLARE_FUNCTION_NAME): Define.
21602         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21603         * pa.c (output_function_prologue): Always emit the function's label
21604         here.
21605         * pa.h (TEXT_SPACE_P): Define.
21606         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21607         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21608         * som.h (TEXT_SPACE_P): Delete.
21609         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21610         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21611
21612 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
21613
21614         * expr.c (emit_group_load): Allow src to be a CONCAT.
21615
21616 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21617
21618         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21619         (___mulsi3): Use '!' comment character.
21620
21621 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21622
21623         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21624
21625 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
21626
21627         * gcc.c: Update URLs and mail addresses.
21628         * gcc.texi: Likewise.
21629
21630 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
21631
21632         * rs6000.c (current_file_function_operand): Return zero for
21633         weak functions.
21634         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21635         weak symbols.
21636         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21637         for weak symbols.
21638
21639 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
21640
21641         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21642         allocate space in the stack frame for the PIC register.
21643
21644 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
21645
21646         * m68k.md (xordi3, anddi3): These patterns are not available on
21647         the coldfire.
21648
21649 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
21650
21651         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21652         (PUT_REAL): Likewise.
21653
21654 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21655
21656         * final.c (shorten_branches): Don't add an alignment for loops
21657         that have no label inside.
21658
21659 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21660
21661         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21662         prototypes in macro HAVE_cmpstrsi.
21663
21664         * cpplib.c (cpp_get_token): Remove unused label `op3'.
21665
21666         * emit-rtl.c (operand_subword): Remove unused variable
21667         `bits_per_word'.
21668
21669         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21670
21671         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21672
21673 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
21674
21675         * cpphash.c (macroexpand): Delete leading whitespace when arg
21676         is concatenated before.
21677         (unsafe_chars): Correct test for whether + and - can extend a
21678         token.
21679
21680         * cppinit.c (cpp_start_read): Do dependencies for
21681         -include/-imacros files also.
21682
21683         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21684         tokenizing non-directive lines.
21685         (cpp_expand_to_buffer): Temporarily disable no-output mode.
21686         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21687         the input file.
21688
21689 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21690
21691         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21692
21693         * c-lex.c: Sync with C++ frontend.
21694         (linemode): New variable.
21695         (parse_float): imag, conversion_errno, and type are output only.
21696         (yylex): Adjust.  Move initial '.' case into main switch.
21697         Use linemode.
21698         (handle_generic_pragma): Just deal with tokens.
21699         (readescape): Use ISXDIGIT and ISGRAPH.
21700         * c-parse.in: Add END_OF_LINE token.
21701
21702         * c-lex.c (lang_init): Generalize.
21703         (nextchar): Remove.  Replace uses with UNGETC.
21704         (skip_white_space): Handle linemode here.  Optimize for cpplib.
21705         (skip_white_space_on_line): Remove.
21706         (extend_token_buffer_to): New fn.
21707         (extend_token_buffer): Use it.
21708         (read_line_number, check_newline): Just deal with tokens.
21709         (token_getch, token_put_back): New fns.
21710         (yylex): Use them.  More cpplib optimizations.  Simplify.
21711
21712 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21713                           Jason Merrill  <jason@yorick.cygnus.com>
21714
21715         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21716         (consume_string): Make this smart about USE_CPPLIB.
21717         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21718         (yylex): Rewrite to be intelligent about USE_CPPLIB.
21719         Also, clean up cases where we redundantly set token_buffer[0].
21720         (read_line_number): New fn.
21721         (ignore_escape_flag): New variable.
21722
21723 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
21724
21725         * a29k/t-a29kbare: Fix some comments.
21726         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21727         (FPBIT, DPBIT): Define.
21728         * a29k/t-vx29k: Likewise.
21729         * arc/t-arc: Likewise.
21730         * arm/t-arm-elf: Likewise.
21731         * arm/t-bare: Likewise.
21732         * arm/t-pe: Likewise.
21733         * arm/t-pe-thumb: Likewise.
21734         * arm/t-semi: Likewise.
21735         * arm/t-thumb: Likewise.
21736         * arm/t-thumb-elf: Likewise.
21737         * arm/t-thumb-linux: Likewise.
21738         * h8300/t-h8300: Likewise.
21739         * i960/t-i960: Likewise.
21740         * i960/t-vxworks960: Likewise.
21741         * m32r/t-m32r: Likewise.
21742         * mips/t-ecoff: Likewise.
21743         * mips/t-elf: Likewise.
21744         * mips/t-r3900: Likewise.
21745         * pa/t-pro: Likewise.
21746         * rs6000/t-aix43: Likewise.
21747         * rs6000/t-beos: Likewise.
21748         * rs6000/t-newas: Likewise.
21749         * rs6000/t-ppccomm: Likewise.
21750         * rs6000/t-rs6000: Likewise.
21751         * rs6000/t-winnt: Likewise.
21752         * rs6000/t-xnewas: Likewise.
21753         * rs6000/t-xrs6000: Likewise.
21754         * sh/t-sh: Likewise.
21755         * sparc/t-elf: Likewise.
21756         * sparc/t-sparcbare: Likewise.
21757         * sparc/t-sparclite: Likewise.
21758         * sparc/t-splet: Likewise.
21759         * v850/t-v850: Likewise.
21760         * mn10200/t-mn10200: Fix comments.
21761         * mn10300/t-mn10300: Likewise.
21762
21763         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21764         dummy operand.  Allocate a new pseudo for the dummy operand.
21765         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21766
21767         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21768
21769 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
21770
21771         * configure: Rebuilt.
21772         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21773
21774 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
21775
21776         * recog.c (preproces_constraints): Zero recog_op_alt before
21777         processing the constraints.
21778
21779         * arm.c (typedef minipool_node): Renamed from pool_node.
21780         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21781         (add_minipool_constant): New function.
21782         (dump_minipool): New function.
21783         (find_barrier): Remove special case for getting the insn size of
21784         an insn that references the constant pool.
21785         (minipool_fixup): New structure.
21786         (push_minipool_barrier): New function.
21787         (push_minipool_fix): New function.
21788         (note_invalid_constants): New function.
21789         (add_pool_constant, dump_table, fixit, broken_move): Delete.
21790         (arm_reorg): Rewrite code to fix up the constant pool into a
21791         series of mini-pools embedded in the insn stream.
21792         (arm_output_epilogue): New function, made mainly from the body
21793         of output_func_epilogue.
21794         (output_func_epilogue): Move insn generation part of epilogue code
21795         to arm_output_epilogue.
21796         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21797         * arm.md (pool_range): New attribute.
21798         (zero_extendqidi2): Add attribute pool_range.
21799         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21800         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21801         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21802         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21803         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21804         (epilogue): New expand.
21805         (epilogue_insn): New insn.  Call arm_output_epilogue.
21806
21807         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
21808         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21809
21810 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21811
21812         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21813
21814 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21815
21816         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
21817
21818 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
21819
21820         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21821
21822 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
21823
21824         * global.c: Fix comment.
21825
21826 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
21827
21828         * gcc.c (access_check): New static function.
21829         (find_a_file): Use it when searching a directory list.
21830         * collect2.c (find_a_file): Don't accept directories found when
21831         searching a directory list.
21832
21833 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
21834
21835         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21836         function parameters with `&'.
21837         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21838
21839 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21840
21841         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21842         or tidy_fallthru_edge if the last insn in the block is not
21843         an unconditional jump or a simple conditional jump.
21844
21845 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21846
21847         * Makefile.in (c-decl.o): Depends on defaults.h.
21848
21849 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
21850
21851         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21852         PA1.1 and above.
21853         (CLASS_MAX_NREGS): Likewise.
21854
21855 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
21856
21857         * cse.c (cse_insn): Fix dumb thinko in last change.
21858
21859 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21860
21861         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21862         "const char *".
21863
21864 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21865
21866         * dwarf2out.c (add_location_or_const_value_attribute): Correct
21867         test for sizes of passed and declared parameter types.
21868
21869 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21870
21871         * fixincludes: Fix the return type of bsearch, char* -> void*.
21872
21873         * fixinc/inclhack.def: Likewise.
21874
21875 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
21876
21877         * invoke.texi (-fdump-translation-unit): New option.
21878
21879 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
21880
21881         * expr.h (PROMOTE_PROTOTYPES): Move ...
21882         * defaults.h: ... to here.
21883         * c-decl.c: Include defaults.h instead of expr.h.
21884         * c-typeck.c: Include defaults.h.
21885
21886 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
21887
21888         * toplev.h (errorcount): Declare.
21889         (warningcount): Likewise.
21890         (sorrycount): Likewise.
21891         * c-lex.c (errorcount): Don't declare.
21892         * dwarf2out.c (errorcount): Don't declare.
21893
21894 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
21895
21896         * config/libgloss.h: Add a note discouraging use with ELF.
21897         * configure.in: Don't use libgloss.h for ELF targets.
21898         Always use_collect2 on a.out targets.
21899
21900 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
21901
21902         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
21903         (force_to_mode, case ASHIFTRT): Add shiftrt label.
21904
21905 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21906
21907         * loop.c (strength_reduce): When doing biv->giv conversion, update
21908         reg note of NEXT->insn.
21909
21910 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21911
21912         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
21913
21914 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21915
21916         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
21917         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
21918         Ensure expr.h is included.
21919         * c-typecheck.c (convert_arguments): Ditto.
21920
21921         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
21922
21923         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
21924         * config/convex/convex.h: Ditto.
21925         * config/dsp16xx/dsp16xx.h: Ditto.
21926         * config/fx80/fx80.h: Ditto.
21927         * config/gmicro/gmicro.h: Ditto.
21928         * config/i370/i370.h: Ditto.
21929         * config/i386/i386.h: Ditto.
21930         * config/m32r/m32r.h: Ditto.
21931         * config/m68k/m68k.h: Ditto.
21932         * config/m88k/m88k.h: Ditto.
21933         * config/mips/mips.h: Ditto.
21934         * config/pa/pa.h: Ditto.
21935         * config/pyr/pyr.h: Ditto.
21936         * config/tahoe/tahoe.h: Ditto.
21937         * config/we32k/we32k.h: Ditto.
21938
21939         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
21940         based on arch size.
21941
21942         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
21943
21944         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
21945         from comment.
21946
21947         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
21948
21949 1999-08-02  Richard Henderson  <rth@cygnus.com>
21950
21951         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
21952         for the register spill block.
21953         (m32r_va_arg): New.
21954         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
21955         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
21956
21957         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
21958         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
21959         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
21960
21961 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21962
21963         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
21964         MAX_WCHAR_TYPE defined in sparc.h.
21965         * config/sparc/linuxaout.h: Likewise.
21966         * config/sparc/linux64.h: Likewise.
21967         Also default to -mvis if CPU is UltraSPARC.
21968
21969 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21970
21971         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
21972         (RTX_OK_FOR_OLO10): Likewise.
21973         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
21974         %lo(), allow it in addresses...
21975         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
21976         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
21977         does not make sense.
21978         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
21979         (sparc_output_scratch_registers): New function.
21980         (output_function_prologue, sparc_flat_output_function_prologue): Use
21981         it.
21982         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
21983         defined.
21984         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
21985         * configure.in: Add check for .register pseudo-op support in as and
21986         check for offsetable %lo().
21987         * acconfig.h: Add templates for the above checks.
21988         * configure: Regenerate.
21989
21990 1999-08-02  Richard Henderson  <rth@cygnus.com>
21991
21992         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
21993         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
21994         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
21995
21996 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21997
21998         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21999         reg_biv_class.
22000
22001 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22002
22003         * config/float-sparc.h: New file.
22004         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22005         sparc-*-linux-gnu and sparc64-*-linux*.
22006
22007 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22008
22009         * rs6000.c (rs6000_va_list): Type is an array.
22010         (rs6000_va_start): Don't doubly adjust for varargs.
22011         (rs6000_va_arg): Evaluate long long GPR adjustment.
22012
22013 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
22014
22015         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22016         -maix64 and -maix32.
22017         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22018         LINK_SPEC): Change appropriately.
22019         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22020         (u_short_cint_operand): Likewise.
22021         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22022         for 64-bit hosts.
22023         * rs6000/t-aix43 (MULTILIB): Change to -m64.
22024
22025         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22026
22027 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
22028
22029         * rs6000/rs6000.c (num_insns_constant_wide): Correct
22030         for type promotion.
22031         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22032         (non_add_cint_operand): Likewise.
22033         (logical_operand): Likewise.
22034         (non_logical_cint_operand): Likewise.
22035         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22036         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22037         (rs6000_select_rtx_section): Suppress warning.
22038         (small_data_operand): Suppress warning.
22039         (rs6000_got_register): Suppress warning.
22040         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22041         type, so `J' is generally the wrong constraint for a SImode value;
22042         use `L' instead.
22043         (andsi3_internal2): Likewise.
22044         (andsi3_internal3): Likewise.
22045         (iorsi3_internal1): Likewise.
22046         (xorsi3_internal1): Likewise.
22047         (movsi): Likewise.
22048         (movsf_softfloat): Likewise.
22049         (scc insns): Likewise.
22050         (movsi+2): Preserve sign bits of SImode constant.
22051         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22052         (movdf+1): Sign-extend properly.
22053         (movdi_32+1): Sign-extend properly.
22054         (scc insns): Sign-extend properly.
22055
22056         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22057         K, L, and T.
22058
22059 1999-08-02  Richard Henderson  <rth@cygnus.com>
22060
22061         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22062         -mcpu parsing code.
22063         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22064         * alpha.md (all fp insns): Likewise.
22065
22066 1999-08-02  Nick Clifton  <nickc@cygnus.com>
22067
22068         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22069         already defined.
22070
22071 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
22072
22073         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
22074         pic_load_label generator directly.
22075         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
22076         No longer a named pattern.
22077
22078 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
22079
22080         * explow.c (force_reg): Call force_operand if X does not
22081         satisfy general_operand.
22082
22083 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
22084
22085         * fix-header.c (main): When testing for CONTINUED, use string
22086         equality, not pointer equality.
22087
22088 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
22089
22090         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22091
22092 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
22093
22094         * cse.c (cse_insn): Fix loop which deletes insns after a jump
22095         that has become an unconditional jump.
22096
22097         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22098         (output_function_epilogue): Similarly.
22099
22100 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22101
22102         * tree.h (init_dummy_function_start): Declare.
22103
22104 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22105
22106         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22107         last_expr_type, last_expr_value, block_start_count, block_stack,
22108         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22109         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22110         dynamically in stmt elt of struct function for each function.
22111         (struct nesting): Rename function_call_count elt to n_function_calls,
22112         target_temp_slot_level to block_target_temp_slot_level.  All users
22113         changed.
22114         (struct stmt_status): New structure definition.
22115         Add many accessor macros for stmt_status elements which previously
22116         were global variables.
22117         (init_stmt_for_function): Allocate stmt elt for current_function.
22118         Reflect that block_start_count was renamed to
22119         current_block_start_count.
22120         (save_stmt_status, restore_stmt_status): Delete functions.
22121         (preserve_subexpressions_p): Don't access loop_stack when outside
22122         a function.
22123         (expand_start_bindings): Reflect that block_start_count was renamed to
22124         current_block_start_count.
22125         (expand_fixup): Likewise.
22126         (expand_decl): Don't access block_stack when outside a function.
22127         (expand_decl_cleanup): Likewise.
22128         (expand_dcc_cleanup): Likewise.
22129         (expand_dhc_cleanup): Likewise.
22130         (expand_anon_union_decl): Likewise.
22131         (set_file_and_line_for_stmt): New function.
22132         (in_control_zone_p): New function.
22133
22134         * function.h (struct function): Add new elt stmt.
22135         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22136         case_stack, nesting_stack, nesting_depth, block_start_count,
22137         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22138         emit_lineno, goto_fixup_chain.
22139         (save_eh_status, restore_eh_status, save_stmt_status,
22140         restore_stmt_status): Delete declarations.
22141         * function.c (push_function_context_to): Don't call save_stmt_status.
22142         (pop_function_context_to): Don't call restore_stmt_status.
22143         * tree.h (in_control_zone_p): Declare.
22144         * rtl.h (set_file_and_line_for_stmt): Declare.
22145
22146         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22147         call set_file_and_line_for_stmt.
22148
22149 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
22150
22151         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22152         Also update copyright.
22153
22154 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22155
22156         * c-pragma.c: Don't include "except.h".
22157         * emit-rtl.c: Likewise.
22158         * stor-layout.c: Likewise.
22159         * tree.c: Likewise.
22160         * varasm.c: Likewise.
22161
22162         * flow.c: Include "function.h".
22163         * tree.h (init_dummy_function_start): Declare new function.
22164
22165         * except.h (struct eh_status): New structure.
22166         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22167         been included.
22168         (eh_return_stub_label, ehstack, catchstack, ehqueue,
22169         catch_clauses, false_label_stack, caught_return_label_stack,
22170         protect_list, current_function_ehc): Add accessor macros for the
22171         corresponding fields in current_function->eh; delete declarations
22172         for all items that used to be declared here.
22173         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22174         catch_clauses, false_label_stack, caught_return_label_stack,
22175         protect_list, current_function_ehc): Delete variables.
22176         (init_eh_for_function): Allocate current_function->eh.
22177         (save_eh_status, restore_eh_status): Delete functions.
22178
22179         * function.h (struct function): Add fields next_global and eh.
22180         Delete all exception handling related fields.
22181         * function.c (current_function): New variable.
22182         (all_functions): New variable.
22183         (push_function_context_to): Don't allocate a struct function,
22184         use current_function instead.  Call init_dummy_function_start when
22185         outside a function.  Clear current_function before returning.
22186         (pop_function_context_from): Restore current_function.
22187         Don't free the restored struct function.
22188         (prepare_function_start): New function.
22189         (init_dummy_function_start): New function.
22190         (init_function_start): Break out some code into prepare_function_start
22191         and call it here.
22192
22193         * stmt.c (save_stmt_status): Don't call save_eh_status.
22194         (restore_stmt_status): Don't call restore_eh_status.
22195
22196         * Makefile.in: Update dependencies.
22197
22198 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
22199
22200         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22201         of depending on a magic constant value.  Update comments.
22202         (hppa_expand_prologue): Similarly.
22203
22204         * pa.md (reload_indi, reload_outdi): Allow any register for the
22205         original reload register.
22206
22207 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
22208
22209         * cccp.c (print_help): Change marcos to macros.
22210
22211 1999-07-30  Richard Henderson  <rth@cygnus.com>
22212
22213         * c-typeck.c (initializer_constant_valid_p): Move ...
22214         * c-common.c (initializer_constant_valid_p): ... here.  Use
22215         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
22216         of label addresses.
22217         * c-common.h (initializer_constant_valid_p): Declare.
22218         * c-tree.h (initializer_constant_valid_p): Remove.
22219
22220 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
22221
22222         * config/i386/sol2-c1.asm: Align the stack.
22223         * config/i386/sol2-gc1.asm: Likewise.
22224
22225 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
22226
22227         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22228         -Asparclite for sparc86x.
22229         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22230         sparc86x.
22231         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22232
22233 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22234
22235         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22236         the user if using the non-default arch size in BI_ARCH configuration.
22237         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22238
22239         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22240         Fix patterns so that they actually match.
22241         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22242         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22243         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22244         TARGET_HARD_MUL32.
22245         (mulsidi3): Reflect this in the expand.
22246         (smulsi3_highpart): Only on TARGET_ARCH32.
22247         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22248         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22249         (umulsidi3): Reflect this in the expand.
22250         (umulsi3_highpart): Only on TARGET_ARCH32.
22251         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22252         don't require g0 to be zero.
22253         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22254         ({,u}divsi3): New expands.
22255         ({,u}divsi3_sp64): New patterns.
22256         (after lshrdi3_v8plus): Four new patterns to help combiner
22257         optimizing nested mixed mode shifts.
22258
22259         * config/sparc/sparc.c (sparc_override_options): Use deprecated
22260         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22261         speed things up. Don't use them by default on plain v9 in 64bit
22262         mode, according to what SPAMv9 sais.
22263
22264         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22265         top 32 bits of %[og][0-7] in signal handlers.
22266         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22267
22268 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
22269
22270         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22271         (ashlsi3): Corresponding changes.
22272
22273         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22274
22275 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
22276
22277         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22278
22279 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22280
22281         * arm.h (Hint): Delete macro.
22282         Substitute HOST_WIDE_INT for Hint in some prototypes.
22283         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22284
22285 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
22286
22287         * builtins.c (expand_builtin_setjmp): Use force_operand to
22288         make sure that the buffer address is in a suitable form to be
22289         passed to force_reg.
22290
22291 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
22292
22293         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22294         them here.
22295
22296 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
22297
22298         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
22299         proper mode in the condition string.
22300         (icacheflush, dcacheflush): Remove modes from match_operands.
22301
22302         * pa.c (emit_move_sequence): Always convert scratch_reg to the
22303         proper mode before using it.
22304
22305         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22306         pair.
22307
22308         * pa.c (store_reg): Do not call add_high_const generator directly.
22309         (load_reg, set_reg_plus_d): Likewise.
22310         * pa.md (add_high_const): No longer a named pattern.
22311
22312         * pa.c (legitimize_address): Consistently use Pmode rather than
22313         SImode.  Do not call gen_pic2_highpart directly anymore.
22314         * pa.md (pic2_highpart): No longer a named pattern.
22315         (pic2_lo_sum): Similarly.  Reformat to make more readable.
22316
22317         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22318         needed.
22319
22320         * README: Update.
22321
22322 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22323
22324         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22325
22326 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
22327
22328         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
22329         and tag the spill mems.
22330         (hppa_va_start): New.
22331         (hppa_va_arg): New.
22332         * pa.h (EXPAND_BUILTIN_VA_START): New.
22333         (EXPAND_BUILTIN_VA_ARG): New.
22334
22335 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
22336
22337         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22338         and tag the spill mems.
22339         (mn10300_va_start): New.
22340         (mn10300_va_arg): New.
22341         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22342         (EXPAND_BUILTIN_VA_ARG): New.
22343
22344 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
22345
22346         * mn10200.c (mn10200_va_arg): New.
22347         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22348
22349 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
22350
22351         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22352         rather than play with TREE_INT_CST_LOW.
22353
22354 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
22355
22356         * config/arm/telf.h: Include dbxelf.h.
22357         (CPP_PREDEFINES): Only define if not already defined.
22358         (ASM_IDENTIFY_GCC): Likewise.
22359         (SUBTARGET_EXTRA_SECTIONS): Likewise.
22360         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22361         * config/arm/thumb.h (LINK_SPEC): Only define if not already
22362         defined.
22363         (DBX_DEBUGGING_INFO): Don't define.
22364         * config/arm/linux-telf.h: New file.
22365         * config/arm/linux-tgas.h: New file.
22366         * config/arm/t-thumb-linux: New file.
22367         * config/arm/uclinux-elf.h: New file.
22368         * config/arm/uclinux-telf.h: New file.
22369         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22370         thumb-*-uclinux): New targets.
22371         * configure: Regenerate.
22372
22373 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
22374
22375         * pa.md (post_store, pre_load): New expanders.
22376         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22377         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22378         need to directly generate RTL for them.
22379         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22380         changes.
22381
22382 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
22383
22384         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22385         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22386         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22387         (secndary_reload_class): Make TARGET_ELF conditional compile.
22388         (print_operand_address): Similar.
22389         (output_toc): Print all values as hex.
22390         (get_issue_rate): Rearrange and add RS64A and PPC630.
22391         * rs6000.h (processor_type): Add RS64A and PPC630.
22392         (PROCESSOR_POWERPC64): New.
22393         (PROMOTE_MODE): Use word_mode.
22394         (RTX_COSTS): Add RS64A and PPC630.
22395         * rs6000.md (scheduling information): Add lmul and ldiv
22396         representing 64-bit integer multiply and divide.  Add rs64a and
22397         PPC630 information.
22398         (ashldi3): Add support for "rldic" instruction.
22399         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22400
22401 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
22402
22403         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22404         instead of V8 for sparclite86x in cpu_table.
22405
22406 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22407
22408         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22409         output_file_directive.
22410
22411 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
22412
22413         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22414         tree for op1, not the rtl.
22415
22416 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
22417
22418         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22419         to m88k_va_start, leaving only the register spill.
22420         (m88k_build_va_list): New.
22421         (m88k_va_start): New.
22422         (m88k_va_arg): New.
22423         * m88k.h (BUILD_VA_LIST_TYPE): New.
22424         (EXPAND_BUILTIN_VA_START): New.
22425         (EXPAND_BUILTIN_VA_ARG): New.
22426
22427 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
22428
22429         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22430         Rename from expand_builtin_saveregs.
22431         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22432
22433 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
22434
22435         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22436         for the register spill block.
22437         (i960_build_va_list): New.
22438         (i960_va_start): New.
22439         (i960_va_arg): New.
22440         * i960.h (BUILD_VA_LIST_TYPE): New.
22441         (EXPAND_BUILTIN_VA_START): New.
22442         (EXPAND_BUILTIN_VA_ARG): New.
22443         * i960.md (store_multiple): Use change_address on individul mems.
22444
22445 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
22446
22447         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22448         an ARRAY_TYPE.
22449         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22450         (expand_builtin_va_end): Evaluate arg for side effects.
22451         * c-common.c (c_common_nodes_and_builtins): Construct a
22452         va_list_arg_type_node to handle array decomposition to pointer.
22453
22454 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
22455
22456         * except.c (st_dynamic_cleanup): Use force_operand on the
22457         buffer's address.
22458
22459 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
22460
22461         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22462         * c4x.c (c4x_va_arg): New.
22463
22464 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
22465
22466         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22467         has manual_pop set.
22468
22469 1999-07-26  Nathan Sidwell  <nathan@acm.org>
22470
22471         * eh-common.h (__eh_matcher): Prototype correctly.
22472
22473 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
22474
22475         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22476         (TARGET_SINGLE_PIC_BASE): Likewise.
22477         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22478         definitions.
22479         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22480         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22481         (TARGET_OPTIONS): Add -mpic-register=N.
22482         (OUTPUT_INT_ADDR_CONST): New macro.
22483         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22484         LEGITIMATE_PIC_OPERAND_P): Likewise.
22485         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22486         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22487         output_addr_const directly.
22488         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22489         ARM port.
22490         (thumb_pic_register, thumb_pic_register_string): Declare.
22491
22492         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22493         from arm.c.
22494         (label_mentioned_p): New function: Imported from arm.c.
22495         (legitimize_pic_address): New function: Imported from arm.c.
22496         (is_pic):New function: Imported from arm.c.
22497         (thumb_finalize_pic):New function: Imported from arm.c.
22498         (add_constant): Cope with PIC constants.
22499         (fixit): Cope with PIC constants.
22500         (output_return): Do not treat the PIC register as live if
22501         TARGET_SINGLE_PIC_BASE is true.
22502         (thumb_function_prologue): Do not treat the PIC register as live if
22503         TARGET_SINGLE_PIC_BASE is true.
22504         (thumb_expand_prologue): Do not treat the PIC register as live if
22505         TARGET_SINGLE_PIC_BASE is true.
22506         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22507         TARGET_SINGLE_PIC_BASE is true.
22508         (thumb_print_operand): Accept '|'.
22509         (thumb_override_options): Process PIC options.
22510
22511         * config/arm/thumb.md (movsi): Support PIC.
22512         (call_insn): Change "i" constraint to "X".
22513         (call_value_insn): Likewise.
22514         (consttable_4, consttable_8, consttable_end): Set and clear
22515         "making_const_table" as appropriate.
22516         (pic_load_addr, pic_add_dot_plus_four): New insns.
22517
22518         * invoke.texi (Thumb Options): Fix spelling.  Document new
22519         options -msingle-pic-base and -mpic-register=.
22520
22521 1999-07-26  Andrew Haley  <aph@cygnus.com>
22522
22523         * config/m32r/initfini.c (__init): Use a full word immediate for
22524         __fini: this allows it to be placed in any memory region.
22525
22526         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22527         -mmodel=medium.  This is OK for all memory models.
22528
22529 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
22530
22531         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22532         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22533
22534 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
22535
22536         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22537         defined.
22538
22539         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22540
22541 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
22542
22543         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22544         (BUILD_VA_LIST_TYPE): New.
22545         (EXPAND_BUILTIN_VA_START): New.
22546         (EXPAND_BUILTIN_VA_ARG): New.
22547         * i860.c (output_delayed_branch): Disable.
22548         (output_delay_insn): Likewise.
22549         (i860_saveregs): New.
22550         (i860_build_va_list): New.
22551         (i860_va_start): New.
22552         (i860_va_arg): New.
22553         * i860.md: Disable all peepholes using output_delayed_branch.
22554         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22555
22556 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
22557
22558         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22559         (BUILD_VA_LIST_TYPE): New.
22560         (EXPAND_BUILTIN_VA_START): New.
22561         (EXPAND_BUILTIN_VA_ARG): New.
22562         * clipper.c (clipper_builtin_saveregs): Only dump registers.
22563         Return the address of the save area.
22564         (clipper_build_va_list): New.
22565         (clipper_va_start): New.
22566         (clipper_va_arg): New.
22567
22568 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
22569
22570         * arc.h (EXPAND_BUILTIN_VA_START): New.
22571         (EXPAND_BUILTIN_VA_ARG): New.
22572         * arc.c (arc_setup_incoming_varargs): Set alias set of
22573         varargs save area.
22574         (arc_va_start): New.
22575         (arc_va_arg): New.
22576
22577 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
22578
22579         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22580         (BUILD_VA_LIST_TYPE): New.
22581         (EXPAND_BUILTIN_VA_START): New.
22582         (EXPAND_BUILTIN_VA_ARG): New.
22583         * alpha.c (alpha_builtin_saveregs): Delete.
22584         (alpha_build_va_list): New.
22585         (alpha_va_start): New.
22586         (alpha_va_arg): New.
22587
22588 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
22589
22590         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22591         column zero.
22592         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22593         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22594
22595         * gcc.texi: More changes related to list conversion.
22596         * invoke.texi: Likewise.
22597
22598 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
22599
22600         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22601         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22602         (expand_builtin_next_arg): Accept ARGLIST not EXP.
22603         (stabilize_va_list): New function.
22604         (std_expand_builtin_va_start): New function.
22605         (expand_builtin_va_start): New function.
22606         (get_varargs_alias_set): New function.
22607         (std_expand_builtin_va_arg): New function.
22608         (expand_builtin_va_arg): New function.
22609         (expand_builtin_va_end): New function.
22610         (expand_builtin_va_copy): New function.
22611         (expand_builtin): Call them.
22612         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22613         __builtin_{varargs_start,stdarg_start,end,copy}.
22614         (build_va_arg): New function.
22615         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22616         (build_va_arg): Declare.
22617         * c-decl.c (ptr_type_node, va_list_type_node): New.
22618         * c-parse.gperf (__builtin_va_arg): New.
22619         * c-parse.in (VA_ARG): New token.
22620         (unary_expr): Recognize it.
22621         * expr.c (expand_expr): Expand VA_ARG_EXPR.
22622         * expr.h (std_expand_builtin_va_start): Declare.
22623         (std_expand_builtin_va_arg): Declare.
22624         (expand_builtin_va_arg): Declare.
22625         (get_varargs_alias_set): Declare.
22626         * tree.def (VA_ARG_EXPR): New.
22627         * tree.h (BUILT_IN_VARARGS_START): New.
22628         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22629         (ptr_type_node, va_list_type_node): Declare.
22630         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22631         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22632         * m88k.h, m88k.c: Likewise.
22633         * mn10300.h, mn10300.c: Likewise.
22634         * pa.h, pa.c: Likewise.
22635         * rs6000.h, rs6000.c: Likewise.
22636         * sh.h, sh.c: Likewise.
22637         * sparc.h, sparc.c: Likewise.
22638
22639         * emit-rtl.c (operand_subword): Copy alias set.
22640         (change_address): Likewise.
22641
22642 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
22643
22644         * pa.c (compute_frame_size): Scan all the used callee saved registers,
22645         not just the first one.
22646
22647 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
22648
22649         * config/arm/arm.h (TARGET_SWITCHES): Add
22650         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
22651         (TARGET_OPTIONS): Add -mpic-register=.
22652         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22653         (arm_pic_register_string): Declare.
22654         (NEED_PLT_GOT): Delete, replace with ...
22655         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
22656         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22657         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22658         * config/arm/arm.c (arm_override_options): Add new option
22659         -mpic-register=N.
22660         (arm_pic_register_string): New variable.
22661         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22662         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22663         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
22664         (output_return_instruction): Likewise.
22665         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22666         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
22667         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22668
22669         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
22670         mention of -msched-prolog.  Document new options -msingle-pic-base
22671         and -mpic-register=.
22672
22673 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
22674
22675         * haifa-sched.c (reemit_notes): Tidy.
22676         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22677         haifa's routine.
22678
22679 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
22680
22681         * explow.c (trunc_int_for_mode): New function.
22682         (plus_constant_wide): Use it.
22683         * combine.c (simplify_and_const_int): Likewise.
22684         (merge_outer_ops): Likewise.
22685         (simplify_shift_const): Likewise.
22686         * cse.c (simplify_unary_operation): Likewise.
22687         (simplify_binary_operation): Likewise.
22688         * emit-rtl.c (operand_subword): Likewise.
22689         * rtl.h: Declare it.
22690
22691 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22692
22693         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22694         (use NUM_REGS instead of NUM_INTS).
22695
22696 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22697
22698         * builtins.c: New file.
22699         * expr.c (saveregs_value, apply_args_value):  Delete definition,
22700         moved into builtins.c.
22701         (string_constant): No longer static.
22702         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22703         apply_args_size, apply_result_size, result_vector,
22704         expand_builtin_apply_args, expand_builtin_apply,
22705         expand_builtin_return): Delete functions, moved into builtins.c.
22706         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22707         * expr.h (saveregs_value, apply_args_value): Declare variables.
22708         (expand_builtin, string_constant): Declare functions.
22709         * Makefile.in: Update to build builtin.o.
22710
22711 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
22712
22713         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22714         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22715         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22716         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22717         false.
22718         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22719         Define to zero.
22720
22721 1999-07-21  Michael Meissner  <meissner@cygnus.com>
22722
22723         * print-rtl.c (print_rtx): Print the names of the virtual
22724         registers.
22725
22726 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
22727
22728         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22729         introduced in previous delta.
22730
22731 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22732
22733         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22734         to avoid name clash.
22735
22736 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22737
22738         * c-lex.c (yylex) : Correct the test for overflow when lexing
22739         integer literals.
22740
22741 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
22742
22743         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22744         (adjust_priority): Always call ADJUST_PRIORITY.
22745         (schedule_insn): Only put insns into the ready at cost 0.
22746         (schedule_block): Remove redundant initial sort.  Give clock_var
22747         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
22748         is not 0.
22749         * tm.texi (MD_SCHED_REORDER): Update docs.
22750
22751         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
22752         * sparc.c (ultra_reorder_called_this_block): Delete.
22753         (ultrasparc_sched_init): Don't set it.
22754         (ultrasparc_sched_reorder): Don't check it.
22755
22756 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
22757
22758         * rs6000.h (struct rs6000_args): Add sysv_gregno.
22759         * rs6000.c (init_cumulative_args): Init sysv_gregno.
22760         (function_arg_boundary): Align DFmode.
22761         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22762         to get fp reg and stack overflow correct.
22763         (function_arg): Likewise.
22764         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22765         (setup_incoming_varargs): Restructure for ABI_V4; use
22766         function_arg_advance to skip final named argument.
22767         (expand_builtin_saveregs): Properly unskip the last integer arg
22768         when doing varargs.  Adjust overflow location calculation.
22769
22770         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22771         explicitly unsigned.
22772         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22773         (__VA_GP_REGSAVE): Similarly.
22774         (__va_longlong_p): Delete.
22775         (__va_arg_type_violation): New declaration.
22776         (va_arg): Restructure.  Flag promotion errors.  Align double.
22777         TFmode passed by reference.
22778
22779         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22780         in the HOST_BITS_PER_WIDE_INT > 32 case.
22781
22782 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22783
22784         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22785
22786 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
22787
22788         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22789         * toplev.c (documented_lang_options): Add -fpreprocessed.
22790         * cpplib.h (struct cpp_buffer): Add preprocessed.
22791         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22792         (cpp_start_read): Don't expand macros or emit an initial #line
22793         directive if -fpreprocessed.
22794
22795 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22796
22797         * cpplib.h (struct cpp_buffer): Added manual_pop for
22798         better C++ tokenization.
22799         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22800         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22801         * c-common.c (cpp_token): Make non-static.
22802
22803 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22804
22805         * c-common.h: New file.
22806         * c-common.c (permanent_obstack): Delete unused declaration.
22807         (c_global_trees): New array.
22808         (c_common_nodes_and_builtins): New function; split off common code
22809         from init_decl_processing in both c-decl.c and cp/decl.c.
22810         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22811         c_global_trees and accessor macros defined in c-common.h.
22812         Include c-common.h.
22813         * c-decl.c: Delete definitions for tree nodes that were replaced by
22814         c_global_trees.
22815         (init_decl_processing): Build void_list_node.
22816         Call c_common_nodes_and_builtins; delete code to generate the common
22817         builtins here.
22818         * objc/objc-act.c (build_module_descriptor): Rename variable
22819         void_list_node to avoid clash with c-common.h.
22820
22821         * Makefile.in: Update dependencies.
22822         * objc/Make-lang.in: Likewise.
22823
22824 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
22825
22826         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22827         (UNIQUE_SECTION_P): Likewise.
22828         (UNIQUE_SECTION): Likewise.
22829
22830 1999-07-19  Linas Vepstas  <linas@linas.org>
22831
22832         * config/i370/README: New file.
22833         * config/i370/linux.h: New file.
22834         * config/i370/mvs.h: New file.
22835         * config/i370/oe.h: New file.
22836         * config/i370/t-linux: New file.
22837         * config/i370/t-mvs: New file.
22838         * config/i370/t-oe: New file.
22839         * config/i370/x-oe: New file.
22840         * config/i370/xm-linux.h: New file.
22841         * config/i370/xm-mvs.h: New file.
22842         * config/i370/xm-oe.h: New file.
22843
22844         * i370.c (label_node_t): Add first_ref_page, label_addr,
22845         label_first_ref, label_last_ref members.
22846         (mvs_need_base_reload): Renamed from mvs_label_emitted.
22847         (MAX_MVS_LABEL_SIZE): Define.
22848         (MAX_LONG_LABEL_SIZE): Define.
22849         (alias_node_t, alias_anchor, alias_number): New.
22850         (mvs_function_table): Reorder for EBCDIC.
22851         (ascebc, ebcasc): Unconditionally define.
22852         (i370_branch_dest, i370_branch_length): New functions.
22853         (i370_short_branch, i370_label_scan): New functions.
22854         (mvs_get_label): Renamed from mvs_add_label.  Search for
22855         an existing label before creating a new one.
22856         (mvs_add_label): New function.
22857         (mvs_get_label_page): New function.
22858         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
22859         over the entire list.
22860         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22861         (mvs_check_page) [TARGET_ELF_ABI]: New function.
22862         (mvs_add_alias, mvs_need_alias): New functions.
22863         (mvs_get_alias, mvs_check_alias): New functions.
22864         (handle_pragma): New function.
22865         (mvs_function_check): New function.
22866         (unsigned_jump_follows_p): Search harder.
22867         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
22868         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
22869         * i370.h (TARGET_VERSION): Delete.
22870         (CPP_SPEC, CPP_PREDEFINES): Delete.
22871         (mvs_label_emitted): Delete.
22872         (TARGET_EBCDIC): Delete.
22873         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
22874         (HANDLE_PRAGMA): Define.
22875         (HARD_REGNO_NREGS): Handle complex modes.
22876         (HARD_REGNO_MODE_OK): Likewise.
22877         (CLASS_MAX_NREGS): Likewise.
22878         (RET_REG): Likewise.
22879         (EXTRA_CONSTRAINT): Define.
22880         (RETURN_IN_MEMORY): True for DImode.
22881         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
22882         (FUNCTION_PROFILER): Delete.
22883         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
22884         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
22885         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
22886         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
22887         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
22888         (ASM_FILE_START): Add "RMODE ANY".
22889         (ASM_OUTPUT_EXTERNAL): Check for aliases.
22890         (ASM_GLOBALIZE_LABEL): Likewise.
22891         (ASM_OUTPUT_LABELREF): Likewise.
22892         (ASM_OUTPUT_COMMON): Likewise.
22893         (PRINT_OPERAND): Handle 'K', 'W', default.
22894         (PRINT_OPERAND_ADDRESS): New.
22895         (Lots of defines): Add support for TARGET_ELF_ABI.
22896         * i370.md (attr length): New.  Define for all patterns.
22897         (*): Lots of tweeks to assembly output and constraints.
22898
22899 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
22900
22901         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
22902         Disable patterns performing SImode comparisons with SImode values
22903         if TARGET_POWERPC64 and instruction does not sign-extend or does
22904         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
22905         differ for signed quantities.
22906         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
22907         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
22908         (decrement_and_branch_on_count): Add 64-bit variant.
22909
22910 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22911
22912         * final.c (output_asm_insn): When searching for the matching string
22913         for a given dialect, don't run past the end of the list of
22914         alternatives if there are fewer alternatives in the template than
22915         dialects.
22916
22917 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
22918
22919         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
22920         Removed paragraph about compression of files and size limitation,
22921         duplicated in the FAQ.  Use gcc-patches for posting patches.
22922         * gcc.c (main): Updated URL with bug reporting instructions to
22923         gcc.gnu.org.  Removed e-mail address.
22924         * system.h (abort): Likewise.
22925
22926 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22927
22928         * Makefile.in (stmp-multilib-sub): Make the files extracted
22929         from $(LIBGCC1) writable.
22930
22931 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
22932
22933         * config/arm/aout.h: Reformat for improved readability.
22934
22935         * config/arm/arm.h: Reformat for improved readability.
22936         Replace uses of fprintf with asm_fprintf where appropriate.
22937         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
22938         function declaration assembler actions.
22939         (NUM_INTS): New macro: Convert from bytes to words.
22940         (NUM_REGS): New macro: Compute number of registers required to
22941         hold a quanitity of tyep MODE.
22942         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
22943         types.
22944         (NUM_ARG_REGS): New macro: The number of argument registers
22945         available.
22946         (ARG_REGISTER): New macro: Compute the register number of the Nth
22947         argument register.
22948         (LAST_ARG_REGNUM): New macro: The number of the last argument
22949         register.
22950         (SP_REGNUM): New macro: Register number of the stack pointer.
22951         (FP_REGNUM): New macro: Register number of the frame pointer.
22952         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
22953         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
22954         CUMULATIVE_ARGS so that it counts registers not bytes.
22955
22956         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
22957         TARGET_INTERWORK.
22958         Replace uses of fprintf with asm_fprintf where appropriate.
22959         (output_ascii_pseudo_op): Replace with version from thumb.c
22960
22961         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
22962
22963         * config/arm/elf.h (CPP_PREDEFINES): Replace with
22964         SUBTARGET_CPP_SPEC.
22965         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
22966         (ASM_FILE_START): Emit ASM_APP_OFF.
22967
22968 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
22969
22970         * pa.c (compute_frame_size): Round frame according to
22971         STACK_BOUNDARY rather than a hardwired value.
22972
22973         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
22974
22975         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
22976         of "1".
22977         * configure: Rebuilt.
22978
22979         * configure.in (hppa*-*-linux*): New configuration.
22980         * configure: Rebuilt.
22981         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
22982         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
22983         * pa/pa-linux.h: New file.
22984         * pa/t-linux: New file.
22985         * pa/xm-linux.h: New file.
22986
22987         * pa.c (hppa_legitimize_address): Change references from SImode to
22988         either Pmode or word_mode as appropriate.
22989         (emit_move_sequence, store_reg, load_reg): Likewise.
22990         (set_reg_plus_d, hppa_expand_prologue): Likewise.
22991         (output_mul_insn): Likewise.
22992         * pa.h (PROMOTE_MODE): Likewise.
22993         (INITIALZE_TRAMPOLINE): Likewise.
22994         (Pmode): Define to word_mode.
22995
22996         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
22997         value of 4.  Allocate 8 bytes for each FP register save.
22998         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
22999         value of 4.
23000         (hppa_expand_prologue): Likewise.
23001         * pa.h (PROMOTE_MODE): Likewise.
23002         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23003         (FUNCTION_ARG_BOUNDARY): Likewise.
23004
23005         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23006
23007         * pa.c (out_of_line_prologue_epilogue): Delete.
23008         (override_options): Remove -mspace related code.
23009         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23010         (compute_frame_size): Only allocate space for register that
23011         actually need to be saved.
23012         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23013         (TARGET_SWITCHES): Remove -mspace, -mno-space
23014         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23015         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
23016         * pa/ee.asm, pa/ee_fp.asm: Delete.
23017
23018         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23019
23020         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23021         directive in column zero.
23022
23023 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
23024
23025         * m68k.c (output_function_prologue): Fix computation of save mask
23026         when generating PIC code.
23027
23028 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
23029
23030         * tree.c (build_type_attribute_variant): Move current_obstack restore
23031         after build_qualified_type call.
23032
23033 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
23034
23035         * configure.in: Use t-iris6, even with GNU LD.
23036         * config/mips/iris6gld.h: Fix typo in linker spec.
23037         * config/mips/t-iris6gld: Remove.
23038
23039 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
23040
23041         * rs6000.md (insv, extzv): Remove SImode dependence in named
23042         patterns.  Explicitly generate DImode RTL if PowerPC64 and
23043         operand is DImode.
23044         (insvdi): Reverse start and size in instruction template.
23045
23046 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
23047
23048         * invoke.texi: Typo fixes.
23049
23050 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
23051
23052         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23053         handle at this time instead of silently generating incorrect code.
23054         (gen_imagpart): Likewise.
23055
23056         * reload.c (find_reloads): Emit a USE for a pseudo register without
23057         a hard register if we could not create an optional reload for the
23058         pseudo.
23059
23060 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23061
23062         * c-typeck.c (output_init_element, process_init_element):
23063         When advancing constructor_unfilled_fields for a RECORD_TYPE,
23064         check for nameless bit fields.
23065
23066 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
23067
23068         * regclass.c (scan_one_insn): Notice subregs that change the
23069         size of their operand.
23070         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23071
23072 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
23073
23074         * configure.in (alpha*-*-*): Include alpha/t-ieee.
23075         * configure: Rebuilt.
23076         * alpha/t-ieee: New file.
23077
23078 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
23079
23080         * rs6000.c (find_addr_reg): Do not select r0 as an address
23081         register.
23082
23083 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
23084
23085         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23086
23087 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
23088
23089         * rs6000.md (movsf): Do not force easy FP constants into memory.
23090
23091         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23092         immed_double_const to ensure they are properly truncated then
23093         sign extended.
23094
23095 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23096
23097         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23098         always unless NO_DEBUG is used.  Compile this code
23099         unconditionally.
23100         (replace_symbols_in_block): Compile it unconditionally.
23101
23102 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
23103
23104         * configure.in (i?86-*-elf*): New target.
23105         * configure: Rebuilt.
23106         * i386/i386elf.h, i386/t-i386elf: New files.
23107
23108 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23109
23110         * toplev.c (main): Don't complain about saying -gdwarf.
23111         (rest_of_compilation): Remove redundant code.
23112
23113 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
23114
23115         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23116
23117 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
23118
23119         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23120         "Li960R:", to avoid name clash.
23121
23122 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23123
23124         * loop.c (check_dbra_loop): When reversing a loop, delete all
23125         REG_EQUAL notes referencing the reversed biv except those which are
23126         for a giv based on it.
23127
23128 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
23129
23130         * version.c: Drop "gcc-" prefix from version #.
23131
23132 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
23133
23134         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23135         the label if we're being verbose.
23136
23137 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
23138
23139         * m68k.c (output_function_prologue): Add pic register to mask
23140         if live and flag_pic.
23141         (output_function_epilogue): Likewise.
23142
23143 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
23144
23145         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23146         directives in column zero.
23147
23148         * pa/elf.h (ASM_FILE_START): Define.
23149         * pa/som.h (ASM_FILE_START): Include .level directives.
23150         * pa/hpux10.h (ASM_FILE_START): Delete.
23151         * pa/hpux11.h (ASM_FILE_START): Delete.
23152
23153         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23154
23155 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23156
23157         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23158         when reload_out equals reload_in.
23159
23160 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
23161
23162         * invoke.texi (Spec Files): New node: Describe the contents of
23163         spec files.
23164
23165 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
23166
23167         * invoke.texi (DEC Alpha Options): Put @end table at
23168         beginning of line, to avoid confusing texi2html.
23169
23170 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
23171
23172         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23173         introduced in previous delta.
23174
23175 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23176
23177         * reload1.c (gen_reload): When synthesizing a 3 operand add
23178         sequence, improve test for when to reload OP1 into the reload
23179         register instead of OP0.
23180
23181 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
23182
23183         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23184
23185 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
23186
23187         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23188         string literal.
23189
23190 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
23191
23192         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23193         (va_dcl): Use __builtin_va_alist_t.
23194
23195 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
23196
23197         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23198         on the permanent_obstack.
23199         * dwarfout.c (output_type): Likewise.
23200
23201 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23202
23203         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23204         Merged from c-typeck.c and cp/typeck.c.
23205         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23206         Merged into c-common.
23207
23208 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
23209
23210         * c-lex.c (errorcount): Declare it.
23211         (finish_parse): Update errorcount when using CPPLIB.
23212
23213 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
23214
23215         * fixinc/inclhack.def(end_else_label): Double the backslash so
23216         sed gets a chance to see it.
23217         * fixinc/inclhack.sh: regen
23218         * fixinc/fixincl.x: regen
23219
23220 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
23221
23222         Add framework to support armv5 architecture when it becomes
23223         available:
23224
23225         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23226         (arm_arch5): New variable.
23227         (all_architectures): Add armv5 line.
23228         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23229         -march=armv5 is specified on the command line.
23230         (arm_arch5): Export this variable.
23231         * invoke.texi: Document new string accepted by -march= switch for
23232         ARM ports.
23233
23234         * config/arm/arm.h: Replace use of constant 12 as a register
23235         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23236         * config/arm/arm.c: Replace use of constant 12 as a register
23237         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23238
23239         * config/arm/elf.h: Tidy up.
23240         * config/arm/coff.h: Tidy up.
23241
23242 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
23243
23244         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23245         * gcc/config/mips/t-iris6gld: New file.
23246         * gcc/config/mips/iris6gld.h: Likewise.
23247
23248 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23249
23250         * c-decl.c (widest_integer_literal_type_node,
23251         widest_unsigned_literal_type) : New.
23252         (init_decl_processing): Handle/use the two new types.
23253         * c-common.c (type_for_size,type_for_mode) : Same.
23254         * c-lex.c (yylex) : Same.
23255         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23256         Same.
23257         * c-tree.h (widest_integer_literal_type_node,
23258         widest_unsigned_literal_type) : New.
23259
23260 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
23261
23262         * dwarfout.c (field_byte_offset): Correctly compute the object's
23263         byte offset for the first bit of a field which crosses an alignment
23264         boundary on a !BYTES_BIG_ENDIAN target.
23265
23266 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
23267
23268         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23269         ntohs.
23270
23271 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
23272                           Jeff Law <law@cygnus.com>
23273
23274         * ginclude/varargs.h (va_dcl): Use word_mode for type of
23275         __builtin_va_list.
23276
23277         * except.c: Include intl.h.
23278         (expand_eh_return): Set current_function_cannot_inline.
23279         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23280         * function.h (struct function): Add eh_return_stub_label.
23281         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23282         * Makefile.in (except.o): Depend on intl.h.
23283
23284 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
23285
23286         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23287         same as offsettable in cases 1 and 2.
23288
23289 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
23290
23291         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23292         (extlh, extwh): Likewise.
23293
23294 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23295
23296         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23297
23298 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
23299
23300         * configure.in: Add arm-pe and thumb-pe targets.
23301         * configure: Regenerate.
23302
23303         * thumb.c (arm_naked_function_p): New function: Determines if
23304         a function is naked (has no gcc generated prologue/epilogue).
23305         (is_called_in_ARM_mode): Return true if the func has the
23306         interfacearm attribute.
23307         (output_return): Do not generate a return for naked functions.
23308         (thumb_function_prologue): Do not generate a prologue for
23309         naked functions.
23310         (thumb_expand_prologue): Do not generate a prologue for naked
23311         functions.
23312         (thumb_expand_epilogue): Do not generate an epilogue for naked
23313         functions.
23314         (arm_valid_machine_decl_attribute): New function, copied from
23315         arm.c:  Permit naked and interfacearm attributes.
23316
23317         * config/arm/pe.c: New file: Support code for arm-pe target.
23318         * config/arm/pe.h: New file: Header file for arm-pe target.
23319         * config/arm/tpe.h: New file: Header file for thumb-pe target.
23320         * config/arm/t-thumb-pe: New file: Makefile fragment for
23321         thumb-pe target.
23322
23323 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
23324
23325         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23326         -fPIC or -fpic is specified.
23327
23328 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
23329
23330         * expr.c (emit_block_move): Use copy_to_mode_reg for
23331         !TARGET_MEM_FUNCTIONS case too.
23332
23333         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23334         appropriate.
23335         * configure: Rebuilt.
23336         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23337         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
23338         definitions made redundant by dbxelf.h inclusion.  Delete
23339         lots of definitions related to assembly output that are
23340         specific to the SOM object format.
23341         * pa.c (output_function_prologue): Do not emit the function's
23342         name for OBJ_ELF.
23343         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23344         * pa-pro.h: Deleted.
23345         * som.h: New file with SOM specific definitions.
23346         * elf.h: New file with ELF specific definitions.
23347
23348         * elfos.h (const_section): Output a tab before assembler directives.
23349         (ctors_section, dtors_section): Likewise.
23350         (ASM_OUTPUT_SECTION_NAME): Likewise.
23351
23352         * pa/pa1.h: Delete unused file.
23353
23354 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
23355
23356         * configure.in (hppa*-hp-hpux11*): New configuration.
23357         * configure: Rebuilt.
23358         * pa/pa-hpux11.h: New file.
23359         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23360         command line.
23361
23362         * mips.md (leasi, leadi): New patterns.
23363
23364         * expr.c (emit_block_move): Properly handle case where one of the
23365         block move arguments has a queued increment or decrement.
23366         (clear_storage): Similarly.  Fix formatting goof.
23367
23368 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
23369
23370         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23371         semicolon from the BSD VA_LIST replacement expression.
23372
23373         * fixinc/inclhack.sh: regen
23374         * fixinc/fixincl.x: regen
23375
23376         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23377         now use the fixincl program.
23378
23379 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
23380
23381         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23382         case.  Also make the PIC register call_used.
23383
23384         * m68k.h (FINALIZE_PIC): Delete.
23385         * m68k.c (finalize_pic): Delete.
23386
23387 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
23388
23389         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23390         to memory.
23391
23392 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
23393
23394         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23395
23396 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
23397
23398         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23399
23400 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
23401
23402         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23403
23404 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
23405
23406         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23407
23408 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
23409
23410         * rs6000.c (output_toc): Always use hex values for floating-point
23411         constants.  Store single-precision values in upper-half of TOC
23412         entry in 64-bit mode.
23413         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23414         to final constraints.
23415         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23416         (fctiwz): Improve accuracy of RTL for pattern.
23417
23418 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23419
23420         * expr.c (expand_expr): Allow RTL_EXPR's through the
23421         MAX_INTEGER_COMPUTATION_MODE checks.
23422
23423 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
23424
23425         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23426         such that MASK_SUPPORT_ARCH is not negative.
23427
23428 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
23429
23430         * loop.c (verify_dominator): Properly handle ADDR_VEC and
23431         ADDR_DIFF_VEC insns that appear inside loops.
23432
23433 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
23434                           Jeff Law <law@cygnus.com>
23435
23436         * rs6000.md (movdf_hardfloat32): Revert previous patch.
23437         Handle LO_SUM the same as offsettable in cases 1 and 2.
23438         * rs6000.c (find_addr_reg): Revert previous patch.
23439
23440 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
23441
23442         * system.h (strstr): New external function declaration.
23443         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23444         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23445         * config.in, configure: Rebuilt.
23446
23447 1999-06-24  Tom Tromey  <tromey@cygnus.com>
23448
23449         * gcc.c (main): Read user-specified specs files after computing
23450         additional startfile_prefixes.
23451
23452 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
23453
23454         Revert these two patches:
23455
23456         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23457         * loop.c (strength_reduce): When doing biv->giv conversion, update
23458         reg note of NEXT->insn.
23459
23460         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23461         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23462         reg_biv_class.
23463         (recombine_givs): Set ix field after sorting.
23464
23465 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23466
23467         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23468         for the parts of an UNSPEC / UNSPEC_VOLATILE.
23469
23470 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
23471
23472         *fixinc/inclhack.def:  Add fix development commentary
23473         (read_ret_type): reactivate and add selection clause
23474         (zzz_*): tweak output file name to match what is used in hackshell.tpl
23475         *fixinc/{fixincl.x|inclhack.sh}: regen
23476
23477 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
23478
23479         * expr.c (expand_expr): STRIP_NOPS before checking against
23480         MAX_INTEGER_COMPUTATION_MODE
23481         (check_max_integer_computation_mode): Likewise.
23482
23483 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
23484
23485         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23486
23487 1999-06-22  Jim Wilson  <wilson@cygnus.com>
23488
23489         * expr.c (store_expr): When target is a promoted subreg, return a
23490         promoted subreg as a result.
23491
23492 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
23493
23494         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23495         coding standards.
23496         (dwarf2out_define): Mark unused parameters appropriately.
23497         (gen_unspecified_parameters_die): Ditto.
23498         (gen_subprogram_die): Fix signed/unsigned warnings.
23499         (gen_variable_die): Ditto.
23500
23501 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
23502
23503         * fixinc/inclhack.def(end_else_label): combined else_label
23504         and endif_label and fixed the sed expression.
23505         *fixinc/{fixincl.x|inclhack.sh}: regen
23506
23507 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
23508
23509         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23510         'x' when handling non-offsettable addresses
23511
23512 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
23513
23514         * final.c (shorten_branches): Don't try to split an insn that has
23515         been deleted.
23516
23517 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
23518
23519         * config/mips/mips.c (symbolic_expression_p): New function.
23520         (mips_select_rtx_section): Put symbolic expressions in the
23521         data section, not the read-only data section.
23522
23523 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
23524
23525         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23526
23527 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
23528
23529         * collect2.c (main): Log frame table count.
23530         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23531         (scan_prog_file) [COFF]: Handle frame tables.
23532
23533         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23534         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23535         * alpha/elf.h: Undef them again.
23536         * alpha/vms.h: Remove their definitions.
23537
23538 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23539
23540         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23541         remove the clobber of r0 and change the REG_UNUSED note to
23542         REG_INC.
23543
23544 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
23545
23546         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23547         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23548         fits in HOST_WIDE_INT and one uses union to access a long constant
23549         as double.
23550
23551 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
23552
23553         * sparc.c (sparc_override_options): Don't allow profiling for
23554         code models other than medlow.
23555         (sparc_function_profiler): New function from old FUNCTION_PROFILER
23556         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23557         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
23558         (sparc_block_profiler): Likewise.
23559         (sparc_function_block_profiler_exit): Likewise.
23560         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23561         (FUNCTION_BLOCK_PROFILER): Likewise.
23562         (BLOCK_PROFILER): Likewise.
23563         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23564         (MCOUNT_FUNCTION): New.
23565         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23566         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23567         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23568         (MCOUNT_FUNCTION): New.
23569         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23570         (BLOCK_PROFILER): Delete.
23571         (MCOUNT_FUNCTION): New.
23572
23573 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
23574
23575         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23576
23577 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23578
23579         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23580         Add the macros.
23581
23582         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23583         Ditto.
23584
23585         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23586         Ditto.
23587
23588         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23589         Ditto.
23590
23591 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
23592
23593         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23594         types.
23595
23596 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
23597
23598         * i386/djgpp.h (LIB_SPEC): New.
23599         (STARTFILE_SPEC): New.
23600
23601         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23602
23603 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
23604
23605         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23606         compiler flags.
23607
23608         * system.h (WSTOPSIG): New macro.
23609
23610 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23611
23612         * c-pragma.c (push_alignment): Don't ignore alignments greater than
23613         4 bytes.
23614         (insert_pack_attributes): Take into account member natural
23615         alignment.
23616
23617         * i386/winnt.c (exports_head): New static variable.
23618         (i386_pe_record_exported_symbol): New function.
23619         (i386_pe_asm_file_end): Use.
23620         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23621         symbols to be emitted at end of assembly.
23622         (ASM_DECLARE_OBJECT_NAME): Likewise.
23623         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23624
23625         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23626         -iwithprefix.
23627
23628 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
23629
23630         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23631         in last change.
23632
23633 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
23634
23635         * haifa-sched.c (sched_analyze_1): Use free_list instead of
23636         zapping reg_last_uses directly.
23637         (sched_analyze_2, sched_analyze_insn): Likewise.
23638         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
23639
23640 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
23641
23642         * rs6000.md (movdf_hardfloat32): Use worst case insn length
23643         attributes for cases 1 and 2.
23644
23645 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
23646
23647         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23648         instead of set.
23649
23650 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
23651
23652         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23653
23654 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
23655
23656         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23657         PIC_OFFSET_TABLE_REGNUM for general alloaction.
23658         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23659         must be stacked if it is used for PIC accesses.
23660         * arm.c (use_return_insn): Handle PIC register specially.
23661         (output_return_instruction): Likewise.
23662         (output_func_{prologue,epilogue}): Likewise.
23663         (output_expand_prologue): Likewise.
23664
23665         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23666         (*strsi_predec): Renamed from *strqi_predec.
23667         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23668         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23669
23670         * arm.c (arm_override_options): Remove warning about PIC code
23671         not being supported.
23672
23673 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
23674
23675         * rs6000.c (find_addr_reg): New function.
23676         * rs6000.h (find_addr_reg): Declare.
23677         (offsettable_addr_operand): Delete.
23678         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23679         from and stores to GPRs.
23680
23681 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
23682
23683         * alpha.c (alpha_expand_block_move): Use get_insns rather than
23684         gen_sequence as argument to emit_no_conflict_block.
23685
23686 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23687
23688         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23689         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23690         *fixinc/fixincl.x: regen
23691         *fixinc/inclhack.sh: regen
23692
23693 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
23694
23695         * added support for -mpcrel (PC relative addressing for m68k)
23696         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
23697         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23698         * m68k.c (print_operand_address): Handle 32-bit PIC case.
23699         (comments for general_src_operand): Add some explanation
23700         about EXTRA_CONSTRAINTS.
23701         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23702         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23703         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23704         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23705         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23706         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23707         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23708         if not already set.
23709         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23710         * m68k.h (TARGET_PCREL): New target flag.
23711         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23712         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23713         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23714         contains a SYMBOL_REF.  Relax this constraint during reload, since
23715         we want to use the predicates, not reload's built-in concept of a
23716         valid memory address, to control what insns need reloading.
23717         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23718         operands (essentially 'g', 'm', and 's' under normal circumstances).
23719         * m68k.c (print_operand): Cause printing of pc-relative addresses
23720         to include pc register.
23721         (print_operand_address): Ditto.
23722         (general_src_operand): Accept operands that are not only
23723         general_operands, but are also valid when used as a pc-relative
23724         source.
23725         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23726         (memory_src_operand): Similar, for memory_operands.
23727         (pcrel_address): New predicate to accept the special case of a
23728         pc-relative address.
23729         * m68k.md (many patterns): Rewrite common SImode, HImode, and
23730         QImode insns to accept *_src_operand instead of *_operand where
23731         pc-relative operands can fit.  For example, a pc-relative operand
23732         can be used as a memory source operand for addsi3, but not as a
23733         memory destination.
23734         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23735
23736 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
23737
23738         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23739         .thumb_set pseudo op to mark aliases of thumb functions.
23740
23741 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
23742
23743         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23744         preference to ASM_OUTPUT_DEF, if it is defined.
23745
23746         * tm.texi: Document new, optional target macro
23747         ASM_OUTPUT_DEF_FROM_DECLS.
23748
23749 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23750
23751         * fixincludes: ISCNTL patch
23752         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23753         (dgux_int_varargs): new for DG/UX
23754         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23755
23756 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
23757
23758         * invoke.texi (ia32 options): Fix typo.
23759
23760 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23761
23762         * loop.c (strength_reduce): When doing biv->giv conversion, update
23763         reg note of NEXT->insn.
23764
23765 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
23766
23767         * loop.c (move_movables): Note issues with replacing REGs with
23768         SUBREGs.
23769         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23770
23771 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
23772
23773         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23774
23775         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23776         the reference to `mcount' was not correct for the ELF on FreeBSD.
23777
23778 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23779
23780         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23781         reg_biv_class.
23782
23783         (recombine_givs): Set ix field after sorting.
23784
23785 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
23786
23787         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23788         to safe to extract a subword out of a REG.
23789
23790 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23791
23792         * sh.md (mulsi3): Don't add a no-op move at the end.
23793
23794 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23795
23796         * cse.c (cse_insn): Don't put hard register source into tables for
23797         the last insn of a libcall.
23798
23799 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23800
23801         * loop.c (strength_reduce): Insert sets of derived givs at every
23802         biv increment, even if it's the only one.
23803
23804 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
23805
23806         * dwarfout.c (add_incomplete_type): New fn.
23807         (output_type): Call it.
23808         (retry_incomplete_types): New fn.
23809         (dwarfout_finish): Call it.
23810
23811         From Eric Raskin <ehr@listworks.com>:
23812         (output_type): Output types for bases.
23813
23814 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
23815
23816         * mips.c (mips_output_conditional_branch): Add `break'
23817         between `default' label and `close braces'.
23818
23819 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
23820
23821         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23822         specifications and make it realistic.
23823         (LIB_SPEC): Likewise.
23824
23825 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
23826
23827         * config/mips/mips.c (mips_secondary_reload_class): Check for
23828         (PLUS (SP) (REG)) and return appropriate register class.
23829         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23830         Handle (PLUS (SP) (REG)).
23831         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23832         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23833         of emit_insn for tablejump.
23834
23835 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
23836
23837         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23838         asm_fprintf format string by itself.
23839         (output_function_profiler): Likewise.
23840
23841 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
23842
23843         * combine.c (simplify_logical, case AND): Only call
23844         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23845         or the constant is positive.
23846
23847 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
23848
23849         * configure.in: Fix typo in rs6000-ibm-aix4 case.
23850         * configure: Regenerate.
23851
23852 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
23853
23854         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23855         require a sub-version #.
23856         * configure: Rebuilt.
23857
23858 1999-06-14  Robert Lipe  (robertlipe@usa.net)
23859
23860         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23861
23862 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
23863
23864         * c-typeck.c (process_init_element): Detect excess elements in
23865         char array initializer.
23866
23867 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23868
23869         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
23870
23871 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23872
23873         * invoke.texi (Option Summary): Add -fpermissive flag.
23874
23875 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
23876
23877         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
23878         that require PIC code sequences.
23879
23880 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
23881
23882         * configure.in: Add new target: thumb-elf.
23883         * configure: Regenerate.
23884         * config/arm/t-thumb-elf: New file: Makefile fragment for
23885         thumb-elf build.
23886         * config/arm/telf.h: New file: Header file for thumb-elf
23887         build.
23888
23889 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
23890
23891         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
23892         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
23893         initializers is some circumstances.
23894
23895         * fixinc/inclhack.def (endif_label): Add additional selector for
23896         more bogus stuff after #endif statements.
23897         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
23898
23899 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23900
23901         * i386/cygwin.h (SET_ASM_OP): Define.
23902
23903 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23904
23905         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
23906
23907 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23908
23909         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
23910         latter.
23911
23912         * sh.md (ic_invalidate_line_i): Remove second alternative.
23913
23914 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23915
23916         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
23917         test for the presence of valid prototypes.  Delete bypass expr.
23918         (ioctl_fix_ctrl): Correct the selection expression.
23919         (no_double_slash): Correct quoting rules
23920         *fixinc/fixincl.x: regen
23921         *fixinc/inclhack.sh: regen
23922
23923 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
23924
23925         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
23926
23927 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23928
23929         * rs6000.md (movsi_got_internal_mem): Delete.
23930         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
23931         (GOT_TOC_REGNUM): Delete.
23932         (PIC_OFFSET_TABLE_REGNUM): Define.
23933         (FINALIZE_PIC): Disable.
23934         * rs6000.c (rs6000_got_register): New code for fixed pic register.
23935         (rs6000_replace_regno): Delete.
23936         (rs6000_finalize_pic): Likewise.
23937         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
23938
23939 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23940
23941         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
23942         is a note; use <= for the compare; advance P while it is
23943         a NOTE.
23944
23945 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
23946
23947         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
23948         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
23949
23950         * varasm.c (remove_from_pending_weak_list): Verify t->name
23951         is non-NULL before passing it to strcmp.
23952
23953 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23954
23955         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
23956         the typed arguments are not part of a comment
23957         (ioctl_fix_ctrl): Added a purpose comment
23958         *fixinc/fixincl.x: regenerate
23959         *fixinc/inclhack.sh: regenerate
23960
23961 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23962
23963         * invoke.texi: Add C4x invocation docs.
23964
23965 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23966
23967         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
23968         Define new macros.
23969         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
23970         TARGET_EXPOSE_LDP.
23971         (c4x_legitimize_reload_address): New function.
23972         * config/c4x/c4x.md: Update docs.
23973
23974 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
23975
23976         * fixincludes: Avoid removing '.'.
23977         * fixinc/fixinc.svr4: Likewise.
23978         * fixinc/fixinc.winnt: Likewise.
23979         * fixinc/inclhack.tpl: Likewise.
23980         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
23981
23982 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23983
23984         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
23985         pattern.
23986         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
23987
23988 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23989
23990         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
23991         correctly.
23992
23993 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
23994
23995         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
23996         * configure: Regenerate.
23997
23998 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
23999
24000         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24001         values.
24002
24003 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
24004
24005         * fixinc/inclhack.def (avoid_bool): Also catch
24006         "typedef [unsigned] int bool".
24007         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24008
24009         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24010         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24011         * configure: Rebuilt.
24012
24013 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
24014
24015         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24016         such that we can override its definitions if necessary.
24017         (CPP_SPEC): New define.  Support processor specific predefines via
24018         %(cpp_cpu).
24019         (CC1_SPEC): New define.  Support processor specific compiler
24020         options via %(cc1_cpu).
24021         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
24022         -static.
24023
24024 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24025
24026         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24027         between sed's -e flag, and the open-quote following it.
24028         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24029
24030 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
24031                           Jeffrey A Law  (law@cygnus.com)
24032
24033         * varasm.c (assemble_start_function): Remove the function
24034         from the pending weak decls list when we define a function.
24035         (assemble_variable): Similarly for variables.
24036         (weak_finish): Ignore items on the list with a NULL name.
24037         (remove_from_ending_weak_list); New function to "remove" an item
24038         from the pending weak declarations list.
24039
24040 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24041
24042         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24043
24044 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
24045
24046         * c-lex.c (GETC): Redefine to call getch.
24047         (UNGETC): Redefine to call put_back.
24048         (putback_buffer): New structure type.
24049         (putback): New static structure.
24050         (getch): New function.
24051         (put_back): New function.
24052         (yylex): Replace unused bytes from bad multibyte character.
24053
24054 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
24055
24056         * cpplib.c (do_define): Cast `alloca' return value.
24057         (do_include, do_undef, do_pragma): Likewise.
24058         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24059         values.
24060         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24061         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24062
24063 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24064
24065         * sparc.md (abstf2): This should be an expand.
24066         (split after abstf2_notv9): Fix mode.
24067         (abstf2_hq_v9): New pattern.
24068         (abstf2_v9): Only use when no hard quad.
24069         (absdf2_v9): Fix if target is not the same as source.
24070         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24071         Add correct output constraints.
24072
24073 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
24074
24075         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24076         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24077
24078 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
24079
24080         * mips.h (mips_output_conditional_branch): New function.
24081         (mips_adjust_insn_length): Likewise.
24082         (ASSEMBLER_SCRATCH_REGNUM): New macro.
24083         (ADJUST_INSN_LENGTH): Likewise.
24084         * mips.c (print_operand): Add `F' and `W' for floating-point
24085         comparison opcodes.
24086         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24087         are now in bytes.
24088         (mips_adjust_insn_length): New function.
24089         (mips_output_conditional_branch): New function.
24090         * mips.md (length): Adjust attribute definition to handle
24091         conditional branches.  Change lengths to bytes, rather than
24092         instructions throughout.  Remove length attribute from
24093         instructions whose length is four bytes, and rely on the default
24094         instead.
24095         (dslot): Fix typo in comment.
24096         Reword conditional branch patterns to use
24097         mips_output_conditional_branch.
24098
24099 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24100
24101         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24102         (LIB_SPEC): Likewise.
24103         Link with -lprof1_r for -g/-pg.
24104
24105 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24106
24107         * loop.c (check_dbra_loop): Fix change of Jan 19.
24108
24109 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
24110
24111         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
24112         (STARTFILE_SPEC):  Define, override the svr4.h version.
24113         (ENDFILE_SPEC):  Likewise.
24114
24115 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
24116
24117         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24118         * fixinc/fixincl.x: Regenerated.
24119         * fixinc/inclhack.sh: Regenerated.
24120
24121 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24122
24123         * sh.c (barrier_align): Don't return early for normal branch/barrier
24124         when optimizing for SH2.
24125
24126 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
24127
24128         * i386/udk.h (LINK_SPEC): Correct linker search path for
24129         system libraries.
24130
24131 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24132
24133         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24134         (braf_label_ref_operand): Delete.
24135         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24136         * sh.md (casesi_jump_2): Operand1 is now the inside of a
24137         label_ref, and has no predicate.
24138         The patten has a predicate to guard against invalid substitutions.
24139         (dummy_jump): Delete.
24140         (casesi): Update use of casesi_jump_2.
24141
24142 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24143
24144         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24145         *fixinc/fixincl.x: regenerate
24146         *fixinc/inclhack.sh: regenerate
24147
24148 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
24149
24150         * dwarf2out.c (add_incomplete_type): New fn.
24151         (gen_struct_or_union_type_die): Call it.
24152         (retry_incomplete_types): New fn.
24153         (dwarf2out_finish): Call it.
24154
24155 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
24156
24157         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24158         current block starts with a CODE_LABEL and ends with a CALL and
24159         we can not find all the argument setup instructions for the CALL.
24160
24161 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
24162
24163         Revert this change:
24164         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24165         something is a candidate for optimize_bit_field_compare.
24166
24167 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24168
24169         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24170
24171 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
24172
24173         * alpha.c (override_options): Thinko in last patch.
24174
24175         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24176         (LIB_SPEC): Recognize -pthread.
24177
24178 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
24179
24180         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24181         definition in config/arm/coff.h
24182         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24183
24184 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24185
24186         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24187         fixes that need "file=xxx\n" prepended before invocation
24188         (start_fixer - new): starting the fixer process is complex enough
24189         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
24190         (process): uses the new routine; omit usage of putenv()
24191         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24192         * fixinc/fixincl.x: regenerate
24193
24194 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
24195
24196         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24197         and version #s (1.1 -> 2.96) as needed.
24198         * README.g77: Kill way out of date file in the toplevel directory.
24199
24200 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
24201
24202         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24203         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
24204         * configure: Rebuilt.
24205         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24206         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24207         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24208         (SWITCH_TAKES_ARG): Likewise.
24209         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24210         * config/t-freebsd: Moved from config/i386/ so it can used for all
24211         FreeBSD targets.
24212
24213 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
24214
24215         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24216
24217 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
24218
24219         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24220         * configure: Rebuilt.
24221
24222 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
24223
24224         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24225         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24226         * rs6000/rs6000.c (rs6000_file_start): Use putc.
24227         (rs6000_output_load_toc_table): Same.
24228         (output_prolog, output_mi_thunk): Same.
24229         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24230         (ASM_GLOBALIZE_LABEL): Use putc.
24231
24232 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
24233
24234         * alpha.md (reload_*_help): New patterns and splitters.
24235         (reload_*): Use them.
24236         (mov[qh]i): Likewise.
24237
24238 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
24239
24240         * cccp.c (handle_directive): Handle backslash-newlines in quoted
24241         strings correctly.
24242
24243 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
24244
24245         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24246
24247 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
24248
24249         * flow.c (mark_regs_live_at_end, insn_dead_p,
24250         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24251         and HARD_FRAME_POINTER_REGNUM special treatment if reload
24252         hasn't run or the frame pointer is needed.
24253         * haifa-sched.c (attach_deaths): Likewise.
24254         * sched.c (attach_deaths): Likewise.
24255
24256 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
24257
24258         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24259         calculate_can_reach_end returns nonzero.
24260
24261         * configure.in (native gas tests): Search for an assembler in the
24262         same manner that the installed compiler will.
24263         * configure: Rebuilt.
24264         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24265
24266         * alias.c (find_base_term): Improve handling of addresses
24267         constructed from binary operations.
24268
24269 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
24270
24271         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24272
24273 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
24274
24275         * function.h (cleanup_label, frame_offset): Declare.
24276         (tail_recursion_label, tail_recursion_reentry): Likewise.
24277         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24278         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24279         (tail_recursion_label, tail_recursion_reentry): Likewise.
24280         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24281
24282 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
24283
24284         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24285         defined.
24286         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24287         (MAX_OFILE_ALIGNMENT): Define.
24288
24289 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
24290
24291         * fixincl.c: Replace local include scheme with #includes of
24292         gansidecl.h and system.h.
24293         * procopen.c:  Likewise.
24294         * server.c:  Likewise.
24295
24296 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
24297
24298         * i386/t-dgux (EXTRA_PARTS): Add crti.o
24299         (crti.o): Add build rule and dependencies.
24300         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
24301
24302 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24303
24304         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24305         (LIB_LINUX_SPEC): Likewise.
24306         (LIB_LINUX_SPEC): Add support for -pthread
24307         (CPP_OS_LINUX_SPEC): Likewise.
24308         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24309         specified.
24310
24311 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
24312
24313         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24314         conditional move.
24315         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24316         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24317         for IEEE math and CC_FCOMI.
24318         (put_jump_code): No IEEE if CC_FCOMI is set.
24319
24320 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24321
24322         * fold-const.c (fold_truthop): Make the field reference unsigned
24323         when converting a single bit compare.
24324
24325 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24326
24327         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24328
24329 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
24330
24331         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24332         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24333         version did.
24334
24335         * reload.c (push_reload): Do not call remove_address_replacements
24336         when presented with identical optional reloads.
24337
24338 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
24339
24340         * alpha.h (MASK_FIX, TARGET_FIX): New.
24341         (MASK_*): Reorganize constants.
24342         (CPP_AM_FIX_SPEC): New.
24343         (TARGET_SWITCHES): Add FIX.
24344         (EXTRA_SPECS): Likewise.
24345         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24346         (SECONDARY_MEMORY_NEEDED): Likewise.
24347         (REGISTER_MOVE_COST): Likewise.
24348         * alpha.c (override_options): Add FIX support.  Always use
24349         ALPHA_TP_PROG for ev6.
24350         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24351         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24352         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24353
24354 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
24355
24356         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24357         something is a candidate for optimize_bit_field_compare.
24358
24359 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
24360
24361         * gcc.texi (Passes): Document branch-shortening.
24362         * invoke.texi (Debugging Options): Document the fact that `-dp'
24363         outputs length information for instructions.
24364
24365 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
24366
24367         * flow.c: Revert previous delta.
24368
24369 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
24370
24371         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24372         FRAME_POINTER_REGNUM.
24373         (mark_set_1): Ditto.
24374         (mark_used_regs): Ditto.
24375
24376 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
24377
24378         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24379         (GOT_PCREL): New macro.  Define to 1 if not already defined.
24380         * arm/elf.h (GOT_PCREL): Define to 0.
24381         * arm.c (arm_finalize_pic): Take into account the setting of
24382         GOT_PCREL.
24383
24384 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
24385
24386         * output.h (STRIP_NAME_ENCODING): Provide default definition.
24387         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24388
24389         * flow.c (mark_set_1): Do not record BLKmode stores as dead
24390         store elimination candidates.
24391
24392 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24393
24394         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24395         TARGET_GAS.
24396
24397 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
24398
24399         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24400         Add use of x-aix41-gld.
24401
24402 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24403
24404         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24405         (ASM_OUTPUT_DESTRUCTOR): Define.
24406
24407 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
24408
24409         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24410         last CODE_LABEL in a loop if we have previously passed a jump
24411         to the top of the loop.
24412
24413 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
24414
24415         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24416         applying Philip's patch.
24417
24418 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
24419
24420         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24421         are not VAR_DECLs.
24422
24423 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
24424
24425         * loop.c (strength_reduce): Grow reg_single_usage as needed.
24426
24427 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
24428
24429         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24430         Also remove a useless comment.
24431
24432 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24433
24434         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
24435
24436 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
24437
24438         * collect2.c (main): Only generate import or export file and add
24439         to link arguments if non-empty.  Use xmalloc not alloca.
24440         (write_{export,import}_file): Delete.
24441         (write_aix_file): New function.
24442         (locatelib): Use xmalloc not malloc.
24443         (GCC_OK_SYMBOL): Do not check type if aix64.
24444
24445 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
24446
24447         Based on patch by Scott Bambrough and Pat Beirne:
24448         * config/arm/arm.c (making_const_table): New variable.
24449         * config/arm/arm.h (making_const_table): Declare.
24450         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24451         appropriate.
24452         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24453         Keep track of when we are building the constant table.
24454
24455 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
24456
24457         * config/arm/arm.c (arm_override_options): Fix erroneous warning
24458         message.
24459
24460 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
24461
24462         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24463         defined.
24464
24465 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
24466
24467         * tm.texi (FUNCTION_ARG): Correct description of a stack element
24468         in a PARALLEL.
24469
24470 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
24471
24472         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24473
24474 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24475
24476         * rs6000.c (output_mi_thunk): Enable full support again.
24477
24478 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24479
24480         * sh.h (BRANCH_COST): Define.
24481
24482 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
24483
24484         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24485
24486 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
24487
24488         * function.c (assign_stack_local): Align stack slot propertly.
24489         (assign_outer_stack_local): Likewise.
24490
24491 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
24492
24493         * expr.h (lang_expand_constant): Declare.
24494         * toplev.c (lang_expand_constant): Define it.
24495         * varasm.c (output_constant): Use it.
24496
24497 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24498
24499         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24500         Change function definitions to K&R style.
24501
24502 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24503
24504         * fixinc/fixincl.c: We must not ignore SIGCLD now.
24505
24506 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
24507
24508         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24509         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24510         (several places): omit static initialization
24511         (process): use single fd, since only the read fd is used
24512         * fixinc/gnu-regex.c: define 'const' away, if not supported
24513         * fixinc/procopen.c(several places): omit static initialization
24514         * fixinc/server.c: define 'volitile' away, if not supported
24515
24516 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24517
24518         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24519         asm_fprintf and %L to generate the label name.
24520         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24521         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24522
24523 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
24524
24525         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24526         insn for a conditional jump can not be found.
24527
24528 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
24529
24530         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24531         on variables in specific sections other than .sbss and .sdata.
24532
24533 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
24534
24535         * stmt.c (expand_return): Call start_cleanup_deferral and
24536         end_cleanup_deferral around conditional code.
24537
24538 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24539
24540         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24541         filename lists.  Utilizes new "krstr" AutoGen function.
24542         * fixinc/fixincl.x: Rebuilt.
24543
24544 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
24545
24546         * i386.c (output_float_compare): Avoid GNU-C extensions.
24547
24548 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
24549
24550         * version.c: Bump to distinguish mainline tree from the
24551         gcc-2.95 branch.
24552
24553 See ChangeLog.1 for earlier changes.
24554
24555