OSDN Git Service

* objc/objc-act.c: Include ggc.h.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
2
3         * objc/objc-act.c: Include ggc.h.
4         (objc_tree_index, objc_global_trees): Convert most of the
5         static tree variables into a static array with previous names
6         as defines.
7         (objc_ellipsis_node): New variable.
8         (lang_init): Call objc_act_parse_init and c_parse_init.
9         Create objc_ellipsis_node.
10         (build_selector_translation_table): Use objc_ellipsis_node instead
11         of (tree)1.
12         (hack_method_prototype): Likewise.
13         (get_arg_type_list): Likewise.
14         (start_method_def): Likewise.
15         (continue_method_def): Likewise.
16         (gen_method_decl): Likewise.
17         (ggc_mark_imp_list): New function.
18         (ggc_mark_hash_table): New function.
19         (objc_act_parse_init): New function.
20         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
21         * c-parse.in (c_parse_init): For objc add roots of objc specific
22         local tree variables.
23         * objc/objc-parse.y: Rebuilt.
24         * objc/objc-parse.c: Rebuilt.
25         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
26
27 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
28
29         * cse.c (delete_trivially_dead_insns): Also delete insns
30         that copy a register to itself where the destination is
31         a strict_low_part.
32
33 2000-04-11  Richard Henderson  <rth@cygnus.com>
34
35         * flow.c (struct propagate_block_info): Add new_dead, new_live.
36         (propagate_block): Initialize them.  Use them in parallel instead
37         of one tmp variable, ie revert much of the 0408 and 0407 functional
38         changes, but keep the structural changes.
39         (mark_set_regs): Take new_dead from propagate_block_info instead.
40         (mark_set_1, mark_set_reg): Likewise.
41         (mark_used_regs): Likewise with new_live.
42         (mark_used_reg): Likewise.  Revert 0408 change.
43
44 2000-04-11  Nick Clifton  <nickc@cygnus.com>
45
46         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
47         restriction.
48         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
49
50 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
51
52         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
53         const section to output a CONSTRUCTOR based on the same conditions
54         used for VAR_DECLs.
55
56 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
57
58         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
59         * pa/pa-protos.h (output_call): Add additional argument indicating
60         if the call is a sibling/tail call.
61         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
62         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
63         (function_arg, function_arg_partial_nregs): Likewise
64         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
65         (emit_move_sequence): Zero extend certain constants as needed
66         for TARGET_64BIT.
67         (compute_zdepdi_operands, output_64bit_and): New functions.
68         (output_64bit_ior, function_arg): Likewise.
69         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
70         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
71         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
72         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
73         (output_bvb): Likewise.
74         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
75         (output_call): New argument 'sibcall'.  Generate sibcall sequences
76         as needed.
77         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
78         (ouput_arg_descriptor): Do not emit argument descriptors for
79         TARGET_64BIT.
80         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
81         defined.
82         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
83         (FUNCTION_OK_FOR_SIBALL): Define.
84         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
85         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
86         (CPP_SPEC): Use new spec infrastructure.
87         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
88         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
89         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
90         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
91         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
92         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
93         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
94         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
95         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
96         (FUNCTION_ARG); Call out to C code.
97         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
98         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
99         (MIN_UNITS_PER_WORD): Likewise.
100         * pa/pa.md (cmpdi): New expander.
101         (scc patterns, movstrsi): Not available for TARGET_64BIT.
102         (64bit conditional arithmetic): New patterns.
103         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
104         (movsicc): Not available if modes on all the operands to not match.     
105         (movdicc): New expander and associated patterns.
106         (64bit branches): New patterns.
107         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
108         (pre_ldd, post_std): New patterns.
109         (64bit addil, load low part): New patterns.
110         (special movsf constant): Not available for TARGET_64BIT.
111         (movsf, movdf expanders): Force constants into memory.
112         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
113         (64bit movdf/movdi patterns): New patterns.
114         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
115         for TARGET_64BIT.
116         (extendqidi2, extendhidi2, extendsidi2): Similarly.
117         (adddi3 expander): Allow "arith_operand" for second input.
118         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
119         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
120         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
121         (muldi3): New expander for TARGET_64BIT.
122         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
123         for TARGET_64BIT.
124         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
125         patterns for TARGET_64BIT.
126         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
127         patterns for TARGET_64BIT.
128         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
129         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
130         (sibcall_epilogue): New expander.
131         (casesi): Tweak for TARGET_64BIT.
132         (call expanders): Set & use the outgoing argument pointer.  Use the
133         64bit call patterns as needed. Add additional arg to output_call.
134         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
135         (sibcall, sibcall_internal_symref): New expanders.
136         (sibcall_value, sibcall_value_internal_symref
137         (interspace_jump): Turn into an expander + matching patterns.
138         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
139         * pa/pa64-regs.h: Eliminate trigraph sequences.
140         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
141
142 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
143
144         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
145         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
146         cpp_token with cpp_ttype everywhere.
147         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
148         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
149         CPP_BUF_COL.  Line and column numbers are unsigned int, not
150         long.
151         * cpplex.c (cpp_buf_line_and_col): Delete.
152         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
153         'long lineno' to 'unsigned int lineno'.
154         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
155
156 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
157
158         * extend.texi: ISO C99 is not a draft anymore.
159         * invoke.texi: ISO C++ is not a draft anymore.
160         * cpp.texi: __cplusplus is required by the ISO standard.
161
162         * extend.texi (-fthis-is-variable): Undocument.
163         * flags.h (warn_template_debugging): Remove declaration.
164         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
165         -Wenum-clash, -Wtemplate-debugging): Undocument.
166
167 2000-04-10  Nick Clifton  <nickc@cygnus.com>
168
169         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
170         integer.
171         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
172         integer.
173         (ARM_SIGN_EXTEND): Use HOST_UINT.
174         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
175         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
176         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
177         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
178
179         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
180         (arm_gen_constant): Use HOST_UINT.
181         (arm_canonicalize_constant): Use HOST_UINT.
182         (arm_reload_in_hi): Use HOST_UINT.
183         (arm_reload_out_hi): Use HOST_UINT.
184         (output_multi_immediate): Use HOST_UINT.
185         (int_log2): Use HOST_UINT.
186         (arm_poke_function_name): Use HOST_UINT.
187         (arm_output_epilogue): Use arm_volatile_func().
188         (output_thumb_prologue): Use arm_strip_name_encoding().
189         
190 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
191
192         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
193         of sequence point problems.
194
195 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
196
197         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
198         Recomment.
199         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
200
201 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
202
203         * sbitmap.h: Whitespace changes and use upper-case macro args.
204         (struct simple_bitmap_def): All sizes now unsigned.
205         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
206         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
207         (sbitmap_vector_alloc): Parms and local vars now unsigned.
208         (sbitmap_zero): Cast bzero arg to PTR.
209         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
210         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
211         loop to make structure clearer.
212         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
213         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
214         (sbitmap_a_and_b_or_c): Likewise.
215         (sbitmap_intersection_of_succs): Minor cleanups.
216         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
217         (sbitmap_union_of_preds): Likewise.
218         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
219         (debug_sbitmap): New function.
220         
221         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
222         * c-typeck.c (convert_for_assignment): Likewise.
223
224         * expmed.c (init_expmed): Don't free objects we make.
225         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
226
227         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
228         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
229
230         * gcse.c (expr_hash_table_size): Now unsigned.
231         (compute_ae_gen): Local variable `i' now unsigned.
232         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
233         (compute_transout, hoist_code): Likewise.
234         (compute_local_properties): Likewise, also hash_table_size.
235         (alloc_expr_hash_table): N_INSNS now unsigned.
236         (delete_null_pointer_checks): Mark arg F as unused.
237
238         * regrename.c: Minor cleanups, including chang some variables
239         to unsigned int.
240
241 2000-04-10  Neil Booth  <NeilB@earthling.net>
242
243         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
244         than GETC ().
245         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
246
247 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
248
249         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
250         __classof__, and __headof__ from the list of gnu keywords.
251         (-ansi): Remove -foperator-names from list of implied options. 
252         Do not call it ANSI C++.
253         (-foperator-names): Document as -fno-operator-names.
254
255 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
256
257         * cpphash.c (timestamp): Delete.
258         (del_HASHNODE): If type is T_MCONST, free value.cpval.
259         (special_symbol): Remove unnecessary braces.  Remove
260         T_VERSION.  Treat T_STDC like T_CONST unless
261         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
262         when one is encountered, then convert them into T_MCONST
263         nodes.
264         * cppinit.c (builtin_array): version_string is T_MCONST.
265         __STDC__ has a "1" in its cpval.  Don't have a terminator
266         entry.  Clean up which entries are dumped.
267         (initialize_builtins): Only __STDC__ gets the special
268         -traditional treatment.  Count the length of builtin_array.
269         Render version_string here.
270         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
271         * cpplib.h (struct cpp_reader): Remove timebuf. 
272
273 2000-04-09  Richard Henderson  <rth@cygnus.com>
274
275         * genrecog.c (pred): Update comparison_operator for the unordered
276         operators.
277
278         * config/i386/i386.c (no_comparison_operator): Disallow unordered
279         operators.
280         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
281         (uno_comparison_operator): New.
282         (put_condition_code): Handle UNORDERED/ORDERED.
283         (unsigned_comparison): Likewise.
284         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
285         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
286         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
287         update all callers.  Handle all 8 unordered operators.
288         (ix86_expand_setcc): Lose the unordered argument, update all callers.
289         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
290         * config/i386/i386.h (PREDICATE_CODES): Update.
291         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
292         (ix86_expand_branch, ix86_expand_setcc): Update.
293         * config/i386/i386.md (sunordered, sordered): New.
294         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
295         (bunordered, bordered): New.
296         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
297         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
298         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
299
300 2000-04-09  Philip Blundell  <philb@gnu.org>
301
302         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
303         
304 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
305
306         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
307         fix_truncxfhi2): New patterns.
308         * i386.c (output_fix_trunc): Handle converting to HImode.
309
310 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
311
312         * ssa.c (convert_to_ssa): Eliminate dead code when calling
313         life_analysis.  
314         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
315         (for_each_successor_phi): Change parameter to basic_block.
316         (coalesce_regs_in_successor_phi_nodes): Likewise.
317         (coalesce_regs_in_copies): Likewise.
318         (compute_coalesced_reg_partition): Use basic_block instead of index.
319         * rtl.h (convert_to_ssa): Delete.
320         (convert_from_ssa): Likewise.
321         (successor_phi_fn): Likewise.
322         (for_each_successor_phi): Likewise.
323         (in_ssa_form): Likewise.
324         * basic-block.h (convert_to_ssa): Moved from rtl.h.
325         (convert_from_ssa): Likewise.
326         (successor_phi_fn): Likewise.
327         (in_ssa_form): Likewise.
328         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
329         * flow.c (calculate_global_regs_live): Pass a basic_block to
330         for_each_successor_phi.
331
332 2000-04-08  Richard Henderson  <rth@cygnus.com>
333
334         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
335         was modified in the current insn.
336
337 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
338
339         * arm/thumb.md: Delete.
340         * arm/thumb-protos.h: Delete.
341
342 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
343
344         Merge changes from merged-arm-thumb-backend-branch onto trunk.
345
346         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
347
348         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
349         into branch.
350
351         * arm.md (nop): Use the standard RTL expression.  Don't code as a
352         define_expand.
353         (*arm_nop, *thumb_nop): Delete.
354
355         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
356         constants.  Use casts instead.
357         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
358         output_multi_immediate, arm_poke_function_name): Likewise.
359         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
360         MASK_RETURN_ADDDR): Likewise.
361
362         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
363
364         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
365         into branch.
366         
367         * arm.md (eh_epilogue): New function.
368         * arm.h (struct machine_function): Move to here ...
369         * arm.c: ... from here.
370         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
371         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
372         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
373
374         2000-03-30  Nick Clifton  <nickc@cygnus.com>
375
376         * config/arm/semi.h (ASM_SPEC): Restore definition.
377         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
378
379         * config/arm/elf.h (ASM_SPEC): Restore definition.
380         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
381
382         * config/arm/arm.h (ASM_SPEC): Remove definition.
383         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
384
385         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
386
387         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
388
389         2000-03-24  Nick Clifton  <nickc@cygnus.com>
390
391         Various formating tidyups, elimination of compile time
392         warnings and synchronisation with internal sources:
393         
394         * config/arm/arm-protos.h (assemble_align): Add prototype.
395         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
396         (gen_comapre_reg): Rename to arm_gen_compare_reg.
397         (arm_return_addr_rtx): Rename to arm_return_addr.
398
399         * config/arm/arm.c: Include except.h.
400         Define shorter typenames for strict minipool_node and struct
401         minipool_fix.
402         (arm_return_in_memory): For WinCE return all structures <= 32 bits
403         in memory.
404         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
405         (gen_comapre_reg): Rename to arm_gen_compare_reg.
406
407         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
408         already defined.
409         (ASM_SPEC): Define if not already defined.
410         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
411
412         * config/arm/arm.md: Rename references to gen_rotated_half_load to
413         arm_gen_rotated_half_load, and references to gen_comapre_reg to
414         arm_gen_compare_reg.
415         (indirect_jump):  Only accept register operands.
416         (load_indirect_jump): Keep this pattern since combine can generate
417         it.
418
419         * config/arm/coff.h: Include aout.h.
420         (MULTILIB_DEFAULTS): Only define if not already defined.
421
422         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
423         into arm.h (so that COFF ports can support thumb based aliases).
424         (ASM_SPEC): Move definition into arm.h
425         
426         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
427         redundant apcs spec.
428         (ASM_SPEC): Move definition to arm.h
429
430         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
431
432         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
433         for entries in the .bss section
434
435         2000-03-23  Nick Clifton  <nickc@cygnus.com>
436
437         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
438         to thumb_far_jump_used_p.
439
440         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
441         single integer parameter.
442
443         * config/arm/arm.c (struct machine_function): Add two new
444         fields, 'far_jump_used' and 'arg_pointer_live'.
445         (thumb_far_jump_used_p): Once the decision has been made that
446         far jumps might be used, always return true.
447         If being called from the initial elimination offset macro then
448         do not bother to perform the test if the arg pointer is not
449         being used.
450         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
451         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
452
453         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
454
455         * arm.c (output_return_instruction): Handle more cases where we can
456         return from a function with an ldr instruction.
457         (arm_output_epilogue): Likewise.
458
459         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
460         if we need to push a large stack frame and there are no callee-saved
461         registers.
462
463         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
464         in ARM code if the frame pointer has been eliminated.
465
466         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
467         unspec_volatile arguments to avoid duplicates.
468         (consttable_1, consttable_2): Fixes for big-endian mode.
469
470         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
471         as appropriate.
472
473         Re-write constant pool code.
474         * arm.c (minipool_node, minipool_fix): New types.
475         (minifix): Delete type.
476         (arm_add_minipool_constant): Delete.
477         (arm_compute_minipool_offsets, arm_find_barrier, 
478         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
479         (get_jump_table_size): Now returns HOST_WIDE_INT.
480         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
481         functions.
482         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
483         (assign_minipool_offsets, arm_print_value): Likewise.
484         (dump_minipool): Rewrite.
485         (arm_barrier_cost): New function.
486         (create_fix_barrier): New function.
487         (push_minipool_barrier): New function.
488         (push_minipool_fix): Record additional information about the fixup 
489         required.
490         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
491         check the mode of what needs fixing.
492         (arm_reorg): Rewrite.
493
494         2000-03-08  Nick Clifton  <nickc@cygnus.com>
495
496         * config/arm/arm.md (indirect_jump): Force constant addresses into
497         a register. 
498
499         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
500
501         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
502
503         2000-02-24  Nick Clifton  <nickc@cygnus.com>
504
505         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
506         adjust is word aligned.
507         (thumb_expand_epilogue): Make sure that stack adjust is word
508         aligned.
509
510         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
511         
512         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
513
514         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
515         pointer relative addresses.
516
517         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
518
519         * arm.c (find_barrier): Find the last barrier within the allowed 
520         range.
521
522         2000-02-09  Nick Clifton  <nickc@cygnus.com>
523
524         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
525
526         2000-02-09  Nick Clifton  <nickc@cygnus.com>
527
528         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
529         ARM_FUNCTION_PROFILER. 
530
531         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
532         ARM_FUNCTION_PROFILER. 
533
534         * config/arm/linux-oldld.h: Imported from mainline sources.
535
536         2000-02-07  Nick Clifton  <nickc@cygnus.com>
537
538         * config/arm/lib1funcs.asm: Merge in thumb functions from
539         lib1thumb.asm.
540         
541         * config/arm/lib1thumb.asm: Delete.
542
543         2000-02-04  Nick Clifton  <nickc@cygnus.com>
544
545         * config/arm/arm.c: Sychronised with current Red hat local
546         sources. 
547         * config/arm/arm.h: Ditto.
548         * config/arm/arm-protos.h: Ditto.
549
550         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
551
552         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
553
554         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
555         byte stores.
556
557         2000-02-02  Nick Clifton  <nickc@cygnus.com>
558
559         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
560
561         * config/arm/arm.md (epilogue): Fix rtl checking abort because
562         (return) was emited using an emit_insn() call. 
563         
564         2000-01-31  Nick Clifton  <nickc@cygnus.com>
565
566         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
567         thumb stack frame.
568         (thumb_exit): Move frame pointer back into hard frame pointer
569         register if backtracing is being used.
570
571         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
572
573         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
574         into branch.
575
576         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
577
578         * config/arm/arm.md (neg_pool_offset): Provide default for new
579         attribute.
580         (arm_movsi_insn): Add neg_pool_offset attribute.
581         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
582         rtx for the insn that starts the scan and an unsigned long for its
583         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
584         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
585         instructions in *PINSERTED.
586         (struct minipool_fixup): Add MIN_ADDRESS elt.
587         (sort_fixups): Compute it.
588         (arm_reorg): Changes to support inserting pools before the insn to be
589         fixed up.
590
591         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
592
593         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
594         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
595         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
596
597         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
598
599         * config/arm/semi.h (TARGET_VERSION): Do not define if already
600         defined.
601         (TARGET_DEFAULT): Do not define if already defined.
602
603         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
604
605         * config/arm/arm.md (anddi3): Allow disjoint source operands.
606         (iordi3): Allow disjoint source operands.
607         (xordi3): Allow disjoint source operands.
608         (negdi2): Permit construction for ARM and Thumb.
609         (arm_negdi2): Renamed version of old negdi2 pattern.
610         (thumb_negdi2): New pattern: Only permit non-overlapping
611         source and destination.
612
613         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
614
615         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
616         scratch low register so that it will not be deleted.
617
618         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
619
620         * config/arm/pe.h (ARM_PE): Define.
621         
622         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
623         interfacearm attribute if this is a PE toolchain.
624         (output_return_instruction): Do not emit anything if the function
625         has the naked attribute set.
626         (is_called_in_ARM_mode): If the function has the interfacearm
627         attribute then return true.
628         (thumb_expand_prologue): Do not generate a prologue for naked
629         functions.
630         (thumb_expand_epilogue): Do not generate an epilogie for a naked
631         function.
632         (output_thumb_prologue): Do not bother if the function is naked.
633         Strip PE encoding from function name before emitting.
634
635         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
636
637         * arm.md (pic_load_addr): Fix constraints.
638
639         * arm.md (casesi_insn): Fix mis-applied patch.
640
641         * arm.md ("core" function unit): Add rules for single- and
642         multi-cycle insns.
643         (All TARGET_THUMB patterns): Add "type" attribute information
644         where needed.
645         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
646         the following insn is a CALL.
647
648         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
649         pointer.
650         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
651         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
652         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
653         
654         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
655
656         * config/arm/linux-gas.h: oops - this file was missed out when the
657         branch was created...
658
659         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
660
661         * thumb.c: Deleted.  Move contents to ...
662         * arm.c: ... here.
663         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
664         rule for thumb.o
665         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
666         * configure: Regen.
667
668         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
669         declare a prototype for asm_output_align();
670
671         * arm.c (thumb_condition_code): Delete.
672         (arm_print_operand): Always use arm_condition_code array.
673
674         * arm.c (thumb_return_addr_rtx): Delete.
675         (arm_save_machine_status, arm_restore_machine_status): Delete.
676         (arm_init_machine_status, arm_mark_machine_status): New functions.
677         (arm_init_expanders): Update accordingly.
678         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
679         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
680         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
681         
682         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
683
684         * configure.in : Fix arm-*-aout target to use new t-arm-aout
685         script. 
686         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
687         targets.
688
689         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
690
691         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
692         stack backtrace structure.
693
694         * config/arm/arm-protos.h: Add prototypes for functions defined in
695         arm/pe.h.
696         
697         * config/arm/arm.c (arm_override_options): Fix selection of 
698         attributes of default processor.
699         
700         * config/arm/coff.h: Delete needless #include.
701         
702         * config/arm/pe.c: Delete unused code.
703         
704         * config/arm/pe.h (CPP_DEFINES): Delete
705         (SUBTARGET_CPP_SPEC): Define.
706         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
707         
708         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
709
710         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
711
712         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
713         updated.
714         (CAN_DEBUG_WITHOUT_FP): Define.
715         (FIXED_REGISTERS): Make r11 call-saved.
716         (CALL_USED_REGISTERS): Likewise.
717         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
718         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
719         frame-pointer is required.
720         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
721         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
722         if the target normally needs a stack frame in non-leaf functions.
723         (use_return_insn): Correct logic for determining when a return
724         instruction can be used.
725         (output_return_instruction): Handle the frame-pointer register as
726         a normal register when not TARGET_APCS_FRAME.
727         (arm_output_prologue): Likewise.
728         (arm_output_epilogue): Likewise.
729         (output_func_epilogue): Likewise.
730         (arm_expand_prologue): Likewise.
731         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
732
733         * arm.c (use_return_insn): No need to check floating point regs if
734         TARGET_SOFT_FLOAT.
735         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
736         the code of value stored in the minipool array.
737         (arm_add_minipool_constant): Likewise.
738
739 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
740
741         * basic-block.h (conflict_graph_enum_fn): K&R fix.
742
743 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
744
745         * tree.c (tree_expr_nonnegative_p): New function.
746
747         * tree.h (tree_expr_nonnegative_p): Declare.
748
749         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
750         elide some sign_compare warnings.
751         (build_conditional_expr): Likewise.
752
753 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
754
755         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
756
757         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
758         * i386.c (print_operand): Use the proper suffix for a 387 HImode
759         operand.  Abort if a 387 operand has an unsupported size.
760
761 2000-04-08  Neil Booth  <NeilB@earthling.net>
762
763         * cppexp.c (parse_charconst): Null does not end character
764         constants.
765         * cppinit.c (ISTABLE): Null character handled as whitespace.
766         * cpplex.c (null_warning):  new function.
767         (skip_string): Emit warning if nulls encountered.
768         (_cpp_skip_hspace): Emit warning if nulls encountered.
769         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
770         them.
771         * cpp.texi: Update.
772
773 2000-04-07  Richard Henderson  <rth@cygnus.com>
774
775         * flow.c (loop_depth): Remove.
776         (reg_next_use, cc0_live, mem_set_list): Replace with ...
777         (struct propagate_block_info): New.
778         (life_analysis): Don't allocate reg_next_use.
779         (propagate_block_delete_insn): Break out of propagate_block.
780         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
781         (propagate_block_delete_libcall): Likewise.
782         (propagate_block): Create a propagate_block_info struct to pass
783         to subroutines.  Allocate one not two temporary regsets.  Don't
784         clobber memory for const calls.  Look for clobbers in
785         CALL_INSN_FUNCTION_USAGE.
786         (mark_set_regs): Recognize COND_EXEC.
787         (mark_set_reg): Break out of mark_set_1.
788         (mark_used_reg): Break out of mark_used_regs.
789         (mark_used_regs): Recognize COND_EXEC.
790         (insn_dead_p): Use propagate_block_info struct.
791         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
792         (find_auto_inc, try_pre_increment_1): Likewise.
793         (print_rtl_with_bb): Dump regs live at end too.
794         (count_reg_sets_1): Pass in loop_depth.
795         (count_reg_sets, count_reg_references): Likewise.
796         (recompute_reg_usage): Provide it.
797
798 2000-04-07  Richard Henderson  <rth@cygnus.com>
799
800         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
801         not the raw files.
802
803 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
804
805         * cpplib.c (do_elif): Skip the rest of the line if we're
806         not going to bother evaluating it.
807         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
808         to avoid pointless calls to the lexer.
809
810 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
811
812         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
813
814 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
815
816         * calls.c (expand_call): emit_queue if we're trying a sibcall.
817
818 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
819
820         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
821
822 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
823
824         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
825         crtend so they can be multilibbed.
826         (STAGESTUFF): Remove s-crt and s-crtS.
827
828 2000-04-07  Richard Henderson  <rth@cygnus.com>
829
830         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
831         if we discover we need a pseudo and no_new_pseudos is true.
832         * config/alpha/alpha.md (ne:DI insn): New.
833         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
834
835 2000-04-07  Richard Henderson  <rth@cygnus.com>
836
837         * rtl.def (COND_EXEC): New.
838         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
839         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
840
841         * genconfig.c (have_cond_arith_flag): Remove.
842         (have_cond_exec_flag): New.
843         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
844         (main): Print HAVE_conditional_execution.
845
846         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
847         (sched_analyze_insn, print_pattern): Likewise.
848         * reload.c (find_equiv_reg): Likewise.
849         * rtlanal.c (reg_referenced_p): Likewise.
850         (note_stores, dead_or_set_regno_p): Likewise.
851         (reg_overlap_mentioned_p): Rewrite to use a switch.
852
853         * ggc.h (struct rtx_def): Forward declare.
854
855         * print-rtl.c (debug_rtx_range): New.
856         * rtl.h (debug_rtx_range): Declare.
857
858         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
859
860         * gcse.c (gcse_main): Don't rebuild the CFG here.
861         (delete_null_pointer_checks): Likewise.
862         * ssa.c (convert_to_ssa): Likewise.
863         * toplev.c (rest_of_compilation): Do it here instead.  Combine
864         sequential calls to TIMEVAR.  Consistently use `insns' instead of
865         `get_insns()'.  Always split insns after reload when optimizing.
866
867         * basic-block.h (merge_blocks_nomove): Declare.
868         (tidy_fallthru_edge): Declare.
869         * flow.c (merge_blocks_nomove): Document as merging into previous
870         blocks.  Remove cruft from between blocks; remove all edges out of A.
871         (tidy_fallthru_edge): Export.
872
873 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
874
875         * ssa.c (compute_conservative_reg_partition): Declare with
876         void arguments.
877         * toplev.c (clean_dump_file): Remove previously-deleted function
878         inadvertantly merged back in.
879         * conflict.c (conflict_graph_add): Use a single call to
880         htab_find_slot to look up and insert.
881
882 2000-04-06  Richard Henderson  <rth@cygnus.com>
883
884         * genrecog.c (*): Rename _last_insn to last_insn.
885         (make_insn_sequence): Set the position of the peephole2 C test
886         to be at the last insn.
887
888 2000-04-06  Richard Henderson  <rth@cygnus.com>
889
890         * flow.c (compute_flow_dominators): Free worklist.
891
892 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
893
894         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
895
896 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
897
898         * rtl.h (INSN_P): New macro.
899         (successor_phi_fn): New typedef.
900         (for_each_successor_phi): New prototype.
901         (in_ssa_form): New variable.
902         (PHI_NODE_P): Likewise.
903         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
904         phi nodes in successors.
905         (mark_used_regs): Add PHI case.
906         (set_phi_alternative_reg): New function.
907         (life_analysis): Assert that dead code elimination is not selected
908         when in SSA form.
909         * toplev.c (to_ssa_time): New variable.
910         (from_ssa_time): Likewise.
911         (compile_file): Zero to_ssa_time and from_ssa_time.
912         Print time to convert to and from SSA.
913         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
914         (print_time): Compute percent fraction as integer.
915         * ssa.c (PHI_NODE_P): Moved to rtl.h.
916         (convert_to_ssa): Check if we're already in SSA.  
917         Don't eliminate dead code in life_analysis.
918         Rerun flow and life analysis at bottom.
919         (eliminate_phi): Use canonical regnos when adding nodes.
920         (mark_reg_in_phi): New function.
921         (mark_phi_and_copy_regs): Likewise.
922         (convert_from_ssa): Rerun life analysis at top.  
923         Use coalesced partition.
924         Check for removing a phi node at the end of the block.
925         (compute_coalesced_reg_partition): New function.
926         (coalesce_regs_in_copies): Likewise.
927         (coalesce_reg_in_phi): Likewise.
928         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
929         (for_each_successor_phi): Likewise.
930         (rename_context): New struct.
931         (rename_block): Use a rename_context with rename_insn_1.  When
932         renaming sets of a subreg, emit a copy of the entire reg first.
933         (rename_insn_1): Treat data as a rename_context *.  Save current
934         insn in set_data.
935         (rename_set_data): Add field set_insn.
936         * Makefile.in (HASHTAB_H): Move up in file.
937         (OBSTACK_H): New macro.
938         (collect2.o): Use OBSTACK_H in dependencies.
939         (sdbout.o): Likewise.
940         (emit-rtl.o): Likewise.
941         (simplify-rtx.o): Likewise.
942         (fix-header.o): Likewise.
943         (OBJS): Add conflict.o.
944         (conflict.o): New rule.
945         * basic-block.h: Include partition.h.
946         (conflict_graph): New typedef.
947         (conflict_graph_enum_fn): Likewise.
948         (conflict_graph_new): New prototype.
949         (conflict_graph_delete): Likewise.
950         (conflict_graph_add): Likewise.
951         (conflict_graph_conflict_p): Likewise.
952         (conflict_graph_enum): Likewise.
953         (conflict_graph_merge_regs): Likewise.
954         (conflict_graph_print): Likewise.
955         (conflict_graph_compute): Likewise.
956         * conflict.c: New file.
957
958 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
959
960         * tlink.c (read_repo_files): Don't look for .rpo info for
961         linker flags.
962
963 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
964
965         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
966
967 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
968
969         * config/sh/lib1funcs.asm (___udivsi3_i4):
970         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
971         only depends on FMOVD_WORKS.
972
973 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
974
975         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
976         make double constant 8-byte aligned.
977
978 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
979
980         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
981         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
982         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
983         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
984         Accept storing GENERAL_REGS into offsetable memory.
985         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
986         building a TFmode constant other than 0.0L into GENERAL_REGS.
987
988 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
989
990         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
991         
992 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
993
994         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
995         (macro_cleanup): No need to cast pbuf->macro.
996         (collect_expansion): Use _cpp_get_define_token.  Goto done if
997         it returns VSPACE.  Remove check for trailing space after
998         CPP_COMMENT.
999         (_cpp_create_definition): Don't diddle flags here.  Return
1000         directly on error.
1001         (unsafe_chars): Handle c1 being EOF.
1002         (push_macro_expansion): Use unsafe_chars for both accidental-paste
1003         checks.  Don't push the buffer till after we're done with
1004         them.
1005         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1006         (PEEKN, FORWARD, GETC, PEEKC): Use them.
1007         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
1008         appropriately.
1009         (_cpp_parse_assertion): Don't NUL terminate.
1010         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
1011         hspace before calling _cpp_parse_assertion.  Remove all sets
1012         of only_seen_white. Treat '\f' as hspace.  Don't do anything
1013         special with '\n' here.
1014         (maybe_macroexpand): Handle T_EMPTY hash entries without
1015         pushing a buffer at all.
1016         (cpp_get_token): Handle clearing only_seen_white here.  Handle
1017         incrementing the line number here.  Clear
1018         potential_control_macro as well as only_seen_white, if
1019         appropriate.
1020         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1021         (_cpp_get_define_token): New function, basically like
1022         _cpp_get_directive_token was but doesn't eat horizontal space.
1023         Don't do anything with only_seen_white here.
1024         (_cpp_get_directive_token): Just call _cpp_get_define_token
1025         repeatedly till it returns non-hspace.
1026
1027         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1028         (conditional_skip, skip_if_group): Return int.
1029         (DIRECTIVE_TABLE): Change origin of all conditional directives
1030         to "COND".
1031         (TRAD_DIRECT_P): New macro.
1032         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
1033         an error for a bogus directive, unless -lang-asm.  Use
1034         TRAD_DIRECT_P. Loop calling handler functions till one returns
1035         zero.
1036         (get_macro_name): Don't diddle flags here.
1037         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
1038         Create T_EMPTY nodes for #define macro /* nothing */.
1039         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
1040         Use hp->name when calling pass_thru_directive.
1041         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1042         Return the result of conditional_skip and/or skip_if_group.
1043         Don't call _cpp_output_line_command.
1044         (consider_directive_while_skipping): Use _cpp_get_directive_token.
1045         Issue -Wtraditional warnings as appropriate.  Don't complain
1046         about unrecognized directives.  If we are to stop skipping,
1047         return the number of the directive that ended the skip.
1048         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
1049         expansion and line commands while skipping.  Return the result
1050         of consider_directive_while_skipping, if nonzero.
1051         (do_endif): Just set potential_control_macro here.
1052         (validate_else): Use _cpp_get_directive_token.
1053         (do_assert, do_unassert): Don't save pointers into the
1054         token_buffer across calls to the lexer.  Use
1055         _cpp_get_directive_token.  
1056
1057         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
1058         pointer, not an offset.  Replace 'data', which was a generic
1059         pointer, with 'macro', which points to a struct hashnode.
1060         (cpp_reader): Add 'potential_control_macro' pointer.
1061         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1062         (CPP_BUF_GET, CPP_FORWARD): Delete.
1063         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1064         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1065         ACTIVE_MARK_P): Update.
1066         (_cpp_get_define_token): New internal function.
1067         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1068
1069 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
1070
1071         * configure.in: And here.
1072         * configure: Regenerate.
1073         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1074         --enable-libstdcxx-v3 is passed at configure time.
1075         * config.h.in: Regenerate.
1076
1077 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
1078
1079         * final.c (final): Use xcalloc to allocate line_note_exists.
1080         * function.c (free_after_compilation): Free the temp_slots.
1081         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1082         (combine_temp_slot): Free temp_slots when they get combined.
1083         (purge_addressof): Fix typo in comment.
1084         * stmt.c (mark_goto_fixup): Mark the fixup itself.
1085         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1086
1087         * ggc.h: Include varray.h.
1088         (ggc_pending_trees): Declare.
1089         (ggc_mark_tree_children): Remove declaration.
1090         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1091         * ggc-common.c (ggc_pending_trees): New variable.
1092         (ggc_mark_roots): Call ggc_mark_trees.
1093         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
1094         the ggc_pending_trees.
1095         * Makefile.in (GGC_H): New variable.  Use it throughout in place
1096         of ggc.h.
1097         
1098 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1099
1100         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1101         GET_MODE_SIZE.
1102
1103 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1104
1105         * sh.c (sh_insn_length_adjustment): New function.
1106         * sh-protos.h (sh_insn_length_adjustment): Declare.
1107         * sh.h (ADJUST_INSN_LENGTH): Use it.
1108
1109 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
1110
1111         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1112         from the insn where REG_RETVAL is added.
1113         (emit_no_conflict_block): Ditto.
1114
1115         * md.texi (Standard Names): Clarify when movX is needed.
1116
1117         * combine.c (simplify_comparison) [MINUS]: Do not replace
1118         all (op (minus A B) 0) with (op A B).
1119
1120 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
1121                           J"orn Rennecke <amylaar@cygnus.co.uk>
1122
1123         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1124         (block_lump_real): Likewise.
1125
1126 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
1127
1128         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1129         remaining non-zero debugging masks.
1130
1131 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
1132
1133         * basic-block.h (verify_flow_info): Declare.
1134         (flow_loop_outside_edge_p): Declare.
1135         * flow.c (verify_flow_info): Remove declaration.
1136         (clear_log_links, flow_loop_outside_edge_p): Likewise.
1137
1138 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
1139
1140         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1141         not C++ comments.
1142
1143 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
1144
1145         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1146         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1147         seqdi_zero_trunc+1): Allow splits only if registers are
1148         different.
1149
1150 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
1151
1152         * acconfig.h: Add HAVE_GAS_HIDDEN.
1153         * config.in: Regenerated.
1154         * configure.in: Add test for .hidden pseudo-op in gas.
1155         * configure: Regenerated.
1156         * crtstuff.c: Include auto-host.h.
1157         Emit additional .hidden pseudo-op for __dso_handle if the
1158         assembler knows about it.
1159
1160 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
1161
1162         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1163         before freeing argnames.
1164         * cpplib.c (do_ifndef): Cast return value of xstrdup.
1165
1166 2000-04-05  Michael Meissner  <meissner@redhat.com>
1167
1168         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1169         Walton <jonboy@gordian.com> to make memory references with update
1170         work wtih -mregnames.
1171
1172 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1173
1174         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1175         (regrename_optimize): Rename variables `def_uses' and
1176         `ext_basic_blocks' to avoid conflicts with similarly named
1177         typedefs in traditional C.
1178
1179         * calls.c (initialize_argument_information): Fix typo in previous
1180         change.
1181
1182 2000-04-04  Richard Henderson  <rth@cygnus.com>
1183
1184         * regrename.c (consider_available): Test fixed_regs not
1185         PIC_OFFSET_TABLE_REGNUM.
1186
1187 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
1188
1189         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1190         crtend.
1191         (CRTSTUFF_T_CFLAGS_S): Delete definition.
1192         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1193         (ENDFILE_LINUX_SPEC): Always use crtend.
1194         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1195         (powerpc-*-linux-gnu): Likewise.
1196         * configure: Regenerate.
1197
1198         * config/rs6000/eabi.h: Don't include sysv4.h.
1199         (MULTILIB_DEFAULTS): Don't define.
1200         * config/rs6000/eabiaix.h: Don't include eabi.h.
1201         * config/rs6000/eabile.h: Delete.
1202         * config/rs6000/eabilesim.h: Delete.
1203         * config/rs6000/eabisim.h: Don't include eabi.h.
1204         * config/rs6000/linux.h: Don't include sysv4.h.
1205         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1206         (MULTILIB_DEFAULTS): Don't redefine.
1207         * config/rs6000/rtems.h: Don't include eabi.h.
1208         * config/rs6000/sol2.h: Don't include sysv4le.h.
1209         * config/rs6000/sysv4le.h: Don't include sysv4.h.
1210         * config/rs6000/t-ppc: Delete.
1211         * config/rs6000/t-ppcgas: Correct comment.
1212         * config/rs6000/t-ppcos: Correct comment.  Don't build 
1213         multilibs for -fPIC, rather use -fPIC -mstrict-align 
1214         as default.
1215         * config/rs6000/t-ppc: Delete.
1216         * config/rs6000/vxppc.h: Don't include sysv4.h.
1217         * config/rs6000/vxppcle.h: Delete.
1218         * configure.in: Use multiple header files for p2pc ELF targets
1219         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1220         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1221         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1222         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
1223         always available for these platforms.
1224
1225 2000-04-04  Richard Henderson  <rth@cygnus.com>
1226
1227         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1228
1229 2000-04-04  Stan Cox  <scox@cygnus.com> 
1230
1231         * Makefile.in: Add rules for regrename.o
1232         * regrename.c: New file.
1233         * rtl.h (regrename_optimize): Add prototype.
1234         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1235         (compile_file, decode_d_option): Add support for -frename-registers.
1236         (rest_of_compilation): Call regrename_optimize.
1237         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1238         New macros.     
1239         
1240 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1241
1242         * Makefile (gccbug): New target.
1243         (doc): Depend on it.
1244         * gcc.texi (Bugs): Link subnodes.
1245         (gccbug): New node.
1246         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1247         Document severities, priorities, and classes in bug form.
1248
1249 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1250
1251         * cpplex.c (trigraph_map, speccase): Combine into single
1252         table, chartab.
1253         (NORMAL, NONTRI): New macros.
1254         (_cpp_read_and_prescan): Change to use unified table.  Use
1255         is_hspace to test for whitespace.
1256
1257         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1258         definition that doesn't provoke the "empty body in an
1259         if-statement" warning.
1260
1261 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1262
1263         * builtins.c (expand_builtin_strlen): Force the source to
1264         be a memory address.
1265
1266 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1267
1268         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1269
1270 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1271
1272         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1273          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1274         (ECF_IS_CONST): Rename to ECF_CONST.
1275         (special_function_p): Make static, change interface.
1276         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1277         (expand_call) ... here; convert number of variables to flags.
1278         (emit_library_call_vlue_1): Likewise.
1279         (setjmp_call_p): New function.
1280         (initialize_argument_information): Accepts flags as argument;
1281         return flags.
1282         (precompute_arguments): Likewise.
1283         * tree.h (special_function_p): Remove.
1284         (setjmp_call_p): Add prototype.
1285
1286 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1287
1288         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1289         so that addresses are offsetable by up to 16 bytes.
1290         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1291         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1292         offsetable.
1293
1294         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1295         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1296         (movsf): Don't force any constant to memory if target is integer
1297         hard register.
1298         Move fp_zero_operand check below the const0_rtx check.
1299         (movtf): Likewise. Also allow fp_zero_operand for stores into
1300         memory.
1301         (movdf): Likewise. Also allow fp_zero_operand for stores into
1302         memory and into integer hard registers.
1303         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1304         movdf_const_intreg_sp64): Remove.
1305         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1306         conditions.
1307         (movdf_no_e_insn_v9_sp32): New pattern.
1308         (movdf_insn_v9only): Remove.
1309         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1310         (movdf_insn_sp64): Remove.
1311         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1312         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1313         (following splits): Rewrite conditions. Add two new splits
1314         for storing 0.0 into memory and registers.
1315         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1316         (movtf_insn_sp32): Redo constraints and conditions.
1317         (movtf_insn_vis_sp32): New pattern.
1318         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1319         (movtf_insn_hq_sp64): Likewise.
1320         (movtf_insn_hq_vis_sp64): New pattern.
1321         (movtf_insn_sp64): Redo constraints and conditions.
1322         (movtf_insn_vis_sp64): New pattern.
1323         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1324         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1325         or memory.
1326         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1327         -mvis or -m64 to take down the number of various reload patterns.
1328
1329 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1330
1331         * pa/pa-64.h: New file.
1332         * pa/pa64-regs.h: New file.
1333         * pa/pa64-start.h: New file.
1334         * pa/t-pa64: New file.
1335         * pa/xm-pa64hpux.h: New file.
1336
1337 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1338
1339         * sparc.c (output_restore_regs): Prototype.
1340         (sparc_emit_float_lib_cmp): Constification.
1341
1342         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1343
1344         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1345         Prototype.
1346
1347         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1348         (get_value_hash, hash_rtx): Likewise.
1349
1350         * ssa.c (compute_conservative_reg_partition): Prototype.
1351
1352         * tree.c (mark_hash_entry): Prototype.
1353
1354 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1355
1356         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1357         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1358         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1359
1360         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1361         * objc/lang-specs.h: Likewise.
1362
1363 2000-04-03  Neil Booth  <NeilB@earthling.net>
1364
1365         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1366         and SYNTAX_ERROR2. Replace `' in messages with ''.
1367         (op_to_str): Make re-entrant.
1368         (_cpp_parse_expr): Implement new error macros. Use | rather
1369         than || to logically or 2 boolean integers.  Simply expression
1370         checking we have a left operand iff needed.
1371
1372 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1373
1374         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1375
1376 2000-04-03  Philip Blundell  <philb@gnu.org>
1377
1378         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1379
1380 2000-04-03  Felix Lee  <flee@cygnus.com>
1381
1382         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1383         (run_shell): Use it. 
1384
1385 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1386
1387         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1388         (stmp-fixproto): ...rather than here.
1389
1390 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1391
1392         * pa.c (print_operand): Compute 'base' only inside the code paths
1393         that use it.
1394
1395 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1396
1397         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1398         CEIL_DIV_EXPR.
1399
1400 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1401
1402         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1403
1404 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1405
1406         * Makefile.in (alias.o): Depend on $(TREE_H).
1407
1408 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1409
1410         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1411         processing C++.
1412         * cpplib.c (_cpp_handle_directive): Improve warnings for
1413         traditional C and indented directives.
1414
1415         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1416         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1417         fixinc/inclhack.def: Indent the # of #include_next one space.
1418         * cp/rtti.c: Un-indent #if and #endif.
1419
1420         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1421         syntax error, but an error has already been printed.
1422         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1423         message when called with nothing remaining on the line.
1424         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1425         OTHER token, not an ASSERTION.
1426         * cpplib.c (do_assert): When we create a 'base' node, clear
1427         its aschain pointer.
1428
1429 2000-04-02  Neil Booth <NeilB@earthling.net>
1430
1431         * cppexp.c:  New typedef op_t.  struct operation and struct 
1432         token updated to use it.
1433         (op_to_str): New function.
1434         (_cpp_parse_expr): Error messages modified to use op_to_str.
1435
1436 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1437
1438         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1439         before checking MUST_PASS_IN_STACK.
1440
1441 2000-04-02  Neil Booth <NeilB@earthling.net>
1442
1443         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1444         flags and initial priority into a single constant.  New
1445         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1446         (_parse_cpp_expr): Implement new constants.  Take left operand
1447         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1448         parse indicated by reducing FINISHED token.  Remove new lines
1449         from cpp_error messages.
1450
1451 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1452
1453         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1454         permanent obstack.
1455
1456 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1457
1458         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1459         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1460         the strings and function names on the fly.  Take the #sccs
1461         entry out of the table if SCCS_DIRECTIVE is not defined.
1462         (_cpp_handle_directive): Decide if the # was at the beginning
1463         of the line here.  Issue -pedantic warnings for extended
1464         directives here.  Warn about K+R directives with the #
1465         indented, and C89/extended directives with the # not indented,
1466         here.
1467         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1468         do_assert, do_unassert): Don't issue pedantic warning here.
1469
1470         * cpphash.h: Add CPP_WTRADITIONAL macro.
1471         * cpplib.h (struct cpp_options): Rename warn_stringify to
1472         warn_traditional; update comments.
1473         * cppinit.c (handle_option): Set warn_traditional not
1474         warn_stringify.
1475         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1476         CPP_WTRADITIONAL (pfile).
1477         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1478         be ignored in -traditional mode here.
1479
1480         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1481         to initialize speccase[] and trigraph_map[].  Delete all
1482         references to pfile->input_speccase.  Always treat '?' as a
1483         special character.  Remove table-initialization code from
1484         _cpp_init_input_buffer.
1485
1486         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1487         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1488
1489 2000-04-01  Richard Henderson  <rth@cygnus.com>
1490
1491         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1492         (mostlyclean): Likewise.
1493
1494         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1495         (struct dump_file_info, enum dump_file_index, dump_file): New.
1496         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1497         not a string.  Clean out file if we havn't yet done so.  Do nothing
1498         if the dump isn't enabled.
1499         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1500         graph data if requested.
1501         (dump_rtl, clean_dump_file): Remove.
1502         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1503         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1504         .combine dump if optimizing.  Iterate over dump_file to finalize the
1505         graph dumps.
1506         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1507         Convert all uses of dump_rtl.
1508         (decode_d_option): Iterate over dump_file to implement 'a' and to
1509         locate pass-specific dumps.
1510
1511 2000-04-01  Neil Booth <NeilB@earthling.net>
1512
1513         * cppexp.c: Redefine priority constants.
1514         (_cpp_parse_expr): Replace left and right priority scheme with
1515         single priority logic.  Move LOGICAL to same place as COMPARE.
1516         Remove bogus check for multiple unary +/- operators.
1517
1518 2000-04-01  Neil Booth <NeilB@earthling.net>
1519
1520         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1521         within the switch statement.  Binary operations break out of
1522         the switch naturally.  '(' tokens handled by forcing
1523         immediate shift.  ')' handled by forcing immediate reduce to
1524         the previous '('.  New error messages.
1525         
1526 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1527
1528         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1529         part', it's already in use.  Use %K instead.  Add a return at the
1530         end of what is now %K.
1531         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1532
1533 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1534
1535         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1536         allocate_dynamic_stack_space.
1537         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1538         update stack_pointer_delta; do not update arg_size_so_far.
1539         (compute_argument_block_size): Use stack_delta instead of
1540         stack_pointer_pending and arg_size_so_far.
1541         (expand_call): Add sanity checking for stack_pointer_delta;
1542         save and restore stack_pointer_delta for SIB, use
1543         stack_pointer_delta for alignment; do not update arg_space_so_far.
1544         (emit_library_call_value): Use stack_pointer_delta for alignment.
1545         (store_one_arg): Do not update arg_space_so_far.
1546         * explow.c (adjust_stack, anti_adjust_stack): Update
1547         stack_pointer_delta.
1548         (allocate_dynamic_stack_space): Add sanity checking for
1549         stack_pointer_delta.
1550         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1551         stack_pointer_delta.
1552         (emit_push_insn): Update stack_pointer_delta.
1553         * function.h (struct expr_status): Add x_stack_pointer_delta;
1554         remove x_arg_space_so_far.
1555         (arg_space_so_far): Remove.
1556         (stack_pointer_delta): New macro.
1557
1558 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1559
1560         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1561         Reorder struct cpp_options and struct cpp_reader for better 
1562         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1563         takes two args.  Change all 'char' flags to 'unsigned char'.
1564         Move show_column flag into struct cpp_options.  Don't
1565         prototype cpp_options_init.
1566         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1567         cppinit.c, cpplex.c, cpplib.c:
1568         Replace CPP_OPTIONS (pfile)->whatever with
1569         CPP_OPTION (pfile, whatever), and likewise for
1570         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1571
1572         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1573         Extract CPP_OPTION (pfile, pending) and work with that
1574         directly.
1575         (cpp_options_init): Delete.
1576         (cpp_reader_init): Turn on on-by-default options here.
1577         Allocate the pending structure here.              
1578         (cl_options, enum opt_code): Define these from the same table,
1579         kept in a large macro.  Add -fshow-column and -fno-show-column
1580         options.
1581
1582         * cpperror.c (v_message): If show_column is off, don't print
1583         the column number.
1584
1585         * cppmain.c: Update for new interface.
1586         * fix-header.c: Likewise.
1587
1588 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1589
1590         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1591         definition.
1592         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1593         are passed to any invocation of AR_FOR_TARGET.
1594         (AR_CREATE_FOR_TARGET): New macro.
1595         (AR_EXTRACT_FOR_TARGET): New macro.
1596         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1597         AR_EXTRACT_FOR_TARGET.
1598         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1599         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1600         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1601         AR_EXTRACT_FOR_TARGET to sub-makes.
1602
1603 2000-03-31  Neil Booth <NeilB@earthling.net>
1604
1605         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1606         PAREN_INNER_PRIO.
1607         (_cpp_parse_expr): Check for multiple unary +/- operators.
1608         Correct priorities of ':' and '?'.  Treat ')' as having a
1609         value.  Ensure conditional expression is not void.
1610         
1611 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1612
1613         * alias.c (canon_rtx): Make it global.
1614         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1615         equality.
1616         * cse.c (struct table_elt): Add canon_exp.
1617         (insert): Clear it.
1618         (invalidate): Canonicalize expressions only once.
1619         * rtl.h (canon_rtx): Declare.
1620
1621 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1622
1623         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1624         * alias.c (reg_known_value): Add comments.
1625         (init_alias_analysis): Likewise.
1626         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1627         address.
1628         (cse_basic_block): Fix typo in comment.
1629         * emit-rtl.c: Include hashtab.h.
1630         (const_int_htab): New variable.
1631         (const_int_htab_hash): New function.
1632         (const_int_htab_eq): Likewise.
1633         (rtx_htab_mark_1): Likewise.
1634         (rtx_htab_mark): Likewise.
1635         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1636         (unshare_all_rtx): Fix formatting.
1637         (init_emit_once): Initialize const_int_htab.
1638         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1639         address.
1640         * rtl.texi: Document the fact that all CONST_INTs with the same
1641         value are shared.
1642
1643 2000-03-30  Richard Henderson  <rth@cygnus.com>
1644
1645         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1646
1647 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1648
1649         * configure.in: Comment out --enable-c-cpplib stanza.
1650         * configure: Regenerate.
1651
1652 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1653
1654         * expr.c (store_constructor): Properly compute displacement and
1655         alignment when offset is variable.
1656
1657         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1658         cases of alignment in bytes.
1659
1660 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1661
1662         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1663         since it is used to generate c-parse.y.
1664         * objc-parse.c, objc-parse.y: Regenerated.
1665
1666         * function.c (expand_function_end): Pass alignment argument to
1667         emit_block_move in bits, not bytes.
1668
1669 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1670
1671         * expr.c (move_by_pieces_ninsns): Fix one more missing align
1672         correction.
1673
1674         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1675
1676         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1677         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1678         * function.c (assign_parms): Likewise.
1679         * integrate.c (expand_inline_function): Likewise.
1680         * stmt.c (expand_decl): Likewise.
1681         (copy_rtx_and_substitute): Likewise.
1682         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1683         (clear_by_pieces): Fix error in last change.
1684         * emit-rtl.c (init_emit): Set known registers alignment in bits.
1685         * function.h (regno_pointer_align): Now unsigned.
1686         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1687         is in bits.
1688         * config/i386/i386.c (aligned_operand): Likewise.
1689         * config/sparc/sparc.c (mem_min_alignment): Likewise.
1690         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1691         (unaligned_memory_operand): Likewise.
1692         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1693         Also make alignments and sizes unsigned and some whitespace cleanup.
1694         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1695
1696         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1697         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1698         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1699         (expand_builtin_memset): Likewise, but to clear_storage.
1700         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1701         (restore_fixed_argument_area): Likewise.
1702         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1703         (load_register_parameters): Likewise, to emit_group_load.
1704         (expand_call): Likewise, to emit_group_store and emit_block_move.
1705         (emit_library_call_value_1): Likewise, to emit_block_move.
1706         (store_one_arg): Likewise, and to emit_push_insn.
1707         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1708         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1709         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1710         (emit_block_move, emit_group_load, emit_group_store): Likewise.
1711         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1712         (expand_assigment, store_expr, store_constructor_field): Likewise.
1713         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1714         (store_constructor, store_field, get_inner_reference): Likewise.
1715         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1716         (expand_expr, case COMPONENT_REF): Likewise.
1717         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1718         and positions; reindent code.
1719         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1720         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1721         (assign_parms): Likewise to emit_group_store.
1722         * optabs.c (prepare_cmp_insn): Alignment is in bits.
1723         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1724         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1725         (expand_return): Likewise to {extract,store}_bit_field.
1726         * stor-layout.c (get_mode_alignment): Minor cleanup.
1727         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1728         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1729         
1730 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1731
1732         * config/arm/arm.h: Undo effects of previous delta:
1733         (ASM_SPEC): Do not define.
1734         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1735
1736         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1737         typo. 
1738
1739 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1740
1741         * cppinit.c (cpp_start_read): Call initialize_dependency_output
1742         only after reading in the primary source file.
1743
1744 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
1745
1746         * c-common.c (c_common_nodes_and_builtins): The first parameter to
1747         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1748         or a reference to a va_list.
1749         * builtins.c (stabilize_va_list): Simplify now we don't have to
1750         work around C array address decay.
1751         * c-typeck.c (convert_for_assignment): Handle assignment to
1752         a reference parameter by taking the address of the RHS.
1753         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1754         (va_copy): Likewise.
1755         (__va_copy): Likewise.
1756         * ginclude/varargs.h (va_start): Likewise.
1757         (__va_copy): Likewise.
1758
1759 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
1760
1761         * i386/djgpp.h: Remove extraneous "+".
1762
1763         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1764
1765         * calls.c (expand_call): Fix typo in last change.
1766
1767 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
1768
1769         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1770         been expanded.
1771
1772 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1773
1774         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1775         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1776         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1777         * tree.c (bit_position, byte_position): Likewise.
1778         * tree.h: Declare new functions.
1779
1780 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1781
1782         * config/arm/arm.c: Minor formatting changes/
1783         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1784         already defined.
1785         (ASM_SPEC): Define if not already defined.
1786
1787 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1788
1789         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1790         _cpp_calc_hash.
1791
1792 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
1793
1794         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1795         value, don't output it as unsigned.
1796
1797 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
1798
1799         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1800
1801 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1802
1803         * c-common.c (c_common_nodes_and_builtins): Don't special case
1804         cplus_mode when declaring builtin bzero/bcmp, always avoid
1805         prototype arguments.
1806
1807 2000-03-29  Bruce Korb  <bkorb@gnu.org>
1808
1809         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1810         to a non-file
1811
1812 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1813
1814         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
1815         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
1816         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
1817         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
1818         (save_fixed_argument_area, restore_fixed_argument_area):
1819         conditionize by #ifdef REG_PARM_STACK_SPACE only.
1820         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
1821         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
1822         (precompute_register_parameters): Avoid #ifdefs on
1823         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
1824         (stire_one_args): Likewise.
1825         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
1826         (emit_library_call_value_1): Likewise.
1827         (compute_argument_block_size): Align to STACK_BOUNDARY only for
1828         ACCUMULATE_OUTGOING_ARGS.
1829         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1830         value.
1831         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1832         (use_crosses_set_p): Likewise.
1833         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1834         #define ACCUMULATE_OUTGOING_ARGS 1.
1835         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1836         frames.
1837         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1838         constants.
1839         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1840         (TARGET_SWITCHES): Add push-args, no-push-args,
1841         accumulate-outgoing-args and no-accumulate-outgoing-args.
1842         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1843         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1844         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1845         and PUSH_ROUNDING.
1846         (emit_push_insn): Likewise.
1847         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1848         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1849         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1850         (STACK_DYNAMIC_OFFSET): Define correctly for both
1851         ACCUMULATE_OUTGOING_ARGS and normal mode.
1852         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1853         * tm.texi (PUSH_ARGS): Document.
1854         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1855
1856 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1857
1858         * flags.h (flag_optimize_sibling_calls): Declare.
1859         * calls.c (expand_call): Fail sibcall when
1860         !flag_optimize_sibling_calls
1861         * invoke.texi (flag_optimize_sibling_calls): Document.
1862         * toplev.c (flag_optimize_sibling_calls): New global variable.
1863         (f_options): Add flag_optimize_sibling_calls.
1864         (rest_of_compilation): Conditionize
1865         optimize_sibling_and_tail_recursive_calls by
1866         flag_optimize_sibling_calls.
1867         (main): Set flag_optimize_sibling_calls for -O2.
1868         * stmt.c (expand_return): Conditionize tail recursion by
1869         flag_optimize_sibling_calls.
1870
1871 2000-03-29  Richard Henderson  <rth@cygnus.com>
1872
1873         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1874         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1875
1876 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
1877
1878         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
1879
1880 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1881
1882         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1883         is given.
1884         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1885         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1886         * config/rs6000/aix.h: then modified likewise.
1887
1888 2000-03-28  Richard Henderson  <rth@cygnus.com>
1889
1890         * rtl.h: Redistribute enum reg_note documentation. 
1891         Kill trailing whitespace.
1892         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1893         Kill trailing whitespace.
1894
1895 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1896
1897         * cppfiles.c (hash_IHASH): Just return i->hash.
1898         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1899         htab_find_with_hash.
1900         (cpp_read_file): Likewise.
1901         (find_include_file): Likewise.  Properly initialize
1902         ih->nshort.  Share ih->name and ih->nshort if possible.
1903         * cpphash.c (_cpp_calc_hash): New function.
1904         (hash_HASHNODE): Just return h->hash.
1905         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1906         htab_find_with_hash.
1907         * cpphash.h: Prototype _cpp_calc_hash.
1908         * cppinit.c (initialize_builtins): Provide a valid hash
1909         to _cpp_make_hashnode, using _cpp_calc_hash.
1910
1911         * cpphash.c (collect_expansion): # is not a special character
1912         in object-like macros.  In -traditional mode, /**/ is not
1913         token paste at the beginning or end of the line.
1914         * cpplib.c (do_include, do_import, do_include_next): If
1915         parse_include fails, return immediately.
1916
1917 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1918
1919         * config/arm/arm.md (return peepholes): Update to reflect the new
1920         call insn patterns.
1921         * config/arm/arm.c (arm_volatile_func): Also check
1922         current_function_nothrow.
1923         (output_return_instruction, output_func_prologue): Use it.
1924         (arm_output_epilogue, arm_expand_prologue): Likewise.
1925
1926 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1927
1928         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1929         switch is found.
1930
1931 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1932
1933         * expr.c (store_constructor): SIZE now signed.
1934         For EXPR_SIZE, don't evaluate size; just needed if constant.
1935         * fold-const.c (fold): Fix a number of cases when folded tree is
1936         wrong type.
1937         * function.c (flush_addressof): Reenable.
1938         * tree.h (flush_addressof): Likewise.
1939         * toplev.c (independent_decode_option): Look at strings_processed.
1940         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1941
1942 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1943
1944         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1945         Allow stack adjustment after function call.
1946
1947         * regmove.c (struct csa_memlist): Make mem field rtx *.
1948         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1949         (try_apply_stack_adjustment): Replace whole MEM rtx.
1950         (combine_stack_adjustments_for_block): Update calls
1951         to record_one_stack_ref.
1952
1953 2000-03-28  Neil Booth  <NeilB@earthling.net>
1954
1955         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1956         '\\' rather than a null character, so nulls are not special.  Fix
1957         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1958         speed trigraph conversion.
1959         (_cpp_init_input_buffer): Initialize trigraph map.
1960
1961 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1962
1963         * config/i386/i386.c (output_387_binary_op): Correct intel
1964         mode assembly output, and add spaces after commas in AT&T
1965         output.  Correct Unixware assembler comment.  Document input
1966         constraints.  Comment fp operations.  Reduce profligate buffer
1967         size.  Remove extraneous abort.  Localize temp var.
1968         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1969         (output_fix_trunc): Add spaces after commas in assembly output.
1970
1971 2000-03-27  Richard Henderson  <rth@cygnus.com>
1972
1973         * i386-protos.h (ix86_match_ccmode): Declare.
1974         * i386.c (ix86_match_ccmode): New.
1975         (ix86_expand_fp_compare): Update for pattern renames.
1976         (ix86_expand_strlensi_unroll_1): Likewise.
1977         * i386.h (EXTRA_CC_MODES): Add CCZ.
1978         (SELECT_CC_MODE): Use it for EQ/NE zero.
1979         * i386.md (cmpsi_ccz_1): New.
1980         (cmpqi_ccz_1): New.
1981         (*testsi_ccz_1): New.
1982         (testqi_ccz_1): New.
1983         (cmpsi_ccno_1): Rename from cmpsi_0.
1984         (testsi_ccno_1): Rename from testsi_1.
1985         (testqi_ccno_1): Rename from testqi_1.
1986         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1987         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1988         (*cmphi_0): Use ix86_match_ccmode.
1989         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1990         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1991         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1992         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1993         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1994         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1995         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1996         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1997         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1998         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1999         (appropriate peepholes): Likewise.
2000         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2001         (*subsi_3, *subhi_3, *subqi_3): Remove.
2002         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2003         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2004         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2005         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2006         (x86_shift_adj_1): Use CCZ.
2007         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2008
2009 2000-03-27  Stan Cox  <scox@cygnus.com> 
2010
2011         * resource.h (mark_resource_type): New.
2012         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
2013         find_free_register): Use mark_resource_type.
2014         (mark_set_resources): Change include_delayed_effects
2015         to mark_resource_type.
2016         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
2017         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
2018         Use mark_resource_type.
2019         
2020 2000-03-27  Richard Henderson  <rth@cygnus.com>
2021
2022         * i386.md (call_pop_0, call_value_pop_0): New.
2023         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
2024         (call_value_pop_1): Likewise.
2025         (call_0, call_value_0): New.
2026         (call_1, call_value_1): Remove constraint from unused arg.
2027
2028 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2029
2030         * invoke.texi (Spec Files): Document new spec % command created by
2031         Tom Tromey's recent patch.
2032
2033 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
2034
2035         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2036         if not defined.
2037
2038 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2039
2040         * expr.c (expand_assignment): Fix typo in last change.
2041
2042         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2043
2044 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2045
2046         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2047         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2048         and DECL_INLINE if FUNCTION_DECL.
2049         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2050         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2051         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2052         (combine_parm_decls): Likewise.
2053         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2054         * print-tree.c (print_node): Likewise.
2055         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2056         DECL_TRANSPARENT_UNION on proper decl types.
2057         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2058         * stor-layout.c (layout_decl): Only check DECL_PACKED and
2059         DECL_BIT_FIELD of FIELD_DECL.
2060         * tree.h (DECL_RESULT_FLD): New macro.
2061         
2062         * expr.c (expand_assignment): Add code to handle variable-sized
2063         BLKmode case.
2064
2065 2000-03-26  Richard Henderson  <rth@cygnus.com>
2066
2067         * calls.c (expand_call): Pass parms not original exp to
2068         optimize_tail_recursion.  Mind return value instead of looking
2069         for a barrier.
2070         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2071         call_expr.  Move checks for call_expr and current_function_decl ...
2072         (expand_return): ... here.
2073
2074 2000-03-26  Tom Tromey  <tromey@cygnus.com>
2075
2076         * gcc.c (handle_braces): Recognize `%{<S}' construct.
2077         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2078         defines.
2079         (process_command): Use them.
2080         (check_live_switch): Likewise.
2081         (give_switch): Skip ignored switches.
2082
2083 2000-03-26  Jan Hubicka  <jh@suse.cz>
2084
2085         * jump.c (jump_optimize_1): Fix typo in elide optimizations
2086         for minimal jump pass test.
2087
2088 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
2089
2090         * integrate.c (function_cannot_inline_p): Do inline functions that
2091         return `void'.
2092
2093 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2094
2095         * stor-layout.c (layout_type, set_sizetype): early_type_list is
2096         now a list of TREE_LIST entries, not types.
2097         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2098
2099         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2100         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2101         int_bit_position.
2102         * config/mips/mips.c (function_arg): Likewise; also remove cast
2103         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2104         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2105         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2106         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2107         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2108         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2109         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2110         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2111         num_adjusts now unsigned.
2112         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2113         * config/sparc/sparc.c (struct function_arg_record_value_parms):
2114         NREGS now unsigned.
2115         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2116         as is BITPOS variable; use host_integerp and int_bit_position.
2117         (function_arg_record_value_2): Likewise.
2118         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2119         Variable REGNO now unsigned.
2120         (function_arg_record_value): NREGS now unsigned.
2121
2122 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
2123
2124         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2125
2126 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2127
2128         * Rework fields used to describe positions of bitfields and
2129         modify sizes to be unsigned and use HOST_WIDE_INT.
2130         * alias.c (reg_known_value_size): Now unsigned.
2131         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2132         (really_start_incremental_init): Use bitsize_zero_node.
2133         (push_init_level, pop_init_level, output_init_element): Likewise.
2134         Use bitsize_unit_node and bitsize_one_node.
2135         (output_pending_init_elements, process_init_element): Likewise.
2136         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2137         (make_extraction): Position and length HOST_WIDE_INT and unsigned
2138         HOST_WIDE_INT, respectively.
2139         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2140         (num_sign_bit_copies): Returns unsigned.
2141         BITWIDTH now unsigned; rework arithmetic.
2142         Remove recursive call from arg to MAX.
2143         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2144         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2145         REGNO now unsigned.
2146         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2147         (find_split_point, expand_compound_operation, make_extraction): LEN
2148         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2149         (make_field_assignment): Likewise.
2150         (combine_simplify_rtx): Add cast.
2151         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2152         (force_to_mode): WIDTH now unsigned; add cast.
2153         (if_then_else_cond): SIZE now unsigned.
2154         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2155         (extended_count): Now returns unsigned.
2156         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2157         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2158         (simplify_comparison): MODE_WIDTH now unsigned.
2159         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2160         (mark_used_regs_combine): Likewise; rework arithmetic.
2161         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2162         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2163         (record_promoted_value): REGNO now unsigned.
2164         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2165         (get_last_value): REGNO now unsigned.
2166         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2167         (reg_dead_regno, reg_dead_endregno): Now unsigned.
2168         (remove_death): Arg REGNO now unsigned.
2169         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2170         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2171         now unsigned.
2172         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2173         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2174         (struct cse_reg_info): REGNO now unsigned.
2175         (cached_regno): Now unsigned.
2176         (REGNO_QTY_VALID_P): Add cast.
2177         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2178         (remove_invalid_regs): Likewise.
2179         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2180         as are variables END and I.
2181         (get_cse_reg_info, insert): Likewise.
2182         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2183         (canon_hash): Likewise.
2184         (insert_regs, lookup_for_remove): REGNO now unsigned.
2185         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2186         New variable RN.
2187         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2188         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2189         * emit-rtl.c (subreg_realpart_p): Add cast.
2190         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2191         (operand_subword_force): Arg I is now unsigned.
2192         * except.c (eh_regs): Variable I is now unsigned.
2193         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2194         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2195         length is unsigned HOST_WIDE_INT; likewise for internal variables.
2196         (store_split_bit_field, extract_fixed_bit_field): Likewise.
2197         (extract_split_bit_field, store_bit_field, extract_bit_field):
2198         Likewise.
2199         * expr.c (store_constructor_fields, store_constructor, store_field):
2200         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2201         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2202         (do_jump): Likewise.
2203         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2204         MAX_SIZE is now unsigned.
2205         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2206         (emit_group_store): Likewise.
2207         (emit_move_insn): I now unsigned.
2208         (store_constructor): Use host_integerp, tree_low_cst, and
2209         bitsize_unit_node.
2210         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2211         Rework all calculations to use trees and new fields.
2212         * expr.h (promoted_input_arg): Regno now unsigned.
2213         (store_bit_field, extract_bit_field): Adjust types of pos and size.
2214         (mark_seen_cases): Arg is HOST_WIDE_INT.
2215         * flow.c (verify_wide_reg_1): REGNO now unsigned.
2216         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2217         precisions and alignments are unsigned.
2218         (optimize_bit_field_compare, fold_truthop): Likewise.
2219         (int_const_binop): Adjust threshold for size_int_type_wide call.
2220         (fold_convert): Likewise.
2221         (size_int_type_wide): Make table larger and fix thinko that only
2222         had half of table used.
2223         (all_ones_mask_p, fold): Precisions are unsigned.
2224         * function.c (put_reg_info_stack): REGNO is unsigned.
2225         (instantiate_decl): Size is HOST_WIDE_INT.
2226         (instantiate_virtual_regs): I is unsigned.
2227         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2228         (promoted_input_arg): REGNO is unsigned.
2229         * function.h (struct function): x_max_parm_reg is now unsigned.
2230         * gcse.c (max_gcse_regno): Now unsigned.
2231         (struct null_pointer_info): min_reg and max_reg now unsigned.
2232         (lookup_set, next_set): REGNO arg now unsigned.
2233         (compute_hash_table): REGNO and I now unsigned.
2234         (handle_avail_expr): regnum_for_replacing now unsigned.
2235         (cprop_insn): REGNO now unsigned.
2236         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2237         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2238         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2239         * hard-reg-set.h (reg_class_size): Now unsigned.
2240         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2241         * jump.c (mark_modified_reg): I now unsigned; add cast.
2242         (rtx_equal_for_thread_p): Add cast.
2243         * loop.c (max_reg_before_loop): Now unsigned.
2244         (struct_movable): REGNO now unsigned.
2245         (try_copy_prop): REGNO arg unsigned.
2246         (regs_match_p): XN and YN now unsigned.
2247         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2248         (strength_reduce): Likewise; NREGS also unsigned.
2249         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2250         * loop.h (struct iv_class): REGNO now unsigned.
2251         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2252         Now unsigned.
2253         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2254         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2255         * optabs.c (expand_binop): I and NWORDS now unsigned.
2256         (expand_unop): I now unsigned.
2257         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2258         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2259         * real.c (significand_size): Now returns unsigned.
2260         * real.h (significand_size): Likewise.
2261         * regclass.c (reg_class_size): Now unsigned.
2262         (choose_hard_reg_mode): Both operands now unsigned.
2263         (record_reg_classes): REGNO and NR now unsigned.
2264         (reg_scan): NREGS now unsigned.
2265         (reg_scan_update): old_max_regno now unsigned.
2266         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2267         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2268         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2269         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2270         Likewise for variable R.
2271         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2272         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2273         (find_equiv_reg): Add casts.
2274         (regno_clobbered_p): Arg REGNO now unsigned.
2275         * reload.h (struct reload): NREGS now unsigned.
2276         (refers_to_regno_for_reload_p): Regno args are unsigned.
2277         (regno_clobbered_p): Likewise.
2278         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2279         (compute_use_by_pseudos): REGNO now unsigned.
2280         (find_reg): I and J now unsigned, new variable K, and change loop
2281         variables accordingly; THIS_NREGS now unsigned.
2282         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2283         (spill_hard_reg): REGNO arg now unsigned; add casts.
2284         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2285         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2286         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2287         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2288         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2289         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2290         (emit_reload_insns): REGNO now unsigned.
2291         (reload_cse_move2add): Add cast.
2292         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2293         and rework loop.
2294         * resource.c (mark_referenced_resources, mark_set_resources): New
2295         variable R; REGNO and LAST_REGNO now unsigned.
2296         (mark_target_live_regs): J and REGNO now unsigned.
2297         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2298         * rtl.h (union rtunion_def): New field rtuint.
2299         (XCUINT): New macro.
2300         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2301         (operand_subword, operand_subword_force): Word number is unsigned.
2302         (choose_hard_reg_mode): Operands are unsigned.
2303         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2304         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2305         (regno_use_in, combine_instructions, remove_death): Likewise.
2306         (reg_scan, reg_scan_update): Likewise.
2307         (extended_count): Return is unsigned.
2308         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2309         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2310         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2311         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2312         (reg_reg_last_1): FIRS and LAST now unsigned.
2313         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2314         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2315         now unsigned.
2316         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2317         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2318         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2319         (replace_regs): Arg NREGS now unsigned.
2320         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2321         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2322         (simplify_binary_operation): Likewise.
2323         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2324         THIS_LAST now unsigned.
2325         (cselib_record_set): Add cast.
2326         * ssa.c (ssa_max_reg_num): Now unsigned.
2327         (rename_block): REGNO now unsigned.
2328         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2329         sizes now unsigned.
2330         (all_cases_count): Just return -1 not -2.
2331         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2332         Rework tests to use trees whenever possible.
2333         Use host_integerp and tree_low_cst.
2334         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2335         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2336         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2337         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2338         (smallest_mode_for_size): Likewise.
2339         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2340         KNOWN_ALIGN is now an alignment, so simplify code.
2341         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2342         (start_record_layout): Renamed from new_record_layout_info.
2343         Update to new fields.
2344         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2345         New functions.
2346         (place_union_field): Renamed from layout_union_field.
2347         Update to use new fields in rli.
2348         (place_field): Renamed from layout_field.
2349         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2350         (finalize_record_size): Rework to use new fields in rli and handle
2351         union.
2352         (compute_record_mode): Rework to simplify and to use new DECL fields.
2353         (finalize_type_size): Make rounding more consistent.
2354         (finish_union_layout): Deleted.
2355         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2356         (layout_type, case RECORD_TYPE): Call new function names.
2357         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2358         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2359         (get_best_mode): UNIT is now unsigned; remove casts.
2360         * tree.c (bit_position): Compute from new fields.
2361         (byte_position, int_byte_position): New functions.
2362         (print_type_hash_statistics): Cast to remove warning.
2363         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2364         (build_index_type): Likewise; make subtype of sizetype.
2365         (build_index_2_type): Pass sizetype to build_range_type.
2366         (build_common_tree_nodes): Use size_int and bitsize_int to
2367         initialize nodes; add bitsize_{zero,one,unit}_node.
2368         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2369         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2370         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2371         (DECL_FIELD_BITPOS): Deleted.
2372         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2373         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2374         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2375         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2376         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2377         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2378         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2379         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2380         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2381         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2382         (DECL_ALIGN): Adjust to new field in union.
2383         (DECL_OFFSET_ALIGN): New field.
2384         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2385         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2386         (union tree_decl): Add struct for both aligns.
2387         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2388         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2389         (struct record_layout_info): Rework fields to have offset
2390         alignment and byte and bit position.
2391         (start_record_layout, place_field): Renamed from old names.
2392         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2393         (byte_position, int_byte_position): Likewise.
2394         (get_inner_reference): Change types of position and length.
2395         * unroll.c (unroll_loop): New variable R; use for some loops.
2396         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2397         (calculate_giv_inc): Arg REGNO now unsigned.
2398         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2399         * varasm.c (assemble_variable): Clean up handling of size using
2400         host_integerp and tree_low_cst.
2401         (decode_addr_const): Use byte, not bit, position.
2402         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2403         use tree_low_cst and int_bit_position.
2404         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2405         
2406 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2407
2408         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2409         (reorder_block_def): New members eff_head and eff_end.
2410         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2411         (verify_insn_chain): New function.
2412         (skip_insns_between_block): Add code to skip deleted insns.
2413         Check for note before using.
2414         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2415         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2416         Check for note before using.
2417         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2418         (fixup_reorder_chain): Restructure, clean up, defect removal.
2419         (reorder_basic_blocks): Remove last_insn and references to it.
2420         Moved insn chain verification code into a new function (see above).
2421         Delete defective code that sets last insn.
2422         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2423         all blocks.
2424
2425 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2426
2427         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2428
2429 2000-03-24  Richard Henderson  <rth@cygnus.com>
2430
2431         * tree.c (lang_safe_for_unsave): Remove.
2432         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2433         allowing for two levels of unsafeness.  Remove lang hook.
2434         * tree.h: Update declarations.
2435         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2436         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2437         Always fail sibcalls when there are pending cleanups.
2438
2439 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2440
2441         * flow.c (propagate_block): When we delete an ADDR_VEC,
2442         also delete the BARRIER following it if there is one.
2443
2444 2000-03-24  Richard Henderson  <rth@cygnus.com>
2445
2446         * builtins.c (expand_builtin_bzero): Convert `length' argument
2447         to sizetype.
2448
2449 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2450
2451         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2452         comparison if regno's are equal.
2453         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2454         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2455         (expand_call): Update caller.
2456         Avoid making a sibling call if argument size of the callee is larger
2457         than argument size of the caller.
2458         Call hard_function_value with outgoing set if in sibcall pass.
2459         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2460
2461         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2462         Change LEAF_REGISTERS from an array initializer to actual array
2463         identifier. Move static global variable into the function.
2464         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2465         sequences for leaf functions.
2466         * global.c (global_alloc): Likewise.
2467         * tm.texi (LEAF_REGISTERS): Update documentation.
2468
2469         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2470         TARGET_FLAT leaf disabling hack.
2471         (LEAF_REGISTERS): Changed from an array initializer to actual array
2472         identifier to avoid duplication and remove the above hack.
2473         (FUNCTION_OK_FOR_SIBCALL): Define.
2474         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2475         always like call attribute.
2476         (eligible_for_sibcall_delay): New attribute.
2477         (sibcall): New delay type.
2478         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2479         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2480         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2481         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2482         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2483         New functions.
2484         (output_function_epilogue): Move part of the code into
2485         output_restore_regs.
2486         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2487         TYPE_SIBCALL.
2488         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2489         prototypes.
2490
2491         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2492         until infrastructure is finished.
2493
2494 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2495
2496         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2497         (save_parm_insns): Not here.
2498
2499 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2500
2501         * builtins.c (expand_builtin_bzero): New function.
2502         (expand_builtin): Handle bzero.
2503
2504         * builtins.def: Add BUILT_IN_BZERO.
2505
2506         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2507         prototype & function for bzero.
2508
2509 2000-03-23  Michael Meissner  <meissner@redhat.com>
2510
2511         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2512         change adding TARGET_FP to the TF floating point insns, except for
2513         trunctfsf2, which generates direct calls to truncdfsf2.
2514
2515 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2516
2517         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2518         try to protect against middle-end changes that break binary
2519         compatibility.
2520         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2521
2522 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2523
2524         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2525
2526 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2527
2528         * calls.c (expand_call): If TARGET is passed by reference and
2529         is readonly, write a CLOBBER.
2530
2531 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2532
2533         * builtins.c (expand_builtin): Handle bcmp.
2534
2535         * builtins.def: Add BUILT_IN_BCMP.
2536
2537         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2538         prototype & function for bcmp.
2539
2540 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2541
2542         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2543         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2544         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2545
2546 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2547
2548         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2549         alternative when using -fp64 -gp32.
2550
2551 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2552
2553         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2554         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2555         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2556
2557         * frame.h (frame_state): Revert last change.
2558         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2559         * libgcc2.c (throw_helper): Revert last change.
2560         
2561 2000-03-22  Richard Henderson  <rth@cygnus.com>
2562
2563         * stmt.c (expand_asm_operands): Don't promote the temporary.
2564
2565 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2566
2567         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2568         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2569           c_get_alias_set): Likewise.
2570         * c-decl.c (duplicate_decls): Likewise.
2571         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2572         * calls.c (initialize_argument_information): Likewise.
2573         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2574         Likewise.
2575         * dwarfout.c (decl_class_context,output_type): Likewise.
2576         * expr.c (get_inner_reference): Likewise.
2577         * fold-const.c (simple_operand_p,fold): Likewise.
2578         * function.c (aggregate_value_p): Likewise.
2579         * stmt.c (expand_asm_operands): Likewise.
2580         * varasm.c (named_section): Likewise.
2581
2582 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2583
2584         Implement dwarf2 exception handling for the ARM.
2585         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2586         (DWARF_FRAME_RETURN_COLUMN): Define.
2587         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2588         REG_FRAME_RELATED_EXPR note.
2589         (emit_sfm): Likewise.
2590         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2591         * dwarf2out.c (reg_save): Handle saving a register to itself.
2592         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2593         * except.c (eh_regs): Don't use the static chain reg if it's
2594         callee-saved.
2595         * frame.h (frame_state): Add cfa_saved field.
2596         * frame.c (execute_cfa_insn): Set it.
2597         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2598         the epilogue.
2599         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2600         Now takes a parm.
2601         (instantiate_virtual_regs): Adjust.
2602         * tm.texi: Adjust.
2603         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2604         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2605         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2606
2607         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2608         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2609
2610 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2611
2612         * builtins.def: New file.
2613
2614         * Makefile.in (TREE_H): Depend on builtins.def.
2615
2616         * builtins.c (built_in_names): Use builtins.def.
2617
2618         * tree.h (built_in_function): Likewise.
2619
2620 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2621
2622         * tree.c (size_in_bytes): Return size_zero_node, not
2623         integer_zero_node.
2624
2625 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2626
2627         * config/fp-bit.c (pack_d): Correct the case when a denormal
2628         is rounded up and stops being denormal.
2629
2630 2000-03-21  Richard Henderson  <rth@cygnus.com>
2631
2632         * config/alpha/alpha.c (function_arg): Check for void_type_node
2633         before using MUST_PASS_IN_STACK.
2634
2635 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2636
2637         * regmove.c (combine_stack_adjustments_for_block): Check that
2638         the stack pointer is a valid memory address.
2639
2640 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2641
2642         * calls.c: re-install Mar 16 emit_library_call merge.
2643
2644 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2645
2646         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2647         we cannot be sure that if reload_completed base register will
2648         be properly aligned.
2649
2650 2000-03-21  Richard Henderson  <rth@cygnus.com>
2651
2652         * flow.c (delete_block): Fix typo last change.
2653
2654 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2655
2656         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2657         not COMPLETE_TYPE_P, to check the type of the expression.
2658
2659 2000-03-21  Michael Meissner  <meissner@redhat.com>
2660
2661         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2662         all floating point insns that just tested the macro
2663         TARGET_HAS_XFLOATING_LIBS.
2664         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2665         used to only use the gprs.
2666
2667 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
2668
2669         * tree.h (COMPLETE_TYPE_P): New macro.
2670         (COMPLETE_OR_VOID_TYPE_P): New macro.
2671         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2672         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2673         * c-aux-info.c (gen_type): Use them.
2674         * c-common.c (c_expand_expr_stmt): Likewise.
2675         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2676         grokdeclarator, grokparms, finish_struct, start_function,
2677         store_parm_decls, combine_parm_decls): Likewise.
2678         * c-parse.y (cast_expr): Likewise.
2679         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2680         c_size_in_bytes, c_alignof, build_component_ref,
2681         build_indirect_ref, build_array_ref, convert_arguments,
2682         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2683         * calls.c (initialize_argument_information): Likewise.
2684         * convert.c (convert_to_integer): Likewise.
2685         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2686         * dwarfout.c (location_or_const_value_attribute,
2687         output_enumeration_type_die, output_structure_type_die,
2688         output_union_type_die, output_type): Likewise.
2689         * expr.c (safe_from_p, expand_expr): Likewise.
2690         * function.c (assign_parms): Likewise.
2691         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2692         * tree.c (build_array_type, build_function_type,
2693         build_method_type, build_offset_type, build_complex_type): Likewise.
2694         * c-parse.c, c-parse.h: Regenerated.
2695
2696 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2697
2698         * config/c4x/rtems.h: Include config/rtems.h.
2699
2700 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
2701
2702         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2703         decl is a FUNCTION_DECL
2704
2705 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
2706
2707         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2708         function uses output registers.  Don't save RP for leaf functions.
2709         Do save RP even if no epilogue.
2710         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2711         (CALL_USED_REGISTERS): Unmark in registers.
2712         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
2713         to near the middle.
2714
2715 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2716
2717         * config/rs6000/rs6000.md (bunordered): New expander.
2718         (bordered): New expander.
2719         (buneq): New expander.
2720         (bunge): New expander.
2721         (bungt): New expander.
2722         (bunle): New expander.
2723         (bunlt): New expander.
2724         (bltgt): New expander.
2725  
2726         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2727         (ccr_bit_negated_p): New function.
2728         (print_operand): For %C, generate appropriate cror for UNEQ,
2729         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
2730
2731 2000-03-20  Andreas Jaeger  <aj@suse.de>
2732
2733         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2734         warning.
2735
2736         * tree.h (safe_for_unsave): Prototype.
2737
2738 2000-03-20  Richard Henderson  <rth@cygnus.com>
2739
2740         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2741         (combine_stack_adjustments_for_block): Don't allow sp references
2742         in the side of a set we're not fixing up.
2743         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2744         after life_analysis.
2745
2746 2000-03-20  Richard Henderson  <rth@cygnus.com>
2747
2748         * calls.c (expand_call): Don't bother generating tail call
2749         sequences if there are pending cleanups.  Use
2750         expand_start_target_temps/expand_end_target_temps to elide
2751         cleanups created during sibcall expansion.
2752
2753 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2754
2755         * configure.in: Set $IFS to a value if it doesn't already have one
2756         in the --enable-checking handling.
2757         * configure: Regenerate.
2758
2759 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2760
2761         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2762         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2763         Regenerated.
2764
2765 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
2766
2767         * jump.c (delete_noop_moves): Remove code attempting to
2768         combine stack adjustments.
2769
2770 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2771
2772         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2773         * except.c (emit_cleanup_handler): Use them.
2774         (expand_end_all_catch): Likewise.
2775         * function.c (fixup_var_refs): Likewise.
2776         (expand_function_end): Clear catch_clauses_last.
2777         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2778         * except.h (struct eh_status): New field x_catch_clauses_last.
2779         (catch_clauses_last): New define.
2780
2781         * Makefile.in (tree.o): Depend on HASHTAB_H.
2782         * tree.c: Include hashtab.h.
2783         (struct type_hash): Remove next field.
2784         (TYPE_HASH_SIZE): Remove.
2785         (TYPE_HASH_INITIAL_SIZE): New define.
2786         (type_hash_table): Change type to htab_t.
2787         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2788         mark_hash_entry): New functions.
2789         (init_obstacks): Allocate type hash.
2790         (type_hash_lookup): Use htab functions.
2791         (type_hash_add, mark_type_hash): Likewise.
2792         (dump_tree_statistics): Call print_type_hash_statistics.
2793
2794 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2795
2796         * rs6000/t-aix41: New file.
2797
2798         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2799
2800 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2801
2802         * tm.texi (Driver): Fix typos and tweak entry for
2803         INCLUDE_DEFAULTS.
2804         Move misplaced STRUCT_FORCE_BLK entry ...
2805         (Storage Layout): ... to here.
2806         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2807
2808 2000-03-19  Richard Henderson  <rth@cygnus.com>
2809
2810         * flow.c (delete_block): Delete the addr_vec along with the block.
2811         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
2812         reference labels.
2813
2814         * fold-const.c (extract_muldiv): Apply type check for defined
2815         overflow to multiply as well as divide.
2816
2817         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
2818
2819 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2820
2821         * emit-rtl.c (remove_unncessary_notes): Check that all
2822         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
2823         associated NOTE_BLOCK.
2824         * function.h (identify_blocks): Update comments.
2825         (reorder_blocks): Declare.
2826         * function.c (identify_blocks): Don't take paramters.
2827         (reorder_blocks): Don't take parameters.
2828         * loop.h (find_loop_tree_blocks): Remove.
2829         (unroll_block_trees): Likewise.
2830         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
2831         reorder_blocks instead of unroll_block_trees.h
2832         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2833         * stmt.c (find_loop_tree_blocks): Remove.
2834         (unroll_block_trees): Likewise.
2835         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2836         in whole-function mode.
2837         * tree.h (reorder_blocks): Remove declaration.
2838
2839         * expr.c: Include intl.h.
2840         * Makefile.in (expr.o): Depend on intl.h.
2841         
2842 2000-03-18  Richard Henderson  <rth@cygnus.com>
2843
2844         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2845
2846 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2847
2848         * tree.h (tree_index): Remove enumerals for integer types.
2849         (integer_type_kind): New type.
2850         (integer_types): New variable.
2851         (char_type_node): Adjust.
2852         (signed_char_type_node): Likewise.
2853         (unsigned_char_type_node): Likewise.
2854         (short_integer_type_node): Likewise.
2855         (short_unsigned_type_node): Likewise.
2856         (integer_type_node): Likewise.
2857         (unsigned_type_node): Likewise.
2858         (long_integer_type_node): Likewise.
2859         (long_unsigned_type_node): Likewise.
2860         (long_long_integer_type_node): Likewise.
2861         (long_long_unsigned_type_node): Likewise.
2862         * tree.c (integer_types): New variable.
2863         (init_obstacks): Register it as a root.
2864
2865 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
2866
2867         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2868         NEXT_INSN. Update last insn in chain.
2869
2870 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
2871
2872         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2873         with TYPE_DECL_SUPPRESS_DEBUG set.
2874
2875 2000-03-18  Richard Henderson  <rth@cygnus.com>
2876
2877         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2878
2879 2000-03-18  Richard Henderson  <rth@cygnus.com>
2880
2881         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2882         care for HALF_PIC_P.
2883         (expander_call_insn_operand): Remove.
2884         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2885         * i386.h (PREDICATE_CODES): Update.
2886         * i386.md (all call expanders): Remove predicates, remove special
2887         handling for half-pic.
2888         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2889         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2890         (sibcall_epilogue): New.
2891
2892 2000-03-17  Richard Henderson  <rth@cygnus.com>
2893
2894         * rtlanal.c (single_set): Reject if the parallel has anything
2895         except SET or USE or CLOBBER.
2896
2897 2000-03-17  Jeff Law  <law@cygnus.com>
2898             Richard Henderson  <rth@cygnus.com>
2899
2900         * Makefile.in (OBJS): Add sibcall.o.
2901         (sibcall.o): New.
2902         * sibcall.c: New file.
2903         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2904         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2905         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2906         Emit sibcall patterns when requested.  Update all callers.
2907         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2908         elimination seems feasable.
2909         * final.c (leaf_function_p): Sibling calls don't discount being
2910         a leaf function.
2911         * flow.c (HAVE_sibcall_epilogue): Provide default.
2912         (find_basic_blocks_1): Sibling calls don't throw.
2913         (make_edges): Make edge from sibling call to EXIT.
2914         (propagate_block): Don't remove sibcall_epilogue insns.
2915         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2916         (sibcall_epilogue): New.
2917         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2918         (identify_blocks_1): Likewise.  Break out from ...
2919         (identify_blocks): ... here.
2920         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2921         (reorder_blocks): ... here.
2922         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2923         (record_insns): Extend a varray instead of mallocing new memory.
2924         (contains): Read a varray not array of ints.
2925         (sibcall_epilogue_contains): New.
2926         (thread_prologue_and_epilogue_insns): Emit and record
2927         sibcall_epilogue patterns.
2928         (init_function_once): Allocate prologue/epilogue varrays.
2929         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2930         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2931         Broken out from ...
2932         (save_for_inline_nocopy): ... here.
2933         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2934         Broken out from ...
2935         (expand_inline_function): ... here.
2936         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2937         (subst_constants): Handle 'n' formats.
2938         * jump.c (jump_optimize_minimal): New.
2939         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2940         optimizations if it's set.
2941         * rtl.c (copy_rtx): Do copy jump & call for insns.
2942         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2943         (SIBLING_CALL_P): New.
2944         (sibcall_use_t): New.
2945         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2946         Invoke optimize_sibling_and_tail_recursive_calls.
2947         * tree.c (lang_safe_for_unsave): New.
2948         (safe_for_unsave): New.
2949         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2950
2951         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2952         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2953         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2954
2955 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2956
2957         * objc/objc-act.c (encode_method_prototype): Pass types, not
2958         PARM_DECLs, to int_size_in_bytes.
2959
2960 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2961
2962         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2963
2964         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2965         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2966
2967 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2968
2969         * Clean up usages of TREE_INT_CST_LOW.
2970         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2971         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2972         Regenerated.
2973         * c-tree.h (min_precision): Move declaration to here.
2974         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2975         (build_unary_op, add_pending_init): Use bit_position.
2976         (pending_init_member, process_init_element): Likewise.
2977         (really_start_incremental_init, push_init_level, pop_init_level):
2978         Don't make copies of nodes or modify them in place, use consistent
2979         types when tracking positions, and use tree routines computations.
2980         (set_init_index, output_init_element): Likewise.
2981         (output_pending_init_elements, process_init_element): Likewise.
2982         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2983         tree_low_cst and int_bit_position; also minor cleanup.
2984         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2985         (print_cst_octal): Precision is unsigned.
2986         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2987         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2988         (simple_type_align_in_bits): Result is unsigned int.
2989         Use tree_int_low_cst and host_integerp.
2990         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2991         (field_byte_offset): Result is HOST_WIDE_INT.
2992         Change types of internal variables so alignments are unsigned int,
2993         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2994         Use host_integerp, tree_low_cst, and int_bit_position.
2995         (add_bit_offset_attribute): Likewise.
2996         (add_data_member_location_attribute): Use tree_cst_low.
2997         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2998         (add_bit_size_attribute): Use tree_low_cst.
2999         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3000         * dwarfout.c: Similar changes to dwarf2out.c.
3001         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3002         * genoutput.c (n_occurences): Return -1 for null string.
3003         (strip_whitespace): Accept null string and make into function.
3004         (scan_operands): Reflect above changes.
3005         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3006         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3007         * ssa.c (rename_registers): Add missing cast of arg to bzero.
3008         * tree.c (int_size_in_bytes): Check for too big to represent.
3009         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3010         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3011         New declarations.
3012         (min_precision): Delete from here.
3013         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3014         and int_bit_position.
3015         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3016         (encode_method_def): Likewise.
3017         (build_ivar_list_initializer): Use int_bit_position.
3018         (generate_shared_structures): Convert size.
3019         (encode_type, encode_complete_bitfield): Use integer_zerop.
3020         (encode_bitfield): Use tree_low_cst and int_bit_position.
3021         
3022 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3023
3024         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3025
3026 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3027
3028         * call.c (special_function_p): It is only malloc if it returns
3029         Pmode.
3030
3031 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3032
3033         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3034         (C33_FLAG, TARGET_C3X): Add macros.
3035         (TARGET_SWITCHES): Add -m33 option.
3036         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3037         
3038 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3039         
3040         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3041         (PARALLEL_PACK_FLAG): Delete.
3042         (TARGET_SWITCHES): Update.
3043         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3044
3045 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3046
3047         * fold-const.c (fold): Fix a few cases when the returned result
3048         is not of the same type as the input.
3049
3050 2000-03-16  Nick Clifton  <nickc@cygnus.com>
3051
3052         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3053         warning.
3054
3055 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3056
3057         * libgcc2.h: Move prototypes above macros with the same name.
3058         Wrap some function prototypes in the conditional which indicates
3059         whether they are supported, i.e. "BITS_PER_UNIT == 8".
3060
3061 2000-03-16  Richard Henderson  <rth@cygnus.com>
3062
3063         * calls.c: Revert last two changes.
3064
3065 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
3066
3067         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3068         has exponent 0 is a zero.
3069
3070         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3071         HASH may already be nonzero.  Add code/mode into hash value
3072         immediately after repeat label.
3073         (cselib_lookup): Don't leave the hash table in an inconsistent
3074         state before a hash lookup operation.
3075
3076 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
3077
3078         * i386.md (all HI and QI mode non-move patterns):  Conditionize
3079         by TARGET_[HQ]IMODE_MATH.
3080         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3081         x86_promote_qi_regs): Declare.
3082         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3083         TARGET_PROMOTE_QI_REGS): New macros.
3084         (PROMOTE_MODE): New macro.
3085         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3086         x86_promote_qi_regs): New global variables.
3087
3088 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
3089
3090         * calls.c (emit_library_call_value_1): Break out from ...; handle
3091         VOIDmode function calls too.
3092         (emit_library_call_value): ... here.
3093         (emit_library_call): Implement by calling emit_library_call_value_1.
3094
3095 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
3096
3097         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3098         Update arg_space_so_far on stack adjustments.
3099         (emit_library_call, emit_library_call_value): Likewise; take into
3100         account arg_space_so_far and pending_stack_adjust when calculcating
3101         the boundary.
3102
3103 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
3104
3105         * flow.c: Move all basic block reordering code into its own file.
3106         (create_basic_block): Externalize.
3107         * bb-reorder.c: New file. Copy all basic block reordering code from
3108         flow.c to this file.
3109         (reorder_basic_blocks): Fix fencepost error in for-loop.
3110         (reorder_basic_blocks): Remove braces from single statement for-loops.
3111         * basic-block.h: Add declaration for create_basic_block.
3112         * Makefile.in: Add rules for bb-reorder.o.
3113
3114 2000-03-16  Neil Booth  <NeilB@earthling.net>
3115
3116         * cppinit.c (handle_option):  Implement #unassert directive
3117         as -A- command line option.
3118         (print_help):  Update.
3119         * cpptexi.c:  Update.
3120
3121 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3122
3123         * md.texi (Standard Names): Document `jump'.
3124
3125 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3126
3127         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3128         gotos.
3129
3130 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3131
3132         Merge changes from newppc-branch onto trunk.
3133
3134         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3135
3136         * rs6000.c (toc_hash_table): Update for new hash table functions.
3137         (toc_hash_function): Likewise.
3138         (toc_hash_eq): Likewise.
3139         (toc_hash_mark_entry): Likewise.
3140         (toc_hash_mark_table): Likewise.
3141         (output_toc): Likewise.
3142         (rs6000_add_gc_roots): Likewise.
3143
3144         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3145
3146         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
3147         (AR_FLAGS_FOR_TARGET): here.  New macro.
3148
3149         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
3150
3151         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3152         fpmem_operand) Delete.
3153         (xer_operand) New.
3154         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3155         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3156         (rs6000_save_machine_status, rs6000_restore_machine_status, 
3157         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
3158         references to above variables.
3159         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3160         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3161         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3162         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3163         (XER_REGNO_P, XER_REGNO): New.
3164         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3165         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3166         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
3167         XER_REGNO_P.
3168         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3169         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
3170         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3171         
3172         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3173
3174         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3175         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3176         * rs6000.h: from here.
3177
3178         * rs6000-protos.h (rs6000_select_section): Provide prototype.
3179         (rs6000_select_rtx_section): Likewise.
3180         (rs6000_encode_section_info): Likewise.
3181         (sdata_section): Likewise.
3182         (sdata2_section): Likewise.
3183         (sbss_section): Likewise.
3184         * sysv4.h (rs6000_select_section): Delete prototype.
3185         (rs6000_select_rtx_section): Likewise.
3186         (rs6000_encode_section_info): Likewise.
3187         (sdata_section): Likewise.
3188         (sdata2_section): Likewise.
3189         (sbss_section): Likewise.
3190         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3191
3192         * sysv4.h: Delete various unnecessary #undef's and put a comment
3193         on the remaining ones.
3194         Change various comments according to coding standard.
3195
3196         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
3197
3198         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
3199         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3200         (CR0_REGNO_P) Remove.
3201         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
3202         setup_incoming_varargs, mtcrf_operation, print_operand, 
3203         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
3204         Use the above macros.
3205
3206         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
3207
3208         * config/rs6000/rs6000.md: Added a new alternative for each
3209         pattern that had a 'x' alternative but no 'y' alternative.
3210         Added a new split for each of the above patterns.
3211
3212         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
3213
3214         * aix41.h (ASM_CPU_SPEC): Delete.
3215         (CPP_CPU_SPEC): Delete.
3216
3217         * aix.h (RS6000_OUTPUT_BASENAME): Define.
3218         (ASM_OUTPUT_LABEL): Define.
3219         (ASM_GLOBALIZE_LABEL): Define.
3220         (STRIP_NAME_ENCODING): Define.
3221         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3222         (STRIP_NAME_ENCODING): Don't define.
3223         (ASM_OUTPUT_LABEL): Don't define.
3224         (ASM_GLOBALIZE_LABEL): Don't define.
3225         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3226         names, and ASM_OUTPUT_LABEL to output labels, rather than
3227         asm_fprintf.
3228         (ASM_OUTPUT_LABEL): Define.
3229         (ASM_OUTPUT_INT): Use assemble_name.
3230         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3231         (STRIP_NAME_ENCODING): Don't undefine first.
3232         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3233         ELF.
3234         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3235         specified with 'asm' even with -fleading-underscore.
3236         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3237         (output_epilog): Likewise.
3238         (output_toc): Likewise. 
3239         * tramp.asm: Handle -fleading-underscore correctly.
3240
3241         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3242         -mminimal-toc.
3243         (nonlocal_goto_receiver): Delete.
3244         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3245
3246         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3247         (SET_ASM_OP): Define.
3248         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3249
3250         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3251         (ASM_LONG): Define.
3252
3253         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3254         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3255
3256         * rs6000.h: Add 'u' to more constants.
3257
3258         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
3259
3260         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3261
3262         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
3263
3264         * rs6000.c (reg_or_u_cint_operand): New function.
3265         (logical_operand): Handle 64-bit hosts.
3266         (logical_u_operand): New function.
3267         (non_logical_cint_operand): Handle 64-bit hosts.
3268         (non_logical_u_cint_operand): New function.
3269         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3270         (PREDICATE_CODES): Define new functions.
3271         * rs6000-protos.h: Declare new functions.
3272         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3273         (movdi_64): Bracket code intended for 64-bit hosts.  Create
3274         CONST_DOUBLE for 32-bit values.
3275         (scc insns): Generate DImode compares.
3276         (mfcr insns): Create DImode versions.
3277         (sge matchers): New patterns.
3278         
3279         2000-02-15  Gabriel Paubert  <paubert@iram.es>
3280
3281         * rs6000.md: Correct instructions length attributes and
3282         constraints on unsigned compare instructions.
3283         (*ne0): Disable for PowerPC64.
3284
3285         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3286
3287         * rs6000.c (output_function_profiler): Use .long for a 32-bit
3288         quantity, fix profile1.C test failure under -fPIC.
3289
3290         * rs6000.c: Add 'u' to many constants to suppress warnings.
3291         (constant_pool_expr_1): Make static.
3292         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3293         * rs6000.h: Add 'u' to many constants to suppress warnings.
3294
3295         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3296         for the start of the TOC, instead of LCTOC..0.
3297         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3298         of the TOC.
3299         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3300         (load_toc_aix_di): Use LCTOC..1.
3301
3302         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3303         * rs6000.c (rs6000_legitimize_address): New function from
3304         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
3305         symbols in the constant pool that really are TOC references.
3306         (print_operand_address): For ELF, write TOC offsets under
3307         -fPIC as subtractions in the insn.
3308         (output_toc): For ELF, define symbols in TOC as normal labels,
3309         to match RTL.
3310         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3311         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3312         (create_TOC_reference): Prototype only when RTX_CODE is defined.
3313         * rs6000.md (movsi): Only use create_TOC_reference on
3314         symbols in the constant pool that really are TOC references.
3315
3316         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3317         * rs6000.c (rs6000_reorg): Delete.
3318         * rs6000-protos.h (rs6000_reorg): Delete.
3319
3320         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
3321
3322         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3323
3324         * aix.h (SETUP_FRAME_ADDRESSES): Define.
3325         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3326         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3327         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3328         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3329         rs6000_aix_emit_builtin_unwind_init.
3330         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
3331         rs6000_emit_eh_toc_restore on AIX.
3332         (return_eh_si): Use r2.
3333         (return_eh_di): Use r2.
3334
3335         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3336         since we're breaking binary compatibility anyway.
3337
3338         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3339
3340         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3341         constant_pool_expr_p): Declare them.
3342         (constant_pool_expr_p): Declare it.
3343         * config/rs6000/rs6000.c (toc_label_name): Define.
3344         (rs6000_override_options): Set toc_label_name.
3345         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3346         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3347         uses_TOC): New functions.
3348         (print_operand): Delete old '*' case.
3349         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3350         and strip off rtl for TOC before calling output_addr_const.
3351         (rs6000_emit_load_toc_table): Use toc_label_name.
3352         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3353         the default.
3354         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3355         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3356         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3357         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3358         into explicit TOC_REGISTER offsets.
3359         (TOC_REGISTER): New macro.
3360         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
3361         TARGET_TOC to reference TOC_REGISTER.
3362         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3363         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
3364         uses_TOC before emitting label references.
3365
3366         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3367
3368         * rs6000.md (stack_tie): Fix warning.
3369
3370         * eabi-ctors.c: Use 'asm' names for the start/end variables,
3371         to handle -fleading-underscore.
3372         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3373         (USER_LABEL_PREFIX): New macro.
3374         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3375         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3376         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3377         call-linux can use the same multilibs.
3378         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3379         and call-linux multilibs.  Do multilib with -fleading-underscore.
3380         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3381         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
3382         to call-aix.
3383
3384         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3385         have MASK_SOFT_FLOAT set.
3386         (CPP_FLOAT_DEFAULT_SPEC): New macro.
3387         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3388         CPP_FLOAT_DEFAULT_SPEC.
3389
3390         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3391         * rs6000.md: Whitespace change.
3392         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3393         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3394
3395         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3396
3397         * rs6000.md (eh_epilogue): New expander.
3398         (eh_reg_restore): New expand/split/insn combination.
3399         (return_eh_si): New insn.
3400         (return_eh_di): New insn.
3401
3402         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3403         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3404         * eabi-ctors.c (__do_global_ctors): Register this object's
3405         frame.  Clean up.  Call atexit() after the constructors.
3406         (__do_global_dtors): Deregister this object's frame.  Clean up.
3407         Allow for recursive calls to exit().
3408         * rs6000.c (fixuplabelno): New variable.
3409         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3410         TARGET_RELOCATABLE, it slows down exec() under linux.
3411         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3412
3413         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3414         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3415         (ASM_OUTPUT_DWARF_DELTA2): New macro.
3416         (ASM_OUTPUT_DWARF_DELTA4): New macro.
3417         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3418         (ASM_OUTPUT_DWARF_ADDR): New macro.
3419         (ASM_OUTPUT_DWARF_DATA4): New macro.
3420         (ASM_OUTPUT_DWARF_DATA2): New macro.
3421         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3422         (ASM_OUTPUT_DWARF_OFFSET): New macro.
3423         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3424
3425         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3426
3427         * rs6000.c (rs6000_sr_alias_set): New variable.
3428         (rs6000_override_options): Initialise rs6000_sr_alias_set.
3429         (rs6000_emit_stack_tie): New function.
3430         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3431         in a way that dwarf2out can understand.
3432         (rs6000_frame_related): New function.
3433         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
3434         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3435         Use rs6000_emit_stack_tie when needed.
3436         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
3437         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
3438         * rs6000.md (stack_tie): New insn.
3439         (return_internal_si): Allow return value to be in the count
3440         register.
3441         (return_internal_di): Likewise.
3442
3443         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3444
3445         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3446
3447         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3448
3449         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
3450
3451         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3452
3453         * rs6000.md (stmw): Use the right POWER opcode.
3454         (lmw): Likewise.
3455
3456         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3457
3458         * rs6000-protos.h: New file.
3459
3460         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
3461         
3462         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
3463         warnings.
3464         
3465         * sysv4.h: Likewise.
3466
3467         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
3468
3469         * ../../configure.in: Delete powerpcle-*-winnt*
3470         and powerpcle-*-pe|powerpcle-*-cygwin*.
3471         * ../../configure: Regenerated.
3472         * cygwin.h: Delete.
3473         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3474         (TARGET_WINDOWS_NT): Delete.
3475         (ABI_NT): Delete.
3476         (CALL_NT_DLLIMPORT): Delete.
3477         Delete NT-specific code.
3478         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3479         * win-nt.h: Delete.
3480         * t-winnt: Delete.
3481         * nt-ci.asm: Delete.
3482         * nt-cn.asm: Delete.
3483         * ntstack.asm: Delete.
3484
3485         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3486
3487         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3488         (ASM_FILE_START): Likewise.
3489         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3490         (ASM_OUTPUT_LABELREF): Likewise.
3491         (ASM_OUTPUT_SKIP): Likewise.
3492         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3493         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3494         (ASM_OUTPUT_CASE_LABEL): Likewise.
3495         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3496         (ASM_OUTPUT_ASCII): Likewise.
3497
3498         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
3499
3500         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3501         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
3502         increment rs6000_pic_labelno here.
3503         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3504         and increment rs6000_pic_labelno here.
3505
3506         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
3507
3508         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3509         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3510         allocation knows (reg) is dead before the insn.
3511
3512         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
3513
3514         * rs6000.md (movsi_to_cr): Correct typo in output template.
3515
3516         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3517
3518         * rs6000.c (rs6000_pic_labelno): Always define.
3519         (rs6000_pic_func_labelno): Delete.
3520         (lmw_operation): Check for a zero base register,
3521         which doesn't mean what we want.
3522         (stmw_operation): New function.
3523         (print_operand): Define new 'l' modifier.
3524         (rs6000_stack_info): We must save all 64 bits of the registers
3525         if TARGET_POWERPC64.
3526         (rs6000_output_load_toc_table): Delete.
3527         (rs6000_emit_load_toc_table): New function.
3528         (rs6000_allocate_stack_space): Delete.
3529         (rs6000_emit_allocate_stack): New function.
3530         (rs6000_emit_prologue): New function.
3531         (output_prolog): Use rs6000_emit_prologue.
3532         (rs6000_emit_epilogue): Change a few variable names to be
3533         more accurate.  Restore all 64 bits of the registers if
3534         TARGET_POWERPC64.  Only restore the FP registers which were used
3535         if they are being saved/restored one-at-a-time.
3536         (output_mi_thunk): Delete inefficient code generation.
3537         (output_function_profiler): Don't use rs6000_output_load_toc_table.
3538         * rs6000.h: Declare rs6000_emit_load_toc_table,
3539         rs6000_allocate_stack_space, stmw_operation.  Don't declare
3540         rs6000_output_load_toc_table.
3541         * rs6000.md (elf_high): Allow register 0, but discourage it
3542         heavily.
3543         (elf_low): Support loading into register 0.
3544         (load_toc_aix_si): New pattern.
3545         (load_toc_aix_di): New pattern.
3546         (load_toc_v4_pic_si): New pattern.
3547         (load_toc_v4_pic_di): New pattern.
3548         (load_toc_v4_PIC_1): New pattern.
3549         (load_toc_v4_PIC_1b): New pattern.
3550         (load_toc_v4_PIC_2): New pattern.
3551         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3552         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3553         (prologue): New expander.
3554         (movesi_from_cr): New pattern.
3555         (stmw): New pattern.
3556         (save_fpregs_si): New pattern.
3557         (save_fpregs_di): New pattern.
3558
3559         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3560
3561         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3562         (movdi): Likewise.
3563         (movhi): Likewise.
3564         (movqi): Likewise.
3565
3566         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3567
3568         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3569         at present.
3570         (movsi_got_internal): Likewise.
3571         (movsi_got_internal+1): Likewise.
3572         (set_sp): 'unspec 7' does a SImode clobber.
3573
3574         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3575
3576         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3577         allocate a stack temporary.
3578         (floatsidf2_internal): Likewise.
3579         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
3580         with unspec.
3581         (floatunssidf2): Don't use the fpmem "register", just
3582         allocate a stack temporary.
3583         (floatunssidf2_internal): Likewise.
3584         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
3585         with unspec.
3586         (floatsidf2_loadaddr): Delete.
3587         (floatsidf2_store1): Delete.
3588         (floatsidf2_store2): Delete.
3589         (floatsidf2_load): Delete.
3590         (fix_truncdfsi2): Don't use the fpmem "register", just
3591         allocate a stack temporary.
3592         (fix_truncdfsi2_internal_si): Delete.
3593         (fix_truncdfsi2_internal_di): Delete.
3594         (fix_truncdfsi2_internal): New insn.
3595         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3596         (fix_truncdfsi2_store): Delete.
3597         (fix_truncdfsi2_load): Delete.
3598         (fctiwz): Produce gen_fctiwz.
3599
3600         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3601
3602         * eabi.h (INVOKE__main): Define.
3603         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3604         specially.
3605         (rs6000_emit_prologue): Likewise.
3606         * rs6000.h (struct rs6000_stack): Don't keep track of whether
3607         this is the main program.
3608
3609         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3610
3611         * rs6000.c (rs6000_va_arg): Delete some unused variables.
3612
3613         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3614
3615         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3616         goes after the argument.
3617
3618         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3619
3620         * rs6000.md: Document 'unspec' values used.
3621         (epilogue): New expander.
3622         (movesi_to_cr_one): New expander.
3623         (movesi_to_cr and following): New pattern.
3624         (lmw): New pattern.
3625         (return_internal_si): New pattern.
3626         (return_internal_di): New pattern.
3627         (return_and_restore_fpregs_si): New pattern.
3628         (return_and_restore_fpregs_di): New pattern.
3629         * rs6000.h: Declare new functions.
3630         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3631         rather than rs6000_calls_p.
3632         (rs6000_makes_calls): Delete.
3633         (lmw_operation): New function.
3634         (mtcrf_operation): New function.
3635         (rs6000_emit_epilogue): New function.
3636         (output_epilog): Call rs6000_emit_epilogue and final if
3637         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3638
3639         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3640
3641         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3642         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3643         * aix.h (SUBTARGET_SWITCHES): Document switches.
3644         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
3645         sched-prolog and sched-epilog the same.  Document all the
3646         switches.
3647         (TARGET_OPTIONS): No longer allow -mdebug-.
3648
3649         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3650
3651         * rs6000.h (ASM_FILE_END): Move to aix.h.
3652         (EXTRA_SECTIONS): Move to aix.h.
3653         (READONLY_DATA_SECTION): Move to aix.h.
3654         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3655         (SELECT_SECTION): Move to aix.h.
3656         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3657         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3658         (LINK_REGISTER_REGNUM): New definition.
3659         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3660         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3661         AIX and SVR4.
3662         * sysv4.h: Delete the code between the inclusion of rs6000.h
3663         and svr4.h.
3664         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3665         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3666         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3667         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3668         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3669         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3670         (fix_truncdfsi2_internal_di): New pattern.
3671         (fix_truncdfsi2_store): The second arg here is Pmode too.
3672         (fix_truncdfsi2_load): The second arg here is Pmode too.
3673         (tablejumpdi): Now that switch tables hold only SImode values,
3674         gcc needs to know how to add them to the pc which is DImode.
3675         * rs6000.c (rs6000_stack_info): Use symbolic name for 
3676         LINK_REGISTER_REGNUM.
3677         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3678         (output_toc): Delete unused variables s1 and s2.
3679         (output_ascii): Use fputs not fprintf on a variable string.
3680
3681         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
3682
3683         * rs6000.c (processor_target_table): Add power3 as alias for 630.
3684         * aix43.h: Revert Aug 2 change.
3685         (HAS_INIT_SECTION): Define, not visible yet.
3686         (LD_INIT_SWITCH): Define, not visible yet.
3687         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3688
3689         2000-01-04  Joel Sherrill (joel@OARcorp.com>
3690
3691         * config/rs6000/rtems.h: Include config/rtems.h.
3692
3693         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3694
3695         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3696         (SLOW_UNALIGNED_ACCESS): Define.
3697         (CASE_VECTOR_MODE): Always use 32-bit offsets.
3698         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3699         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3700         (toc_section): Likewise and .toc pseudo-op.
3701         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
3702         64-bit mode.
3703         (TEXT_SECTION_ASM_OP): Likewise.
3704         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3705         32-bit offsets.
3706
3707         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
3708
3709         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3710         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3711         compiling libgcc2.
3712         
3713         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3714
3715         * rs6000.h: Move more stuff from here...
3716         * aix.h: to here.
3717         * sysv4.h: Cleanup accordingly.
3718         * netware.h: Likewise
3719
3720         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3721
3722         * rs6000.h: Continue cleanup.
3723         * aix.h: Likewise.
3724         * lynx.h: Likewise.
3725         * netware.h: Likewise.
3726         * sol2.h: Likewise.
3727         * sysv4.h: Likewise.
3728         * win-nt.h: Likewise.
3729
3730         * rs6000.h (TARGET_SWITCHES): Add descriptions.
3731         (TARGET_OPTIONS): Likewise.
3732
3733         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3734         (SUBTARGET_OPTIONS): Likewise.
3735
3736         * rs6000.md: Fix compile time warnings.
3737
3738         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3739
3740         vxworks patches from the Cygnus tree originally by
3741         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3742         <vmakarov@cygnus.com>.
3743         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3744         (ENDFILE_SPEC): Likewise.
3745         (LIB_VXWORKS_SPEC): New macro.
3746         (STARTFILE_VXWORKS_SPEC): New macro.
3747         (ENDFILE_VXWORKS_SPEC): New macro.
3748         (LINK_START_VXWORKS_SPEC): New macro.
3749         (LINK_OS_VXWORKS_SPEC): New macro.
3750         (CPP_OS_VXWORKS_SPEC): New macro.
3751         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3752         * vxppc.h: Rewrite to use proper configuration method.
3753         * vxppcle.h: New file.
3754         * ../../configure.in: Add powerpcle-wrs-vxworks*.
3755         * ../../configure: Rebuilt.
3756
3757         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3758
3759         Lots of changes to rs6000.h, sysv4.h, aix.h,
3760         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3761         with the aim that rs6000.h is the first header
3762         included and the others override it.
3763         * aix.h: New file.
3764
3765         * x-aix41-gld: Remove.  
3766         * x-aix43: Remove.
3767         * x-aix41: Remove target-specific switches, and don't specify
3768         -Wl,-bbigtoc as we don't need it any more.
3769         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3770         Use t-aix43 for AIX 4.3 and above.
3771         * ../../configure: Regenerated.
3772
3773         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3774         options, that don't do anything yet.
3775         (MASK_SCHED_PROLOG): New macro.
3776         (MASK_SCHED_EPILOG): New macro.
3777         (TARGET_SCHED_PROLOG): New macro.
3778         (TARGET_SCHED_EPILOG): New macro.
3779
3780         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3781
3782         * rs6000.c: Correct comment, the `minimal' TOCs are actually
3783         one per translation unit, not one per function.
3784         (output_toc): Also do duplicate constant elimination
3785         for per-translation-unit TOCs.
3786
3787         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
3788         a comment explaining _exactly_ when this pattern gets used.
3789         (builtin_setjmp_receiver): New pattern for better clarity.
3790         (init_v4_pic): Move it into a section dealing with TOC registers.
3791
3792         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
3793
3794         * rs6000.c (toc_hash_table): New variable.
3795         (rs6000_hash_constant): New function.
3796         (toc_hash_function): New function.
3797         (toc_hash_eq): New function.
3798         (toc_hash_mark_entry): New function.
3799         (toc_hash_mark_table): New function.
3800         (output_toc): Don't output duplicate TOC entries in
3801         a single file.
3802         (rs6000_add_gc_roots): Add the hash table as a GC root.
3803         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3804         where they clearly shouldn't be.  This may need to be fixed
3805         later when there is a GNU ar for AIX.
3806         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3807         Don't define BOOT_LDFLAGS as it is now not necessary.
3808
3809         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
3810
3811         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
3812         for va_list on AIX.  Use unsigned_char_type_node rather than
3813         constructing our own version on svr4.
3814
3815         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
3816
3817         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
3818         since patently it's not.
3819
3820         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
3821
3822         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
3823         define_expand/define_insn pair, and handle restore of the
3824         SVR4 -fpic register.
3825
3826 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
3827
3828         * acconfig.h (HAVE_GAS_WEAK): New define.
3829         * configure.in (assembler weak support): Check for .weak support.
3830         * config.in, configure: Rebuilt.
3831         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
3832         HAVE_GAS_WEAK is defined.
3833
3834 2000-03-15  Nick Clifton  <nickc@cygnus.com>
3835
3836         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
3837         asm_fprintf().
3838
3839 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
3840
3841         * cppfiles.c (open_include_file): New function.
3842         (find_include_file, cpp_read_file): Use it.
3843
3844 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3845
3846         * cpphash.c (dump_hash_helper): Take the slot, not the element.
3847
3848 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
3849
3850         * flow.c (verify_flow_info): Check for unconditional return.
3851
3852 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
3853
3854         * config/ia64/ia64.md (restore_stack_nonlocal): New.
3855         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
3856         (__ia64_restore_stack_nonlocal): New.
3857         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
3858
3859 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3860
3861         * cpphash.c (collect_formal_parameters): Do not complain about
3862         parameter names that just start with `__VA_ARGS__'.
3863
3864 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
3865
3866         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
3867         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
3868         * i386.c (pentiumpro_cost): Set mul cost to 4.
3869         (x86_use_movx): Set for PPro.
3870
3871 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
3872
3873         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
3874         STACK_BOUNDARY for empty frames now.
3875
3876 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
3877
3878         * stor-layout.c (layout_union): Remove.
3879         (layout_union_field): New function, split out from layout_union.
3880         (finish_union_layout): Likewise.
3881         (layout_field): Handle unions by calling layout_union_field.
3882         (finish_record_layout): Handle unions.
3883         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
3884         QUAL_UNION_TYPE handling.
3885
3886 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
3887
3888         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
3889         end of basic block is jump_insn, not barrier; use create_basic_block
3890         instead of creating basic block by hand.
3891
3892 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
3893
3894         * flow.c (reorder_basic_blocks): Account for barriers when writing
3895         over NEXT_INSN (last_bb->end).
3896         (verify_flow_info): Add check for missing barriers.
3897
3898 2000-03-14  Greg McGary  <gkm@gnu.org>
3899
3900         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
3901         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
3902         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
3903         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
3904         __unbounded, __unbounded__): New keywords.
3905         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
3906         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
3907         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
3908
3909 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3910
3911         * cselib.h: New file.
3912         * alias.c: Include "cselib.h".
3913         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
3914         MEMs as two new arguments.
3915         (get_addr): New static function.
3916         (find_base_term): Handle VALUEs.
3917         (memrefs_conflict_p): Likewise.
3918         (true_dependence): Call get_addr on the addresses.
3919         Call fixed_scalar_and_varying_struct_p with addresses that have been
3920         passed through get_addr and canon_rtx.
3921         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
3922         with true_dependence.
3923         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
3924         * loop.c: Include "cselib.h".
3925         (load_mems): Process extended basic block that enters the loop with
3926         cselib.  Use that information to change initialization of the shadow
3927         register so that a constant equivalence is seen by later passes.
3928         * reload1.c: Include "cselib.h".
3929         (reload_cse_invalidate_regno): Delete function.
3930         (reload_cse_mem_conflict_p): Likewise.
3931         (reload_cse_invalidate_mem): Likewise.
3932         (reload_cse_invalidate_rtx): Likewise.
3933         (reload_cse_regno_equal_p): Likewise.
3934         (reload_cse_check_clobber): Likewise.
3935         (reload_cse_record_set): Likewise.
3936         (reg_values): Delete static variable.
3937         (invalidate_regno_rtx): Likewise.
3938         (reload_cse_delete_noop_set): New static function.
3939         (reload_cse_simplify): New static function, broken out of
3940         reload_cse_regs_1.
3941         (reload_cse_noop_set_p): Delete unused argument INSN.
3942         Just call rtx_equal_for_cselib_p on set source and destination.
3943         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
3944         reload_cse_delete_noop_set.  Delete code to keep track of values; use
3945         cselib functions instead.  Delete code to push/pop obstacks.
3946         (reload_cse_simplify_set): Use cselib to find equivalent values.
3947         Delete code to push/pop obstacks.
3948         (reload_cse_simplify_operands): Likewise.
3949         * rtl.def (VALUE): New rtx code.
3950         * rtl.h (union rtunion_def): New elt rt_cselib.
3951         (X0CSELIB, CSELIB_VAL_PTR): New macros.
3952         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
3953         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
3954         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
3955         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
3956         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
3957         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
3958         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
3959         cselib_record_set, cselib_record_sets): New static functions.
3960         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
3961         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
3962         references_value_p): New functions.
3963         (MAX_USELESS_VALUES, REG_VALUES): New macros.
3964         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
3965         n_useless_values, reg_values, callmem, cselib_obstack,
3966         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
3967         New static variables.
3968         * varray.h (union varray_data_tag): New elt te.
3969         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
3970         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
3971         dependencies.
3972
3973 2000-03-14  Nick Clifton  <nickc@cygnus.com>
3974
3975         * gcc.c (do_spec_1): Catch the case where %* is used in a
3976         substitution pattern, but it has not been initialised.
3977         Issue a meaningful error message if an unrecognised operator
3978         is encountered in a spec string.
3979
3980 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
3981
3982         * function.c (prepare_function_start): Correctly initialize
3983         cfun->stack_alignment_needed.
3984
3985 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
3986
3987         * cppfiles.c (find_include_file): Don't assume nshort is a
3988         substring of name.
3989
3990 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
3991
3992         * configure.in (hppa configurations): Add pa32-regs.h to the
3993         list of tm files as appropriate.
3994         * configure: Rebuilt.
3995         * pa.c (compute_frame_size): Remove explicit knowledge about FP
3996         register numbering.
3997         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3998         (fmpyaddoperands, fmpysuboperands): Likewise.
3999         * pa.h: Remove various definitions which depend on knowing
4000         how registers are numbered.
4001         * pa32-regs.h: New file with PA32 register numbering specific
4002         definitions.
4003
4004 2000-03-14  Richard Henderson  <rth@cygnus.com>
4005
4006         * regmove.c (combine_stack_adjustments): New.
4007         (stack_memref_p, single_set_for_csa): New.
4008         (free_csa_memlist, record_one_stack_memref): New.
4009         (try_apply_stack_adjustment): New.
4010         (combine_stack_adjustments_for_block): New.
4011         * rtl.h (combine_stack_adjustments): Declare.
4012         * toplev.c (rest_of_compilation): Call it.
4013
4014         * i386.md: Revert 2000-01-16 change.
4015
4016 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4017
4018         * gccbug.in: Add web category, gcc specific classes.
4019
4020 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
4021
4022         * stor-layout.c (finalize_record_size): Fix typo.
4023
4024 2000-03-14  Stan Shebs  <shebs@apple.com>
4025
4026         * c-typeck.c (c_alignof): Error on incomplete types.
4027         * extend.texi (Alignment): Document this.
4028
4029 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4030
4031         * cppfiles.c: Include mkdeps.h.
4032         (find_include_file, read_include_file): Remove _cpp_ prefix
4033         from name, make static.
4034         (_cpp_execute_include): New function, broken out of
4035         do_include.
4036
4037         * cpplib.c: Don't include mkdeps.h.
4038         (struct directive): Remove type field. Reorder entries.  The
4039         function takes only one argument.
4040         (struct if_stack): Make type field an int.
4041         (directive_table): Rename to dtable.  Generate it, the
4042         prototypes of the directive handlers, and the enum for the
4043         directive numbers, from a template macro.
4044         (do_ifndef, do_include_next, do_import): New functions.
4045         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4046         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4047         do_ident, do_assert, do_unassert, do_sccs): Take only one
4048         argument.
4049         (do_sccs): Define always, but alter behavior based on
4050         SCCS_DIRECTIVE.
4051         (_cpp_handle_directive, consider_directive_while_skipping):
4052         Restructure for new directive table layout.
4053
4054         (pass_thru_directive): Take a directive number, not a pointer
4055         to a struct directive.
4056         (parse_include): New function, broken out of do_include.
4057         (do_include, do_import, do_include_next): Use parse_include
4058         and _cpp_execute_include.
4059         (do_elif, do_else): Test for T_ELSE specifically when checking
4060         for #elif/#else after #else.
4061         (parse_ifdef): New function, broken out of do_ifdef.
4062         (validate_else): Expect a name arg without a leading #.
4063         (if_directive_name): Delete.
4064         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4065         directive handlers with only one argument.
4066
4067         * cpphash.h: Update prototypes.
4068         (enum node_type): Remove entries for directives.
4069         * Makefile.in: Update dependencies.
4070
4071         * cpphash.c (dump_hash_helper): Only dump nodes of type
4072         T_MACRO.  Emit a newline after each definition.
4073
4074 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4075
4076         * gccbug.in: New file.
4077         * configure.in (all_outputs): Add gccbug.
4078         * Makefile.in (install-common): Install gccbug.
4079         (GCCBUG_INSTALL_NAME): New variable.
4080         * configure: Rebuilt.
4081         
4082 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4083
4084         * function.c (put_var_into_stack): Use type_for_mode to calculate
4085         part_type.  Use MEM_SET_IN_STRUCT_P.
4086         * expr.c (store_field): Handle CONCAT.
4087         (store_constructor): Use fields_length.
4088         * tree.c (fields_length): New fn.
4089         * tree.h: Declare it.
4090
4091 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4092
4093         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4094         (cpplex.o): New target.
4095         * po/POTFILES.in: Add cpplex.c.
4096
4097         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4098         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4099         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4100         skip_block_comment, skip_line_comment, skip_comment,
4101         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4102         _cpp_parse_name, skip_string, parse_string,
4103         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4104         _cpp_get_directive_token, find_position,
4105         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4106         (maybe_macroexpand, _cpp_lex_token): New functions.
4107
4108         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4109         parse_goto_mark): Delete.
4110         (_cpp_handle_eof): New function.
4111         (_cpp_handle_directive): Rename from handle_directive.
4112         (_cpp_output_line_command): Rename from output_line_command.
4113         (do_if, do_elif): Call _cpp_parse_expr directly.
4114         * cppfiles.c (_cpp_read_include_file): Don't call
4115         init_input_buffer here.
4116         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4117         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4118         here; pop the token_buffer and skip the rest of the line here.
4119         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4120         here.
4121
4122         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4123         Define here.
4124         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4125         CPP_GOTO_MARK): New macros.
4126         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4127         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4128         _cpp_read_and_prescan, _cpp_init_input_buffer,
4129         _cpp_grow_token_buffer, _cpp_get_directive_token,
4130         _cpp_handle_directive, _cpp_handle_eof,
4131         _cpp_output_line_command): Prototype them here.
4132         * cpplib.h (enum cpp_token): Add CPP_MACRO.
4133         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4134         quote_string, output_line_command): Remove.
4135
4136 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
4137
4138         * stmt.c (expand_end_case): RANGE may be signed, and when checking
4139         whether it is too large we must also verify that it isn't negative.
4140
4141 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
4142
4143         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4144         (movsi_zero_liveg0): Remove.
4145         (movsf_insn_novis_liveg0): Remove.
4146         (negsi2): Remove.
4147         (negsi2_not_liveg0): Rename to negsi2.
4148         (one_cmplsi2): Remove.
4149         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4150         (one_cmplsi2_liveg0): Remove.
4151         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4152         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4153         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4154         (PREDICATE_CODES): Remove zero_operand.
4155         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4156         TARGET_BROKEN_SAVERESTORE.
4157         (zero_operand): Remove.
4158         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4159         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4160         options.
4161         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4162         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4163         TARGET_BROKEN_SAVERESTORE): Remove.
4164         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4165         Remove.
4166         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4167         Remove.
4168         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4169         Remove.
4170
4171         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4172
4173 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4174
4175         * cpplib.c (do_pragma_implementation): Fix off-by-one error
4176         truncating a string.  Don't assume tokens are nul terminated.
4177         Problem noted by Andreas Jaeger <aj@suse.de>
4178
4179 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4180
4181         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4182         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4183         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4184
4185 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
4186
4187         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4188         STRUCTURE_SIZE_BOUNDARY.
4189
4190 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
4191
4192         * tree.h (record_layout_info_s): New structure.
4193         (record_layout_info): New type.
4194         (new_record_layout_info): New function.
4195         (layout_field): Likewise.
4196         (finish_record_layout): Likewise.
4197         * stor-layout.c (layout_record): Remove.
4198         (new_record_layout_info): New function.
4199         (layout_field): New function, broken out from layout_record.
4200         (finalize_record_size): Likewise.
4201         (compute_record_mode): Likewise.
4202         (finalize_type_size): New function, broken out from layout_type.
4203         (finish_record_layout): Likewise.
4204         (layout_type): Use them.
4205         
4206 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4207
4208         * cpphash.c: Don't include version.h.
4209         (special_symbol) [case T_VERSION]: Look for the string in
4210         hp->value.cpval; don't use version_string.
4211         * cppinit.c (initialize_builtins): Set hp->value.cpval for
4212         __VERSION__ to version_string.
4213         * Makefile.in (cpphash.o): Update deps.
4214
4215 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4216
4217         Convert cpplib to use libiberty/hashtab.c.
4218
4219         * cpplib.h (struct cpp_reader): Make hashtab and
4220         all_include_files of type 'struct htab *'.  Delete HASHSIZE
4221         and ALL_INCLUDE_HASHSIZE macros.
4222
4223         * cpphash.h: Update prototypes.
4224         (struct hashnode): Remove next, prev, and bucket_hdr members.
4225         Make length a size_t.  Add hash member.
4226         (struct ihash): Remove next member.  Add hash member.  Make
4227         name a flexible array member.
4228
4229         * cppfiles.c: Include hashtab.h.
4230         (include_hash): Delete.
4231         (IHASHSIZE): New macro.
4232         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4233         (cpp_included): Do the hash lookup here.
4234         (_cpp_find_include_file): Rewrite.
4235         (cpp_read_file): Put the "fake" hash entry into the hash
4236         table.  Honor the control_macro, if it turns out we've seen
4237         the file before.  Don't push the buffer here.
4238         (_cpp_read_include_file): Push the buffer here.
4239         (OMODES): New macro.  Use it whenever we call open(2).
4240
4241         * cpphash.c: Include hashtab.h.
4242         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4243         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4244         _cpp_lookup_slot): New functions.
4245         (HASHSIZE): new macro.
4246         (hashf, _cpp_install, _cpp_delete_macro): Delete.
4247         (_cpp_lookup): Use hashtab.h routines.
4248
4249         * cppinit.c: Include hashtab.h.
4250         (cpp_reader_init): Call _cpp_init_macro_hash and
4251         _cpp_init_include_hash.  Don't allocate hashtab directly.
4252         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4253         pfile->all_include_files.
4254         (initialize_builtins): Use _cpp_make_hashnode and
4255         htab_find_slot to add hash entries.
4256         (cpp_finish): Just call _cpp_dump_macro_hash.
4257         * cpplib.c: Include hashtab.h.
4258         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4259         create hash entries.
4260         (do_pragma_poison, do_assert): Likewise.
4261         (do_include): Don't push the buffer here.  Don't increment
4262         system_include_depth unless _cpp_read_include_file succeeds.
4263         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4264         or htab_remove_elt.
4265         (do_pragma_implementation): Use alloca to create copy.
4266
4267         * Makefile.in: Update dependencies.
4268
4269 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4270
4271         * cppinit.c (cl_directive_handler): More K&R fixing.
4272
4273 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
4274
4275         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4276         STACK_BOUNDARY.
4277         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4278
4279 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4280
4281         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4282         Change from char[] to macros.
4283
4284 2000-03-12  Neil Booth  <NeilB@earthling.net>
4285
4286         * cppinit.c (cpp_start_read): Update indirect function
4287         call to K&R C.
4288
4289 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
4290
4291         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4292         entry.
4293
4294         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4295         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4296
4297 2000-03-11  Neil Booth  <NeilB@earthling.net>
4298
4299         * cppinit.c (struct pending option): Replace undef with a 
4300         pointer to a directive handling routine.
4301         (struct cpp_pending): Replace separate assert_ and define_ 
4302         lists with one directive_ list.
4303         (new_pending_define): Rename new_pending_directive. Extra
4304         argument is the directive's handling routine.
4305         (handle_option): Update to use new_pending_directive.
4306
4307 2000-03-11  Neil Booth  <NeilB@earthling.net>
4308
4309         * cppfiles.c (file_cleanup, _cpp_find_include_file,
4310         remap_filename, _cpp_read_include_file, actual_directory,
4311         hack_vms_include_specification): Replace bcopy(), index() etc
4312         calls.  Add casts to some allocations.  Make some variables
4313         pointers to const [unsigned] char.
4314         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4315         collect_formal_parameters): Similarly.
4316         * cppinit.c (struct pending_option, append_include_chain,
4317         cpp_options_init, cpp_reader_init, initialize_standard_includes,
4318         cpp_start_read, new_pending_define, handle_option): Similarly.
4319         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4320         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4321         do_pragma_implementation, detect_if_not_defined,
4322         do_ifdef, skip_if_group, cpp_get_token, parse_string,
4323         do_assert, do_unassert): Similarly.
4324         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
4325         function prototypes.
4326         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
4327
4328 2000-03-10  Richard Henderson  <rth@cygnus.com>
4329
4330         * builtins.c (expand_builtin_strlen): Revert last change.
4331         Use emit_insn_before if we're at the beginning of a sequence.
4332
4333 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
4334
4335         * builtins.c (expand_builtin_strlen): Make sure that we have something
4336         at the beginning of the sequence.
4337
4338         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4339         deferred inlines.
4340
4341         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4342
4343 2000-03-10  Richard Henderson  <rth@cygnus.com>
4344
4345         * except.c (can_throw): Use INTVAL on a CONST_INT.
4346         (reachable_handlers): Likewise.
4347         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4348
4349 2000-03-10  Andreas Jaeger  <aj@suse.de>
4350
4351         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4352         MD_STARTFILE_PREFIX since those are not needed on linux.
4353         (ASM_FILE_START): New, from mips/gnu.h.
4354
4355 2000-03-09  Richard Henderson  <rth@cygnus.com>
4356             Alex Samuel  <samuel@codesourcery.com> and others
4357         
4358         * Makefile.in (ssa.o): New rule.
4359         (OBJS): Add ssa.o.
4360         (STAGESTUFF): Add *.ssa and *.ussa.
4361         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4362         * rtl.def (PHI): New RTL expression.
4363         * rtl.h (clear_log_links): New declaration.
4364         (convert_to_ssa): Likewise.
4365         (convert_from_ssa): Likewise.
4366         * flow.c (split_edge): If the entry node falls through to the
4367         split edge's source block, split the entry edge.
4368         (clear_log_links): New function.
4369         * toplev.c (ssa_dump): New variable.
4370         (flag_ssa): Likewise.
4371         (f_options): Add "ssa".
4372         (compile_file): Create SSA dump files.
4373         (rest_of_compilation): Go to and from SSA if enabled.
4374         (decide_d_option): Handle -de for SSA dump files.
4375         * ssa.c: New file.
4376         
4377 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
4378
4379         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4380         same as VAR_DECL.
4381
4382 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
4383
4384         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4385
4386 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
4387
4388         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4389         (MD_STARTFILE_PREFIX_1): New macro.
4390
4391 2000-03-09  Robert Lipe  <robertl@sco.com>
4392
4393         * config/ia64/ia64.c: Include system.h.
4394
4395 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4396
4397         * except.c (nothrow_function_p): If -fno-exceptions, just return.
4398         (init_eh_nesting_info): Likewise.
4399
4400         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4401         (TREE_NOTHROW): Rename from TREE_RAISES.
4402         * toplev.c (rest_of_compilation): Set it.
4403         * print-tree.c (print_node): Adjust.
4404         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4405         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4406         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
4407         REG_EH_REGION note as appropriate.
4408         (libfunc_nothrow): New fn.
4409         (emit_library_call, emit_library_call_value): Use it.
4410         (expand_call): Check TREE_NOTHROW.
4411
4412         * varasm.c (make_decl_rtl): Skip initial '*' when setting
4413         DECL_ASSEMBLER_NAME.
4414
4415 2000-03-09  Andreas Jaeger  <aj@suse.de>
4416
4417         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4418         (TARGET_MEM_FUNCTIONS): Define.
4419
4420 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4421
4422         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4423
4424         * except.c (can_throw): See through a SEQUENCE.
4425         (nothrow_function_p): New fn.
4426         * except.h: Declare it.
4427         * function.c (current_function_nothrow): New var.
4428         (prepare_function_start): Initialize it.
4429         * output.h: Declare it.
4430         * toplev.c (rest_of_compilation): Set it.
4431         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4432
4433 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
4434
4435         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4436         match.  (cpp_compare_defs): Count the nul separator when
4437         advancing over argument names.
4438
4439 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
4440
4441         * recog.c (preprocess_constraints): Matching constraints affect
4442         same alternative/different operand, not same operand/different
4443         alternative.
4444         
4445         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4446         register and a constant specially.
4447
4448 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4449
4450         * libgcc2.h: New file.
4451         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4452
4453 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
4454
4455         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4456         * configure: Regenerate.
4457         * config/ia64: New.
4458
4459 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4460
4461         * Makefile.in (LIBCPP_DEPS): New macro.
4462         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4463         it to declare deps.
4464         * cpperror.c: Include cpphash.h.
4465         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
4466         dingleberry.
4467         (lex): Don't use CPP_WARN_UNDEF.
4468         (_cpp_parse_expr): Return an int, the truth value.
4469         * cppfiles.c: Include cpphash.h.
4470         (_cpp_merge_include_chains): Move to cppinit.c and make static.
4471         * cppinit.c (include_defaults_array): Disentangle.
4472         (cpp_cleanup): Don't free the if stack here.
4473         (cpp_finish): Pop off all buffers, not just one.
4474         * cpplib.c (eval_if_expr): Return int.
4475         (do_xifdef): Rename do_ifdef.
4476         (handle_directive): Don't use CPP_PREPROCESSED. 
4477         (cpp_get_token): Don't use CPP_C89.
4478         * fix-header.c: Don't use CPP_OPTIONS.
4479
4480         * cpplib.h: Move U_CHAR, enum node_type, struct
4481         file_name_list, struct ihash, is_idchar, is_idstart,
4482         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4483         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4484         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4485         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4486         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4487         of _cpp_simplify_pathname, _cpp_find_include_file,
4488         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4489         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
4490         cppinit.c.
4491         Change all uses of U_CHAR to be unsigned char instead.
4492         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4493
4494 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4495
4496         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4497         (dwarf2out_begin_prologue): Set it.
4498         (output_call_frame_info): Don't emit EH unwind info for leaves.
4499
4500         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4501         can occur outside of an EH region.
4502         * except.c: Correct comments about rethrow behavior.
4503         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4504
4505 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
4506
4507         * flow.c (make_edges): Always call make_eh_edge for calls.
4508
4509 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4510
4511         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4512         (struct cpp_buffer): Remove fname and underflow fields.
4513         (struct cpp_reader): Remove get_token field.
4514         (struct include_hash): Rename to struct ihash.  Add typedef to
4515         IHASH.
4516         (struct if_stack): Remove fname field.
4517         (IF_STACK_FRAME): Rename to IF_STACK.
4518
4519         * cpperror.c (print_containing_files): Trust that there are no
4520         macro buffers below the top file buffer.
4521         * cppfiles.c: Replace all references to 'struct include_hash'
4522         with 'IHASH'.  Rename initialize_input_buffer to
4523         init_input_buffer.  Don't set or reference cpp_buffer->fname,
4524         use buffer->ihash->name instead.
4525         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
4526         not CPP_NULL_BUFFER.
4527         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4528         IF_STACK_FRAME, IHASH not struct include_hash.
4529         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
4530         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
4531         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
4532         references to cpp_buffer->fname (delete entirely, or use
4533         ->ihash->name instead) and IF_STACK->fname.
4534         (cpp_push_buffer): Don't set new->underflow.
4535         (do_include): Use cpp_file_buffer.
4536
4537         * cpphash.c (collect_formal_parameters): Remove duplicate
4538         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
4539         used as a macro argument name.  Don't append "..." to namebuf
4540         for varargs macros.  After we're done scanning, go through
4541         namebuf and make it NUL separated, not comma separated.
4542         (_cpp_compare_defs): Remove register tag from variables.
4543         Expect defn->argnames to be NUL separated.
4544         (_cpp_dump_definition): Expect defn->argnames to be NUL
4545         separated and in forward order.
4546         * cpphash.h: Update documentation of argnames field.
4547
4548 2000-03-08  Richard Henderson  <rth@cygnus.com>
4549
4550         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4551         to fail.  Don't pre-expand the source operand.
4552
4553         * i386.md (strlensi): Initialize eoschar and align before use.
4554
4555 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4556
4557         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4558         CONSTRUCTOR element.
4559
4560 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4561
4562         * mips.c (mips_expand_prologue): If the last 
4563         named argument is the vararg marker "va_list", treat it as
4564         an unnamed argument.
4565
4566 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
4567
4568         * dbxout.c (dbxout_parms): When correcting for promoted 
4569         big-endian parameters, use the mode of the DECL_RTL rather 
4570         than UNITS_PER_WORD.
4571
4572 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
4573
4574         * c-common.h (make_fname_decl): Declare.
4575         * c-common.c (make_fname_decl): Define.
4576         (declare_hidden_char_array): Remove.
4577         (declare_function_name): Use make_fname_decl.
4578         * c-decl.c (c_make_fname_decl): New function.
4579         (init_decl_processing): Set make_fname_decl.
4580
4581 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
4582
4583         * cccp.c (handle_directive): Initialize backslash_newlines_p.
4584
4585 2000-03-07  Philipp Thomas  <pthomas@suse.de>
4586
4587         * po/POTFILES.in: Remove cppalloc.c from file list.
4588
4589 2000-03-07  Steve Chamberlain  <sac@pobox.com>
4590
4591         * pj.c (pj_expand_prologue): current_function->args_info is
4592         now current_function_args_info.  
4593
4594         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4595         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4596         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4597
4598 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4599
4600         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4601         output as hexadecimal rather than the default octal.
4602
4603 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4604
4605         * cpphash.c (special_symbol): Fix thinko in previous commit.
4606
4607 2000-03-07  Neil Booth  <NeilB@earthling.net>
4608
4609         * cppexp.c (struct operation, left_shift, right_shift,
4610         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4611         "int"s to "unsigned int"s.
4612         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4613         Similarly.
4614         * cpplib.h: Update for above.
4615         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4616         returned from allocations.
4617
4618         * cppinit.c (opt_comp, parse_options): New functions.
4619         (handle_option): Use parse_option to parse a single command
4620         line option, that possibly takes an argument.
4621         (cpp_handle_options): Sort the array of command line options on
4622         first invocation (non-ASCII hosts only).
4623         (print_help): Update.
4624
4625 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4626
4627         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4628         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
4629         
4630         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4631         initialized.
4632         * cppinit.c (cpp_cleanup): Free imp->nshort also.
4633
4634         * cpperror.c (cpp_print_containing_files,
4635         cpp_print_file_and_line, v_cpp_message): Rename to
4636         print_containing_files, print_file_and_line, and v_message.
4637         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4638         to _cpp_parse_expr, parse_escape, and lex.
4639         (parse_charconst): Remove broken multibyte support.
4640         * cppfiles.c (include_hash): Make static.
4641         (cpp_included): New function.
4642         (merge_include_chains, find_include_file, finclude,
4643         simplify_pathname): Rename to _cpp_merge_include_chains,
4644         _cpp_find_include_file, _cpp_read_include_file, and
4645         _cpp_simplify_pathname.
4646         * cpphash.c (cpp_lookup, free_definition, delete_macro,
4647         cpp_install, create_definition, macroexpand, compare_defs,
4648         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4649         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4650         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4651         * cppinit.c (cpp_handle_option): Rename to handle_option, make
4652         static.
4653         * cpplib.c: Remove extern prototype of cpp_parse_expr.
4654
4655         * cpphash.h: Update prototypes.
4656         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
4657
4658 2000-03-07  Andrew Haley  <aph@cygnus.com>
4659
4660         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4661         PTRDIFF_TYPE should be based solely on Pmode.
4662         (SIZE_TYPE): ditto.
4663
4664 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4665
4666         * rtl.h (rtunion_def): Constify member `rtstr'.
4667         (emit_line_note_after, emit_line_note, emit_line_note_force,
4668         emit_note, decode_asm_operands): Constify.
4669         
4670         * cse.c (canon_hash): Likewise.
4671
4672         * dbxout.c (dbxout_block): Likewise.
4673
4674         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4675         v_warning_for_asm): Likewise.
4676
4677         * dwarfout.c (function_start_label): Likewise.
4678
4679         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4680         emit_line_note_force): Likewise.
4681
4682         * final.c (last_filename, asm_insn_count, final_scan_insn,
4683         output_source_line): Likewise.
4684
4685         * function.h (struct emit_status): Likewise.
4686
4687         * gcse.c (hash_expr_1): Likewise.
4688
4689         * genattr.c (gen_attr, main): Likewise.
4690
4691         * genattrtab.c (struct function_unit, current_alternative_string,
4692         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4693         attr_numeral, check_attr_test, check_attr_value,
4694         convert_set_attr_alternative, convert_set_attr,
4695         compute_alternative_mask, simplify_by_exploding, gen_attr,
4696         gen_unit): Likewise.
4697
4698         * genflags.c (gen_insn): Likewise.
4699
4700         * gengenrtl.c (type_from_format): Likewise.
4701
4702         * genopinit.c (gen_insn): Likewise.
4703
4704         * genoutput.c (n_occurrences, process_template, process_template):
4705         Likewise.
4706
4707         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4708         Likewise.
4709
4710         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4711         Likewise.
4712
4713         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4714         ggc_set_mark, ggc_get_size): Likewise.
4715
4716         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4717
4718         * optabs.c (init_one_libfunc): Likewise.
4719
4720         * output.h (assemble_start_function): Likewise.
4721
4722         * recog.c (decode_asm_operands): Likewise.
4723
4724         * toplev.c (rest_of_compilation): Likewise.
4725
4726         * tree.h (emit_line_note_after, emit_line_note,
4727         emit_line_note_force): Likewise.
4728
4729         * varasm.c (asm_output_bss, asm_output_aligned_bss,
4730         asm_emit_uninitialised, assemble_start_function,
4731         assemble_variable, const_hash, compare_constant_1,
4732         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4733
4734         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4735
4736         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4737
4738         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4739
4740         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4741
4742         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4743         arm_dllimport_name_p): Likewise.
4744
4745         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4746         Likewise.
4747
4748         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4749
4750         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4751
4752         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4753         arm_mark_dllexport, arm_mark_dllimport,
4754         arm_pe_encode_section_info): Likewise.
4755
4756         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4757         ASM_FINISH_DECLARE_OBJECT): Likewise.
4758
4759         * arm/thumb.c (thumb_function_prologue): Likewise.
4760
4761         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4762
4763         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4764
4765         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4766
4767         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4768
4769         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4770
4771         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4772
4773         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4774         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4775
4776         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4777
4778         * i386/i386.c (asm_output_function_prefix): Likewise.
4779
4780         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4781
4782         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4783
4784         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4785
4786         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4787         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4788         ASM_OUTPUT_SECTION_NAME): Likewise.
4789
4790         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4791
4792         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4793
4794         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4795
4796         * m32r/m32r.c (m32r_encode_section_info): Likewise.
4797
4798         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4799
4800         * mcore/mcore.c (mcore_encode_section_info): Likewise.
4801
4802         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4803
4804         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4805
4806         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4807
4808         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4809
4810         * mips/mips.md (movdi, movsi): Likewise.
4811
4812         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4813
4814         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4815
4816         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4817
4818         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4819         ASM_OUTPUT_ASCII): Likewise.
4820
4821         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
4822         output_mi_thunk, output_toc): Likewise.
4823
4824         * rs6000/rs6000.md (movsi): Likewise.
4825
4826         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
4827
4828         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
4829
4830         * v850/v850.c (print_operand, print_operand_address,
4831         v850_encode_data_area): Likewise.
4832
4833 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
4834         
4835         * config/mips/mips.md (zero_extendsidi2): Always force operand
4836         one to memory for mips16.
4837
4838 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4839
4840         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
4841         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
4842         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
4843         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
4844         (min_precision): Result is unsigned.
4845         (add_double, neg_double, mul_double): Low word is unsigned.
4846         (lshift_double, rshift_double, lrotate_double): Likewise.
4847         (rrotate_double, div_and_round_double): Likewise.
4848         (tree_floor_log2, compare_tree_int): New functions.
4849         (preserve_rtl_expr_temps): New declaration.
4850         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
4851         (decl_attributes): Use tree_log2 to find alignment.
4852         Check for TREE_INT_CST_HIGH for format args.
4853         (min_precision): Now unsigned.
4854         Use tree_floor_log2.
4855         (truthvalue_conversion): Delete long-disabled code.
4856         * c-decl.c (finish_struct): Clean up tests on field width.
4857         (finish_function): Use compare_tree_int.
4858         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
4859         * c-typeck.c (comptypes): Use tree_int_cst_equal.
4860         (default_conversion, digest_init): Use compare_tree_int.
4861         (build_binary_op): Use integer_all_onesp and compare_tree_int.
4862         Fix type errors in forming masks.
4863         * calls.c (initialize_argument_information): Use compare_tree_int.
4864         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4865         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
4866         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
4867         (store_field): Use compare_tree_int.
4868         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
4869         (expand_expr, case ARRAY_REF): Use compare_tree_int.
4870         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
4871         (do_store_flag): Use compare_tree_int.
4872         * fold-const.c (encode, decode): Low part is always unsigned.
4873         (force_fit_type, add_double, neg_double, mul_double): Likewise.
4874         (lshift_double, rshift_double, lrotate_double): Likewise.
4875         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
4876         (fold_convert): Use compare_tree_int.
4877         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
4878         (invert_truthvalue, case INTEGER_CST): Likewise.
4879         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
4880         * mkdeps.c (deps_dummy_targets): Make I unsigned.
4881         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
4882         (lshift_double, rshift_double, lrotate_double, rrotate_double):
4883         Likewise.
4884         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
4885         (expand_end_case): Use compare_tree_int.
4886         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
4887         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
4888         (layout_decl): Likewise.
4889         (layout_record, layout_union): Make sizes unsigned.
4890         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
4891         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
4892         * tree.c (struct type_hash): hashcode is unsigned.
4893         (build_type_attribute_variant, type_hash_list): Likewise.
4894         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
4895         (attribute_hash_list, build_array_type, build_method_type): Likewise.
4896         (build_complex_type): Likewise.
4897         (real_value_from_int_cst): Remove unneeded casts.
4898         (integer_all_onesp): Add casts.
4899         (tree_floor_log2, compare_tree_int): New functions.
4900         (build_index_type): Use tree_int_cst_sgn.
4901         * varasm.c (assemble_variable): Use compare_tree_int.
4902
4903 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
4904
4905         * cpphash.c (collect_expansion): Also catch ## at start of macro.
4906
4907         * varasm.c (make_decl_rtl): Don't add a number to members of
4908         local classes.
4909         (make_function_rtl): Likewise.
4910
4911 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4912
4913         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
4914         patch from 2000-01-28.
4915
4916 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
4917
4918         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
4919         filled with an insn from the jump target.
4920
4921 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4922
4923         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
4924         (c4x_external_ref): Likewise.
4925         * config/c4x/c4x.c (struct name_list): Likewise.
4926
4927 1999-12-16  Ben Collins  <bcollins@debian.org>
4928
4929         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
4930         argument to genmultilib.
4931         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
4932         the contents into the multilib.h header.
4933         * gcc.c: Declare multilib_exclusions for the specs file.
4934         (set_multilib_dir): Use it.
4935         (print_multilib_info): Likewise.
4936         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
4937         to pass to genmultilib.
4938
4939 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4940
4941         * builtins.c (built_in_class_names, built_in_names): Constify a
4942         char*.
4943
4944         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
4945         int.
4946         (_mcleanup): Ensure value matches format specifier in sprintf.
4947
4948         * cpphash.c (special_symbol): Don't needlessly cast away
4949         const-ness.
4950
4951         * cppinit.c (base_name): Delete unused prototype.
4952
4953         * mkdeps.c (deps_init): Make definition K&R safe.
4954
4955         * tree.h (built_in_class_names, built_in_names): Constify a
4956         char*.
4957
4958 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
4959
4960         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
4961         floating point instructions for epilogue delay.
4962
4963         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
4964         to gas if it supports .register pseudo.
4965
4966         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
4967         LONG_DOUBLE_TYPE_SIZE if not defined.
4968         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
4969         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
4970         * real.c: Likewise.
4971         * gengenrtl.c: Likewise.
4972         * print-rtl.c: Likewise.
4973         * rtl.c: Likewise.
4974         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
4975         MASK_LONG_DOUBLE_128.
4976         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
4977         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
4978         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
4979         (SUBTARGET_SWITCHES): Define.
4980         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
4981         with -mlong-double-128.
4982         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4983         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4984         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4985         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
4986         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
4987         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
4988         with -mlong-double-128.
4989         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
4990         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
4991         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
4992         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
4993         TARGET_LONG_DOUBLE_128): Define.
4994         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
4995         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
4996         long double on TARGET_ARCH64.
4997
4998 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
4999
5000         * function.c (free_temps_for_rtl_expr): Don't free slots
5001         that have been pushed into a higher level.
5002         
5003         Revert this patch:
5004         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5005
5006 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5007
5008         * basic-block.h (ALLOCA_REG_SET): Remove.
5009         (INITIALIZE_REG_SET): New macro.
5010         * flow.c (update_life_info): Use it.
5011         (calculate_global_regs_live): Likewise.
5012         (propagate_block): Likewise.
5013         * global.c (build_insn_chain): Likewise.
5014         * haifa-sched.c (schedule_region): Likewise.
5015
5016 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
5017
5018         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5019         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5020         (DWARF_ARANGES_PAD_SIZE): New define.
5021         (output_aranges): Use it to pad the address range header.
5022         (DWARF_ROUND): Fix for non power of 2 rounding.
5023
5024 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
5025
5026         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5027
5028 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5029
5030         * tree.def (RTL_EXPR): Update documentation.
5031         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5032         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5033         * function.c (preserve_rtl_expr_temp): New function.
5034         (preserve_rtl_expr_temps): Likewise.
5035         (preserve_rtl_expr_result): Use it.
5036
5037         Revert this patch:
5038         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5039
5040 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
5041
5042         * regmove.c (copy_src_to_dest)  Do not create src->dest move
5043         for unchanging destination.
5044
5045 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5046
5047         * function.h (struct sequence_stack): Remove rtl_expr.
5048         (struct emit_staus): Likewise.
5049         (seq_rtl_expr): Remove.
5050         * tree.h (free_temps_for_rtl_expr): Don't declare.
5051         (start_sequence_for_rtl_expr): Likewise.
5052         * rtl.h (preserve_rtl_expr_result): Likewise.
5053         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5054         (start_sequence_for_rtl_expr): Remove.
5055         (push_topmost_sequence): Don't save sequence_rtl_expr.
5056         (pop_topmost_sequence): Remove comment about not restoring it.
5057         (end_sequence): Don't set seq_rtl_expr.
5058         (init_emit): Don't initialize it.
5059         (mark_sequence_stack): Don't mark it.
5060         (mark_emit_status): Likewise.
5061         * except.c (protect_with_terminate): Use
5062         start_sequence_for_rtl_expr, not start_sequence.
5063         * expr.c (expand_expr, case RTL_EXPR): Don't call
5064         preserve_rtl_expr_result or free_temps_for_rtl_expr.
5065         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5066         (preserve_rtl_expr_result): Remove.
5067         (free_temps_for_rtl_expr): Likewise.
5068         (pop_temp_slots): Likewise.
5069         (mark_temp_slot): Don't mark the rtl_expr.
5070         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5071         start_sequence_for_rtl_expr.
5072         
5073 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
5074
5075         * mkdeps.c, mkdeps.h: New files.
5076         * po/POTFILES.in: Add them.
5077         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5078         (cpplib.o, cppinit.o): Depend on mkdeps.h.
5079         (mkdeps.o): New target.
5080
5081         * cppfiles.c: Delete deps_output.
5082         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
5083         OBJECT_SUFFIX, and base_name.
5084         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
5085         the include hash.
5086         (initialize_dependency_output): Use deps_init,
5087         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
5088         all the unnecessary string bashing.
5089         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
5090         level.
5091         * cpplib.c (do_include): Use deps_add_dep.
5092         * cpplib.h (struct cpp_reader): Replace deps_buffer,
5093         deps_allocated_size, deps_size, deps_column members with
5094         single pointer to a struct deps.  Delete prototype of
5095         deps_output.
5096
5097         * cppinit.c: Fix thinko in previous patch.
5098
5099 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5100
5101         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5102         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5103         (mode_for_size_tree): New function.
5104         (layout_decl, layout_type): Call it and clean up BLKmode checks.
5105         * tree.h (mode_for_size_tree): New declaration.
5106         
5107         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5108
5109 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
5110
5111         * stmt.c (is_body_block): Move...
5112         * dwarfout.c, dwarf2out.c: ...from here.
5113         * tree.h: Declare it.
5114         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5115         * final.c (final_start_function): Do call remove_unnecessary_notes
5116         when scheduling.
5117
5118 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5119
5120         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5121         
5122         * cpplib.h (_dollar_ok): New macro.
5123         (is_idchar, is_idstart): Use it.
5124         (IStable): Rename to _cpp_IStable.  Declare it const if
5125         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
5126         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5127         is_space): Update for renamed IStable.
5128
5129         * cppinit.c: Delete all references to FAKE_CONST and CAT
5130         macros. Define init_IStable as empty macro if gcc >=2.7 or
5131         C99. Change TABLE() to ISTABLE and hardcode name of table.
5132         (cpp_start_read): Don't change the IStable based on
5133         dollars_in_ident.
5134
5135         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
5136         changed.  Handle '$' for char1 correctly.
5137         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5138
5139         * cppexp.c (tokentab2): Make const.
5140         (cpp_lex): Make toktab const.
5141         * cppinit.c (include_defaults_array): Make const.
5142         (initialize_standard_includes): Make default_include const.
5143
5144 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5145
5146         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5147         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5148         (gen_decl_die): Likewise.
5149         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5150         (output_decl): Likewise.
5151
5152         * varasm.c (make_function_rtl): If we change the name used in the
5153         rtl, update DECL_ASSEMBLER_NAME accordingly.
5154         (make_decl_rtl): Likewise.
5155
5156         * toplev.c (rest_of_compilation): Tweak formatting.
5157
5158         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5159         remove_unnecessary_notes.
5160         (debug_ignore_block): New fn.
5161         * toplev.h: Declare it.
5162         * emit-rtl.c (remove_unncessary_notes): Call it.
5163         * dwarf2out.c (dwarf2out_ignore_block): New fn.
5164         * dwarf2out.h: Declare it.
5165         * final.c (final_start_function): Don't call remove_unnecessary_notes
5166         if we did insn scheduling.
5167
5168 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5169
5170         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5171         * cpplib.h: Delete SET_CPP_PEDANTIC.
5172
5173 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5174
5175         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5176         result is a RECORD_TYPE.
5177
5178 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5179
5180         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5181
5182 2000-03-03  Richard Henderson  <rth@cygnus.com>
5183
5184         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5185         addition over compliments over shifts.
5186
5187 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5188
5189         * reload1.c (reload_combine_note_use): Handle return register USEs.
5190         REG case: Handle multi-hard-register hard regs.
5191
5192 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5193
5194         * md.texi: Document use of '*' in insn pattern name.
5195
5196 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5197
5198         * calls.c (special_function_p): operator new may not be malloc-like.
5199
5200         * gcse.c (dump_hash_table): Really fix error in last change.
5201
5202 2000-03-02  Denis Chertykov  <denisc@overta.ru>
5203
5204         * avr.c (print_operand): Use print_operand_address instead of
5205         output_addr_const.
5206         * avr/libgcc.S: Cleanup code.
5207
5208 2000-03-02  Richard Henderson  <rth@cygnus.com>
5209
5210         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5211
5212 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
5213
5214         * tree.h (TYPE_ALIGN_UNIT): New macro.
5215
5216 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
5217
5218         * i386.c: (constant_call_address_operand): Reject CONST_INT.
5219
5220 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
5221
5222         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5223         for the buffer.
5224         (SET_CPP_PEDANTIC): New macro.
5225         * cpplib.c (do_include): Don't bother checking system_header_p.
5226         (do_warning, do_ident, do_assert, do_unassert): Likewise.
5227         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5228
5229         * function.h (struct expr_status): Add x_arg_space_so_far.
5230         (arg_space_so_far): New macro.
5231         * expr.c (init_expr): Initialize it.
5232         * calls.c (emit_call_1): Reset it.
5233         (compute_argument_block_size, expand_call): Use it.
5234         (expand_call, store_one_arg): Increment it.
5235
5236 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5237
5238         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5239         a UNION_TYPE.
5240
5241 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
5242
5243         * cppfiles.c (cpp_read_file): New function.
5244
5245         * cpphash.c (collect_expansion): Make sure to reset last_token
5246         to NORM when we hit a string.  Handle trailing whitespace
5247         properly when the expansion is empty.
5248         (create_definition): Disable line commands while parsing the
5249         directive line.
5250         (dump_definition): If pfile->lineno == 0, output a line
5251         command ahead of the dump, and add a trailing newline.
5252
5253         * cppinit.c (append_include_chain): Add fifth argument, which
5254         indicates whether or not system headers are C++ aware.
5255         (initialize_standard_includes): New function,
5256         broken out of read_and_prescan.  Pass 'cxx_aware' value from
5257         the include_defaults_array on to append_include_chain.
5258         (dump_special_to_buffer): Const-ify char array.
5259         (builtin_array): Don't dump __BASE_FILE__.
5260         (cpp_start_read): Use cpp_read_file.  Reorder code for
5261         clarity.  Don't output line commands here for -D/-A/-U
5262         switches.  Don't call deps_output for files included with
5263         -include or -imacros.
5264
5265         * cpplib.c (do_define): Don't pay any attention to the second
5266         argument.
5267         (cpp_expand_to_buffer): Disable line commands while scanning.
5268         (output_line_command): Work in the file buffer.
5269         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5270         Fix formatting of comments.  Prototype cpp_read_file.
5271
5272 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5273
5274         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5275         reference the language-equivalent of sizetype.
5276         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5277         * fold-const.c (size_binop, size_diffop): Put back checks.
5278         * gcse.c (dump_hash_table): Fix minor error in last change.
5279         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5280         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5281         all sizetypes.
5282
5283 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
5284
5285         * calls.c (expand_call)  Do not attempt to combine stack adjustments
5286         with inhibit_defer_pop set.
5287
5288 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
5289
5290         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5291         the DECL_SIZE for a FIELD_DECL.
5292
5293 2000-03-01  Bruce Korb  <bkorb@gnu.org>
5294
5295         * fixinc/inclhack.tpl: remove unused symlinks
5296         * fixinc/README: GCC Maintainer info
5297         * fixinc/inclhack.sh: regen
5298         * fixinc/fixincl.sh: regen
5299
5300 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
5301
5302         * cpphash.c (collect_expansion): Trim trailing white space
5303         from macro definitions, but don't go past the last insertion
5304         point.
5305
5306 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
5307
5308         * i386.md (mulqi3): New pattern.
5309
5310 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
5311
5312         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5313         token types.
5314         (struct cpp_reader): Add parsing_if_directive and
5315         parsing_define_directive flags.               
5316         (struct cpp_options): Remove output_conditionals flag.
5317         (check_macro_name): Delete prototype.
5318
5319         * cpphash.h (struct macrodef): Delete.
5320         (struct reflist): Separate from struct definition.
5321         (struct definition): Remove unused fields.  Add column number.
5322         (create_definition): Returns a DEFINITION *.  Takes a
5323         cpp_reader * and an int.
5324
5325         * cpphash.c (SKIP_WHITE_SPACE): Delete.
5326         (PEEKC): Copy defn from cpplib.c.
5327         (rest_extension, REST_EXTENSION_LENGTH): Delete.
5328         (struct arg): New.
5329         (struct arglist): Simplify.
5330         (collect_expansion): Rewrite.  Get tokens by calling
5331         cpp_get_token.  Add more error checking.
5332         (collect_formal_parameters): New function, broken out of
5333         create_definition and reworked to use get_directive_token.
5334         (create_definition): All real work is now in collect_expansion
5335         and collect_formal_parameters.  do_define handles finding the
5336         macro name.  Return a DEFINITION, not a MACRODEF.
5337         (macroexpand): Replace bcopy with memcpy throughout.  Replace
5338         character-at-a-time copy loop with memcpy and pointer increments.
5339         (compare-defs): d1->argnames / d2->argnames might be null.
5340
5341         * cpplib.c (copy_rest_of_line): Delete function.
5342         (skip_rest_of_line): Do all the work ourselves.
5343         (skip_string): New function.
5344         (parse_string): Use skip_string.
5345         (get_macro_name): New function.
5346         (check_macro_name): Delete.
5347         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5348         (cpp_skip_hspace): Use CPP_BUMP_LINE.
5349         (handle_directive): ICE if we're called on a macro buffer.
5350         (do_define): Determine macro name and type (funlike/objlike)
5351         here.  Expunge all uses of MACRODEF.
5352         (cpp_push_buffer): Set line_base to NULL.
5353         (do_undef, read_line_number): Don't worry about getting a POP token.
5354         (eval_if_expression): Set/reset parsing_if_directive around
5355         cpp_parse_expr. Don't clear only_seen_white.
5356         (skip_if_group): Remove output_conditionals logic.  Use
5357         skip_rest_of_line.
5358         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5359         tokens under appropriate conditions.
5360         (cpp_unassert): Call do_unassert not do_assert.  Oops.
5361
5362         * cppexp.c (parse_defined): New function, break out of
5363         cpp_lex.
5364         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5365         ourselves, with cpp_defined.
5366         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5367
5368         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5369         * gcc.dg/strpaste-2.c: New.
5370
5371 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
5372
5373         * fold-const.c (size_binop): Don't asert inputs are the same and
5374         have TYPE_IS_SIZETYPE set.
5375         (size_diffop): Likewise.
5376
5377 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
5378
5379         * dwarfout.c (output_block): Output abstract blocks even if they
5380         don't have TREE_ASM_WRITTEN set.
5381
5382         * calls.c (emit_library_call): Check for null REG.
5383
5384 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5385
5386         * c-decl.c (current_function_decl): Move to toplev.c.
5387         (init_decl_processing): Don't add current_function_decl as a ggc
5388         root here.
5389         * dbxout.c (dbxout_symbol): Change return type to int.
5390         (dbxout_symbol_location, dbxout_syms): Likewise.
5391         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5392         any locals. Use current_function_func_begin_label if set.
5393         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5394         * dwarf2out.c (dwarf2out_begin_prologue): Set
5395         current_function_func_begin_label.
5396         * final.c (final_start_function): Reset it.
5397         * toplev.c (current_function_decl): Define it here.
5398         (current_function_func_begin_label): New variable.
5399         (main): Add both as ggc roots.
5400         * tree.h (current_function_func_begin_label): Declare.
5401
5402 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5403
5404         * gcse.c: Cleanups throughout: mostly white-space, but also
5405         some minor rearrangement of code.
5406
5407 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
5408
5409         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5410         returns a PARALLEL.  Use emit_group_load and use_group_regs
5411         as needed.  
5412         (emit_library_call_value): Similarly.
5413
5414         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5415         * pa/quadlib.asm: Remove.
5416         * pa/quadlib.c: New file.
5417
5418         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5419         * configure: Rebuilt.
5420
5421 2000-02-29  Philip Blundell  <pb@futuretv.com>
5422
5423         * config/arm/conix-elf.h: New file.
5424         * configure.in (arm*-*-conix*): New configuration.
5425         * configure: Regenerate.
5426
5427 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
5428
5429         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5430         don't have TREE_ASM_WRITTEN set.
5431
5432 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5433
5434         * Eliminate DECL_FIELD_SIZE.
5435         * builtins.c (built_in_class_names, built_in_names): New variables.
5436         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5437         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5438         DECL_SIZE, not DECL_FIELD_SIZE.
5439         * print-tree.c (print_node): Remove code that prints extra blank
5440         lines in some cases.
5441         Properly handle inline and builtin function cases.
5442         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5443         * tree.h (built_in_class_named, built_in_names): New declarations.
5444         (union tree_decl): Rename internal unions to u1 and u2 and change
5445         some of their components.
5446         Add new field built_in_class.
5447         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5448         Reflect above changes.
5449         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5450         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5451         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5452         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5453
5454 2000-02-28  Dmitri Makarov  <dim@windriver.com>
5455
5456         * extend.texi: Document ARM's support for long/short calls.
5457
5458         * invoke.texi: Document ARM's -mlong-calls command line switch.
5459         
5460         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5461         (arm_encode_call_attribute): Add prototype.
5462         (arm_set_default_type_attribute): Add prototype.
5463         (arm_strip_name_encoding): Add prototype.
5464
5465         * config/arm/arm.c (arm_init_cumulative_args): replace
5466         initialisation og 'long_calls' field with initialisation of
5467         'call_cookie' field.
5468         (enum arm_pragma_enum): New enum.
5469         (arm_pragma_long_calls): New static variable.
5470         (arm_process_pragma): Also process "#pragma long_calls_off".
5471         (arm_valid_type_attribute_p): Accept short_call attribute.
5472         (arm_comp_type_attributes): Check long/short call attributes.
5473         (arm_encode_call_attribute):  New function:  Encode long_call
5474         or short_call attribute in function name.
5475         (arm_set_default_type_attributes): New function: Assign
5476         default attributes to newly defined type.
5477         (current_file_function_operand): New function: Return true if
5478         the symbol is a function which has already been compiled.
5479         (arm_is_longcall_p): New function: Return true if the
5480         indicated function should be called via a long call.
5481         (arm_get_strip_length): New function.  Returns number of
5482         prefix characters to be stripped from a function's name.
5483         (arm_strip_name_encoding): New function.  Strip prefix characters
5484         from a function's name.
5485
5486         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5487         with 'call_cookie'.
5488         (SHORT_CALL_FAG_CHAR): Define.
5489         (LONG_CALL_FAG_CHAR): Define.
5490         (ENCODED_SHORT_CALL_ATTR_P): Define.
5491         (ENCODED_LONG_CALL_ATTR_P): Define.
5492         (ARM_NAME_ENCODING_LENGTHS): Define.
5493         (STRIP_NAME_ENCODING): Define.
5494         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5495         (ARM_ENCODE_CALL_TYPE): Define.
5496         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5497         (ARM_DECLARE_FUNCTION_SIZE): Define.
5498         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5499
5500         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5501         if a long call is needed.
5502         (call_value): Ditto.
5503         (call_symbol): Ditto.
5504
5505         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5506         ARM_DECLARE_FUNCTION_SIZE.
5507
5508         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5509         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5510         (ARM_STRIP_NAME_ENCODING): Undefine.
5511         (STRIP_NAME_ENCODING): Undefine.
5512         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5513         (ASM_DECLARE_FUNCTION_NAME): Ditto.
5514         (ASM_OUTPUT_COMMON): Ditto.
5515         (ASM_DECLARE_OBJECT_NAME): Ditto.
5516
5517         * config/arm/pe.c (arm_dllexport_name_p): Check for
5518         ARM_PE_FLAG_CHAR.
5519         (arm_dllimport_name_p): Ditto.
5520         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5521         (arm_mark_dllimport): Ditto.
5522         
5523 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5524
5525         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5526
5527 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
5528
5529         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5530
5531 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
5532
5533         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5534         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5535         NO_BUILTIN_WCHAR_TYPE is not defined.
5536         (CPP_WCHAR_TYPE): Delete.
5537         * cccp.c (main): Don't change wchar_type if cplusplus.
5538         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5539
5540 2000-02-28  Nick Clifton  <nickc@cygnus.com>
5541
5542         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5543
5544 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
5545
5546         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5547         (ASM_WEAKEN_LABEL): Define.
5548  
5549 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
5550
5551         * expr.c (store_constructor): Do not emit USE.
5552         * rtl.h (stupid_life_analysis): Remove.
5553
5554 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5555
5556         * function.c (number_blocks): Reset next_block_index based on
5557         what debugging format is used, not what is defined.
5558         
5559         * lcm.c: Minor reformatting throughout.
5560         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5561         
5562         * toplev.c (rest_of_compilation): Account for time in
5563         optimize_mode_switching.
5564
5565         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5566         if only marking labels.
5567
5568 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
5569
5570         * calls.c (expand_call): Attempt to combine stack adjustments with
5571         pending stack adjustments.
5572
5573 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5574
5575         * loop.c (reg_in_basic_block_p): Don't abort when falling through
5576         to the end of the function.
5577
5578 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
5579
5580         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5581         blocks.
5582         * final.c (next_block_index): Remove.
5583         (max_block_depth): Likewise.
5584         (pending_blocks): Likewise.
5585         (init_final): Don't initialize them.
5586         (final_start_function): Don't set next_block_index.  Set up
5587         BLOCK_NUMBER.
5588         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5589         * function.h (number_blocks): New function.
5590         * function.c (get_block_vector): New function.
5591         (identify_blocks): Use it.
5592         (reorder_blocks): Set NOTE_BLOCK.
5593         (number_blocks): New function.
5594         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5595         * tree.h (BLOCK_NUMBER): New macro.
5596         (tree_block): Add block_num field.
5597         * dbxout.c (next_block_number): Remove.
5598         (dbxout_init): Don't set it.
5599         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5600         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
5601         block numbers.
5602         * toplev.c (rest_of_compilation): Always call
5603         find_loop_tree_blocks.  Fix indentation.
5604         * dwarf2out.c (next_block_number): Remove.
5605         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5606         to determine block numbers.
5607         (gen_inlined_subroutine_die): Likewise.
5608         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5609         (decls_for_scope): Don't increment next_block_number.
5610         * dwarfout.c (next_block_number): Remove.
5611         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5612         to determine block numbers. 
5613         (output_inlined_subroutine_die): Likewise.
5614         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5615         (output_decls_for_scope): Don't increment next_block_number.
5616         * sdbout.c (next_block_number): Remove.
5617         (sdbout_block): Use BLOCK_NUMBER.
5618         (sdbout_begin_block): Simplify.
5619         * xcoffout.c (next_block_number): Remove.
5620         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5621         (xcoffout_begin_block): Don't set next_block_number.
5622         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5623         next_block_number.
5624         
5625 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5626
5627         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5628         (expand_builtin_strcpy): Pass correct type to size_binop.
5629         (expand_builtin_strcmp): Likewise.
5630         Clean up conditional structure.
5631         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5632         (complete_array_type): Don't use size_binop for MAXINDEX.
5633         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5634         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5635         (c_alignof): Use size_one_node.
5636         (build_unary_op): Pass arg of proper type to size_binop.
5637         (really_start_incremental_init, push_init_level): Use sizetype for
5638         constructor{,_bit,_unfilled}_index.
5639         (pop_init_label, output_init_element): Likewise.
5640         (output_pending_init_elements, process_init_element): Likewise.
5641         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5642         * expr.c (store_expr): Use size_int.
5643         (store_constructor): Use proper types for size_binop args.
5644         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5645         (expand_expr_unaligned): Likewise.
5646         (string_contant): Return object of sizetype.
5647         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5648         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5649         (ARGS_SIZE_TREE): Pass proper types to size_binop.
5650         * fold-const.c (int_const_binop): Refine when size_int is called.
5651         (fold_convert): Likewise.
5652         (size_int_wide): Rework to take KIND as arg, only take low order
5653         bits, handle new sizetype_tab datatype, and chain entries in
5654         size_table.
5655         (size_int_type_wide): New function.
5656         (size_binop): Validate types of arguments.
5657         (ssize_binop): Deleted.
5658         (size_diffop): New function.
5659         (extract_muldiv): Only fold division into multiplication for sizetypes.
5660         * function.c (assign_parms): Use size_diffop and make sure
5661         VAR field is of ssizetype; also pass proper type to size_binop.
5662         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5663         (round_down): Deleted from here.
5664         * store-layout.c (sizetype_tab): Now an array.
5665         (sizetype_set, early_root_list): New variables.
5666         (variable_size): Use size_one_node.
5667         (round_up): Pass proper type to size_binop.
5668         (round_down): Moved to here and corrected as above.
5669         (layout_record): Pass proper arg types to size_binop.
5670         (layout_type): Likewise.
5671         If sizetype_set is zero, record the type just laid out.
5672         (make_unsigned_type): Don't call set_sizetype;
5673         (make_signed_type): Likewise; also, call fixup_signed_type.
5674         (initialize_sizetypes): New function.
5675         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5676         set name of bitsizetype to "bit_size_type".
5677         Fix up type of sizes of all types made before call.
5678         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5679         * tree.c (fix_sizetype): Deleted.
5680         (build_common_tree_nodes): Call initialize_sizetypes.
5681         (build_common_tree_nodes_2): Don't call fix_sizetype.
5682         * tree.h (TYPE_IS_SIZETYPE): New macro.
5683         (initialize_sizetype): New declaration.
5684         (enum size_type_kind): New type.
5685         (struct sizetype_tab): Deleted.
5686         (sizetype_tab): Now array; adjust sizetype macros.
5687         (size_diffop, size_int_type_wide): New functions.
5688         (size_int_wide): Change number of args and type; access macros changed.
5689         (ssize_int, sbitsize_int): New macros.
5690         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5691         (ROUND_TYPE_SIZE_UNIT): New macro.
5692
5693 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
5694
5695         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5696
5697 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5698
5699         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5700         Mark as possibly unused.
5701
5702         * cse.c (cse_insn): Delete dead code involving tablejump.
5703         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5704
5705         * Makefile.in (libcpp.a): Start by deleting it.
5706
5707 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5708
5709         * cpplib.h (enum file_change_code): Added rename_file.
5710         * cpplib.c (do_line): If a filename is given, set file_change to
5711         rename_file.
5712         (output_line_command): If file_change is rename_file, always
5713         output a # directive with the file name.
5714
5715         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5716
5717 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
5718
5719         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5720         when copying a PARM_DECL or RESULT_DECL.
5721
5722 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5723
5724         * fix-header.c (recognized_function): Also fix prototypes for
5725         functions taking "void".
5726
5727 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5728
5729         * reload1.c (do_output_reload): Check reg_reloaded_valid before
5730         looking at reg_reloaded_contents.
5731
5732 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
5733
5734         * Makefile.in (STMP_FIXINC): New toggle.
5735         (LIBGCC2_DEPS): Delete all references.
5736         (stmp-headers): Delete target.  All references either deleted
5737         or changed to stmp-int-headers.
5738         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5739         (LIBCPP_OBJS): Take out cppalloc.o.
5740         (cppalloc.o): Delete target.
5741         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5742         (gen-protos, fix-header): Link with libiberty.a.
5743         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
5744         to empty.
5745
5746         * configure.in: Remove refs to strerror.
5747         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5748         * system.h: Take out strerror stanza.
5749
5750         * cpperror.c (my_strerror): Delete function.
5751         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5752         * cppmain.c (main): Call xmalloc_set_program_name first thing.
5753         * cppalloc.c: Delete file.
5754         * gen-protos.c: Don't provide xrealloc.
5755
5756         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5757         xstrerror throughout.
5758
5759 2000-02-26  Bruce Korb  <bkorb@gnu.org>
5760
5761         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5762         match for DOS headers, too.
5763         * fixinc/inclhack.sh,fixincl.x: Regenerate.
5764
5765 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5766
5767         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
5768         is right for most ELF targets.
5769         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5770         Let the default file use %U properly.
5771         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
5772         default.
5773
5774         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5775         numbers.
5776
5777 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5778
5779         * toplev.c (documented_lang_options): Correct spelling error.
5780         (decode_d_option, decode_f_option, main): Likewise.
5781
5782         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5783
5784         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5785         to tell assembler it is permitted to expand large constants.
5786
5787 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
5788
5789         * protoize.c: (AUX_INFO_SUFFIX): New macro.
5790         (aux_info_suffix): Use.
5791         (SAVE_SUFFIX): New macro.
5792         (save_suffix): Use.
5793         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5794         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5795         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5796
5797         * invoke.texi (Running Protoize): Update documentation.
5798
5799 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5800
5801         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5802
5803 2000-02-25  John Wehle  (john@feith.com)
5804
5805         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5806
5807 2000-02-25  Anthony Green  <green@cygnus.com>
5808
5809         * toplev.c (rest_of_compilation): Rebuild jump labels if
5810         combine_instructions has created a new direct jump.
5811         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
5812         when appropriate.
5813         (combine_instructions): Call try_combine with new argument.
5814         Return non-null value when new direct jump instruction is created.
5815         * rtl.h: combine_instructions returns an int.
5816
5817 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
5818
5819         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
5820         jump when changing a computed jump into a jump to a known
5821         target.
5822
5823 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
5824
5825         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
5826         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
5827
5828         * i386.md (define_expand "clrstrsi"): Fix typo.
5829
5830 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
5831
5832         * rtl.texi: Fix typo.
5833
5834 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5835
5836         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
5837         UNITS_PER_WORD.  Change caller initial_elimination_offset.
5838         (rounded_frame_size): Take into account that argument pushed has
5839         changed.  Fix TARGET_ALIGN_DOUBLE problem.
5840
5841 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
5842
5843         * haifa-sched.c (schedule_block): Explain the real reason
5844         we delete REG_SAVE_NOTEs on the first insn of a block.
5845         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
5846
5847 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
5848
5849         * input.h (push_srcloc): New function.
5850         (pop_srcloc): Likewise.
5851         * toplev.c (push_srcloc): Define it.
5852         (pop_srcloc): Likewise.
5853
5854 2000-02-24  Richard Henderson  <rth@cygnus.com>
5855
5856         * flow.c (life_analysis): When collecting reg info, clear
5857         regs_ever_live.
5858
5859 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5860
5861         Fix bug exposed by reload.c no longer rounding the frame
5862         size to BIGGEST_ALIGNMENT:
5863         * sh.c (rounded_frame_size): New function.
5864         (sh_expand_prologue, sh_expand_epilogue): Use it.
5865         (initial_elimination_offset): Likewise.
5866
5867 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5868
5869         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
5870         * sh-protos.h (sh_need_epilogue): Declare.
5871         * sh.c (sh_need_epilogue_known): New static variable.
5872         (sh_need_epilogue): New function.
5873         (function_epilogue): Clear need_epilogue_known.
5874         * sh.md (return): Split into expander / insn pattern.
5875         Make the expander conditional on ! sh_need_epilogue ().
5876
5877 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
5878
5879         * machmode.h (get_mode_alignment): Declare.
5880         (GET_MODE_ALIGNMENT): Call it.
5881         * stor-layout.c (get_mode_alignment): New function. Make
5882         sure alignment is always power of 2.
5883
5884 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5885
5886         * i386.h: Remove useless definition of "I386" and misleading
5887         comment above it.
5888
5889 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5890
5891         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
5892         under which TREE_PERMANENT will be set.
5893         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
5894         build1): Use TREE_SET_PERMANENT.
5895         * print-tree.c (print_node): Don't report value of
5896         TREE_PERMANENT if ggc_p is true.
5897
5898         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
5899         decide whether to give a type a new alias set.
5900         * objc/objc-act.c (build_objc_string_object): Never copy the string.
5901         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
5902         of value of 'obstack'.
5903
5904
5905 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5906
5907         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
5908
5909 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5910
5911         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
5912         * cpplib.c (cpp_get_token): Produce them.
5913         * cppexp.c (cpp_lex): Handle them.
5914
5915 2000-02-23  Nick Clifton  <nickc@cygnus.com>
5916
5917         * config/arm/arm.c (arm_comp_type_attributes): Simply and
5918         comment tests on type attributes.
5919
5920 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5921
5922         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
5923         conform to documentation.
5924         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
5925         to check for special cases.
5926         * sh-protos.h (sh_loop_align): Declare.
5927         * sh.c (sh_loop_align): Define.
5928
5929 2000-02-22  Andrew Haley  <aph@cygnus.com>
5930
5931         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
5932         (SIZE_TYPE): Is 32 bits when using -mgp32.
5933         (PTRDIFF_TYPE): Ditto.
5934
5935 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5936
5937         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
5938
5939 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
5940
5941         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
5942         BIGGEST_FIELD_ALIGNMENT a constant.
5943
5944 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
5945
5946         * dwarf2out.c (output_line_info): Put the marker for the end of
5947         the line number info at the actual end.
5948         (gen_struct_or_union_type_die): Use decl_function_context 
5949         to check for local classes.
5950         * dwarfout.c (output_type): Likewise.
5951
5952 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
5953
5954         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
5955         for arguments with a mode, but no type.
5956         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
5957         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
5958         * pa/long_double.h: New file.
5959         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
5960         both have 128bit wide long doubles.
5961         * configure: Rebuilt.
5962
5963 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5964
5965         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
5966
5967         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
5968         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
5969         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
5970
5971         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
5972
5973         * integrate.c (compare_blocks, find_block): Likewise.
5974
5975         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
5976
5977         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
5978
5979         * stmt.c (stmt_status, set_file_and_line_for_stmt,
5980         expand_asm_operands): Likewise.
5981
5982 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
5983
5984         * predict.c (estimate_probability): Added the pointer heuristic to
5985         the collection of static branch predictors.
5986
5987 2000-02-21  Catherine Moore  <clm@cygnus.com>
5988
5989         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
5990         * invoke.texi (-mfix7000): Document.
5991
5992 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
5993
5994         * diagnostic.c (init_output_buffer): Make it possible to output at
5995         least 32 characters if we're given a too long prefix.
5996
5997 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
5998
5999         * varasm.c (initializer_constant_valid_p): Call
6000         lang_expand_constant to simplify the constant.
6001
6002 2000-02-20  Bruce Korb  <bkorb@gnu.org>
6003
6004         * fixinc/inclhack.def(stdio_va_list):
6005         typedef needs to be disabled.
6006         * fixinc/inclhack.sh: regen
6007         * fixinc/fixincl.x: regen
6008
6009 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
6010
6011         * print-rtl.c (print_rtx): Don't print addresses when
6012         flag_dump_unnumbered.
6013
6014 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6015
6016         * sparc.c (sparc_output_scratch_registers): Mark parameter with
6017         ATTRIBUTE_UNUSED.
6018         (sparc_va_arg, sparc_flat_output_function_prologue,
6019         sparc_flat_output_function_epilogue): Cast value to unsigned in
6020         comparison.
6021         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6022         
6023         * sparc.md: Add default case in switch.
6024
6025 2000-02-19  Richard Henderson  <rth@cygnus.com>
6026
6027         * c-typeck.c (add_pending_init): Don't abort for multiple
6028         fields at the same offset.
6029         (pending_init_member): Test the correct member.
6030
6031 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6032
6033         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6034         instead of SImode.
6035         (start_catch_handler) : Same.
6036
6037 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
6038
6039         * Makefile.in: Have flow.o depend on $(EXPR_H)
6040
6041 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6042
6043         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6044         * c-decl.c (duplicate_decls, finish_enum): Likewise.
6045         (finish_decl): Remove -Wlarger-than code from here.
6046         * flags.h (id_clash_len): Now int.
6047         (larger_than_size): Now HOST_WIDE_INT.
6048         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6049         Clean up checking to see if in table.
6050         (make_bit_field_ref): Remove extra parm to bitsize_int.
6051         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6052         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6053         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6054         and for computing size of decl.
6055         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6056         Move -Wlarger-than code to here.
6057         (layout_record): Remove extra arg to bitsize_int.
6058         Set TYPE_BINFO_SIZE_UNIT.
6059         (layout_union): Remove extra arg to bitsize_int.
6060         Use proper type for size of QUAL_UNION.
6061         (layout_type): Remove extra arg to bitsize_int.
6062         * toplev.c (id_clash_len): Now int.
6063         (larger_than_size): Now HOST_WIDE_INT.
6064         (decode_W_option): Clean up id-clash and larger-than- cases.
6065         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6066         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6067         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6068         (struct tree_decl): New field size_unit.
6069         (size_int_wide): No HIGH operand; NUMBER is now signed.
6070         (size_int_2): Deleted.
6071         (size_int, bitsize_int): Don't use it and rework args.
6072         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6073
6074 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
6075
6076         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6077
6078 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6079
6080         * invoke.texi (Warning Options): Add an explanation of why
6081         you might want the -Wfloat-equal flag.
6082
6083 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6084
6085         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6086         * cppinit.c (new_pending_define): Add cast to avoid warning.
6087         * expmed.c (extract_bit_field): Likewise.
6088         * flow.c (enum reorder_skip_type): New type.
6089         (skip_insns_between_blcok): New it.
6090         Rework to avoid warning about possibly undefined variable.
6091         * function.c (assign_parms): Make thisparm_boundary unsigned.
6092         * genrecog.c (write_switch): Cast XWINT result to int.
6093         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6094         * mips-tfile.c (init_file): Make two versions of FDR intializer:
6095         one for MIPS and one for Alpha.
6096         (get_tag, copy_object): Add casts to avoid warnings.
6097         * optabs.c (init_one_libfunc): Cast NAME to (char *).
6098         * reload.c (find_reloads): Make TYPE enum reload_type.
6099         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6100         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6101         * varasm.c (compare_constant_1): Add cast to avoid warning.
6102         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6103         to (char *).
6104         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6105         Cast switch operand of size to int.
6106         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6107         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6108         in unhandled case.
6109
6110 2000-02-18  Nick Clifton  <nickc@cygnus.com>
6111
6112         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6113         anything for an alignment of zero.
6114
6115         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6116         anything for an alignment of zero.
6117
6118 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6119
6120         * gcc.texi (Bug Reporting): Refer to bugs.html.
6121         (Bug Lists): Likewise.
6122         * system.h (GCCBUGURL): New preprocessor define.
6123         * rtl.c (fancy_abort): Use it.
6124         * gcc.c (main): Likewise.
6125
6126 2000-02-18  Richard Henderson  <rth@cygnus.com>
6127
6128         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6129         (life_analysis_1): Subsume into ...
6130         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
6131         Use update_life_info for the relaxation.
6132         (update_life_info): Update REG_BASIC_BLOCK for registers live on
6133         entry and regs_live_at_setjmp.
6134         (set_noop_p): Simplify.
6135         (notice_stack_pointer_modification_1): Renamed from s/_1//.
6136         (record_volatile_insns): Split into ...
6137         (delete_noop_moves): ... here,
6138         (notice_stack_pointer_modification): ... here,
6139         (insn_dead_p): ... and here.
6140         (propagate_block): Don't query INSN_VOLATILE.
6141         (mark_used_regs): Mind !PROP_REG_INFO.
6142         * toplev.c (rest_of_compilation): Call mark_constant_function here,
6143         not in life_analysis.
6144
6145 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
6146
6147         * loop.c (canonicalize_condition): New function,
6148         broken out of get_condition.
6149         (get_condition): Use it.
6150         * expr.h (canonicalize_condition): Prototype it.
6151
6152         * tree.h (tree_int_cst_msb): Declare.
6153         * tree.c (tree_int_cst_msb): New function.
6154
6155 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6156
6157         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6158         isn't set.
6159
6160         * invoke.texi (-fmessage-length=n): Document.
6161
6162 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
6163
6164         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6165
6166 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6167
6168         * function.c (thread_prologue_and_epilogue_insns): Put a line note
6169         after the prologue.
6170
6171 2000-02-17  Nick Clifton  <nickc@cygnus.com>
6172
6173         * config/arm/thumb.c: Replace includes of system headers with
6174         #include "system.h".
6175
6176 2000-02-16  Richard Henderson  <rth@cygnus.com>
6177
6178         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6179         Add crtbeginS.o and crtendS.o.
6180         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6181         (ENDFILE_SPEC): Use crtendS.o.
6182         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6183
6184         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6185         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
6186         shared and present.
6187         (__dso_handle): New variable.
6188         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6189         bias to __CTOR_END__.
6190         
6191 2000-02-16  Richard Henderson  <rth@cygnus.com>
6192
6193         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6194
6195 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6196
6197         * longlong.h (__clz_tab): Declare as static to match definition.
6198
6199 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6200         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6201         (XREF_FILE_NAME): Define.
6202
6203         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6204         (EH_FRAME_SECTION_ASM_OP): Define.
6205         (IDENT_ASM_OP): Define.
6206         (TEXT_SECTION_ASM_OP): Define.
6207         (CPP_SPEC): Define.
6208         (CTORS_SECTION_ASM_OP): Define.
6209         (CTOR_SECTION_FUNCTION): Use it.
6210         (DTORS_SECTION_ASM_OP): Define.
6211         (DTOR_SECTION_FUNCTION): Use it.
6212
6213 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
6214
6215         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6216         NOTE_BASIC_BLOCK.
6217
6218         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6219         debug_bb_n): New functions.
6220         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6221         * basic-block.h: Prototype new functions.
6222
6223 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
6224
6225         * configure.in: Add support for avr target.
6226         * configure: Rebuilt.
6227
6228         * invoke.texi: Add AVR invocation docs.
6229         * install.texi: Add information about AVR.
6230         * md.texi: Add AVR constraint letters description.
6231         * extend.texi: Add description for AVR specific attributes.
6232
6233 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
6234
6235         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6236
6237 2000-02-16  Nick Clifton  <nickc@cygnus.com>
6238
6239         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6240         (make_insn_raw): Move RTL check here.
6241
6242 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6243
6244         * version.c: Include gansidecl.h and version.h.
6245
6246         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6247         
6248         * configure.in (gcc_version): When setting, narrow search to
6249         lines containing `version_string'.
6250
6251         * Makefile.in (mainversion): Likewise. 
6252         (GCC_H): New variable.
6253         (gcc.h): Delete target.
6254         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6255         (version.o): Depend on version.h.
6256         (dbxout.o): Don't depend on gcc.h.
6257
6258 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6259                           Michael Meissner  <meissner@cygnus.com>
6260
6261         * md.texi (Simple Constraints): Add item about whitespace.
6262         * genoutput.c (strip_whitespace): New.
6263         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6264         strip_whitespace for constraints.
6265         Test pointer using NULL, not 0.
6266
6267 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6268
6269         * cpplib.c (do_line): Pedwarn for #line > 32767.
6270
6271         * c-lex.c (readescape): Warn about '\x', but do not reject it.
6272
6273 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
6274
6275         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6276         to default cpp spec.
6277         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6278         * cpp.texi: Document __GNUC_PATCHLEVEL__.
6279         * cpp.1: Likewise.
6280
6281         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6282         default spec.
6283
6284 2000-02-15  Denis Chertykov  <denisc@overta.ru>
6285
6286         * configure.in: Add support for avr target.
6287
6288 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6289
6290         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6291         (sh_addr_diff_vec_mode): Don't declare.
6292         * sh.c (sh_addr_diff_vec_mode): Delete.
6293
6294 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6295
6296         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6297
6298 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6299
6300         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6301         (smulsi3_highpart_i): Name.
6302         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6303         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6304         (smulsi3_highpart, umulsi3_highpart): Likewise.
6305
6306         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6307         correctly independent of endianness.
6308         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
6309         confuse the optimizers.
6310         (mulsidi3+1, umulsidi3+1): New define_split.
6311
6312 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
6313
6314         * config/sh/sh.md: Guard insn splits against illegal registers.
6315         * config/sh/sh.h: Correct comment about macros.
6316
6317 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6318                           Andrew MacLeod  <amacleod@cygnus.com>
6319
6320         * Makefile.in (lcm.o): Depend on insn-attr.h.
6321         * basic-block.h (optimize_mode_switching): Declare.
6322         * lcm.c (tm_p.h, insn-attr.h): #include.
6323         (seginfo, bb_info): New structs.
6324         (antic, transp, comp, delete, insert) : New file-scope static variables.
6325         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6326         (reg_becomes_live, optimize_mode_switching): Likewise.
6327         * tm.texi: Add description of mode switching macros.
6328         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6329
6330         * sh-protos.h (remove_dead_before_cse): Remove prototype.
6331         (fldi_ok, fpscr_set_from_mem): New prototypes.
6332         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6333         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6334         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6335         (sh_flag_remove_dead_before_cse): Remove declaration.
6336         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6337         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6338         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6339         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6340         (barrier_align): Allow for JUMP_INSNS containing a parallel.
6341         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6342         (fldi_ok): New function.
6343         (get_fpscr_rtx): Add fpscr_rtx as GC root.
6344         (emit_sf_insn): Only generate fpu switches when optimize < 1.
6345         (emit_df_insn): Likewise.
6346         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6347         (sh_flag_remove_dead_before_cse): Delete.
6348         (get_free_reg, fpscr_set_from_mem): New functions.
6349         * sh.md (movdf, movsf): Remove no_new_pseudos code.
6350         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6351
6352 2000-02-15  Loren Rittle  <ljrittle@acm.org>
6353
6354         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6355
6356 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6357
6358         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6359         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6360
6361         * cccp.c: Include version.h and/or don't declare `version_string'.
6362         * collect2.c: Likewise.
6363         * alpha.c: Likewise.
6364         * arm/aof.h: Likewise.
6365         * arm/coff.h: Likewise.
6366         * arm/elf.h: Likewise.
6367         * arm/pe.h: Likewise.
6368         * arm/tcoff.h: Likewise.
6369         * arm/telf.h: Likewise.
6370         * arm/tpe.h: Likewise.
6371         * arm/vxarm.h: Likewise.
6372         * convex/convex.c: Likewise.
6373         * i386/dgux.c: Likewise.
6374         * i386/sun386.h: Likewise.
6375         * m88k/m88k.c: Likewise.
6376         * mcore/mcore-pe.h: Likewise.
6377         * mips/mips.h: Likewise.
6378         * romp/romp.h: Likewise.
6379         * sh/sh.c: Likewise.
6380         * cpphash.c: Likewise.
6381         * cppinit.c: Likewise.
6382         * dwarf2out.c: Likewise.
6383         * dwarfout.c: Likewise.
6384         * gcc.c: Likewise.
6385         * gcc.h: Likewise.
6386         * mips-tfile.c: Likewise.
6387         * protoize.c: Likewise.
6388         * toplev.c: Likewise.
6389         * tree.h: Likewise.
6390         
6391         * version.c (version_string): Constify a char*.
6392
6393         * version.h: New file.
6394
6395 2000-02-14  Nick Clifton  <nickc@cygnus.com>
6396
6397         * configure.in: Add mcore-elf and mcore-pe targets.
6398         * configure: Regenerate.
6399
6400         * NEWS: Add note that MCore port has been contributed.
6401
6402         * invoke.texi: Document command line switches for MCore port.
6403         * install.texi: Add MCore to list of supported targets.
6404
6405 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
6406
6407         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6408         then we will need to import the frame handling functions.
6409         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6410         to import the frames themselves.
6411
6412 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
6413                           Jason Eckhardt  <jle@cygnus.com>
6414
6415         * basic_block.h: Added prototype for reorder_basic_blocks.
6416         * toplev.c: Changes to add -freorder-blocks and graph dump after
6417         block reordering is done.
6418         * flow.c (reorder_block_def): New structure for use during block
6419         reordering.
6420         (REORDER_BLOCK_*): New macros to access members of above structure.
6421         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6422         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6423         functions for block reordering.
6424
6425 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6426
6427         * gcc.texi (Passes): Fix typo.
6428         * md.texi (Standard Names): Ditto.
6429         * tm.texi (Storage Layout): Ditto.
6430
6431 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6432
6433         * cpplib.c (do_define): Only free the old definition if it
6434         actually had one.
6435
6436 2000-02-13   Neil Booth  <NeilB@earthling.net>
6437
6438         * cppfiles.c (read_and_prescan): When emitting deferred
6439         newlines, test speccase[] again instead of checking each
6440         possible whitespace character in turn.  When we encounter \r,
6441         look behind for \n first, then ahead.
6442
6443 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6444
6445         * cse.c (cse_altered): New internal flag.
6446         (cse_insn): Set it if we changed an insn.
6447         (cse_main): Clear cse_altered before each basic block.
6448         Only garbage collect if cse_altered is true afterward.
6449
6450 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6451
6452         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6453
6454 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
6455
6456         * combine.c (simplify_comparison): Fix typo.
6457
6458 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
6459
6460         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6461         consistently.
6462
6463 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6464
6465         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6466         previously inserted node instead of root node.  Caller changed.
6467
6468 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6469
6470         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6471
6472 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6473
6474         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6475         __dereg_frame_dtor): Add prototype argument.
6476
6477         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6478
6479         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6480
6481         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6482
6483         * gthr-vxworks.h (__gthread_once): Likewise.
6484
6485         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6486
6487 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
6488
6489         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6490         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6491         stack pointer in functions w/o saved registers, output LEAVE more often
6492         on TARGET_USE_LEAVE machines.
6493
6494 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6495
6496         * config/arm/arm.c (arm_init_cumulative_args); New function:
6497         Initlaise the CUMULATIE_ARGS strcuture for a function
6498         defintion. 
6499         (arm_function_arg): New function: Determine where to place a
6500         function's argument.  Also handles deciding the function's
6501         call cookie.
6502         (current_file_function_operand): New function: Return true if
6503         the symbol is a function which has already been compiled.
6504         (arm_is_long_call_p): New function: Return true if the
6505         indicated function should be called via a long call.
6506         (arm_valid_type_attribute_p): New function: Return true if the
6507         attribute is a valid, arm specific, attribute.
6508         (arm_comp_type_attribute): New function: Return true if the
6509         two types have compatable, arm specific, attributes.
6510
6511         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6512         structure.
6513         (FUNCTION_ARG): Redefine to call arm_function_arg.
6514         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6515         structure field.
6516         (INIT_CUMULATIVE_ARGS): Redefine to call
6517         arm_init_cumulative_args.
6518         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6519         field. 
6520         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
6521         field. 
6522         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6523         functions.
6524         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6525         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6526         (COMP_TYPE_ATTRIBUTES): Define.
6527
6528         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6529         if a long call is needed.
6530         (call_value): Call arm_is_long_call_p to decide if a long call
6531         is needed.
6532         (call_symbol): Call arm_is_long_call_p to decide if a long call
6533         is needed.
6534
6535         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6536
6537 2000-02-11  Denis Chertykov  <denisc@overta.ru>
6538
6539         * README.AVR: New file with information about the avr ports.
6540         * config/avr: New directory with avr port files.
6541
6542 2000-02-11  Andreas Jaeger  <aj@suse.de>
6543
6544         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6545
6546 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
6547
6548         * cpphash.c: Fix formatting, update commentary.
6549         (dump_definition): Take three separate arguments instead of a
6550         MACRODEF structure argument.
6551         * cpphash.h: Update prototype of dump_definition.
6552         * cppinit.c (cpp_finish): Update call of dump_definition.
6553
6554         * cpplib.c (do_define): Always create new hash entry with
6555         T_MACRO type.  Remove redundant check for redefinition of
6556         poisoned identifier.  Update call of dump_definition.
6557         (do_undef): Don't call check_macro_name.  Rename sym_length to
6558         len.
6559         (do_error, do_warning): Don't use copy_rest_of_line or
6560         SKIP_WHITE_SPACE.
6561         (do_warning): Don't use pedwarn for the actual warning,
6562         only the notice about its not being in the standard.  (Fixes
6563         bug with #warning in system headers.)
6564         (do_ident): Stricter argument checking - accept only a single
6565         string after #ident.  Also, macro-expand the line.
6566         (do_xifdef): Use cpp_defined.  De-obfuscate.
6567
6568         (do_pragma): Split out specific pragma handling to separate
6569         functions.  Use get_directive_token.  Update commentary.  Do
6570         not pass on #pragma once or #pragma poison to the front end.
6571         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6572         do_pragma_default): New.
6573
6574 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
6575
6576         * jump.c (jump_optimize_1): The first operand in a relational
6577         can be a CONST_INT.
6578         * optabs.c (emit_conditional_move): Handle relationals which
6579         have a known true/false result.
6580
6581 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6582
6583         * function.c (thread_prologue_and_epilogue_insns): Don't insert
6584         a RETURN insn into a block which already ends with a jump.
6585
6586 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6587
6588         * haifa-sched.c (BUF_LEN): Increase a lot.
6589
6590 2000-02-11  Nick Clifton  <nickc@cygnus.com>
6591
6592         * configure.in: Add tm_p_file specification for thumb targets.
6593         * configure: Regenerate.
6594
6595         * config/arm/thumb-protos.h: New file: Prototypes for exported
6596         functions defined in thumb.c.
6597
6598 2000-02-11  Robert Lipe  <robertl@sco.com>
6599
6600         * Makefile.in (bootstrap-lean): Remove additional files.
6601         (bootstrap2-lean): Likewise.
6602         (VOL_FILES): List of files for above.
6603
6604 2000-02-11  Nathan Sidwell  <nathan@acm.org>
6605
6606         * cpphash.c (special_symbol): Remove spurious argument to
6607         cpp_lookup.
6608
6609 2000-02-11  Joel Sherrill (joel@OARcorp.com>
6610
6611         * configure.in: (i*86-*-rtems*): Swapped elf and coff
6612         stanzas.
6613         * configure: Rebuilt.
6614
6615 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
6616         
6617         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6618
6619 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
6620
6621         * pa.c, pa.h: Remove trigraph sequences within comments.
6622
6623 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
6624
6625         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6626
6627 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
6628
6629         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6630
6631 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6632         
6633         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6634
6635 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6636
6637         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6638         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6639         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6640         (ASM_FILE_END): Use c4x_file_end.
6641         * config/c4x/c4x.c (c4x_global_label): New function.
6642         (c4x_external_ref, c4x_file_end): Likewise.
6643
6644         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6645         (c4x_external_ref, c4x_end_file): Likewise.
6646
6647 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
6648
6649         * cppexp.c: Don't include cpphash.h.
6650         (parse_charconst, cpp_lex): Use cpp_defined.
6651         (cpp_lex): Use get_directive_token throughout.  Remove
6652         unnecessary cases from switch.  Move assertion-handling code
6653         down to OTHER case.
6654         (cpp_parse_expr): If we see '+' or '-', check the context to
6655         determine if they are unary or binary operators.  Streamline
6656         the jumps a bit.  Do not call skip_rest_of_line.
6657
6658         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6659         static.  Export get_directive_token.  Update commentary.
6660         (cpp_defined): New function.
6661         (do_define): Remove reference to T_PCSTRING.  Call
6662         free_definition to release memory for old definition, when
6663         redefining a macro.
6664         (eval_if_expression): Set only_seen_white to 0 before calling
6665         cpp_parse_expr.  Call skip_rest_of_line after it returns.
6666         (cpp_read_check_assertion): Don't preserve a pointer into the
6667         token buffer across a call to cpp_get_token.
6668
6669         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6670         * cppfiles.c (redundant_include_p): Use cpp_defined.
6671         * cpphash.c (free_definition): New function.
6672         (delete_macro): Use it.  Update commentary.
6673         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
6674         free_definition.
6675         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6676         from enum node_type.  Prototype cpp_defined and get_directive_token.
6677         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6678
6679         * fix-header.c (check_macro_names): Use cpp_defined.
6680         (read_scan_file): Set inhibit_warnings and inhibit_errors in
6681         the options structure.
6682
6683 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6684
6685         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6686
6687 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
6688
6689         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6690         rather than die->die_tag.
6691
6692 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6693
6694         * combine.c (make_extraction, force_to_mode): Avoid warning on
6695         mixed-signedness conditionals.
6696         (make_field_assignment, nonzero_bits): Likewise.
6697         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6698         (store_split_bit_field, extract_split_bit_field): Likewise.
6699         (extract_fixed_bit_field, store_bit_field, 
6700         * expr.c: Change alignment to be unsigned everywhere.
6701         (move_by_pieces, store_constructor_field, store_constructor): 
6702         Alignment parm is unsigned.
6703         (emit_block_move, emit_group_load, emit_group_store): Likewise.
6704         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6705         (do_compare_rtx_and_jump): Likewise.
6706         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6707         Compare align with GET_MODE_ALIGNMENT.
6708         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6709         (get_inner_reference): Likewise.
6710         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6711         (expand_assignment): Local vars for alignment now unsigned.
6712         (store_constructor, store_field, expand_expr, do_jump): Likewise.
6713         (do_compare_and_jump): Likewise.
6714         (store_field): Call new function expr_align.
6715         * expr.h (emit_block_move, emit_group_load, emit_group_store):
6716         Alignment arg now unsigned.
6717         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6718         (do_compare_rtx_and_jump, store_bit_field): Likewise.
6719         (extract_bit_field): Likewise.
6720         * fold-const.c (add_double): Add cast to eliminate signedness warning.
6721         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6722         (get_best_mode): Alignment arg is unsigned.
6723         * rtl.h (move_by_pieces): Likewise.
6724         * store-layout.c (maximum_field_alignment, set_alignment):
6725         Now unsigned.
6726         (layout_decl): Alignment arg is now unsigned.
6727         Remove unneeded casts.
6728         (layout_record, layout_union, layout_type): Remove unneeded casts.
6729         Local alignment variables now unsigned.
6730         (get_best_mode): Alignment arg now unsigned.
6731         * tree.c (expr_align): New function.
6732         * tree.h (expr_align): Likewise.
6733         (maximum_field_alignment, set_alignment): Now unsigned.
6734         (get_inner_reference): Alignment argument is now pointer to unsigned.
6735         * varasm.c (assemble_variable): Add cast to eliminate warning.
6736
6737 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
6738
6739         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6740         then store directly into op0.
6741
6742         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6743         the CALL_INSN, and emit the note immediately after it.
6744
6745 2000-02-10  Nick Clifton  <nickc@cygnus.com>
6746
6747         * config/arm/thumb.md (epilogue): Include a (return) in the
6748         generated insn, and emit it using emit_jump_insn not
6749         emit_insn. 
6750
6751 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
6752
6753         * function.c (assign_temp): Change zero-sized arrays to size 1.
6754         * integrate.c (expand_inline_function): Do not update
6755         stack_alignment_needed
6756         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6757         add some sanity checking, remove optimization for function with
6758         zero frame size.
6759
6760 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6761
6762         * flow.c (mark_regs_live_at_end): Delete unused variables.
6763
6764         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6765
6766         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6767         in macro FRAME_GROWS_DOWNWARD.
6768
6769         * stmt.c (expand_end_bindings): Delete unused variable.
6770
6771         * unroll.c (iteration_info): Mark parameter `loop' with
6772         ATTRIBUTE_UNUSED.
6773
6774 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6775
6776         * fixinc/server.c (load_data): Return NULL if the marker line is
6777         not found.
6778         (run_shell): If load_data returns NULL, retry the command once, in
6779         a new shell.
6780
6781         * configure: Rebuilt.
6782
6783 2000-02-09  Bruce Korb  <bkorb@gnu.org>
6784
6785         * gcc/fixincludes:  ** DELETED **
6786         * gcc/fixcpp:  ** DELETED **
6787         * gcc/fixinc-nt.sed:  ** DELETED **
6788         * gcc/just-fixinc:  ** DELETED **
6789         * gcc/Makefile.in:  Removed out-dated commentary
6790         * gcc/configure.in: Removed fast-fixincludes disablement.
6791         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6792
6793 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6794         * function.c (thread_prologue_and_epilogue_insns): Uncomment
6795         last change.
6796
6797 2000-02-09  Richard Henderson  <rth@cygnus.com>
6798
6799         * jump.c (delete_insn): Don't delete user labels at -O0.
6800
6801 2000-02-09  Robert Lipe  <robertl@sco.com>
6802
6803         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6804         Don't link with HOST_LIBS. 
6805
6806 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6807
6808         * configure.in: Correct --help text for --with-dwarf2.
6809         Put tm-dwarf2.h after other tm files, if it's requested.
6810         * configure: Regenerate.
6811         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
6812         defining it.
6813
6814 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6815
6816         * cpplib.h: Provide HASHNODE typedef and forward decl of
6817         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
6818         DEFINITION, struct hashnode, struct macrodef, struct
6819         definition, scan_decls prototype, default defn of
6820         INCLUDE_LEN_FUDGE moved elsewhere.
6821
6822         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
6823         definition, and struct hashnode moved here. Remove the unused
6824         'predefined' field from struct definition.  Replace the 'args'
6825         union with its sole member.  All users updated (cpphash.c).
6826         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
6827         multiple include guard.
6828
6829         * cpphash.c (hashf): Make static; use better algorithm; drop
6830         HASHSIZE parameter; return an unsigned int.
6831         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
6832         used. Calculate HASHSIZE modulus here.
6833         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
6834         here.
6835         (create_definition): Drop PREDEFINITION parameter.
6836         * cpplib.c (do_define): Don't calculate a hash value here.
6837         Don't pass (keyword == NULL) to create_definition.
6838
6839         * scan.h: Prototype scan_decls here.
6840         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
6841         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
6842         callers of cpp_lookup and cpp_install updated.
6843         
6844         * cpphash.c (macarg): Hoist all the flag diddling out of the
6845         function...
6846         (macroexpand): ... and out of the loop that calls macarg.
6847         Skip over the initial paren before macro arguments with
6848         cpp_get_non_space_token; point may be some distance before
6849         that paren.  Abort if it's not there.
6850
6851         * cpplib.c (parse_clear_mark): Delete function.
6852         (parse_set_mark, parse_goto_mark): Make static.
6853         (ACTIVE_MARK_P): New macro.
6854         (skip_block_comment, skip_line_comment): Do not bump the line
6855         if ACTIVE_MARK_P is true.
6856         (cpp_pop_buffer): The buffer to be popped may not have an
6857         active mark.
6858         (cpp_get_token): When looking for the initial paren before
6859         macro arguments, only set a mark in a file buffer, Always
6860         return to that mark before proceeding to call macroexpand or
6861         return a NAME token.
6862
6863         * cpplib.h: Remove prototypes of parse_set_mark,
6864         parse_clear_mark, parse_goto_mark.
6865         (struct cpp_options): Rename 'put_out_comments' to
6866         'discard_comments' and invert its sense.
6867         * cppinit.c, cpphash.c, cpplib.c: All users of
6868         put_out_comments changed to use discard_comments, with
6869         opposite sense.
6870
6871 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6872
6873         * function.c (thread_prologue_and_epilogue_insns): Don't delete
6874         the edge from a block that both jumps and falls through to the
6875         fallthru block.
6876
6877 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
6878
6879         * config/arm/arm.md (movsi): In PIC mode, make sure that a
6880         constant source address is legitimate.
6881
6882 2000-02-09  Philip Blundell  <pb@futuretv.com>
6883
6884         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
6885         correctly.
6886
6887         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
6888         generating PIC.
6889         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
6890
6891 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6892
6893         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
6894         ends with a newline and a NUL.  Don't be so clever manipulating
6895         strings.
6896
6897 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
6898
6899         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
6900         not to BIGGEST_ALIGNMENT.
6901
6902 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
6903
6904         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
6905         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
6906         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
6907         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
6908         * frame.c (execute_cfa_insn): Handle 
6909         DW_CFA_GNU_negative_offset_extended.
6910
6911 2000-02-08  Richard Henderson  <rth@cygnus.com>
6912
6913         * flow.c (tidy_fallthru_edges): Split out from ...
6914         (delete_unreachable_blocks): ... here.
6915         (find_basic_blocks): Use it.
6916
6917 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6918
6919         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
6920
6921 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
6922
6923         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
6924         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
6925         (fix-header.o): Don't depend on cpphash.h.
6926
6927         * scan.c (hashstr): New function. 
6928         * scan.h: Prototype it.
6929         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
6930         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
6931         hashstr.  Report hash table statistics.  Add private     
6932         definition of xrealloc.
6933
6934 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6935
6936         * i386.h (TARGET_SWITCHES): Fix typo in option name.
6937
6938 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
6939
6940         * function.c (thread_prologue_and_epilogue_insns): Don't replace
6941         jumps with returns unless they are jumps to the fallthru block.
6942
6943 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
6944
6945         * i386.md (addqi3_cc): Fix contraints.
6946
6947 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6948
6949         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
6950
6951 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
6952
6953         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
6954         carriage return after a macro name.
6955
6956 2000-02-07  Fred Fish  <fnf@be.com>
6957
6958         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
6959         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
6960
6961 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
6962
6963         * cppfiles.c (deps_output): Count spacers in deps_column.
6964
6965 2000-02-07  Neil Booth  <NeilB@earthling.net>
6966
6967         * cppinit.c (initialize_dependency_output): If there is no
6968         suffix, don't try to look for known suffixes.  Use strrchr.
6969         (cpp_start_read): Remove duplicate initialization.
6970
6971 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
6972
6973         * calls.c (compute_argument_block_size): New argument
6974         preferred_stack_boundary.
6975         (expand_call): update cfun->preferred_stack_boundary, update call of
6976         compute_argument_block_size
6977         (emit_library_call): Increate cfun->preferred_stack_boundary
6978         to PREFERRED_STACK_BOUNDARY
6979         (emit_library_call_value): Likewise.
6980         * explow.c (allocate_dynamic_stack_spave): Likewise.
6981         * function.c (prepare_function_start): Set
6982         cfun->preferred_stack_boundary
6983         * function.h (struct function): Add preferred_stack_boundary field.
6984         * integrate.c (expand_inline_function): Update
6985         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
6986         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
6987         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
6988
6989 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
6990
6991         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
6992         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
6993         cpp_pedwarn, cpp_pedwarn_with_line,
6994         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
6995         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
6996         v_cpp_error_with_line, v_cpp_warning_with_line,
6997         cpp_message_from_errno, cpp_perror_with_name): Delete.
6998
6999         * cpperror.c (cpp_print_containing_files): Take starting
7000         buffer as argument.
7001         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7002         (v_cpp_message): Now called directly by all entry points.
7003         Remove -1 case.
7004         (cpp_pfatal_with_name, cpp_message): Delete.
7005         (cpp_notice_from_errno, cpp_ice): New functions.
7006         (cpp_notice): Is now for reporting error conditions, just
7007         without an associated file.
7008         (cpp_error, cpp_error_with_line): Don't do anything if
7009         opts->inhibit_errors is on.
7010         (cpp_pedwarn_with_file_and_line): Take column argument also.
7011
7012         * cpplib.h: Update prototypes of exported functions.
7013         (struct cpp_options): Add inhibit_errors.
7014
7015         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7016         non-error messages.  Include intl.h.
7017
7018         * cppinit.c, cppmain.c: Likewise.  Also, use
7019         cpp_notice_from_errno instead of cpp_perror_with_name or
7020         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7021
7022         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7023         report internal errors.
7024
7025         * cpplib.c (do_define): Switch bcopy to memcpy.
7026         Give cpp_pedwarn_with_file_and_line a dummy column argument.
7027
7028         * cpplib.c (copy_rest_of_line): Revert previous change: don't
7029         bail out early if we hit a line comment.
7030
7031 2000-02-06  Richard Henderson  <rth@cygnus.com>
7032
7033         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7034         * basic-block.h: Declare them.
7035         * emit-rtl.h (active_insn_p): New.
7036         (next_active_insn, prev_active_insn): Use it.
7037         * rtl.h: Declare it.
7038         * function.c (emit_return_into_block): New.
7039         (thread_prologue_and_epilogue_insns): Insert return insns instead
7040         of epilogues when possible.
7041         * jump.c (jump_optimize_1): Remove code to insert a return insn
7042         on the fallthru to the exit block.
7043
7044         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7045         and for non-empty stack frames.
7046         * i386.md (return): Expand to return-pop as needed.
7047
7048 2000-02-06  Richard Henderson  <rth@cygnus.com>
7049
7050         * simplify-rtx.c (simplify_relational_operation): Canonicalize
7051         constant to op1 for testing.
7052
7053 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7054
7055         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7056         (fixuns_truncqfqi2): Use it.
7057
7058 2000-02-06  Richard Henderson  <rth@cygnus.com>
7059
7060         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7061         as a TYPE_LEA insn.
7062
7063         * i386.md (widening and peepholes): Mask the constant instead of
7064         using gen_lowpart.
7065
7066 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7067
7068         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7069         input pointer before possibly branching off to the backslash
7070         code.
7071         * cpphash.c (macroexpand): Correctly delete \r escapes when
7072         stringifying parameters.
7073         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7074         if we can; bail out early if we hit a line comment.
7075         (handle_directive): Treat '# 123' in an .S file just like
7076         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
7077         Return 1 for '# not_a_directive'.
7078         (get_directive_token): Pop macro buffers here, so that
7079         cpp_get_token can't sneakily move past a newline.
7080         Add sanity checks. 
7081         (cpp_get_token): goto randomchar if handle_directive returns 0.
7082
7083         * cppalloc.c: Update copyright.
7084         * cpplib.c: Merge all the static function prototypes into one
7085         block.
7086         * cpplib.h: Remove #if 0 block.
7087
7088         * cpperror.c: Remove #ifdef EMACS block.
7089         * cppmain.c: Likewise.
7090         * cpphash.c: Remove #if 0 blocks.
7091         * cppinit.c: Remove #if 0 blocks, and the -lint option.
7092         * cpplib.c: Remove #if 0 blocks and code referencing
7093         pcp_inside_if or for_lint.  Remove duplicate error message.
7094         Fix error messages for #else after #else or #elif.  Reformat.
7095         Remove archaic TODO list.
7096         * cpplib.h: Remove pcp_inside_if and for_lint flags.
7097
7098 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7099
7100         * i386/osf1elf.h: Add missing backslash to multiline string.
7101
7102 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7103
7104         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7105
7106 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7107
7108         * Makefile.in (c-common.o): Depend on $(EXPR_H).
7109
7110         * c-common.c: Include expr.h.
7111
7112         * c-pragma.c (mark_align_stack): Add prototype.
7113
7114         * caller-save.c (add_stored_regs): Likewise.
7115
7116         * combine.c (record_promoted_value): Likewise.
7117
7118         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7119         Likewise.
7120
7121         * cppinit.c (new_pending_define): Likewise.
7122
7123         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7124
7125         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7126         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7127         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7128         class_scope_p): Likewise.
7129
7130         * dwarf2out.h (dwarf2out_set_demangle_name_func,
7131         dwarf2out_add_library_unit_info): Likewise.
7132
7133         * ggc.h (ggc_page_print_statistics): Likewise.
7134
7135         * haifa-sched.c (propagate_deps): Likewise.
7136
7137         * reg-stack.c (next_flags_user, record_label_references): Likewise.
7138
7139         * rtl.h (set_stack_check_libfunc): Likewise.
7140
7141         * toplev.h (set_fatal_function): Likewise.
7142
7143         * toplev.c (set_fatal_function): Delete prototype.
7144         
7145         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7146         
7147 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7148
7149         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7150         (FUNC_END): Likewise.
7151
7152 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7153
7154         * caller-save.c: Include tm_p.h.
7155
7156 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7157
7158         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7159
7160 2000-02-04  Neil Booth  <NeilB@earthling.net>
7161
7162         * cccp.c (main): Check 'dir' for a NULL pointer before passing
7163         it to strcmp.
7164
7165 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
7166
7167         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7168         * genflags.c: Use the max_operand_1 logic from genemit.c to
7169         calculate how many arguments gen_insn prototypes have.  Remove
7170         NO_MD_PROTOTYPES ifdefs from the generated file.
7171         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7172         file.  Cast gen_insn initializers to insn_gen_fn.
7173         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7174         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7175
7176 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7177
7178         * fixinc/Makefile.in (HDR): Add machname.h.
7179         (clean): Likewise.
7180
7181 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7182
7183         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7184         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7185         (c4x_cpu_version): Ditto.
7186         * config/c4x/c4x-protos.h: ... here.
7187
7188 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
7189
7190         * dwarf2out.c (add_abstract_origin_attribute): Don't call
7191         gen_abstract_function on our context if we're a nested function.
7192
7193 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7194
7195         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7196         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7197
7198 2000-02-04  Bruce Korb  <bkorb@gnu.org>
7199
7200         * fixinc/genfixes(machname.h):
7201         Move the functionality from gen-machine.h into this file.
7202         UNdef MN_NAME_PAT if there are no names to change.
7203         Also, be a little kinder when AutoGen is not present.
7204
7205         * fixinc/Makefile.in(machname.h):
7206         Change the generation rule to use genfixes.
7207
7208         * fixinc/fixfixes.c(machine_name):
7209         machine_name_fix's functionality now dependent upon whether
7210         MN_NAME_PAT is defined.
7211
7212         * fixinc/fixtests.c(machine_name):
7213         ditto.
7214
7215         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7216         of MN_NAME_PAT.
7217
7218         * fixinc/fixlib.h(mn_get_regexps):
7219         ditto
7220
7221         * fixinc/gen-machine.h: DELETED
7222
7223 2000-02-04  Jan Hubicka  <jh@suse.cz>
7224             Richard Henderson  <rth@cygnus.com>
7225
7226         * i386.c (SAVE_REGS_FIRST): Remove.
7227         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7228         (ix86_compute_frame_size): Likewise.
7229         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
7230         (ix86_emit_restore_regs): Remove.
7231         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7232         when a frame pointer is in use.
7233         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
7234         instead of pop to restore a register when profitable; emit leave
7235         when profitable.
7236         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7237         as a TYPE_LEA insn.
7238         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7239         * i386.md (prologue_allocate_stack): Remove.
7240         (epilogue_deallocate_stack): Remove.
7241         (pro_epilogue_adjust_stack): New.
7242
7243 2000-02-04  Richard Henderson  <rth@cygnus.com>
7244
7245         * function.c (diddle_return_value): Rework to use a callback function.
7246         Use current_function_return_rtx if it's been set up.
7247         (do_clobber_return_reg, clobber_return_register): New.
7248         (do_use_return_reg, use_return_register): New.
7249         (expand_function_end): Use them.
7250         * stmt.c (expand_null_return): Likewise.
7251         * function.h: Declare them.
7252         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7253         (mark_reg): Change arguments as appropriate for callback.
7254         * integrate.c (expand_inline_function): Revert 19 Jan change.
7255
7256 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7257
7258         * tm.texi (Values in Registers): Fix typo: "fo" "for".
7259         (Misc): Say the scheduler, not the Haifa scheduler.
7260
7261 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
7262
7263         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7264         when in_mem is set.  Update all callers.
7265
7266 2000-02-04  Richard Henderson  <rth@cygnus.com>
7267
7268         * i386/openbsd.h (INT_ASM_OP): Define.
7269
7270 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7271
7272         * tm.texi: Fix various typos.
7273
7274 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
7275
7276         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7277         (MD_STARTFILE_PREFIX_1): New macro.
7278
7279 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
7280
7281         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7282         destination when needed.
7283         (strmovsi, strsetsi): New expander.
7284         (strmovsi_1, strsetsi_1): New pattern.
7285         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7286         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7287         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7288         * invoke.texi (align-stringops, inline-all-stringops): Document.
7289
7290 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
7291
7292         * i386/netbsd.h (INT_ASM_OP): Define.
7293
7294 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
7295
7296         * cpplib.h (cpp_reader): Add new flag, no_directives.
7297         * cpphash.c (macarg): Set it.
7298         * cpplib.c (handle_directive): If no_directives is on and we
7299         find a directive, issue an error and discard the line.
7300
7301 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
7302
7303         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7304         FP constants.  Add ! TARGET_FPU check for FP constants.
7305
7306 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
7307         
7308         * flow.c (find_basic_blocks): Don't kill label_value_list
7309         here.
7310         (cleanup_cfg): Kill it here.
7311
7312 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7313
7314         * expr.c (store_field): Ensure ALIGN is no stricter than the
7315         alignment of EXP.
7316
7317 2000-02-02  Richard Henderson  <rth@cygnus.com>
7318
7319         * jump.c (delete_insn): Partially revert 19 Jan change; 
7320         don't convert unused code labels to notes at -O0.
7321
7322 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7323
7324         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7325         split_all_insns to recreate REG_LABEL notes for flow2 pass.
7326
7327 2000-02-01  Richard Henderson  <rth@cygnus.com>
7328
7329         * i386.c (general_no_elim_operand): New.
7330         (nonmemory_no_elim_operand): New.
7331         (ix86_expand_move): Copy eliminable operands before a push.
7332         * i386-protos.h: Declare new functions.
7333         * i386.h (CAN_ELIMINATE): Simplify.
7334         (PREDICATE_CODES): Update.
7335         * i386.md (push insns): Don't allow eliminable register operands.
7336
7337 2000-02-01  Richard Henderson  <rth@cygnus.com>
7338
7339         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7340         replace BLKmode with DECL_RTL's mode.
7341
7342 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
7343
7344         * frame.c (find_fde): Convert for loop to do-while so compiler
7345         sees it's always executed at least once.
7346         * libgcc2.c (BBINBUFSIZE): Kill.
7347         (__bb_init_prg): Use fgets.
7348         (__bb_exit_trace_func): Don't paste strings.
7349         * unroll.c (unroll_loop): Initialize unroll_type, not
7350         unroll_number, and tweak logic to match.
7351
7352         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7353         all failure paths.
7354         (ix86_flags_dependant): Likewise.  Disentangle control flow.
7355         (ix86_sched_reorder): Break guts out to
7356         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7357         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7358         any possible use.
7359
7360         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7361         use string concatenation.  Don't save and restore esi.
7362
7363         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7364         (machname.h): Remove script to separate file.  Use two-step
7365         sequence so target is not created if script fails.
7366         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
7367         identifiers are defined.
7368         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7369         an empty string, machine_name doesn't need to do anything at
7370         all.
7371         (is_cxx_header): Add more cases to regexp.
7372         * fixinc/fixlib.h: Update prototype.
7373         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7374         mn_get_regexps.
7375         * fixinc/fixincl.c: Define NO_BOGOSITY.
7376
7377         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7378         (hp_sysfile): Add missing comma.
7379         (math_exception): Put the wrapper ifdefs at the beginning and
7380         the end of the file.
7381         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7382
7383 2000-02-01  Richard Henderson  <rth@cygnus.com>
7384
7385         * sparc.c (fp_zero_operand): Turn into a normal predicate.
7386         Use CONST0_RTX.  Update all callers.
7387         * sparc.h, sparc-protos.h: Update accordingly.
7388         * sparc.md (fp mov insns): Use fp_zero_operand directly
7389         where applicable.
7390
7391 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7392
7393         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7394         example.
7395
7396 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7397
7398         * Makefile.in (specs.ready): New target.
7399         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7400
7401 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7402
7403         * fixinc.irix: Use unique filenames for writing into /tmp,
7404         * fixinc.ptx: Likewise.
7405         * fixinc.sco: Likewise.
7406         * fixinc.svr4: Likewise.
7407         * fixinc.winnt: Likewise.
7408
7409 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7410
7411         * tsystem.h: New file.
7412
7413         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7414         s-crtS): Depend on tsystem.h.
7415
7416         * crtstuff.c: Include tsystem.h.
7417         * frame.c: Likewise.
7418         * libgcc2.c: Likewise.
7419
7420 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
7421
7422         * builtins.c (expand_builtin_memset): Expand for variable sized
7423         lengths too.
7424
7425 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
7426
7427         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7428         on ABI.
7429
7430 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7431
7432         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7433
7434         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7435
7436 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
7437
7438         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7439         case 3->2 combining (combining with splitting) in which 2 is CC0
7440         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
7441         checked at the begining of the function with the aid of calling 
7442         function 'can_combine_p'. 
7443
7444 2000-01-31  Dave Brolley  <brolley@redhat.com>
7445
7446         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7447
7448 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
7449
7450         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7451         new label.
7452
7453 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7454
7455         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7456         
7457         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7458         PROTO -> PARAMS.
7459
7460 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7461
7462         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7463         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7464         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7465         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7466         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7467         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7468         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7469         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7470         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7471         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7472         
7473         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7474         Add %(cpp_cpu) to CPP_SPEC.
7475
7476         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7477         Add %(cc1_cpu) to CC1_SPEC.
7478
7479 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7480
7481         * c-decl.c (c_decode_option): Accept optional numeric argument to
7482         -Wformat and set warn_format.
7483         * c-common.c: Don't emit warning about non-constant printf format
7484         string unless warn_format > 1.
7485
7486 2000-01-30  Richard Henderson  <rth@cygnus.com>
7487
7488         * alpha.md (return_internal): Allow after reload only.
7489
7490 2000-01-30  Richard Henderson  <rth@cygnus.com>
7491
7492         * i386.c (ix86_compute_frame_size): Omit padding1 if the
7493         local frame size is zero.
7494
7495 2000-01-30  Richard Henderson  <rth@cygnus.com>
7496
7497         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7498         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
7499         * alpha.md (return): Turn into an expander.
7500         (return_internal): Don't use $26.
7501         (epilogue): Emit the return insn.
7502
7503 2000-01-30  Richard Henderson  <rth@cygnus.com>
7504
7505         * alpha.md (negtf2, abstf2): Fix word order thinko.
7506         (extendsftf2): New.
7507         (trunctfsf2): Avoid intermediate rounding errors.
7508
7509 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7510
7511         * cppfiles.c (find_position): Drop 'colp' argument, return the
7512         new line base.
7513         (read_and_prescan): Adjust to match.  Don't ever manipulate
7514         line or line_base except via find_position.
7515
7516 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7517
7518         * c-parse.in: Apply Ulrich's changes from c-parse.y.
7519         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7520         Regenerate.
7521
7522 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7523
7524         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7525         just print "<command line>".  If 'filename' is null or an
7526         empty string, print "<stdin>" for the filename.
7527         * cpplib.c (do_define): Don't print the 'location of the
7528         previous definition' message if we're still parsing the
7529         command line.
7530         (cpp_pedwarn_with_file_and_line): Always call
7531         cpp_file_line_for_message.
7532
7533 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
7534
7535         * flow.c (mark_regs_live_at_end): Fix typo.
7536
7537 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7538
7539         * c-common.c: Adjust variable names, comments, help strings to c99.
7540         * c-lex.c: Likewise.
7541         * c-parse.y: Likewise.
7542         * c-tree.h: Likewise.
7543         * cccp.c: Likewise.
7544         * cpplib.h: Likewise.
7545         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
7546         * cppinit.c: Likewise.
7547
7548 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7549
7550         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7551         * c4x.c: Define the optab rtx values.
7552         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7553         (c4x_emit_libcall): Use new optab rtx values.
7554         (c4x_emit_libcall3): Likewise.
7555         (c4x_emit_libcall_mulhi): Likewise.
7556         * c4x-protos.h: Add prototypes for optab rtx values and change
7557         prototypes for above c4x_emit_libcall functions.
7558
7559 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7560
7561         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7562         syntax is used.
7563         (c4x_function_prologue): Use regnames intead of float_reg_names when
7564         TI syntax is used.
7565         (c4x_function_epilogue): Likewise.
7566         (c4x_print_operand): Likewise.
7567         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7568         * c4x.md (set_high): Disable for TARGET_TI.
7569
7570 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7571
7572         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7573         of framepointer + constant to ADDR_REGS class.
7574         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7575         * c4x.c (std_or_reg_operand): New function.
7576         * c4x-protos.h (std_or_reg_operand): Prototype it.
7577
7578 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7579
7580         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7581                 object names as libgcc2.c.
7582         * libgcc.S: Use newly defined names.
7583
7584 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
7585         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7586         function.
7587         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7588         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7589         (FLOW_LOOP_LAST_BLOCK): Likewise.
7590
7591 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7592
7593         * basic-block.h (struct loop): New fields 'first' and 'last'.
7594         * flow.c (flow_loops_find): Compute loop->first and loop->last.
7595         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7596         and loop->last to check for NOTE_INSN_LOOP_END.
7597
7598 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
7599
7600         * predict.c (estimate_probability): Use the new FIRST and LAST fields
7601         of the loop descriptor rather than HEADER and LATCH. Also added
7602         missing break statements as well making some coding style modifications
7603         as suggested by Michael Hayes.
7604
7605 2000-01-28  Richard Henderson  <rth@cygnus.com>
7606
7607         * flow.c (find_basic_blocks): Remove do_cleanup argument.
7608         Break out that code ...
7609         (cleanup_cfg): ... here.
7610         (commit_one_edge_insertion): Detect a return instruction being
7611         emitted to an edge.  Emit a barrier following; clear fallthru.
7612         (commit_edge_insertions): Verify CFG consistency.
7613         * function.c (expand_function_start): Kill unused variable.
7614         (expand_function_end): Likewise.
7615         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7616         to insert the epilogue.
7617
7618         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7619         (delete_null_pointer_checks): Likewise.
7620         * output.h: Likewise.
7621         * reg-stack.c (reg_to_stack): Likewise.
7622         * toplev.c (rest_of_compilation): Likewise.  Run
7623         thread_prologue_and_epilogue_insns after rebuilding the CFG.
7624
7625 2000-01-28  Richard Henderson  <rth@cygnus.com>
7626
7627         * Makefile.in (flow.o): Revert 24 Jan change.
7628         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
7629         FUNCTION_VALUE result to DECL_RESULT's mode.
7630
7631         * haifa-sched.c (schedule_insns): Don't recompute reg info
7632         after reload.
7633
7634 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
7635
7636         * configure.in: Make --enable-cpplib the default.
7637         * configure: Regenerate.
7638         * gcc.dg/990119-1.c: No longer expected to fail.
7639
7640 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
7641
7642         * jump.c (jump_optimize_1): Delete an optimization that is also done
7643         by merge_blocks in flow.
7644
7645 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7646
7647         * diagnostic.c (build_message_string, output_printf,
7648         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7649         (build_location_prefix): Fix non-literal format string.
7650
7651 2000-01-27  Richard Henderson  <rth@cygnus.com>
7652
7653         * alpha.md (trunctfsf2): New.
7654
7655 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
7656
7657         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7658
7659 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7660
7661         * cppinit.c (cpp_handle_option): Recognize C++ comments under
7662         -std=gnu89.
7663         * cpplib.c (skip_block_comment, skip_line_comment): Split code
7664         out of...
7665         (skip_comment) ... here.  Permit C++ comments in system
7666         headers always.  Warn about C++ comments in user code under
7667         -std=gnu89 -pedantic.
7668         (copy_comment): Use skip_comment.
7669         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7670         return EOF.
7671         (consider_directive_while_skipping, do_else, do_endif): Call
7672         validate_else unconditionally.
7673         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
7674         text after the conditional in a system header.
7675         * cpplib.h (struct cpp_buffer): Add flag
7676         warned_cplusplus_comments.
7677
7678 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7679
7680         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7681         Use unshare_all_rtl_1.
7682         (unshare_all_rtl_again): New function.
7683         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7684
7685         * function.c (purge_addressof_1): Use unshare_all_rtl_again
7686         rather than resetting the 'used' flags ourself.
7687
7688         * toplev.c (rest_of_compilation): Add current_function_decl
7689         to the unshare_all_rtl call.
7690         * tree.h: Prototype unshare_all_rtl.
7691         * rtl.h: Prototype unshare_all_rtl_again here.
7692
7693 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7694
7695         * genoutput.c (output_prologue): Include ggc.h in generated
7696         files.
7697         * Makefile.in (insn-output.o): Depends on ggc.h.
7698
7699 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7700             Hans-Peter Nilsson  <hp@bitrange.com>
7701
7702         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7703         Remove redundant include of xm-ns32k.h.
7704         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7705         Remove redundant include of xm-ns32k.h.
7706         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7707         Remove redundant include of xm-ns32k.h.
7708         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7709
7710         * ns32k/ns32k.h: Update comment on multiply-add instructions.
7711         (TARGET_SWITCHES): Add documentation strings.
7712         (DWARF_FRAME_REGNUM): Override default definition.
7713         (REG_CLASS_CONTENTS): Add comments.
7714         (SUBSET_P): Format to reduce line length.
7715         (SMALL_REGISTER_CLASSES): Make a run time option.
7716         (GO_IF_NONINDEXED_ADDRESS): Reformat.
7717         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7718         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
7719         (regclass_map): fix typo in comment.
7720         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7721         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7722         (trace, reg_or_mem_operand): Delete, unused function.
7723         (calc_address_cost): Small offsets are cheaper than large ones.
7724         (expand_block_move): Generate more efficient code when bytes is a
7725         known at compile time.
7726         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7727         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7728         instead of reg_or_mem_operand.
7729
7730         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7731         not general_operand.  Similarly use "=rm" or stricter, not "=g".
7732         For input operands, use stricter constraints than "g" if not
7733         general_operand.  Similarly use stricter predicate than
7734         "general_operand" when stricter constraints than "g" are present,
7735         except for matching constraints.
7736         (movstrsi): Use "memory_operand" for operands 0 and 1.
7737         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7738         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7739         not reg_or_mem_operand.
7740         (udivmoddisi4): Ditto.
7741         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7742         Use nonimmediate_operand for operand 3, not register_operand.
7743         (udivmoddiqi4_internal): Use register_operand for operand 1, not
7744         reg_or_mem_operand.
7745
7746 2000-01-27  Fred Fish  <fnf@be.com>
7747
7748         * gthr-posix.h: Fix typo; compatibily -> compatibility.
7749         * gthr-single.h: Likewise.
7750         * gthr-solaris.h: Likewise.
7751         * gthr-vxworks.h: Likewise.
7752         * gthr-win32.h: Likewise.
7753         * gthr.h: Likewise.
7754
7755 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7756
7757         * cppinit.c: Add " (cpplib)" to end of string printed by
7758         -v / --version.
7759
7760 2000-01-27  Richard Henderson  <rth@cygnus.com>
7761
7762         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7763         testing for a signed comparison.
7764         (alpha_emit_floatuns): New.
7765         * alpha-protos.h: Declare it.
7766         * alpha.md (floatunsdisf2, floatunsdidf2): New.
7767         (extendsfdf2): Tidy.
7768
7769 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
7770
7771         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7772         no -g option specifying debugging format, default to -gstabs+.
7773
7774 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
7775
7776         * calls.c (special_function_p): New argument fork_or_exec.
7777         (expand_call): When profile_arc_flag is set and the function
7778         is in the fork_or_exec group, call __bb_fork_func first.
7779         * libgcc2.c, _bb module (__bb_fork_func): New function.
7780         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7781         output file.
7782         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7783         * tree.h (special_function_p): Update prototype.
7784
7785 2000-01-26  Richard Henderson  <rth@cygnus.com>
7786
7787         * alpha.c (alpha_split_tfmode_pair): New.
7788         * alpha-protos.h: Declare it.
7789         * alpha.md (abstf2, negtf2): New.
7790         (movtf insn): Add input G constraint.
7791         (movtf splitter): Use alpha_split_tfmode_pair.
7792
7793 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7794
7795         * i386/cygwin.h: PROTO -> PARAMS.
7796
7797 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
7798
7799         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7800         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7801         using _Qp_cmp/_Q_cmp and testing the return value.
7802         (print_operand): Call reverse_condition_maybe_unordered if
7803         we are handling CCFPmode or CCFPEmode.
7804         Handle ORDERED, UN* and LTGT comparisons.
7805         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7806         if not TARGET_HARD_QUAD.
7807         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7808         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7809         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7810         Adjust gen_b* calls so that they reflect return comparison of
7811         sparc_emit_float_lib_cmp.
7812
7813 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7814
7815         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
7816         incoming operands array is large enough for one more operand.
7817         (alpha_emit_xfloating_arith): Likewise.
7818
7819 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7820
7821         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
7822         file with one line and no trailing newline.
7823         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
7824         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
7825         checking if the match is on the line.
7826         * fixinc/gnu-regex.c: Provide regerror not __regerror.
7827
7828 2000-01-25  Richard Henderson  <rth@cygnus.com>
7829
7830         * sparc.c (output_cbranch): Fix accidental squashing of the
7831         fp branch pre-delay nop.
7832
7833 2000-01-25  Richard Henderson  <rth@cygnus.com>
7834
7835         * tree.def (UNNE_EXPR): Remove.
7836         * c-typeck.c (build_binary_op): Don't handle it.
7837         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
7838
7839         * rtl.def (UNNE): Remove.
7840         (LTGT): Add.
7841         * jump.c (reverse_condition): Update accordingly.
7842         (swap_condition): Likewise.
7843         (comparison_dominates_p): Handle unordered comparisons.
7844         (reverse_condition_maybe_unordered): New.
7845         * rtl.h (reverse_condition_maybe_unordered): Declare.
7846
7847         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
7848         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
7849         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
7850         * sparc.md (bltgt): New.
7851
7852 2000-01-25  Nick Clifton  <nickc@redhat.com>
7853
7854         * emit-rtl.c (emit_insn): Only check machine class insns for
7855         improper emission of a RETURN.
7856
7857 2000-01-25  Richard Henderson  <rth@cygnus.com>
7858
7859         * Makefile.in (flow.o): Depend on $(EXPR_H).
7860         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
7861         duplicate the structure of diddle_return_value for keeping regs live.
7862
7863 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7864
7865         * loop.c (current_loop_info): Delete.
7866         (consec_sets_invariant_p): Add loop argument, update callers.
7867         (get_condition_for_loop): Likewise.
7868         (count_nonfixed_reads, update_giv_derive): Likewise.
7869         (simplify_giv_expr, general_induction_var): Likewise.
7870         (consec_sets_giv, recombine_givs): Likewise.
7871         (move_movables): Delete loop_start and loop_end arguments,
7872         add loop argument, and update callers.
7873         (find_mem_givs, check_final_value): Likewise.
7874         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
7875         (loop_invariant_p): Rename from invariant_p, add loop argument, and
7876         update callers.
7877         (basic_induction_var): Add loop argument, delete loop_level argument,
7878         and update callers.
7879         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
7880         add loop argument, and update callers.
7881         (find_splittable_regs, find_splittable_givs): Likewise.
7882         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
7883         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
7884         (biv_total_increment): Delete loop_start and loop_end arguments;
7885         update callers.
7886         (precondition_loop_p): Delete loop_start and loop_info arguments;
7887         update callers.
7888         * loop.h (get_condition_for_loop): Add loop argument.
7889         (biv_total_increment): Delete loop_start and loop_end arguments.
7890         (precondition_loop_p): Delete loop_start and loop_info arguments;
7891         add loop argument.
7892         (final_biv_value): Delete loop_start and loop_end arguments;
7893         add loop argument.
7894         (final_giv_value, back_branch_in_range_p): Likewise.
7895
7896 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
7897
7898         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
7899
7900 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
7901
7902         * Makefile.in (c-gperf.h) : Change the "See" pointer to
7903         point to the new "generated_files" doc.
7904
7905 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
7906
7907         * config/fp-bit.c (_unord_f2): Fix typo.
7908
7909 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7910
7911         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
7912         c-typeck.c, objc/objc-act.c: Remove all references to obstack
7913         functions obsoleted by GC, such as push_obstacks_nochange,
7914         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
7915         and code which existed only to decide whether or not to call
7916         them.  Remove now-unused NESTED argument from start_function;
7917         all callers changed.  Do not change behavior based on ggc_p.
7918         The use of the ixp_obstack in c-iterate.c and the util_obstack
7919         in objc/objc-act.c remain; these are not obsoleted by garbage
7920         collection.
7921         * c-tree.h: Update prototype for start_function.
7922
7923         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
7924
7925 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
7926
7927         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
7928         mips16.
7929
7930 2000-01-25  Richard Henderson  <rth@cygnus.com>
7931
7932         * sparc-protos.h (select_cc_mode): Declare.
7933         * sparc.c (select_cc_mode): New.  Handle unordered compares.
7934         (output_cbranch): Always reverse via code change.  Handle
7935         unordered compares.  Factor tests and string updates.
7936         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
7937         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
7938         * sparc.md (bunordered, bordered): New.
7939         (bungt, bunlt, buneq, bunge, bunle): New.
7940
7941 2000-01-25  Richard Henderson  <rth@cygnus.com>
7942
7943         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
7944         * ggc-common.c (ggc_add_rtx_varray_root): New.
7945         (ggc_mark_rtx_varray): New.
7946         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
7947         functions down below ggc_mark_foo.
7948         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
7949
7950 2000-01-25  Richard Henderson  <rth@cygnus.com>
7951
7952         * alpha.c (secondary_reload_class): Don't allocate a secondary
7953         for integral mode memories into FLOAT_REGS.  Rearrange the more
7954         complicated memory expression inward.
7955
7956 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
7957
7958         * inclhack.def: Fixes to play nicer with FreeBSD, and
7959         corrections to comments.
7960         (cxx_unready): Add select expression.
7961         (irix_sockaddr): Add bypass expression.
7962         (machine_ansi_h_va_list): New fix.
7963         (stdio_va_list): No need to edit _BSD_VA_LIST_.
7964         Split out addition of "#include <stdarg.h>" to...
7965         (stdio_stdarg_h): ... here.
7966         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
7967         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
7968         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
7969         size_t.
7970         (ultrix_ifdef): Tighten up select expression.
7971
7972         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
7973         re_ct and max_mach to avoid use of shell.  Make printed names
7974         match names in inclhack.def.  Use static copyright date.
7975         Don't count c_test and test expressions as requiring regex_t
7976         slots.  Add some commentary.
7977         * inclhack.tpl: Do not include the 'This script contains N
7978         fixup scripts' line if PROGRAM is defined.  Use static
7979         copyright date.
7980
7981 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
7982
7983         * dwarf2out.c: include "varray.h", not dyn-string.h.
7984         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
7985         (addr_const_to_string, addr_to_string): Lose.
7986         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
7987         (struct dw_val_struct): val_addr is now an rtx.
7988         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
7989         (used_rtx_varray): New varray.
7990         (dwarf2out_init): Initialize it.
7991         (save_rtx): New fn.
7992         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
7993         addr_to_string.
7994         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
7995         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
7996         * Makefile.in (dwarf2out.o): Update dependencies.
7997
7998 2000-01-24  Richard Henderson  <rth@cygnus.com>
7999
8000         * i386.c (i386_dwarf_output_addr_const): New.
8001         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8002
8003         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8004         if defined.
8005         * dwarfout.c (output_mem_loc_descriptor): Likewise.
8006         * i386.c (i386_simplify_dwarf_addr): New.
8007         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8008
8009 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
8010
8011         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8012         TYPE_STUB_DECL is NULL.
8013
8014 2000-01-24  Richard Henderson  <rth@cygnus.com>
8015
8016         * builtins.c (expand_tree_builtin): Move ...
8017         * c-common.c (expand_tree_builtin): ... here.
8018
8019 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8020
8021         * loop.h (LOOP_INFO): New accessor macro.
8022         * basic-block.h (struct loop): Rename field `info' to `aux'.
8023         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8024         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8025         * unroll.c (loop_iterations, unroll_loop): Likewise.
8026
8027 2000-01-24  Christopher Faylor <cgf@cygnus.com>
8028
8029         * config/i386/t-cygwin: Accomodate new winsup directory layout
8030         when searching for include files.
8031
8032 2000-01-24  Richard Henderson  <rth@cygnus.com>
8033
8034         * rtl.def: Add unordered fp comparisions.
8035         * tree.def: Likewise.
8036         * tree.h: Add ISO C 9x unordered fp comparision builtins.
8037
8038         * builtins.c (expand_tree_builtin): New function.
8039         * c-typeck.c (build_function_call): Use it.
8040         (build_binary_op): Support unordered compares.
8041         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8042
8043         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8044         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8045         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8046         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8047         * jump.c (reverse_condition): Don't abort for UNLE etc, but
8048         return UNKNOWN.
8049         (swap_condition): Handle unordered compares.
8050         (thread_jumps): Check can_reverse before reversing.
8051         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
8052         reversed for FP.
8053
8054         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
8055         setcc is present before acking for cmp_optab.  Update all callers.
8056         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8057         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8058         * expr.c (expand_expr): Likewise.  Support unordered compares.
8059         (do_jump, do_store_flag): Likewise.
8060         * expr.h (enum libfunc_index): Add unordered compares.
8061
8062         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8063         (DPBIT_FUNCS): Add _unord_df.
8064         * config/fp-bit.c (_unord_f2): New.
8065         * fp-test.c (main): Try unordered compare builtins.
8066
8067         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8068         * alpha.c (alpha_comparison_operator): Check mode properly.
8069         (alpha_swapped_comparison_operator): Likewise.
8070         (signed_comparison_operator): Likewise.
8071         (alpha_fp_comparison_operator): New.
8072         (alpha_emit_conditional_branch): Handle unordered compares.
8073         * alpha.h (PREDICATE_CODES): Update.
8074         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8075         (bunordered, bordered): New.
8076
8077 2000-01-24  Richard Henderson  <rth@cygnus.com>
8078
8079         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8080         * alpha.md (movtf): New expander, insn, and splitter.
8081
8082 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
8083
8084         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8085         dead registers.
8086
8087 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8088
8089         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8090         (FIXED_REGISTERS, CALL_USED_REGISTERS,
8091          REG_ALLOC_ORDER): Add frame pointer
8092         (FRAME_POINTER_REGNUM): Set to 20
8093         (HARD_FRAME_POINTER_REGNUM): New macro.
8094         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8095         to HARD_FRAME_POINTER.
8096         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8097         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8098         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8099         (HI_REGISTER_NAMES): Add "frame".
8100         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8101         (debug_reg): Handle FRAME_POINTER_REGNUM.
8102         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8103         GENERAL_REGS and INDEX_REGS.
8104         * i386.c (SAVED_REGS_FIRST): new macro.
8105         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8106         (ix86_decompose_address, memory_address_length): Likewise.
8107         (regclass_map): Add frame pointer.
8108         (call_insn_operand): Handle frame_pointer_rtx.
8109         (reg_no_sp_operand): Likewise.
8110         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8111         (print_operand, legitimize_pic_address): Fix formating.
8112         (ix86_compute_frame_size): Make static, update prototype, new
8113         parameters padding1, padding2, use ix86_nsaved_regs, use
8114         stack_alignment_needed.
8115         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8116         to HARD_FRAME_POINTER_REGNUM conversions.
8117         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8118         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8119         (print_reg): Abort on FRAME_POINTER_REGNUM
8120
8121 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8122
8123         * i386.h (PREDICATE_CODES): Add aligned_operand.
8124         * i386.c (aligned_operand): New function.
8125         (ix86_aligned_p): Kill.
8126         * i386.md (movhi_1): Emit mov for aligned operands.
8127         (promoting peep2s): Use aligned_operand.
8128
8129 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
8130
8131         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8132         expression to allow underscores in macro names.
8133         (fix_char_macro_defines): Increment scanning pointer.
8134
8135 2000-01-23  Richard Henderson  <rth@cygnus.com>
8136
8137         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8138         * alpha/osf5.h: New file.
8139         * configure.in (alpha-*-osf5): Add it to tm_file.
8140
8141         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8142
8143         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8144         (alpha_emit_xfloating_cvt, function_arg): Declare.
8145         * alpha.c (alpha_emit_conditional_branch): Call
8146         alpha_emit_xfloating_compare for TFmode compares.
8147         (alpha_lookup_xfloating_lib_func): New.
8148         (alpha_compute_xfloating_mode_arg): New.
8149         (alpha_emit_xfloating_libcall): New.
8150         (alpha_emit_xfloating_arith): New.
8151         (alpha_emit_xfloating_compare): New.
8152         (alpha_emit_xfloating_cvt): New.
8153         (print_operand): Add default abort case.
8154         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8155         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8156         (BIGGEST_ALIGNMENT): Increase to 128 bits.
8157         (RETURN_IN_MEMORY): True for TF/TCmode.
8158         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8159         (FUNCTION_ARG): Move to function_arg.
8160         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8161         (ASM_OUTPUT_LONG_DOUBLE): New.
8162         (ASM_OUTPUT_DOUBLE): Always output bits.
8163         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8164         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8165         (extenddftf2, trunctfdf2): New.
8166
8167 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8168
8169         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8170         * config/sparc/sol2.h: ... here.
8171
8172 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8173
8174         * basic-block.h (struct loops): New field `levels'.
8175         * flow.c (flow_loops_level_compute): Traverse all outer loops.
8176         (flow_loop_level_compute): Initialise level to 1.
8177         (flow_loops_find): Set loops->levels.
8178         (flow_loops_dump): Print loops->levels.
8179
8180 2000-01-23  Richard Henderson  <rth@cygnus.com>
8181
8182         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8183         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8184
8185 2000-01-23  Richard Henderson  <rth@cygnus.com>
8186
8187         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8188         * i386.h (DBX_REGISTER_NUMBER): Use them.
8189         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8190         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8191         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8192         * i386/sequent.h: Kill incorrect comment.
8193
8194 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
8195
8196         * ggc-page.c (struct page_entry): Make `context_depth' an
8197         `unsigned short'.
8198         (struct globals): Likewise.
8199
8200 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
8201
8202         * loop.c (check_dbra_loop): When checking a loop for
8203         reversability, check the source of any stores to ensure
8204         they don't depend on an initial value.
8205
8206 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8207
8208         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8209
8210 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
8211
8212         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8213         'pz_scan' into scope of entire function.  Only affects
8214         compiles with -DDEBUG.
8215
8216 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8217
8218         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8219         section naming to that prior to 2000-01-07 patch.
8220         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8221         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8222         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8223         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8224         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8225
8226 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8227
8228         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8229         constant.
8230
8231 2000-01-21  Jim Wilson  <wilson@cygnus.com>
8232
8233         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8234         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8235
8236 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8237
8238         * cpphash.c (change_newlines): Delete function.
8239         (struct argdata): Delete 'newlines' and 'use_count' fields.
8240         (macroexpand): Remove code referencing those fields.
8241
8242 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8243
8244         * loop.c (loops_info): New variable.
8245         (loop_optimize): Allocate loops->array and free it on exit.
8246         Allocate memory for loops_info and assign to each loop,
8247         replacing alloca.
8248         (find_and_verify_loops): Do not allocate loops->array.
8249
8250 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8251
8252         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8253
8254 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
8255
8256         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8257         pseudos if expanded after first flow.
8258         (movdi_pic_label_ref): Likewise.
8259
8260 2000-01-20  Richard Henderson  <rth@cygnus.com>
8261
8262         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8263
8264 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
8265
8266         * Makefile.in (fixinc.sh): Depend on specs.
8267         * fixinc/Makefile.in: Add rule to create machname.h.
8268         (fixlib.o): Depend on machname.h.
8269         * fixinc/fixtests.c (machine_name): New test.
8270         * fixinc/fixfixes.c (machine_name): New fix.
8271         * fixinc/fixlib.c (mn_get_regexps): New helper function for
8272         the machine_name test and fix.
8273         * fixinc/fixlib.h: Prototype it.
8274         * fixinc/inclhack.def (machine_name): Use the C test and fix.
8275         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8276
8277         * gcc.c (do_spec_1) [case P]: Take care not to create
8278         identifiers with three leading or trailing underscores.
8279
8280         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8281         (fixincl): Don't specify libraries twice on link line.
8282         (gnu-regex.o): Remove special rule.
8283         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8284         defined by config.h.  Do not define _REGEX_RE_COMP.
8285         (regcomp): Allocate and initialize a fastmap.
8286         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8287
8288 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
8289
8290         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8291
8292 2000-01-19  Richard Henderson  <rth@cygnus.com>
8293
8294         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8295         arguments with BB.  Update all callers.  Tidy line wrapping.
8296
8297 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
8298
8299         * emit-rtl.c (try_split): Return last_insn if we split the
8300         last_insn.
8301
8302 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
8303
8304         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8305         (ix86_initial_elimination_offset): Declare.
8306         * i386.c (ix86_nsaved_regs): Break out from ...
8307         (ix86_can_use_return_insn_p): ... here.
8308         (ix86_emit_save_regs): Break out from ...
8309         (ix86_expand_prologue): ... here.
8310         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8311         out from ...
8312         (ix86_expand_epilogue): ... here.
8313         (ix86_compute_frame_size): Make static, add prototype.
8314         (ix86_initial_elimination_offset): Break out from ...
8315         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8316
8317 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8318
8319         * recog.h (OUT_FCN): Delete.
8320
8321         * vax.md: Call `get_insn_template' instead of OUT_FCN.
8322
8323 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8324
8325         * cppalloc.c: PROTO -> PARAMS.
8326         * cpperror.c: Likewise.
8327         * cppfiles.c: Likewise.
8328         * cpplib.c: Likewise.
8329         * cpplib.h: Likewise.
8330
8331         * config/arm/arm-protos.h: PROTO -> PARAMS.
8332         * config/arm/arm.c: Likewise.
8333         * config/c4x/c4x.c: Likewise.
8334         * config/fr30/fr30-protos.h: Likewise.
8335         * config/nextstep.c: Likewise.
8336         * config/pa/pa.c: Likewise.
8337         * config/pj/pj.c: Likewise.
8338         * config/rs6000/rs6000.c: Likewise.
8339         * config/v850/v850-protos.h: Likewise.
8340         * config/v850/v850.c: Likewise.
8341
8342 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8343
8344         * i370-protos.h: New file.
8345
8346         * i370.c: Include tm_p.h.  Fix compile time warnings.
8347
8348         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
8349         warnings.
8350
8351         * i370.md: Likewise.
8352
8353 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8354
8355         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8356         (target_isinf, target_isnan, eisnan): Mark parameter with
8357         ATTRIBUTE_UNUSED.
8358         (eiisinf): Wrap in INFINITY.
8359         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8360         (ibmtoe): Remove unused variable `rndsav'.
8361
8362 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8363
8364         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8365         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8366
8367 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
8368
8369         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8370         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8371         (fix_char_macro_defines, fix_char_macro_uses): New functions.
8372
8373         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8374         Recognize Emacs mode markers also.
8375         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8376         C++ comments in C++ headers.  Call is_cxx_header only if
8377         necessary.
8378
8379         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8380         bypass for ncurses.
8381         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8382         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8383         ... these, which use the new C fixes.
8384         (math_exception): Escape literal '+' in bypass expression.
8385
8386         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8387         Regenerate.
8388
8389 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
8390
8391         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8392         inside the MEM.
8393
8394 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8395
8396         * loop.c (loop_optimize): Allocate loop_info structure for each loop
8397         prior to calling scan_loop.
8398
8399 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8400
8401         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8402         (split_branches, calc_live_regs): Likewise.
8403
8404 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8405
8406         * sh.md (fpu_single, fp_mode): New attributes.
8407
8408 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8409
8410         * loop.c (current_loop_info): Renamed from loop_info_data
8411         and changed to a pointer.
8412         (loop_optimize): Allocate loop_info structure for each loop
8413         and initialise to zero.
8414         (scan_loop): Set current_loop_info.
8415
8416         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8417         on iteration_var.
8418
8419 2000-01-19  Richard Henderson  <rth@cygnus.com>
8420
8421         * stupid.c: Die die die.
8422         * Makefile.in (OBJS): Remove stupid.o.
8423         (stupid.o): Likewise.
8424
8425         * except.c (emit_eh_context): Don't emit USEs for stupid.
8426         * explow.c (probe_stack_range): Likewise.
8427         * flags.h (obey_regdecls): Remove.
8428         * flow.c (find_basic_blocks): Don't run try_merge_blocks
8429         when not optimizing.
8430         (life_analysis): Limit data collection when not optimizing.
8431         (mark_regs_live_at_end): Always mark the return value registers.
8432         (mark_used_regs): Remove dummy RETURN case.
8433         (print_rtl_with_bb): Don't consult obey_regdecls.
8434         * function.c (use_variable, use_variable_after): Remove.
8435         (assign_parms): Consult optimize not obey_regdecls.
8436         (expand_function_start): Don't emit USEs for stupid.
8437         (expand_function_end): Likewise.
8438         * global.c (build_insn_chain): Export.
8439         * integrate.c (expand_inline_function): Kill return-value USE
8440         handling code.
8441         * jump.c (jump_optimize_1): Do simple jump optimizations and
8442         dead code elimination.
8443         (calculate_can_reach_end): Remove check_deleted argument.
8444         (delete_insn): Patch out insns even when not optimizing.
8445         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8446         * rtl.h (use_variable, use_variable_after): Remove declarations.
8447         (build_insn_chain): Declare.
8448         * stmt.c (expand_value_return): Don't emit USEs for stupid.
8449         (expand_end_bindings): Likewise.
8450         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
8451         * toplev.c (obey_regdecls): Remove.
8452         (rest_of_compilation): Don't set it.  Kill stupid in favour of
8453         flow1, local-alloc, and reload.
8454         (main): Don't set obey_regdecls.
8455
8456         * config/nextstep.c (handle_pragma): Likewise.
8457
8458         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8459
8460         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8461
8462 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8463
8464         * alpha-protos.h: PROTO -> PARAMS.
8465         * alpha.c: Likewise.
8466         * elf.h: Likewise.
8467         * h8300.c: Likewise.
8468         * i386-protos.h: Likewise.
8469         * i386.c: Likewise.
8470         * m32r-protos.h: Likewise.
8471         * m32r.c: Likewise.
8472         * mips.c: Likewise.
8473         * mips.md: Likewise.
8474         * gmon-sol2.c: Likewise.
8475         * sparc.c: Likewise.
8476
8477 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8478
8479         * ns32k-protos.h: New file.
8480
8481         * ns32k.c: Fix compile time warnings.
8482
8483         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
8484         warnings.
8485
8486         * ns32k.md: Likewise.
8487
8488 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8489
8490         * vax-protos.h: New file.
8491
8492         * vax.c: Fix compile time warnings.
8493
8494         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
8495         warnings.
8496
8497         * vax.md: Likewise.
8498
8499         * vaxv.md: Likewise.
8500
8501 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8502
8503         * romp-protos.h: New file.
8504
8505         * romp.c: Fix compile time warnings.
8506
8507         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
8508         warnings.
8509
8510         * romp.md: Likewise.
8511
8512 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8513
8514         * we32k-protos.h: New file.
8515
8516         * we32k.c: Fix compile time warnings.
8517
8518         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
8519         warnings.
8520
8521 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8522
8523         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8524
8525         * except.c (eh_regs): Likewise.
8526
8527         * final.c (output_operand): Likewise.
8528
8529         * fold-const.c (target_isinf, target_isnan): Likewise.
8530
8531 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8532
8533         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8534         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8535
8536         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8537         when optimize_size.
8538         (clrstrsi): Rewrite.
8539         (strsethi, strsetqi): New expanders.
8540         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8541         (cmpstrsi): Emit compare insn before cmpstrsi_1
8542         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8543         (strlensi_1): Likewise.
8544         (cmpstrsi_1): Likewise; do not output compare.
8545         (strlen expander): Do not unroll when optimizing for size.
8546         (*subsi3_carry): Rename to subsi3_carry
8547         (addqi3_cc): New pattern.
8548         * i386.h (processor_costs): Add move_ratio field.
8549         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8550         * i386.c (*_cost): Set move_ratio.
8551         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8552         (x86_expand_strlensi_1): Rewrite the main loop.
8553
8554 2000-01-17  Richard Henderson  <rth@cygnus.com>
8555
8556         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8557         * cse.c (find_comparison_args, fold_rtx): Likewise.
8558         * integrate.c (subst_constants): Likewise.
8559         * loop.c (get_condition): Likewise.
8560
8561         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8562
8563         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8564
8565 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8566
8567         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8568         (RESTORE_WARN_FLAGS): Unpack it.
8569         Change semantic type of extension to ttype.
8570         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8571         * c-parse.y, c-parse.c, objc/objc-parse.y,
8572         objc/objc-parse.c: Regenerate.
8573
8574 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
8575
8576         * fixinc/fixlib.c: Add copyright notice.
8577         (compile_re): New function.
8578         * fixinc/fixlib.h: Prototype compile_re.
8579
8580         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8581         Use compile_re to compile regular expressions.
8582
8583         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8584         where the pattern matched.
8585
8586         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8587         use 'replace'.
8588         (ultrix_ansi_compat): Likewise.
8589         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8590         add egrep test.
8591         (interactv_add2, interactv_add3): Delete.
8592         (x11_sprintf): Don't use filename glob.
8593         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8594         Regenerate.
8595
8596 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8597
8598         * print-rtl.c: PROTO -> PARAMS.
8599         * real.c: Likewise.
8600         * reg-stack.c: Likewise.
8601         * resource.c: Likewise.
8602         * sdbout.h: Likewise.
8603         * simplify-rtx.c: Likewise.
8604         * stor-layout.c: Likewise.
8605         * stupid.c: Likewise.
8606         * xcoffout.c: Likewise.
8607         * xcoffout.h: Likewise.
8608
8609 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8610
8611         * toplev.c: PROTO -> PARAMS.
8612         * toplev.h: Likewise.
8613         * tree.c: Likewise.
8614         * tree.h: Likewise.
8615         * unroll.c: Likewise.
8616         * varasm.c: Likewise.
8617         * varray.c: Likewise.
8618         * varray.h: Likewise.
8619
8620 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8621
8622         * reload.c: PROTO -> PARAMS.
8623         * reload.h: Likewise.
8624         * reload1.c: Likewise.
8625         * reorg.c: Likewise.
8626         * resource.h: Likewise.
8627         * rtl.c: Likewise.
8628         * rtl.h: Likewise.
8629         * rtlanal.c: Likewise.
8630         * sbitmap.h: Likewise.
8631         * sdbout.c: Likewise.
8632         * stack.h: Likewise.
8633         * stmt.c: Likewise.
8634         * system.h: Likewise.
8635
8636 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8637
8638         * machmode.h: PROTO -> PARAMS.
8639         * mbchar.h: Likewise.
8640         * mips-tdump.c: Likewise.
8641         * mips-tfile.c: Likewise.
8642         * optabs.c: Likewise.
8643         * output.h: Likewise.
8644         * prefix.c: Likewise.
8645         * profile.c: Likewise.
8646         * protoize.c: Likewise.
8647         * real.h: Likewise.
8648         * recog.c: Likewise.
8649         * recog.h: Likewise.
8650         * regclass.c: Likewise.
8651         * regmove.c: Likewise.
8652         * regs.h: Likewise.
8653
8654 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8655
8656         * ggc-common.c: PROTO -> PARAMS.
8657         * ggc-page.c: Likewise.
8658         * ggc-simple.c: Likewise.
8659         * ggc.h: Likewise.
8660         * global.c: Likewise.
8661         * graph.c: Likewise.
8662         * gthr-win32.h: Likewise.
8663         * haifa-sched.c: Likewise.
8664         * halfpic.h: Likewise.
8665         * integrate.c: Likewise.
8666         * integrate.h: Likewise.
8667         * jump.c: Likewise.
8668         * lcm.c: Likewise.
8669         * local-alloc.c: Likewise.
8670         * loop.c: Likewise.
8671         * loop.h: Likewise.
8672
8673 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8674
8675         * genattr.c: PROTO -> PARAMS.
8676         * genattrtab.c: Likewise.
8677         * gencheck.c: Likewise.
8678         * gencodes.c: Likewise.
8679         * genconfig.c: Likewise.
8680         * genemit.c: Likewise.
8681         * genextract.c: Likewise.
8682         * genflags.c: Likewise.
8683         * gengenrtl.c: Likewise.
8684         * genopinit.c: Likewise.
8685         * genoutput.c: Likewise.
8686         * genpeep.c: Likewise.
8687         * genrecog.c: Likewise.
8688
8689 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
8690
8691         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8692
8693 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8694
8695         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8696         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8697         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8698         * configure, config.in: Rebuilt.
8699
8700 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
8701
8702         * config/i386/i386.md: Add peephole to merge successive stack
8703         adjusts.
8704
8705 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
8706
8707         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8708         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
8709         when walking backwards to find all the parameter loads when
8710         the basic block ends in a call.
8711
8712 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8713
8714         * loop.c (this_loop_info): Delete.
8715         (uid_loop): Add in place of uid_loop_num.  All uses updated.
8716         (loop_number_exit_count): Delete and replace with entry in loop
8717         structure.  All uses updated.
8718         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8719         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8720         (loop_outer_loop): Likewise.
8721         (loop_invalid, loop_number_exit_labels): Likewise.
8722         (loop_used_count_register): Delete and replace with entry in
8723         loop_info structure.
8724         (find_and_verify_loops): Add loops argument.
8725         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8726         loop_end, etc. arguments with loop structure pointer.  All callers
8727         changed.
8728         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8729         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8730         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8731         (insert_bct): Likewise.
8732         (basic_induction_var): New argument level.
8733         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8734         vtop, and cont.  Add used_count_register.
8735         (uid_loop): Delete declaration.
8736         (loop_number_exit_count): Likewise.
8737         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8738         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8739         (loop_outer_loop, loop_used_count_register): Likewise.
8740         (loop_invalid, loop_number_exit_labels): Likewise.
8741         (unroll_loop): Replace loop_start and loop_end arguments
8742         with loop structure pointer.
8743         (loop_precondition_p, loop_iterations): Likewise.
8744         Include basic-block.h.
8745         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8746         with loop structure pointer.
8747         (loop_precondition_p, loop_iterations): Likewise.
8748         * basic-block.h (struct loop): New entries vtop, cont,
8749         cont_dominator, start, end, top, scan_start, exit_labels,
8750         exit_count.
8751         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8752
8753 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8754
8755         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8756
8757 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
8758
8759         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8760
8761 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8762
8763         * pdp11-protos.h: New file.
8764
8765         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
8766         time warnings.
8767
8768         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
8769         warnings.
8770
8771         * pdp11.md: Likewise.
8772
8773         * 2bsd.h: Likewise.
8774
8775 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8776
8777         * mn10300-protos.h: New file.
8778
8779         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8780         time warnings.
8781
8782         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
8783         warnings.
8784
8785         * mn10300.md: Likewise.
8786
8787 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8788
8789         * mn10200-protos.h: New file.
8790
8791         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
8792         time warnings.
8793
8794         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
8795         warnings.
8796
8797         * mn10200.md: Likewise.
8798
8799 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8800
8801         * h8300-protos.h: New file.
8802
8803         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8804         time warnings.
8805
8806         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
8807         warnings.
8808
8809         * h8300.md: Likewise.
8810
8811 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8812
8813         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
8814         (asm_emit_uninitialised): Likewise.
8815
8816 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
8817
8818         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
8819         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
8820
8821 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8822
8823         * config/mips/mips.c (override_options): Don't turn on extra
8824         alignment for mips16.
8825
8826 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8827
8828         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
8829         eabi, and make sure queued POSTINCREMENT rtl is emitted at
8830         the right point.
8831
8832 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8833
8834         * builtins.c (PAD_VARARGS_DOWN): Define.
8835         (std_expand_builtin_va_arg): Use the above macro.
8836         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
8837         * tm.texi (Register Arguments): Document the above macro.
8838
8839 2000-01-14  Nick Clifton  <nickc@cygnus.com>
8840
8841         * emit-rtl.c (emit_insn): If checking is enabled, make sure
8842         that this function has not been used to emit a jump
8843         instruction.
8844
8845         * jump.c (return_jump_1): Cope with being passed a null rtx.
8846
8847 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8848
8849         * eh-common.h: PROTO -> PARAMS.
8850         * emit-rtl.c: Likewise.
8851         * errors.c: Likewise.
8852         * errors.h: Likewise.
8853         * except.c: Likewise.
8854         * except.h: Likewise.
8855         * explow.c: Likewise.
8856         * expmed.c: Likewise.
8857         * expr.c: Likewise.
8858         * expr.h: Likewise.
8859         * final.c: Likewise.
8860         * fix-header.c: Likewise.
8861         * flow.c: Likewise.
8862         * fold-const.c: Likewise.
8863         * function.c: Likewise.
8864         * function.h: Likewise.
8865         * gcc.c: Likewise.
8866         * gcov-io.h: Likewise.
8867         * gcov.c: Likewise.
8868         * gcse.c: Likewise.
8869
8870 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8871
8872         * sh-protos.h: New file.
8873
8874         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
8875         Add static prototypes.  Fix compile time warnings.
8876
8877         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
8878         * sh.md: Likewise.
8879         * elf.h: Likewise.
8880
8881 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8882
8883         * arc-protos.h: New file.
8884
8885         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
8886         time warnings.
8887
8888         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
8889         warnings.
8890
8891         * arc.md: Likewise.
8892
8893 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8894
8895         * dsp16xx-protos.h: New file.
8896
8897         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
8898         time warnings.
8899
8900         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
8901         warnings.
8902
8903         * dsp16xx.md: Likewise.
8904
8905 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8906
8907         * convex-protos.h: New file.
8908
8909         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
8910         time warnings.
8911
8912         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
8913         warnings.
8914
8915 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8916
8917         * elxsi-protos.h: New file.
8918
8919         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
8920         time warnings.
8921
8922         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
8923         warnings.
8924
8925         * elxsi.md: Likewise.
8926
8927 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
8928
8929         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
8930         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
8931         match the comment for MIPS16.
8932
8933 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
8934
8935         * flow.c (split_edge): Do not call set_block_for_insn if we
8936         do not have a basic_block_for_insn structure.
8937
8938         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
8939         and destination functions are 32bit aligned within the trampoline.
8940         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
8941         (TRAMPOLINE_ALIGNMENT): Define.
8942
8943         * cse.c (cse_insn): When changing (set (pc) (reg)) to
8944         (set (pc) (label_ref)), verify the change creates a valid insn.
8945
8946         * fr30.c (call_operand): Tighten and rework to match rules for
8947         call RTL expressions.
8948         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
8949         * fr30.md (call patterns): Improve constraints.
8950
8951 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
8952
8953         * fr30.c (fr30_expand_epilogue): Revert last change.
8954         Use emit_jump_insn for the return insn.
8955
8956 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
8957                           Stan Cox  <scox@cygnus.com>
8958
8959         * predict.c: New file. Preliminary infrastructure work for static
8960         branch prediction and basic block reordering.
8961         * basic-block.h: Add prototype for estimate_probability.
8962         * Makefile.in: Add rules for predict.o.
8963
8964 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
8965
8966         * fixincludes (va_list): Use __not_va_list__ for the dummy.
8967         * fixinc/*: Likewise.
8968
8969 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8970
8971         * cccp.c: PROTO -> PARAMS.
8972         * cexp.y: Likewise.
8973         * collect2.c: Likewise.
8974         * combine.c: Likewise.
8975         * convert.h: Likewise.
8976         * cse.c: Likewise.
8977         * dbxout.c: Likewise.
8978         * dbxout.h: Likewise.
8979         * diagnostic.c: Likewise.
8980         * doprint.c: Likewise.
8981         * dwarf2out.c: Likewise.
8982         * dwarf2out.h: Likewise.
8983         * dwarfout.c: Likewise.
8984         * dwarfout.h: Likewise.
8985         * dyn-string.h: Likewise.
8986
8987 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8988
8989         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
8990         macro conditionals guarding use.
8991
8992         * dwarf2out.c: Include "tm_p.h".
8993
8994         * function.c (locate_and_pad_parm): Mark parameter with
8995         ATTRIBUTE_UNUSED.
8996         (expand_function_end): Likewise for variable `context'.
8997
8998         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
8999
9000 2000-01-13  Nick Clifton  <nickc@cygnus.com>
9001
9002         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9003         register to prevent compile time warnings.
9004
9005 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
9006
9007         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9008         to avoid -Wtraditional warning.
9009
9010 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9011
9012         * 1750a-protos.h: New file.
9013
9014         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
9015         time warnings.
9016
9017         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
9018         warnings.
9019
9020         * 1750a.md: Likewise.
9021
9022 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9023
9024         * a29k-protos.h: New file.
9025
9026         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9027         time warnings.
9028
9029         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
9030         warnings.
9031
9032 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9033
9034         * clipper-protos.h: New file.
9035
9036         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
9037         time warnings.
9038
9039         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
9040         warnings.
9041
9042 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9043
9044         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9045
9046 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
9047
9048         * configure.in (--enable-new-gxx-abi): New option.
9049         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9050         * Makefile.in (GXX_ABI_FLAG): New variable.
9051         * configure: Regenerate.
9052
9053 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9054
9055         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9056         * tm.texi (FORCE_STRUCT_BLK): Document.
9057         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9058
9059 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
9060
9061         * config/ns32k/ns32k.md: Revert Jan 9 change.
9062
9063         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9064         to a mode-test, if the predicate is address_operand.
9065
9066 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
9067
9068         * combine.c (if_then_else_cond): Be careful about what kinds
9069         of RTL expressions are passed to operand_subword.
9070
9071         * flow.c (split_edge): If we have to insert a new jump, make
9072         sure to associate it with a basic block.
9073
9074         * flow.c (commit_one_edge_insertion): A block with one successor
9075         can end in a JUMP_INSN that is not a simplejump.
9076
9077 2000-01-12  Robert Lipe  <robertl@sco.com>
9078
9079         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9080         (BUILD_VA_LIST_TYPE): Define.
9081         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9082         with crtstuff.c.
9083
9084 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
9085
9086         * cccp.c (do_pragma): Add cast to (char *).
9087
9088 2000-01-12  Richard Henderson  <rth@cygnus.com>
9089             Fred Fish  <fnf@be.com>
9090             Jason Merrill  <jason@cygnus.com>
9091
9092         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9093         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9094         * i386/beos-elf.h, i386/beos-pe.h: New files.
9095
9096         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9097         * cross-make (SYSTEM_HEADER_DIR): Define using
9098         CROSS_SYSTEM_HEADER_DIR.
9099
9100         * gcc.c (LIBRARY_PATH_ENV): Provide default.
9101         (process_command): Use it.
9102         (main): Likewise.  Kill trailing = from env vars.
9103         (build_search_list): Put it back.
9104         * collect2.c (main): Use LIBRARY_PATH_ENV.
9105
9106         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9107         * toplev.c: Use NEED_DECLARATION_ENVIRON.
9108
9109         * tm.texi (Frame Layout): Document SMALL_STACK.
9110         * c-common.c (c_common_nodes_and_builtins): Check it.
9111
9112         * system.h: Undef alloca after including glibc's <stdlib.h>,
9113         if USE_C_ALLOCA is defined.
9114
9115         * gcc.c (set_input): New fn.
9116         (main): After all input files are compiled, reset the input file
9117         info to the first.
9118
9119         * aclocal.m4 (rindex, index): If already defined, don't attempt
9120         to redefine.
9121
9122         * ginclude/varargs.h: (__va_list__): Define ifndef.
9123         * ginclude/stdarg.h: Likewise.
9124
9125         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9126         instead of unsigned char.
9127
9128         * hash.h (true, false, boolean): Undef before enum.
9129
9130         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9131         proper type of "HOST_WIDE_INT *", rather than their natural type of
9132         "unsigned HOST_WIDE_INT *".
9133
9134 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9135
9136         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9137
9138         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9139
9140         * regclass.c (choose_hard_reg_mode): Likewise.
9141
9142         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9143
9144         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9145
9146 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9147
9148         * c-common.c: PROTO -> PARAMS.
9149         * c-common.h: Likewise.
9150         * c-decl.c: Likewise.
9151         * c-iterate.c: Likewise.
9152         * c-lang.c: Likewise.
9153         * c-lex.c: Likewise.
9154         * c-lex.h: Likewise.
9155         * c-parse.in: Likewise.
9156         * c-pragma.c: Likewise.
9157         * c-pragma.h: Likewise.
9158         * c-tree.h: Likewise.
9159         * c-typeck.c: Likewise.
9160         * objc/objc-act.c: Likewise.
9161         * objc/objc-act.h: Likewise.
9162
9163 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9164
9165         * m88k-protos.h: New file.
9166
9167         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9168         time warnings.
9169
9170         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
9171
9172         * m88k.md: Likewise.
9173
9174         * tekXD88.h: Likewise.
9175
9176 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9177
9178         * m68k-protos.h: New file.
9179
9180         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9181         time warnings.
9182
9183         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
9184
9185         * mot3300.h: Likewise.
9186
9187 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
9188
9189         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9190         extract_bitlst.
9191         (extract_bitlist): Declare bitlen.
9192
9193 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
9194
9195         * cccp.c: Accept and ignore -lang-fortran.
9196
9197         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9198         qualifiers don't match at any level of pointerness.
9199
9200 2000-01-12  Robert Lipe  <robertl@sco.com>
9201
9202         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9203
9204 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
9205
9206         * reload1.c (reload_reg_unavailable): New static variable.
9207         (reload_reg_free_p): Test it.
9208         (reload_reg_free_for_value_p): Test it instead of
9209         reload_reg_used.
9210         (choose_reload_regs_init): Compute it.
9211
9212 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
9213
9214         * reorg.c (fill_slots_from_thread): Check modified_in_p
9215         before replacing.
9216
9217 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
9218
9219         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9220         these nodes even if INTERNALS is not set.
9221
9222 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
9223
9224         * gcse.c (delete_null_pointer_checks_1): Cope when
9225         get_condition cannot determine the condition.
9226
9227 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
9228
9229         * toplev.h (set_message_length): Declare.
9230
9231         * diagnostic.c (obstack_chunk_alloc): Define macro.
9232         (obstack_chunk_free): Likewise.
9233         (struct output_buffer): New data structure.
9234         (vmessage): Remove.
9235         (output_maximum_width): New variable.
9236         (doing_line_wrapping, set_message_length, init_output_buffer,
9237         get_output_prefix, output_space_left, emit_output_prefix,
9238         output_newline, output_append, output_puts, dump_output,
9239         vbuild_message_string, build_message_string, build_location_prefix,
9240         voutput_notice, output_printf, line_wrapper_printf,
9241         vline_wrapper_message_with_location):  New functions. Implement
9242         automatic line wrapping.
9243         (v_message_with_decl): Make it handle automatic line wrapping.
9244         (v_error_with_file_and_line): Likewise.
9245         (v_warning_with_file_and_line): Likewise.
9246         (announce_function): Likewise.
9247         (default_print_error_function): Likewise.
9248
9249 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9250
9251         * cpplib.h (struct cpp_options): Change lang_asm to char.
9252         Add lang_fortran.
9253         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9254         done in cpp_handle_option now.
9255         (initialize_builtins): Take out special case code used only by
9256         __STDC_VERSION__.
9257         (cpp_handle_option): Turn off trigraphs and trigraph warnings
9258         if -traditional.  Recognize -lang-fortran and set
9259         lang_fortran, also turn off cplusplus_comments.
9260         (print_help): Document -lang-fortran.
9261         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9262         lang_asm. Ignore all directives other than `# 123 "file"' if
9263         CPP_PREPROCESSED.
9264         (cpp_get_token): If -traditional, don't recognize directives
9265         unless the # is in column 1.
9266         (parse_string): If lang_fortran or lang_asm, silently
9267         terminate strings ('' or "") at end of line.
9268         Remove unnecessary braces.
9269
9270 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9271             Richard Henderson  <rth@cygnus.com>
9272
9273         * resource.c (mark_referenced_resources): Mark a set strict_low_part
9274         as used.
9275         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9276         strict_low_part when possible.
9277
9278 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9279
9280         * alias.c: PROTO -> PARAMS.
9281         * basic-block.h: Likewise.
9282         * bitmap.c: Likewise.
9283         * bitmap.h: Likewise.
9284         * builtins.c: Likewise.
9285         * c-aux-info.c: Likewise.
9286         * caller-save.c: Likewise.
9287         * calls.c: Likewise.
9288
9289 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9290
9291         * Makefile.in (toplev.o): Depend on regs.h.
9292
9293         * output.h (tdesc_section): Prototype.
9294
9295         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9296
9297         * sdbout.c: Include "tm_p.h".
9298
9299         * toplev.c: Include "regs.h".
9300
9301 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
9302
9303         * unroll.c (unroll_loop): Add EH support.
9304
9305 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9306
9307         * pa-protos.h: New file.
9308
9309         * pa.c: Include recog.h and tm_p.h.
9310         (compute_zdepwi_operands, compute_movstrsi_length,
9311         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9312         find_addr_reg, import_milli): Add static prototypes.
9313         (pa_cpu_string, pa_arch_string): Constify a char*.
9314         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9315         (read_only_operand): Add argument `mode'.
9316         (singlemove_string, output_move_double, output_fp_move_double,
9317         output_block_move, output_and, output_ior, output_ascii,
9318         remove_useless_addtr_insns, milli_names, output_mul_insn,
9319         output_div_insn, output_mod_insn, output_arg_descriptor,
9320         output_cbranch, output_bb, output_bvb, output_dbra, ,
9321         output_millicode_call, output_call, hppa_encode_label,
9322         output_parallel_movb, output_parallel_addb): Constify a char*.
9323         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9324         (output_parallel_addb): Remove extra arg to `constrain_operands'
9325
9326         * pa.h:  Move all prototypes to pa-protos.h.
9327         (pa_cpu_string, pa_arch_string): Constify a char*.
9328         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9329
9330         * pa.md: Call `function_label_operand' with mode argument.
9331         Likewise for `read_only_operand'.
9332         Fix nesting of parens in call to `symbolic_operand'.
9333
9334 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9335
9336         * i860-protos.h: New file.
9337
9338         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
9339         time warnings.
9340
9341         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
9342
9343         * i860.md: Likewise.
9344
9345 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
9346
9347         * i386.md (movstrsi expander): Rewrite.
9348         (movstrsi_1 insn): Deleted.
9349         (strmovhi, strmovqi expander): New expanders.
9350         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9351         * i386.c (x86_single_stringop): New global variable.
9352         * i386.h (x86_single_stringop): Declare.
9353         (TARGET_SINGLE_STRINGOP): New macro.
9354
9355 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9356
9357         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9358         integer vararg POSTINCREMENT before the destination of the jump
9359         for the hard fp case.
9360         (function_arg_pass_by_reference): Pass a copy of CUM to
9361         FUNCTION_ARG.
9362
9363         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9364         for CONSTANT_ADDRESS_P above while loop for subreg.
9365
9366 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9367
9368         * flow.c (propagate_block): When a prologue/epilogue insn
9369         is marked dead, unconditionally clear libcall_is_dead and
9370         insn_is_dead, and only dump rtl if warnings aren't being
9371         suppressed.
9372
9373 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
9374
9375         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9376         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9377         (FIXED_REGISTERS): Set dirflag as fixed.
9378         (CALL_USED_REGISTERS): Set dirflag as used.
9379         (REG_ALLOC_ORDER): Set dirflag as last one.
9380         (DIRFLAG_REG): New macro.
9381         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9382         (HI_REGISTER_NAMES): Add dirflag.
9383         (DEBUF_PRINT_REG): Handle dirflag.
9384         * i386.md (type attribute): New cld and str types.
9385         (length_opcode attribute): Set cld and str to 1.
9386         (memory attribute): Set str to unknown - it is not clear from the
9387         patterns.
9388         (pent_np function unit): Prefixed string operations takes 12 cycles
9389         minimally; cld takes 2 cycles.
9390         (ppro_uops attribute): Str is "many" and cld is "few".
9391         (ppro_p0 unit): Handle cld here.
9392         (k6_alux unit): Handle cld and str types.
9393         (k6_load unit): It is ocupied by str opcodes.
9394         (k6_store unit): It is ocupied by str opcodes.
9395         (athlon_decode): Str is vector decoded.
9396         (athlon_ieu): Handle str and cld.
9397         (cld pattern): New.
9398         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9399         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9400         cmpstrsi_nz_1 insn): Do not output cld instruction
9401
9402 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
9403
9404         * gcc.texi (G++ and GCC): Add Java and Chill.
9405         (Bug Critera): Don't list languages.
9406
9407         * gcc.texi (Incompatibilities): No longer claim most C compilers
9408         are K&R.
9409
9410         * gcc.texi (G++ and GCC): Update other front-ends list.
9411
9412 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
9413
9414         * i386.c (ix86_expand_setcc): Fix typo.
9415         (ix86_expand_movcc): Similarly.
9416
9417         * Band-aid until haifa's bitset implementation is nuked.
9418         * haifa-sched.c (extract_bitlst): New parameter for size of the
9419         bitset in bits.  All callers changed.  Avoid looking at undefined
9420         bits in the bitset.
9421         (edgeset_bitsize): New variable.
9422         (schedule_region): Initialize edgeset_bitsize.
9423
9424 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9425
9426         * Makefile.in (optabs.o): Depend on real.h
9427         (resource.o): Depend on insn-attr.h
9428
9429         * builtins.c (result_vector): Wrap prototype in macro conditions
9430         governing definition and use.
9431
9432         * c-common.c: Include tm_p.h.
9433
9434         * c-lex.c: Likewise.
9435
9436         * elfos.h: Constify a char*.
9437
9438         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9439         (get_attr_length, shorten_branches, profile_after_prologue): Mark
9440         parameter with ATTRIBUTE_UNUSED.
9441
9442         * fold-const.c (exact_real_inverse): Wrap variable `i' in
9443         CHECK_FLOAT_VALUE.
9444
9445         * haifa-sched.c (schedule_insns): Mark parameter with
9446         ATTRIBUTE_UNUSED.
9447
9448         * optabs.c: Include real.h.
9449
9450         * real.h (ereal_atof): Add prototype arguments.
9451
9452         * resource.c: Include insn-attr.h.
9453
9454         * sdbout.c (sdbout_queue_anonymous_type,
9455         sdbout_dequeue_anonymous_types): Wrap in macro
9456         SDB_ALLOW_FORWARD_REFERENCES.
9457         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9458         ATTRIBUTE_UNUSED.
9459
9460         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9461
9462         * stupid.c: Include tm_p.h.
9463
9464         * tree.c (real_value_from_int_cst): Mark parameter with
9465         ATTRIBUTE_UNUSED.
9466
9467 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9468
9469         * i960-protos.h: New file.
9470
9471         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
9472         time warnings.
9473
9474         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
9475
9476 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9477
9478         * combine.c (expand_field_assignment): Do not discard SUBREGs
9479         while computing nonzero_bits.
9480
9481 2000-01-09  Nick Clifton  <nickc@cygnus.com>
9482
9483         * config/arm/arm.c: Fix compile time warnings about signed vs
9484         unsigned constants.
9485         * config/arm/arm.h: Fix compile time warnings about signed vs
9486         unsigned constants.
9487
9488 2000-01-09  Philip Blundell  <philb@gnu.org>
9489
9490         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9491         than `ldm' with only one register.
9492         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9493         only one register.
9494
9495         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9496         clobbered.
9497
9498 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
9499
9500         * config/ns32k/ns32k.md (load or push effective address): Operand 1
9501         must have SImode.
9502
9503 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9504
9505         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9506         assignment used as truth value.
9507
9508         * function.c (assign_temp): Mark parameter `dont_promote' with
9509         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
9510         PROMOTE_FOR_CALL_ONLY.
9511
9512         * genrecog.c (write_subroutine): Mark variable `operands' with
9513         ATTRIBUTE_UNUSED.
9514
9515         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9516         ATTRIBUTE_UNUSED.
9517
9518         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9519         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9520
9521         * toplev.c (note_deferral_of_defined_inline_function): Likewise
9522         for `decl'.
9523
9524 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9525
9526         * config/c4x.h: Tidy up comments.
9527         * config/c4x.c: Likewise.
9528
9529 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
9530
9531         * fold-const.c (lshift_double, rshift_double): Handle
9532         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9533
9534 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9535
9536         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9537         in prepare_function_start().
9538
9539 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
9540
9541         * config/v850/v850.c (expand_epilogue): Interrupt functions no
9542         longer allocate extra stack for function calls.
9543
9544 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9545
9546         * config/c4x/c4x.md (*subqf3_set): Fix typo.
9547
9548 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9549
9550         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9551
9552 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
9553
9554         * rs6000.c (processor_target_table): Add power3 as alias for 630.
9555         * aix43.h: Revert Aug 2 change.
9556         (HAS_INIT_SECTION): Define, not visible yet.
9557         (LD_INIT_SWITCH): Define, not visible yet.
9558         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9559
9560         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9561
9562         * collect2.c (main): Expand ld2 size further.
9563         (export_object_lst): Cast assignment to avoid warning.
9564         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9565         (scan_prog_file, COFF): Do not collect initialization or
9566         finalization functions generated for entire shared object if
9567         init/fini support present.
9568
9569 2000-01-07  Nick Clifton  <nickc@cygnus.com>
9570
9571         * config/elfos.h: Tidy up formatting of marcos.  Make sure
9572         that .section directives are always prefixed by a tab.
9573
9574         * config/svr4.h: Add #include "elfos.h" and remove duplicate
9575         definitions.
9576
9577 2000-01-07  Matt Austern  <austern@sgi.com>
9578
9579         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9580         expon.
9581
9582 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
9583
9584         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9585         crtstuff.c.
9586         (crtbegin.o, s-crtS): Likewise.
9587
9588 2000-01-06  Richard Henderson  <rth@cygnus.com>
9589
9590         * alpha.md (adddi_2+1): Limit offset such that it will be
9591         loadable with a single ldah+lda pair.
9592         (adddi_2+2): Explicitly fail split if we can't make it work.
9593
9594 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
9595
9596         * protoize.c: Conditionally include unistd.h.
9597         (IS_SAME_PATH_CHAR): New macro.
9598         (IS_SAME_PATH): New macro.
9599         (CPLUS_FILE_SUFFIX): New macro.
9600         (cplus_suffix): New static variable.
9601         (is_abspath): New static function.
9602         (in_system_include_dir): Handle DOS style pathnames.
9603         (file_could_be_converted): Likewise.
9604         (file_normally_convertible): Likewise.
9605         (directory_specified_p): Likewise.
9606         (file_excluded_p): Likewise.
9607         (abspath): Likewise.
9608         (shortpath): Likewise.
9609         (referenced_file_is_newer): Likewise.
9610         (save_def_or_dec): Likewise.
9611         (do_processing): Likewise.
9612         (main): Likewise.
9613         (edit_file): Likewise. Use rename instead of link.
9614         (rename_c_file): Likewise. Don't rename syscalls file.
9615         (munge_compile_params): Define null device for DOS based systems.
9616         (process_aux_info_file): Use binary mode if appliable.
9617         (edit_file): Likewise.
9618         * invoke.texi (Running Protoize): Document C++ suffixes used.
9619
9620         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9621         IS_DIR_SEPARATOR macros.
9622         * collect2.c: Likewise.
9623         * cppinit.c: Likewise.
9624         * dwarf2out.c: Likewise.
9625         * gcc.c: Likewise.
9626         * gcov.c: Likewise.
9627         * prefix.c: Likewise.
9628         * rtl.c: Likewise.
9629         * toplev.c: Likewise.
9630         * system.h: And move to here.
9631
9632         * prefix.c (update_path): Fix typo in variable name.
9633
9634 2000-01-06  Richard Henderson  <rth@cygnus.com>
9635
9636         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9637         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9638         (count_reg_sets_1, count_reg_references): Likewise.
9639         (flow_loops_level_compute): Start counting actual loop depth at 1.
9640         (flow_loops_find): Likewise.
9641         * local-alloc.c (update_equiv_regs): Likewise.
9642         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9643
9644 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9645
9646         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9647         FIRST_PSEUDO_REGISTER
9648         * dwarf2out.c: Don't include frame.h
9649         * dwarfout.c: Likewise
9650         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9651         frame.h
9652
9653 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
9654
9655         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9656         dead registers.
9657
9658         * i386.c (movsf splitter): Fix typo in my last checkin.
9659
9660 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9661
9662         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9663         own definition of this macro.
9664         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9665         flag_data_sections or UNIQUE_SECTION_P are true.
9666
9667         * tm.texi (UNIQUE_SECTION): Document that it can be called for
9668         unitialised data decls.
9669
9670         * config/i386/winnt.c (i386_pe_unique_section): Cope with
9671         being called for uninitialised data.
9672
9673         * config/i386/interix.c (i386_pe_unique_section): Cope with
9674         being called for uninitialised data.
9675
9676         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9677         for uninitialised data.
9678
9679         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9680         for uninitialised data.
9681
9682         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9683         for uninitialised data.
9684
9685         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9686         (UNIQUE_SECTION_P): Always generate a unique section if
9687         flag_data_sections is true.
9688         (UNIQUE_SECTION): Also generate unique sections for
9689         uninitialised data.
9690         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9691         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9692         named_section().
9693
9694 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9695
9696         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9697         SI, or DI.
9698
9699 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9700
9701         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9702         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9703         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9704         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9705         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9706
9707         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9708
9709 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
9710
9711         * c-decl.c (finish_enum): Simplify code to determine minimum and
9712         maximum values of the enum, and calculate the type.  Remove check
9713         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
9714         the DECL_INITIAL of each enumeration constant with a copy converted
9715         to the enumeration type.  When updating variant types, don't bother
9716         updating the type itself.
9717
9718         * c-typeck.c (build_binary_op): Simplify conditional expressions
9719         when weeding out spurious signed-unsigned warnings.  Add new
9720         spurious warning category: if the unsigned quantity is an enum
9721         and its maximum value fits in signed_type(result_type).  Update
9722         commentary.
9723         (build_conditional_expr): Warn here if one alternative is signed
9724         and the other is unsigned.
9725
9726 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9727
9728         * config/fr30/fr30.h: Remove extraneous comments.
9729
9730 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
9731
9732         * reload1.c (choose_reload_regs): When disabling a reload, also
9733         set reload_spill_index to -1.
9734
9735 2000-01-04  Joel Sherrill (joel@OARcorp.com>
9736
9737         * configure.in (m68*-*-rtemscoff*): New target, formal name for
9738         old m68*-*-rtems*.
9739         (m68*-*-rtemself*): New target.
9740         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9741         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9742         (sparc*-*-rtemself*): New target.
9743         (sparc*-*-rtems*): Now elf not a.out.
9744         * config/i386/rtems.h: Include config/rtems.h.
9745         * config/i386/rtemself.h: Include config/rtems.h.
9746         * config/i960/rtems.h: Include config/rtems.h.
9747         * config/m68k/rtems.h: Include config/rtems.h.
9748         * config/m68k/rtemself.h: Include config/rtems.h.
9749         * config/mips/rtems64.h: Include config/rtems.h.
9750         * config/pa/rtems.h: Include config/rtems.h.
9751         * config/rs6000/rtems.h: Include config/rtems.h.
9752         * config/sh/rtems.h: Include config/rtems.h.
9753         * config/sh/rtemself.h: Include config/rtems.h.
9754         * config/sparc/rtems.h: Include config/rtems.h.
9755         * config/sparc/rtemself.h: Include config/rtems.h
9756
9757 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
9758
9759         * final.c (shorten_branches): Correctly compute length of
9760         asms without operands.
9761
9762 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
9763
9764         * configure.in: Add pj target.
9765         * configure: Regenerate.
9766         * config/pj: New directory.
9767         * config/pj/lib1funcs.S: New file.
9768         * config/pj/linux.h: New file.
9769         * config/pj/pj.c: New file.
9770         * config/pj/pj.md: New file.
9771         * config/pj/pjl.h: New file.
9772         * config/pj/t-pj: New file.
9773         * config/pj/xm-pj.h: New file
9774
9775 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
9776
9777         * toplev.c (rest_of_compilation): Run shorten-branches before
9778         reg-stack for now.
9779
9780 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9781
9782         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9783         macros so that they're consistent with their names.
9784         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9785         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9786
9787 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9788
9789         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9790         modified inadvertently.
9791
9792 2000-01-04  Joel Sherrill <joel@OARcorp.com>
9793
9794         * configure.in (v850*-*-rtems*): New target.
9795         * configure: Regenerate.
9796         * config/v850/rtems.h: New file.
9797
9798 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
9799
9800         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9801         (__gthread_key_create): Likewise.
9802         (__gthread_key_dtor):  Likewise.
9803         (__gthread_once): Fix logic.
9804         (__gthread_key_delete): Cast away constness.
9805
9806         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9807         * invoke.texi: Document.
9808         * i386/mingw32.h (CPP_SPEC): Use.
9809         (LIBGCC_SPEC): Likewise.
9810         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
9811
9812 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
9813
9814         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
9815         (HANDLE_PRAGMA_PACK): Undefine.
9816         (SLOW_UNALIGNED_ACCESS): Define.
9817
9818 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
9819
9820         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9821         to default definition.
9822         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
9823         (store_fixed_bit_field): Call macro with word_mode and alignment.
9824         (extract_bit_field): Call macro with relevant mode and alignment.
9825         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
9826         to default definition.
9827         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
9828         and alignment.
9829         (move_by_pieces_ninsns): Likewise.
9830         (clear_by_pieces): Likewise.
9831         (emit_push_insn): Likewise.
9832         (store_field): Call macro with relevant mode and alignment.
9833         (expand_expr): Likewise.
9834         (expand_expr_unaligned): Likewise.
9835
9836         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
9837         (SLOW_UNALIGNED_ACCESS): Define.
9838         (CASE_VECTOR_MODE): Always use 32-bit offsets.
9839         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
9840         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
9841         (toc_section): Likewise and .toc pseudo-op.
9842         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
9843         64-bit mode.
9844         (TEXT_SECTION_ASM_OP): Likewise.
9845         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
9846         32-bit offsets.
9847
9848         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
9849         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
9850         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
9851         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
9852         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
9853
9854 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
9855
9856         * regclass.c: Revert my Jan 4 change to loop cost computation.
9857
9858 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9859
9860         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
9861         compilation.
9862
9863 2000-01-04  Stan Cox  <scox@cygnus.com>
9864
9865         * haifa-sched.c (build_control_flow): Change unreachable simple
9866         loop test to check if current block has only one predecessor.
9867         (find_rgns): Initialize degree.  Use dest as degree index, not src.
9868
9869 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9870
9871         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
9872
9873         * calls.c (expand_call): Likewise for
9874         `old_stack_arg_under_construction'.
9875
9876         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
9877
9878         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
9879         `save_constant'.
9880
9881         * gcc.c (execute): Likewise for `ut' and `st'.
9882
9883         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
9884
9885         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
9886
9887         * jump.c (jump_optimize_1): Likewise for `temp2'.
9888
9889         * local-alloc.c (block_alloc): Likewise for `r1'.
9890
9891         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
9892
9893         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
9894         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
9895
9896         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
9897         and `set2'.
9898
9899         * reload.c (find_reloads): Likewise for `goal_alternative_number'
9900         and `goal_earlyclobber'.
9901
9902         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
9903
9904         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
9905
9906         * stupid.c (stupid_life_analysis): Likewise for `chain'.
9907
9908         * unroll.c (copy_loop_body): Likewise for `copy'.
9909
9910         * varasm.c (output_constructor): Likewise for `byte'.
9911
9912 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9913
9914         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
9915         all FP constants for constant->reg moves.
9916         (ix86_split_to_parts): Try to convert memory address into immediate
9917         when available in the constant pool.
9918         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
9919         moves.
9920         (LEGITIMATE_CONSTANT_P): Return 1.
9921         * i386.md (pushsf): New splitter to convert constant pool memory
9922         reference to immediate.
9923         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
9924         reload.
9925
9926 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
9927
9928         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
9929         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
9930         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
9931         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
9932         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
9933
9934 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
9935
9936         * ginclude/stdbool.h:  Support compilation as C++.
9937
9938 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9939
9940         * fold-const.c (make_range): Don't try to reverse an unbounded range.
9941
9942 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
9943
9944         * regclass.c (regclass): Properly compute loop_cost.  Adjust
9945         comments.
9946
9947         * regclass.c: Fix minor whitespace problems.
9948
9949 2000-01-03  Anthony Green  <green@cygnus.com>
9950
9951         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
9952         Restore the pic register if required.
9953
9954 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
9955
9956         * c-common.c (format_char_info): Update comment.
9957         (check_format_info): Recognize 'z' modifier in the same way 'Z'
9958         was recognized.  Emit warning for formats new in ISO C99 only
9959         if flag_isoc9x is not set.
9960
9961 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
9962
9963         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
9964
9965 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9966
9967         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
9968         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
9969         (make_compound_operation): Choose cheaper alternative between
9970         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
9971
9972         * regclass.c (op_costs): Remove global variable.
9973         (record_reg_classes): New parameter "op_costs" and "reg_pref".
9974         (record_operand_costs): Break out from ...
9975         (scan_one_insn): ... here.
9976         (dump_regclass): Make dumps nicer.
9977         (regclass): Dump preferrences choosed and changes done during passes.
9978
9979 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9980
9981         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
9982
9983 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
9984
9985         * config/sparc/sparc.c (gen_df_reg): New function.
9986         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
9987         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
9988         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
9989         movtf_cc_reg_sp64+1): Use it.
9990
9991 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
9992
9993         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
9994         copied LABEL_DECLs.
9995
9996 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9997
9998         * config/i386/i386.c (ix86_expand_unary_operator): Function
9999         definition made void.
10000         (ix86_expand_binary_operator): Update outdated preceding comment.
10001         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10002         prototype.
10003
10004         * config/i386/i386.c (override_options): Fix option-name typo.
10005
10006 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10007
10008         * system.h (CEIL): Define.
10009         * builtins.c (CEIL): Remove.
10010         * expmed.c (CEIL): Likewise.
10011         * expr.c (CEIL): Likewise.
10012         * stor-layout.c (CEIL): Likewise.
10013
10014 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10015
10016         * expr.c (store_constructor_field): Fix typo introduced with last
10017         gcc2 merge.
10018
10019 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
10020
10021         * tree.h (BINFO_N_BASETYPES): New macro.
10022
10023 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
10024
10025         * expmed.c (emit_store_flag): Prevent losing a pending stack
10026         adjust the same way we prevent losing queued increments.
10027
10028 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10029
10030         * function.c (update_temp_slot_address): Handle case where sum of
10031         temporary address plus offset in register is a valid address.
10032
10033 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
10034
10035         * genrecog.c (change_state) Corrected typo.
10036
10037 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10038
10039         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10040         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10041         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10042
10043 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10044
10045         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10046         case, expand GT comparisons correctly.  Fix a comment before this
10047         part of the code.
10048
10049 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10050
10051         * dwarfout.c: Include "frame.h"
10052         * dwarf2out.c: Likewise.
10053         * Makefile.in (dwarfout.o): Depend on frame.h
10054         (dwarf2out.o): Likewise.
10055
10056 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10057
10058         Restore i386 binary compatibility in Dwarf EH info.
10059         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10060         value of FIRST_PSEUDO_REGISTER.
10061         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10062         (struct frame_state): Use DWARF_FRAME_REGISTERS.
10063         * dwarfout.c (output_reg_number): Ditto.
10064         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10065         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10066
10067 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
10068
10069         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10070         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10071         (<hack>_RE_CT): not needed
10072         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10073         rewritten to scan the file text once only
10074         "template<..." test added
10075         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10076         (is_cxx_header): declaration added
10077         * fixinc/fixtests.c(is_cxx_header): removed
10078         (apply_fix_p_t): removed
10079         (double_slash_test): is_cxx_header is only called once now
10080         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10081         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10082         within the templates.
10083         The borken spelling of "broken" was fixed.
10084         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10085         The default level depends on FIXINC_DEBUG.
10086
10087 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10088
10089         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10090         Otherwise provide a declaration for atexit.
10091         (init_dummy): Make sure dummy call to atexit is nevertheless
10092         called with correct number of args.
10093
10094         * frame.c: Update comments referring to other files.
10095
10096         * libgcc2.c: Likewise.
10097
10098 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10099
10100         * cse.c (free_element, get_element): Remove unused prototypes.
10101
10102         * fold-const.c (extract_muldiv): Initialize variables `op0' and
10103         `op1'.
10104
10105         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10106         `else' clauses.
10107
10108 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
10109
10110         * configure.in,configure: case arm for mn10200-*-* now sets
10111         float_format=i32 so that float.h will correctly claim "double"
10112         to be 32 bits. Ran autoconf to generate configure from .in file.
10113
10114 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
10115
10116         * pa.md (conditional zero): If op1 is a register, force it into
10117         the same register as op0.
10118
10119 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
10120
10121         * tree.h (BINFO_BASETYPES): Improve documentation.
10122
10123 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10124
10125         * configure.in (--enable-checking): Use a more portable `for'
10126         loop syntax.
10127
10128 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10129
10130         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10131         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10132
10133         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10134         Delete files.
10135
10136         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10137         Delete descriptions.
10138
10139         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10140         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10141         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10142         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10143         xm-svr4.h: Remove all instances of sys_siglist handling.
10144
10145 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
10146
10147         * config/sparc/sparc.md (cmp_zero_qi,
10148         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10149         cmp_zero_extendqidi2_andcc_set): New patterns.
10150
10151 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
10152
10153         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10154         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10155         (fpgnulib.c, xfgnulib.c): Add rules.
10156         * m68k/t-mot3300-gas: Likewise.
10157
10158 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
10159
10160         * configure.in: Avoid [[ by using test and changequote.  Add
10161         changequote required by 1999-12-14 change.
10162         * configure: Rebuild.
10163
10164 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
10165
10166         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10167
10168 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
10169
10170         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10171         * flow.c (find_use_as_address): Likewise.
10172         * function.c (fixup_var_refs_1): Likewise.
10173         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10174         * jump.c (invert_exp, redirect_exp): Likewise.
10175         * loop.c (replace_call_address): Likewise.
10176         (count_nonfixed_reads): Likewise.
10177         * rtlanal.c (modified_between_p): Likewise.
10178         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10179         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10180         * unroll.c (remap_split_bivs): Likewise.
10181
10182 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10183
10184         * diagnostic.c (v_message_with_decl): Use .* format specifier
10185         instead of building the format specifier width manually.
10186
10187         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10188         determining whether to provide a prototype.  Remove the
10189         sys_siglist clause in the conditional.
10190
10191 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10192
10193         * fold-const.c (operand_equal_p): Use memcmp to compare string
10194         constants.
10195         Suggested by D. J. Bernstein
10196
10197 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10198
10199         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10200         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10201         compiling libgcc2.
10202         * config/mips/mips.h (TARGET_64BIT): Likewise.
10203         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10204         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10205         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
10206         dsps.  Give routines proper names if SI/DI modes are not used.
10207         * longlong.h: Use DWunion instead of DIunion.
10208
10209 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
10210
10211         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10212         GC_CHECKING, GC_ALWAYS_COLLECT.
10213         * configure.in: Allow --enable-checking with an argument
10214         listing check modes to enable.
10215         * config.in, configure: Rebuilt.
10216         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10217         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10218         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
10219         ENABLE_GC_ALWAYS_COLLECT.
10220         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10221         throughout.
10222         * tree.h, tree.c: Change ENABLE_CHECKING to
10223         ENABLE_TREE_CHECKING throughout.
10224
10225 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10226
10227         * fold-const.c (fold_truthop): Properly check for FP RHS.
10228
10229 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
10230
10231         * toplev.h (note_deferall_of_defined_inline_function): Declare.
10232         * toplev.c (note_deferral_of_defined_inline_function): New
10233         function, split out from ...
10234         (rest_of_compilation): ... here.  Use it.
10235
10236 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10237
10238         * expr.c (store_constructor): Don't call clear_storage if size is
10239         variable.
10240
10241 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10242
10243         * Makefile.in (toplev.o): Depend on loop.h.
10244
10245         * dwarfout.c: Include tm_p.h.
10246
10247         * emit-rtl.c (restore_emit_status): Mark parameter with
10248         ATTRIBUTE_UNUSED.
10249
10250         * final.c (final_scan_insn): Likewise.
10251
10252         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10253         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10254         flow_depth_first_order_compute, flow_loop_pre_header_find,
10255         flow_loop_tree_node_add, flow_loops_tree_build,
10256         flow_loop_level_compute, flow_loops_level_compute,
10257         flow_loop_outside_edge_p): Add prototypes.
10258         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10259
10260         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10261         Mark with ATTRIBUTE_NORETURN.
10262
10263         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10264
10265         * local-alloc.c (no_conflict_p): Likewise.
10266
10267         * loop.c (insert_bct): Hide definitions of variables with hidden
10268         usage.
10269         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10270
10271         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10272         with ATTRIBUTE_UNUSED.
10273         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10274         (reg_scan): Likewise.
10275
10276         * reload.c (find_reloads): Remove unused variables `changed'.
10277
10278         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10279         away const-ness.
10280         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10281         Remove unused variable `insn'.
10282
10283         * toplev.c: Include loop.h.
10284         (report_file_and_line): Remove unnecessary prototype.
10285
10286         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10287
10288         * unroll.c (biv_total_increment): Likewise.
10289
10290 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10291
10292         * reload1.c (emit_input_reload_insns): Restore old behaviour
10293         wrt. 'special' reloads.
10294
10295 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
10296
10297         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10298         hash.h.  (cse.c): Don't depend on hashtab.h.
10299
10300         * cse.c: Don't include hashtab.h.
10301         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10302         of dead functions.
10303         * ggc-simple.c: Don't include hash.h.
10304
10305 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
10306
10307         * dwarf2out.c (add_abstract_origin_attribute): Call
10308         gen_abstract_function on our function context.
10309
10310 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10311
10312         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10313
10314 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10315
10316         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10317         case in switch.
10318
10319 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10320
10321         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10322         constraints to "a!r".
10323
10324 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
10325
10326         * Makefile.in (calls.o): Depend on function.h.
10327         (alias.o): Likewise.
10328
10329 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
10330
10331         * reload1.c (emit_reload_insns): Break out code and variables into...
10332         (input_reload_insns, other_input_address_reload_insns,
10333         other_input_reload_insns, input_address_reload_insns,
10334         inpaddr_address_reload_insns, output_reload_insns,
10335         output_address_reload_insns, outaddr_address_reload_insns,
10336         operand_reload_insns, other_operand_reload_insns,
10337         other_output_reload_insns): ... new static variables, and...
10338         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10339         do_output_reload): ... new functions.
10340
10341 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10342
10343         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10344
10345 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10346
10347         * md.texi: Add c4x constraints documentation.
10348
10349 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10350
10351         * config/i386/dgux.c (struct option): Rename to
10352         lang_independent_option.
10353         (struct m_options): Add description field.
10354         (output_options): Rename option type, add sep declaration, output
10355         ix86_cpu_string and ix86_arch_string only if set.
10356         (output_file_start): Rename option type.
10357
10358 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
10359
10360         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10361         stmp-int-hdrs.
10362         (libgcc2.a): Similarly.
10363
10364 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
10365
10366         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10367         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
10368         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10369
10370 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
10371
10372         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10373         Remove redundant initialization of "frexpon" and "expon".
10374
10375 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10376
10377         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10378
10379         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10380         (store_constructor_field, expand_expr): Pass new arg.
10381
10382 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
10383
10384         * Makefile.in (explow.o): Depend on function.h.
10385
10386         * stor-layout.c (set_sizetype): Fix typo.
10387
10388 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
10389
10390         * function.c (cfun): Renamed from current_function.  All users
10391         changed.
10392         * function.h (cfun): Rename declaration as well.
10393
10394         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10395         to be of type regset_head, not regset.  All users changed by adding
10396         address operator.
10397         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10398
10399 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10400
10401         * config/c4x/rtems.h: New file.
10402
10403 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10404
10405         * reload1.c (spill_failure): Take class of failed reload as argument
10406         and print it.  Caller changed.
10407
10408 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10409
10410         * rs6000.h (SUBTARGET_DEFAULT): New macro.
10411         (TARGET_SWITCHES): Allow subtargets to default switches.
10412         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10413
10414 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
10415
10416         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10417         in a main program.
10418
10419 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
10420
10421         * cccp.c (main): Define __STDC_VERSION__ as necessary.
10422         * cppinit.c (cpp_handle_option): Likewise.
10423
10424         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10425         determine when to define.
10426
10427 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
10428
10429         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10430         cmove with mismatched test and data modes.
10431
10432 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
10433
10434         * c-typeck.c (c_expand_start_case): Don't warn for long switch
10435         in system headers.
10436
10437 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10438
10439         * alias.c: Minor reformatting.
10440         * flow.c: Likewise.
10441         * regs.h: Likewise.
10442         * stor-layout.c: Likewise.
10443         * fold-const.c: Likewise.
10444         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10445         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10446         not arg itself.
10447         (size_int_wide): Cache nodes even if garbage collecting.
10448         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10449         of SAVE_EXPR has no side effects.
10450         * cse.c: Move a comment.
10451         * tree.c: Minor reformatting.
10452         (int_size_in_bytes): Return -1 if constant overflows.
10453
10454 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10455
10456         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10457
10458 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10459
10460         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
10461         after any change to c-parse.in, even if objc-parse.y didn't
10462         change.  Oops.
10463
10464 1999-12-18  David S. Miller  <davem@redhat.com>
10465
10466         * toplev.c (rest_of_compilation): Restore BLOCK tree
10467         reconstruction and branch shortening changes lost in
10468         December 18th change.
10469
10470 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
10471
10472         * config/arm/linux-elf.h: Change all instances of
10473         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10474         * config/arm/uclinux-elf.h: Likewise.
10475
10476 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
10477
10478         * toplev.c (notice, vmessage, v_message_with_file_and_line,
10479         v_message_with_decl, file_and_line_for_asm,
10480         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10481         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10482         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10483         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10484         pfatal_with_name, fatal_io_error, need_error_newline,
10485         last_error_function, last_error_tick, announce_function,
10486         default_print_error_function, print_error_function,
10487         report_error_function, fnotice, error_with_file_and_line,
10488         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10489         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10490         warning_with_decl, warning_for_asm, warning, pedwarn,
10491         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10492         diagnostic.c
10493         (compile_file): Use fnotice instead of notice.  Adjust call.
10494
10495         * diagnostic.c: New file.
10496
10497         * Makefile.in (OBJS): Include diagnostic.o
10498         (diagnostic.o): Define dependence.
10499
10500 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10501
10502         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10503         Tweak formatting.
10504
10505 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10506
10507         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10508
10509 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10510
10511         * fixtests.c (is_cxx_header): New fn, split out of
10512         double_slash_test.
10513         (else_endif_label): Allow "#endif // comment" in C++ headers,
10514         as determined by is_cxx_header.
10515         * fixfixes.c (else_endif_label_fix): Update comment.
10516         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10517         a tty.
10518         * genfixes: Correct double thinko in commandline parsing.
10519         * hackshell.tpl: Generate correct sh syntax for bypass
10520         entries.
10521
10522         * inclhack.def (all): Whenever an inserted preprocessor
10523         conditional is split over multiple lines, use double
10524         backslashes in this file so the fixed header will be readable.
10525
10526         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10527         and add bypass entry for correct version of this header.
10528         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10529         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10530
10531         (hpux8_bogus_inlines): New fix, split from...
10532         (ultrix_atof_param) ... here.
10533         (math_expression): Add bypass entry keyed to glibc comment
10534         indicating the problem has been dealt with; disable
10535         unnecessary sed operations; update commentary.
10536         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10537         add select and bypass entries, simplify shell operation.
10538         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10539
10540         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10541          ultrix_atof_param): Add select entry.
10542         (stdio_va_list, sunos_mather_decl): Add bypass entry.
10543         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10544         comments with the fixes they describe.
10545
10546         * c-parse.in (string action): Do not warn about ANSI string
10547         concatenation in system headers.  Affects C parser only.
10548         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10549
10550 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10551
10552         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10553         compiling libgcc2 the macro depends always on arch cpp defines.
10554
10555 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
10556
10557         * loop.c (insert_loop_mem): Don't record MEMs from inside
10558         EXPR_LISTs.
10559
10560 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
10561
10562         * regclass.c (regclass): Do not use flowgraph when not optimizing.
10563
10564         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10565         notes too, create one when replacement failed, attempt to simplify
10566         resulting notes.
10567         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10568         or REG_EQUIV notes.
10569
10570 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10571
10572         * crtstuff.c (__dso_handle): Declare.
10573         (__cxa_finalize): Likewise.
10574         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10575         non-NULL.
10576
10577         * invoke.texi: Document -fuse-cxa-atexit.
10578
10579         * tree.h (ptr_type_node): Document.
10580         (const_ptr_type_node): Likewise.
10581
10582 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10583
10584         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10585         (optimize_reg_copy_2): Likewise.
10586         (optimize_reg_copy_3): Likewise.
10587         (fixup_match_2): Likewise.
10588         (regmove_optimize): Likewise.
10589         (fixup_match_1): Liekwise.
10590
10591         * i386.md (HI to SImode promoting splitters): Rewrite.
10592         (pushsf mem peep2): New.
10593         (testhi to andhi peep2): Remove.
10594         * i386.h (x86_promote_QImode): New.
10595         (TARGET_PROMOTE_QImode): New.
10596         (PREDICATE_CODES): Add promotable_binary_operator.
10597         * i386.c (x86_promote_QImode0: New.
10598         (promotable_binary_operator): New.
10599         * i386-protos.h (promotable_binary_operator): New.
10600
10601         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10602         condition.
10603         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10604
10605 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10606
10607         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10608         * function.c (insert_block_after_note): Remove.
10609         (retrofit_block): Likewise.
10610         (identify_blocks): Fix indentation.
10611         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10612         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10613         * function.h (insert_block_after_note): Remove prototype.
10614         (retrofit_block): Likewise.
10615         * integrate.c (expand_inline_function): Don't call
10616         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
10617         just expand_start_bindings.  Use the block_map to remap old
10618         NOTE_BLOCKs to new ones.
10619         (integrate_decl_tree): Keep track of remapped blocks.
10620         * integrate.h (struct inline_remap): Add block_map.
10621         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
10622         NOTE_BLOCK on the notes.
10623         (expand_start_bindings): Rename to ...
10624         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
10625         (expand_end_bindings): Set NOTE_BLOCK.
10626         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10627         reconstruct the BLOCK tree.
10628         * tree.h (expand_start_bindings): Macroize.  Call ...
10629         (expand_start_bindings_and_block): New function.
10630
10631 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10632
10633         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10634         to match the format.
10635
10636 1999-12-16  David S. Miller  <davem@redhat.com>
10637
10638         * expr.c (emit_move_insn_1): Only emit clobbers if one of
10639         the outputs is a SUBREG.
10640         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10641         change.
10642
10643         * config/sparc/sparc.c (epilogue_renumber): Add default case
10644         to switch stmt.
10645
10646 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10647
10648         * toplev.c (rest_of_compilation): Run branch shortening after
10649         reg-stack.
10650
10651         * regclass.c (loop_depth): Remove
10652         (scan_one_insn): Do not handle LOOP_NOTE insns.
10653         (regclass): Go through basic blocks and set loop_cost
10654
10655 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
10656
10657         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10658
10659 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10660
10661         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10662         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10663         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10664
10665 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
10666
10667         * loop.c (insert_loop_mem): Ignore memory clobbers.
10668
10669         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10670         to (OP A B).
10671
10672 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
10673
10674         * profile.c: Remove redundant #include "output.h".
10675
10676         * h8300.md (HImode preinc peephole): Fix typo.
10677
10678 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10679
10680         * function.c (retrofit_block): Abort if we don't find a suitable insn.
10681         (insert_block_after_note): Abort if we don't have a previous block.
10682         Remove FN parameter.
10683         * function.h: Adjust.
10684
10685 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
10686
10687         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10688         argument more than once.
10689
10690 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10691
10692         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10693
10694 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
10695
10696         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10697
10698 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10699
10700         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10701         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10702         update stack_alignment_needed.
10703         (prepare_function_start): Initialize stack_alignment_needed
10704         * function.h (struct function): Add field stack_alignment_needed.
10705
10706 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10707
10708         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10709         Handle live_throughout / dead_or_set instead of live_before /
10710         live_after.
10711         (save_call_clobbered_regs): Get register livenessinformation from
10712         chain->live_throughout.
10713         (add_stored_regs): New function.
10714         (insert_restore, insert_save): Add restored / saved registers to
10715         dead_or_set.
10716         * global.c (reg_dies): New parameter chain.
10717         (reg_becomes_live): Third parameter is regs_set now.
10718         Changed all callers.
10719         (reg_dies): New parameter chain.  Changed all callers.
10720         (build_insn_chain): Set live_throughout instead of
10721         live_before / live_after.
10722         * reload.h (struct insn_chain): Replace members live_before /
10723         live_after with live_throughout / dead_or_set.
10724         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10725         instead of live_before / live_after.
10726         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10727         (order_regs_for_reload, find_reg, finish_spills): Likewise.
10728         (choose_reload_regs_init): Likewise.
10729         * stupid.c (current_chain, find_clobbered_regs): Delete.
10730         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10731         instead of chain->live_before / chain->live_after.
10732         (mark_hard_ref): New function.
10733         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10734
10735 1999-12-15  David S. Miller  <davem@redhat.com>
10736
10737         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10738
10739 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10740
10741         * flow.c (calculate_loop_depth): Make global, remove prototype,
10742         rewrite to use new loop infrastructure.
10743         (find_basic_block): Remove calculate_loop_depth call.
10744         * toplev.c (rest_of_compilation): Call find_basic_block.
10745         * output.h (calculate_loop_depth): Declare.
10746
10747         * flow.c (dump_flow_info): Dump loop_depth.
10748         (flow_loops_nodes_find): Increase loop_depth for basic block in the
10749         body.
10750         (flow_loops_find): Initialize the loop_depth for each basic block.
10751
10752 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10753
10754         * tree.c (decl_function_context): Handle virtual functions.
10755
10756         * tlink.c (scan_linker_output): Don't look in demangled name when
10757         looking for linker output keywords.
10758
10759         * dwarfout.c (output_type): We can defer namespace-scope classes.
10760
10761 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
10762
10763         * regclass.c (record_reg_classes): Update comment for merging
10764         register class preferences in reg->reg copies.  Tighten conditions
10765         for merging register class preferences in reg->reg copies.
10766
10767 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
10768
10769         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10770
10771 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
10772
10773         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10774         (INIT_SECTION_ASM_OP): Delete.
10775         (FINI_SECTION_ASM_OP): Delete.
10776         (STARTFILE_SPEC): Define to hold just crtbegin.o.
10777
10778 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
10779
10780         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10781         the abstract origin wasn't emitted.
10782
10783         * dwarf2out.c (class_scope_p): New fn.
10784         (gen_subprogram_die): Use it.
10785         (gen_variable_die): Use it.  Tweak logic.
10786         (gen_struct_or_union_type_die): Check context_die to determine
10787         if we're function-local.
10788         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10789
10790 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10791
10792         * loop.c (check_dbra_loop): Can't reverse a biv that has
10793         maybe_multiple set.
10794
10795 1999-12-14  Nick Clifton  <nickc@cygnus.com>
10796
10797         * config/arm/arm.c: Add support for -mcpu=arm720 command line
10798         switch.
10799
10800 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10801
10802         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10803         for givs made from biv increments.
10804
10805 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
10806
10807         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10808         * alpha.c (override_options): Recognize -mcpu=ev67.
10809         * alpha.h (CPP_CPU_EV67_SPEC): New.
10810         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
10811         (EXTRA_SPECS): Update.
10812
10813 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
10814
10815         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
10816         appropriate for -lang-c89 and -std=*.
10817         * cppinit.c (cpp_handle_option): Likewise.
10818         (new_pending_define): New, split out from cpp_handle_option.
10819         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
10820         or enable trigraphs for -ansi/-std=*.
10821
10822         * ginclude/stdarg.h (__va_copy): New.
10823         (va_copy): Don't define for C89.
10824
10825 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
10826
10827         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
10828         for long long multiply-accumulate.
10829
10830 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10831
10832         * regclass.c (scan_one_insn): Set loop_cost to 1 when
10833         optimizing for size.
10834
10835 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10836
10837         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
10838         if something changed.  Back out that part of yesterday's changes.
10839
10840         * loop.c (loop_max_reg): New static variable.
10841         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
10842         max_reg_num.
10843         (scan_loop): Call reg_scan_update whenever we may have added new
10844         registers, and update loop_max_reg.
10845
10846 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10847
10848         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
10849         when source does not die.
10850
10851         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
10852
10853 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
10854
10855         * config/sparc/linux64.h (TARGET_LIVE_G0,
10856         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
10857         variants on Linux.
10858         * config/sparc/linux.h (TARGET_LIVE_G0,
10859         TARGET_BROKEN_SAVERESTORE): Likewise.
10860         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
10861         TARGET_BROKEN_SAVERESTORE): Likewise.
10862
10863         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
10864         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
10865         not %g2.
10866         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
10867         as sparc64 block profiling register.
10868         * config/sparc/sparc.c (sparc_override_options): Allow block
10869         profiling with -m32.
10870         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
10871         profiling register.
10872         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
10873         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
10874         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
10875
10876         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
10877         for sparc64.
10878         * config/sparc/sparc.h: Likewise.
10879         * config/sparc/xm-sysv4-64.h: Likewise.
10880         * config/float-sparc.h: Likewise.
10881         * glimits.h: Likewise.
10882         * longlong.h: Likewise.
10883
10884         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
10885         (ASM_IDENTIFY_GCC): Remove.
10886
10887 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10888
10889         * combine.c (combine_simplify_rtx): Don't make shared rtl.
10890         (simplify_logical): Likewise.
10891
10892 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
10893
10894         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
10895         * cppfiles.c (INO_T_EQ): Likewise.
10896
10897 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
10898
10899         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
10900         * i386/mingw32.h (LIB_SPEC): Likewise.
10901         (STARTFILE_SPEC): Likewise.
10902         * i386/uwin.h (LIB_SPEC): Likewise.
10903         (STARTFILE_SPEC): Likewise.
10904
10905         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
10906         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
10907
10908 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
10909
10910         * combine.c (combine_simplify_rtx): Fix order of checks for
10911         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
10912
10913 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
10914
10915         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
10916         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
10917
10918 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
10919
10920         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
10921         defined.
10922         * regclass.c (inv_reg_alloc_order): New array.
10923         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
10924
10925         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
10926         counted_for_groups, counted_for_nongroups.  Add fields rld and
10927         n_reloads.
10928         * reload.c (push_secondary_reload): Don't set nongroup field of
10929         new reloads.
10930         (push_reload): Likewise.
10931         (find_reloads): Delete code to compute nongroup fields.
10932         * reload1.c (reload_insn_firstobj): New static variable.
10933         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
10934         users changed.
10935         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
10936         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
10937         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
10938         functions.
10939         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
10940         functions.
10941         (struct hard_reg_n_uses): Deleted.
10942         (potential_reload_regs): Deleted.
10943         (init_reload): Initialize spilled_pseudos and pseudos_counted.
10944         (reload): Don't try to allocate reload registers if we already know
10945         we have to make another pass.  Call select_reload_regs.  Free memory
10946         starting with reload_firstobj when starting another pass.
10947         Don't allocate spilled_pseudos.
10948         (calculate_needs_all_insns): Call copy_reloads for an insn that
10949         needs reloads; don't call calculate_needs.
10950         (spill_cost): New static array.
10951         (used_spill_regs_local): New static variable.
10952         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
10953         to compute potential_reload_regs.
10954         (find_reload_regs): Completely rewritten to use find_reg.
10955         (allocate_reload_reg): Don't test counted_for_groups or
10956         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
10957         all cllers changed.
10958         (choose_reload_regs): Add fallback code that uses the existing
10959         register allocation from find_reload_regs.
10960
10961 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
10962
10963         * flow.c (create_edge_list): Cast xmalloc return value.
10964
10965 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
10966
10967         * doprnt.c: Remove incorrect comment closure.
10968
10969         * cse.c: Fix a few minor whitespace goofs.
10970
10971 1999-12-13  Don Bowman  <don@pixstream.com>
10972
10973         * mips/vxworks.h: Fix problem with comment termination.
10974         (EXTRA_SECTIONS): Add in_sbss.
10975         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
10976
10977 1999-12-12  David S. Miller  <davem@redhat.com>
10978
10979         * cse.c (struct cse_reg_info): Add hash_next member,
10980         reorder rest of struct for better packing on 64-bit
10981         hosts.
10982         (cse_reg_info_tree): Kill.
10983         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
10984         REGHASH_FN): New custom pow2 hash mechanism.
10985         (NBUCKETS): Kill.
10986         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
10987         use a pow2 hash table.
10988         (get_cse_reg_info): Rework to use new REGHASH.
10989         (new_basic_block): Likewise, use HASH_SIZE, and inline
10990         free_element call.
10991         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
10992         and inline free_element call.
10993         (lookup_as_function, insert, flush_hash_table, invalidate,
10994         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
10995         invalidate_for_call, use_related_value, find_comparison_args,
10996         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
10997         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
10998         get_element): Kill.
10999
11000 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
11001
11002         * cse.c (cse_basic_block): Free qty_table consistently.
11003
11004 1999-12-12  David S. Miller  <davem@redhat.com>
11005             Jakub Jelinek    <jakub@redhat.com>
11006
11007         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11008         SUBREGs by hand, gen the appropriate hard reg directly.
11009         (movtf reg/mem split): Likewise and alter_subreg on destination
11010         if necessary.
11011         (movtf mem/reg split): Similarly.
11012         (movdf_cc_sp64): Rename from hidden pattern.
11013         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11014         (movtf_cc_sp64, following split): New pattern and splitter.
11015         (movdf_cc_reg_sp64): Rename from hidden pattern.
11016         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11017         TARGET_HARD_QUAD.
11018         (movtf_cc_reg_sp64, following split): New pattern and splitter.
11019
11020 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
11021
11022         * loop.c (load_mems): Don't hoist written floating point mem
11023         if -ffloat-store.
11024
11025 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
11026
11027         * except.h (struct eh_queue): Add `next' pointer.
11028         (struct eh_status): Make x_ehqueue a pointer.
11029         (push_ehqueue):  Declare.
11030         (pop_ehqueue): Likewise.
11031         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11032         pointer.
11033         (expand_fixup_region_end): Likewise.
11034         (expand_leftover_cleanups): Likewise.
11035         (push_ehqueue): Define.
11036         (pop_ehqueue): Likewise.
11037         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11038         than doing it inline.
11039         (expand_start_all_catch):  Adjust now that ehqueue is a
11040         pointer.
11041         (mark_eh_queue): Mark all level of the queue.
11042         (mark_eh_status):  Adjust now that ehqueue is a
11043         pointer.
11044         (init_eh_for_function): Allocate ehqueue.
11045         (free_eh_status): Free it.
11046         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11047         expansion for a fixup.
11048
11049 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11050
11051         * gthr-single.h (__gthread_active_p): Add prototype arguments.
11052
11053         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11054         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11055         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11056         function_ptr, getpagesize, __enable_execute_stack,
11057         __enable_execute_stack, __clear_insn_cache,
11058         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11059         _cleanup, _exit, __default_terminate, __terminate_func,
11060         __terminate, __empty, __throw, new_eh_context,
11061         eh_context_initialize, eh_context_static, eh_context_specific,
11062         get_eh_context, __get_eh_context, __get_eh_info,
11063         init_reg_size_table, eh_threads_initialize,
11064         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11065         __unwinding_cleanup, throw_helper, __throw, __rethrow,
11066         __pure_virtual): Add prototype arguments.
11067         (__bb_exit_func): Cast a sizeof to long when comparing against one.
11068         Cast a signed value to unsigned long when comparing against one.
11069         (new_eh_context): Wrap in _GTHREADS macro.
11070         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11071         declaration.
11072         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11073         (throw_helper): Initialize variables `handler_p' and `pc_p'.
11074
11075 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11076
11077         * combine.c (record_promoted_value): Remove unused variable
11078         `links2'.
11079
11080         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11081
11082         * global.c (record_conflicts): Likewise for `j'.
11083
11084         * genoutput.c (output_insn_data): Don't unnecessarily cast away
11085         const-ness.
11086
11087 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11088
11089         * i386-protos.h (output_387_binary_op, output_fix_trunc,
11090         output_fp_compare): Constify a char*.
11091
11092         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11093         static prototypes.
11094         (override_options, ix86_comp_type_attributes, print_operand,
11095         output_387_binary_op, output_fix_trunc, output_fp_compare):
11096         Constify a char*.
11097         (ix86_sched_reorder): Mark parameter `clock_var' with
11098         ATTRIBUTE_UNUSED.
11099
11100         * i386.h (DEBUG_PRINT_REG): Constify a char*.
11101
11102 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11103
11104         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11105         operand, for use in the Java front-end.
11106
11107 1999-12-10  Ben Collins  <bcollins@debian.org>
11108
11109         * configure.in: Fix typo for "-64" in 64bit as check.
11110         * configure: Rebuilt.
11111
11112 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
11113
11114         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11115         appropriate.
11116
11117 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11118
11119         * c-parse.in (string): With -Wtraditional, warn if ANSI string
11120         concatenation is utilized.
11121
11122         * invoke.texi (-Wtraditional): Document it.
11123
11124 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11125
11126         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11127         Cast a ptrdiff_t to long and pass it to printf with %ld.
11128
11129 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
11130
11131         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11132         68881, we have no 68881 registers at all.
11133         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11134         value in a 68881 register if it is available.
11135
11136 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
11137
11138         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11139         for long long multiply-accumulate.
11140
11141 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11142
11143         * loop.c (insert_loop_mem): Undo last change.
11144
11145 1999-12-10  David S. Miller  <davem@redhat.com>
11146
11147         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11148         New functions.
11149         * config/sparc/sparc-protos.h: Add them.
11150         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11151         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11152         constraints which use those helpers.
11153         (EXTRA_CONSTRAINT): Use this new macro.
11154         * md.texi: Update sparc target constraints documentation.
11155         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11156         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11157         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11158         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11159         (movsf high/lo_sum split): Rework for new patterns.
11160         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11161
11162 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
11163
11164         * c-common.c (c_common_nodes_and_builtins):
11165         Create __builtin_ptrdiff_t and __builtin_size_t.
11166
11167 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
11168
11169         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11170
11171 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11172
11173         * regclass.c (globalize_reg): Re-instate test that allows
11174         fixed registers to be declared as a variable even after functions
11175         are defined.
11176
11177 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11178
11179         * i386.md (cpu attribute): Add "athlon".
11180         (athlon_decode): New attribute.
11181         (Athlon scheduling units definitions): New.
11182         (fcmp and shld patterns): Set athlon_decode to "vector".
11183         * i386.c (athlon_cost): New.
11184         (m_ATHLON): New.
11185         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11186         x86_use_sahf): Set for Athlon.
11187         (x86_use_fiop): Unset for Athlon.
11188         (override_options): Define Athlon alignments and "athlon" name.
11189         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11190         * i386.h (TARGET_ATHLON): New.
11191         (enum processor_type): Add PROCESSOR_ATHLON.
11192         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11193         for CPU_DEFAULT==5
11194         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11195
11196 1999-12-09  Andreas Jaeger  <aj@suse.de>
11197
11198         * loop.c (record_biv): Declare parameter as int.
11199
11200         * config/i386/i386-protos.h: Declare long_memory_operand.
11201
11202 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
11203
11204         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11205         EXPR_WITH_FILE_LOCATION.
11206
11207 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
11208
11209         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11210         in expander.
11211
11212         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11213
11214         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11215         updating code.
11216
11217 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
11218
11219         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11220         default on linux64 again.
11221         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11222         models for multilibing.
11223         * genmultilib: Accept | as alternative separator within a set in
11224         MULTILIB_OPTIONS.
11225
11226         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11227
11228         * calls.c (precompute_arguments): Make sure initial_value contains
11229         value pseudo which CSE expects.
11230         * cse.c (struct set): New entry orig_src.
11231         (cse_insn): Set it early on entry, use it for libcall EQUIV note
11232         replacement.
11233
11234 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
11235
11236         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11237
11238 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
11239
11240         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11241
11242 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
11243
11244         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11245         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11246
11247         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11248         if TARGET_ARCH32.
11249
11250         * longlong.h: Merge in changes from glibc.
11251         Also don't clobber %g2 register in 32bit SPARC assembly, so that
11252         -mno-app-regs libgcc can be compiled.
11253         * libgcc2.c: Add defines so that the updated longlong.h
11254         can be used in libgcc2.a. Also, make sure on most architectures
11255         (at least on all which have optimized code in longlong.h defined
11256         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11257
11258 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11259
11260         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11261         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11262         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11263         is GNU ld.
11264         * configure: Rebuilt.
11265
11266 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
11267
11268         * alpha.c (secondary_reload_class): For !BWX, sub-simode
11269         outputs require a register.
11270
11271 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
11272
11273         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11274         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
11275         functions like dptoul will be resolved.
11276         (libgcc2.a): Make sure that the object files from DPBIT are named
11277         differently (prefix `_dp') from those that would be coming from
11278         FPBIT.
11279
11280 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
11281
11282         * configure.in: When target is sparc* and tm_file contains 64,
11283         test for 64bit support in assembler.  If not supported, remove
11284         sparc/t-sol2-64 from target-dependent Makefile fragments.
11285         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11286         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11287         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11288         * acconfig.h (AS_SPARC64_FLAG): Added.
11289         * configure, config.in: Rebuilt.
11290         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11291         support.  Use AS_SPARC64_FLAG.
11292
11293 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
11294
11295         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11296         suitable for holding OFmode values so that gcc works with complex
11297         quad long doubles.
11298         (hard_64bit_mode_classes): Likewise.
11299
11300         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11301         so that it is actually matched.
11302         (sethi_di_medlow): Likewise.
11303
11304         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11305         as legitimate constant if -mvis.
11306         * config/sparc/sparc.md (movtf): Likewise.
11307         (clear_sf): Use const_double_operand.
11308         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11309
11310         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11311         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11312         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11313         routines, _Qp_* cannot be handled like that now.
11314         (INIT_TARGET_OPTABS): Likewise.
11315         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11316         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11317         sparc_emit_float_lib_cmp if ARCH64 and soft float.
11318         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11319         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11320         divtf3, sqrttf3): New expanders.
11321         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11322         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11323         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11324         non-_hq patterns.
11325
11326         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11327         * configure: Rebuilt.
11328         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11329         -mcpu is given and we're doing 64bit compiles.
11330
11331 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
11332
11333         * loop.h (struct induction): Add multi_insn_incr.
11334         * loop.c (basic_induction_var): New multi_insn_incr argument.
11335         Set it if we search back through previous insns for the biv.
11336         (record_biv): New multi_insn_incr argument; fill in struct induction.
11337         (strength_reduce): Discard an iv with multiple bivs, any of
11338         which require multiple insns to increment.
11339
11340 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11341
11342         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11343         documentation.
11344
11345 1999-12-06  David S. Miller  <davem@redhat.com>
11346
11347         * combine.c (check_promoted_subreg): Do not conditionalize this upon
11348         PROMOTE_FUNCTION_RETURN.
11349
11350 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
11351
11352         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11353         and handle REG_UNUSED note on insn.
11354
11355         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
11356         inner_mask instead of mask.
11357
11358 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
11359
11360         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11361         zero if there was an error.
11362
11363 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11364
11365         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11366         output string.
11367
11368         * longlong.h: Fix clobbers in SPARC asm statements.
11369
11370         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11371         valid sethi operations when TARGET_ARCH64.
11372
11373         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11374         always use move_by_pieces to avoid infinite recursion.
11375         (restore_fixed_argument_area): Likewise.
11376
11377         * combine.c (check_promoted_subreg, record_promoted_value): New
11378         functions.
11379         (combine_instructions): Use them to retain nonzero and sign bit
11380         information after SUBREGs are eliminated by optimizations in
11381         this pass if PROMOTE_FUNCTION_RETURN.
11382
11383         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11384         .register declaration. Don't use variables with __ prefixes.
11385
11386 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11387
11388         * fold-const.c (optimize_bit_field_compare): Only use one mode
11389         for both RHS and LHS in non-constant case.
11390
11391 1999-12-06  Nathan Sidwell  <nathan@acm.org>
11392
11393         * frame.c (start_fde_sort): Only allocate erratic array, if
11394         linear one was allocated. Return allocated flag.
11395         (fde_insert): Only insert, if there's a valid array.
11396         (fde_end_sort): Split, sort and merge if linear and erratic
11397         arrays exist, else just sort linear one.
11398         (search_fdes): New function. Linear search through original fde
11399         structure.
11400         (frame_init): Permit multiple initializations. Cope with
11401         memory shortages.
11402         (find_fde): Fallback on linear search, if failed to sort array.
11403         (__deregister_frame_info): Only free sorted array, if we
11404         allocated it.
11405
11406 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11407
11408         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11409
11410 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
11411
11412         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11413
11414 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
11415
11416         * tree.h (special_function_p): Declare.
11417         * calls.c (special_function_p): Make it global.  Don't take `name'
11418         as a parameter.  Fix typo in 1999-11-28 change.
11419         (expand_cal): Adjust.
11420
11421 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
11422
11423         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11424         * tree.h (EXPR_WFL_FILENAME): Define in terms of
11425         EXPR_WFL_FILENAME_NODE.
11426         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11427         the TREE_CHAIN.
11428         * print-tree.c (print_note): Print TREE_PRIVATE and
11429         TREE_PROTECTED.
11430
11431         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11432         the original die cannot be found.
11433
11434         * varray.h (varray_head_tag): Add elements_used.
11435         (VARRAY_PUSH): New macro.
11436         (VARRAY_POP): Likewise.
11437         (VARRAY_TOP): Likewise.
11438         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11439         types.
11440         * varray.c (varray_init): Initialize elements_used.
11441         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11442         (INTEGRATE_H): New variable.
11443         (integrate.o): Depend on INTEGRATE_H.
11444         (unroll.o): Likewise.
11445
11446         * function.h (insert_block_after_note): Declare.
11447         * function.c (insert_block_after_note): Split out from ...
11448         (retrofit_block): ... here.
11449
11450         * stmt.c (expand_fixup): Fix typo in comment.
11451
11452 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11453
11454         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11455         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11456         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11457         (regmove_optimize, fixup_match_1): Likewise.
11458
11459 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11460
11461         * flow.c (flow_loops_dump): Add missing argument when calling
11462         flow_loop_nested_p.
11463
11464 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
11465             Greg McGary  <gkm@gnu.org>
11466
11467         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11468         (init_attributes): Add A_NO_LIMIT_STACK.
11469         (decl_attributes): Handle A_NO_LIMIT_STACK.
11470         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11471         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11472         Handle stack bounds checking.
11473         * flags.h (flag_stack_check): Use the word 'probe' rather than
11474         'check', because the flag doesn't actually cause any checking to
11475         be done.
11476         * function.c (expand_function_start): Set
11477         current_function_limit_stack.
11478         * function.h (struct function): Add limit_stack.
11479         (current_function_limit_stack): Define.
11480         * invoke.texi (Code Gen Options): Document new options.
11481         * rtl.h: Declare stack_limit_rtx.
11482         * toplev.c (stack_limit_rtx): New variable.
11483         (decode_f_option): Handle new options -fstack-limit-register=REG,
11484         -fstack-limit-symbol=IDENT, -fno-stack-limit.
11485         (main): Add stack_limit_rtx as GC root.
11486         * tree.h (DECL_NO_LIMIT_STACK): New macro.
11487         (struct tree_decl): New member no_limit_stack.
11488
11489         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11490         stack_limit_rtx.
11491         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11492         (conditional_trap+1): Get new mnemonic correct.
11493         (conditional_trap+2): New pattern for DImode traps.
11494
11495         * config/m68k/m68k.c (output_function_prologue): Handle
11496         stack_limit_rtx.
11497         * config/m68k/m68k.md (trap): New insn.
11498         (conditional_trap): New insn.
11499         * md.texi (Standard Names): Document `trap' and
11500         `conditional_trap'.
11501         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11502         so a cc0 setter doesn't get emitted at some random place in the
11503         function.
11504
11505         * config/i960/i960.md (trap): New insn.
11506         (conditional_trap): New expander.
11507         (conditional_trap+1, conditional_trap+2): New insns for signed
11508         and unsigned cases.
11509         * config/i960/i960.c (i960_function_prologue): Use
11510         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
11511
11512 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
11513                           Geoffrey Keating  <geoffk@cygnus.com>
11514
11515         * flags.h (warn_padded, warn_packed): Add global var decls.
11516         * toplev.c (warn_padded, warn_packed): Add global var defns.
11517         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11518         * stor-layout.c (layout_record): Add local variable `type'
11519         to hold often-used TREE_TYPE (field).  Add local variable
11520         `unpacked_align' to hold alignment that would be in force
11521         if no `packed' attribute were present.  Warn if `packed' attribute
11522         is unnecessary, or even harmful.  Warn when gcc inserts padding
11523         to satisfy alignment requirements of members.  Use NULL_TREE
11524         when checking whether var_size is set.
11525         * invoke.texi: Document new flags.
11526
11527 1999-12-03  Nathan Sidwell  <nathan@acm.org>
11528
11529         * frame.c (fde_split): Reimplement to avoid variable sized array.
11530
11531 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11532
11533         * combine.c (try_combine): Before fixing up LOG_LINKS for the
11534         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11535
11536 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
11537
11538         * invoke.texi: Document the mips option -mno-crt0
11539
11540 1999-12-02  Mike Karr  <mkarr@mathworks.com>
11541
11542         * cccp.c (argdata): Added free_ptr member.
11543         (macroexpand): Initialize free_ptr of each argument. When an
11544         argument's buffers are freed, if the argument's free_ptr corresponds
11545         to a buffer on the input stack, then return the free_ptr to that stack
11546         frame, otherwise, free it.
11547         (macarg): If an argument begins and ends on the same input stack level,
11548         then transfer the free_ptr of that buffer to the argument in case
11549         the stack is popped during the processing of a subsequent argument.
11550
11551 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
11552
11553         * loop.c (note_reg_stored): New function.
11554         (struct note_reg_stored_arg): New structure.
11555         (try_copy_prop): Change to be more conservative; only replace within
11556         one extended basic block and stop replacing if a store to the
11557         replacement reg is seen.
11558
11559 1999-12-02  Nick Clifton  <nickc@cygnus.com>
11560
11561         * config/fp-bit.c: Initialise all fields of the NAN
11562         constants.
11563
11564         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11565         to HANDLE_PRAGMA.
11566
11567 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
11568
11569         * i386.md (extend?f?f2): Force the input into a register, not
11570         the output.
11571
11572 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
11573
11574         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11575         regclass' sake.
11576         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11577         alternative because setting up 64bit constant is usually costly,
11578         especially when reload is in progress or completed.
11579         (movdf_const_intreg_sp64): Likewise.
11580         (movdf_const_intreg split): Fix building up constants when
11581         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11582
11583 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
11584
11585         * combine.c (if_then_else_cond): Use const_true_rtx instead of
11586         const1_rtx for return values in EQ/NE comparison against (const_int 0)
11587         case.
11588
11589         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11590         (asm_file_start): Emit .am33 into assembly file when compiling for
11591         the AM33.
11592         (print_operand_address): Handle POST_INC addresses.
11593         (can_use_return_insn, initial_offset): Check AM33 registers too.
11594         (expand_prologue): Check & save AM33 registers too.
11595         (expand_epilogue): Similarly.
11596         (secondary_reload_class): Handle AM33 specific secondary reloads.
11597         (output_tst): Emit efficient code for the AM33 too.
11598         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11599         (TARGET_SWITCHES): Add -mam33 switch.
11600         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11601         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11602         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11603         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11604         (enum reg_class, REG_CLASS_NAMES): Likewise.
11605         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11606         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11607         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11608         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11609         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11610         (HAVE_POST_INCREMENT): Define.
11611         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11612         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11613         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11614         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11615         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11616         (zero_extend to SI from QI/HI): Likewise.
11617         (sign_extend to SI from QI/HI): Likewise.
11618         (mulsidi3, umulsidi3): New patterns for the AM33.
11619         (tstsi with zero extension from QI/HI): Add AM33 variants.
11620         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11621         (return_internal_regs, store_movm): Handle new AM33 registers.
11622         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11623         (LIBGCC, INSTALL_LIBGCC): Likewise.
11624         * invoke.texi: Document new flags.
11625
11626 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11627
11628         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11629         (addsi3_carry): Likewise.
11630         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11631         (sbbsi3_carry): Likewise.
11632         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11633         (mulhi3): Likewise.
11634         (test?i_1): Ensure that only one operand is memory.
11635         (conditional move patterns): likewise.
11636         (shift and rotate patterns): Rewrite to expander, add
11637         "binary_operator_ok" to the condition.
11638
11639         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11640         * i386.h (procesor_costs): Add movzbl_load field.
11641         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11642         non-Q registers, accept DImode registers anywhere.
11643         (Q_CLASS_P): New.
11644         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11645         * i386.c (*_cost): Set value for movxbl_load field.
11646
11647         * (addsi): New add to lea splitter.
11648         (ashlsi): Likewise.
11649         (lea to add/shift peep2): New.
11650
11651 1999-12-01  Mark Salter <msalter@cygnus.com>
11652
11653         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11654         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11655         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11656
11657 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11658
11659         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11660         * i386.md (movsi_xor): New.
11661         (movsi_or): New.
11662         (movsi_1, movhi_1, movqi_1): Remove.
11663         (movsi_2): Rename to movsi_1.
11664         (movhi_2): Rename to movhi_1.
11665         (movqi_2): Rename to movqi_1.
11666         (movdi_1): Remove; remove splitter.
11667         (movdi_2): Rename to movdi_1.
11668         (divmodsi4 splitter): Do not emit clobbers for move patterns.
11669         (long move peep2): Do not create QI or HI mode mov0s
11670         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11671
11672         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11673         rewrite splitters.
11674
11675         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11676         (abs?f2_if): Likewise.
11677
11678 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
11679
11680         * ggc.h (ggc_test_and_set_mark): New macro.
11681         (ggc_mark_rtx): Use ggc_test_and_set_mark.
11682         (ggc_mark_tree): Likewise.
11683         (ggc_mark_rtvec): Likewise.
11684         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11685
11686 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
11687
11688         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
11689         containing types.
11690         (decl_scope_table): Just an array of trees now.
11691         (push_decl_scope): Simplify.
11692         (dwarf2out_init): Adjust.
11693         (local_scope_p): New fn.
11694         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11695         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11696         (gen_typedef_die): Likewise.
11697         (gen_lexical_block_die): Don't call push/pop_decl_scope.
11698         (gen_inlined_subroutine_die): Likewise.
11699         (gen_abstract_function): Set current_function_decl temporarily.
11700         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11701         Handle block extern declarations.  Don't call push/pop_decl_scope.
11702         (gen_decl_die): Fix logic for block externs.
11703
11704 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11705
11706         * calls.c (special_function_p): Remove `realloc' and add `strdup'
11707         to the list of functions which have attribute malloc by default.
11708
11709 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11710
11711         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11712         integer constant does not match the traditional type, limit the
11713         warnings to cases where the base of the type is ten.
11714
11715         * invoke.texi (-Wtraditional): Document it.
11716
11717 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11718
11719         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11720         * rs6000.md: Only access a CONST_INT with INTVAL
11721
11722 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
11723
11724         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11725         (compute_nearerout): Likewise.
11726         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11727         size_t to unsigned long for formatting.
11728
11729 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11730
11731         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11732         Allow the user to override call-used/fixed state of %g2-5
11733         registers from the command line (with the exception of %g4 for
11734         embedded model).
11735         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11736         there is a higher chance of having a leaf function.
11737         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11738         for ARCH64 which has %ccr register.
11739         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11740         patterns.
11741         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11742         insn accept into delay slot any insn which does not use %[ol]
11743         registers.  Accept some LO_SUM and shift left by 1 for the normal
11744         restore case.
11745         (output_function_epilogue): Likewise.
11746         (epilogue_renumber): Added argument which inhibits any renumbering
11747         and just tests if the rtx does not use any %[ol] registers.
11748         (output_return): Reflect above change.
11749
11750 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11751
11752         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11753         aggregate passing for sizes <= 16 bytes.
11754
11755 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
11756
11757         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11758         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11759         * reload.c (find_dummy_reload): Likewise.
11760         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11761         * reload1.c (reload_as_needed): Likewise.
11762         * stupid.c (stupid_find_reg): Likewise.
11763         * tm.texi (Obsolete Register Macros): Delete section.
11764         * gmicro.h: Remove all traces of the two macros.
11765         * i386.h: Likewise.
11766         * m88k.h: Likewise.
11767         * mips.h: Likewise.
11768
11769 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
11770
11771         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11772         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11773         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11774         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11775         units for the sparclite86x chip.
11776         (flush): Revert October 14th change; add SImode specifically.
11777         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11778         * invoke.texi: Document it.
11779
11780 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
11781
11782         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11783         psimode_truncation_operand.
11784
11785         * config/mn10200/mn10200.c (psimode_truncation_operand): New
11786         function.  Return true if the operand is either a MEM valid
11787         for a PSImode address or not a MEM at all.
11788
11789         * config/mn10200/mn10200.md (truncsipsi2): Use
11790         psimode_truncation_operand.
11791
11792 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11793
11794         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11795         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11796         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11797         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11798         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11799         (flow_loop_level_compute, low_loops_level_compute): Likewise.
11800         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11801         * basic-block.h: Protect from multiple inclusion.
11802         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11803         (struct loops, struct loop): Define structures.
11804         * sbitmap.c (sbitmap_a_subset_b_p): New function.
11805         * sbitmap.h: Protect from multiple inclusion.
11806         (sbitmap_a_subset_b_p): Add prototype.
11807         * Makefile.in (LOOP_H): New macro.
11808         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11809
11810 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
11811
11812         * cppinit.c (CAT): The argument list of this macro may not contain
11813         spaces !
11814
11815 1999-11-29  David S. Miller  <davem@redhat.com>
11816
11817         Move quantity tables and register equivalence chains into
11818         per-qty and per-register structure arrays respectively.
11819         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
11820         qty_const_insn, qty_comparison_code, qty_comparison_const,
11821         qty_comparison_qty): Delete, replace with...
11822         (qty_table): this structure table.
11823         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
11824         (reg_eqv_table): this structure table.
11825         (make_new_qty): Add argument MODE.  Caller updated.
11826         Update to use qty_table and reg_eqv_table.
11827         (make_regs_eqv, delete_reg_equiv, insert_regs,
11828         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
11829         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
11830         cse_process_notes, cse_main, cse_basic_block): Likewise.
11831
11832 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11833
11834         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
11835         operation if C is negative.
11836         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
11837         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
11838         law for some divisions if constant is negative and change other
11839         divisions to the opposite rounding.
11840
11841         * expr.c (store_constructor_field): If bit position is not multiple
11842         of alignment of TARGET's mode, use BLKmode.
11843
11844         * expr.c (expand_expr_unaligned): Add more code from full case
11845         that is needed when OP0 is in a register.
11846
11847 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11848
11849         * dwarfout.c (field_byte_offset): Size can be zero if there was
11850         an error.
11851
11852 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
11853
11854         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
11855         (associate_trees): Delete unused var TEM.
11856         (extract_muldiv): Delete unused var CANCEL_P.
11857
11858         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
11859         (target_isinf, target_isnan, target_negative): Add return types to
11860         function definitions.
11861
11862 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
11863
11864         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
11865         * fixinc/hackshell.tpl: ditto
11866         * fixinc/fixtests.c(double_slash_test): more C++ header testing
11867         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
11868
11869 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
11870
11871         * reload.c (push_reload): When looking for a register to put into
11872         reg_rtx, make sure all hard regs in a multi-reg register are in the
11873         right class and nonfixed.
11874
11875         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
11876         pending_read_insns, pending_write_insns, pending_read_mems,
11877         pending_write_mems, pending_list_length, last_pending_memory_flush,
11878         last_function_call, sched_before_next_call): Move static variables
11879         into a structure.
11880         (bb_ prefixed versions): Replace with single array bb_deps.
11881         (struct deps): New structure.
11882         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
11883         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
11884         argument of type "struct deps *"; use that instead of global
11885         variables.  All callers changed.
11886         (init_rgn_data_dependencies): Delete function.
11887         (init_rtx_vector): Delete function.
11888         (init_deps): New function.
11889
11890         (free_pending_lists): Simplify, we always use the bb_deps array even
11891         if only one basic block.
11892         (compute_block_backward_dependences): Likewise.
11893         (schedule_region): Likewise.
11894
11895         (propagate_deps): New function, broken out of
11896         compute_block_backward_dependences.
11897         (compute_block_backward_dependences): Use it.
11898
11899         * alpha.md: Delete useless patterns that tried to work around
11900         register elimination problems.
11901
11902         * unroll.c (loop_iterations): Don't abort if iteration variable
11903         was made by loop.
11904
11905         From Joern Rennecke:
11906         * reload1.c (reloads_conflict): Reverse test comparing operand
11907         numbers when testing for conflict between output/outaddr reloads.
11908
11909 1999-11-29  David S. Miller  <davem@redhat.com>
11910
11911         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
11912         arg.
11913         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
11914
11915 1999-11-28  Robert Lipe  <robertl@cygnus.com>
11916
11917         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
11918         table from .fini into .dtor.
11919
11920 1999-11-28  Anthony Green  <green@cygnus.com>
11921
11922         * tree.h (struct tree_decl): Add malloc_flag.
11923         (DECL_IS_MALLOC): Define.
11924         * c-common.c (attrs): Add A_MALLOC attribute.
11925         (init_attributes): Add this attribute to the table.
11926         (decl_attributes): Handle malloc attribute.
11927         * calls.c (special_function_p): Check for the malloc attribute.
11928         * extend.texi (Function Attributes): Document malloc attribute.
11929
11930 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
11931
11932         * pa.md (reload shift-add patterns): Remove.
11933
11934 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11935
11936         * reorg.c (dbr_schedule) Print more statistics. Corrected
11937         problem when printing info when 3 delay slots are filled.
11938
11939 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
11940
11941         * combine.c (setup_incoming_promotions): Pass an outgoing
11942         regno to FUNCTION_ARG_REGNO_P which it expects.
11943
11944 1999-11-28  Andreas Jaeger  <aj@suse.de>
11945
11946         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
11947
11948 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
11949
11950         * cccp.c (do_include): Avoid initialization of automatic variable.
11951
11952         * integrate.c (mark_stores): Function definition made void, to match
11953         previous declaration.
11954         * regclass.c (dump_regclass): Ditto.
11955         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
11956
11957 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11958
11959         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
11960         known to be multiple of divisor.
11961
11962         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
11963
11964         * combine.c (try_combine): Add code to try to merge a set of a
11965         two-word pseudo to a constant with a setting of one of those words
11966         to a constant.
11967
11968         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
11969         (split_tree): Completely rework to make more general.
11970         (make_range, fold): Call negate_expr.
11971         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
11972         (fold, associate): Call new split_tree and associate_trees.
11973         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
11974
11975 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
11976
11977         * loop.c (try_copy_prop): Avoid GNU C extension.
11978
11979 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
11980
11981         * except.c (init_eh_for_function): Still zero eh_return_context,
11982         eh_return_stack_adjust, and eh_return_handler.
11983
11984         * except.h (eh_status): Adjust documentation for x_protect_list.
11985         (begin_protect_partials): New function.
11986         * except.c (enqueue_eh_entry): Fix formatting.
11987         (get_first_handler): Add consistency check.
11988         (add_partial_entry): Adjust usage of protect_list.
11989         (emit_cleanup_handler): Save and restore ehqueue.
11990         (expand_start_all_catch): Add comment.
11991         (begin_protect_partials): New function.
11992         (end_protect_partials): Adjust usage of protect_list.
11993         (init_eh_for_function): Use xcalloc.
11994
11995 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11996
11997         * c-common.c (check_format_info): Don't call a variadic function
11998         with a non-literal format string.
11999
12000         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12001
12002         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12003         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12004         Likewise.
12005
12006         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12007         Likewise.
12008
12009         * collect2.c (collect_wait): Likewise.
12010
12011         * dbxout.c (dbxout_type): Likewise.
12012
12013         * gcc.c (do_spec_1): Likewise.
12014
12015         * genemit.c (gen_insn, gen_expand): Likewise.
12016
12017         * genrecog.c (write_switch, write_subroutine): Likewise.
12018
12019         * mips-tfile.c (catch_signal, botch): Likewise.
12020
12021         * print-rtl.c (print_rtx): Likewise.
12022
12023         * toplev.c (default_print_error_function, report_error_function,
12024         _fatal_insn): Likewise.
12025
12026 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12027
12028         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12029
12030 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12031
12032         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12033         operations when needed.
12034         * i386.md (fop_?f_comm): New.
12035         (fop_?f_1): Do not accept commutative operands.
12036
12037 1999-11-25  Andreas Jaeger  <aj@suse.de>
12038
12039         * config/mips/mips.md (casesi_internal): Add missing brace.
12040
12041 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
12042
12043         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12044         (splice_child_die): Handle moving a child DIE from the declaration
12045         DIE of a class to its specification.
12046         (gen_struct_or_union_type_die): Use 'complete' consistently.
12047         (gen_decl_die): Generate the virtual context DIE first.
12048         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12049
12050 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
12051
12052         * config/mips/mips.md (call_value_multiple_interanal1): New.
12053
12054 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
12055
12056         * dwarf2out.c (free_AT, free_die): New fns.
12057         (remove_children): Call them.
12058         (output_line_info): Disable removal of duplicate notes.
12059
12060         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12061         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12062         means pretend the type isn't defined.
12063         Don't defer emitting types.
12064         (gen_type_die_for_member): New fn.
12065         (gen_decl_die): Call it.
12066         (splice_child_die): New fn.
12067         (gen_member_die): Call it rather than generate duplicate dies.
12068
12069         Defer emitting information for the abstract instance of an inline
12070         until we either inline it or emit an out-of-line copy.
12071         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12072         from output_inline_function if DECL_ABSTRACT is also set.
12073         (block_ultimate_origin): Likewise.
12074         (gen_abstract_function): New fn.
12075         (gen_decl_die, gen_inlined_subroutine_die): Call it.
12076         (gen_subprogram_die):  An abstract instance is not a declaration
12077         just because it doesn't match current_function_decl.  Don't abort
12078         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
12079         has an abstract origin.
12080         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12081         abstract instance here.
12082
12083 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
12084
12085         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12086         where we need to reload fpul from a system register.
12087
12088 1999-11-24  Andreas Jaeger  <aj@suse.de>
12089
12090         * config/mips/linux.h (CPP_PREDEFINES): Added.
12091         (LINK_SPEC): Remove -Y since this is only needed on sparc.
12092
12093 1999-11-24  Andreas Jaeger  <aj@suse.de>
12094
12095         * config/mips/linux.h (TARGET_VERSION): Added.
12096         (HANDLE_SYSV_PRAGMA): Added.
12097         (DEFAULT_VTABLE_THUNKS): Added.
12098
12099 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12100
12101         * local-alloc.c (qty): New structure and static variable.
12102         (qty_phys_reg): Remove, all references changed to qty.
12103         (qty_n_refs): Likewise.
12104         (qty_min_class): Likewise.
12105         (qty_birth): Likewise.
12106         (qty_death): Likewise.
12107         (qty_size): Likewise.
12108         (qty_mode): Likewise.
12109         (qty_n_calls_crossed): Likewise.
12110         (qty_alternate_class): Likewise.
12111         (qty_changes_size): Likewise.
12112         (qty_first_reg): Likewise.
12113         (alloc_qty): Rename variable QTY to QTYNO.
12114         (finf_free_reg): Likewise.
12115         (local_alloc): Allocate qty, do not allocate the removed variables.
12116
12117 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
12118
12119         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12120         when -membedded-pic is passed.
12121
12122         * config/mips/mips.md (casesi): Handle 64-bit case too.
12123         (casesi_internal_di): New insn.
12124
12125         * config/mips/mips.c (embedded_pic_offset): Always make the
12126         embedded-pic subtractions relative to the name of the current
12127         function by use of the magic string "..CURRENT_FUNCTION".
12128         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12129
12130 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
12131
12132         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12133         of (const_int 0), when what we really care about is
12134         whether it's a zero constant anyway.
12135         (div_trap_mips16): Likewise.
12136
12137 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
12138
12139         * loop.c (loop_optimize): Always find_loop_tree_blocks and
12140         unroll_block_trees when generating debuggable code.
12141
12142         * tree.h (unsave_expr_1): New function.
12143         (lang_unsave): New variable.
12144         (get_callee_fndecl): New function.
12145         * tree.c (unsave_expr_now_r): New function.
12146         (lang_unsave): Define.
12147         (unsave_expr_1): Likewise.
12148         (unsave_expr_now_r): Split out from unsave_expr_now.
12149         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
12150         call unsave_expr_now_r.
12151         (get_callee_fndecl): Define.
12152
12153         * Makefile.in (gencheck): Don't depend on lang_tree_files.
12154         (gencheck.o): Do depend on lang_tree_files.
12155
12156         * integrate.h (copy_decl_for_inlining): New declaration.
12157         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12158         (copy_decl_for_inlining): New function.
12159         (integrate_parm_decls): Use it.
12160         (integrate_decl_tree): Likewise.
12161
12162 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
12163
12164         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12165         the second two from the first.
12166         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12167         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12168         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12169         ISA_HAS_FP4.
12170         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12171         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12172         ISA_HAS_FP4.
12173
12174 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
12175
12176         * pa.md (call_internal_symref, call_value_internal_symref): No mode
12177         needed on the address operand.
12178         * pa.c (call_operand_address): Check for the correct mode.
12179
12180 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
12181
12182         * loop.c: Include "basic-block.h".
12183         (try_copy_prop, replace_loop_reg): New functions.
12184         (load_mems): Detect registers that just hold copies of the hoisted
12185         mem, and call try_copy_prop to eliminate them.
12186         * Makefile.in (loop.o): Update dependencies.
12187
12188 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
12189
12190         * Makefile.in (gencheck.o): Depend on gencheck.h.
12191         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12192         (insn-peep.o): Depend on except.h and function.h.
12193         (insn-attrtab.o): Depend on RECOG_H.
12194         (insn-output.o): Depend on toplev.h and flags.h.
12195         (gengenrtl.o): Depend on real.h.
12196         (gen-protos.o): Depend on cpplib.h and cpphash.h.
12197         Unify all dependencies to be on RECOG_H rather than recog.h.
12198
12199 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12200
12201         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12202         * configure.in: Try building a bi-arch 32/64-bit compiler on
12203         sparc-*-solaris2.7 and higher.
12204         * configure: Rebuild.
12205
12206 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
12207
12208         * config/freebsd.h: New, FreeBSD architecture independent file.
12209         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12210         independent pieces.
12211         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12212         directly by i386/freebsd.h.
12213         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12214         independent configuration file.
12215         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12216         directly by i386/freebsd.h.
12217         * configure: Rebuilt.
12218
12219         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12220         which is in the user's namespace.
12221         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12222         `i386' which is not in our namespace.
12223
12224 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
12225
12226         * invoke.texi (ARM Options): Add in -mno-alignment-traps
12227
12228 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12229
12230         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12231         (add_dwarf_attr, add_child_die): Just push onto the front.
12232         (reverse_die_lists): New fn.
12233         (add_sibling_attributes): Use it.
12234         (push_decl_scope): Reorganize.
12235         (add_name_and_src_coords_attributes): Don't set file and line for
12236         an artificial decl.
12237         (gen_subprogram_die): An artificial function doesn't need to match
12238         file and line.
12239         (gen_compile_unit_die): Return the generated die.  Only add
12240         AT_comp_dir if the filename is relative.
12241         (remove_AT): Simplify loop.  Also free string values.
12242         (output_die): A DIE ref can't be null.
12243         (output_value_format, value_format): Take a dw_attr_ref.
12244         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12245         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12246         AT_addr, AT_lbl): New fns.
12247         (various): Use them.
12248         (various): Constify.
12249
12250 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12251
12252         * combine.c (combine_simplify_rtx): When handling a SUBREG,
12253         take SUBREG_WORD into account.
12254         (if_then_else_cond): Likewise.
12255
12256 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12257
12258         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12259         clause from BSD license, pursuant with
12260
12261           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12262
12263 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
12264
12265         * loop.c (load_mems): Reformat slightly.
12266         * basic-block.h (regset_head): New typedef.
12267         (INIT_REG_SET): New macro.
12268
12269 1999-11-22  Bruce Korb  <autogen@linuxbox.com
12270
12271         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12272         (mips-dec-bsd*): non-functional code
12273         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12274
12275         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12276         added three replacement fixes
12277         (no_double_slash): removed comments that are not (any longer) pertinent
12278         (bad_lval): this fix currently runs against many files.
12279         The comment seems to indicate that we should select for files
12280         containing 'pragma extern_prefix'.
12281
12282         * fixinc/fixinc.x86-linux-gnu: deleted
12283         * fixinc/inclhack.sh:  regen
12284         * fixinc/fixincl.x:  regen
12285         * fixinc/fixincl.sh:  regen
12286
12287 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
12288
12289         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12290         its code is INSN and it has no notes.
12291
12292 1999-11-22  Andrew Haley  <aph@cygnus.com>
12293
12294         * varasm.c (function_defined): Remove.
12295         (make_function_rtl): Don't set function_defined.
12296         (make_decl_rtl): Remove global register warning.
12297         * regclass.c (no_global_reg_vars): New variable.
12298         (globalize_reg): Warn if function has already been defined.
12299         (regclass_init): Set no_global_reg_vars.
12300
12301 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12302
12303         * regclass.c (reg_pref): New structure and static variable
12304         (prefclass): Delete.
12305         (altclass): Delete.
12306         (all uses of prefclass and altclass): Use reg_pref instead.
12307
12308 1999-11-21  Nick Clifton  <nickc@cygnus.com>
12309
12310         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12311         -malignment-traps.
12312         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12313         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12314         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12315
12316 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
12317
12318         * varasm.c (output_constructor): Solve problem with long long
12319         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12320
12321 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12322
12323         * global.c (allocno): New structure and static variable.
12324         (allocno_reg): Remove, all references replaced by allocno.
12325         (allocno_size): Likewise.
12326         (hard_reg_conflicts): Likewise.
12327         (hard_reg_preferences): Likewise.
12328         (hard_reg_copy_preferences): Likewise.
12329         (hard_reg_full_preferences): Likewise.
12330         (regs_someone_prefers): Likewise.
12331         (allocno_calls_crossed): Likewise.
12332         (allocno_n_refs): Likewise.
12333         (allocno_live_length): Likewise.
12334         (find_reg): Rename ALLOCNO to NUM.
12335
12336         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12337         references updated.
12338         (may_move_out_cost): New variable.
12339         (init_reg_sets_1): Initialize may_move_out_cost.
12340         (record_reg_classes): Use may_move_out_cost.
12341
12342         * regclass.c (dump_regclass): New function.
12343         (regclass): New parameter DUMP, call DUMP_REGCLASS.
12344         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12345         pass rtl_dump_file to regclass.
12346         * rtl.h (regclass): Update prototype.
12347
12348 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12349
12350         * i386.md (neg, not and abs patterns): Revmap to use
12351         ix86_expand_unary_operator and ix86_unary_operator_ok.
12352         (add?f and sub?f expanders): Force operand 1 to register.
12353         * i386.c (ix86_expand_unary_operator): Rewrite.
12354         (ix86_unary_operator_ok): Ensure that memory operands
12355         match real opcode.
12356         (ix86_binary_operator_ok): Do not allow operand 1 to
12357         come into memory and operand 0 not.
12358         (ix86_expand_binary_operator): Ensure that
12359         src1 is not non-matching memory.
12360
12361         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12362         to support integer registers and memory.
12363         (abss?2_integer): Likewise.
12364
12365         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12366         (REG_CLASS_NAMES): Likewise.
12367         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12368         and GENERAL_REGS.
12369         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12370         (movsf): Likewise; unify 4th and 5th alternative.
12371         (pushdf): Likewise.
12372         (movdf_1): Likewise; rename to movdf_integer.
12373         (pushxf): Likewise; rename to pushxf_integer; fix output template;
12374         remove redundant splitter.
12375         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12376         (movdf_nointeger): New.
12377         (movxf_nointeger): New.
12378         (pushxf_nointeger): New.
12379
12380         * i386.md (extend?f?f): Split to expander and pattern, refuse two
12381         memory operands in patterns.
12382         (fop*): Refuse two memory operands.
12383
12384         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12385         on !TARGET_USE_CLTD CPUs.
12386
12387 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
12388
12389         * extend.texi: Document C++ restricted pointers and references.
12390
12391 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12392
12393         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12394         (invalidate_skipped_set): Call it unconditionally.
12395         (cse_set_around_loop): Likewise.
12396
12397 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12398
12399         * rtl.texi (mem): Add documentation for alias-set argument
12400         to RTX `mem'.
12401
12402 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12403
12404         * i386.h (struct_processor_costs): New fields int_load, int_store,
12405         fp_move, fp_load and fp_store
12406         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12407         fp->int moves
12408         (MEMORY_MOVE_COST): New macro.
12409         * i386.c (386_cost): Define new fields.
12410         (i486_cost): Likewise.
12411         (pentium_cost): Likewise.
12412         (pentiumpro_cost): Likewise.
12413         (k6_cost): Likewise.
12414
12415 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
12416                           Geoffrey Keating  <geoffk@cygnus.com>
12417
12418         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12419
12420         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12421         MASK_ALIGN_INT.
12422
12423         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12424         (TARGET_STRICT_ALIGNMENT): New macro.
12425         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12426         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12427         * invoke.texi (M680x0 Options): Document -mstrict-align.
12428
12429 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
12430                           Richard Henderson  <rth@cygnus.com>
12431
12432         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12433         (ix86_split_long_move): Declare.
12434         * i386.c (split_xf, ix86_split_movdi): Remove.
12435         (ix86_split_to_parts, ix86_split_long_move): New.
12436         * i386.md (dimode move splitters): Use ix86_split_long_move.
12437         (dfmode move splitters): Likewise.
12438         (xfmode move splitters): Likewise.
12439         (movsf_1): Allow F->r.
12440         (movdf_1, movxf_1): Allow F->ro.
12441
12442 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12443
12444         * except.h (struct eh_entry): Add goto_entry_p.
12445         (eh_region_from_symbol): Remove prototype.
12446         * except.c (find_func_region_from_symbol): New function.
12447         (emit_cleanup_handler): Likewise.
12448         (eh_region_from_symbol): Make it static.
12449         (add_new_handler): Verify the argument.
12450         (find_func_region): Update comment.
12451         (expand_eh_region_end): Expand handlers here, rater than waiting
12452         until expand_leftover_cleanups or start_all_catch.
12453         (expand_leftover_cleanups): Don't expand here.
12454         (expand_start_all_catch): Or here.
12455         (expand_rethrow): Check the return value from find_func_region.
12456         * function.c (expand_function_end): Emit the catch_clauses.
12457
12458 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
12459
12460         * integrate.c (expand_inline_function): Add necessary check for NULL.
12461
12462 1999-11-18  Nick Clifton  <nickc@cygnus.com>
12463
12464         * toplev.c (main): Correctly detect an unrecognised option.
12465
12466         * cppinit.c (cpp_handle_option): Do not claim to have consumed
12467         a -f option if it has not been recognised.
12468
12469 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
12470
12471         * basic-block.h (update_life_extent): Remove trailing comma on
12472         enumeration type list.
12473
12474 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12475
12476         * varasm.c (output_constructor) Solved problem with long long
12477         bitfields. Corrected calculating this_time and shift. Also
12478         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12479
12480 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
12481
12482         * flow.c (split_edge): Take looping structure into account when
12483         determining where to put the new block note.
12484
12485 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
12486
12487         * Makefile.in (ggc-none.o): Provide host specific version if
12488         needed.
12489
12490 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
12491
12492         * cse.c (delete_trivially_dead_insns): Identify no-op insns
12493         containing subregs too.
12494
12495 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12496
12497         * invoke.texi: Add documentation for -muninit-const-in-rodata.
12498         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12499         (TARGET_UNINIT_CONST_IN_RODATA): Define.
12500         (text_section): Add switches -munint-const-in-rodata and
12501         -mno-uninit-const-in-rodata.
12502         (ASM_OUTPUT_COMMON): Remove.
12503         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12504         const objects should be placed in read-only data. Otherwise declare
12505         them in common.
12506
12507 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
12508
12509         * jump.c (jump_optimize_1): Revert last change.
12510
12511 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
12512
12513         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12514         test if optimizing for size.
12515
12516 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12517
12518         * Makefile.in (toplev.o): Depend on except.h.
12519         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12520
12521 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12522
12523         * i386.md (divmodsi4): Rewrite to expander.
12524         (*divmodsi4_nocltd): New.
12525         (*divmodsi4_cltd): New.
12526         (divmodsi4 splitter): Handle the case when input comes in edx.
12527         (udivmodhi4): Do not use constraints in exander.
12528         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12529
12530 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
12531
12532         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12533         for the common case.
12534
12535 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
12536
12537         * explow.c (hard_function_value): Add outgoing argument.
12538         * expr.h (hard_function_value): Declare it.
12539         * calls.c (expand_call, emit_library_call_value): Update callers.
12540         * function.c (aggregate_value_p): Ditto.
12541         (diddle_return_value): Must look at the outgoing registers
12542         on archs with register windows.
12543
12544 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
12545
12546         * alpha.c (alpha_build_va_list): Use make_lang_type and
12547         initialize TYPE_NAME for the va_list record.
12548
12549         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12550
12551         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12552         for printing.
12553         * ggc.h (struct ggc_statistics): Rearrange elements for better
12554         packing on 64-bit hosts.
12555         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12556         (compute_nearerout): Likewise.
12557
12558 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
12559
12560         * config/rs6000/rs6000.c (first_reg_to_save): Save
12561         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12562
12563 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
12564
12565         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12566         notion of nesting to find the DIE for a type or function.
12567         DIEs can go in limbo even if we got a context_die.
12568         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12569         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12570         for local type.
12571         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12572         (gen_type_die): Writing out the context doesn't cause member class
12573         template instantiations to be written out as well.
12574
12575 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
12576
12577         * rs6000.h (ASM_OUTPUT_DEF): New.
12578         Based on proposed addition from David Edelsohn.
12579
12580 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
12581             Bruce Korb  <autogen@linuxbox.com>
12582
12583         * fixinc/inclhack.def
12584         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
12585         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
12586                 in net/inet.h.
12587         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
12588         (svr4_endian): enabled with SVR5
12589         (svr4_mkdev): simplified syntax and enabled with SVR5
12590
12591 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
12592
12593         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12594         * configure: Rebuilt.
12595         * config/t-freebsd-thread: New file.
12596
12597 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
12598
12599         * i386.c (ix86_decompose_address): Verify the base is a REG
12600         before trying to examine its register number.
12601
12602         * basic-block.h: Remove all #defines and prototypes related to
12603         integer lists.
12604         (free_bb_mem, compute_preds_succs): Remove prototype.
12605         * rtl.h (free_bb_mem): Remove prototype.
12606         * flow.c (alloc_int_list_node); Remove function.
12607         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12608         (compute_preds_succs, free_bb_mem): Likewise.
12609         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12610         * toplev.c (rest_of_compilation): Likewise.
12611         * haifa-sched.c (build_control_flow): Use flow generated edge
12612         list to build the haifa specific edge list.
12613         (find_rgns): Use new CFG data structures instead of pred/succ lists.
12614         (schedule_insns): Do not build pred/succ lists anymore.  Instead
12615         build the edge table.
12616
12617         * basic-block.h (dump_bb_data): Remove declaration.
12618         * flow.c (dump_bb_data): Remove function.
12619         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12620         (sbitmap_union_of_predsucc): Likewise.
12621
12622         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12623         argument.  All callers changed.
12624         (delete_null_pointer_checks_1): No longer need to compute the
12625         pred/succ lists.
12626
12627         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12628         All callers changed.
12629         (pre_expr_reaches_here_p_work): Likewise.
12630         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12631         * lcm.c (compute_laterin): Fix initialization of LATER.
12632         (compute_nearerout): Similarly for NEARER.
12633
12634 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12635
12636         * cse.c (set_nonvarying_address_components): Delete unused function.
12637         (refers_to_p): Likewise.
12638
12639 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
12640
12641         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12642         needed.
12643
12644 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12645
12646         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12647         definition in do while (0).
12648
12649 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
12650
12651         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12652
12653 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
12654
12655         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12656
12657 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
12658
12659         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12660         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12661         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12662         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12663
12664         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12665         saved on the stack.  Output more accurate stack frame statistics
12666         into assembler file.
12667
12668 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
12669
12670         * genextract.c (record_insn_name): New function.
12671         (get_insn_name): No longer a stub.
12672         (main): Call record_insn_name for each insn.  After each label
12673         written, print the insn name in a comment.
12674
12675 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12676
12677         * output.h (const_section, init_section, fini_section): Add
12678         prototypes.
12679
12680         * alpha/elf.h (const_section): Delete declaration.
12681
12682         * svr4.h (const_section): Likewise.
12683
12684 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
12685
12686         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12687         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12688         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12689         expressions.
12690         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12691         variable-sized array bounds.
12692
12693 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
12694
12695         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
12696         ASM_OUTPUT_LABEL.
12697
12698 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12699
12700         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12701         addresses the same way GO_IF_LEGITIMATE_INDEX does.
12702
12703 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12704
12705         * cse.c (hash_arg_in_struct): Delete.
12706         (struct table_elt): Delete elt in_struct.
12707         (struct set): Delete elt src_in_struct.
12708         (merge_equiv_classes): Don't set either hash_arg_in_struct or
12709         the corresponding in_struct elts.
12710         (canon_hash): Likewise.
12711         (safe_hash): Likewise.
12712         (find_best_addr): Likewise.
12713         (record_jump_cond): Likewise.
12714         (cse_insn): Likewise.
12715
12716 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
12717
12718         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12719
12720         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12721         unsigned types.
12722
12723 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
12724
12725         * function.c (diddle_return_value): Put back check that the DECL_RTL
12726         for the function is a register.
12727
12728         * function.c (diddle_return_value): Use hard_function_value to
12729         get an rtx suitable for use in the USE/CLOBBER insn.
12730
12731         * global.c (global_conflicts): Update comments.
12732         (record_conflicts): No need to record conflicts between pseudos here.
12733
12734 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
12735
12736         * fixinc/fixincl.c: Added verbose levels for status messages
12737
12738 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12739
12740         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12741         operand as argument to expand_and or expand_binop.
12742
12743 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
12744
12745         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12746         gcc_add_string_root.
12747
12748 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
12749
12750         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12751
12752 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
12753
12754         * flow.c (compute_flow_dominators): Initially put all blocks on
12755         the worklist.
12756         * lcm.c (compute_antinout_edge, compute_available): Similarly.
12757         * gcse.c (compute_cprop_avinout): Remove.
12758         (compute_cprop_data): Use compute_available.
12759         (delete_null_pointer_checks_1): Use compute_available.
12760
12761         * basic-block.h (compute_available): Returns a void now.
12762         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12763         to return a value anymore.
12764         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12765         worklists.  Fix boundary cases. Compute maximal solutions.
12766         (compute_laterin, compute_nearerout): Similarly.
12767
12768         * dwarf2out.c (add_AT_location_description): Allow
12769         (mem (plus (pseudo) (...)) too.
12770
12771 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
12772
12773         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12774
12775 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
12776                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12777
12778         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12779
12780         * gansidecl.h: Likewise.
12781
12782         * rtl.c: Likewise.
12783
12784         * rtl.h: Likewise.
12785
12786         * toplev.h: Likewise.
12787
12788         * tree.c: Likewise.
12789
12790         * tree.h: Likewise.
12791
12792         * varray.c: Likewise.
12793
12794         * varray.h: Likewise.
12795
12796 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
12797
12798         * gcov.c (struct arcdata): Add hits and total, remove prob.
12799         (output_branch_counts): New.
12800         (process_args): Set output_branch_counts if -c.
12801         (calculate_branch_probs): Store hits and total instead of
12802         percentage.
12803         (output_data): Emit counts if output_branch_counts is true.
12804         * gcov.texi (Invoking Gcov): Document -c switch..
12805
12806 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
12807
12808         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12809         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12810
12811 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
12812
12813         * invoke.texi (C Dialect Options): Add missing builtins from
12814         c-common.c to list.
12815         * extend.texi (Other Builtins): Copy to this list.
12816
12817 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12818
12819         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
12820         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
12821         redundant bitmap.h.
12822
12823 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
12824
12825         * flow.c (compute_flow_dominators): No longer treat basic block 0
12826         or (n_basic_blocks - 1) specially.  Clear the AUX field before
12827         starting computation of doms/pdoms.  Fix initial state for pdoms.
12828
12829 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12830
12831         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
12832         match rtl.o's: added ggc.h and toplev.h
12833         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
12834         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
12835         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
12836
12837 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
12838
12839         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
12840         from HAVE_DOS_BASED_FILESYSTEM.
12841         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
12842         HAVE_DOS_BASED_FILESYSTEM.
12843         (main): Likewise.
12844         (split_directories): Only special-case DOS file names if
12845         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
12846         instead of explicit tests.  Conditionalize on !VMS.
12847         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
12848         tests.  Conditionalize on !VMS.
12849         (process_command): Only use make_relative_prefix if !VMS.
12850         (free_split_directories): Conditionalize on !VMS.
12851         (DIR_UP): Conditionalize on !VMS.
12852
12853 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12854
12855         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
12856
12857 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12858
12859         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
12860         case.
12861
12862 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
12863
12864         * invoke.texi (Environment Variables): Document relative path
12865         lookup.
12866         * gcc.c (DIR_UP): If not defined, define as "..".
12867         (standard_bindir_prefix): New static, holds target location to
12868         install binaries.
12869         (split_directories): New function to split a filename into
12870         component directories.
12871         (free_split_directories): New function, release memory allocated
12872         by split_directories.
12873         (make_relative_prefix): New function, make a relative pathname if
12874         the compiler is not in the expected location.
12875         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
12876         can figure out an appropriate prefix from argv[0].
12877         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
12878         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
12879         STANDARD_BINDIR_PREFIX.
12880
12881 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12882
12883         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
12884         in c4x.c.
12885         * config/c4x/c4x.h: Moved prototypes to c4x.h.
12886         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
12887         c4x_secondary_memory_needed) Delete.
12888         (fp_zero_operand): Add mode argument.
12889
12890 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
12891
12892         * reload1.c (reload_reg_free_for_value_p): Don't use a register
12893         that is in reload_reg_used.
12894
12895 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
12896
12897         * config/arm/arm-protos.h: New file: Prototypes for functions
12898         defined in arm.c and pe.c.
12899         * config/arm/arm.h: Fix compile time warnings.
12900         * config/arm/arm.c: Fix compile time warnings.
12901         * config/arm/pe.h: Fix compile time warnings.
12902         * config/arm/aout.h: Fix compile time warnings.
12903
12904 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
12905
12906         * config/m32r/m32r-protos.h: New file: Prototypes for functions
12907         defined in m32r.c
12908
12909         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
12910         Add support for subtargets.
12911         Add prototypes for new predicates.
12912         Add scheduling macros.
12913
12914         * config/m32r/m32r.c: Fix compile time warnings.
12915         (int8_operand): New predicate function.
12916         (reg_or_cmp_int16_operand): New predicate function.
12917         (extend_operand): New predicate function.
12918         (m32r_adjust_code): New scheduling function.
12919         (m32r_adjust_priorty): New scheduling function.
12920         (m32r_sched_init): New scheduling function.
12921         (m32r_sched_reorder): New scheduling function.
12922         (m32r_sched_variable_issue): New scheduling function.
12923         (direct_return): New codegen function.
12924         (m32r_not_same_reg): New rtl testsing function.
12925
12926         * config/m32r/m32r.md: Fix compile time warnings.
12927         Add support for pre decrement and post increment memory
12928         references.
12929         Add S<cc> patterns.
12930         Add fabs patterns.
12931
12932 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12933
12934         * global.c (EXECUTE_IF_CONFLICT): Don't define.
12935         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
12936         (find_reg): Likewise.
12937
12938 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
12939
12940         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
12941         to avoid assembler errors.
12942
12943 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
12944
12945         * config/v850/v850-protos.h: New file: Prototypes for functions
12946         defined in v850.c
12947         * config/v850/v850.h: Move prototypes to v850-protos.h
12948         * config/v850/v850.c: Move prototypes to v850-protos.h
12949         * config/v850/v850.md: Fix compile time warnings.
12950
12951         * config/fr30/fr30-protos.h: New file: Prototypes for functions
12952         defined in fr30.c
12953         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
12954         * config/fr30/fr30.c: Fix compile time warnings.
12955         * config/fr30/fr30.md: Fix compile time warnings.
12956
12957 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
12958
12959         * tree.h (get_containing_scope): Declare it.
12960         * tree.c (get_containing_scope): New fucntion.
12961         (decl_function_context): Use it.
12962         * toplev.c (rest_of_compilation): Use get_containing_scope.
12963
12964 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12965
12966         * Makefile.in (rtl.o): Depend on toplev.h.
12967
12968 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
12969
12970         * cse.c (delete_trivially_dead_insns): Replace alloca with
12971         xmalloc/xcalloc.
12972         * except.c (update_rethrow_references): Likewise.
12973         (init_eh_nesting_info): Likewise.
12974         * function.c (identify_blocks): Likewise.
12975         * gcse.c (dump_hash_table): Likewise.
12976         * graph.c (print_rtl_graph_with_bb): Likewise.
12977         * loop.c (combine_movables): Likewise.
12978         (move_movables): Likewise.
12979         (count_loop_regs_set): Likewise.
12980         (strength_reduce): Likewise.
12981         * profile.c (compute_branch_probabilities): New function, split
12982         out from ...
12983         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
12984         * regclass.c (regclass): Likewise.
12985         * regmove.c (regmove_optimize): Likewise.
12986         * toplev.c (compile_file): Likewise.
12987         (main): Don't mess with the stack rlimit.
12988
12989 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
12990
12991         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
12992         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
12993
12994 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
12995
12996         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
12997
12998 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
12999
13000         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13001         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13002         macro expansion.
13003
13004 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
13005
13006         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13007
13008 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
13009
13010         * gcse.c (post_dominators): Kill.
13011         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13012         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
13013         pass in a pdom array since we do not need pdoms.
13014         * haifa-sched.c (schedule_insns): Similarly.
13015         * flow.c (compute_dominators): Remove dead function.
13016         (compute_flow_dominators): Do not compute doms or pdoms if the
13017         caller does not request them.  Split up loop to build doms and
13018         pdoms.  Use a worklist to compute doms and pdoms.
13019         * basic-block.h (compute_dominators): Remove prototype.
13020
13021 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
13022
13023         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13024         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13025         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13026         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13027         (cant_move, fed_by_spec_load, is_load_insn): Remove.
13028         (schedule_region): Remove unused variable.
13029         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13030
13031 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
13032
13033         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13034         (update_equiv_regs): Likewise.
13035         (block_alloc): Likewise.
13036         * reg-stack.c (reg_to_stack): Likewise.
13037         (convert_regs_2): Likewise.
13038         * reload1.c (reload_as_needed): Likewise.
13039
13040 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
13041
13042         * Makefile.in (dbxout.o): Depend on ggc.h.
13043         (dwarf2out.o): Likewise.
13044         (xcoffout.o): Likewise.
13045         * dbxout.c: Include ggc.h.
13046         (dbxout_init): Register lastfile as a root.
13047         * dwarf2out.c: Include ggc.h.
13048         (dwarf2out_line): Register lastfile as a root.
13049         * xcoffout.c: Include ggc.h.
13050         (xcoffout_source_line): Register xcoff_lastfile as a root.
13051
13052 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
13053
13054         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13055
13056 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
13057
13058         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13059         defined.
13060         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13061
13062 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13063
13064         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13065         (EXECUTE_IF_CONFLICT): Likewise.
13066         (ALLOCNO_LIVE_P): Avoid signed division.
13067         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13068         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13069         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13070
13071 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
13072
13073         * haifa-sched.c (schedule_block): Don't crash if there's no
13074         next insn for an interblock movement.
13075         (add_branch_dependences): Don't allow clobber insns to move either.
13076
13077 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
13078
13079         * i386.c (split_xf): New.
13080         * i386-protos.h: Declare it.
13081         * i386.md (movxf_1): Add general regs alternatives.
13082         (movxf_1+1): New splitter for same.
13083
13084 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
13085
13086         * function.c (purge_addressof_1): Add missing return values.
13087
13088 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
13089
13090         * function.c (is_addressof): New function.  Returns true if
13091         the given piece of RTL is an ADDRESSOF.
13092         (purge_addressof_1): Make boolean.  Return false if the
13093         ADDRESSOFs could not be purged.
13094         (purge_addressof): If ADDRESSOFs could not be purged from the
13095         notes attached to an insn, remove the offending note(s),
13096         unless they are attached to a libcall.
13097
13098 1999-11-05  Andreas Jaeger  <aj@suse.de>
13099
13100         * genoutput.c (null_operand =): Initialize all fields.
13101
13102         * errors.h: Add extern to prototypes.
13103
13104 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
13105
13106         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13107         * configure: Rebuilt.
13108
13109 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13110
13111         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13112         (mirror_conflicts): New function.
13113         (global_alloc): Call it.
13114         (expand_preferences): Remove redundant CONFLICTP test.
13115         (find_reg, dump_conflicts): Likewise.
13116         (prune_preferences): Process conflicts one word at a time.
13117
13118 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
13119
13120         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13121         instead of an explicit loop.
13122
13123 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
13124
13125         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
13126         if REG_RETVAL check succeeds, then put classp in src_elt.
13127
13128 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
13129
13130         * function.c (pad_to_arg_alignment): Only update argument_pad
13131         if the argument's alignment is greater than STACK_BOUNDARY.
13132
13133 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
13134
13135         * bitmap.h (BITMAP_XFREE): New.
13136         * flow.c (life_analysis): Use it.
13137         (life_analysis_1): Free blocks.
13138
13139         * combine.c (undo_commit): New.
13140         (try_combine): Use it.  Don't zap undobuf.undos.
13141         (combine_instructions): Don't zap undobuf.undos; free the
13142         undobuf.frees list.
13143
13144         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13145
13146         * stmt.c (cost_table_): New.
13147         (estimate_case_costs): Use it instead of xmalloc.
13148
13149         * toplev.c (compile_file): Reuse dumpname memory instead
13150         of strdup'ing it.
13151
13152 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
13153
13154         * reg-stack.c (convert_regs_1): Initialize target_stack->top
13155         after verifying an EH edge.
13156
13157         * haifa-sched.c (init_rgn_data_dependences): Correctly
13158         size bb_pending_lists_length when zeroing.
13159
13160 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
13161
13162         * function.c (diddle_return_value): New.
13163         (expand_function_end): Use it.
13164         * stmt.c (expand_null_return): Likewise.
13165         (expand_value_return): Likewise.
13166
13167         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13168
13169         * reload1.c (reload): Don't remove return value clobbers.
13170
13171 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
13172
13173         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13174
13175 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
13176
13177         * cse.c (cse_main): Use xmalloc, not alloca.
13178         (cse_basic_block): Likewise.
13179         * local-alloc.c (local_alloc): Likewise.
13180
13181 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
13182                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13183
13184         * rtl.c: Include toplev.h.
13185         (fatal): Remove declaration.
13186
13187 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
13188
13189         * haifa-sched.c (schedule_block): Fix thinko.
13190
13191 1999-11-03  James McKelvey <mckelvey@fafnir.com>
13192
13193         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
13194         S_IR* defined values
13195
13196 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
13197
13198         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13199         call `malloc' instead.
13200
13201 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
13202
13203         * flags.h (flag_renumber_insns): Declare.
13204         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
13205         renumbering table.
13206         * rtl.h (renumber_insns): Change prototype.
13207         * toplev.c (flag_renumber_insns): Define.
13208         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13209
13210 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
13211
13212         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13213         and fpsqrtd.  Use them and create fdiv function unit to more
13214         accurately represent fpu sqrt pipeline semantics on UltraSparc.
13215         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13216
13217 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
13218
13219         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13220         3 on UltraSparc.
13221         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13222         insn into ready list, do not use just a raw swap.
13223
13224 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
13225
13226         * rtl.h (renumber_insns): New function.
13227         (remove_unnecessary_notes): Likewise.
13228         * emit-rtl.c (renumber_insns): Define.
13229         (remove_unncessary_notes): Likewise.
13230         * toplev.c (rest_of_compilation): Remove dead code.
13231         Use renumber_insns and remove_unncessary_notes.
13232
13233         * gcse.c (struct null_pointer_info): New type.
13234         (get_bitmap_width): New function.
13235         (current_block): Remove.
13236         (nonnull_local): Likewise.
13237         (nonnull_killed): Likewise.
13238         (invalidate_nonnull_info): Take a null_pointer_info as input.
13239         (delete_null_pointer_checks_1): New function.
13240         (delete_null_pointer_checks): Use it.
13241
13242         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13243         (split_edges): Likewise.
13244         (schedule_block): Likewise.
13245         (compute_block_backward_dependencies): Likewise.
13246         (schedule_region): Likewise.
13247         (schedule_insns): Likewise.
13248
13249 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
13250
13251         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13252         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13253         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13254         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13255         * jump.c (delete_unreferenced_labels): Don't delete if
13256         LABEL_ALTERNATE_NAME is set.
13257         * print-rtl.c (print_rtx): Dump alternate name.
13258         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13259         * rtl.h (LABEL_ALTERNATE_NAME): Define.
13260         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13261         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13262
13263 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13264
13265         * fix-header.c (recognized_extern, recognized_function): Constify
13266         a char*.
13267
13268         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13269         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13270         (compute_available): Remove unused variable `last'.
13271         (compute_nearerout): Remove unused variable `temp_bitmap'.
13272         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13273         Remove unused variable `x'.
13274
13275         * scan.h (recognized_function, recognized_extern): Constify a
13276         char*.
13277
13278         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13279
13280 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13281
13282         * varasm.c (decode_rtx_const): Use XSTR to access the string
13283         of a SYMBOL_REF.
13284
13285 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
13286
13287         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13288
13289 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13290
13291         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13292
13293 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
13294
13295         * pa.c (ireg_operand): New function.
13296         * pa.h (PREDICATE_CODES): Handle ireg_operand.
13297         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13298         Fix out of date comment.
13299
13300         * pa.md (negdi2): Turn into expander + anonymous pattern.
13301
13302         * reload.c (find_reloads): Fix typos in recent change.
13303
13304         * dwarf2out.c: Do not include ctype.h.
13305
13306 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13307
13308         * regclass.c (record_reg_classes): Always use may_move_cost when
13309         seeing how operand fits with various register classes.
13310
13311 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
13312
13313         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13314         * toplev.c: Revert Nov 1 13:22 change.
13315
13316 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
13317
13318         * config/pa/pa.md (height reduction patterns): Add checks for
13319         overlapping operands to avoid semantic-destroying splits for
13320         height reduction patterns.
13321
13322 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13323
13324         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13325         have been an hyphen, fixed.
13326         * configure: Rebuilt.
13327
13328 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
13329
13330         * config/arm/tpe.h: Add prototypes for exported functions.
13331         * config/arm/pe.c: Fix compile time warnings.
13332         * config/arm/semi.h: Fix compile time warnings.
13333         * config/arm/arm.c: Fix compile time warnings.
13334         * config/arm/arm.h: Fix compile time warnings.
13335         * config/arm/arm.md: Fix compile time warnings.
13336         * config/arm/thumb.c: Fix compile time warnings.
13337         * config/arm/thumb.h: Fix compile time warnings.
13338         * config/arm/thumb.md: Fix compile time warnings.
13339
13340 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
13341
13342         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13343         detection code
13344
13345         * unroll.c (unroll_loop): Remove LOOP notes when loop is
13346         completely unrolled.
13347
13348 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13349
13350         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13351
13352 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
13353
13354         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13355         * rtl.h (rtx_equal_p): Move prototype.
13356         * rtl.c (rtx_equal_function_value_matters): Move from
13357         rtlanal.c
13358         (rtx_equal_p): Likewise.
13359         * rtlanal.c (rtx_equal_function_value_matters): Delete.
13360         (rtx_equal_p): Likewise.
13361
13362 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13363
13364         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13365         ! HAS_INIT_SECTION.
13366
13367 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
13368
13369         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13370
13371         * pa.h (ADDR_VEC_ALIGN): Define.
13372
13373         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13374         notes when presented with "if (foo) break; end_of_loop" and
13375         the break sequence gets moved out of the loop.
13376
13377         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13378         Remove explicit zero initializations of entries within MAP.
13379
13380 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
13381
13382         * reg-stack.c (convert_regs_1): Handle EH edges specially.
13383
13384 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
13385
13386         * bitmap.h (BITMAP_XMALLOC): New macro.
13387         * flow.c (CLEAN_ALLOCA): Remove.
13388         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13389         (life_analysis): Likewise.
13390         (update_life_info): Don't use CLEAN_ALLOCA.
13391         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13392         (calculate_global_regs_live): Likewise.
13393         (print_rtl_with_bb): Likewise.
13394         (verify_flow_info): Likewise.
13395         * global.c (global_alloc): Likewise.
13396         (global_conflicts): Likewise.
13397         * integrate.c (save_for_inline_nocopy): Likewise.
13398         (expand_inline_function): Likewise.
13399         * jump.c (jump_optimize_1): Likewise.
13400         (duplicate_loop_exit_test): Likewise.
13401         (thread_jumps): Likewise.
13402         * loop.c (loop_optimize): Likewise.
13403         (combine_givs): Likewise.
13404         (recombine_givs): Likewise.
13405         * reorg.c (dbr_schedule): Likewise.
13406         * unroll.c (unroll_loop): Likewise.
13407
13408         * combine.c (combine_instructions): Use xmalloc instead of alloca.
13409
13410 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
13411
13412         * toplev.c (rest_of_compilation): Don't optimize the CFG
13413         when rebuilding, just before dbr.
13414
13415 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13416
13417         * output.h (assemble_end_function, assemble_destructor,
13418         assemble_constructor, assemble_gc_entry, assemble_global,
13419         assemble_label, output_constant_pool) Constify a char*.
13420
13421         * varasm.c (assemble_destructor, assemble_constructor,
13422         assemble_gc_entry, assemble_end_function, assemble_global,
13423         assemble_label, output_constant_pool): Likewise.
13424
13425 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
13426
13427         * config/arm/thumb.c (thumb_expand_prologue): Add comments
13428         explaining what is goin on in this function.
13429
13430 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13431
13432         * regclass.c (record_reg_classes): In matching case, recompute
13433         costs since the direction of movement is different.
13434
13435 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
13436
13437         * resource.c (mark_target_live_regs): For unconditional branches,
13438         the resources found at the branch target should be added to the
13439         resources found so far, not intersected.
13440
13441 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
13442
13443         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13444         old cpp's.
13445         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13446         (sys/mman.h): Include this file only if #HAVE_MMAP.
13447         (run_compiles): Initialize `esac_fmt' with one old KR string, not
13448         with automatically concatenated ANSI strings.
13449
13450 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
13451
13452         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13453         (DIV_ROUND_UP): Robustify.
13454         (ggc_recalculate_in_use_p): New function.
13455         (release_pages): Don't inline it.
13456         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13457         outer contexts.
13458         (ggc_pop_context): Use ggc_recalculate_in_use_p.
13459         (clear_marks): Always save in_use_p.
13460         (sweep_pages): Use ggc_recalculate_in_use_p.
13461         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13462         Release pages before counting statistics.
13463
13464 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
13465
13466         * toplev.c (rest_of_compilation): Fix thinko in this change:
13467
13468         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13469
13470         (rest_of_compilation): If inside an inlined external function,
13471         pretend we are just being declared.
13472
13473 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
13474
13475         * flow.c (calculate_global_regs_live): Fix thinko.
13476
13477         * integrate.c (expand_inline_function): Fix bugs in previous
13478         change from Oct 28, 1999.
13479
13480 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
13481
13482         * stmt.c (expand_value_return): Fix typo in this change:
13483
13484         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13485         (expand_value_return): Correctly convert VAL when promoting function
13486         return; support RETURN_REG being a PARALLEL.
13487
13488 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
13489
13490         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13491
13492 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13493
13494         * hard-reg-set.h (reg_names): Constify a char*.
13495
13496         * regclass.c  (reg_names): Likewise.
13497
13498         * regs.h (reg_names): Likewise
13499
13500         * a29k/a29k.c (reg_names): Delete declaration.
13501
13502         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13503
13504         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13505         arc_output_function_epilogue): Likewise.
13506
13507         * elxsi/elxsi.c (reg_names): Likewise.
13508
13509         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13510
13511         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13512         Likewise.
13513
13514         * m88k/m88k.c (output_function_profiler): Likewise.
13515
13516         * sparc/sparc.c (sparc_flat_output_function_prologue,
13517         sparc_flat_output_function_epilogue): Likewise.
13518
13519 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
13520
13521         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13522         warning from -Wuninitialized and put it under -W.
13523         * function.c (uninitialized_vars_warning): Warn only when the
13524         corresponding flag is set.
13525
13526 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
13527
13528         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13529         is nonzero and the single set does not have an elt, then assign
13530         it an elt.
13531
13532         * simplify-rtx.c: New file.
13533         * Makefile.in (OBJS): Add simplify-rtx.o
13534         (simplify-rtx.o): Add dependencies.
13535         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13536         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13537         (cse_gen_binary, simplify_unary_operation): Delete.
13538         (simplify_binary_operation, simplify_plus_minus): Likewise.
13539         (check_fold_consts, simplify_relation_operation): Likewise.
13540         (simplify_ternary_operation): Likewise.
13541         (delete_trivially_dead_insns): Simplify the contents of the
13542         REG_EQUAL note before trying to substitute it into the source
13543         of the reg-reg copy at the end of a libcall sequence.
13544
13545         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
13546         references/callers changed.
13547
13548         * mn10200.c (mn10200_va_arg): Force the return value into a
13549         register.
13550
13551         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13552
13553         * cccp.c (macroexpand): Avoid out of range accesses for omitted
13554         arguments.
13555
13556 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
13557
13558         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13559
13560 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
13561
13562         * fold-const.c (fold): Fix thinko when optimizing comparisons
13563         against -0.0.
13564
13565 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
13566
13567         * gcc.texi (Passes): Update front-end files to their current
13568         location.
13569
13570 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
13571
13572         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13573         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13574         (PREDICATE_CODES): Add addition_operation.
13575         * alpha-protos.h (addition_operation): Declare.
13576         (secondary_reload_class): Likewise.
13577         * alpha.c (addition_operation): New.
13578         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13579         * alpha.md (adddi3): Turn into expander.
13580         (*lda, *adddi_2): New.
13581         (movsf, movdf patterns): Don't preference integer regs.
13582         (movsi, movdi patterns): Don't preference fp regs.
13583
13584 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
13585
13586         * genrecog.c (write_switch): Check for duplicate CODE cases.
13587
13588 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
13589
13590         * ggc-common.c: Update pre-function commentary.
13591         * ggc-page.c: Likewise.
13592         (poison): Remove.
13593         (poison_pages): Use memset directly.
13594         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
13595         (ggc_collect): Poison before sweeping.
13596         * ggc-simple.c: Update pre-function commentary.
13597         (ggc_alloc_obj): Poison non-zeroed memory.
13598
13599 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
13600
13601         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13602         match format string, even on 64-bit hosts.
13603         * gcc-page.c (ggc_page_print_statistics): Likewise.
13604
13605 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
13606
13607         * config/i386/i386.c (ix86_cpu): Revert last patch.
13608         * config/i386/i386.h (ix86_cpu): Ditto.
13609
13610 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
13611
13612         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13613         TYPE_SIZE, convert type of result to sizetype.
13614
13615 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
13616
13617         * flow.c (count_or_remove_death_notes): Equate NULL with the
13618         universal set.
13619
13620         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13621         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13622         dbr_schedule.
13623
13624         * i386.c (pic_label_no): Delete.
13625         (ix86_attr_length_default): Don't use single_set to peek
13626         inside a parallel.
13627
13628         * recog.c (peephole2_optimize): Allow recog_next_insn to index
13629         the first insn after bb->end.
13630         * i386.md (push mem peeps): Scratch is live after evaluation
13631         of the memory.
13632         (cmp mem peep): Similarly.
13633
13634 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
13635
13636         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13637         * function.c (pad_to_arg_alignment): Add missing braces.
13638
13639 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13640
13641         * alpha/alpha-protos.h (literal_section): Add prototype.
13642         (alpha_need_linkage, alpha_start_function,alpha_end_function):
13643         Constify a char*.
13644
13645         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13646         prototype.
13647         (alpha_start_function, alpha_end_function, float_strings,
13648         alpha_need_linkage): Constify a char*
13649
13650         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13651
13652         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13653
13654         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13655
13656         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13657
13658 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13659
13660         * flow.c (debug_flow_info): Add prototype.
13661
13662         * gcc.c (main): Likewise.
13663
13664         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13665         Likewise.
13666
13667         * reload1.c (failed_reload, set_reload_reg): Likewise.
13668
13669         * mips-tfile.c (main): Likewise.
13670         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13671         with ATTRIBUTE_NORETURN.
13672
13673 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
13674
13675         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13676         DECL is not a memory ref.
13677
13678 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
13679
13680         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13681         * config/i386/i386.c (ix86_cpu): Add extern attribute.
13682
13683 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
13684
13685         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13686         * config/mips/elf64.h: ditto.
13687
13688 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
13689
13690         * expr.c (emit_push_insn): New argument alignment_pad.
13691         Update all callers.  Adjust stack pointer based on alignment pad.
13692         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
13693         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
13694         (locate_and_pad_parm): New argument alignment_pad.  Update all
13695         callers.
13696         * expr.h (emit_push_insn): Update prototype.
13697         (locate_and_pad_parm): Update prototype.
13698         * calls.c (arg_data):  Add new field alignment_pad.
13699         (initialize_argument_information): Initialize alignment_pad.
13700
13701 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
13702
13703         * except.c (free_eh_nesting_info): Free the info itself.
13704         * function.c (free_after_compilation): Don't free NULL.
13705         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13706         (pre_edge_insert): Free inserted.
13707         * stmt.c (free_stmt_status): Don't free NULL.
13708
13709 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13710
13711         * gcov.c (DIR_SEPARATOR): Provide default.
13712         (output_data): Add test for MS-DOS format absolute filename.
13713         (fancy_abort): Correct program name.
13714         (open_files): Open all files in binary mode.
13715         * libgcc2.c (__bb_exit_func): Likewise.
13716
13717         * profile.c (init_branch_prob): Specify binary when opening files.
13718
13719         * flags.h (flag_unwind_tables): New decl.
13720         * toplev.c (flag_unwind_table): New definition.
13721         (f_options): Add -funwind-tables.
13722         (decode_g_option): Clarify warning when unknown -g option is given.
13723         (rest_of_compilation): If inside an inlined external function,
13724         pretend we are just being declared.
13725
13726         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13727         (dwarf2out_frame_finish): Likewise.
13728
13729 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
13730
13731         * fold-const.c (merge_ranges): If not in0, but in1, handle
13732         upper bounds equal like subset case.
13733
13734 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
13735
13736         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13737         passed in a register but moved to the stack.
13738
13739 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
13740
13741         * gcc.c (pass_exit_codes, greatest_status): New variables.
13742         (struct option_map): Add entry for "--pass-exit-codes".
13743         (execute): Update greatest_status if error.
13744         (display_help): Add documentation for -pass-exit-codes.
13745         (process_command): Handle -pass-exit-codes.
13746         (main): Look at pass_exit_codes and greatest_status on call to exit.
13747
13748 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13749
13750         * reload.c (find_reloads): Refine test for no input reload
13751         case to not includes reloads emitted after insn.
13752
13753         * function.c (find_temp_slots_from_address): Handle sum involving
13754         a register that points to a temp slot.
13755         (update_temp_slot_address): Make recursive call if both old and
13756         new are PLUS with a common operand.
13757         * calls.c (expand_call): Mark temp slot for result as having
13758         address taken.
13759
13760         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13761
13762         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13763         component as well as "BINUTILS".
13764
13765         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13766         * integrate.c (copy_rtx_and_substitute): Likewise.
13767         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13768         All callers changed.
13769         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13770
13771         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13772         gdb extensions, write size of type; also be more consistent
13773         in using references when this is a subtype.
13774
13775         * pa.md (extv, extzv, insv): Use define_expand to reject constant
13776         that is out of range.
13777
13778         * loop.c (unknown_constant_address_altered): New variable.
13779         (prescan_loop): Initialize it.
13780         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13781         (invariant_p, case MEM): Remove handling for volatile and readonly;
13782         check new variable if readonly.
13783         (check_dbra_loop): Chdeck unknown_constant_address_altered.
13784
13785         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13786         (addr_affects_sp_p): Removed from note_mem_written and only
13787         define #ifdef AUTO_INC_DEC.
13788
13789         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13790
13791         * regclass.c (record_reg_classes): Properly handle register move
13792         directions.
13793
13794         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13795         Don't think valid if both operands are invalid.
13796         (struct constant_descriptor): New field RTL.
13797         (mark_const_hash_entry): Mark it.
13798         (record_constant{,_rtx}): Initialize it.
13799         (output_constant_def): Allocate RTL in permanent obstack and
13800         save in table.
13801         ({record,compare}_constant_1): Modes must match for
13802         CONSTRUCTOR of ARRAY_TYPE.
13803
13804         * c-common.h (initializer_constant_valid_p): Delete decl from here.
13805         * output.h (initializer_constant_valid_p): Move decl to here.
13806         * c-common.c (initializer_constant_valid_p): Delete function from here.
13807         * varasm.c (initializer_constant_valid_p): Move function to here.
13808
13809         * tree.h (STRIP_SIGN_NOPS): New macro.
13810         * fold-const.c (optimize_minmax_comparison): New function.
13811         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
13812         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
13813         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
13814         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
13815         widening conversions.
13816         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
13817         to look at size of mode, not precision of type; also add missing cases.
13818         (optimize_bit_field_compare, decode_field_reference): Don't try to
13819         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
13820
13821         * dwarf2out.c (ctype.h): Include.
13822         (dwarf2out_set_demangle_name_func): New function.
13823         (size_of_line_info): Deleted.
13824         (output_line_info): Compute size of line info table from difference
13825         of labels.
13826         (base_type_die, add_name_attribute): Call demangle function, if any.
13827         (field_byte_offset): Use bits per word for variable length fields.
13828         (gen_array_type_die): Add array name.
13829         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
13830         (dwarf2out_add_library_unit_info): New function.
13831
13832         * explow.c (set_stack_check_libfunc): New function.
13833         (stack_check_libfunc): New static variable.
13834         (probe_stack_range): Allow front-end to set up a libfunc to call.
13835
13836         * combine.c (simplify_comparison): When making comparison in wider
13837         mode, check for having commuted an AND and a SUBREG.
13838         (contains_muldiv): New function.
13839         (try_combine): Call it when dividing a PARALLEL.
13840         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
13841         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
13842         a PLUS.
13843         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
13844         use one of the CLOBBERs instead.
13845         (if_then_else_cond): If comparing against zero, just return thing
13846         being compared.
13847
13848         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
13849         Don't generate shifts and subtract if have conditional arithmetic.
13850
13851         * rtl.h (delete_barrier): New declaration.
13852         * jump.c (jump_optimize): Set up to handle conditional call.
13853         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
13854         (delete_barrier): New function.
13855
13856         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
13857
13858         * recog.c (nonmemory_operand): Accept ADDRESSOF.
13859
13860         * tree.c (build_type_attribute_variant): Push to obstack of
13861         ttype around type_hash_canon call.
13862
13863         * expr.c (placeholder_list): Move decl to file scope.
13864         (expand_expr): Don't force access to volatile just because its
13865         address is taken.
13866         If ignoring reference operations, just expand the operands.
13867         (expand_expr, case COMPONENT_REF): Propagate
13868         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
13869         Refine test for using bitfield operations vs pointer punning.
13870         (expand_expr, case CONVERT_EXPR): If converting to
13871         BLKmode UNION_TYPE from BLKmode, just return inner object.
13872         Use proper mode in store_field call.
13873         Properly set sizes of object to store and total size in store_field
13874         call for convert to union.
13875         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
13876         memory (like for ADDR_EXPR).  Also, don't put constant in register if
13877         we'll want it in memory.
13878         (readonly_fields_p): New function.
13879         (expand_expr, case INDIRECT_REF): Call it if LHS.
13880         (expand_assignment): Handle a RESULT_DECL where
13881         DECL_RTL is a PARALLEL.
13882         (do_jump, case WITH_RECORD_EXPR): New case.
13883         (get_inner_reference): Always go inside a CONVERT_EXPR
13884         and NOP_EXPR if both modes are the same.
13885         (store_field): Use bitfield operations if size of bitsize is not same
13886         as size of RHS's type.
13887         Check for bitpos not a multiple of alignment in BLKmode case.
13888         Do block move in largest possible alignment.
13889         (store_constructor): Set BITSIZE to -1 for variable size and properly
13890         in case of array of BLKmode.
13891         (expand_expr_unaligned): New function.
13892         (do_compare_and_jump): Call it.
13893
13894         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
13895         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
13896         does not include 'o'.
13897
13898         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
13899         both SET_DEST and SET_SRC reference a virtual register.
13900         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
13901
13902         * integrate.c (expand_inline_function): Handle case of setting
13903         virtual stack vars register (from built in setjmp); when parameter
13904         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
13905         (subst_constant): Add new parm, MEMONLY.
13906         (expand_inline_function, integrate_parm_decls): Pass new parm.
13907         (integrate_decl_tree): Likewise.
13908         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
13909         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
13910         (copy_rtx_and_substitute, case SET): Add explicit calls to
13911         copy_rtx_and_substitute for both sides.
13912
13913         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
13914         constraints.
13915         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
13916         within INDEX_TYPE, instead of before.
13917         (fixup_gotos): Use f->target_rtl, not the next insn,
13918         since latter may be from a later fixup.
13919         (expand_value_return): Correctly convert VAL when promoting function
13920         return; support RETURN_REG being a PARALLEL.
13921         (expand_return): When checking for result in regs and having
13922         cleanup, consider PARALLEL in DECL_RTL as being in regs.
13923
13924 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
13925
13926         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
13927         last_nominal_fname): Mark const.
13928         (struct include_hash: name, nshort, control_macro): Mark
13929         const.
13930         (struct macrodef: symnam): Mark const.
13931         (struct if_stack: fname): Mark const.
13932         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
13933         (IStable): New character-syntax array which encompasses all
13934         the old is_foo arrays.
13935         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
13936         is_space): New macros for interrogating IStable.
13937         (check_macro_name): Kill last argument.  All callers changed.
13938
13939         * cppinit.c (initialize_char_syntax): Delete.
13940         (is_idchar, is_idstart, is_hor_space, is_space,
13941         trigraph_table): Delete.
13942         (IStable): New.  Initialize with clever macros to avoid
13943         information duplication.
13944         (builtin_array): Table of builtins to get rid of explicit list
13945         in initialize_builtins.
13946         (initialize_builtins): Use builtins_array.
13947         (cpp_start_read): Call init_IStable, and set IStable['$'] if
13948         opts->dollars_in_ident.
13949
13950         * cppexp.c: Change all refs to is_xyz[] arrays to use new
13951         is_xyz() macros.
13952         (cpp_parse_expr): Avoid 'format string is not constant'
13953         warning. Use ISGRAPH to identify printable chars.
13954         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
13955         is_xyz() macros.
13956         (read_and_prescan): Map trigraphs to chars with open-coded
13957         if-else-if-... sequence, not a lookup table.
13958         * cpphash.c: Change all refs to is_xyz[] arrays to use new
13959         is_xyz() macros.
13960         * cpplib.c: Change all refs to is_xyz[] arrays to use new
13961         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
13962         (check_macro_name): Remove ability to report an invalid
13963         assertion name, which is never used.
13964         (do_line): Constify a couple of char *'s.
13965         * cppmain.c (main): Call cpp_cleanup before returning.
13966
13967 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
13968
13969         * ggc.h (struct ggc_statistics): New type.
13970         (ggc_get_size): New function.
13971         (ggc_print_statistics): Likewise.
13972         * ggc-common.c (ggc_stats): New variable.
13973         (ggc_mark_rtx_children): Keep statistics.
13974         (ggc_mark_tree_children): Likewise.
13975         (ggc_print_statistics): New function.
13976         * ggc-page.c (struct globals): Add bytes_mapped field.
13977         (alloc_anon): Update it.
13978         (release_pages): Likewise.
13979         (ggc_get_size): New function.
13980         (ggc_page_print_statistics): New function.
13981         * ggc-simple.c (ggc_get_size): New function.
13982
13983 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
13984
13985         * flow.c (propagate_block): When the last reference to a label
13986         before an ADDR_VEC is deleted because the reference is a dead
13987         store, delete the ADDR_VEC.
13988
13989 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
13990
13991         * resource.c (find_free_register): Don't use the frame pointer
13992         if frame_pointer_needed.
13993
13994 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
13995
13996         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
13997         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
13998
13999         * config/i960/i960.c (i960_va_start): New locals base, num.
14000         Use INDIRECT_REF instead of ARRAY_REF on valist.
14001         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14002
14003 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
14004
14005         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14006
14007 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
14008
14009         * tree.def (PLACEHOLDER_EXPR): Update comments.
14010
14011 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14012
14013         * c-common.c (check_format_info): Avoid non-literal format string
14014         warnings when `first_arg_num' is zero.
14015
14016 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14017
14018         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14019
14020 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
14021
14022         * arm.md (casesi_insn): Add a clobber of the condition code
14023         register.
14024
14025 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
14026
14027         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14028         used by both cc1 and cc1plus.
14029
14030 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
14031
14032         * config/arm/arm.c: Initialise arm_structure_size_boundary to
14033         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14034         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14035         to the value 32 if it has not already been defined.
14036         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14037         Override definition in arm.h with a value of 8.
14038
14039 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
14040
14041         * c-pragma.c (push_alignment): Don't check the return value
14042         of xmalloc.
14043
14044 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
14045
14046         * sparc.h (ADJUST_COST): Fix thinko.
14047
14048 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
14049
14050         * cccp.c (rescan): Fixed obp pointer handling around call to
14051         check_expand subroutine.
14052
14053 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
14054
14055         * gcse.c (delete_null_pointer_checks): Only record non-null info
14056         for pseudos when examining stores.
14057
14058         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14059         splitters for these patterns.  Use "#" for output templates.
14060         (addsi3_carryin_shift): New pattern.
14061
14062 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
14063
14064         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14065         of the function return register into a plain REG until
14066         after function inlining is done.
14067
14068 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14069
14070         * jump.c (jump_optimize_1): If we did cross-jumping, and
14071         the data will matter, rebuild the CFG.
14072         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14073         not optimizing.  Don't run shorten_branches.
14074         * toplev.c (rest_of_compilation): Run shorten_branches after
14075         reg_to_stack.
14076
14077 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
14078
14079         * rtl.h (note_stores): Add additional paramter.
14080         * rtlanal.c (reg_set_p_1): Take additional paramter.
14081         (reg_set_last_1): Likewise.
14082         (reg_set_p): Adjust call to note_stores.
14083         (reg_set_last): Likewise.
14084         (note_stores): Pass data parameter to worker function.
14085         * alias.c (record_set): Take additional parameter.
14086         (init_alias_analysis): Pass it.
14087         * caller-save.c (mark_set_regs): Take additional parameter.
14088         (save_call_clobbered_regs): Pass NULL to note_stores.
14089         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14090         parameter.
14091         (record_dead_and_set_regs_1): Likewise.
14092         (reg_dead_at_p_1): Likewise.
14093         (combine_instructions): Adjust calls to note_stores.
14094         (try_combine): Likewise.
14095         (record_dead_insn): Remove.
14096         (record_dead_and_set_regs): Adjust calls to note_stores.
14097         (reg_dead_at_p): Likewise.
14098         * cse.c (invalidate_skipped_set): Take additional parameter.
14099         (cse_check_loop_start): Likewise.
14100         (cse_check_loop_start_value): Remove.
14101         (cse_set_around_loop): Adjust calls to note_stores.
14102         * flow.c (notice_stack_pointer_modification): Take additional
14103         parameter.  Remove duplicate declaration.
14104         (record_volatile_insns): Adjust calls to note_stores.
14105         * gcse.c (record_set_info): Take additional parameter.
14106         (record_last_set_info): Likewise.
14107         (invalidate_nonnull_info): Likewise.
14108         (record_set_insn): Remove.
14109         (compute_sets): Adjust calls to note_stores.
14110         (last_set_insn): Remove.
14111         (compute_hash_table): Adjust calls to note_stores.
14112         (insert_insn_end_bb): Likewise.
14113         (delete_null_pointer_checks): Likewise.
14114         * global.c (mark_reg_store): Take additional parameter.
14115         (mark_reg_clobber): Likewise.
14116         (reg_becomes_live): Likewise.
14117         (global_conflicts): Adjust calls to note_stores.
14118         (build_insn_chain): Likewise.
14119         * integrate.c (note_modified_parmregs): Take additional parameter.
14120         (mark_stores): Likewise.  Make it static.
14121         (save_for_inline_nocopy): Adjust calls to note_stores.
14122         (try_constants): Likewise.
14123         * integrate.h (mark_stores): Remove declaration.
14124         * jump.c (mark_modified_reg): Take additional parameter.
14125         (thread_jumps): Adjust calls to note_stores.
14126         * local-alloc.c (validate_equiv_mem_from_store): Take additional
14127         parameter.
14128         (no_equiv): Likewise.
14129         (reg_is_set): Likewise.
14130         (validate_equiv_mem): Adjust calls to note_stores.
14131         (update_equiv_regs): Likewise.
14132         (block_alloc): Likewise.
14133         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14134         (note_addr_stored): Take additional parameter.
14135         (note_set_pseudo_multiple_uses): Likewise.
14136         (record_initial): Likewise.
14137         (prescan_loop): Adjust calls to note_stores.
14138         (strength_reduce): Likewise.
14139         (check_dbra_loop): Likewise.
14140         * regmove.c (flags_set_1): Take additional paramter.
14141         (mark_flags_life_zones): Adjust calls to note_stores.
14142         * reload1.c (mark_not_eliminable): Take additional parameter.
14143         (forget_old_reloads_1): Likewise.
14144         (reload_cse_invalidate_rtx): Likewise.
14145         (reload_cse_check_clobber): Likewise.
14146         (reload_combine_note_store): Likewise.
14147         (move2add_note_store): Likewise.
14148         (reload): Adjust calls to note_stores.
14149         (reload_as_needed): Likewise.
14150         (emit_reload_insns): Likewise.
14151         (reload_cse_regs_1): Likewise.
14152         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14153         (reload_combine): Adjust calls to note_stores.
14154         * resource.c (update_live_status): Take additional paramter.
14155         (mark_target_live_regs): Adjust calls to note_stores.
14156         * stupid.c (find_clobbered_regs): Take additional parameter.
14157         (stupid_life_analysis): Adjust calls to note_stores.
14158
14159 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
14160
14161         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14162         definition.
14163
14164         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14165         definition.
14166
14167         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14168         of the variable arm_structure_size_boundary.
14169
14170 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14171
14172         * alias.c (init_alias_analysis): Allocate reg_known_value and
14173         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
14174         and reg_seen.
14175         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14176         * cse.c (cse_main): Call end_alias_analysis.
14177         * haifa-sched.c (schedule_insns): Likewise.
14178         * local-alloc. (update_equiv_regs): Likewise.
14179         * reload1.c (reload_cse_regs): Likewise.
14180
14181 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14182
14183         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14184         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14185         mapping from MASK_FPU.
14186
14187 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
14188
14189         * sparc.md (call): Don't bound structure return size to 0xfff.
14190
14191 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
14192
14193         * resource.c (mark_target_live_regs): Check that the target
14194         insn wasn't created after compute_bb_for_insn.
14195
14196 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
14197
14198         * ggc-page.c (poison_pages): Don't be overzealous.
14199
14200 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
14201
14202         * alias.c: Update comments for ADDRESS.
14203         (nonlocal_reference_p): Look inside the ADDRESS to determine if
14204         it is a local memory reference.
14205
14206         * c-typeck.c (build_function_call): Check that the built-in
14207         function is of class BUILT_IN_NORMAL before trying to recongize
14208         it as BUILT_IN_ABS.
14209         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14210         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14211
14212 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
14213
14214         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14215         of alloca.
14216         (pre_gcse): Likewise.
14217         (hoist_expr_reaches_here_p): Likewise.
14218         (hoist_code): Likewise.
14219         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14220         code to ...
14221         (pre_expr_reaches_here_p_work): ... here.
14222         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14223         code to ...
14224         (expr_reaches_here_p_work): ... here.
14225
14226 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
14227
14228         * resource.c (find_basic_block): Delete.
14229         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14230         (init_resource_info): Call compute_bb_for_insn.
14231
14232 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
14233
14234         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14235         with already adjacent blocks, but no fallthru.
14236         (merge_blocks_move_successor_nojumps): Simplify.
14237         (debug_flow_info): New.
14238
14239         * toplev.c (rest_of_compilation): Open jump1 dump file before
14240         jump and close after, as opposed to just using dump_rtl.
14241
14242 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14243
14244         * reload.h (earlyclobber_operand_p): Declare.
14245         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
14246         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14247         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14248         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
14249
14250 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14251                           Richard Henderson  <rth@cygnus.com>
14252
14253         * emit-rtl.c (emit_block_insn_before): New.
14254         (emit_block_insn_after): New.
14255         * basic-block.h: Declare them.
14256
14257         * bitmap.h: Protect from multiple inclusion.
14258
14259         * recog.c (scratch_operand): Handle VOIDmode correctly.
14260
14261         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14262
14263         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14264         * function.c (assign_parms): Likewise.
14265         * global.c (global_conflicts): Clarify STACK_REGS commentary.
14266
14267         * reg-stack.c (max_uid): Remove.
14268         (blocks, block_begin, block_end, block_drops_in): Remove.
14269         (block_stack_in, block_out_reg_set, block_number): Remove.
14270         (struct block_info_def, BLOCK_INFO): New.
14271         (enum emit_where): New.
14272         (current_block): New.
14273         (BLOCK_NUM): Remove.
14274         (mark_regs_pat, record_label_references): Remove.
14275         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14276         (nan): New.
14277         (goto_block_pat, print_blocks, dump_stack_info): Remove.
14278         (reg_to_stack): Simplified test for existance of fp code.  Use
14279         flow.c code.  Call shorten_branches after cross-jump opt.
14280         (check_asm_stack_operands): Renamed from record_asm_reg_life.
14281         Return false if the asm doesn't use stack regs.  Don't do life
14282         analysis on the asm.
14283         (emit_pop_insn): Replace function pointer arg `when' with
14284         enum `where'.  Update all callers.
14285         (change_stack): Likewise.  Update basic block end.
14286         (emit_swap_insn): Use current_block->head to limit reverse search
14287         for start of block.  Use emit_block_insn_after.
14288         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14289         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
14290         structure assignment instead of bcopy.
14291         (print_stack): New.
14292         (convert_regs_entry, convert_regs_exit): New.
14293         (convert_regs_1, convert_regs_2): Split out from convert_regs.
14294         Work on basic blocks and the CFG.
14295         (convert_regs): Use them.
14296
14297         * i386.c (output_fix_trunc): Remove code for DImode input operand
14298         not at top-of-stack.
14299         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14300         appropriate mode.
14301         (fix_truncdi_1): Allow any mode scratch.
14302
14303 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
14304
14305         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14306         * linux.h, netbsd.h, vms.h: Not here.
14307
14308 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
14309
14310         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14311         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14312         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14313         CONDITIONAL_REGISTER_USEAGE): Use them.
14314         * config/mips/mips.c (mips_move_1word,mips_move_2words,
14315         gen_conditional_branch,override_options) : Use them.
14316         * config/mips/mips.md : Use them.
14317
14318 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
14319
14320         * i386.md (zero_extendqihi2): Use SImode register name with andl.
14321
14322 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
14323
14324         * integrate.c (function_cannot_inline_p): Don't allow inlining
14325         if setjmp is used.
14326
14327 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14328
14329         * c-parse.in (cast_expr): Constify.
14330
14331         * cccp.c (special_symbol): Likewise.
14332
14333         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14334
14335         * dwarf2out.c (base_type_die): Likewise.
14336
14337         * global.c (allocno_compare): Likewise.
14338
14339         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14340
14341         * regclass.c (fix_register): Likewise.
14342
14343         * rtl.h (fix_register): Likewise.
14344
14345         * stupid.c (stupid_reg_compare): Likewise.
14346
14347         * toplev.c (decode_f_option): Likewise.
14348
14349         * tree.c (build_complex_type): Likewise.
14350
14351 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
14352
14353         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14354
14355 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14356
14357         * reload.c (find_reloads): Compute mode and nregs fields of all
14358         reloads.
14359         * reload1.c (calculate_needs_all_insns): Simplify a bit.
14360         (calculate_needs): Use precomputed mode/nregs values.
14361         (allocate_reload_reg): Likewise.
14362         Break out two...
14363         (failed_reload, set_reload_reg): ... new functions.
14364         (choose_reload_regs_init): New function, mostly broken out from...
14365         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
14366         Also lose one #if 0 block.
14367
14368 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
14369
14370         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
14371         substitution.
14372
14373 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
14374
14375         * tree.h (BLOCK_TYPE_TAGS): Remove.
14376         (BLOCK_END_NOTE): Likewise.
14377         (BLOCK_LIVE_RANGE_FLAG): Likewise.
14378         (BLOCK_LIVE_RANGE_START): Likewise.
14379         (BLOCK_LIVE_RANGE_END): Likewise.
14380         (tree_block): Remove live_range_flag, live_range_var_flag, and
14381         type_tags.  Remove end_note, live_range_start, and live_range_end.
14382         (remember_end_note): Remove prototype.
14383         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14384         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14385         remember_end_note.
14386         * ggc-common.c (ggc_mark_tree_children): Don't mark
14387         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14388         * integrate.c (adjust_copied_decl_tree): Remove.
14389         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14390         * stmt.c (last_block_end_note): Remove.
14391         (init_stmt): Don't add a GC root for it.
14392         (expand_fixup): Don't set it.
14393         (remember_end_note): Remove.
14394         (expand_end_bindings): Don't set last_block_end_note.
14395
14396 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14397
14398         * reload1.c (reload_reg_free_for_value_p): Show
14399         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14400         reloads.
14401
14402 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
14403
14404         * expmed.c (extract_bit_field): Allow for the case of non-integer
14405         objects that are smaller than a word (like SFmode on a 64-bit
14406         machine).
14407
14408         * loop.c (basic_induction_var): A non-integer variable which is
14409         being set by a paradoxical subreg is probably not a biv.
14410
14411 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14412
14413         * prefix.c (translate_name) Check for empty prefix string.
14414
14415 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
14416
14417         * Makefile.in (CPP_CROSS_NAME): New variable.
14418         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14419         xcpp.
14420         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14421         names of the files to be uninstalled.
14422
14423 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
14424
14425         * collect2.c (IS_DIR_SEPARATOR): Define.
14426         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14427
14428         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14429         functions too.
14430
14431         * haifa-sched.c (add_dependence): Update the true dependency
14432         cache the first time we add a true dependence to the LOG_LINKS chain.
14433
14434 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
14435
14436         * fold-const.c (fold): Fix comment.
14437
14438 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14439
14440         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14441         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14442         dbxout_start_new_source_file, dbxout_source_file,
14443         dbxout_source_line, dbxout_finish, dbxout_type_fields,
14444         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14445         Constify a char*.
14446         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14447         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14448         (dbxout_block): Initialize variable `blocknum'.
14449
14450         * dbxout.h (dbxout_init, dbxout_finish,
14451         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14452         dbxout_args, dbxout_source_line): Constify a char*.
14453
14454         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14455         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14456         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14457         low_pc_attribute, high_pc_attribute, body_begin_attribute,
14458         body_end_attribute, comp_dir_attribute, sf_names_attribute,
14459         src_info_attribute, mac_info_attribute, producer_attribute,
14460         lookup_filename, generate_macinfo_entry, fundamental_type_code,
14461         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14462         dwarfout_undef): Constify a char*.
14463         (add_incomplete_type, retry_incomplete_types): Add prototypes.
14464
14465         * dwarfout.h (dwarfout_define, dwarfout_undef,
14466         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14467
14468 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
14469
14470         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14471         (MULTILIB_ISA_DEFAULT): New.
14472         (MULTILIB_DEFAULTS): Use it.
14473         * config/mips/mips.c (): Remove the now unnecessary definition
14474         of MIPS_ISA_DEFAULT.
14475         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14476         unnecessary definition.
14477
14478 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
14479
14480         * arm.md (pic_load_addr): Add constraints to operand 1.
14481
14482 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
14483
14484         * fixinc/genfixes:  Provide a means for specifying -D options to
14485         AutoGen
14486
14487 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
14488
14489         * arm.c (arm_override_options): Correct initialization of
14490         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14491         arm_is_strong, and arm_is_6_or_7.
14492
14493         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14494         (note_set_pseudo_multiple_uses): New function.
14495         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14496         if a pseudo set in the loop exit is used elsewhere.
14497
14498 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
14499
14500         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14501
14502 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
14503
14504         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14505         a single load-address pattern.
14506
14507 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
14508
14509         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14510         depending on whether or not line-number notes are present.
14511
14512 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14513
14514         * cccp.c (progname, file_buf, default_include, include_file,
14515         macrodef, definition, hashval, wchar_type, user_label_prefix,
14516         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14517         expand_to_temp_buffer, is_system_include, base_name,
14518         absolute_filename, read_name_map, open_include_file,
14519         record_control_macro, check_precompiled, check_preconditions,
14520         pcfinclude, pass_thru_directive, create_definition,
14521         check_macro_name, comp_def_part, collect_expansion,
14522         check_assertion, read_token_list, assertion_install,
14523         assertion_lookup, eval_if_expression, conditional_skip,
14524         validate_else, skip_quoted_string, quote_string, macarg1,
14525         error_from_errno, install, lookup, hashf, dump_defn_1,
14526         perror_with_name, pfatal_with_name, main, trigraph_pcp,
14527         check_white_space, rescan, handle_directive, monthnames,
14528         special_symbol, do_include, remap_include_file, write_output,
14529         arglist, do_assert, do_unassert, do_line, do_error, do_once,
14530         do_ident, do_sccs, do_xifdef, skip_if_group,
14531         output_line_directive, macroexpand, macarg, change_newlines,
14532         initialize_builtins, make_definition): Constify a char*.
14533
14534         * pcp.h (stringdef): Likewise.
14535
14536 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
14537
14538         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14539         not of pattern.
14540
14541 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
14542                           Richard Henderson  <rth@cygnus.com>
14543
14544         * alias.c: Include ggc.h.
14545         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14546         (record_set): Verify enough room in reg_base_value.
14547         (init_alias_analysis): Allocate reg_base_value with xcalloc.
14548         Register it as a GC root.
14549         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
14550         * Makefile.in (alias.o): Depend on ggc.h.
14551
14552         * unroll.c (unroll_loop): Verify the insn before a barrier
14553         is a JUMP_INSN before checking JUMP_LABEL.
14554
14555 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14556
14557         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14558         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14559         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14560         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14561         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14562         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14563
14564 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14565
14566         * output.h (ctors_section, dtors_section, bss_section): Prototype.
14567
14568         * alpha/alpha-interix.h (text_section): Delete prototype.
14569         * alpha/elf.h (text_section): Likewise.
14570         * arm/linux-elf.h (text_section): Likewise.
14571         * arm/linux-telf.h (text_section): Likewise.
14572         * c4x/c4x.h (text_section): Likewise.
14573         * dsp16xx/dsp16xx.h (bss_section): Likewise.
14574         * elfos.h (text_section): Likewise.
14575         * i386/aix386ng.h (text_section): Likewise.
14576         * i386/i386-interix.h (text_section): Likewise.
14577         * i386/sco5.h (text_section): Likewise.
14578         * i386/svr3gas.h (text_section): Likewise.
14579         * nextstep.h (text_section): Likewise.
14580         * psos.h (text_section): Likewise.
14581         * ptx4.h (text_section): Likewise.
14582         * svr3.h (text_section): Likewise.
14583         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14584
14585 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14586
14587         * final.c (peephole): Delete prototype.
14588
14589         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14590         (pre_insert_copies): Remove unused variable `bb'.
14591
14592         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14593         prototypes.
14594
14595         * output.h (peephole): Add prototype.
14596
14597 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
14598
14599         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14600         -O0.
14601
14602 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
14603
14604         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14605         for inlined declarations.
14606
14607 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
14608
14609         * arm.c (logical_binary_operator): New fucntion.
14610         * arm.h (logical_binary_operator): Declare it.
14611         (PREDICATE_CODES): Handle logical_binary_operator.
14612         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14613         output constraints.  Add appropriate splitters.
14614         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14615         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14616         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14617
14618 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14619
14620         * genoutput.c (struct operand_data): New elt eliminable.
14621         (output_operand_data): Write it.
14622         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14623         (compare_operands): Take it into account.
14624         * recog.h (struct insn_operand_data): New elt eliminable.
14625         * reload1.c (check_eliminable_occurrences, elimination_effects): New
14626         functions.
14627         (old_asm_operands_vec, new_asm_operands_vec): Delete.
14628         (eliminate_regs): Move code that detects changes to elimination
14629         target regs into new function elimination_effects.
14630         Delete one #if 0 block.
14631         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14632         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14633         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14634         Only call eliminate_regs for real operands of the insn, not for parts
14635         of its structure or parts matched by things like match_operator.
14636         Use elimination_effects and check_eliminable_occurrences.  Use
14637         copy_insn to duplicate the pattern when not in the final pass.
14638
14639 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
14640
14641         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14642         and fld.
14643
14644 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
14645
14646         * fixinc/README: document the "mach" machine matching test
14647         * fixinc/fixfixes.c: Implement the #else/#endif label fix
14648         * fixinc/fixtests.c: Implement the #else/#endif label test
14649         * fixinc/inclhack.def: utilize these tests and fixes
14650         * fixinc/inclhack.sh:  regen
14651         * fixinc/fixincl.x:  regen
14652         * fixinc/fixincl.sh:  regen
14653
14654 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
14655
14656         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
14657         depend on ggc.h.
14658
14659 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
14660
14661         * gcc.1: Document exit codes.
14662
14663 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14664
14665         * calls.c: Include tm_p.h later, so everything we need is defined.
14666         * expr.c: Likewise.
14667         * function.c: Likewise.
14668
14669         * except.c: Include tm_p.h.
14670
14671         * sparc.c: Likewise.
14672         (dwarf2out_cfi_label): Don't prototype.
14673         (check_return_regs, epilogue_renumber,
14674         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14675         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14676         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14677         ultra_schedule_insn): Add static prototype.
14678         (data_segment_operand, text_segment_operand): Call itself with the
14679         proper number of arguments.
14680         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14681
14682         * sparc.h: Move all declarations to sparc-protos.h.
14683         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
14684         symbolic_operand.
14685
14686         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14687
14688         * config/svr4.h (text_section, ctors_section, dtors_section): Add
14689         Prototypes.
14690         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14691         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14692         ASM_OUTPUT_ASCII): Constify a char*.
14693
14694         * sparc-protos.h: New file for sparc prototypes.
14695
14696 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14697
14698         * function.c (record_insns, contains): Always declare and define.
14699         (record_insns): Mark with ATTRIBUTE_UNUSED.
14700
14701 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14702
14703         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14704         to .section when outputting a .bss section to deal with multiple
14705         .bss input sections (as happens with -fdata-sections)
14706         Also output %progbits, not @progbits so the assembler doesn't treat as
14707         a comment.
14708         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14709
14710         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14711         thumb parts even when building with non-thumb CPUs, by forcing
14712         thumb mode.
14713
14714 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
14715
14716         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14717         (movdf_const_intreg_sp64): Similarly.
14718
14719         * local-alloc.c (update_equiv_regs): Check the correct insn
14720         for pre-existing REG_EQUIV notes.
14721
14722 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
14723
14724         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14725         block reached by a branch if we're not going to actually process
14726         this block.
14727
14728 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
14729
14730         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14731         a local extern function declaration.
14732
14733 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
14734
14735         * i386.c (ix86_expand_prologue): Properly wrap USE around
14736         reg for CALL_INSN_FUNCTION_USAGE.
14737
14738 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
14739
14740         * config/mips/mips.md (movdf_internal1a): Allow floating-point
14741         move between GP_REGs.
14742
14743 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
14744
14745         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14746         the mode size when finding out if an offset is legal.
14747
14748 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
14749
14750         * basic-block.h (PROP_*): Move constants from ...
14751         * flow.c: ... here.
14752         (compute_bb_for_insn): Free the array before reallocating.
14753         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14754         (allocate_reg_life_data): Reset all reg variables collected by
14755         propagate_block.
14756         (get_block_head_tail): Don't convert from bb to block.
14757         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
14758         (find_insn_reg_weight): Take block not bb.
14759         (schedule_block): Don't set block num for moved insns.
14760         (schedule_region): Don't update_life_info or find_insn_reg_weight.
14761         (schedule_insns): Do it here instead.
14762         * combine.c (combine_instructions): Invoke compute_bb_for_insn
14763         before update_life_info.
14764         * recog.c (split_all_insns, peephole2_optimize): Update for
14765         new arg to update_life_info.
14766         * rtlanal.c (remove_note): Cope with NULL note.
14767         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14768         if we did sched1.
14769
14770 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
14771
14772         * jump.c (jump_optimize_1): More accurately detect casesi insns.
14773
14774         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14775         block records so that merge_blocks_nomove will clean up correctly.
14776         (split_edge): Handle casesi insns.
14777
14778         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14779
14780 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
14781
14782         * pa.md (call, call_value): Do not emit a blockage after restoring
14783         the PIC register.
14784
14785 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
14786
14787         * c-typeck.c (c_expand_asm_operands): Fix typo.
14788
14789 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14790
14791         * arm.c (fpu_rhs_operand): Verify modes.
14792         (fpu_add_operand): Likewise.
14793         (di_operand): Likewise.
14794         (soft_df_operand): Likewise.
14795
14796 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
14797
14798         * arm.c (arm_return_in_memory): APCS rules state that the elements
14799         of a structure returned in a register must be 'integer-like'.
14800
14801 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
14802
14803         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14804         in the source tree when the generated targets are out of date
14805         * fixinc/genfixes: Alter it to run individual fixes for make.
14806         * fixinc/README: rewrite
14807         * fixinc/inclhack.def: moved initial comments to README
14808
14809 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
14810
14811         * toplev.c (main): Do not generate an error message if an
14812         unrecognised command line switch is recognisable by another
14813         language.  If extra_warnings are enabled, then generate a
14814         warning message instead.
14815
14816 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14817
14818         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
14819         (insert_pack_attributes): Delete prototype.
14820
14821         * c-pragma.c (default_alignment): New static variable.
14822         (push_alignment): Initialize to current effective alignment.
14823         (pop_alignment): Use to set new alignment.
14824         (insert_pack_attributes): Delete function.
14825         (handle_pragma_token): Set default_alignment as well each time
14826         a #pragma pack(<n>) is encountered.
14827
14828 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
14829
14830         * reg-stack.c (stack_result): Aggregates are not returned in
14831         stack registers.
14832
14833 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
14834
14835         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
14836
14837 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
14838
14839         * basic-block.h (set_block_num): Declare.
14840         * flow.c (update_life_info): Don't call compute_bb_for_insn
14841         or free_basic_block_vars.
14842         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
14843         (insn_orig_block): Remove.
14844         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
14845         (schedule_block): Keep BLOCK_NUM up-to-date.
14846         (schedule_insns): Use compute_bb_for_insn.
14847         * recog.c (split_all_insns): Likewise.
14848         (peephole2_optimize): Likewise.
14849
14850 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
14851
14852         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
14853         if the pic register is used.
14854
14855 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14856
14857         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
14858         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
14859         if that tests TREE_PERMANENT.
14860
14861 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
14862
14863         * cse.c (invalidate_for_call): Do not remove memory references from
14864         the table here.  It's handled elsewhere.
14865
14866         * haifa-sched.c (add_dependence): Protect references to the
14867         true dependency cache with #ifdef INSN_SCHEDULING.
14868         (remove_dependence): Similarly.
14869
14870         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
14871         to the cfg code that this is a return instruction.
14872         * mn10300.md (return_internal): Similarly.
14873
14874         * combine.c (get_last_value): If the last set of a register
14875         is after subst_low_cuid, then we can not use it to determine
14876         the register's last value.
14877
14878 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
14879
14880         * Makefile.in: Back out previous change.
14881
14882 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
14883
14884         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
14885
14886         * haifa-sched.c (add_dependence): Only check/update the cache
14887         if it exists.
14888         (remove_dependence): Likewise.
14889         (schedule_insns): Only create the true_dependency_cache if the
14890         average number of instructions in a basic block is very large.
14891
14892 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
14893
14894         * Makefile.in (ggc-common.o): Depend on genrtl.h.
14895         (ggc-simple.o): Likewise.
14896         (ggc-page.o): Likewise.
14897
14898 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
14899
14900         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
14901         Prototype for exported functions.
14902         (pre_lcm, pre_rev_lcm): Remove prototypes.
14903         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
14904         (compute_available): Move to lcm.c, and change parameter order.
14905         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
14906         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
14907         (gcse_main): No longer call compute_preds_succs.  Rebuild the
14908         set table after reach pre pass.
14909         (pre_insert_map, pre_delete_map, edge_list): New.
14910         (alloc_pre_mem): Allocate edge vectors.
14911         (free_pre_mem): Delete edge vectors.
14912         (compute_pre_data): Call new edge based lcm routines.
14913         (process_insert_insn): New function.
14914         (insert_insn_end_bb): Use it.
14915         (pre_edge_insert): New function.
14916         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
14917         needed.
14918         (pre_insert_copies): Revamp using new edge based lcm outputs.
14919         (pre_delete): Likewise.
14920         (one_pre_gcse_pass): Insert & remove fake edges to the exit
14921         block.
14922         (compute_code_hoist_vbeinout): New new edge based routines.
14923         * lcm.c: Remove all the old LCM functions.  Replace with new ones
14924         that work with the new cfg datastructures and work with edges
14925         instead of blocks.
14926
14927 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14928
14929         * reload.h (struct reload): Add new fields "mode" and "nregs".
14930         * reload1.c: Change all occurrences of reload_mode and reload_nregs
14931         to reference the "mode" and "nregs" field within struct reload.
14932
14933 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
14934
14935         * haifa-sched.c (true_dependency_cache): New.
14936         (add_dependence): Use the true dependency cache to avoid expensive
14937         walks down the LOG_LINKS dependency list.  Add entries to the
14938         cache as necessary.
14939         (remove_dependence): Remove entries from the true dependency cache
14940         as needed.
14941         (schedule_insns): Allocate and initialize and free the true
14942         dependency cache.
14943
14944         * haifa-sched.c (schedule_insns): Do not remove inter-block
14945         dependencies anymore.
14946
14947 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
14948
14949         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
14950         * i386/t-winnt: Likewise.
14951
14952 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
14953
14954         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
14955
14956 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
14957
14958         * Makefile.in (LANGUAGES): Omit "proto".
14959         (clean): Remove stale comment about removing unprotoize.c.
14960
14961 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14962
14963         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
14964         using arithmetic on void pointers.
14965
14966 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
14967
14968         * haifa-sched.c (compute_block_forward_dependencies): Only check
14969         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
14970
14971 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
14972
14973         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
14974         (expr_equiv_p): Reject memories with different alias sets.
14975
14976 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
14977
14978         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
14979         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
14980         (f_options): Add "bounded-pointers" and "bounds-check" entries.
14981         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
14982         (lang_init): Set default for flag_bounds_check if still "unspecified".
14983
14984 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14985
14986         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
14987
14988 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14989
14990         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
14991         instructions.
14992
14993 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14994
14995         * config/c4x/c4x.md (*db_noclobber,
14996         *decrement_and_branch_until_zero_noclobber): New patterns and
14997         associated splitters.
14998
14999 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15000
15001         * config/c4x/c4x.md (parallel instruction patterns): Rework
15002         constraints to keep reload happy.
15003
15004 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15005
15006         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15007         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15008         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15009         Add new patterns and associated post-reload splitters.
15010
15011 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15012
15013         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15014
15015 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15016
15017         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15018         if appropriate.
15019         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15020
15021 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15022
15023         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
15024         memory mode.
15025
15026 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
15027
15028         * pa.c (move_operand): Rely on memory_address_p to determine the
15029         validity of non-indexed memory addresses.
15030         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15031         operand in DFmode and SFmode when generating PA2.0 code.
15032
15033 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
15034
15035         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15036
15037 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
15038
15039         * mips.c (function_prologue): Fix argument types.
15040         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15041         (casesi_internal): Write to the scratch register.
15042
15043 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
15044
15045         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
15046         to U_CHAR **.
15047         (parse_charconst): Delete unnecessary cast when calling
15048         cpp_parse_escape.
15049         (cpplib.h): Kill prototype of cpp_parse_escape.
15050
15051 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
15052
15053         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15054         * unroll.c (unroll_loop): Cast return value of alloca.
15055         * i370/i370.c: Include function.h and toplev.h.
15056         (i370_label_scan): Remove c++ commented abort.
15057         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15058         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15059         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15060         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15061
15062 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
15063
15064         * config/t-freebsd: Do not override USER_H.
15065         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15066
15067 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15068                           Mumit Khan  <khan@xraylith.wisc.edu>
15069
15070         * c-parse.in (component_decl): Support anonymous struct/union.
15071         (%expect): Update.
15072         * c-parse.y: Regenerate.
15073         * c-parse.c: Likewise.
15074         * objc/objc-parse.y: Likewise.
15075         * objc/objc-parse.c: Likewise.
15076         * c-decl.c (finish_struct): Don't sort the fields.
15077         (field_decl_cmp): Delete unused function.
15078
15079 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
15080
15081         * sparc.md (movsf_const_intreg): Revert last constraint change.
15082         (movdf_const_intreg_sp32): Likewise.
15083
15084 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15085
15086         * cse.c: Include hashtab.h instead of splay-tree.h
15087         (struct cse_reg_info): No longer use variant union.  Add new
15088         field "regno".  All references changed to avoid union.
15089         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15090         (free_cse_reg_info): Remove.
15091         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15092         (get_cse_reg_info): Revamp to use expandable hash tables instead
15093         of splay trees.  Initialize new fields in cse_reg_info structure.
15094         (new_basic_block): Similarly.
15095
15096 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
15097
15098         * genrecog.c (message_with_line): Prototype.
15099         (validate_pattern): Pass along the set for the dest, not a flag.
15100         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
15101         Check for PC/CC0 as sources.
15102         (nodes_identical): Check for children position match before
15103         allowing the combination.
15104
15105         * rtl.c (read_rtx): Track line number across \\\n.
15106
15107 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
15108
15109         * mips.h (SPECIAL_MODE_PREDICATES): New.
15110         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15111         (movdi+1, movsi+1): Add output reload constraint.
15112         (casesi_internal): Likewise.  Fix commentary.
15113         (return_internal): Use pmode_register_operand.
15114
15115 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
15116
15117         * 1750a.md (movstrqi): Add missing output reload constraint.
15118         (call_value): Likewise.
15119         * a29k.md (cpxxx patterns): Add missing match_operator mode.
15120         (jmpfdec): Add missing inout reload constraint.
15121         * elxsi.md (addsi patterns): Add missing output reload constraint.
15122         (move from sp): Use @ alternates.
15123         (call_value): No constraint on output.
15124         * fr30.md (movsi_pop): Add missing output reload constraint.
15125         (movsf_constant_store): Likewise.
15126         (splits): Remove constraints.
15127         (subsi3): Add missing mode.
15128         * i370.md (cmpstrsi+1): Add missing output reload constraint.
15129         (call_value): Likewise.
15130         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15131         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15132         * m32r.md (movsicc_internal): Add output reload constraint.
15133         (movstrsi_internal): Add inout reload constraints.
15134         * m88k.h (reg_names): Don't declare.
15135         (SPECIAL_MODE_PREDICATES): New.
15136         * m88k.md (*): Use register_operand not reg_or_0_operand
15137         on destinations.
15138         * mn10200.h (PREDICATE_CODES): New.
15139         * ns32k.md (ffs pattern): Add output reload constraint.
15140         * pdp11.md (sob pattern): Add inout reload constraint.
15141         * sh.md (splits): Remove constraints.
15142         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15143         * v850.md (pattern_is_ok_for_epilogue): Likewise.
15144         * vax.md (jgequ pattern): Add inout reload constraint.
15145
15146 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
15147
15148         * configure.in (djgpp): Revert previous patch.
15149         * configure: Rebuit.
15150         * config/i386/djgpp.h: Revert previous patch.
15151
15152 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
15153
15154         * fixinc/inclhack.def: Restore patch lost during last merge of
15155         "no_bogosity" branch.
15156         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15157
15158 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15159
15160         * fixincludes: Add a HPUX 11 fix for inttypes.h.
15161         * fixinc/inclhack.def: Same.
15162         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15163
15164 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
15165
15166         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15167         as the base of a PLUS.
15168
15169 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15170
15171         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
15172         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
15173
15174 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
15175
15176         * pa.md (post_stw+1): Use pmode_register_operand.
15177         (dcacheflush, icacheflush): Likewise.
15178
15179         * i386.md (movstricthi_1): Allow r/r.
15180
15181 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
15182
15183         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15184         to (not (and (arg0) (arg1))). Similary for and.
15185
15186         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15187         fallthrough to associate code.
15188         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15189         bits in common.
15190
15191         * combine.c (simplify_logical): Convert XOR to IOR if operands have
15192         no bits in common; remove XOR to ROTATE conversion.
15193
15194 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15195
15196         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15197
15198 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15199
15200         * config/c4x/c4x.c (dst_operand): New.
15201         (PREDICATE_CODES): Update.
15202         * config/c4x/c4x.h (dst_operand): Declare it.
15203         * config/c4x/c4x.md:  Define mode for each unspec usage.
15204         (move patterns):  Use dst_operand predicate instead of src_operand.
15205         (movqi_update, movqf_update): Delete.
15206
15207 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
15208
15209         * recog.c (pmode_register_operand): New.
15210         * recog.h: Declare it.
15211         * genrecog.c (pred_codes): Likewise.
15212         (special_mode_pred_table): Likewise.
15213         (validate_pattern): Don't warn no mode for address_operand.
15214
15215         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15216         if the operand is not insn-like.
15217
15218 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
15219                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15220
15221         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15222
15223 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
15224
15225         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15226         instead of general_operand in a SET_DEST.  Use const_double_operand
15227         instead of an explicit test against CONST_DOUBLE.
15228         (movsf_const_lo): Add missing register mode.
15229         (goto_handler_and_restore): Add auxiliary test for Pmode.
15230         (flush): Adjust to use address_operand.
15231         (return_sf_no_fpu): Add missing output constraint.
15232
15233 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
15234
15235         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15236         for call return value.
15237         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15238
15239 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
15240
15241         * toplev.c (main): Only warn about options for other languages.
15242         * collect2.c (main): Pass -w to sub-gcc.
15243
15244 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
15245
15246         * flow.c (propagate_block): Add call-clobbered registers to
15247         significant too.
15248
15249         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15250         zapping mem_set_list.
15251         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15252         (mark_set_1, mark_used_regs): Likewise.
15253
15254 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
15255
15256         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15257
15258 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15259
15260         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15261         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15262         options. Also add a new item "C-only Warning Options" to the
15263         option summary.
15264
15265 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
15266
15267         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15268         from multiple calls.
15269
15270 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
15271
15272         * i386.md (call value patterns): Move to the end of the file.
15273         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15274
15275 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15276
15277         * configure.in (djgpp configuration): Define extra_objects..
15278         * configure: Rebuilt.
15279         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15280         (DTORS_SECTION_ASM_OP): Define.
15281         (INIT_SECTION_ASM_OP): Define.
15282         (FINI_SECTION_ASM_OP): Define.
15283         (DATA_SECTION_ASM_OP): Define.
15284         (TEXT_SECTION_ASM_OP): Define.
15285         (EH_FRAME_SECTION_ASM_OP): Define.
15286         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15287         (STARTFILE_SPEC): Add crtbegin.o.
15288         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15289         to here from LINK_COMMAND_SPEC.
15290         (DO_GLOBAL_CTORS_BODY): Define.
15291         (CRTSTUFF_USE_FINI_SECTION): Define
15292         (HAS_INIT_SECTION): Delete.
15293
15294 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
15295
15296         * Makefile.in (all.cross): Depend on xcpp$(exeext).
15297
15298 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
15299
15300         * pa.h (PREDICATE_CODES): New.
15301
15302         * genrecog.c (validate_pattern): Condense the destination
15303         non-lvalue message.
15304
15305 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
15306
15307         * alpha.md (call-1): Supply missing mode for operator.
15308         (*): Add missing output reload constraints.  Remove constraints
15309         from define_splits.
15310
15311         * i386.h (SPECIAL_MODE_PREDICATES): New.
15312         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15313         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15314         (addsi_lea_3): Add missing mode for op 3.
15315         (prologue_set_got, prologue_get_pc): Add missing modes.
15316         (*) Add missing output reload constraints.
15317
15318 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
15319
15320         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15321         check for member bit-size overflow and use var_size if it occurs.
15322         (layout_record): Use bitsize_int() to define the type size in bits.
15323         Likewise for computation and assignment to DECL_FIELD_BITPOS.
15324         (layout_decl): Likewise when assigning to DECL_SIZE.
15325
15326 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
15327
15328         * genrecog.c (validate_pattern): Typo last change.  Verify
15329         that output operands have output reloads.
15330
15331 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
15332
15333         * genrecog.c (special_mode_pred_table): New.
15334         (NUM_SPECIAL_MODE_PREDS): New.
15335         (find_operand): New.
15336         (validate_pattern): New argument `insn'.  Warn for assignment to
15337         any predicate accepting non-lvalues.  Conditionaly warn for
15338         match_operand without a mode.  Try much harder to match source
15339         and destination modes on a set.
15340         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15341
15342 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
15343
15344         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15345
15346 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
15347
15348         * combine.c (simplify_logical): Recognize xor pattern that encodes
15349         rotation.
15350
15351 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15352
15353         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15354         alignment.
15355
15356 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
15357
15358         * ggc-page.c (MAP_FAILED): Provide default.
15359
15360 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
15361
15362         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15363         * sparc.h (PREDICATE_CODES): Update.
15364
15365 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
15366
15367         * alpha.c (some_ni_operand): New.
15368         * alpha-protos.h: Declare it.
15369         * alpha.h (PREDICATE_CODES): Update.
15370         * alpha.md (sXaddq reload insns): Use some_ni_operand
15371         for SET_DEST instead of some_operand.
15372
15373 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
15374                           Jim Wilson  <wilson@cygnus.com>
15375
15376         * genrecog.c (maybe_both_true_2): Don't compare modes of
15377         two DT_pred tests.
15378         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
15379         after find_afterward.
15380         (debug_decision_1): Dump next and afterward codes.
15381
15382 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
15383
15384         * rtl.c (dump_and_abort): Remove.
15385         (fatal_with_file_and_line): New.
15386         (fatal_expected_char): New.
15387         (read_rtx_lineno, read_rtx_filename): New.
15388         (read_skip_spaces): Track line number.
15389         (read_name): Use fatal_with_file_and_line.
15390         (read_rtx): Use fatal_expected_char.  Track line number.
15391         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15392
15393         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15394         if it isn't a CODE_LABEL.
15395
15396         * genattr.c (main): Set read_rtx_filename.
15397         * genattrtab.c (main): Likewise.
15398         * gencodes.c (main): Likewise.
15399         * genconfig.c (main): Likewise.
15400         * genemit.c (main): Likewise.
15401         * genextract.c (main): Likewise.
15402         * genflags.c (main): Likewise.
15403         * genopinit.c (main): Likewise.
15404         * genoutput.c (main): Likewise.
15405         * genpeep.c (main): Likewise.
15406
15407         * genrecog.c (decision_test.u.insn): Add `lineno'.
15408         (pattern_lineno, error_count): New variables.
15409         (message_with_line): New.
15410         (add_to_sequence): Break out checking code to ...
15411         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
15412         (merge_insn): Use message_with_line.
15413         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
15414         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
15415
15416 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15417
15418         * expr.c (store_constructor): Clear union if constructor is empty.
15419
15420 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
15421
15422         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15423         Add !endian checks.  Change %{...} to %(...).
15424
15425 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
15426
15427         * i386.md (*addsi3_cc): Renamed from addcsi3.
15428         (*addsi3_carry): Renamed from addxsi3.
15429         (*subsi3_cc): Renamed from subcsi3.
15430         (*subsi3_carry): Renamed from subxsi3.
15431         (*xorqi_cc_1): Renamed from xorcqi_1.
15432         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15433         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15434
15435 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
15436
15437         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15438         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15439
15440 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
15441
15442         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15443         climb up the chain of insns.
15444
15445 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
15446
15447         * genrecog.c (write_subroutine): Careful for null trees.
15448         (process_tree): Don't elide empty functions.
15449
15450 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
15451
15452         * Makefile.in (genrtl.o): Depend on ggc.h.
15453         * configure.in (valloc): Probe for it.
15454         (with-gc): Use ggc-page if valloc present.
15455         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15456         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15457         (ggc_alloc_string): Moved from ggc-page.c.
15458         * ggc-none.c (ggc_alloc_obj): New.
15459         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15460         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15461         (struct globals): Likewise for dev_zero_fd.
15462         (init_ggc): Likewise for it's initialization.
15463         (ggc_allocated_p): Move careful dereference from ...
15464         (ggc_lookup_page_table): ... here.  Delete.
15465         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15466         (alloc_anon): Use valloc if no mmap.
15467         (release_pages): Use free if using valloc.
15468         (ggc_alloc_obj): Renamed from alloc_obj.
15469         (ggc_set_mark): Renamed from mark_obj.
15470         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15471         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15472         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15473         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15474         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15475         (ggc_collect): Use fp printing instead of our own rounding.
15476         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15477         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15478         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15479         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15480         (struct ggc_string, struct ggc_any): Delete.
15481         (offsetof): Provide default definition.
15482         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15483         (PTR_KEY): New.
15484         (struct ggc_mem): New, from corpse of ggc_any.
15485         (struct ggc_status): Delete.
15486         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15487         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15488         (n_strings_collected, n_anys_collected): Delete.
15489         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15490         (ggc_alloc_string, ggc_alloc): Delete.
15491         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15492         (ggc_free_string, ggc_free_any): Delete.
15493         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15494         (ggc_compare_addresses, ggc_mark_string): Delete.
15495         (ggc_mark_string_if_gcable, ggc_mark): Delete.
15496         (search_data): Delete.
15497         (struct globals): New.
15498         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15499         (tree_insert, tree_lookup): New.
15500         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15501         (clear_marks, sweep_objs): New.
15502         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
15503         (init_ggc): Set allocated_last_gc.
15504         (ggc_push_context): Gut.  Use G.context.
15505         (ggc_pop_context): Likewise.
15506         (ggc_pop_context_1): New.
15507         (debug_ggc_tree): New.
15508         (debug_ggc_balance, tally_leaves): New.
15509         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15510         (ggc_mark_string_if_gcable): Remove decl.
15511         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15512         (ggc_mark_rtvec_children): New.
15513         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15514         (ggc_mark_if_gcable): New decl.
15515         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15516         (ggc_alloc_tree, ggc_alloc): Likewise.
15517         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15518         (ggc_alloc_obj): New decl.
15519         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15520         (ggc_alloc_tree, ggc_alloc): Likewise.
15521         (ggc_set_mark): New decl.
15522         * rtl.h (struct rtx_def): Remove gc_mark.
15523         (struct rtvec_def): Likewise.
15524         * tree.h (struct tree_common): Likewise.
15525
15526 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
15527
15528         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15529         float_format and thread_file definitions.
15530         * configure: Rebuilt.
15531
15532 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
15533
15534         * extend.texi (Function Names): Document types of function names.
15535
15536 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15537
15538         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15539         an earlyclobbered output conflict with RELOAD_INPUT reloads.
15540
15541 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15542
15543         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15544
15545 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15546
15547         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15548
15549 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
15550
15551         * collect2.c (main): Do prelimnary link on AIX if rflag.
15552
15553 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15554
15555         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15556         __CTOR_LIST__ in opposite order, which is the correct order for sorted
15557         constructors.
15558         (__do_global_dtors): similarly for __DTOR_LIST__.
15559
15560 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15561                                 Diego Novillo <dnovillo@cygnus.com>
15562
15563         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15564         FPUL_REGS.
15565
15566 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
15567
15568         * fixincl/*: Merged "no_bogosity" branch
15569         * fixincl/fixlib.h: protect against doubly defining t_bool
15570         * fixincl/server.h: protect against doubly defining t_bool
15571
15572 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
15573
15574         * genoutput.c: Include toplev.h.
15575
15576 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
15577
15578         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15579         Undef.
15580         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15581         * configure: Regenerate.
15582
15583 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
15584
15585         * gcse.c (delete_null_pointer_checks): Returns void.
15586
15587 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15588
15589         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15590         * emit-rtl.c (copy_insn_1): Likewise.
15591
15592 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15593
15594         * config/mips/mips.c (mips_build_va_list): Correct
15595         TREE_CHAIN setting when hard-float.
15596         (mips_va_start): Use corrected setting.
15597         (mips_va_arg): Likewise.  Also pass a tree to build of
15598         POSTINCREMENT_EXPR rather than a naked 'int'.
15599
15600 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
15601
15602         * ggc.h (ggc_push_context): Fix comment.
15603         (ggc_pop_context): Likewise.
15604         (mark_string_if_gcable): Likewise.
15605         * ggc-common.c (ggc_mark_rtx_children): Use
15606         ggc_mark_string_if_gcable.
15607         * ggc-page.c (ggc_lookup_page_table): New function.
15608         (ggc_allocated_p): Likewise.
15609         (mark_obj): Fix formatting.
15610         (ggc_mark_string_if_gcable): New function.
15611         * ggc-simple.c (ggc_allocated_strings): New variable.
15612         (ggc_strings_used): Likewise.
15613         (ggc_compare_addresses): New function.
15614         (ggc_pop_context): Pop the `any' memory too.
15615         (ggc_mark_string_if_gcable): New function.
15616         (ggc_collect): Initialize and tear down ggc_allocated_strings.
15617
15618 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
15619
15620         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15621         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15622         * rs6000.c (expand_block_move): Match movstrsi_?reg register
15623         changes.
15624
15625 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
15626
15627         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15628         (sched_reg_live_length, sched_reg_basic_block): Delete.
15629         (current_block_num, bb_live_regs, old_live_regs): Delete.
15630         (dead_notes, struct sometimes): Delete.
15631         (sched_note_set, birthing_insn_p): Delete.
15632         (adjust_priority): Gut useless reg lifetime code.
15633         (create_reg_dead_note, attach_deaths): Delete.
15634         (attach_deaths_insn, new_sometimes_live): Delete.
15635         (finish_sometimes_live): Delete.
15636         (find_pre_sched_live, find_post_sched_live): Delete.
15637         (update_reg_usage): Delete.
15638         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15639         (schedule_insns): Delete reg lifetime code.
15640         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15641         (unlink_other_notes): Adjust REG_NOTE commentary.
15642         (reemit_notes): Use REG_SAVE_NOTE.
15643         (schedule_block): Likewise.
15644         (schedule_region): Allocate bitmap of blocks in region.  Use
15645         count_or_remove_death_notes.  Use update_life_info.
15646
15647         * rtl.h (REG_SAVE_NOTE): New.
15648         * rtl.c (reg_note_name): Update.
15649
15650 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
15651
15652         * combine.c (refresh_blocks, need_refresh): New.
15653         (combine_instructions): Allocate refresh_blocks.  Invoke
15654         update_life_info if needed.
15655         (distribute_notes): Mark refresh_blocks instead of installing
15656         USE insns.
15657         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15658         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15659
15660         * Makefile.in (recog.o): Depend on basic-block.h.
15661
15662 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
15663
15664         * genrecog.c (add_to_sequence): Thinko last change: delete
15665         shadowing allow_const_int variable.
15666
15667 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15668
15669         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15670         __GNUC__ and __GNUC_MINOR__.
15671
15672         * gansidecl.h: Likewise.
15673
15674         * rtl.c: Likewise.
15675
15676         * rtl.h: Likewise.
15677
15678         * toplev.h: Likewise.
15679
15680         * tree.c: Likewise.
15681
15682         * tree.h: Likewise.
15683
15684         * varray.c: Likewise.
15685
15686         * varray.h: Likewise.
15687
15688 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15689
15690         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15691         use one before a jump table.
15692
15693         * rtl.def (ADDRESS): Change documentation to match reality.
15694         * md.texi: Don't document it.
15695         * gmicro.md (load address pattern): Use 'p' constraint, delete use
15696         of ADDRESS rtx.
15697
15698         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15699
15700 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
15701
15702         * genrecog.c (add_to_sequence): Move allow_const_int test outside
15703         known predicate block; default allow_const_int true.
15704         (debug_decision_list): New.
15705
15706 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
15707
15708         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15709
15710 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
15711
15712         * gcse.c (gcse_main): Avoid global optimizations if we have a
15713         large number of basic blocks and the ratio of edges to blocks
15714         is high.
15715         (delete_null_pointer_checks): Likewise.
15716
15717 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
15718
15719         * c-common.c (check_format_info): Warn if format string isn't a
15720         string literal.
15721
15722 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15723
15724         * configure.in (arm*-*-*): Don't let autoconf remove brackets
15725         * configure: regenerate
15726
15727 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
15728
15729         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
15730         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
15731         (peepholes): Re-enable.
15732
15733 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
15734
15735         * Makefile.in (flow.o): Depend on TREE_H.
15736         * basic-block.h (REG_SET_EQUAL_P): New.
15737         (XOR_REG_SET): New.
15738         (n_edges): Declare.
15739         (free_regset_vector): Remove declaration.
15740         (flow_delete_insn_chain): Declare.
15741         (enum update_life_extent): New.
15742         (update_life_info, count_or_remove_death_notes): Declare.
15743         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15744         Verify register live at bb->global_live_at_start before adding USE.
15745         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15746         (CLEAN_ALLOCA): New.
15747         (n_edges): New.
15748         (PROP_*): New flags.
15749         (find_basic_blocks_1): Use alloc_EXPR_LIST.
15750         (clear_edges): Zero n_edges.
15751         (make_edge): Increment n_edges.
15752         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
15753         (flow_delete_insn_chain): Export.
15754         (delete_block): Decrement n_edges.
15755         (merge_blocks_nomove): Likewise.
15756         (life_analysis): Give life_analysis_1 PROP flags.
15757         (verify_wide_reg_1, verify_wide_reg): New.
15758         (verify_local_live_at_start): New.
15759         (update_life_info): Rewrite to call into propogate_block.
15760         (mark_reg): New.
15761         (mark_regs_live_at_end): After reload, if epilogue as rtl,
15762         always mark stack pointer.  Conditionally mark PIC register.
15763         After reload, mark call-saved registers, return regsiters.
15764         (life_analysis_1): Accept PROP flags not remove_dead_code.
15765         Call mark_regs_live_at_end before zeroing regs_ever_live.
15766         Use calculate_global_regs_live.  Copy global_live_at_end before
15767         calling final propagate_block.  Zero reg_next_use on exit.
15768         (calculate_global_regs_live): New.
15769         (allocate_bb_life_data): Don't allocate bb->local_set.
15770         (init_regset_vector, free_regset_vector): Remove.
15771         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15772         Test flags before every operation.  Warn if prologue/epilogue insn
15773         would have been deleted.
15774         (mark_set_regs, mark_set_1): Accept and use FLAGS.
15775         Use alloc_EXPR_LIST.
15776         (mark_used_regs): Accept and use FLAGS, not FINAL.
15777         Remove special handling for RETURN.
15778         (try_pre_increment): Use alloc_EXPR_LIST.
15779         (dump_flow_info): Dump n_edges.
15780         (unlink_insn_chain, split_hard_reg_notes): Remove.
15781         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15782         (find_insn_with_note, new_insn_dead_notes): Remove.
15783         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15784         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15785         (replace_insns): Remove.
15786         (count_or_remove_death_notes): New.
15787         (verify_flow_info): Abort on error after all checks.
15788         (remove_edge): Decrement n_edges.
15789         (remove_fake_edges): Tweek format.
15790         * haifa-sched.c (schedule_insns): Use split_all_insns.
15791         * output.h (update_life_info): Remove declaration.
15792         * recog.c (split_all_insns): From the corpse of split_block_insns,
15793         do the whole function block by block.  Use update_life_info.
15794         (recog_last_allowed_insn): New.
15795         (recog_next_insn): Mind it.
15796         (peephole2_optimize): Set it.  Walk backwards through blocks.
15797         Use update_life_info.
15798         * rtl.h (update_flow_info, replace_insns): Remove declarations.
15799         (split_all_insns): Declare.
15800         * toplev.c (rest_of_compilation): Thread prologue before flow2.
15801         Use split_all_insns.
15802
15803         * i386.md (or -1 peep2s): Disable.
15804
15805 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
15806
15807         * config/mips/mips.md (movstrsi+[123]) : Combine these into
15808         a single pattern.  Scrap the 'd' versions as unnecessary.
15809
15810         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
15811         tablejump_mips162,tablejump_internal4): The operands to a
15812         label_ref must be VOIDmode.
15813
15814 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15815
15816         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
15817
15818 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
15819
15820         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
15821
15822 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
15823
15824         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
15825         cache every function if ggc_p.
15826
15827 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15828
15829         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
15830         instead of copy_rtx.  Accept sequences that contain asm statements.
15831         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
15832         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
15833         orig_asm_operands_vector, copy_asm_operands_vector,
15834         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
15835         variables.
15836         * rtl.h (copy_insn, copy_insn_1): Declare.
15837
15838 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15839
15840         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
15841
15842         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
15843         arguments to `current_file_function_operand'.
15844
15845         * genrecog.c: Include hard-reg-set.h and resource.h in the
15846         generated output file.
15847
15848         * real.c: Include tm_p.h.
15849
15850 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15851
15852         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
15853         output operand.
15854
15855 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
15856
15857         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
15858         before the fctiwz insn.
15859
15860 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15861                           Mark Mitchell  <mark@codesourcery.com>
15862
15863         * tree.c (make_lang_type_fn): New funtion pointer.
15864         (make_lang_type): Call it.
15865         * tree.h (make_lang_type): Declare.
15866         (make_lang_type_fn): Likewise.
15867         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
15868
15869 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
15870
15871         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
15872         make sure that HIGH instructions are copied into BASE_REGS.
15873
15874 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
15875
15876         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
15877
15878 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
15879
15880         * c-decl.c (finish_struct): Use simpler method of
15881         removing elements of a singly-linked list.
15882
15883 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
15884
15885         * alpha.md (peephole2's): Comment out peephole2's that generate
15886         buggy code.
15887
15888 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
15889
15890         * genrecog.c (add_to_sequence): Disable mode check for
15891         wildcard matches.
15892
15893 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15894
15895         * ggc-simple.c (init_ggc): Set empty_string.
15896
15897 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
15898
15899         * configure.in: Detect mmap.  Add --with-gc=foo to select
15900         garbage collector; default to page if mmap available.
15901         * Makefile.in (GGC): Substitute.
15902
15903 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
15904
15905         * c-decl.c (ggc_p): Enable.
15906
15907 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15908
15909         * flow.c (verify_flow_info): Make it extern & unconditionally define.
15910
15911 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
15912
15913         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
15914         string for little-endian-data.
15915
15916 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
15917
15918         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
15919         case somebody tries to compile --enable-checking code with gcc
15920         1.34 or such.
15921
15922 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
15923
15924         * genrecog.c (add_to_sequence): Verify operand to label_ref is
15925         VOIDmode.
15926
15927 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
15928
15929         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
15930         * jump.c (jump_optimize_1): Document why.
15931
15932 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15933
15934         * collect2.c (scan_prog_file, scan_libraries): Prototype function
15935         pointers and casts for `int_handler' and `quit_handler'.
15936
15937         * flow.c (verify_flow_info, split_hard_reg_notes,
15938         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
15939         remove_edge, remove_fake_successors): Add static prototypes.
15940         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
15941         (mark_set_1): Initialize variable `regno'.
15942         (unlink_insn_chain): Likewise for variable `curr'.
15943         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
15944
15945         * loop.c (strength_reduce): Initialize variable
15946         `unrolled_insn_copies'.
15947         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
15948         prototypes.  Change these functions to take const PTR parameters
15949         to avoid prototype conflict when used as the comparson argument
15950         for qsort.
15951         (check_dbra_loop): Initialize variable `comparison_val'.
15952
15953         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
15954         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
15955         (find_valid_class): Initialize variable `best_class'.
15956         (find_reloads): Call memcpy, not bcopy.
15957
15958         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
15959         (hard_reg_use_compare): Don't needlessly cast away const.
15960         (reload_reg_class_lower): Likewise.
15961         (choose_reload_regs): Initialize variable `regno'.
15962
15963 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
15964
15965         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
15966
15967 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
15968
15969         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
15970         ({,d}discard): Add forward declarations.  Declare parameter as
15971         unused.
15972         (main_without_main): Explicitly declare return type to be int.
15973         (memcpy): Properly declare.
15974
15975         * libgcc2.c (toplevel): If inhibit_libc is defined and not
15976         building the trampoline support, declare malloc, free, and
15977         atexit.
15978         (__clear_cache): Mark arguments as potentially unused.
15979
15980         * frame.c (toplevel): If inhibit_libc is defined, declare
15981         malloc and free.
15982
15983 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
15984
15985         * flow.c (make_edge): Accept an optional 2D bitmap in which
15986         to cache edge existence.  Update all callers.
15987         (make_label_edge, make_eh_edge): Pass through the edge cache.
15988         (make_edges): Provide the cache.
15989
15990 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15991
15992         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
15993         a char*.
15994         (local_mbtowc): Change the type of variable `i' from int to size_t.
15995
15996         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
15997         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
15998
15999 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
16000
16001         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16002         after other includes that define the appropriate types.  Include
16003         tm_p.h for getting user prototypes.
16004         * ggc-callbacks.c (toplevel): Ditto.
16005         * ggc-none.c (toplevel): Ditto.
16006         * gcc-page.c (toplevel): Ditto.
16007         * ggc-simple.c (toplevel): Ditto.
16008
16009 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
16010                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
16011
16012         * config/mips/mips.c (mips_move_2words): Split doubles if
16013         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16014
16015 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
16016
16017         * genrecog.c (struct decision_test): New.
16018         (struct decision): Remove test-related members, sort the rest by size.
16019         (IS_SPLIT): Simplify.
16020         (new_decision, new_decision_test): New.
16021         (add_to_sequence): Use them.  No special handling for args of
16022         non-MATCH codes.
16023         (maybe_both_true): Renamed from not_both_true; return sense changed.
16024         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
16025         of maybe_both_true and adjusted for decision_test.
16026         (position_merit): Remove.
16027         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16028         (merge_accept_insn): New, broken out of merge_trees.
16029         (merge_trees): Use them.  No special case for c_test; no node
16030         splitting; use test type instead of position_merit.
16031         (factor_tests): New.
16032         (simplify_tests): New.
16033         (break_out_subroutines): Don't write code now.
16034         (find_afterward): New.
16035         (write_afterward, write_switch, write_cond): New.
16036         (write_action, is_unconditional): New.
16037         (write_node): New.  Use them.
16038         (write_tree_1): Rewrite.  Use the new functions above.
16039         (write_tree): Remove afterward processing.
16040         (write_subroutine): Simplify function variant emission.
16041         (write_subroutines): New.
16042         (same_codes, clear_codes): Remove.
16043         (same_modes, clear_modes): Remove.
16044         (write_header): New, broken out of main.
16045         (make_insn_sequence): Use new_decision and new_decision_test.
16046         (process_tree): New, broken out of main.
16047         (main): Adjust for merge_trees interface change.
16048         Don't #define operands in the output file.
16049         (record_insn_name): New, broken out of make_insn_sequence.
16050         (debug_decision_2, debug_decision_1, debug_decision_0): New.
16051         (debug_decision): New.
16052
16053 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
16054
16055         * resource.c (find_free_register): Mark class_str argument const.
16056         * resource.h: Update prototype to match.
16057
16058         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16059         * i386.md: Give all anonymous insns names.
16060
16061 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
16062
16063         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16064         blocks.
16065
16066 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
16067
16068         * toplev.c (dbr_sched_time): Unconditional.
16069         (peephole2_time): New.
16070         (compile_file): Add pass numbers to all of the dump file suffixes.
16071         Dump peephole2_time.  Don't dump times for non-applicable passes.
16072         (rest_of_compilation): Add pass numbers to dump file suffixes.
16073         Conditionalize calls to the scheduler.
16074         * invoke.texi: Update.
16075
16076 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
16077
16078         * flow.c (make_edges): Fix insn iteration.
16079         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16080         (find_basic_blocks_1): Fix spelling mistake.
16081
16082 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
16083
16084         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16085         always have side-effects.  Use memset not bzero.
16086         (make_node): Likewise.
16087
16088 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
16089
16090         * stmt.c (expand_anon_union_decl): When any of the elements of the
16091         union is addressable, so is the entire union.
16092
16093 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
16094
16095         * sbitmap.c (sbitmap_ones): Don't set too many bits.
16096
16097         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16098         * bitmap.c (bitmap_operation): Return true iff TO changed.
16099         (bitmap_equal_p): New.
16100         (bitmap_bit_p): Tidy arithmetic.
16101         (debug_bitmap_file): Likewise.
16102
16103 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
16104
16105         * toplev.c (rest_of_compilation): Turn on cse_not_expected
16106         before cse2 instead of after.
16107
16108 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
16109
16110         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16111         register offsets.
16112
16113 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16114
16115         * cppinit.c (is_idchar initializer): Loosen tests to accept
16116         gcc 2.>6 and >2.
16117
16118 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
16119
16120         * mips.md: Define conditional move patterns for floating point
16121         operands and DI mode conditions.
16122
16123 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
16124
16125         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16126         always have side-effects.
16127
16128 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
16129
16130         * mn10200.c (asm_file_start): Fix typo.
16131
16132         * cppinit.c (is_idchar initializer): Tighten tests for when
16133         to put the table into initialized memory.
16134
16135         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16136         not an array of rtunion.
16137         * gcc-page.c (ggc_alloc_rtvec): Similarly.
16138         * gcc-simple (ggc_free_rtvec): Similarly.
16139
16140         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16141         of rtunions.
16142
16143         * mbchar.h: Add missing #endif.
16144
16145         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16146         (FPBIT, DPBIT): Define.
16147
16148 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16149
16150         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16151
16152         * profile.c (instrument_arcs, output_gcov_string,
16153         tablejump_entry_p): Add static prototypes.
16154         (output_gcov_string): Constify a char*.
16155
16156         * regmove.c (replacement_quality, fixup_match_2): Add static
16157         prototypes.
16158
16159         * resource.h (reg_dead_p): Add extern prototype.
16160
16161         * rtl.c (trim_filename): Add static prototype.
16162
16163         * scan-decls.c (skip_to_closing_brace): Likewise.
16164
16165         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16166         (expand_end_case): Initialize variable `range'.
16167         (emit_case_nodes): Remove unused prototype `rtx_fn'.
16168
16169         * varasm.c (asm_emit_uninitialised): Add static prototype.
16170         (asm_emit_uninitialised, assemble_variable): Mark parameter with
16171         ATTRIBUTE_UNUSED.
16172
16173 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16174
16175         * cpplib.c (if_directive_nameo): Add static prototype.
16176
16177         * cse.c (cse_insn): Remove unused variable `p'.
16178
16179         * except.c (create_rethrow_ref, push_entry,
16180         receive_exception_label, new_eh_region_entry, find_func_region,
16181         clear_function_eh_region, process_nestinfo): Add static prototypes.
16182         (get_reg_for_handler): Hide definition.
16183         (process_nestinfo): Initialize variable `extra_handlers'.
16184
16185         * expr.h (expand_builtin_longjmp): Add extern prototype.
16186
16187         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16188
16189         * function.c (prepare_function_start): Likewise.
16190         (pop_function_context_from): Mark parameter `context' with
16191         ATTRIBUTE_UNUSED.
16192         (push_temp_slots_for_block, flush_addressof): Hide definition.
16193
16194         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16195         solve_program_flow_graph, calculate_branch_probs,
16196         function_summary, main, fancy_abort): Add prototypes.
16197
16198         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16199         (add_hash): Constify a char*.
16200
16201         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16202         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16203         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16204
16205         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16206
16207         * lists.c (free_list, zap_lists): Likewise.
16208
16209 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16210
16211         * alias.c (nonlocal_reference_p): Add static prototype.
16212
16213         * bitmap.c (bitmap_element_allocate): Prototype args in function
16214         pointer cast.
16215
16216         * builtins.c (stabilize_va_list): Add static prototype.
16217         (expand_builtin_va_arg): Constify a char*.
16218
16219         * c-lex.c (getch, put_back, extend_token_buffer_to,
16220         read_line_number, token_getch, token_put_back): Add static
16221         prototypes.
16222
16223         * c-parse.gperf (hash, is_reserved_word): Likewise.
16224
16225         * cccp.c (is_dir_separator): Likewise.
16226
16227 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16228
16229         * graph.h: New file to prototype functions exported by graph.c.
16230
16231         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16232
16233         * graph.c: Include graph.h.
16234
16235         * toplev.c: Likewise.  Remove redundant prototypes.
16236
16237 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
16238
16239         * invoke.texi: Removed duplicated description for -Q.
16240
16241 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
16242
16243         * extend.texi: Grammar fix in __extension__ text.
16244
16245 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
16246
16247         * md.texi (define_peephole2): New section.
16248
16249 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
16250
16251         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16252         (mov $-1 to or peepholer): Enable for pentium when optimizing for
16253         speed.
16254
16255 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
16256
16257         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16258
16259 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
16260
16261         * i386.md (ffs expander): Emit Pentium friendly code for
16262         TARGET_PENTIUM.
16263
16264 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
16265
16266         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16267         for non-trees.
16268         (build1): Likewise.
16269
16270 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16271
16272         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16273
16274 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
16275
16276         * config/m68k/m68k.c (use_return_insn): Return false if the pic
16277         register is in use.
16278
16279 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16280
16281         * md.texi (No Constraints): Delete section.
16282         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16283         * final.c (final_scan_insn): We always have register constraints.
16284         * genattrtab.c: Don't include "insn-config.h".
16285         (write_attr_case): We always have register constraints.
16286         * genconfig.c (register_constraint_flag): Delete.
16287         (walk_insn_part): Don't check whether we have register constraints.
16288         (main): Don't write out "#define REGISTER_CONSTRAINTS".
16289         * genoutput.c (have_constraints): Delete.
16290         (main): Don't set it.
16291         (output_operand_data): We always have constraints.
16292         (scan_operands): Likewise.
16293         (compare_operands): Likewise.
16294         * local-alloc.c (block_alloc): We always have constraints.
16295         (requires_inout): Always compile this function.
16296         * recog.c (extract_insn): We always have constraints.
16297         (constrain_operands, reg_fits_class_p): Always compile these
16298         functions.
16299         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16300         fields.
16301         (struct insn_operand_data): Likewise.
16302         * regclass.c (regclass): We always have constraints.
16303         (record_reg_classes, copy_cost, record_address_regs,
16304         auto_inc_dec_reg_p): Always compile these functions.
16305         * regmove.c (regmove_optimize): We always have constraints.
16306         * reload.c (find_reloads): Likewise.
16307         * reload1.c (reload): Likewise.
16308         (reload_cse_simplify_operands): Likewise.
16309         * i860.c (output_delay_insn): Likewise.
16310
16311 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
16312
16313         * iris6.h (BUILD_VA_LIST_TYPE): Define.
16314
16315 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16316
16317         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16318         for the va_list record.
16319
16320 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
16321
16322         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16323         prologues.
16324
16325 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
16326
16327         * alias.c: Include insn-flags.h.
16328         * Makefile.in (alias.o): Update.
16329
16330 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
16331
16332         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16333         to LTU and GEU.  Handle more cases using sbb.
16334
16335 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
16336
16337         * i386.md (truncatexfdf splitters): Do not use subreg.
16338         (fop XFmode patterns): Fix mode in operand testing.
16339
16340 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
16341
16342         * jump.c (jump_optimize_1): Amend last change to test only the
16343         form of the operand, not the insn.
16344
16345         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16346         not register_operand to determine when B may need preloading.
16347
16348 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
16349
16350         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16351         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16352         (call-value patterns): Move to end of file.
16353         (*): Remove mode from label_ref in (pc) context.
16354         (movstrqi): Use memory not general_operand for BLKmode operands.
16355         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16356         to register_operand operands.
16357         (peep2 patterns): Convert from commented-out peephole patterns.
16358
16359 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16360
16361         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16362         to BUILT_IN_INIT_DWARF_REG_SIZES.
16363         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16364         Renamed from BUILT_IN_DWARF_REG_SIZE; call
16365         expand_builtin_init_dwarf_reg_sizes.
16366         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16367         with __builtin_init_dwarf_reg_size_table.
16368         * dwarf2out.c (struct reg_size_range): Delete.
16369         (expand_builtin_init_dwarf_reg_sizes): New function.
16370         (expand_builtin_dwarf_reg_size): Delete.
16371         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16372         (expand_builtin_dwarf_reg_size): Don't declare.
16373         * libgcc2.c (dwarf_reg_size_table_initialized): New.
16374         (dwarf_reg_size_table): New.
16375         (init_reg_size_table): New function.
16376         (copy_reg): Use dwarf_reg_size_table.
16377         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16378         before use.
16379
16380 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
16381
16382         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16383         Correctly build argument list to constructor and destructor functions.
16384
16385 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
16386
16387         * c-tree.h (warn_float_equal): Declare.
16388         * c-decl.c (warn_float_equal): Define.
16389         (c_decode_option): Recognize -W[no-]float-equal.
16390         * c-typeck.c (build_binary_op): Conditionally warn
16391         about equality tests of floating point types.
16392         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16393         * invoke.texi: Add docs for -Wfloat-equal warning.
16394
16395 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
16396
16397         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16398         generating RTL directly.
16399         * mips.h (INIT_TARGET_OPTABS): Likewise.
16400         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16401
16402         * expr.h (init_mov_optab): Delete declaration
16403
16404         * h8300.c (WORD_REG_USED): Update to avoid useless register
16405         saves in interrupt functions and functions which never return.
16406
16407         * cse.c (struct set): Delete inner_dest_loc field.
16408         (cse_insn): Remove assignments to inner_dest_loc field.
16409
16410 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
16411
16412         * ggc-page.c: Don't include <unistd.h> etc taken care of
16413         by "system.h".  Include <sys/mman.h> afterward.
16414
16415 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
16416
16417         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16418         ggc_alloc_string.
16419
16420 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
16421
16422         * xcoffout.c (xcoffout_declare_function): Add documentation.
16423         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16424         TARGET_64BIT.  Compare constant to -1, not bit pattern.
16425         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16426         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
16427         gen_movsi typos.
16428
16429 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
16430
16431         * dwarf2out.c (add_abstract_origin_attribute): Abort if
16432         origin_die is NULL.
16433         (gen_inlined_enumeration_type_die): Do not abort if the type has
16434         not been writeen out.
16435         (gen_inlined_structure_type_die): Do not abort if the type has
16436         not been writeen out.
16437         (gen_inlined_union_type_die): Do not abort if the type has
16438         not been writeen out.
16439         (gen_tagged_type_instantiation_die): Do not abort if the type
16440         has not been written out.
16441
16442 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16443
16444         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16445         call it.
16446         * reg-stack.c (straighten_stack): Copy hard reg set with
16447         COPY_HARD_REG_SET.
16448
16449 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
16450
16451         * builtins.c (stabilize_va_list): Stabilize array type va_list
16452         to a pointer type, not the base record type.
16453         (expand_builtin_va_copy): Dereference the pointers explicitly;
16454         use the correct size for the copy.
16455
16456         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16457         (rs6000_va_arg): Likewise.
16458
16459 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
16460
16461         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16462
16463 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
16464
16465         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16466         field.
16467         (DECL_BUILT_IN_CLASS): Adjust accordingly.
16468
16469 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
16470
16471         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16472         (init_ggc): Use it instead of a constant.
16473         (ggc_collect): Bound allocated_last_gc by it.
16474
16475 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
16476
16477         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16478         with va_list.
16479
16480 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
16481
16482         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
16483         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
16484         * configure:  Regen.
16485         * config/mips/openbsd.h:  New, OpenBSD little endian target.
16486         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
16487         * config/mips/xm-openbsd.h:  New, OpenBSD host.
16488
16489 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
16490
16491         * config/m68k/m68k.c (output_function_prologue,
16492         output_function_epilogue): Use
16493         current_function_uses_pic_offset_table instead of regs_ever_live
16494         to decide whether to save/restore pic register.
16495         (legitimize_pic_address): Don't modify regs_ever_live any more.
16496
16497 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
16498
16499         * function.h (struct function): Add x_dont_save_pending_sizes_p.
16500         * stor-layout.c (variable_size): Don't add sizes to the pending
16501         sizes list if x_dont_save_pending_sizes_p is set.
16502
16503 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
16504
16505         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16506         for symbolic_operand().
16507         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16508
16509 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16510
16511         * combine.c (gen_rtx_combine): Add missing call to va_end().
16512
16513         * final.c (asm_fprintf): Likewise.
16514
16515         * genattrtab.c (attr_rtx): Likewise.
16516
16517 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
16518
16519         * cse.c: Update comments.
16520         (cse_insn): When converting a conditional/computed jump into
16521         an unconditional jump, always make sure a BARRIER immediately
16522         follows the converted jump.  Do not delete unreachable code.
16523         (cse_basic_block): Do not delete unreachable code.
16524         * toplev.c (rest_of_compilation): Move call to
16525         delete_trivially_dead_insns after the conditional call to
16526         jump_optimize.
16527
16528 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16529
16530         * collect2.c (make_temp_file): Don't prototype.
16531
16532         * gcc.c (make_temp_file): Likewise.
16533
16534         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16535
16536 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
16537
16538         * varasm.c (asm_emit_uninitialised): New function: Generate
16539         the assembler statements necessary to declare an uninitialised
16540         variable.
16541         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16542         variable.
16543         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16544         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16545         section.
16546         (assemble_variable): Use asm_emit_uninitialised to emit an
16547         uninitialised variable.
16548
16549 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
16550
16551         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16552         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
16553         <geoffk@cygnus.com>.
16554
16555 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16556
16557         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16558         * c-common.h (builtin_function): Don't declare.
16559
16560         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16561         DECL_BUILT_IN.
16562         (pushdecl): Likewise.
16563         (finish_decl): Likewise.
16564         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
16565         int.  All callers changed.
16566         Set the builtin's DECL_BUILT_IN_CLASS.
16567         * tree.h (enum built_in_class): New.
16568         (enum built_in_function): Delete NOT_BUILT_IN.
16569         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16570         in a union.
16571         (DECL_SET_FUNCTION_CODE): Likewise.
16572         (DECL_BUILT_IN_CLASS): New macro.
16573         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16574         (struct tree_decl): Split builtin function code field into a
16575         struct.
16576         (builtin_function): Declare.
16577
16578 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
16579
16580         * optabs.c (init_traps): Fix typo in last change.
16581
16582 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
16583
16584         * toplev.c (rest_of_decl_compilation): Update comment.
16585
16586 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16587
16588         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16589         in .sbss if appropriate.
16590         (EXTRA_SECTION_FUNCTIONS): Add sbss.
16591         (SBSS_SECTION_ASM_OP): New macro.
16592         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16593         (EXTRA_SECTIONS): Add in_sbss.
16594         * config/mips/mips.h: Prototype sbss_section.
16595
16596 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
16597
16598         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16599         to disappear.
16600
16601 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
16602
16603         * optabs.c (init_traps): Register trap_rtx as a GC root.
16604
16605 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16606
16607         * config/mips/mips.c (function_arg_pass_by_reference): Define
16608         unconditionally, since it's called unconditionally.
16609
16610 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16611
16612         * toplev.c (documented_lang_options): Add -fshort-wchar.
16613         * c-decl.c (c_decode_option): Likewise.
16614         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16615         for wchar_t.
16616         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16617         * gcc.c (default_compilers): If -fshort-wchar,
16618         override __WCHAR_TYPE__.
16619         * tm.texi (C Dialect Options): Add -fshort-wchar.
16620
16621         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16622         symbol for a variable.
16623
16624         * cpplib.h (CPP_PREPROCESSED): New macro.
16625         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16626         we're seeing this input for a second time.
16627
16628 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
16629
16630         * emit-rtl.c (init_emit_once): Initialize modes first.
16631
16632 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
16633
16634         * config/i386/i386.c (pic_label_name): Change to char pointer.
16635         (global_offset_table): New variable.
16636         (load_pic_register): Fill global_offset_table if it hasn't
16637         already been done.  Allocate pic_label_name dynamically.
16638         * ggc.h (empty_string): New variable.
16639         * ggc-simple.c (empty_string): Likewise.
16640         (init_ggc): Allocate empty_string and add as root.
16641         * stmt.c (digit_strings): New variable.
16642         (init_stmt): Add last_block_end_note as root.  Allocate and
16643         initialize digit_strings.
16644         (expand_asm_operands): Use empty_string instead of string
16645         constant.  Use digit_strings instead of string constants.
16646         * profile.c (init_arc_profiler): Allocate string with
16647         ggc_alloc_string instead of xmalloc.
16648         (output_func_start_profiler): Likewise.
16649         * c-typeck.c (digest_init): Check if init is error_mark_node.
16650
16651 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
16652                           Richard Henderson  <rth@cygnus.com>
16653
16654         * ggc-page.c: New file.
16655         * Makefile.in (ggc-page.o): New.
16656
16657 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
16658
16659         * invoke.texi: Document -fdelete-null-pointer-checks
16660         * toplev.c (flag_delete_null_pointer_checks): New.
16661         (f_options): Add entry for -fdelete-null-pointer-checks.
16662         (rest_of_compilation): Conditionalize null pointer check
16663         elimination on flag_delete_null_pointer_checks.
16664         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16665
16666 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
16667
16668         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16669         copyright notice and special exception to GPL.
16670
16671 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16672
16673         * abi64.h (mips_function_value): Add prototype arguments.
16674
16675         * mips-protos.h: New file with mips prototypes.
16676
16677         * mips.c: Include "tm_p.h".
16678         (mktemp, lookup_name): Add prototype arguments.
16679         (extern_list, string_constant, mips_fill_delay_slot,
16680         mips_output_external, mips_output_external_libcall,
16681         mips_output_filename, mips_declare_object, function_prologue,
16682         mips_expand_prologue, function_epilogue, mips16_constant,
16683         build_mips16_function_stub, mips_output_conditional_branch):
16684         Constify a char*.
16685         (mips_va_start): Remove unused variable `u'.
16686         (mips_va_arg): Cast value to unsigned when comparing against one.
16687         (trace): Delete.
16688         (save_restore_insns, mips_expand_prologue): Add missing arg in
16689         call to `large_int'.
16690
16691         * mips.h: Move prototypes to mips-protos.h.
16692         (data_section, memory_address_p, rdata_section,
16693         readonly_data_section, simple_epilogue_p, text_section): Delete
16694         prototypes delcared elsewhere.
16695         (mips_epilogue_delay_slots, print_options): Delete unused decls.
16696         (trace): Delete.
16697         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16698
16699         * mips.md: Delete extra args in call to `mips_move_2words'.
16700
16701         * xm-iris6.h (alloca): Add prototype argument.
16702
16703         * genpeep.c: Include "tm_p.h" in generated output file.
16704
16705 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16706
16707         * basic-block.h (find_edge_index): Change parameters.
16708         * flow.c (verify_edge_list): Pass basic_block parameters to
16709         find_edge_index instead of integers.
16710
16711 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
16712
16713         * combine.c (simplify_comparison): Use an unsigned shift to adjust
16714         the constant.
16715
16716 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
16717
16718         * gcc.1: Fix a formatting error.
16719
16720 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16721
16722         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16723         i786, mn10200, mn10300, pdp11, v850.
16724
16725 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
16726
16727         * libgcc2.c (num_digits): Add prototype with
16728         __attribute__((const)).
16729         (__terminate): Add prototype.
16730
16731 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
16732
16733         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16734
16735         * alpha/alpha.c (print_operand): Fix type of `code'.
16736         (alpha_output_filename): Constify.
16737         * alpha/alpha.h: Move all function declarations ...
16738         * alpha/alpha-protos.h: ... here.  New file.
16739         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16740         (SECTION_FUNCTION_TEMPLATE): Likewise.
16741
16742 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16743
16744         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16745         * expr.c (expand_expr): Likewise.
16746         (do_jump): Likewise.
16747         (do_store_flag): Pass ccp_store_flag to can_compare_p.
16748         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16749         accessor macros.
16750         (enum can_compare_purpose): New.
16751         (can_compare_p): Adjust prototype.
16752         (prepare_cmp_insn, prepare_operand): Declare.
16753         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16754         * optabs.c (cmp_available_p): Deleted.
16755         (expand_abs): Pass ccp_jump to can_compare_p.
16756         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
16757         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
16758         Call can_compare_p rather than cmp_available_p.
16759         (prepare_operand): No longer static.
16760         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16761         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16762         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16763         sequence to use emit_cmp_and_jump_insns.
16764         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16765
16766 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
16767
16768         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16769         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16770         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16771         (plus (reg) (const_int 0))
16772         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16773
16774 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
16775
16776         * rs6000.c (expand_block_move): DImode loads and stores require
16777         word-aligned displacements.  Increment address registers with
16778         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
16779
16780 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
16781
16782         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16783         is no name for the base type, rather than segfault.  If we are
16784         writing out a complex integer type, use DW_ATE_lo_user.
16785
16786         * expr.c (emit_move_insn_1): If we are copying a complex that fits
16787         in one word or less (complex char, complex short, or on 64 bit
16788         systems complex float) to/from a hard register, copy it through
16789         memory instead of dying in gen_{real,imag}part.  If we have a
16790         short complex type, prevent inlining since it allocates stack
16791         memory.
16792
16793         * tree.c (build_complex_type): If we are writing dwarf2 output,
16794         generate a name for complex integer types.
16795
16796 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16797
16798         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16799         * flow.c (remove_edge): Remove extra whitespace.
16800         (remove_fake_edges): Fix comment.
16801         (add_noreturn_fake_exit_edges): Use the correct name.
16802
16803 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
16804
16805         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16806         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16807         (clean): Depend on INTL_CLEAN.
16808         (maintainer-clean): Adjust.
16809
16810 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16811
16812         * configure.in (AC_PREREQ): Bump to 2.13.
16813         (AC_C_STRINGIZE): Call this instead of using a custom macro.
16814
16815         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
16816
16817         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
16818
16819         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
16820
16821         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
16822         (HAVE_STRINGIZE): Define.
16823
16824 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
16825
16826         * c-parse.in: save and restore warn_pointer_arith on __extension__
16827         along with pedantic.
16828         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
16829         Set the type of extension to itype rather than $<itype>1 kludge.
16830         * extend.texi (Alternate Keywords): Adjust documentation.
16831         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
16832
16833 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
16834
16835         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
16836         most assembler templates.
16837
16838         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
16839         FP loads and stores.
16840         (following_call): Always return zero for the PA8000.
16841         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
16842         FP loads and stores.
16843         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
16844
16845         * pa.h (BRANCH_COST): Define.
16846
16847         * pa.md (return, return_internal): Use bve for PA2.0.
16848
16849         * pa.md (fused multiply): Add variants which reduce height for the
16850         fused multiply, but which still generate 2 insns.
16851         (fnegabs): Similarly.
16852
16853         * pa.md (subsi3): Turn into an expander.  Create two anonymous
16854         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
16855         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
16856
16857         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
16858         for TARGET_PA_20.
16859         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
16860         code generation.
16861         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
16862         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
16863
16864         * regclass.c (init_regs): Add "top_of_stack" as a garbage
16865         collection root.
16866
16867         * flow.c (record_active_eh_regions): Terminate loop after finding
16868         the last insn in the last basic block.
16869
16870 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16871
16872         * config/c4x/c4x.md: Delete parallel instruction peepholes.
16873
16874 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16875
16876         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
16877
16878 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16879
16880         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
16881         splitting to not use output template.
16882
16883 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16884
16885         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
16886         * config/c4x/c4x.c (c4x_va_start): New function.
16887
16888 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
16889
16890         * genrecog.c (not_both_true): Handle correctly cases when called for
16891         tests with different positions in the insn.
16892
16893 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16894
16895         * machmode.h (HOST_PTR_PRINTF): Move from here ...
16896
16897         * system.h (HOST_PTR_PRINTF): ... to here.
16898
16899         * mips-tfile.c: Don't include machmode.h.
16900
16901         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
16902         (mips-tfile.o): Don't depend on machmode.h.
16903
16904 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16905
16906         * haifa-sched.c (sched_analyze): Rename local variable `region' to
16907         avoid conflicts with typedef struct `region' at the top level scope.
16908
16909 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
16910
16911         * basic-block.h (basic_block): Add eh_beg, eh_end.
16912         * flow.c (entry_exit_blocks): Update.
16913         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
16914         Call new functions.
16915         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
16916         lists.c functions to allocate insn lists.
16917         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
16918         edge creation ...
16919         (make_eh_edge): ... here.  New.
16920         (move_stray_eh_region_notes): New.
16921         (record_active_eh_regions): New.
16922         (delete_unreachable_blocks): Split out block merging ...
16923         (try_merge_blocks): ... here.  New.
16924         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
16925         Dump debugging data.
16926         (merge_blocks_move_successor_nojumps): Likewise.
16927         (merge_blocks): Use eh_beg+eh_end to validate block movement.
16928
16929 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16930
16931         * extend.texi (Bound member functions): Document unbound pmf
16932         conversion.
16933
16934 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16935
16936         * flow.c (split_edge): Handle insertion on a fallthrough edge which
16937         has the EXIT_BLOCK as a dest.
16938
16939 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16940
16941         * flow.c (remove_edge): New function to remove an edge from the
16942         flow graph.
16943         (remove_fake_successors): New function to remove fake successor edges.
16944         (remove_fake_edges): New function to remove all fake edges from the
16945         flow graph.
16946         (add_fake_exit_edges): New function to add fake edges from all blocks
16947         with no successors to the exit block.
16948         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
16949         prototypes for new functions.
16950
16951 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16952
16953         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
16954         Use Pmode to determine whether to output .dword or .word.
16955
16956 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
16957
16958         * tree.c (built_in_filename): New variable.
16959         (BUILT_IN_FILENAME): New macro.
16960         (init_tree_codes): Allocate built_in_filename.
16961         (make_node): Use built_in_filename instead of string constant.
16962
16963 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
16964
16965         * configure.in: Add fr30 target.
16966         * configure: Regenerate.
16967         * config/fr30: New directory.
16968         * config/fr30/crti.asm: New file.
16969         * config/fr30/fr30.c: New file.
16970         * config/fr30/crtn.asm: New file.
16971         * config/fr30/fr30.h: New file.
16972         * config/fr30/fr30.md: New file.
16973         * config/fr30/lib1funcs.asm: New file.
16974         * config/fr30/t-fr30: New file.
16975         * config/fr30/xm-fr30.h: New file.
16976
16977 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
16978
16979         * flow.c (merge_blocks_move_successor_nojumps): Delete the
16980         BARRIER at the end of the successor, not the BARRIER before
16981         the successor.
16982
16983         * pa.c (pa_add_gc_roots): Fix thinko in last change.
16984
16985 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
16986
16987         * stmt.c (any_pending_cleanups): Don't crash when
16988         current_function->stmt is unset.
16989
16990 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16991
16992         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
16993         other initializations that may use it for relative offsets.
16994
16995 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16996
16997         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
16998         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
16999         * config/i386/sol2dbg.h: Removed.
17000         * config/i386/sol2gas.h: New file, to enable gas work-around.
17001         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17002         Don't use sol2dbg.h.
17003         * configure: Rebuilt.
17004
17005 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
17006
17007         * invoke.texi (-fthis-is-variable): Remove documentation.
17008
17009 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
17010
17011         * basic-block.h (compute_bb_for_insn): Declare.
17012         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
17013         to use; set size of basic_block_for_insn directly.
17014         (find_basic_blocks): Update.
17015
17016 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17017
17018         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17019
17020 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17021
17022         * crtstuff.c (ON_EXIT): Delete empty macro definition.
17023         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17024
17025 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
17026
17027         * c-decl.c (c_decode_option): Extend comment.
17028
17029 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
17030
17031         * toplev.c (progname): Make 'const char *'
17032         (flag_print_mem): Move out of main.
17033         (version_flag): Move out of main.
17034         (filename): Move out of main.
17035         (debug_args): Remove g prefix from options.
17036         (documented_lang_options): Remove cpplib specific options.
17037         (display_help): Add g prefix to debug options.
17038         (check_lang_option): Delete this function.
17039         (decode_d_option): New function: Decode -d... option.
17040         (decode_f_option): New function: Decode -f... option.
17041         (decode_W_option): New function: Decode -W... option.
17042         (decode_g_option): New function: Decode -g... option.
17043         (independent_decode_option): New function: Decode a language
17044         independent command line option.
17045         (main): Invoke lang_decode_option and then
17046         independent_decode_option on each command line option in
17047         turn.
17048
17049 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
17050
17051         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
17052          * fold-const.c (fold_range_test): Do not try to fold the range
17053          test if the rhs or lhs has side effects.
17054
17055         * basic-block.h (compute_flow_dominators): Declare.
17056
17057         * gcse.c (alloc_code_hoist_mem): New function.
17058         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17059         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17060         (hoist_code, one_code_hoisting_pass): Likewise.
17061         (gcse_main): If optimizing for size, then hoist expressions
17062         computed in multiple dominated basic blocks.
17063
17064         * gcse.c (invalid_nonnull_info): New function.
17065         (delete_null_pointer_checks): Likewise.
17066         * rtl.h (delete_null_pointer_checks): Declare.
17067         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17068
17069         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17070         (merge-blocks_move_successor_nojumps): Likewise.
17071         (merge_blocks): Allow merging of some blocks, even if it requires
17072         physical movement of the blocks, but not if it requires new jumps.
17073
17074         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17075         Callers and prototype changed.
17076         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17077
17078 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17079
17080         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17081         -YP when both -p and -pg are present.  From i386/sol2.h.
17082
17083 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17084
17085         * Makefile.in (distclean): Delete tm_p.h.
17086         * configure.in: Create a new file, "tm_p.h", from a list in
17087         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17088         "i386/i386-protos.h".
17089
17090         * alias.c: Include "tm_p.h".
17091         * c-typeck.c: Likewise.
17092         * calls.c: Likewise.
17093         * cse.c: Likewise.
17094         * emit-rtl.c: Likewise.
17095         * explow.c: Likewise.
17096         * expmed.c: Likewise.
17097         * expr.c: Likewise.
17098         * final.c: Likewise.
17099         * flow.c: Likewise.
17100         * fold-const.c: Likewise.
17101         * function.c: Likewise.
17102         * gcse.c: Likewise.
17103         * global.c: Likewise.
17104         * haifa-sched.c: Likewise.
17105         * integrate.c: Likewise.
17106         * jump.c: Likewise.
17107         * local-alloc.c: Likewise.
17108         * loop.c: Likewise.
17109         * optabs.c: Likewise.
17110         * recog.c: Likewise.
17111         * reg-stack.c: Likewise.
17112         * regclass.c: Likewise.
17113         * regmove.c: Likewise.
17114         * reload.c: Likewise.
17115         * reload1.c: Likewise.
17116         * reorg.c: Likewise.
17117         * resource.c: Likewise.
17118         * stmt.c: Likewise.
17119         * stor-layout.c: Likewise.
17120         * toplev.c: Likewise.
17121         * tree.c: Likewise.
17122         * unroll.c: Likewise.
17123         * genattrtab.c (main): Make generated file include "tm_p.h".
17124         * genemit.c (main): Likewise.
17125         * genoutput.c (main): Likewise.
17126         * genrecog.c (main): Likewise.
17127
17128         * i386.h: Delete all prototypes.
17129         * i386.c: Include "tm_p.h".
17130         (ix86_attr_length_default): Call constant_call_address_operand
17131         with correct number of arguments.
17132         * i386-protos.h: New file.
17133         * i386.md (unnamed patterns): Call constant_call_address_operand
17134         with correct number of arguments.
17135         (exception_receiver): Call load_pic_register with correct number
17136         of arguments.
17137
17138 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
17139
17140         * c-pragma.c (mark_align_stack): Dereference the void* properly.
17141
17142 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
17143
17144         * rtl.h (insns_safe_to_move_p): New function.
17145         * loop.c (find_and_verify_loops): Use it.
17146         * rtlanal.c (insns_safe_to_move_p): Define it.
17147
17148 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
17149
17150         * c-pragma.c: Include ggc.h.
17151         * Makefile.in (c-pragma.o): Update.
17152
17153 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17154
17155         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17156         (LIB_SPEC): Likewise.
17157         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17158         Reindent -YP/-p/-pg.
17159         Copied from config/sparc/sol2.h.
17160
17161 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
17162
17163         * c-pragma.c (mark_align_stack): New.
17164         (init_pragma): New.
17165         * c-pragma.h (init_pragma): Declare it.
17166         * c-lex.c (init_parse): Call it.
17167
17168 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17169
17170         * configure.in: Pick up thread library on Solaris/x86 just
17171         like on Solaris/sparc.
17172         * configure: Rebuilt.
17173
17174 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
17175
17176         * rtl.h (global_rtx_index): New enum.
17177         (global_rtl): Change to array of rtx.
17178         (pc_rtx, cc0_rtx): Redefine accordingly.
17179         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17180         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17181         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17182         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17183         (const_int_rtx): Change to array of rtx.
17184         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17185         accordingly.
17186         * emit-rtl.c (global_rtl): Change to array of rtx.
17187         (const_int_rtx): Change to aray of rtx.
17188         (gen_rtx_CONST_INT): Redefine accordingly.
17189         (init_emit_once): Allocate and initialize global_rtl.  Likewise
17190         for const_int_rtx.  Add both as GC roots.
17191         * genattrtab.c (global_rtl): Update declaration.
17192
17193 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
17194
17195         * Makefile (USER_H): Add iso646.h back.
17196
17197 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
17198
17199         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17200         zapping the LOG_LINKS of sched_before_next_call.
17201
17202         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17203         * pa.c (insn_refs_are_delayed): Renamed from
17204         insn_sets_and_refs_are_delayed.
17205
17206 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
17207
17208         * functiion.h (struct function): Add x_whole_function_mode_p.
17209         (retrofit_block): Declare.
17210         * function.c (retrofit_block): New function.
17211         (identify_blocks): Add assertions.  Allow an incomplete set of
17212         block notes if we're still generating code for the function.
17213         * integrate.c: Include loop.h.
17214         (expand_inline_function): Call find_loop_tree_blocks to map block
17215         notes to blocks when in whole-function mode.  Use retrofit_block
17216         to insert new BLOCKs for the inlined function, rather than
17217         insert_block.
17218         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
17219         * Makefile.in (integrate.o): Depend on loop.h.
17220
17221 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
17222
17223         * tree.h (warn_about_unused_variables): Declare.
17224         * stmt.c (warn_about_unused_variables): New function, split out
17225         from ...
17226         (expand_end_bindings): Here.
17227
17228 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
17229
17230         * stmt.c (preserve_subexpressions_p): Don't crash when
17231         current_function->stmt is unset.
17232
17233 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
17234
17235         * stmt.c (expand_start_bindings): Allow callers to pass a flag
17236         indicating that no NOTE_INSN_BLOCK_BEG note is required.
17237         (expand_start_target_temps): Use it.
17238         * except.c (expand_eh_region_start_for_decl): Likewise.
17239         * expr.c (expand_expr): Likewise.
17240
17241 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17242
17243         * fold-const.c (operand_equal_p): Pay attention to side effects.
17244
17245 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17246
17247         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17248         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17249
17250         * tlink.c (scan_linker_output): Look for keywords before accepting
17251         a mangled name in quotes.
17252
17253 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
17254
17255         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17256         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17257
17258 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
17259
17260         * alpha.md: Revert Thu Nov 26 change that came in through the
17261         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17262         Avoid earlyclobber when possible.
17263
17264 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17265
17266         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17267
17268         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17269         Define HAVE_ON_EXIT.
17270
17271 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17272
17273         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
17274         CTYPE_CONV in all ctype macros.
17275
17276         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17277         from system.h.
17278
17279         * cexp.y (initialize_random_junk): Likewise.
17280
17281         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17282
17283         * i370.c (handle_pragma): Likewise.
17284
17285         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17286
17287         * v850.c (override_options): Likewise.
17288
17289         * doprint.c (_doprnt): Likewise.
17290
17291         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17292         Likewise.
17293
17294         * fixinc/server.c (load_data): Likewise.
17295
17296         * fold-const.c (real_hex_to_f): Likewise.
17297
17298         * genattr.c (write_upcase, gen_attr): Likewise.
17299
17300         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17301         write_upcase): Likewise.
17302
17303         * genemit.c (print_code): Likewise.
17304
17305         * genopinit.c (gen_insn): Likewise.
17306
17307         * genpeep.c (print_code): Likewise.
17308
17309         * genrecog.c (print_code): Likewise.
17310
17311         * optabs.c (init_libfuncs): Likewise.
17312
17313 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
17314
17315         * haifa-sched.c (sched_analyze): Keep the list of notes organized
17316         in pairs.
17317         (reemit_notes): Likewise.
17318
17319 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
17320
17321         * ggc.h (ggc_root): Move to ggc-common.c.
17322         (roots): Remove.
17323         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17324         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17325         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17326         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17327         * ggc-common.c (ggc_root): Move from ggc.h.
17328         (roots): Declare, static.
17329         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17330         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17331         null or check/set mark bit.
17332         (ggc_mark_roots): New.
17333         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17334
17335 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
17336
17337         * m32r.c: Include toplev.h.
17338         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17339         (gen_compare): Rename swap_p to must_swap to match uses.
17340         Add default abort case.
17341         (m32r_output_function_epilogue): Remove unused variables.
17342         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17343         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17344         define to empty parameter list.  Update all uses.
17345         (predicate decls): Use enum machine_mode not int.
17346         * m32r.md (movsi): Call abort, not fatal_insn.
17347         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17348
17349 1999-09-14  Andrew Haley  <aph@cygnus.com>
17350
17351         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17352         use $0 instead of 0.
17353
17354 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17355
17356         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17357         computation out of loop over hard regs.
17358
17359 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
17360
17361         * function.c (identify_blocks): Don't shadow a variable in an
17362         outer scope.
17363         * integrate.c (integrate_decl_tree): Don't use pushlevel,
17364         pushdecl, or poplevel to build up the new BLOCK tree.
17365         (expand_inline_function): Likewise.
17366         (integrate_parm_decls): Likewise.
17367
17368 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
17369
17370         * c-typeck.c (qualify_type): Merge qualifiers from both types.
17371
17372 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
17373
17374         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17375         * invoke.texi: Document this change.
17376
17377 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
17378
17379         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17380         Free the struct.
17381         (mark_emit_status): Renamed from mark_emit_state.
17382         * except.c (mark_eh_status): Renamed from mark_eh_state.
17383         Check not null before marking.
17384         (free_eh_status): New.
17385         * expr.c (mark_expr_status, free_expr_status): New.
17386         * function.c (free_machine_status): New.
17387         (free_after_parsing): New.
17388         (free_after_compilation): Move bits to free_after_parsing; call
17389         free_eh_status, free_expr_status; zero the marked members of the
17390         function state.
17391         (prepare_function_start): No can_garbage_collect.
17392         Call init_eh_for_function.
17393         (expand_dummy_function_end): Free up current_function state.
17394         (mark_function_status): Renamed from mark_function_state.
17395         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
17396         * function.h (struct function): No can_garbage_collect.
17397         (free_machine_status, free_after_parsing): Declare.
17398         (free_eh_status, free_expr_status): Declare.
17399         * ggc.h (mark_expr_status): Declare.
17400         * stmt.c (free_stmt_status): Free the struct.
17401         (mark_stmt_status): Renamed from mark_stmt_state.
17402         (init_stmt): Don't call init_eh.
17403         (init_stmt_for_function): Don't call init_eh_for_function.
17404         * toplev.c (compile_file): Call init_eh.
17405         (rest_of_compilation): Free basic block info before ggc_collect.
17406         Call free_after_parsing; conditionally call free_after_compilation.
17407         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17408         Check not null before marking.
17409         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
17410
17411 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
17412
17413         * c-lex.c (yylex): Initialize warn.
17414
17415 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
17416
17417         * pa.c (emit_move_sequence): Properly set the mode of the scratch
17418         register when performing secondary reloads for the SAR register.
17419
17420 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
17421
17422         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17423         (NOTE_BLOCK): New macro.
17424         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17425         * function.h (identify_blocks): Change prototype.
17426         * function.c (identify_blocks): Simplify.
17427         (reorder_blocks): Likewise.
17428         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17429         NOTE_INSN_BLOCK_{BEG,END}.
17430         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17431         the list of saved notes if the note isn't a
17432         NOTE_INSN_BLOCK_{BEG,END}.
17433         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17434         NOTE_BLOCK_NUMBER.
17435         (reemit_notes): Adjust recreation of notes to reflect new saved
17436         note structure.
17437         * print-rtl.c (print_rtx): Print the address of the BLOCK when
17438         printing a block note.
17439         * stmt.c (block_vector): Remove.
17440         (find_loop_tree_blocks): Simplify.
17441         (unroll_block_trees): Likewise.
17442         * tree.h (reorder_block): Change prototype.
17443
17444 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
17445
17446         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
17447         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17448         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17449         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
17450         (atexit, exit): Simplify.
17451         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
17452         * config/lots: Remove defns of HAVE_ATEXIT.
17453
17454 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
17455
17456         * calls.c (precompute_arguments): Fix typo in comment.
17457         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17458         TARGET_EXPR.
17459
17460 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
17461
17462         * dsp16xx.c (override_options): Fix typos in GC root registration.
17463
17464 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
17465
17466         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17467         from config/svr4.h.
17468         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17469         (FUNCTION_PROFILER): Redefine appropriately for Linux.
17470         (CC1_SPEC): Likewise.
17471
17472 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17473
17474         * genattr.c (main): Add extern prototype.  Call return, not exit.
17475         * genattrtab.c (main): Likewise.
17476         * gencheck.c (main): Likewise.
17477         * gencodes.c (main): Likewise.
17478         * genconfig.c (main): Likewise.
17479         * genemit.c (main): Likewise.
17480         * genextract.c (main): Likewise.
17481         * genflags.c (main): Likewise.
17482         * gengenrtl.c (main): Likewise.
17483         * genopinit.c (main): Likewise.
17484         * genoutput.c (main): Likewise.
17485         * genpeep.c (main): Likewise.
17486         * genrecog.c (main): Likewise.
17487
17488         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17489         * genattrtab.c (get_insn_name): Likewise.
17490         * gencodes.c (get_insn_name): Likewise.
17491         * genconfig.c (get_insn_name): Likewise.
17492         * genemit.c (get_insn_name): Likewise.
17493         * genextract.c (get_insn_name): Likewise.
17494         * genflags.c (get_insn_name): Likewise.
17495         * genopinit.c (get_insn_name): Likewise.
17496         * genpeep.c (get_insn_name): Likewise.
17497
17498         * gencheck.c (usage): Add static prototype.
17499         * genextract.c (print_path): Constify a char*.
17500         * genopinit.c (optabs): Likewise.
17501         * genoutput.c (operand_data, data, output_predicate_decls,
17502         compare_operands): Likewise.
17503         * genrecog.c (write_tree): Add default case in switch.
17504
17505 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17506
17507         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17508
17509         * print-rtl.c (get_insn_name): Remove prototype.
17510
17511         * toplev.h (progname): Declare const.
17512
17513         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17514         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17515         dump_sched_info, dump_local_alloc, regset_release_memory,
17516         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17517         error_with_file_and_line, error_with_decl, error_for_asm, error,
17518         fatal, warning_with_file_and_line, warning_with_decl, warning,
17519         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17520         Remove redundant prototypes.
17521
17522         (notice, check_lang_option, report_file_and_line, vnotice,
17523         mark_file_stack): Add static prototype.
17524         (set_fatal_function): Add prototype.
17525         (vnotice, report_file_and_line, set_fatal_function,
17526         check_lang_option): Constify a char*.
17527         (main): Prototype.  Call return, not exit.
17528
17529 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17530
17531         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17532
17533         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17534
17535         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17536
17537         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17538
17539 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17540
17541         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
17542         behave as if it's zero in all cases.
17543         (expand_function_start): Adjust call to assign_parms.
17544         * tree.h (assign_parms): Adjust prototype.
17545         * objc/objc-act.c (hack_method_prototype): Adjust call to
17546         assign_parms.
17547
17548 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
17549
17550         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17551         arg_pointer_rtx fixed if the argument pointer register is
17552         not fixed.
17553         (NONZERO_BASE_PLUS_P): Likewise.
17554
17555 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
17556
17557         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17558         match_insn2 to match_insn.
17559         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17560
17561 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
17562
17563         * Makefile.in (USER_H): Remove va-foo.h.
17564
17565         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17566         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17567         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17568         va-spur.h,va-v850.h}: Remove.
17569
17570 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
17571
17572         * sparc/sparc.md (eligible_for_return_delay): New attribute.
17573         (in_return_delay): Use it instead of match_insn.
17574
17575 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17576
17577         * config/alpha/va_list.h (va-alpha.h): Do not include.
17578         (__gnuc_va_list): Typedef as in varargs.h.
17579
17580 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
17581
17582         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17583         DECL_LIVE_RANGE_RTL.
17584
17585 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
17586
17587         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17588         not NOTE_BLOCK_NUMBER.
17589         (expand_eh_region_end): Likewise.
17590         (find_exception_handler_labels): Likewise.
17591         (scan_region): Likewise.
17592         (exception_optimize): Likewise.
17593         (update_rethrow_references): Likewise.
17594         (set_insn_eh_region): Likewise.
17595         * final.c (final_scan_insn): Likewise.
17596         * flow.c (make_edges): Likewise.
17597         * integrate.c (expand_inline_function): Likewise.
17598         * print-rtl.c (print_rtx): Likewise.
17599
17600 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
17601
17602         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17603         terms of builtin functions and types.
17604
17605         * mips.c (mips_build_va_list): New.
17606         (mips_va_start, mips_va_arg): New.
17607         * mips.h (BUILD_VA_LIST_TYPE): New.
17608         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17609
17610         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17611         (sh_build_va_list, sh_va_start, sh_va_arg): New.
17612         * sh.h (BUILD_VA_LIST_TYPE): New.
17613         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17614
17615 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
17616
17617         * recog.h (struct recog_data): Make dup_num, operand_address_p,
17618         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17619         (struct insn_data): Likewise with n_operands, n_dups,
17620         n_alternatives, output_format.
17621         * regclass.c (scan_one_insn): Cast n_operands to int before
17622         arithmetic inside comparison.
17623
17624 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
17625
17626         * toplev.c (compile_function): Unconditionally emit nop.
17627
17628 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17629
17630         * haifa-sched.c (actual_hazard): Move declaration of variable
17631         `this_cost' into the scope where it is used.
17632
17633 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17634
17635         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17636         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
17637         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17638
17639         * genrecog.c (make_insn_sequence): Call memset, not bzero.
17640
17641         * jump.c (find_insert_position): Don't declare or define unless
17642         !HAVE_conditional_arithmetic.
17643         (returnjump_p_1, delete_prior_computation): Add static prototypes.
17644
17645         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17646
17647         * recog.c (offsettable_address_p): Prototype function pointer.
17648         (preprocess_constraints): Call memset, not bzero.
17649
17650         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
17651         (gcc_obstack_init): Don't declare.
17652         (fix_sizetype): Add static prototype.
17653         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17654         (tree_cons): Call memset, not bzero.
17655
17656         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17657         definition in macro ASM_WEAKEN_LABEL.
17658         (mark_const_hash_entry): Add static prototype.
17659
17660 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17661
17662         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17663
17664         * unroll.c (find_common_reg_term, subtract_reg_term,
17665         loop_find_equiv_value): Add static prototypes.
17666         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17667         (copy_loop_body): Remove unreachable break statement.
17668
17669         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17670
17671         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17672
17673 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17674
17675         Undo some changes from the gcc2 merge:
17676         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17677         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17678         pointers.
17679
17680         Undo this change:
17681         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
17682         * emit-rtl.c (gen_lowpart_common): Disable optimization of
17683         initialized float-int union if the value is a NaN.
17684
17685 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17686
17687         * gthr-win32.h: New file.
17688
17689         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17690         shared as a valid attribute.
17691         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17692         * extend.texi: Document `shared' variable attribute.
17693
17694 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
17695
17696         * configure.in: Handle --enable-threads on FreeBSD.
17697         * configure: Rebuit.
17698
17699 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17700
17701         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17702         thread support.
17703         * configure: Rebuilt.
17704
17705 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
17706                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17707                           Rosimildo DaSilva <rdasilva@connecttel.com>
17708
17709         * configure.in (m68k-*-rtemscoff*): Added.
17710         * configure.in (mips64orion-*-rtems*): Converted to ELF.
17711         * configure.in (sparc-*-rtemsaout*): Added as alias for old
17712         sparc-rtems configuration.
17713         * configure.in (sparc-*-rtemself*): Added.
17714         * configure.in (sparc-*-rtems*): Now ELF not a.out.
17715         * config/i386/rtems.h: Added comment.
17716         * config/sparc/rtemself.h: New file.
17717
17718         * configure.in (m68k-rtemself): Added.
17719         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17720         and DWARF_DEBUGGING_INFO.
17721         * config/m68k/crti.s: New file.
17722         * config/m68k/crtn.s: New file.
17723         * config/m68k/t-crtstuff: New file.
17724         * config/m68k/rtemself.h: New file.
17725
17726         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17727         global ctor/dtor and C++ exception handling.
17728         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17729         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17730         ENDFILE_SPEC.
17731         * config/i386/t-rtems-i386: New File.
17732
17733 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
17734
17735         * stmt.c (expand_end_case): Return right away if the case stack is
17736         empty.
17737
17738 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
17739
17740         * Makefile.in (version.c): Remove rule incorrectly brought in from
17741         the gcc2 merge.
17742
17743 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
17744
17745         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
17746         * msdos/top.sed:  Take into account a prepended $(SHELL) to
17747         move-if-change.
17748         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
17749
17750         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17751
17752 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17753
17754         * regmove.c (fixup_match_1): Don't change an unchanging register.
17755         (stable_but_for_p): Renamed to:
17756         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
17757         Changed all callers.
17758
17759 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
17760
17761         * loop.c (strength_reduce): Don't call reg_used_between_p if the
17762         insn from BL2 is after the insn from BL.
17763
17764 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
17765
17766         * recog.h (INSN_OUTPUT_FORMAT_*): New.
17767         (struct insn_data): Merge `template' and `outfun' into `output'.
17768         Add `output_format'.
17769         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17770         (struct data): Remove `outfun'; add `output_format'.
17771         (name_for_index): Remove declaration.
17772         (output_insn_data): Handle output formats.
17773         (process_template): Emit the bare array for @.
17774         (gen_expand, gen_split): Set output_format to NONE.
17775         * output.h (get_insn_template): Declare.
17776         * final.c (get_insn_template): New.
17777         (final_scan_insn): Use it.
17778         * toplev.c (compile_file): Likewise.
17779
17780         * c4x/c4x.c (c4x_process_after_reload): Likewise.
17781         * i860/i860.c (output_delayed_branch): Likewise.
17782         (output_delay_insn): Likewise.
17783
17784 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17785
17786         * rtl.c (obstack_alloc_rtx): Removed.
17787
17788 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
17789
17790         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17791
17792 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17793
17794         * i386.c (call_insn_operand): Reject const_int.
17795         (expander_call_insn_operand): Use call_insn_operand.
17796
17797 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17798
17799         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17800
17801 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
17802
17803         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17804         Use DImode operation.
17805
17806 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
17807
17808         * gcc.c: Include sys/resource.h.
17809         (report_times): New flag.
17810         (execute):  If report_times is set, calculate and report the
17811         CPU time consumed by each subprocess.
17812
17813         (rus, prus): New globals.
17814         (option_map): Add --time.
17815         (display_help): Document -time.
17816         (process_command): Set report_times if -time is given.
17817         Turn off -pipe if -time is given.
17818
17819         * invoke.texi: Document new option -time.
17820
17821         * configure.in: Check for getrusage.  Check if we have to
17822         prototype getrusage.
17823         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
17824         * configure: Regenerate.
17825         * config.in: Regenerate.
17826
17827 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
17828
17829         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
17830         fields.
17831
17832 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
17833
17834         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
17835         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
17836         (nan): Return _thenan_sf or _thenan_df as appropriate.
17837         (L_thenan_sf): Define _thenan_sf.
17838         (L_thenan_df): Define _thenan_df.
17839
17840         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
17841         (DPBIT_FUNCS): Add _thenan_df.
17842
17843 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
17844
17845         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
17846         TYPE_SIZE_UNIT.
17847
17848 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17849
17850         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
17851
17852         * gcc.h: New file.
17853         (lang_specific_driver): Don't take a function pointer parameter.
17854         All callers changed.
17855
17856         * gcc.c: Include gcc.h.
17857         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
17858         lang_specific_extra_outfiles, fatal): Don't declare.
17859         (multilib_defaults_raw): Constify.
17860         (read_specs): Call memset, rather than bzero.
17861         (main): Call return, not exit.
17862         (lookup_compiler): Call memcpy, not bcopy.
17863         (fatal): Make extern.
17864
17865         * cppspec.c: Include gcc.h.
17866         (lang_specific_driver): Initialize variable `quote'.  Constify a
17867         char*.  All calls to the function pointer parameter now
17868         explicitly call `fatal'.
17869
17870         * gccspec.c (lang_specific_driver): Include gcc.h.
17871
17872 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
17873
17874         * arm.c (note_invalid_constants): Use recog_data.operand_type
17875         for recog_op_type.
17876
17877 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17878
17879         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
17880         Declare.
17881
17882         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
17883         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17884         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17885         reload_secondary_in_reload, reload_secondary_out_reload,
17886         reload_secondary_in_icode, reload_secondary_out_icode,
17887         reload_reg_rtx, reload_when_needed): Delete declarations.
17888         (struct reload): New structure.
17889         (rld): Declare new array.
17890         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
17891         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
17892         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
17893         reload_secondary_in_reload, reload_secondary_out_reload,
17894         reload_secondary_in_icode, reload_secondary_out_icode,
17895         reload_reg_rtx, reload_when_needed): Delete definitions.
17896         (rld): New array.
17897         (whole file): Replace uses of the deleted arrays with uses of rld.
17898         * reload1.c (whole file): Replace uses of the deleted arrays with
17899         uses of rld.
17900         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
17901         explicit loops, not with bcopy.
17902
17903 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
17904
17905         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
17906         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
17907         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
17908         insn_name): Delete and consolidate into new structures.
17909         (insn_operand_predicate_fn): New.
17910         (insn_output_fn): New.
17911         (insn_gen_fn): New.
17912         (struct insn_operand_data): New.
17913         (struct insn_data): New.
17914         (insn_data): New.
17915         (OUT_FCN): Update for insn_data change.
17916         * builtins.c (expand_builtin_strlen): Likewise.
17917         (expand_builtin_memcmp): Likewise.
17918         * combine.c (make_extraction, simplify_comparison): Likewise.
17919         * cse.c (canon_reg, cse_insn): Likewise.
17920         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
17921         * expmed.c (store_bit_field, extract_bit_field): Likewise.
17922         (emit_store_flag): Likewise.
17923         * expr.c (convert_move, emit_block_move): Likewise.
17924         (clear_storage, emit_push_insn, expand_increment): Likewise.
17925         (do_store_flag): Likewise.
17926         * expr.h (GEN_FCN): Likewise.
17927         (insn_gen_function): Die.
17928         * final.c (final_scan_insn): Update for insn_data change.
17929         (output_asm_name): Likewise.
17930         * function.c (fixup_var_refs_1): Likewise.
17931         * loop.c (check_dbra_loop): Likewise.
17932         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
17933         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
17934         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
17935         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
17936         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
17937         * regmove.c (gen_add3_insn): Likewise.
17938         * reload.c (push_secondary_reload, combine_reloads): Likewise.
17939         (find_reloads, find_reloads_address_1): Likewise.
17940         (debug_reload_to_stream): Likewise.
17941         * reload1.c (emit_reload_insns, gen_reload): Likewise.
17942         * stmt.c (expand_end_case): Likewise.
17943         * toplev.c (compile_file): Likewise.
17944
17945         * c4x/c4x.c (c4x_process_after_reload): Likewise.
17946         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
17947
17948         * print-rtl.c (insn_name_ptr): Remove declaration.
17949         (get_insn_name): Declare.
17950         (print_rtx): Use it.
17951         * genoutput.c (insn_name_ptr): Remove.
17952         (next_operand_number): New.
17953         (struct operand_data): New.
17954         (null_operand, odata, odata_end): New.
17955         (struct data): Use struct operand_data.
17956         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
17957         (get_insn_name): Renamed from name_for_index.
17958         (output_prologue): Define NO_MD_PROTOTYPES.
17959         (output_predicate_decls): Break out from output_epilogue.
17960         Iterate over the operands list.
17961         (output_operand_data): Break out from output_epilogue.  Emit
17962         just the operands list.
17963         (output_insn_data): Break out from output_epilogue.  Emit just
17964         the insn data.
17965         (output_epilogue): Remove.
17966         (output_get_insn_name): New.
17967         (constraints, op_n_alternatives, predicates, address_p): Die.
17968         (modes, strict_low, seen): Die.
17969         (scan_operands): Take new param `d' instead of writing to
17970         seven global variables.
17971         (compare_operands): New.
17972         (place_operands): New.
17973         (validate_insn_alternatives): Update for struct data change.
17974         (gen_insn): Don't zero or copy 7 global arrays.  Update for
17975         scan_operands; call place_operands.
17976         (gen_peephole, gen_expand, gen_split): Likewise.
17977         (main): Update for new output routines.
17978
17979         * genattr.c (insn_name_ptr): Remove.
17980         (get_insn_name): New function.
17981         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
17982         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
17983         * genrecog.c: Likewise.
17984
17985         * alpha.md (adddi3): Make `pattern' array static.
17986
17987 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17988
17989         * config/c4x/c4x.h (c4x_rpts_cycles_string,
17990         c4x_cpu_version_string): Constify char *.
17991         * config/c4x/c4x.c (c4x_rpts_cycles_string,
17992         c4x_cpu_version_string): Likewise.
17993
17994 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
17995
17996         * tree.c (save_tree_status): Revert 10 Sep change.
17997         (restore_tree_status): Likewise.  Call obstack_free with NULL
17998         before freeing the obstack proper.
17999
18000 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
18001
18002         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18003
18004         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18005         surrounding context.
18006
18007 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
18008
18009         * tree.c (type_hash_canon): Put all types in the hash-table, when
18010         GC'ing.
18011
18012 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
18013
18014         * recog.h (struct recog_data, recog_data): New.
18015         (recog_foo variables): Kill.
18016         * recog.c (recog_operand, recog_operand_loc): Kill.
18017         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18018         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18019         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18020         (recog_data): Define.
18021         (extract_insn): Update all recog_foo references to use recog_data.
18022         (preprocess_constraints, constrain_operands): Likewise.
18023         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18024         * genattrtab.c (main): Likewise.
18025         * genextract.c (main): Likewise.
18026         * genoutput.c: Likewise.
18027         * genrecog.c (write_subroutine, main): Likewise.
18028         * local-alloc.c (block_alloc): Likewise.
18029         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18030         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18031         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18032         * reload.c (find_reloads, find_reloads_toplev): Likewise.
18033         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18034         (reload_cse_simplify_operands): Likewise.
18035
18036         * arc/arc.c (arc_final_prescan_insn): Likewise.
18037         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18038         * h8300/h8300.c (notice_update_cc): Likewise.
18039         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18040         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18041         * mn10200/mn10200.c (notice_update_cc): Likewise.
18042         * mn10300/mn10300.c (notice_update_cc): Likewise.
18043         * romp/romp.c (update_cc): Likewise.
18044         * sparc/sparc.c (check_pic): Likewise.
18045         * v850/v850.c (notice_update_cc): Likewise.
18046
18047         * genemit.c (main): Don't declare recog_operand.
18048
18049 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
18050
18051         * ggc.h (rtvec_def): Forward declare.
18052         (tree_node): Likewise.
18053         (ggc_root): Define.
18054         (roots): Declare.
18055         (ggc_set_mark_rtx): Add prototype.
18056         (ggc_set_mark_rtvec): Likewise.
18057         (ggc_set_mark_tree): Likewise.
18058         * ggc-simple.c (ggc_root): Don't define.
18059         (roots): Don't declare.
18060         (ggc_mark_rtx): Remove.
18061         (ggc_mark_rtvec): Likewise.
18062         (ggc_mark_tree): Likewise.
18063         (ggc_mark_varray): Likewise.
18064         (ggc_mark_tree_hash_table_entry): Likewise.
18065         (ggc_mark_tree_hash_table): Likewise.
18066         (ggc_set_mart_rtx): New function.
18067         (ggc_set_mark_rtvec): Likewise.
18068         (ggc_set_mark_tree): Likewise.
18069         (ggc_add_root): Remove.
18070         (ggc_add_rtx_root): Likewise.
18071         (ggc_remove_tree_root): Likewise.
18072         (ggc_add_string_root): Likewise.
18073         (ggc_add_tree_varray_root): Likewise.
18074         (ggc_add_tree_hash_table_root): Likewise.
18075         (ggc_del_root): Likewise.
18076         (ggc_mark_rtx_ptr): Likewise.
18077         (ggc_mark_tree_ptr): Likewise.
18078         (ggc_mark_string_ptr): Likewise.
18079         (ggc_mark_tree_varray_ptr): Likewise.
18080         (ggc_mark_tree_hash_table_ptr): Likewise.
18081         * ggc-common.c: New file.
18082         * Makefile.in (OBJS): Add ggc-common.o.
18083         (ggc-common.o): List dependencies.
18084
18085 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
18086
18087         * cppalloc.c (xstrdup): Use memcpy.
18088         * cpperror.c (cpp_print_containing_files): Don't use
18089         cpp_notice.
18090         * cpplib.c (conditional_skip): Set temp->lineno.
18091         (do_endif): Make error message less obscure.
18092         (if_directive_name): New function.
18093         (cpp_get_token [case EOF]): Unwind the if stack and generate
18094         error messages for each unterminated conditional in this file.
18095         (parse_string):  Do not behave differently if -traditional.
18096
18097 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
18098
18099         * builtins.c (expand_builtin_va_arg): Cope with an array-type
18100         va_list decomposing to pointer-type.
18101         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18102         (rs6000_va_arg): Likewise.
18103
18104 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
18105
18106         * except.c (start_dynamic_handler): Compute size using
18107         STACK_SAVEAREA_MODE.
18108
18109 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18110
18111         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
18112         include directory headers.  Don't define strrchr.  Don't provide
18113         my_* replacement functions.  Prefer PTR over `pointer_type'.
18114         Don't prototype system functions.  Don't redefine getopt.
18115
18116         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18117         safe_read, safe_write, save_pointers, restore_pointers,
18118         is_id_char, in_system_include_dir, directory_specified_p,
18119         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18120         find_corresponding_lparen, referenced_file_is_newer,
18121         save_def_or_dec, munge_compile_params, gen_aux_info_file,
18122         process_aux_info_file, identify_lineno, check_source,
18123         seek_to_line, forward_to_next_token_char, output_bytes,
18124         output_string, output_up_to, other_variable_style_function,
18125         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18126         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18127         find_static_definition, connect_defs_and_decs, add_local_decl,
18128         add_global_decls, needs_to_be_converted, visit_each_hash_node,
18129         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18130         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18131         scan_for_missed_items, edit_file, string_list_cons): Add static
18132         prototypes.
18133         (standard_exec_prefix, target_machine, target_version,
18134         default_syscalls_dir, string_list, string_list_cons, find_file,
18135         do_cleaning): Constify a char*.
18136         (safe_read, safe_write): Use PTR, not a char*.
18137         (is_id_char): Take an int, not a char.
18138         (main): Add prototype.  Call return, not exit.
18139
18140 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
18141
18142         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18143         when comparing types.
18144
18145 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
18146
18147         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18148         (strength_reduce): Release the varrays from the no-bivs early exit.
18149
18150         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18151         the loop over the registers.
18152
18153         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18154         for a new obstack.
18155         (restore_tree_status): Check that instead when freeing the obstack.
18156
18157 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
18158
18159         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18160         as pointers.
18161
18162 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18163
18164         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
18165         operand size modifiers.
18166
18167 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18168
18169         * c-common.c (c_common_nodes_and_builtins): Don't build
18170         va_list_type_node.
18171         * c-common.h (enum c_tree_index and related accesor macros): Remove
18172         everything now declared in tree.h.
18173         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18174         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18175         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18176         (error_mark_node, void_type_node, char_type_node, integer_type_node,
18177         unsigned_type_node, ptr_type_node, va_list_type_node,
18178         integer_zero_node, null_pointer_node, integer_one_node): Delete.
18179         (init_decl_processing): Call build_common_tree_nodes and
18180         build_common_tree_nodes_2 instead of building their nodes here.
18181         Don't add roots for these nodes.
18182         * stor-layout.c (size_zero_node, size_one_node): Delete.
18183         (set_sizetype): Make a new node for bitsizetype each time.
18184         * tree.c (global_trees): New variable.
18185         (init_obstacks): Add a gc root for it.
18186         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18187         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18188         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18189         (build_common_tree_nodes): New function.
18190         (fix_sizetype): New function.
18191         (build_common_tree_nodes_2): New function.
18192         * tree.h (enum tree_index): New.
18193         (global_trees): Declare.
18194         Add accessor macros for all nodes now moved to global_trees.
18195         Delete their declarations.
18196
18197 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
18198
18199         * c-decl.c (finish_function): When processing a nested function,
18200         push and pop GC context around rest_of_compilation.
18201
18202 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
18203
18204         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18205         Default ix86_arch to PROCESSOR_I386.
18206         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
18207         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18208         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18209         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18210         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
18211         (EXTRA_SPECS): Remove deleted specs.
18212
18213 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
18214
18215         * function.c (assign_stack_local_1): Allocate from
18216         function->x_frame_offset, not frame_offset.
18217
18218 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
18219
18220         * ggc.h (lang_cleanup_tree): Remove.
18221         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18222         * ggc-callbacks.c (lang_cleanup_tree): Remove.
18223
18224         * c-decl.c (finish_struct): Use ggc_alloc to allocate
18225         TYPE_LANG_SPECIFIC when garbage collecting.
18226         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18227         (lang_cleanup_tree): Remove.
18228
18229 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18230
18231         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18232         * crtstuff.c: Not here.
18233         * dwarf2out.c: Or here.
18234         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18235         info.
18236
18237 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
18238
18239         * function.h (free_after_compilation): Remove decl parameter.
18240         (free_varasm_status0: Likewise.
18241         (free_emit_status): Likewise.
18242         (free_stmt_status): Likewise.
18243         (free_after_compilation): Likewise.
18244         (init_lang_status): New variable.
18245         (free_lang_status): Likewise.
18246         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18247         * function.c (init_lang_status): New variable.
18248         (free_lang_status): Likewise.
18249         (push_function_context_to): Don't set function::decl here.
18250         (free_after_copmilation): Make decl parameter implicit.  Call
18251         free_lang_status if defined.
18252         (prepare_function_start): Call init_lang_status if defined.
18253         (init_function_start): Set function::decl here.
18254         * profile.c (output_func_start_profiler): Don't call pushdecl
18255         until we've actually started the function.
18256         * stmt.c (free_stmt_status): Make decl parameter implicit.
18257         * toplev.c (rest_of_compilation): Don't pass decl to
18258         free_after_compilation.
18259         * varasm.c (free_varasm_status): Likewise.
18260
18261 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18262
18263         * except.c (call_get_eh_context): Add root when allocating static
18264         tree variable.
18265
18266 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
18267
18268         * arm.c: Include "ggc.h".
18269         (arm_add_gc_roots): New function.
18270         (arm_override_options): Call it.
18271         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18272
18273         * arm.md (define_asm_attributes): Add a pool_range attribute.
18274
18275 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
18276
18277         * extend.texi (Volatiles): New node.
18278
18279 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
18280
18281         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18282         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18283         (struct ggc_any): Replace `mark' with `magic_mark'.
18284         (ggc_alloc_string): Use memcpy, not bcopy.
18285         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
18286         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18287         (ggc_free_any): New.
18288         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
18289         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
18290         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
18291         Use IS_MARKED. Use ggc_free_any.
18292
18293 1999-09-09  Scott Bambrough <scottb@netwinder.org>
18294
18295         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18296
18297 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
18298
18299         * toplev.c (main): Always init_ggc.
18300
18301 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
18302
18303         * except.c (find_all_handler_type_matches): Free the list if
18304         we found no matches.
18305
18306         * combine.c (SUBST): Break out to a real function do_SUBST.
18307         (SUBST_INT): Likewise.
18308         * gcse.c (free_pre_mem): Free `temp_bitmap'.
18309         (pre_insert): Free `inserted'.
18310         * loop.c (basic_induction_var): Always set `location'.
18311
18312         * function.c (expand_function_end): Add initial_trampoline as a root.
18313         * rtl.h (init_varasm_once): Declare.
18314         * toplev.c (compile_file): Call it.
18315         * ggc-simple.c (ggc_mark_string_ptr): New.
18316         (ggc_add_string_root): New.
18317         (ggc_collect): Disable collection avoidance temporarily.
18318         * ggc.h (ggc_add_string_root): Declare.
18319         * except.c (create_rethrow_ref): Use ggc_alloc_string.
18320         * optabs.c (init_libfuncs): Likewise.
18321         * varasm.c (named_section): Use ggc_alloc_string.
18322         (make_function_rtl): Likewise.
18323         (make_decl_rtl): Likewise.
18324         (assemble_static_space): Likewise.
18325         (assemble_trampoline_template): Likewise.
18326         (output_constant_def): Likewise.
18327         (force_const_mem): Likewise.
18328         (mark_const_hash_entry): New.
18329         (mark_pool_sym_hash_table): New.
18330         (mark_varasm_state): Use it.
18331         (init_varasm_once): New.
18332
18333         * expr.h (init_one_libfunc): Declare.
18334         * optabs.c (init_one_libfunc): New.
18335         (init_optabs): Use it.
18336         * config/gofast.h: Likewise.
18337         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18338         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18339
18340 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18341
18342         * Makefile.in (cppexp.o): Depend on cpphash.h.
18343         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18344         Include cpphash.h.
18345         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18346         * cpplib.c (do_define): Generalise to handle poisoned definitions,
18347         redefining poisoned identifiers, etc.
18348         (do_undef): Don't allow poisoned identifiers to be undefined.
18349         (do_pragma): Add #pragma poison.
18350         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18351
18352         * cccp.c: Add T_POISON node type.
18353         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18354         poisoned xxx.
18355         (do_define): Generalise to handle poisoned definitions,
18356         redefining poisoned identifiers, etc.
18357         (do_undef): Don't allow poisoned identifiers to be undefined.
18358         (do_pragma): Add #pragma poison.
18359         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18360
18361         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18362         * c-pragma.h: Add ps_poison state.  We now always have generic
18363         pragmas.
18364
18365 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
18366
18367         * ggc.h (ggc_alloc): New function.
18368         (ggc_mark): Likewise.
18369         * ggc-simple.c (ggc_any): New structure.
18370         (ggc_status): Add anys.
18371         (n_anys_collected): New variable.
18372         (ggc_alloc): Define.
18373         (ggc_mark): Likewise.
18374         (ggc_collect): Collect the anys.
18375
18376 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18377
18378         * c-decl.c (mark_binding_level): Make static to match prototype.
18379
18380 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
18381
18382         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18383
18384 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
18385
18386         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18387         will use into account.  Expand the max width to 5.
18388         * rtl.c: Likewise.
18389
18390 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
18391
18392         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18393         for the rtx length.
18394
18395 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
18396
18397         * alpha.md (call value patterns): Remove the result predicates.
18398
18399 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
18400
18401         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18402         last change.
18403
18404 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18405
18406         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18407         changed from extern char *, to extern PTR.  Also fix typo in
18408         NEED_DECLARATION_REALLOC test.
18409
18410         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18411
18412 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18413
18414         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18415         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18416         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18417         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18418
18419         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18420
18421         * cccp.c (pcfinclude): Likewise.
18422
18423         * global.c (allocno_compare): Likewise.
18424
18425         * haifa-sched.c (rank_for_schedule): Likewise.
18426
18427         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18428
18429         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18430
18431         * stupid.c (stupid_reg_compare): Likewise.
18432
18433         * tree.c (_obstack_allocated_p): Likewise.
18434
18435         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18436
18437 1999-09-08  Bruce Korb  autogen@linuxbox.com
18438
18439         * Makefile.in: Give the hapless gperf user a hint about
18440         why "gperf -F" fails.
18441
18442 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
18443
18444         * lists.c: Include ggc.h.
18445         (zap_lists): New.
18446         (init_EXPR_INSN_LIST_cache): Install it.
18447
18448         * ggc-simple.c (init_ggc): Absorb the old init.
18449         (ggc_push_context): Use xcalloc.
18450         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18451         (ggc_collect): Add [rvts] tags to the collection stats.
18452
18453 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
18454
18455         * cccp.c (main): Fix handling of -include and -imacros options.
18456
18457 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
18458
18459         * cpplib.c (cpp_push_buffer): Fix order of arguments.
18460
18461 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18462
18463         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18464         genrtl.c.
18465
18466 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18467
18468         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18469         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18470         and SET_DEST. Update comment.
18471
18472 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18473
18474         * config/c4x/c4x.c: Include ggc.h.
18475         (c4x_add_gc_roots): New function.
18476         (c4x_override_options): Call c4x_add_gc_roots.
18477
18478 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
18479
18480         * defaults.h (TARGET_ESC): Move ...
18481         * system.h: ... here, where Linas had it in the first place.  Silly me.
18482
18483 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
18484
18485         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18486         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18487         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18488         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18489         * defaults.h (TARGET_ESC): Add default.
18490
18491 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
18492
18493         * configure.in: add i370-*-openedition, i370-*-mvs and
18494         i370-*-linux targets
18495
18496 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
18497
18498         * dsp16xxx.c: Include ggc.h
18499         (override_options): Mark GC roots.
18500         * mn10200.c: Include ggc.h.
18501         (asm_file_start): Mark GC roots.
18502         * tahoe.c: Include ggc.h.
18503         (extensible_operand): Mark GC roots.
18504
18505 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
18506
18507         * README: Add section discussing status of ELF ABI.
18508         * i370.c: Fix misc spelling mistakes.
18509         (i370_label_scan): Updated notes, exception handling.
18510         (i370_function_prolog): Simplify ELF stack handling.
18511         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18512         (STACK_GROWS_DOWNWARD): ELF stack grows down.
18513         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18514         * i370.md: (movdi): Add notes.
18515         (floatsidf2): Use stack not rtca for scratch float area.
18516         (iorsi3): Correct operand constraints.
18517         * x-oe: Restore TAROUTOPTS which are used by pax.
18518
18519 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
18520
18521         * rs6000.c: Include ggc.h.
18522         (rs6000_add_gc_roots): New function.
18523         (override_options): Call it.
18524
18525 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
18526
18527         * alpha.h (alpha_compare): New.
18528         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18529         * alpha.c: Likewise for the definitions.
18530         (alpha_emit_conditional_branch): Update for alpha_compare.
18531         (alpha_emit_conditional_move): Likewise.
18532         * alpha.md (cmpdf, cmpdi): Likewise.
18533         (setcc patterns): Likewise.  Zero alpha_compare after use.
18534         (sne): Optimize (x != 0) into (0U < x).
18535
18536 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
18537
18538         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18539         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18540         (INIT_EXPANDERS): Remove.
18541         * alpha.c: Include ggc.h.
18542         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18543         (alpha_init_machine_status, alpha_mark_machine_status): New.
18544         (override_options): Install them.
18545         (struct machine_function): Moved to alpha.h.
18546         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18547         (alpha_init_expanders): Remove.
18548         (alpha_return_addr): Adjust to use current_function->machine.
18549         (alpha_ra_ever_killed): Likewise.
18550         (alpha_expand_epilogue): Likewise.
18551         * alpha.md (eh_epilogue): Likewise.
18552
18553 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
18554                           Melissa O'Neill  <oneill@cs.sfu.ca>
18555                           Geoffrey Keating  <geoffk@cygnus.com>
18556
18557         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18558         call-used registers (call-saved registers must still be contiguous
18559         and end with r31, of course).
18560
18561 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
18562
18563         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18564         (self_promoting_type_p): Delete.
18565         (self_promoting_args_p): Move ...
18566         * c-common.c: ... here.
18567         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18568         (simple_type_promotes_to): New.
18569         * builtins.c (lang_type_promotes_to): New.
18570         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18571         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18572         * c-common.h: ... here.
18573         (self_promoting_args_p, simple_type_promotes_to): Declare.
18574         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18575         (grokdeclarator): Likewise.
18576         * tree.h (lang_type_promotes_to): Declare.
18577
18578 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
18579
18580         Add some machine-dependent GC roots.
18581         * sparc.c: Include ggc.h.
18582         (sparc_add_gc_roots): New function.
18583         (mark_ultrasparc_pipeline_state): Likewise.
18584         (override_options): Call sparc_add_gc_roots.
18585         * pa.c: Include ggc.h.
18586         (pa_add_gc_roots): New function.
18587         (mark_deferred_plabels): Likewise.
18588         (override_options): Call pa_add_gc_roots.
18589         * mips.c: Include ggc.h.
18590         (mips_add_gc_roots): New function.
18591         (override_options): Use it.
18592
18593 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18594
18595         * cpperror.c (cpp_file_line_for_message): Constify a char*.
18596
18597         * cppexp.c (parse_number, parse_charconst, cpp_lex,
18598         cpp_parse_expr): Add static prototypes.
18599         (parse_charconst): Don't cast away const-ness.
18600         (token): Constify a char*.
18601
18602         * cppfiles.c (file_name_list, include_hash, find_include_file,
18603         finclude, initialize_input_buffer): Constify a char*.
18604         (file_cleanup, find_position): Add static prototypes.
18605
18606         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18607         collect_expansion): Add static prototypes.
18608         (cpp_install, create_definition, monthnames): Constify a char*.
18609
18610         * cpphash.h (cpp_install): Likewise.
18611
18612         * cppinit.c (known_suffixes, default_include,
18613         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18614         (base_name, dump_special_to_buffer, initialize_dependency_output):
18615         Add static prototypes.
18616
18617         * cpplib.c (my_strerror): Constify a char*.
18618         (null_underflow, null_cleanup, skip_comment, copy_comment,
18619         copy_rest_of_line, handle_directive, pass_thru_directive,
18620         get_directive_token, read_line_number, cpp_print_file_and_line,
18621         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18622         v_cpp_warning_with_line, detect_if_not_defined,
18623         consider_directive_while_skipping): Add static prototypes.
18624         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18625         cpp_pedwarn_with_file_and_line): Constify a char*.
18626
18627         * cpplib.h (cpp_options, include_hash, progname, definition,
18628         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18629         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18630         find_include_file, deps_output, include_hash): Constify a char*.
18631
18632         * cppmain.c (progname): Constify.
18633         (main): Add prototype.  Use return, not exit.
18634
18635         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18636         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18637         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18638         check_protection): Add static prototype.
18639         (xfree): Remove.
18640         (progname, recognized_macrom, recognized_extern): Constify a char*.
18641         (main): Add prototype.
18642
18643         * gen-protos.c (progname): Constify a char*.
18644
18645 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
18646
18647         * emit-rtl.c (free_emit_status): Take decl as a parameter.
18648         (init_emit_once): Add more GC roots.
18649         * except.c (mark_func_eh_entry): New function.
18650         (mark_eh_node): Mark false_label and rethrow_label.
18651         (init_eh): Add more GC roots.
18652         * function.c (free_after_compilation): Take decl as a paramter.
18653         Call free_stmt_status.
18654         (mark_function_state): Don't assume x_parm_reg_stack_loc is
18655         non-NULL.
18656         * function.h (free_after_compilation): Change prototype.
18657         (free_varasm_status): Likewise.
18658         (free_emit_status): Likewise.
18659         (free_stmt_status): New function.
18660         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18661         Remove, replacing with ...
18662         (ggc_status): New structure.
18663         (ggc_chain): New variable.
18664         (init_gcc): Define.
18665         (ggc_push_context): New function.
18666         (ggc_pop_context): Likewise.
18667         (ggc_alloc_rtx): Adjust for use of ggc_chain.
18668         (ggc_alloc_rtvec): Likewise.
18669         (ggc_alloc_tree): Likewise.
18670         (ggc_alloc_string): Likewise.
18671         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18672         (ggc_mark_tree): Give language-dependent code a chance to mark
18673         `x' nodes.
18674         (ggc_mark_tree_varray): Handle empty arrays.
18675         (ggc_collect): Adjust for use of ggc_chain.  Clear
18676         bytes_alloced_since_last_gc.
18677         * ggc.h (ggc_pop_context): New function.
18678         (ggc_push_context): Likewise.
18679         * print-tree.c (print_node): Don't print obstacks when GC'ing.
18680         * stmt.c (free_stmt_status): New function.
18681         (init_stmt_for_function): Clear last_expr_value.
18682         * toplev.c (rest_of_compilation): Always call free_after_compilation.
18683         Conditionalize call to ggc_collect.
18684         (main): Call init_ggc.
18685         * tree.c (push_obstacks): Do the push, even when GC'ing.
18686         (push_obstacks_nochange): Likewise.
18687         (pop_obstacks): Liekwise.
18688         * varasm.c (free_varasm_status): Take decl as a parameter.
18689
18690 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18691
18692         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18693         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18694         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18695         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18696
18697 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
18698
18699         * pa/x-pa-mpeix: New file for the MPE port.
18700
18701         * pa/quadlib.asm: New file for long double support.
18702
18703         * configure.in: Add hppa1.0-*-mpeix for MPE port.
18704         * configure: Rebuilt.
18705
18706 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
18707
18708         * final.c (shorten_branches): Fix last change.
18709
18710 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
18711
18712         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18713
18714 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
18715
18716         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
18717         details.
18718
18719 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18720
18721         * c-aux-info.c (concat): Don't define.
18722
18723         * cccp.c (my_strerror): Likewise.  All callers changed to use
18724         xstrerror instead.
18725         (do_include): Call xstrdup, not xmalloc/strcpy.
18726         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18727         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18728
18729         * collect2.c (my_strsignal): Likewise.  All callers changed to use
18730         strsignal instead.
18731         (locatelib): Call xstrdup, not xmalloc/strcpy.
18732
18733         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18734
18735         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18736
18737         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18738
18739         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18740
18741         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18742
18743         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18744
18745         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18746         malloc/realloc.
18747         (find_all_handler_type_matches): Likewise.  Don't check return
18748         value.
18749         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18750         xmalloc, not malloc.
18751         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
18752
18753         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18754         (init_spec): Call xcalloc, not xmalloc/bzero.
18755         (set_spec): Call xstrdup, not save_string.
18756         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18757         (find_a_file): Call xstrdup, not xmalloc/strcpy.
18758         (process_command): Call xstrdup, not save_string.
18759         (main): Call xcalloc, not xmalloc/bzero.
18760
18761         * gcov.c (xmalloc): Don't define.
18762         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18763         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18764         (output_data): Call xcalloc, not xmalloc/bzero.
18765
18766         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18767
18768         * mips-tdump.c (xmalloc): Don't define.
18769         (print_symbol): Call xmalloc, not malloc.
18770         (read_tfile): Call xcalloc, not calloc.
18771
18772         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18773         Don't define.  All callers of xfree/my_strsignal changed to use
18774         free/strsignal instead.
18775         (allocate_cluster): Call xcalloc, not calloc.
18776
18777         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18778         Fix memory leak, free allocated memory.
18779
18780         * prefix.c (translate_name): Call xstrdup, not save_string.
18781         (update_path): Likewise.
18782
18783         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18784
18785         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18786         Don't define.  Callers of xfree/savestring2 changed to use
18787         free/concat instead.
18788
18789         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18790         (init_elim_table): Likewise.
18791
18792         * resource.c (init_resource_info): Likewise.
18793
18794         * stupid.c (stupid_life_analysis): Likewise.
18795
18796         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18797         (open_dump_file): Call concat, not xmalloc/strcpy/...
18798         (clean_dump_file): Likewise.
18799         (compile_file): Call xstrdup, not xmalloc/strcpy.
18800
18801 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
18802
18803         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18804         * v850.c (v850_va_arg): New.
18805
18806 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18807
18808         * haifa-sched.c: Tidy comments.
18809
18810 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18811
18812         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
18813         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
18814         $(out_object_file)): Depend on ggc.h.
18815         * c-common.c: Include "ggc.h".
18816         (combine_strings): If doing GC, use ggc_alloc_string.
18817         * c-decl.c: Include "ggc.h".
18818         (ggc_p): Define with value 0.
18819         (mark_binding_level): New function.
18820         (init_decl_processing): Add GC roots.
18821         (mark_c_function_context): New function.
18822         (lang_mark_false_label_stack): New function.
18823         (lang_mark_tree): New function.
18824         (lang_cleanup_tree): New function.
18825         * c-lang.c: Include "ggc.h".
18826         (lang_init): Call c_parse_init.
18827         * c-lex.c: Include "ggc.h".
18828         (check_linenum): If doing GC, don't copy filenames to permanent
18829         obstack.
18830         * c-parse.in: Include "ggc.h".
18831         (c_parse_init): New function.
18832         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
18833         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
18834
18835         * except.c (mark_eh_state): Mark more state.
18836         * function.c (mark_function_state): Likewise.
18837         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
18838         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
18839         * toplev.c (mark_file_stack): New function.
18840         (compile_file): If doing GC, use ggc_alloc_string on input filename.
18841         (main): Add root for input_file_stack.
18842
18843         * i386.c: Include "ggc.h".
18844         (ix86_mark_machine_status): New function.
18845         (override_options): Set mark_machine_status.
18846
18847 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18848
18849         * tree.c (copy_node): Copy node contents also if doing GC.
18850
18851 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18852
18853         * collect2.c (scan_libraries): Fix double-thinko :-).
18854
18855 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
18856
18857         * collect2.c (scan_libraries): Fix thinko.
18858
18859         * cse.c (delete_trivially_dead_insns): Do not skip the last
18860         insn if it is a real insn.
18861
18862 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
18863
18864         * Makefile.in (ggc-simple.o): Depend on hash.h.
18865         * ggc.h (ggc_add_tree_hash_table_root): Declare.
18866         (ggc_mark_tree_varray): Likewise.
18867         (ggc_mark_tree_hash_table): Likewise.
18868         * ggc-simple.c: Include hash.h.
18869         (ggc_mark_tree_hash_table_ptr): New function.
18870         (ggc_mark_tree_hash_table_entry): Likewise.
18871         (ggc_mark_tree_hash_table): Likewise.
18872         (ggc_add_tree_hash_table_root): Likewise.
18873         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
18874         rtx, when defining fields.
18875
18876 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
18877
18878         * profile.c (output_func_start_profiler): Remove apparently
18879         nonsensical call to start_sequence.
18880
18881 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
18882
18883         * clipper/clipper.c (clipper_va_start): Fix typos.
18884
18885         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
18886         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
18887         (spur_va_arg): New stub.
18888
18889         * configure.in: Comment out pyramid.
18890
18891 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
18892
18893         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
18894         don't conflict with the bits that win32, cygwin, and dgux
18895         defines.
18896
18897 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
18898                           Bernd Schmidt <bernds@cygnus.co.uk>
18899
18900         * integrate.c (function_cannot_inline_p): Do not inline
18901         functions with forced labels.
18902
18903 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
18904                           Bernd Schmidt <bernds@cygnus.co.uk>
18905                           Mark Mitchell  <mark@codesourcery.com>
18906
18907         * Makefile.in (ggc-simple.o): Depend on varray.h.
18908         (rtl.o): Depend on ggc.h.
18909         (genattrtab.o): Depend on ggc.h.
18910         (print-tree.o): Likewise.
18911         (fold-const.o): Likewise.
18912         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
18913         (make_insn_raw): Don't cache insns when GC'ing.
18914         (emit_insn_before): Likewise.
18915         (emit_insn_after): Likewise.
18916         (emit_insn): Likewise.
18917         (start_sequence): Use xmalloc to allocate the sequence_stack.
18918         (end_sequence): Add free to free it.
18919         (gen_sequence): Don't cache insns when GC'ing.
18920         (clear_emit_caches): Don't use sequence_element_free_list.
18921         (init_emit): Use xcalloc, not xmalloc+bzero.
18922         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
18923         * function.c (pop_function_context_from): Use free to free the
18924         fixup_var_refs_queue.
18925         (put_reg_into_stack): Allocate it with xmalloc.
18926         * genattrtab.c: Include ggc.h.
18927         (operate_exp): Don't use obstack_free when GC'ing.
18928         (simplify_cond): Likewise.
18929         (simplify_text_exp): Likewise.
18930         (optimize_attrs): Likewise.
18931         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
18932         GC'ing.
18933         (gencode): Generate a #include for ggc.h.
18934         * ggc-callbacks.c (ggc_p): Define it to zero.
18935         * ggc-none.c (ggc_p): Likewise.
18936         * ggc-simple.c: Include varray.h.
18937         (ggc_mark_tree_varray): New function.
18938         (ggc_add_tree_varray_root): Likewise.
18939         (ggc_mark_tree_varray_ptr): Likewise.
18940         * ggc.h (ggc_p): Declare.
18941         (varray_head_tag): Likewise.
18942         (ggc_add_tree_varray_root): Declare.
18943         * print-tree.c (print_node): Don't check for TREE_PERMANENT
18944         inconsistencies when GC'ing.
18945         * rtl.c: Include ggc.h.
18946         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
18947         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
18948         (rtx_free): Don't call obstack_free when GC'ing.
18949         * toplev.c (rest_of_compilation): Call ggc_collect after every
18950         pass, if GC'ing.
18951         * tree.c (push_obstacks): Do nothing, if GC'ing.
18952         (pop_obstacks_nochange): Likewise.
18953         (pop_obstacks): Likewise.
18954         (make_node): Use ggc_alloc_tree when GC'ing.
18955         (copy_node): Likewise.
18956         (get_identifier): Use ggc_alloc_string when GC'ing.
18957         (build_string): Likewise.
18958         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
18959         (tree_cons): Likewise.
18960         (build1): Likewise.
18961         (type_hash_canon): Don't call obstack_free when GC'ing.
18962
18963 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
18964
18965         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
18966         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
18967
18968 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
18969                           Bernd Schmidt <bernds@cygnus.co.uk>
18970                           Mark Mitchell  <mark@codesourcery.com>
18971
18972         * Makefile.in (stor-layout.o): Depend on ggc.h.
18973         (expr.o): Depend on ggc.h.
18974         (profile.o): Depend on ggc.h.
18975         (stor-layout.o): Depend on ggc.h.
18976         * emit-rtl.c (init_emit_once): Add gc roots.
18977         * expr.c: Include ggc.h.
18978         (emit_block_move): Add gc roots.
18979         (clear_storage): Likewise.
18980         * expr.h (init_stor_layout_once): New function.
18981         * profile.c: Include ggc.h.
18982         (init_arc_profiler): profiler_label is a root.
18983         * scan.c (make_sstring_space): Trust xrealloc to function
18984         correctly with first parameter NULL.
18985         * stor-layout.c: Include ggc.h.
18986         (set_sizetype): Add gc root.
18987         (init_stor_layout_once): New function.
18988         * toplev.c (compile_file): Call it.
18989
18990 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
18991                           Bernd Schmidt <bernds@cygnus.co.uk>
18992                           Mark Mitchell  <mark@codesourcery.com>
18993
18994         * Makefile.in (tree.o): Depend on ggc.h.
18995         (varasm.o): Likewise.
18996         (function.o): Likewise.
18997         (stmt.o): Likewise.
18998         (except.o): Likewise.
18999         (optabs.o): Likewise.
19000         (emit-rtl.o): Likewise.
19001         * emit-rtl.c: Include ggc.h.
19002         (sequence_element_free_list): Remove, and all references.
19003         (mark_sequence): New functions.
19004         (mark_emit_state): New function.
19005         * except.c: Include ggc.h.
19006         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19007         (mark_tree_label_node): New functions.
19008         (mark_eh_state): New function.
19009         * function.c: Include ggc.h.
19010         (mark_temp_slot, mark_function_chain): New functions.
19011         (mark_function_state): New function.
19012         (init_function_once): New function.
19013         * function.h (init_function_once): New function.
19014         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19015         * ggc.h (label_node): Declare.
19016         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19017         (lang_mark_false_label_stack): New function.
19018         (mark_temp_slot): Remove declaration.
19019         (mark_function_chain): Likewise.
19020         (mark_eh_state): Adjust prototype.
19021         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19022         Likewise.
19023         * optabs.c: Include ggc.h.
19024         (mark_optab): New function.
19025         (init_optabs): Add gc roots.
19026         * stmt.c: Include ggc.h.
19027         (mark_cond_nesting, mark_loop_nesting): New functions.
19028         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19029         (mark_stmt_state): New function.
19030         * toplev.c (compile_file): Call init_function_once.
19031         * tree.c: Include ggc.h.
19032         (type_hash): Move declaration earlier in file.
19033         (TYPE_HASH_SIZE, type_hash_table): Likewise.
19034         (init_obstacks): Add gc roots.
19035         (mark_type_hash): New function.
19036         * varasm.c: Include ggc.h.
19037         (mark_pool_constant): New function.
19038         (mark_varasm_state): New function.
19039
19040 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19041
19042         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19043
19044 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19045
19046         * c-decl.c (struct language_function): Renamed from struct c_function.
19047         Delete elt NEXT.
19048         (c_function_chain): Delete.
19049         (push_c_function_context): New arg F.  Don't warn about nested
19050         functions here.  Fill LANGUAGE elt of F.  Delete code to update
19051         c_function_chain.  Don't call push_function_context.
19052         (pop_c_function_context): New arg F.  Restore from there instead of
19053         from c_function_chain.  Don't call pop_function_context.  Clear out
19054         LANGUAGE field of F when done.
19055         * c-lang.c: Include "function.h"
19056         (lang_init): Initialize save_lang_status and restore_lang_status.
19057         * c-parse.in (nested_function, nested_function_notype): Warn about
19058         nested functions.  Call push_function_context/pop_function_context
19059         instead of the _c_ variants.
19060         * c-tree.h (push_c_function_context, pop_c_function_context): Update
19061         prototype.
19062         * Makefile.in (c-lang.o): Update dependencies.
19063
19064         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19065         regno_pointer_flag, regno_pointer_align.
19066         (gen_reg_rtx): Use xrealloc to enlarge them.
19067         (free_emit_status): New function.
19068         * function.c (mark_machine_status, mark_lang_status): New variables.
19069         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
19070         in some bits from assign_stack_local.  All callers changed to use new
19071         name.
19072         (assign_stack_local): Just call assign_stack_local_1.
19073         (free_after_compilation): New function.
19074         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19075         (trampoline_address): Likewise.
19076         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19077         (prepare_function_start): Explicitly clear some more variables.
19078         * function.h (struct function): New elt can_garbage_collect.
19079         (mark_machine_status, mark_lang_status): Declare variables.
19080         (free_after_compilation, free_emit_status, free_varasm_status,
19081         init_varasm_status): Declare functions.
19082         * toplev.c (rest_of_compilation): Call free_after_compilation when
19083         done with the current function.
19084         * varasm.c (free_varasm_status): New function.
19085
19086 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
19087
19088         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19089         (EXPAND_BUILTIN_VA_ARG): Define.
19090         * sparc.c (sparc_va_start): New.
19091         (sparc_va_arg): New.
19092
19093 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19094
19095         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19096
19097 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19098
19099         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19100
19101 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
19102
19103         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19104         (OBJS): Add $(GGC).
19105         (ggc-callbacks.o): New target.
19106         * ggc-callbacks.c: New file.
19107
19108 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19109
19110         * expr.h: Collapse individual optab and libfunc vars to arrays.
19111         (optab_index, libfunc_index): New enumerations.
19112         (optab_table, libfunc_table): New arrays.
19113         Add accessor macros for both.
19114
19115         * optabs.c (optab_table, libfunc_table): New.
19116         Delete declarations for individual optab and libfunc vars.
19117
19118 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
19119
19120         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19121
19122 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
19123
19124         * Makefile.in (GGC, GGC_LIB): New.
19125         (HOST_RTL): Include ggc-none.o.
19126         (ggc-simple.o): New target.
19127         (ggc-none.o): Likewise.
19128         * tree.h (tree_common): Add gc_mark.
19129         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19130         (struct rtvec_def): Add gc_mark.
19131         * emit-rtl.c (global_rtl): Update static initializers to contain
19132         enough initializers.
19133         * ggc.h, ggc-none.c, ggc-simple.c: New files.
19134         * toplev.c (gc_time): New variable.
19135         (all_time): New variable.
19136         (compile_file): Print gc time.
19137         (print_time): Calculate percentage of the whole.
19138
19139 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19140
19141         Change obstack memory management and varasm constant pool handling so
19142         that nested functions are treated like any other functions.
19143         * function.c (init_machine_status): New variable.
19144         (push_function_context_to): Set contains_functions for the outer
19145         function.  Don't call save_varasm_status.
19146         (pop_function_context_from): Don't call restore_varasm_status.  Don't
19147         set current_function_contains_functions.
19148         (prepare_function_start): Call init_varasm_status rather than
19149         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
19150         is non-null.
19151         * function.h (struct function) Add field varasm.  Delete fields
19152         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19153         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19154         (init_machine_status): Declare.
19155         (save_varasm_status, restore_varasm_status): Delete declarations.
19156         (save_tree_status, restore_tree_status): Delete last argument.
19157         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
19158         code.  All callers changed.
19159         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19160         save_constants_in_decl_trees, restore_constants, save_constants,
19161         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19162         functions.
19163         (inlining): New variable.
19164         (reg_map, label_map, insn_map, orig_asm_operands_vector,
19165         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19166         variables.
19167         (save_for_inline_nocopy): Don't save constants.
19168         Don't set inl_emit field in current_function.
19169         (expand_inline_function): Use emit field, not inl_emit, of the inlined
19170         function.  Set new variable inlining before
19171         calling copy_rtx_and_substitute.
19172         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19173         constant pool references if inlining is nonzero.
19174         Delete ADDRESS and (most of the) CONST cases.
19175         (output_inline_function): Save and restore current_function/
19176         current_function_decl.  Delete restore_constants code.  Don't call
19177         init_const_rtx_hash_table.
19178         * output.h (init_const_rtx_hash_table): Don't declare.
19179         * rtl.h (struct function): Declare.
19180         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19181         * toplev.c (rest_of_compilation): Don't treat nested functions or
19182         functions containing them specially.  Delete all code to deal with
19183         save_for_inline_copying.
19184         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19185         inline_obstacks): Delete variables.
19186         (save_tree_status): Lose arg CONTEXT.  All callers changed.
19187         Simply allocate a new function_maybepermanent_obstack for the new
19188         function, delete all the special cases.
19189         Don't save inline_obstacks.
19190         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
19191         Delete special handling for function_maybepermanent_obstack; simply
19192         free it if empty.
19193         Don't restore inline_obstacks.
19194         (permanent_allocation):  Delete code that frees inline_obstacks.
19195         (print_inline_obstack_statistics): Delete function.
19196         (dump_tree_statistics): Don't call it.
19197         * varasm.c (struct varasm_status): New.
19198         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19199         last_pool, pool_offset, const_double_chain): Delete global
19200         variables, replace with accessor macros.
19201         (immed_double_const): Don't walk const_double_chain outside a
19202         function, but don't treat nested functions specially anymore.
19203         (immed_real_const_1): Likewise.
19204         (clear_const_double_mem): Don't treat nested functions specially.
19205         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19206         (save_varasm_status, restore_varasm_status): Delete functions.
19207         (init_varasm_status): New function.
19208         (force_const_mem): Don't treat nested functions specially.
19209         (find_pool_constant): Accept new arg F, search for constants in
19210         that function's pool rather than the current one.  All callers
19211         changed.
19212         (get_pool_constant_for_function, get_pool_mode_for_function): New
19213         functions.
19214
19215         * i386.c (init_386_machine_status): New function, mostly from
19216         clear_386_stack_locals.
19217         (struct machine_functions): Rename element names to avoid name
19218         clashes.
19219         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19220         macros, replacing global variables.
19221         (clear_386_stack_locals, save_386_machine_status,
19222         restore_386_machine_status): Delete functions.
19223         (override_options): Initialize init_machine_status.
19224         * i386.h (INIT_EXPANDERS): Delete macro.
19225         (save_386_machine_status, restore_386_machine_status,
19226         clear_386_stack_locals): Delete declarations.
19227
19228 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19229
19230         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19231         (doloop_begin):  Simplify pattern and use emit_jump_insn.
19232         (doloop_end): Simplify pattern, switch operand order,
19233         and use emit_jump_insn.
19234
19235 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19236
19237         * function.h (struct function): Add new element LANGUAGE.
19238         (save_lang_status): Declare new variable.
19239         (restore_lang_status): Likewise.
19240         * function.c (save_lang_status): Define.
19241         (restore_lang_status): Likewise.
19242         (push_function_context_to): Call language-specific save function.
19243         (pop_function_context_from): Call language-specific restore function.
19244
19245 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19246
19247         * i386.md (movsf_1): Check REG_P before use of REGNO.
19248         (movdf_1): Likewise.
19249         (movxf_1): Likewise.
19250         (extendsfdf2): Likewise.
19251         (extendsfxf2): Likewise.
19252         (extenddfxf2): Likewise.
19253
19254 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19255
19256         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19257         constants into memory.
19258         (c4x_shiftable_constant): New function.
19259         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19260         (c4x_shiftable_constant): Declare.
19261         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19262         ashlqi3_noclobber): Add new patterns and associated splitters.
19263
19264 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
19265
19266         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19267         * dwarf2out.c (dwarf2out_frame_init): Likewise.
19268         * final.c (shorten_branches): Likewise.
19269         * global.c (global_alloc): Likewise.
19270         * haifa-sched.c (build_control_flow): Likewise.
19271         * stmt.c (check_for_full_enumeration_handling): Likewise.
19272         (estimate_case_costs): Likewise.
19273
19274 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
19275
19276         * rtl.h (RTL_CHECKC2): Fix typo in last change.
19277
19278 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
19279
19280         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19281         (recompute_reg_usage): Likewise.
19282         * rtlanal.c (find_regno_fusage): Likewise.
19283
19284         * rtl.c (rtl_check_failed_code1): New function.
19285         (rtl_check_failed_code2): New.
19286         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19287         (RTL_CHECKC1, RTL_CHECKC2): New.
19288         (XC*): New accessor macros.
19289         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19290         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19291         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19292         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19293         (TRAP_*, RANGE_INFO_*): Likewise.
19294
19295 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19296
19297         * Makefile.in (tlink.o): Don't depend on toplev.h.
19298
19299         * collect2.c (c_file, o_file, export_file, import_file, ldout,
19300         output_file, nm_file_name, ldd_file_name, strip_file_name,
19301         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19302         add_prefix, prefix_from_env, prefix_from_string, do_wait,
19303         fork_execute, maybe_unlink, add_to_list,
19304         extract_init_priority, write_list, dump_list,
19305         dump_prefix_list, write_list_with_asm, write_c_file,
19306         write_c_file_stat, write_c_file_glob, scan_prog_file,
19307         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19308         ignore_library, extract_string, notice, dump_file, target_machine,
19309         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19310         read_file, print_load_command): Constify a char*.
19311         (fdopen, error, fatal, fatal_perror): Don't prototype.
19312         (my_strerror): Remove.  All callers use xstrerror instead.
19313         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19314         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
19315         to xcalloc/strcpy/strcat/...  to one call to concat.
19316         (main, scan_prog_file, scan_libraries): Use an intermediate
19317         `const char **' to build an argv array.
19318         (mapfile, libselect, libcompare, locatelib): Add prototypes.
19319
19320         * collect2.h (collect_execute, collect_wait, dump_file,
19321         file_exists): Constify a char*.
19322         (ldout, c_file_name, temporary_obstack, permanent_obstack,
19323         temporary_firstobj, vflag, debug): Add extern declarations.
19324         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19325
19326         * tlink.c: Don't include toplev.h.
19327         (vflag, debug, ldout, c_file_name, temporary_obstack,
19328         permanent_obstack, temporary_firstobj): Don't declare.
19329         (tlink_execute, frob_extension, symbol_hash_lookup,
19330         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19331         recompile_files, read_repo_files, demangle_new_symbols,
19332         scan_linker_output): Constify a char*.
19333         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19334         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19335
19336 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
19337
19338         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19339         (relative) rather than jsr (absolute) subroutine call insns.
19340         * config/m68k/m68k-coff.h: Ditto.
19341
19342 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
19343
19344         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19345         now rework these too.
19346         (arm_reorg): If an insn can't reach the end of the current pool,
19347         ensure that we emit that pool before the insn.
19348
19349 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
19350
19351         * tlink.c (scan_linker_output): Skip the initial underscore in
19352         a mangled name if appropriate.
19353
19354 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19355
19356         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19357         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19358         error_with_ivar, gen_declarator, create_builtin_decl,
19359         my_build_string, generate_descriptor_table, generate_ivars_list,
19360         generate_dispatch_table, check_protocols, TAG_GETCLASS,
19361         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19362         dump_base_name, lang_decode_option, build_encode_expr,
19363         start_class, finish_class, encode_pointer, really_start_method,
19364         gen_declaration, dump_interface, handle_class_ref, handle_impent):
19365         Constify.
19366         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19367         Add static prototypes.
19368         (build_objc_string_decl, build_selector_reference_decl,
19369         encode_bitfield, build_class_reference_decl): Remove unused
19370         parameter, all callers changed.
19371         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19372         (objc_printable_name): Likewise.  Change second parameter to type int.
19373         (init_objc): Use memcpy, not bcopy, to avoid casts.
19374
19375 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
19376
19377         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19378         reg notes on a deleted insn.
19379         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19380
19381 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
19382
19383         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19384
19385 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19386
19387         * stmt.c (expand_asm_operands): Fix index into inout_mode when
19388         reading it.
19389
19390 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
19391
19392         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19393         * tm.texi (MD_ASM_CLOBBERS): Document it.
19394
19395 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
19396
19397         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19398         * except.c (expand_rethrow): Remove unused variable.
19399         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19400         * flow.c (replace_insns): Likewise.
19401         (create_edge_list, verify_edge_list): Likewise.
19402         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19403
19404         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19405         is special code to run.
19406         (main): Don't define operands to emit_operand.
19407         * genrecog.c (main): Don't emit an empty peephole2_insn function.
19408
19409         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19410
19411         * alpha/alpha.h (normal_memory_operand): Declare.
19412         (reg_no_subreg_operand): Declare.
19413         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19414
19415 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
19416
19417         * c-parse.in (compstmt_primary_start): New, broken out of first
19418         part of compstmt handling in primary.
19419         (primary): Use it.  Add an error clause.
19420         (compstmt_nostart): Renamed from compstmt; remove all
19421         initial invocations of compstmt_start.
19422         (compstmt): New.
19423
19424 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
19425
19426         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
19427         needed.
19428
19429 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
19430
19431         * combine.c (simplify_shift_const): Remove extra semicolon.
19432         * dwarf2out.c (remove_AT): Likewise.
19433         * expmed.c (expand_mult): Likewise.
19434         * gcov.c (create_program_flow_graph): Likewise.
19435         * reorg.c (mostly_true_jump): Likewise.
19436
19437 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
19438
19439         * fold-const.c (fold_range_test): Do not try to fold the range
19440         test if the rhs or lhs has side effects.
19441
19442         * combine.c (simplify_rtx): Recognize another case of a synthesized
19443         sign extension.
19444
19445         * varasm.c (mark_constant_pool): When marking indirect references,
19446         only look at SYMBOL_REFs.
19447
19448         * except.c (expand_fixup_region_end): Do not peek at
19449         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19450
19451 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
19452
19453         * flags.h: New variables align_loops, align_loops_log,
19454         align_jumps, align_jumps_log, align_labels, align_labels_log,
19455         align_functions, align_functions_log.
19456         * toplev.c: Define them.
19457         (f_options): Handle -falign-* when they have no argument.
19458         (main): Add logic to set variables for -falign-functions,
19459         -falign-jumps, -falign-labels, -falign-loops.
19460         Make it -fsched-verbose=<n> and -finline-limit=<n>.
19461         (display_help): Change help to match options.
19462         * final.c (LABEL_ALIGN): Default to align_labels_log.
19463         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19464         (LOOP_ALIGN): Default to align_loops_log.
19465         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19466         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19467         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19468         * varasm.c (assemble_start_function): Handle align_functions.
19469
19470         * config/sparc/sparc.h: Don't declare sparc_align_*.
19471         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19472         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19473         sparc.c.
19474         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19475         it's a promise.
19476         * config/sparc/sparc.c: Delete sparc_align_loops,
19477         sparc_align_jumps, sparc_align_funcs and the corresponding string
19478         variables.
19479         (sparc_override_options): Default align_functions on ultrasparc.
19480         Delete -malign-* handling.
19481
19482         * config/mips/mips.c (override_options):  On 64-bit targets,
19483         try to align code to 64-bit boundaries.
19484         (print_operand): New substitution, %~,
19485         which aligns labels to align_labels_log.
19486         * config/mips/mips.md (div_trap_normal): Use %~.
19487         (div_trap_mips16): Likewise.
19488         (abssi): Likewise.
19489         (absdi2): Likewise.
19490         (ffssi2): Likewise.
19491         (ffsdi2): Likewise.
19492         (ashldi3_internal): Likewise.
19493         (ashrdi3_internal): Likewise.
19494         (lshrdi3_internal): Likewise.
19495         (casesi_internal): Likewise.
19496
19497 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
19498
19499         Merge new ia32 backend from the branch!
19500
19501         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19502         See ChangeLog.P2 on new_ia32_branch for details.
19503
19504         * rtl.h (stack_regs_mentioned_p): Delete prototype.
19505         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19506         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19507         * i386/gas.h (ASM_FILE_START): Define.
19508         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19509         for name change of ix86_valid_decl_attribute_p.
19510         (i386_pe_valid_type_attribute_p): Similarly.
19511
19512 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
19513
19514         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19515         to step through CC modes.
19516
19517 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19518
19519         * regmove.c (fixup_match_1): Don't move INSN in front of P if
19520         it would end up in the shadow of a live flags regsiter.
19521
19522 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19523
19524         * reload1.c: Fix many indentation problems.
19525         * reload.c: Likewise.
19526
19527 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
19528
19529         * alias.c (non_local_reference_p): Constify fmt.
19530
19531 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
19532
19533         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19534
19535 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
19536
19537         * cse.c (delete_trivially_dead_insns): Do not delete stores to
19538         the internal_arg_pointer.
19539
19540 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
19541
19542         Merge peephole2 from new_ia32_branch:
19543         * Makefile.in (STAGESTUFF): Add *.peephole2.
19544         (mostlyclean): Likewise.
19545         (recog.o): Depend on resource.h.
19546
19547         * final.c (peephole): Conditionalize decl on HAVE_peephole.
19548         (final_scan_insn): Likewise for the invocation of peephole.
19549         * genconfig.c (main): Look for peephole and peephole2 patterns.
19550         Emit HAVE_peephole* accordingly.
19551         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19552         * flags.h (flag_peephole2): Declare.
19553         * toplev.c: New pass peephole2.  New flag -fpeephole2.
19554
19555         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19556         * gencodes.c (main): Likewise.
19557         * genextract.c (main): Likewise.
19558         * genoutput.c (main): Likewise.
19559         * genemit.c (max_operand_1): Look for the max scratch operand.
19560         (gen_rtx_scratch): New.
19561         (gen_exp): Use it, and pass on new arg subroutine_type.
19562         (gen_expand): Take max scratch into account.
19563         (gen_split): Emit peephole2 functions.
19564         (output_peephole2_scratch): New.
19565         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
19566         * genrecog.c (routine_type): Add PEEPHOLE2.
19567         (IS_SPLIT): New.
19568         (make_insn_sequence): Match outer parallel for peep2.  Discard
19569         top level scratches and dups.
19570         (add_to_sequence): New args insn_type and top.  Update all callers.
19571         Handle toplevel peep2 matching insns.
19572         (write_subroutine): Handle peep2.
19573         (write_tree_1): Likewise.
19574         (write_tree): Likewise.
19575         (main): Likewise.
19576         (change_state): New arg afterward.  Update all callers.
19577         Handle matching separate insns.
19578         * recog.c (recog_next_insn): New.
19579         (peephole2_optimize): New.
19580         * rtl.def (DEFINE_PEEPHOLE2): New.
19581         * resource.c (find_free_register): New argument last_insn.  Use it
19582         to find a register available through the entire span.
19583         * resource.h (find_free_register): Update prototype.
19584
19585 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
19586
19587         * i386.c (output_strlen_unroll): Don't write xops[7]
19588         label if it wasn't set.
19589
19590 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
19591
19592         * cpplib.c (struct directive): Const-ify name pointer and
19593         function pointer prototype.
19594         (validate_else, do_define, do_line, do_include, do_undef,
19595         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19596         do_elif, do_endif, do_sccs, do_assert, do_unassert,
19597         do_warning): Const-ify second arg.
19598         (directive_table): Mark const.  Reorder entries by frequency
19599         of usage, record statistics.
19600
19601 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19602
19603         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19604         bounds- check RTL accesses if --enable-checking.
19605         (RTVEC_ELT): Bounds check if --enable-checking.
19606         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19607         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19608         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19609         GET_NUM_ELEM.
19610         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19611         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
19612
19613         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19614         (NOTE_SOURCE_FILE): Use X0STR.
19615         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19616         MEM_ALIAS_SET): Use X0INT.
19617         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19618         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19619         Use X0EXP.
19620         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19621         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19622         (rtl_check_failed_bounds, rtl_check_failed_type1,
19623         rtl_check_failed_type2, rtvec_check_failed_bounds): New
19624         functions.
19625         (fancy_abort): Fix comment.
19626
19627         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19628         (cse_insn): Decrement LABEL_NUSES for jump target before
19629         deleting jump insn.
19630         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19631         * final.c (alter_subreg): Compute regno before changing x to
19632         REG; set REGNO(x) after changing it.
19633         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19634         notes containing CONST_INTs.
19635         (delete_eh_regions): Use NOTE_EH_HANDLER.
19636         * function.c (put_reg_into_stack): Make reg a MEM before
19637         initializing it.
19638         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
19639         delete insn.
19640         (gen_mem_addressof): Make reg a MEM before initializing it.
19641         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19642         X0WINT.
19643         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19644         deleting an insn, not after.
19645         (block_alloc): Only look at PATTERN(insn) if we have to, and
19646         only if it's format class 'i'.
19647         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19648         CONST_INT before using its INTVAL.
19649         * print-rtl.c (print_rtx): Use X0STR.
19650         * regmove.c (fixup_match_1): Don't look at PATTERN of
19651         non-class-'i' insn chain elements.
19652         * reload.c (loc_mentioned_in_p): Take address of
19653         in->fld[1].rtx directly.
19654         * reload1.c (reload): Change reg to a MEM before initializing
19655         it.
19656         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19657         have no names.
19658         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19659
19660 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
19661
19662         * config/mips/mips.c (machine_dependent_reorg): Force a
19663         barrier to output the local constant pool if a barrier hasn't
19664         been found at a natural point in the instruction stream.
19665
19666 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19667
19668         * c-parse.in (language_string): Constify.
19669
19670         * dwarf2out.c (language_string): Remove declaration.
19671
19672         * dwarfout.c (language_string): Likewise.
19673
19674         * toplev.c (language_string, init_parse, finish_parse): Likewise.
19675
19676         * tree.h (language_string, init_parse, finish_parse): Declare.
19677
19678         * i386/sun386.h (language_string): Remove declaration.
19679
19680         * mips.h (language_string): Likewise.
19681
19682         * nextstep.h (language_string): Likewise.
19683
19684         * nextstep21.h (language_string): Likewise.
19685
19686         * rs6000.c (language_string): Likewise.
19687
19688 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19689
19690         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19691         (getpwd.o): Remove target.
19692
19693         * getpwd.c: Delete file.  Its in libiberty now.
19694
19695         * dbxout.c (getpwd): Don't prototype.
19696         * dwarf2out.c (getpwd): Likewise
19697         * dwarfout.c (getpwd): Likewise
19698         * final.c (getpwd): Likewise.
19699         * protoize.c (getpwd): Likewise.
19700
19701 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19702
19703         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19704
19705 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
19706
19707         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19708         mark_set_resources.
19709
19710 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
19711
19712         * fixinc/Makefile.in (subdir): New.
19713         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19714         (Makefile): New.
19715
19716 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
19717
19718         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19719         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19720         be shared.
19721
19722         * invoke.texi: Fix typo.
19723
19724         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
19725         changed.  Handle autoincrement addressing modes.
19726
19727         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19728         just like we would the virtual incoming args register when
19729         integrating.
19730
19731 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
19732
19733         * rs6000.h (ASM_FILE_START): Specify complete filename, including
19734         path, in .file directive.
19735
19736 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
19737
19738         * gcc.texi (External Bugs): Remove obsolete note about Perl on
19739         SunOS.
19740
19741 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
19742
19743         * stdbool.h: Make the typedef name _Bool, with bool a #defined
19744         alias.
19745
19746 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19747
19748         * tree.c (tree_code_name): Constify a char*.
19749
19750         * tree.h (tree_code_name, decl_printable_name): Likewise.
19751
19752         * function.h (struct function): Likewise.
19753
19754         * toplev.c (decl_name, decl_printable_name): Likewise.
19755
19756         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19757
19758         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19759         (init_objc): Remove function pointer cast.
19760
19761 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
19762
19763         * pa.md (interspace_jump): New pattern.
19764         (builtin_longjmp): New expander.
19765
19766 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
19767
19768         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19769         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19770         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19771
19772 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
19773
19774         * jump.c (delete_prior_computation): Also check calls
19775         to constant functions.  Don't bother checking for a
19776         REG_UNUSED note before adding it.
19777         (delete_computation): Handle multi-word hard registers
19778         when synthesizing missing REG_DEAD notes for a register
19779         which is both set and used by an insn.
19780
19781 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19782
19783         * loop.c (this_loop_info): New variable.
19784         (loop_has_call, loop_has_volatile, loop_has_tablejump,
19785         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19786         All uses updated.
19787         (prescan_loop, strength_reduce): New argument loop_info.  All callers
19788         updated.
19789         (scan_loop): New variable loop_info, initialise to address of
19790         this_loop_info.
19791         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19792         Delete variable loop_has_multiple_exit targets and replace with
19793         field in this_loop_info.
19794         (find_and_verify_loops): Rename this_loop to this_loop_num.
19795         (strength_reduce): Delete loop_iteration_info.  Replace variable
19796         loop_info with function argument of same name.
19797         (insert_bct): Rework test for loop being completely unrolled.
19798
19799         * loop.h (struct loop_info): New fields num, loops_enclosed,
19800         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19801         has_indirect_jump, and cont.  Redefine use of unroll_number.
19802         (loop_unroll_number): Delete.
19803
19804         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19805         field of loop_info.
19806         (loop_iterations): Delete variable vtop and instead use
19807         loop_info->vtop computed in prescan_loop.
19808
19809 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
19810
19811         * fix-header.c (main): Do not pass a null pointer to strcmp.
19812
19813 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
19814
19815         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
19816         filenames.
19817         * configure: Rebuilt.
19818
19819 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
19820
19821         * jump.c (jump_optimize_1): Do not delete assignments to
19822         internal_arg_pointer.
19823         * cse.c (delete_trivially_dead_insns): Always consider a set of
19824         the internal_arg_pointer live.
19825
19826 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
19827
19828         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
19829         (update_life_info) [REG_WAS_0]: Search the original insns rather
19830         than the new insns for the note.  Fix typos finding note_dest.
19831         If no dest found, discard the note rather than abort.
19832         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
19833         (replace_insns): Remove the old insn list after update_life_info
19834         not before.
19835
19836 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
19837
19838         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
19839         sched_analyze_insn.
19840         (sched_analyze_1): Let add_dependence care for not adding dups.
19841         (sched_analyze_2): Likewise.
19842         (add_branch_dependences): Likewise.
19843
19844 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19845
19846         * i386/winnt.c (export_list): New type.
19847         (exports_head): Rename to
19848         (export_head):  this.
19849         (i386_pe_record_exported_symbol): Add is_data flag.
19850         (i386_pe_asm_file_end): Emit directive for exported variables.
19851         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
19852         prototype.
19853         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
19854         (ASM_DECLARE_OBJECT_NAME): Likewise.
19855         (ASM_DECLARE_FUNCTION_NAME): Likewise.
19856         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
19857
19858 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
19859
19860         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
19861
19862         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
19863         operand.
19864
19865 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
19866
19867         * config/openbsd.h: Define SET_ASM_OP.
19868         * tm.texi: cross-reference SET_ASM_OP in the index.
19869
19870 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
19871
19872         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
19873         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
19874         and class_narrowest_mode at compile time.  Kill init_rtl.
19875         Mark rtx_length, mode_class, mode_size, mode_unit_size,
19876         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
19877         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
19878         EXTRA_CC_NAMES.
19879         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
19880         format.
19881         * rtl.h: Declare rtx_length and rtx_format as const.
19882         * machmode.def: Define CC().  Use CC() to define CCmode.  If
19883         EXTRA_CC_MODES is defined, expand it here.
19884         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
19885         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
19886         const.  Kill all references to EXTRA_CC_MODES.
19887
19888         * toplev.c: Don't prototype or call init_rtl.
19889         * optabs.c: Don't call init_mov_optab.
19890         * genemit.c: Don't generate init_mov_optab.  Don't call
19891         init_rtl.
19892         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
19893         here.
19894         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
19895         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
19896         genrecog.c: Don't call init_rtl.
19897
19898         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
19899         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
19900         definition of EXTRA_CC_MODES.
19901
19902         * md.texi: Kill ref to EXTRA_CC_NAMES.
19903         * tm.texi: Document new way to define EXTRA_CC_MODES.
19904
19905         * genrecog.c: Do not look up the name of a define_split.
19906         (Unrelated bugfix.)
19907
19908 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
19909
19910         * config/v850/v850.md: Fix typo introduced by previous delta.
19911
19912 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19913
19914         * gcc.c (fatal): Make definition static to match prototype.
19915
19916 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19917
19918         * combine.c (get_last_value): Don't look for earlier sets if the last
19919         known set is somewhere in between the insns being combined.
19920
19921 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
19922
19923         * configure.in: Don't use shell ! to negate exit codes
19924         * configure: Regenerate
19925
19926 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
19927
19928         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
19929         the fact that ALIGN is measured in bits, not bytes.
19930
19931 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
19932
19933         * errors.c: New file; defines functions error, warning, and
19934         fatal, variables have_error and progname.
19935         * errors.h: New file; prototypes and decls for stuff in errors.c.
19936
19937         * Makefile: Add rules to build errors.o and
19938         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
19939         genopinit, genrecog, genextract, genpeep, genattr, and
19940         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
19941         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
19942         genpeep.o, genattr.o, and genoutput.o.
19943
19944         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
19945         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
19946         define or prototype fatal.  Set progname at beginning of main.
19947         * genoutput.c:  Likewise, and don't define or prototype error
19948         either.
19949
19950         * c-typeck.c (c_expand_start_case): Return immediately if exp
19951         is an ERROR_MARK.
19952         * fold-const.c (operand_equal_p): Return immediately if arg1
19953         or arg0 are ERROR_MARKs.
19954         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
19955         fields of type ERROR_MARK when calculating if the record can
19956         go in a register.
19957
19958 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
19959         with much help from Jeffrey A Law and Richard Henderson
19960
19961         * i386.md: In the 6 insns which call output_fix_trunc,
19962         earlyclobber operands[0].
19963
19964 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
19965
19966         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
19967         creating new registers.
19968
19969 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
19970
19971         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
19972         i386_reg_alloc_order, i386_regparm_string,
19973         i386_align_loops_string, i386_align_jumps_string,
19974         i386_align_funcs_string, i386_preferred_stack_boundary_string,
19975         and i386_branch_cost_string as type "const char *".
19976         * i386.c: Define all above strings as type "const char *".
19977
19978 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
19979
19980         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
19981         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
19982
19983 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19984
19985         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
19986         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
19987
19988 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
19989
19990         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
19991         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
19992         (dwarf2out_line, dwarf2out_finish): Likewise.
19993         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
19994
19995 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19996
19997         * tree.c (lang_unsave_expr_now) : Correct return type.
19998         * tree.h (lang_unsave_expr_now) : Same.
19999
20000 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
20001
20002         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20003         instead of duplicating code.
20004
20005 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20006
20007         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20008
20009 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
20010
20011         * tree.h: fancy_abort always takes three args.
20012         * resource.c: Move include of system.h before toplev.h.
20013
20014 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
20015
20016         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20017         as SYMBOL_REFs.
20018
20019 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
20020
20021         * system.h: Don't redefine abort or trim_filename.
20022         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20023         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20024         whether or not __FUNCTION__ is available.
20025         * tree.h: Duplicate rtl.h's definition of abort, for files
20026         that don't include rtl.h.  Delete all code to perform type
20027         checking with a compiler other than GCC.
20028         * varray.h: Delete all code to perform type checking with a
20029         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
20030         its arguments exactly once, using a statement expression.
20031         Adjust the VARRAY_<type> accessor macros to match.
20032         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20033         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20034         caller's location.  Define fatal_insn and fatal_insn_not_found
20035         as macros that use _fatal_insn and _fatal_insn_not_found.
20036         (fancy_abort, trim_filename): Kill prototypes.
20037
20038         * rtl.c (trim_filename): Move here from toplev.c.
20039         (fancy_abort): New function.
20040         (DIR_SEPARATOR): Provide default definition.
20041         * tree.c (tree_check_failed, tree_class_check_failed): Go
20042         through fancy_abort.
20043         (tree_check, tree_class_check, cst_or_constructor_check,
20044         expr_check): Delete.
20045         * varray.c (varray_check_failed): New function.
20046         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20047         _fatal_insn and _fatal_insn_not_found.  Go through
20048         fancy_abort.
20049         (trim_filename, fancy_abort): Delete.
20050
20051         * builtins.c (expand_builtin_args_info): Report ICE with abort.
20052         * except.c (start_catch_handler): Report ICE with error/abort
20053         combo.
20054         * final.c (output_operand_lossage): Likewise.
20055         * flow.c (verify_flow_info): Likewise.
20056
20057         * gcc.c: Prototype fatal.
20058         * gengenrtl.c: Undef abort after including rtl.h not system.h.
20059         * genattr.c, genattrtab.c, genemit.c, genextract.c,
20060         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20061         Don't define fancy_abort.
20062
20063 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
20064
20065         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20066         canonization.
20067
20068 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
20069
20070         * m88k.h (VERSION_INFO2): Kill.
20071         (VERSION_STRING): Kill.
20072         (TM_RCS_ID): Kill.
20073         (VERSION_INFO1): Tidy.
20074         (TARGET_VERSION): Update.
20075         * m88k/dgux.h (VERSION_INFO2): Kill.
20076         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20077         * m88k/luna.h (VERSION_INFO1): Tidy.
20078         * m88k/sysv4.h (VERSION_INFO1): Likewise.
20079         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20080         (output_file_start): Adjust for death of VERSION_STRING.
20081
20082 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
20083
20084         * cpplib.c (detect_if_not_defined): New function.
20085         (do_if): Use it to detect potential once-only headers.
20086
20087 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
20088
20089         * c-common.c (combine_strings): Always set TREE_CONSTANT.
20090
20091 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20092
20093         * combine.c (nonzero_bits) : Allow single-ly set registers to be
20094         anywere in the function only if they are pseudos and set before
20095         being used (not live at the start of the function).
20096         (num_sign_bit_copies) : Same.
20097         (get_last_value_validate) : Same.
20098         (get_last_value) : Same.
20099
20100 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
20101
20102         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20103         where N and M are constant and N is an integer multiple of M.
20104
20105 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20106
20107         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20108         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20109         sbitmap_union_of_preds): Add prototypes.
20110         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20111         the intersection of successors with the new flow graph structures.
20112         (sbitmap_intersection_of_preds): New function to compute the
20113         intersection of predecessors with the new flow graph structures.
20114         (sbitmap_union_of_succs): New function to compute the union of
20115         successors with the new flow graph structures.
20116         (sbitmap_union_of_preds): New function to compute the union of
20117         predecessors with the new flow graph structures.
20118         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20119         (expr_reaches_here_p): Use edge and basic_block structures instead
20120         of s_preds and s_succs.
20121         (compute_cprop_avinout): Use new sbitmap routines.
20122         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20123         of s_preds and s_succs.
20124         * flow.c (compute_flow_dominators): Compute dominators using
20125         edges and basic blocks instead of s_preds and s_succs.
20126
20127 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20128
20129         * lists.c (unused_insn_list, unused_expr_list): New file for
20130         maintaining various types of lists. New statics for maintaining a
20131         cache of available INSN_LIST and EXPR_LIST nodes.
20132         (free_list): Static function for freeing a list of INSN/EXPR nodes.
20133         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20134         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20135         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20136         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20137         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20138         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20139         (free_INSN_LIST_node): Free an individual INSN_LIST node.
20140         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20141         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20142         (remove_dependence, free_pending_lists): Use new global routines.
20143         (flush_pending_lists, sched_analyze_insn): Use new global routines.
20144         (sched_analyze, compute_block_backward_dependences): Use new routines.
20145         (sched_analyze_1, sched_analyze_2): Use new routines.
20146         (schedule_insns): Use new global routines.
20147         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20148         prototypes.
20149         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20150         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20151         prototypes.
20152         * toplev.c (rest_of_compilation): Initialize node cache.
20153         * Makefile.in (OBJS): Add lists.o to list of object files.
20154         (lists.o): Add dependancies.
20155
20156 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
20157
20158         * config/v850/v850.md: Fix compile time warning messages.
20159         * config/v850/v850.c: Fix compile time warning messages.
20160         * config/v850/v850.h: Fix compile time warning messages.
20161
20162 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20163
20164         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20165         Remove unused prototype for `init_lengths'.
20166
20167 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20168
20169         * calls.c (emit_call_1): Mark parameter `stack_size' with
20170         ATTRIBUTE_UNUSED.
20171         (expand_call): Initialize variable `insn'.
20172         (emit_library_call): Likewise for variable `high_to_save'.
20173         (emit_library_call_value): Likewise.
20174         (store_one_arg): Likewise for variables `lower_bound' and
20175         `upper_bound'.
20176
20177         * combine.c (try_combine): Likewise for variables `i2_code_number'
20178         and `other_code_number'.
20179         (find_split_point): Likewise for variables `pos', `unsignedp' and
20180         `inner'.
20181         (simplify_if_then_else): Likewise for variables `op' and `c1'.
20182         (simplify_and_const_int): Remove unused variable `width'.
20183         (merge_outer_ops): Likewise.
20184
20185         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20186         HOST_WIDE_INT' when comparing against one.
20187         (simplify_relational_operation): Likewise.
20188         (cse_insn): Initialize variables `src_eqv_volatile',
20189         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20190
20191         * final.c (init_final): Constify parameter `filename'.
20192         (final_start_function): Mark parameter `optimize' with
20193         ATTRIBUTE_UNUSED.
20194         (profile_function): Likewise for parameters `first' and `optimize'.
20195         (output_source_line): Likewise for parameter `file'.
20196
20197         * integrate.c (subst_constants): Cast a value to `size_t' when
20198         comparing against one.
20199         (mark_stores): Initialize variable `mode'.  Cast a value to
20200         `size_t' when comparing against one.
20201
20202         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20203
20204         * loop.c (move_movables): Initialize variable `first'.
20205         (strength_reduce): Likewise for variable `increment'.
20206         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
20207         value to `size_t' when comparing against one.
20208         (load_mems): Initialize variable `end_label'.
20209
20210         * output.h (init_final): Constify parameter.
20211
20212         * reload.c (decompose): Initialize variable `base'.
20213
20214         * reload1.c (reload): Likewise for variable `is_scalar'.
20215         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20216         (choose_reload_regs): Initialize variable `mode'.
20217         (emit_reload_insns): Likewise for variable `store_insn'.
20218         (reload_cse_noop_set_p): Mark parameter `insn' with
20219         ATTRIBUTE_UNUSED.
20220         (reload_combine): Initialize variable `set'.
20221
20222         * unroll.c (unroll_loop): Likewise for variable `local_label'.
20223         (copy_loop_body): Cast a value to `size_t' when comparing against
20224         one.
20225
20226         * varasm.c (assemble_variable): Initialize variable `size_tree'.
20227         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20228         (remove_from_pending_weak_list): Mark parameter `name' with
20229         ATTRIBUTE_UNUSED.
20230
20231 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20232
20233         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20234         gcse dump file.
20235
20236 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
20237
20238         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20239         (ASM_DECLARE_FUNCTION_NAME): Define.
20240         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20241         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20242         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20243         not already defined.
20244
20245 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20246
20247         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20248         of n_popped when call/call_value are not defined.
20249
20250 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
20251
20252         * tm.texi: GNU CC -> GCC conversion.
20253         (CC1_SPEC): Indicate it is used for all language front ends.
20254
20255 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
20256
20257         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20258         NOTE_INSN_EH_REGION_END correctly.
20259
20260 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20261                           Jeff Law <law@cygnus.com>
20262
20263         * loop.c (strength_reduce): Automatically unroll loops if the
20264         unrolled loop size is smaller than the rolled loop size.
20265
20266         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20267         and delete comment that code should be rewritten.
20268
20269 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
20270
20271         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20272         as reachable.
20273
20274         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20275
20276 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20277
20278         * fixinc/mkfixinc.sh: Don't fix uwin headers.
20279         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20280         (LINK_SPEC): Add -u _main when building executables.
20281         (ASM_DECLARE_FUNCTION): Update from Cygwin.
20282         (ASM_FILE_END): Use the default for ix86-pe.
20283         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20284
20285 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
20286
20287         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20288         and ASM_CLOSE_PAREN are empty strings.
20289
20290 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
20291                           Geoffrey Keating <geoffk@cygnus.com>
20292
20293         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20294         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20295         (unprotoize.o): Ditto.
20296         (test-protoize-simple): Don't define STD_PROTO_DIR.
20297         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
20298         changes to make 'test-protoize-simple' pass.
20299         (STD_PROTO_DIR): Remove define.
20300         (STANDARD_EXEC_PREFIX): Supply default define.
20301         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20302         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20303         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20304         (GET_ENV_PATH_LIST): New macro.
20305         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20306         (do_processing): Initialize default_syscalls_dir using new
20307         macros.  Use it to initialize syscalls_absolute_filename.
20308
20309 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
20310
20311         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20312         B into a register before emit_conditional_move.
20313
20314 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
20315
20316         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20317         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
20318         multiplicand out of (+ (* a b) (* c d)).
20319
20320 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
20321                           Richard Henderson  <rth@cygnus.com>
20322
20323         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20324         (new_insn_dead_notes): Likewise.
20325         (update_n_sets): Likewise.
20326         (update_flow_info): Move to flow.c, renamed to update_life_info;
20327         extend to handle multiple source insns.
20328         * flow.c: Include resource.h
20329         (unlink_insn_chain): New.
20330         (split_hard_reg_notes): New.
20331         (maybe_add_dead_note): New.
20332         (maybe_add_dead_note_use): New.
20333         (find_insn_with_note): New.
20334         (new_insn_dead_notes): New.
20335         (update_n_sets): New.
20336         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20337         (maybe_remove_dead_notes): New.
20338         (update_life_info): New.
20339         (prepend_reg_notes): New.
20340         (replace_insns): New.
20341         * output.h (update_life_info): Declare.
20342         * recog.c (split_block_insns): Use update_life_info.
20343         * resource.c (find_free_register): Use reg_alloc_order, don't use
20344         fixed regs, make sure the mode is supported, don't use new regs.
20345         (reg_dead_p): New.
20346         * rtl.h (replace_insns): Declare.
20347
20348 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
20349
20350         * expr.c (expand_expr): Cope with COND_EXPRs with one
20351         non-returning branch.
20352
20353 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
20354
20355         * expr.c (store_expr): Always pass down the target, even when not
20356         doing CSE.
20357
20358 1999-08-24  Nick Clifton  <nickc@cygnus.com>
20359
20360         * configure.in: Define target_cpu_default for v850 targets.
20361         * configure: Regenerate
20362
20363         * config/v850/v850.h (TARGET_CPU_generic): Define.
20364         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20365         addresses are 4 byte aligned.
20366
20367         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20368         addresses.
20369
20370 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20371
20372         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
20373         (main): Add prototypes.
20374
20375         * genattrtab.c (substitute_address, write_const_num_delay_slots,
20376         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20377         (write_attr_get): Emit prototypes along with function definition.
20378         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20379         (write_complex_function): Emit static prototype along with
20380         function definition.
20381
20382         * genemit.c (gen_split): Emit prototypes along with function
20383         definition.
20384
20385         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20386         Likewise for predicates and `insn_operand_predicate'.
20387         (process_template): Emit static prototype along with function
20388         definition.
20389
20390         * genrecog.c (make_insn_sequence): Constify a char*.  Add
20391         prototypes for get_split_*().
20392         (write_subroutine): Emit prototypes along with function
20393         definition.
20394
20395 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20396
20397         * gcse.c (find_avail_set): Follow chains of register-register copies.
20398         Use oprs_not_set_p to guarantee that the returned value can be
20399         substituted.
20400         (cprop_insn): Don't verify the return value of find_avail_set with
20401         oprs_not_set_p.
20402
20403         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20404         (cprop_cc0_jump): New function.
20405         (cprop_insn): Break out new function cprop_jump and use it.
20406         Also use cprop_cc0_jump for machines with CC0.
20407         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20408
20409         * tree.h (current_function_calls_setjmp,
20410         current_function_calls_longjmp): Delete declarations.
20411         * dsp16xx.c: Include "function.h".
20412         * elxsi.c: Likewise.
20413         * gmicro.c: Likewise.
20414         * h8300.c: Likewise.
20415         * i370.c: Likewise.
20416         * m32r.c: Likewise.
20417         * mn10200.c: Likewise.
20418         * mn10300.c: Likewise.
20419         * ns32k.c: Likewise.
20420         * spur.c: Likewise.
20421         * v850.c: Likewise.
20422
20423         * rtl.h (rtx_equal_function_value_matters): Declare.
20424         * toplev.c (rtx_equal_function_value_matters): Don't declare.
20425         * cse.c: Likewise.
20426         * function.c: Likewise.
20427         * emit-rtl.c: Likewise.
20428
20429 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
20430
20431         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20432         call.
20433
20434 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20435
20436         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20437         exactly.
20438
20439 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
20440
20441         * cpp.texi: Add a node documenting macro varargs (copied
20442         from extend.texi).
20443
20444 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
20445
20446         * cppspec.c: Put a null pointer at the end of the new argv.
20447
20448 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
20449
20450         * configure.in: Remove code to select/de-select the haifa
20451         scheduler.  Every scheduled port gets haifa now.
20452         * configure: Rebuilt.
20453         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20454         * sched.c Deleted.
20455         * Makefile.in: Corresponding changes.
20456
20457 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20458
20459         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20460         All callers changed.
20461         (prepare_float_lib_cmp): Likewise.
20462         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20463         * expr.h (emit_float_lib_cmp): Delete declaration.
20464         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20465         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20466         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20467         specially.
20468         (cmptf): Now conditional on TARGET_HARD_QUAD.
20469
20470 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
20471
20472         * resource.c (mark_target_live_regs): Use
20473         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20474
20475 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20476
20477         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20478
20479         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20480
20481         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20482
20483 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20484
20485         * rtl.h (rtx_format): Constify a char*.
20486
20487         * rtl.c (rtx_format): Likewise.
20488         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20489         (init_rtl): Use accessor macro, not `rtx_format'.
20490
20491         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20492         char*.
20493
20494         * caller-save.c (mark_referenced_regs): Likewise.
20495
20496         * combine.c (subst, make_compound_operation, known_cond,
20497         gen_rtx_combine, update_table_tick, get_last_value_validate,
20498         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20499
20500         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20501         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20502         count_reg_usage): Likewise.
20503
20504         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20505         Likewise.
20506
20507         * final.c (leaf_renumber_regs_insn): Likewise.
20508
20509         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20510         dump_edge_info, count_reg_references): Likewise.
20511
20512         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20513         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20514         Likewise.
20515
20516         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20517         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20518         add_label_notes): Likewise.
20519
20520         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20521         clear_struct_flag, count_sub_rtxs, count_alternatives,
20522         compares_alternatives_p, contained_in_p, walk_attr_value,
20523         write_expr_attr_cache): Likewise.
20524
20525         * genconfig.c (walk_insn_part): Likewise.
20526
20527         * genemit.c (max_operand_1, gen_exp): Likewise.
20528
20529         * genextract.c (walk_rtx): Likewise.
20530
20531         * genflags.c (num_operands): Likewise.
20532
20533         * genoutput.c (scan_operands): Likewise.
20534
20535         * genpeep.c (match_rtx): Likewise.
20536
20537         * genrecog.c (add_to_sequence): Likewise.
20538
20539         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20540         Likewise.
20541
20542         * integrate.c (save_constants, copy_for_inline,
20543         copy_rtx_and_substitute, subst_constants, restore_constants):
20544         Likewise.
20545
20546         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
20547         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20548
20549         * local-alloc.c (contains_replace_regs, memref_referenced_p):
20550         Likewise.
20551
20552         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20553         add_label_notes, replace_call_address, count_nonfixed_reads,
20554         invariant_p, find_single_use_in_loop, find_mem_givs,
20555         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20556         Likewise.
20557
20558         * print-rtl.c (reg_names, print_rtx): Likewise.
20559
20560         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20561
20562         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20563         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20564         print_blocks): Likewise.
20565
20566         * regclass.c (fix_register, record_address_regs,
20567         reg_scan_mark_refs): Likewise.
20568
20569         * regmove.c (stable_but_for_p): Likewise.
20570
20571         * reload.c (loc_mentioned_in_p, operands_match_p,
20572         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20573         copy_replacements, refers_to_regno_for_reload_p,
20574         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20575         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20576         Likewise.
20577
20578         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20579         delete_address_reloads_1, count_occurrences,
20580         reload_cse_mem_conflict_p, reload_combine_note_use,
20581         add_auto_inc_notes): Likewise.
20582
20583         * resource.c (mark_referenced_resources, mark_set_resources):
20584         Likewise.
20585
20586         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20587         reg_mentioned_p, regs_set_between_p, modified_between_p,
20588         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20589         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20590         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20591         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20592
20593         * sched.c (sched_analyze_2, attach_deaths): Likewise.
20594
20595         * stupid.c (stupid_mark_refs): Likewise.
20596
20597         * unroll.c (remap_split_bivs): Likewise.
20598
20599         * varasm.c (mark_constants): Likewise.
20600
20601         * a29k/a29k.c (uses_local_reg_p): Likewise.
20602
20603         * alpha/alpha.c (summarize_insn): Likewise.
20604
20605         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20606         eliminate_lr2ip): Likewise.
20607
20608         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20609
20610         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20611         reg_mentioned_in_mem): Likewise.
20612
20613         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20614         symbolic_reference_mentioned_p): Likewise.
20615
20616         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20617
20618         * sh/sh.c (regs_used, mark_use): Likewise.
20619
20620         * vax/vax.c (vax_rtx_cost): Likewise.
20621
20622 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20623
20624         * machmode.h (mode_name): Constify a char*.
20625
20626         * rtl.c (mode_name): Likewise.
20627
20628         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20629
20630         * optabs.c (init_libfuncs): Constify a char*.
20631
20632         * print-tree.c (mode_name): Remove redundant declaration.
20633         (print_node): Use accessor macro, not `mode_name'.
20634
20635         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
20636         not `mode_name'.
20637         (new_spill_reg): Constify a char*.
20638
20639         * tree.c (mode_name): Remove redundant declaration.
20640
20641 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20642
20643         * rtl.c (rtx_name): Constify a char*.
20644
20645         * rtl.h (rtx_name, fix_sched_param): Likewise.
20646
20647         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20648         (mypr): Use accessor macro, not `rtx_name'.
20649
20650         * genemit.c (print_code): Constify a char*.
20651
20652         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20653
20654         * genpeep.c (print_code): Constify a char*.
20655
20656         * genrecog.c (print_code): Likewise.
20657
20658         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20659         end_bb): Add static prototype.
20660         (draw_edge): Constify a char*.
20661         (end_bb): Remove unused parameter.
20662
20663         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20664         print_block_visualization): Constify a char*.
20665
20666 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
20667
20668         * c-common.c (c_get_alias_set): Update comment.
20669
20670 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20671
20672         * linux.h (LIB_SPEC): Added.
20673
20674 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20675
20676         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20677
20678 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
20679
20680         * tree.c (expr_check): Fix typo in last change.
20681
20682 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
20683
20684         * rtl.def (NOTE): Change format to "iuu0n".
20685         (ADDR_DIFF_VEC): Change format to "eEee0".
20686         (ADDRESSOF): Change format to "eit".
20687
20688         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20689         (RTVEC_ELT): Change to match.
20690         (XVECEXP): Use XVEC and RTVEC_ELT.
20691         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20692         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20693         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20694         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20695         TRAP_CONDITION, TRAP_CODE): Use XEXP.
20696         (INTVAL): Use XWINT.
20697         (ADDRESSOF_DECL): Use XTREE.
20698         (SET_ADDRESSOF_DECL): Delete.
20699         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20700         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
20701         ifdefed out since 2.6 at least.
20702         (gen_rtvec_vv): Delete prototype.
20703
20704         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20705         not rtunion.
20706         (copy_most_rtx): Handle 't' format letter.
20707         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20708         (gen_rtvec_vv): Delete function.  All callers changed to use
20709         gen_rtvec_v instead.
20710         * print-rtl.c (print_rtx): Move special casing of NOTEs to
20711         the '0' format letter.
20712
20713         * function.c (gen_mem_addressof): Don't use
20714         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20715         instead.
20716         * integrate.c (copy_rtx_and_substitute): Likewise.
20717         Copy 't' slots with XTREE.
20718         (subst_constants): Treat 't' slots like '[swi]' slots.
20719         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20720         * jump.c (rtx_equal_for_thread_p): Likewise.
20721         * rtlanal.c (rtx_equal_p): Likewise.
20722         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20723         only four arguments.
20724         * gengenrtl.c (type_from_format): Provide correct types for
20725         'b' and 't' slots.
20726
20727
20728         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20729         If a recent gcc is in use (always in stage2 and beyond), use
20730         statement expressions, so we don't make a function call unless
20731         the check fails.  Evaluate arguments exactly once.
20732         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20733         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20734         Delete.
20735         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20736         they evaluate their arguments exactly once, irrespective of
20737         the compiler in use.
20738
20739         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20740         is used by the currently-enabled check macros.  This is:
20741         (tree_check_failed, tree_class_check_failed): For gcc.
20742         (tree_check, tree_class_check, cst_or_constructor_check,
20743         expr_check): For other compilers.
20744
20745         * gencheck.c: Do not define any *_CHECK1 macros.
20746
20747 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
20748                           Mark Mitchell <mark@codesourcery.com>
20749
20750         * c-common.c (c_get_alias_set): Fix support for poitners and
20751         references.
20752
20753 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
20754
20755         * alias.c: Include tree.h.
20756         (nonlocal_reference_p, mark_constant_function): New functions.
20757         * flow.c (life_analysis): Call mark_constant_function.
20758         * rtl.h (mark_constant_function): Declare it.
20759
20760 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
20761
20762         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20763         unrecognisable switches.
20764
20765 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20766
20767         * loop.c (recombine_givs): Set ix field after sorting.
20768         (recombine_givs): Remove bogus index / giv lockstep looping.
20769
20770 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20771
20772         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20773         on CODE.
20774         (emit_store_flag_force): Use do_compare_rtx_and_jump.
20775         (do_cmp_and_jump): Formatting fixes.
20776         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20777         do_compare_rtx_and_jump instead of compare_from_rtx.
20778         (do_compare_rtx_and_jump): New function; mostly copied from
20779         compare_from_rtx.
20780         (do_jump_for_compare): Delete.
20781         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20782         MIN_EXPR.
20783         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20784         of compare/do_jump_for_compare pairs.
20785         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20786         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20787         compare_from_rtx/do_jump_for_compare pairs.
20788         (do_jump_by_parts_equality): Likewise.
20789         (do_jump_by_parts_equality_rtx): Likewise.
20790         * expr.h (do_compare_rtx_and_jump): Declare.
20791         * optabs.c (prepare_cmp_insn): New function, contains most of the code
20792         that used to be in emit_cmp_insn.
20793         (cmp_available_p): New function.
20794         (prepare_operand): New function.
20795         (emit_cmp_and_jump_insn_1): New function, contains some code that used
20796         to be in emit_cmp_insn.
20797         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20798         parameters to be pointers; don't emit final compare but modify some of
20799         the values pointed to by the args so the caller can perform the
20800         correct comparison.
20801         (expand_binop): Call emit_store_flag_force with signed forms of
20802         comparison code.
20803         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20804         emit_jump_insn pair.
20805         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20806         emit_cmp_and_jump_insn_1.  Call emit_queue.
20807         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20808         arg.
20809         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20810         jump sets cc0 before deleting it.
20811         * integrate.c (expand_inline_function): Likewise.
20812         * unroll.c (unroll_loop): Similar changes in several places.
20813         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
20814         before deleting it.
20815
20816 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20817
20818         * Makefile.in (insn-recog.o): Update dependencies.
20819         * genrecog.c (main): Make generated file include "function.h".
20820
20821 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
20822
20823         * cse.c (cse_insn): Call never_reached_warning when a jump is
20824         changed to be unconditional.
20825         * flags.h: Declare warn_notreached.
20826         * flow.c (delete_block): Call never_reached_warning when
20827         a block is deleted.
20828         * jump.c (delete_barrier_successors): Call never_reached_warning
20829         when we delete everything after a BARRIER.
20830         (never_reached_warning): New function.
20831         * rtl.h: Declare never_reached_warning.
20832         * toplev.c (warn_notreached): New variable.
20833         (lang_independent_options): Set warn_notreached
20834         when -Wunreachable-code.
20835         (compile_file): We need line numbers for -Wunreachable-code.
20836
20837 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
20838
20839         * haifa-sched.c (insn_unit): Fix typo on out of range test.
20840         * sched.c (insn_unit): Likewise.
20841
20842 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
20843
20844         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
20845
20846 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20847
20848         * flow.c (create_edge_list): Use xmalloc, not malloc.
20849
20850 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
20851
20852         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
20853         C-style comments.  Do not lose the character before double slash.
20854
20855 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20856
20857         * basic-block.h (struct edge_list): Stucture to maintain a vector
20858         of edges.
20859         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
20860          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
20861         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
20862         New function prototypes.
20863         * flow.c (create_edge_list): Function to create an edge list.
20864         (free_edge_list): Discards memory used by an edge list.
20865         (print_edge_list): Debug output showing an edge list.
20866         (verify_edge_list): Internal consistency check for an edge list.
20867         (find_edge_index): Function to find an edge index for a pred and succ.
20868
20869 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
20870
20871         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
20872         hashtable.
20873
20874 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
20875
20876         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
20877
20878 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
20879
20880         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20881
20882 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
20883
20884         * toplev.c (rest_of_compilation): Allow machine dependent
20885         reorganisation pass to place information into the RTL dump
20886         file if it so wishes.
20887
20888 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
20889
20890         * explow.c (hard_function_value): Use VOIDmode instead of
20891         MAX_MACHINE_MODE.
20892         * stmt.c (expand_return): Likewise.
20893         * stor-layout.c (get_best_mode): Likewise.
20894
20895         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
20896         emit call instead of emit_insn call.
20897
20898 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20899
20900         * configure.in: Handle --disable/enable-win32-registry.
20901         * install.texi: Document --disable/enable-win32-registry.
20902         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
20903         (WIN32_REGISTRY_KEY): New macro.
20904         * prefix.c: Use to enable/disable win32-specific code.
20905         (lookup_key): Use versioned key.
20906         * configure: Regenerate.
20907         * config.in: Likewise.
20908
20909 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
20910
20911         * cpplib.c (read_line_number): New fn, split out of...
20912         (do_line): Here.
20913
20914 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20915
20916         tree.c (lang_unsave_expr_now) : New.
20917         (unsave_expr_now): Call lang_unsave_expr_now.
20918         tree.h (lang_unsave_expr_now) : New.
20919
20920 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
20921
20922         * toplev.c (flag_new_exceptions): On by default.
20923
20924 1999-08-13  Michael Meissner  <meissner@cygnus.com>
20925
20926         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
20927
20928 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20929
20930         * dwarfout.c (fundamental_type_code): Return FT_boolean for
20931         INTEGER_TYPE with precision==1, it's __java_boolean.
20932
20933 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20934
20935         * global.c (prune_preferences): Move some invariants out of the
20936         inner loop.
20937
20938 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
20939
20940         * configure.in (alpha*-dec-osf*): Add osf5.
20941
20942 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
20943
20944         * configure.in: Rework handling of ARM GNU/Linux slightly.
20945         (arm*-*-linux-gnuoldld): New target.
20946         * configure: Regenerate.
20947         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
20948         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
20949         * config/arm/linux-oldld.h: New file.
20950         * config/arm/linux-elf26.h: Don't include linux-elf.h.
20951         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
20952         Don't define.
20953         * config/arm/linux-elf.h (ASM_SPEC): Define.
20954         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
20955         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
20956         for 26-bit APCS and old linker.
20957         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
20958         `arm_elf'.
20959         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
20960         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
20961         don't define `arm' or `arm_elf'.
20962         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
20963         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
20964
20965 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
20966
20967         * rtl.texi: Fix typo.
20968
20969 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
20970
20971         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
20972
20973 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
20974
20975         * extend.texi (C++ Signatures): Remove node.
20976         * invoke.texi: Remove discussion of -fhandle-signatures,
20977         signature, sigof, __signature__, and __sigof__.
20978
20979 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
20980
20981         * Makefile.in (JAVAGC): Removed.
20982
20983 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20984
20985         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20986
20987 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
20988
20989         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
20990
20991 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
20992
20993         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
20994         a register that is already known to be a pointer.
20995
20996 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
20997
20998         * fixinc/inclhack.tpl: Only install assert.h conditionally.
20999         * fixinc/inclhack.sh: Regenerated.
21000         * fixinc/fixincl.sh: Regenerated.
21001
21002 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
21003
21004         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21005         Fix documentation of -ansi flag to describe its C++ behavior.
21006         Remove bogus reference to GCC 2.9.
21007
21008 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
21009
21010         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21011         note if it is non-NULL.
21012
21013 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21014
21015         * except.h (eh_nesting_info): Add new structure defintion.
21016         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21017         (reachable_handlers, update_rethrow_references): Add function
21018         prototypes.
21019         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
21020         a rethrow symbol instead of an integer exception region number.
21021         * flow.c (Make_edges): Use new exception nesting routines to determine
21022         which handlers are reachable from a CALL or asynchronous insn.
21023         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21024         goto receivers.
21025         (delete_eh_regions): Update rethrow labels, and don't delete
21026         regions which are the target of a rethrow.
21027         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21028         avoid overloading the SYMBOL_REF_USED flag.
21029         (rethrow_symbol_map): Use new rethrow_ref field.
21030         (rethrow_used): Use new rethrow_ref field.
21031         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21032         of an integer.  Fix formatting.
21033         (output_exception_table_entry): Use new rethrow_ref field.
21034         (can_throw): Check for EH_REGION_NOTE before deciding
21035         whether a CALL can throw or not.
21036         (scan_region): Call rethrow_used() instead of accessing data structure.
21037         (update_rethrow_references): New function to make sure only regions
21038         which are still targets of a rethrow are flagged as such.
21039         (process_nestinfo): New static function to initialize a handler
21040         list for a specific region.
21041         (init_eh_nesting_info): New function to allocate and initialize
21042         the list of all EH handlers reachable from all regions.
21043         (reachable_handlers): New function to retrieve the list of handlers
21044         reachable from a specific region and insn.
21045         (free_eh_nesting_info): New function to dispose of a list of
21046         reachable handlers.
21047
21048 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21049
21050         * flow.c (split_edge): Set JUMP_LABEL field.
21051         (commit_one_edge_insertion): Set head correctly for insert_before.
21052         When inserting insns, update insn block numbers if allocated.
21053
21054 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21055
21056         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21057         retry_incomplete_types): Add static prototype.
21058         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21059         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21060         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21061         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21062         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21063         Constify a char*.
21064
21065         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21066         dwarf2out_start_source_file, dwarf2out_line): Likewise.
21067
21068 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21069
21070         * output.h (assemble_name): Constify a char*.
21071
21072         * varasm.c (UNIQUE_SECTION, assemble_start_function,
21073         assemble_variable, assemble_name): Likewise.
21074
21075         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21076
21077         * arm/pe.c (arm_pe_unique_section): Likewise.
21078
21079         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21080
21081         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21082
21083         * i386/interix.c (i386_pe_unique_section): Likewise.
21084
21085         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21086
21087         * i386/winnt.c (i386_pe_unique_section): Likewise.
21088
21089         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21090
21091         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21092
21093         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21094
21095         * pa/pa.c (output_call): Likewise.
21096
21097         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21098
21099         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21100
21101         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21102         Likewise.
21103
21104         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21105         Likewise.
21106
21107         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21108
21109         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21110         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21111
21112         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21113
21114 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21115
21116         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21117
21118 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21119
21120         * tree.h (lang_identify): Constify a char*.
21121         (print_error_function): Add extern prototype.  Constify a char*.
21122
21123         * c-lang.c (lang_identify): Constify a char*.
21124
21125         * objc/objc-act.c (lang_identify): Constify a char*.
21126
21127 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21128
21129         * genpeep.c (main): Make generated file include "function.h".
21130         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21131
21132 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21133
21134         * Makefile.in: Update dependencies.
21135         * alias.c: Include "function.h"
21136         * c-decl.c: Likewise.
21137         * caller-save.c: Likewise.
21138         * calls.c: Likewise.
21139         * combine.c: Likewise.
21140         * cse.c: Likewise.
21141         * explow.c: Likewise.
21142         * final.c: Likewise.
21143         * global.c: Likewise.
21144         * graph.c: Likewise.
21145         * local-alloc.c: Likewise.
21146         * loop.c: Likewise.
21147         * optabs.c: Likewise.
21148         * profile.c: Likewise.
21149         * recog.c: Likewise.
21150         * regclass.c: Likewise.
21151         * regmove.c: Likewise.
21152         * reload.c: Likewise.
21153         * reorg.c: Likewise.
21154         * resource.c: Likewise.
21155         * sched.c: Likewise.
21156         * stupid.c: Likewise.
21157         * config/1750a/1750a.c: Likewise.
21158         * config/a29k/a29k.c: Likewise.
21159         * config/arc/arc.c: Likewise.
21160         * config/arm/arm.c: Likewise.
21161         * config/arm/thumb.c: Likewise.
21162         * config/c4x/c4x.c: Likewise.
21163         * config/clipper/clipper.c: Likewise.
21164         * config/convex/convex.c: Likewise.
21165         * config/fx80/fx80.c: Likewise.
21166         * config/i860/i860.c: Likewise.
21167         * config/m68k/m68k.c: Likewise.
21168         * config/m88k/m88k.c: Likewise.
21169         * config/mips/mips.c: Likewise.
21170         * config/pdp11/pdp11.c: Likewise.
21171         * config/pyr/pyr.c: Likewise.
21172         * config/romp/romp.c: Likewise.
21173         * config/sh/sh.c: Likewise.
21174         * config/tahoe/tahoe.c: Likewise.
21175         * config/vax/vax.c: Likewise.
21176         * config/we32k/we32k.c: Likewise.
21177         * config/sparc/sparc.c: Include "function.h".
21178         (mem_min_alignment): Test current_function rather than
21179         regno_pointer_align.
21180         * config/pa/pa.c: Likewise.
21181         (compute_frame_size): Delete declaration of
21182         current_function_outgoing_args_size.
21183         * config/arc/arc.h (current_function_varargs): Delete declaration.
21184         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21185         declaration.
21186         * config/i370/i370.h (current_function_outgoing_args_size): Delete
21187         declaration.
21188         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21189         current_function_uses_pic_offset_table.
21190         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21191         of current_function_returns_pointer.
21192         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21193         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21194         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21195         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21196         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21197         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21198         * config/m88k/m88k.c: Include "function.h"
21199         (call_used_regs, current_function_pretend_args_size,
21200         current_function_outgoing_args_size, frame_pointer_needed): Delete
21201         declarations.
21202         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21203         declaration.
21204         * config/mips/mips.h (current_function_calls_alloca): Delete
21205         declaration.
21206         * config/mn10200/mn10200.h (current_function_needs_context,
21207         rtx_equal_function_value_matters): Delete declarations.
21208         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21209         flag_pic): Delete declarations.
21210         * config/pa/pa.h (current_function_pretend_args_size,
21211         current_function_decl): Delete declarations.
21212         * config/pa/som.h (current_function_varargs): Delete declaration.
21213         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21214         declaration.
21215         * config/pyr/pyr.h (current_function_pretend_args_size,
21216         current_function_args_size, current_function_calls_alloca): Delete
21217         declarations.
21218         * config/sh/sh.h (current_function_varargs): Delete declaration.
21219         * config/sparc/sparc.h (current_function_outgoing_args_size,
21220         current_function_calls_alloca, current_function_decl): Delete
21221         declarations.
21222         * config/spur/spur.h (current_function_pretend_args_size,
21223         current_function_calls_alloca): Delete declarations.
21224         * config/v850/v850.c (current_function_outgoing_args_size): Delete
21225         declaration.
21226         * config/vax/vms.h (current_function_name): Delete declaration.
21227         * gcse.c: Include "function.h".
21228         (current_function_name, current_function_calls_setjmp): Delete
21229         declarations.
21230         * haifa-sched.c: Include "function.h".
21231         (forced_labels): Delete declaration.
21232         * jump.c: Likewise.
21233         * reg-stack.c: Likewise.
21234         * reload1.c: Likewise.
21235         * genemit.c (main): Make generated file include function.h.
21236         * genoutput.c (output_prologue): Likewise.
21237
21238         * builtins.c (saveregs_value, apply_args_value): Delete variables.
21239         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21240         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21241         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21242         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
21243         macros for some of them.
21244         (emit_filename, emit_lineno): Delete declarations.
21245         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
21246         regno_pointer_* variables through current_function.
21247         (gen_inline_header_rtx): Delete function.
21248         (save_emit_status): Delete function.
21249         (set_new_last_label_num): New function.
21250         (clear_emit_caches): New function.
21251         (restore_emit_status): Just clear last_labelnum and call
21252         clear_emit_caches.
21253         (get_last_insn_anywhere): Variable sequence_stack is now accessed
21254         through macro seq_stack.
21255         (add_insn_after): Likewise.
21256         (add_insn_before): Likewise.
21257         (remove_insn): Likewise.
21258         (pop_topmost_sequence): Likewise.
21259         (in_sequence_p): Likewise.
21260         (start_sequence_for_rtl_expr): Likewise.
21261         (start_sequence): Likewise, and likewise for
21262         sequence_rtl_expr/seq_rtl_expr.
21263         (push_topmost_sequence): Likewise.
21264         (end_sequence): Likewise.
21265         (init_virtual_regs): Now takes a "struct emit_status *" argument.
21266         All callers changed.  Store into that pointer instead of globals.
21267         (init_emit): Allocate emit elt of current_function.
21268         Changes for sequence_rtl_expr/sequence_stack renaming.
21269         Call clear_emit_caches instead of doing it in-line.
21270         Access regno_pointer_* variables through current_function.
21271         (init_emit_once) Don't clear sequence_stack.
21272
21273         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21274         Delete variables.
21275         (arg_pointer_save_area): Delete declaration.
21276         (finish_expr_for_function): Renamed from init_queue; no longer static.
21277         (init_expr): Don't call init_queue.
21278         (save_expr_status, restore_expr_status): Delete functions.
21279         (expand_expr): Changes to reflect new layout of struct function.
21280         Don't access current_function_check_memory_usage when current_function
21281         is 0.
21282         * expr.h (forced_labels, save_expr_regs, saveregs_value,
21283         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21284         current_function_outgoing_args_size, current_function_arg_offset_rtx,
21285         current_function_uses_const_pool, function_call_count,
21286         current_function_uses_pic_offset_table, nonlocal_labels,
21287         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21288         current_function_check_memory_usage, nonlocal_goto_handler_slots,
21289         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21290         declarations.
21291         (finish_expr_for_function): Declare.
21292         * flags.h (current_function_has_nonlocal_label,
21293         current_function_has_nonlocal_goto, current_function_is_thunk,
21294         current_function_has_computed_jump): Delete declarations.
21295         * flow.c (forced_labels): Delete declaration.
21296         * function.c (current_function_pops_args,
21297         current_function_returns_struct, current_function_returns_pcc_struct,
21298         current_function_needs_context, current_function_calls_setjmp,
21299         current_function_calls_longjmp, current_function_has_nonlocal_label,
21300         current_function_has_nonlocal_goto, current_function_is_thunk,
21301         current_function_has_computed_jump, current_function_calls_alloca,
21302         current_function_contains_functions, current_function_returns_pointer,
21303         current_function_epilogue_delay_list, current_function_args_size,
21304         current_function_pretend_args_size, current_function_arg_offset_rtx,
21305         current_function_outgoing_args_size, current_function_varargs,
21306         current_function_stdarg, current_function_args_info, cleanup_label,
21307         current_function_name, current_function_uses_const_pool,
21308         current_function_instrument_entry_exit, current_function_return_rtx,
21309         current_function_uses_pic_offset_table, nonlocal_labels,
21310         current_function_internal_arg_pointer, current_function_cannot_inline,
21311         current_function_check_memory_usage, function_call_count,
21312         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21313         nonlocal_goto_stack_level, return_label, save_expr_regs,
21314         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21315         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21316         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21317         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21318         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21319         Delete variables.
21320         (push_function_context_to): Don't save them.  Don't call
21321         save_storage_status, save_emit_status or save_expr_status.
21322         (pop_function_context_from): Don't restore them.  Don't call
21323         restore_storage_status or restore_expr_status.
21324         (get_func_frame_size): New function.
21325         (get_frame_size): Use it.
21326         (assign_outer_stack_local): Reflect some member name changes in struct
21327         function.
21328         (put_reg_into_stack): Likewise.
21329         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21330         seq_rtl_expr.
21331         (fixup_var_refs): Likewise.
21332         (fix_lexical_addr): Likewise.
21333         (trampoline_address): Likewise.
21334         (prepare_function_start): Clear field inlinable of current_function.
21335         (init_function_for_compilation): New function.
21336         (expand_dummy_function_end): New function.
21337         (expand_function_end): Call finish_expr_for_function.
21338         * function.h (struct emit_status): New; fields moved here from struct
21339         function and from global variables.  Add accessor macros for some of
21340         the fields.
21341         (struct expr_status): Likewise.
21342         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21343         (struct function): Add fields expr and emit, inlinable, inl_emit,
21344         original_arg_vector, original_decl_initial, inl_last_parm_insn,
21345         inl_max_label_num.  Add many comments.
21346         Add accessor macros for all elts of struct function that no longer
21347         have a global variable.
21348         (cleanup_label, return_label, frame_offset, tail_recursion_label,
21349         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21350         stack_slot_list): Delete declarations.
21351         (get_func_frame_size): Declare.
21352         (save_expr_status, restore_expr_status, save_emit_status,
21353         save_storage_status, restore_storage_status): Delete declarations.
21354         (init_virtual_regs): Declare.
21355         * output.h (current_function_pops_args,
21356         current_function_returns_struct, current_function_returns_pcc_struct,
21357         current_function_needs_context, current_function_calls_setjmp,
21358         current_function_calls_longjmp, current_function_calls_alloca,
21359         current_function_has_nonlocal_label, current_function_varargs,
21360         current_function_has_computed_jump, current_function_returns_pointer,
21361         current_function_contains_functions, current_function_args_size,
21362         current_function_pretend_args_size, current_function_stdarg,
21363         current_function_outgoing_args_size, current_function_args_info,
21364         current_function_name, current_function_return_rtx,
21365         current_function_epilogue_delay_list,
21366         current_function_uses_const_pool, current_function_cannot_inline):
21367         Delete declarations.
21368         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21369         regno_reg_rtx): Delete declaration.
21370         (REGNO_POINTER_FLAG): Delete macro.
21371         * stmt.c (expand_goto): Changes to reflect that some fields in struct
21372         function were renamed.
21373         * stor-layout.c (save_storage_status, restore_storage_status): Delete
21374         functions.
21375         * toplev.c: Include "function.h".
21376         (current_function_decl): Delete declaration.
21377         (compile_file): Call init_dummy_function_start and
21378         expand_dummy_function_end around some initializations that need to
21379         emit rtl.
21380         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21381         Call init_function_for_compilation.
21382         * unroll.c: Include "function.h"
21383         (unroll_loop): Access regno_pointer_* variables through
21384         current_function.
21385
21386         * tree.h (struct tree_decl): Add elt f to saved_insns member.
21387         (DECL_SAVED_INSNS): use it.
21388         (expand_dummy_function_end): Declare.
21389         (init_function_for_compilation): Declare.
21390         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21391         that it's no longer an INLINE_HEADER.
21392         (expand_call): Likewise.
21393         * integrate.c (finish_inline): Delete function.
21394         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21395         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21396         args.  Don't generate an INLINE_HEADER rtx, just return the arg
21397         vector.  All callers changed.
21398         (save_for_inline_copying):  Create a duplicate struct emit_status to
21399         hold the emit state for compiling the current function.  Use this and
21400         the other new fields in struct function that are for integration
21401         instead of an INLINE_HEADER.
21402         Use memcpy instead of bcopy.
21403         Store the current struct function in DECL_SAVED_INSNS of fndecl.
21404         (save_for_inline_nocopy): Similar changes, except no new emit_status
21405         is needed here.
21406         (expand_inline_function): Get information from function structure,
21407         not from an inline header rtx.
21408         (output_inline_function): Lose code to extract the necessary
21409         information from an inline header; simply put back the function
21410         structure into current_function.  Clear its inlinable elt.
21411         * rtl.def (INLINE_HEADER): Delete.
21412         * rtl.h: Delete all accessors for an INLINE_HEADER.
21413         (gen_inline_header_rtx): Delete declaration.
21414         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21415         Delete declarations.
21416         (REGNO_POINTER_ALIGN): Delete.
21417         (clear_emit_caches): Declare.
21418         (set_new_last_label_num): Declare.
21419
21420 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
21421
21422         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21423
21424         * except.c (expand_eh_region_start_for_decl): Always start a new block.
21425         * stmt.c (is_eh_region): Make sure current_function is present, too.
21426
21427 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
21428
21429         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21430         for 64bit PA targets.
21431
21432         * pa.h (SELECT_SECTION): Define.
21433         * som.h (SELECT_SECTION): Delete.
21434
21435 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21436
21437         * alias.c (init_alias_analysis): Wrap call to
21438         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21439
21440 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
21441
21442         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
21443         <sys/asm.h> contains an asm comment with an apostrophe
21444         * fixinc/inclhack.sh:  regen
21445         * fixinc/fixincl.x:  regen
21446
21447 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
21448
21449         * function.c (init_function_start): Clear prologue & epilogue.
21450         (prologue_epilogue_contains): New function.
21451         * alias.c (init_alias_analysis): Use it.
21452         * rtl.h (prologue_epilogue_contains): Declare it.
21453
21454 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
21455
21456         * jump.c (onlyjump_p): New function.
21457         * rtl.h: Declare it.
21458         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21459         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21460
21461 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
21462
21463         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21464         to invert loops.  Simplify block scanning.
21465
21466 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21467
21468         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21469         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21470
21471 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
21472
21473         * config/sparc/liteelf.h: New file to support sparclite-elf target
21474         * config/sparc/t-sp86x: New file to support sparc86x targets
21475         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21476         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21477         * configure.in: Support above target triplets
21478         * configure: Regenerated
21479
21480 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
21481
21482         * fixinc/server.c (server_setup): Do not prefix function used as
21483         parameter with `&'.
21484
21485 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
21486
21487         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21488         Remove fp reg alternatives.
21489
21490 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
21491
21492         * Makefiin (TAROUTOPTS): Kill.
21493         (install-headers-tar): Use "xpf" for tar headerfile extraction
21494         * i370/x-oe (TAROUTOPTS): Delete.
21495         * m68k/x-apollo68 (TAROUTOPTS): Delete.
21496         * m68k/x-hp320 (TAROUTOPTS): Delete.
21497         * m68k/x-hp320g (TAROUTOPTS): Delete.
21498         * gcc.texi: Update bug reporting text.
21499
21500 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21501
21502         * reg-stack.c (change_stack) Fixed problem with negative array index.
21503
21504 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21505
21506         * extend.texi, install.texi: Fix spelling mistakes.
21507
21508         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21509         (s-attrtab); No longer try to use pre-made insn-attrtab file.
21510         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21511         PREMADE_ATTRTAB_MD.
21512         * mips/t-ecoff: Likewise.
21513         * mips/t-elf: Likewise.
21514         * mips/t-mips: Likewise.
21515         * mips/t-osfrose: Likewise.
21516         * mips/t-r3900: Likewise.
21517         * mips/t-svr3: Likewise.
21518         * mips/t-svr4: Likewise.
21519         * mips/t-ultrix: Likewise.
21520
21521         * gcc.texi: Document recommend means to provide software floating
21522         point libraries in libgcc.a
21523
21524 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
21525
21526         * c-lex.c (yylex): We can have a number with no digits.
21527
21528 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
21529
21530         * jump.c (delete_prior_computation): New function, broken
21531         out of delete_computation.  Check for side effects with
21532         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
21533         multi-word hard registers.
21534         (delete_computation): Use it.  Check for side effects with
21535         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
21536         missing REG_DEAD note for a register which is both set and
21537         used by an insn.
21538
21539 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
21540
21541         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21542         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21543         (ASM_FILE_START): Import _mcount with the right type.
21544         (ASM_DECLARE_FUNCTION_NAME): Define.
21545         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21546         * pa.c (output_function_prologue): Always emit the function's label
21547         here.
21548         * pa.h (TEXT_SPACE_P): Define.
21549         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21550         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21551         * som.h (TEXT_SPACE_P): Delete.
21552         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21553         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21554
21555 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
21556
21557         * expr.c (emit_group_load): Allow src to be a CONCAT.
21558
21559 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21560
21561         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21562         (___mulsi3): Use '!' comment character.
21563
21564 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21565
21566         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21567
21568 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
21569
21570         * gcc.c: Update URLs and mail addresses.
21571         * gcc.texi: Likewise.
21572
21573 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
21574
21575         * rs6000.c (current_file_function_operand): Return zero for
21576         weak functions.
21577         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21578         weak symbols.
21579         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21580         for weak symbols.
21581
21582 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
21583
21584         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21585         allocate space in the stack frame for the PIC register.
21586
21587 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
21588
21589         * m68k.md (xordi3, anddi3): These patterns are not available on
21590         the coldfire.
21591
21592 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
21593
21594         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21595         (PUT_REAL): Likewise.
21596
21597 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21598
21599         * final.c (shorten_branches): Don't add an alignment for loops
21600         that have no label inside.
21601
21602 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21603
21604         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21605         prototypes in macro HAVE_cmpstrsi.
21606
21607         * cpplib.c (cpp_get_token): Remove unused label `op3'.
21608
21609         * emit-rtl.c (operand_subword): Remove unused variable
21610         `bits_per_word'.
21611
21612         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21613
21614         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21615
21616 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
21617
21618         * cpphash.c (macroexpand): Delete leading whitespace when arg
21619         is concatenated before.
21620         (unsafe_chars): Correct test for whether + and - can extend a
21621         token.
21622
21623         * cppinit.c (cpp_start_read): Do dependencies for
21624         -include/-imacros files also.
21625
21626         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21627         tokenizing non-directive lines.
21628         (cpp_expand_to_buffer): Temporarily disable no-output mode.
21629         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21630         the input file.
21631
21632 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21633
21634         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21635
21636         * c-lex.c: Sync with C++ frontend.
21637         (linemode): New variable.
21638         (parse_float): imag, conversion_errno, and type are output only.
21639         (yylex): Adjust.  Move initial '.' case into main switch.
21640         Use linemode.
21641         (handle_generic_pragma): Just deal with tokens.
21642         (readescape): Use ISXDIGIT and ISGRAPH.
21643         * c-parse.in: Add END_OF_LINE token.
21644
21645         * c-lex.c (lang_init): Generalize.
21646         (nextchar): Remove.  Replace uses with UNGETC.
21647         (skip_white_space): Handle linemode here.  Optimize for cpplib.
21648         (skip_white_space_on_line): Remove.
21649         (extend_token_buffer_to): New fn.
21650         (extend_token_buffer): Use it.
21651         (read_line_number, check_newline): Just deal with tokens.
21652         (token_getch, token_put_back): New fns.
21653         (yylex): Use them.  More cpplib optimizations.  Simplify.
21654
21655 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21656                           Jason Merrill  <jason@yorick.cygnus.com>
21657
21658         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21659         (consume_string): Make this smart about USE_CPPLIB.
21660         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21661         (yylex): Rewrite to be intelligent about USE_CPPLIB.
21662         Also, clean up cases where we redundantly set token_buffer[0].
21663         (read_line_number): New fn.
21664         (ignore_escape_flag): New variable.
21665
21666 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
21667
21668         * a29k/t-a29kbare: Fix some comments.
21669         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21670         (FPBIT, DPBIT): Define.
21671         * a29k/t-vx29k: Likewise.
21672         * arc/t-arc: Likewise.
21673         * arm/t-arm-elf: Likewise.
21674         * arm/t-bare: Likewise.
21675         * arm/t-pe: Likewise.
21676         * arm/t-pe-thumb: Likewise.
21677         * arm/t-semi: Likewise.
21678         * arm/t-thumb: Likewise.
21679         * arm/t-thumb-elf: Likewise.
21680         * arm/t-thumb-linux: Likewise.
21681         * h8300/t-h8300: Likewise.
21682         * i960/t-i960: Likewise.
21683         * i960/t-vxworks960: Likewise.
21684         * m32r/t-m32r: Likewise.
21685         * mips/t-ecoff: Likewise.
21686         * mips/t-elf: Likewise.
21687         * mips/t-r3900: Likewise.
21688         * pa/t-pro: Likewise.
21689         * rs6000/t-aix43: Likewise.
21690         * rs6000/t-beos: Likewise.
21691         * rs6000/t-newas: Likewise.
21692         * rs6000/t-ppccomm: Likewise.
21693         * rs6000/t-rs6000: Likewise.
21694         * rs6000/t-winnt: Likewise.
21695         * rs6000/t-xnewas: Likewise.
21696         * rs6000/t-xrs6000: Likewise.
21697         * sh/t-sh: Likewise.
21698         * sparc/t-elf: Likewise.
21699         * sparc/t-sparcbare: Likewise.
21700         * sparc/t-sparclite: Likewise.
21701         * sparc/t-splet: Likewise.
21702         * v850/t-v850: Likewise.
21703         * mn10200/t-mn10200: Fix comments.
21704         * mn10300/t-mn10300: Likewise.
21705
21706         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21707         dummy operand.  Allocate a new pseudo for the dummy operand.
21708         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21709
21710         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21711
21712 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
21713
21714         * configure: Rebuilt.
21715         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21716
21717 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
21718
21719         * recog.c (preproces_constraints): Zero recog_op_alt before
21720         processing the constraints.
21721
21722         * arm.c (typedef minipool_node): Renamed from pool_node.
21723         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21724         (add_minipool_constant): New function.
21725         (dump_minipool): New function.
21726         (find_barrier): Remove special case for getting the insn size of
21727         an insn that references the constant pool.
21728         (minipool_fixup): New structure.
21729         (push_minipool_barrier): New function.
21730         (push_minipool_fix): New function.
21731         (note_invalid_constants): New function.
21732         (add_pool_constant, dump_table, fixit, broken_move): Delete.
21733         (arm_reorg): Rewrite code to fix up the constant pool into a
21734         series of mini-pools embedded in the insn stream.
21735         (arm_output_epilogue): New function, made mainly from the body
21736         of output_func_epilogue.
21737         (output_func_epilogue): Move insn generation part of epilogue code
21738         to arm_output_epilogue.
21739         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21740         * arm.md (pool_range): New attribute.
21741         (zero_extendqidi2): Add attribute pool_range.
21742         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21743         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21744         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21745         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21746         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21747         (epilogue): New expand.
21748         (epilogue_insn): New insn.  Call arm_output_epilogue.
21749
21750         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
21751         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21752
21753 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21754
21755         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21756
21757 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21758
21759         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
21760
21761 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
21762
21763         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21764
21765 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
21766
21767         * global.c: Fix comment.
21768
21769 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
21770
21771         * gcc.c (access_check): New static function.
21772         (find_a_file): Use it when searching a directory list.
21773         * collect2.c (find_a_file): Don't accept directories found when
21774         searching a directory list.
21775
21776 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
21777
21778         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21779         function parameters with `&'.
21780         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21781
21782 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21783
21784         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21785         or tidy_fallthru_edge if the last insn in the block is not
21786         an unconditional jump or a simple conditional jump.
21787
21788 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21789
21790         * Makefile.in (c-decl.o): Depends on defaults.h.
21791
21792 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
21793
21794         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21795         PA1.1 and above.
21796         (CLASS_MAX_NREGS): Likewise.
21797
21798 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
21799
21800         * cse.c (cse_insn): Fix dumb thinko in last change.
21801
21802 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21803
21804         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21805         "const char *".
21806
21807 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21808
21809         * dwarf2out.c (add_location_or_const_value_attribute): Correct
21810         test for sizes of passed and declared parameter types.
21811
21812 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21813
21814         * fixincludes: Fix the return type of bsearch, char* -> void*.
21815
21816         * fixinc/inclhack.def: Likewise.
21817
21818 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
21819
21820         * invoke.texi (-fdump-translation-unit): New option.
21821
21822 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
21823
21824         * expr.h (PROMOTE_PROTOTYPES): Move ...
21825         * defaults.h: ... to here.
21826         * c-decl.c: Include defaults.h instead of expr.h.
21827         * c-typeck.c: Include defaults.h.
21828
21829 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
21830
21831         * toplev.h (errorcount): Declare.
21832         (warningcount): Likewise.
21833         (sorrycount): Likewise.
21834         * c-lex.c (errorcount): Don't declare.
21835         * dwarf2out.c (errorcount): Don't declare.
21836
21837 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
21838
21839         * config/libgloss.h: Add a note discouraging use with ELF.
21840         * configure.in: Don't use libgloss.h for ELF targets.
21841         Always use_collect2 on a.out targets.
21842
21843 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
21844
21845         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
21846         (force_to_mode, case ASHIFTRT): Add shiftrt label.
21847
21848 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21849
21850         * loop.c (strength_reduce): When doing biv->giv conversion, update
21851         reg note of NEXT->insn.
21852
21853 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21854
21855         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
21856
21857 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21858
21859         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
21860         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
21861         Ensure expr.h is included.
21862         * c-typecheck.c (convert_arguments): Ditto.
21863
21864         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
21865
21866         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
21867         * config/convex/convex.h: Ditto.
21868         * config/dsp16xx/dsp16xx.h: Ditto.
21869         * config/fx80/fx80.h: Ditto.
21870         * config/gmicro/gmicro.h: Ditto.
21871         * config/i370/i370.h: Ditto.
21872         * config/i386/i386.h: Ditto.
21873         * config/m32r/m32r.h: Ditto.
21874         * config/m68k/m68k.h: Ditto.
21875         * config/m88k/m88k.h: Ditto.
21876         * config/mips/mips.h: Ditto.
21877         * config/pa/pa.h: Ditto.
21878         * config/pyr/pyr.h: Ditto.
21879         * config/tahoe/tahoe.h: Ditto.
21880         * config/we32k/we32k.h: Ditto.
21881
21882         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
21883         based on arch size.
21884
21885         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
21886
21887         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
21888         from comment.
21889
21890         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
21891
21892 1999-08-02  Richard Henderson  <rth@cygnus.com>
21893
21894         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
21895         for the register spill block.
21896         (m32r_va_arg): New.
21897         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
21898         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
21899
21900         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
21901         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
21902         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
21903
21904 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21905
21906         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
21907         MAX_WCHAR_TYPE defined in sparc.h.
21908         * config/sparc/linuxaout.h: Likewise.
21909         * config/sparc/linux64.h: Likewise.
21910         Also default to -mvis if CPU is UltraSPARC.
21911
21912 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21913
21914         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
21915         (RTX_OK_FOR_OLO10): Likewise.
21916         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
21917         %lo(), allow it in addresses...
21918         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
21919         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
21920         does not make sense.
21921         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
21922         (sparc_output_scratch_registers): New function.
21923         (output_function_prologue, sparc_flat_output_function_prologue): Use
21924         it.
21925         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
21926         defined.
21927         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
21928         * configure.in: Add check for .register pseudo-op support in as and
21929         check for offsetable %lo().
21930         * acconfig.h: Add templates for the above checks.
21931         * configure: Regenerate.
21932
21933 1999-08-02  Richard Henderson  <rth@cygnus.com>
21934
21935         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
21936         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
21937         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
21938
21939 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21940
21941         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21942         reg_biv_class.
21943
21944 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
21945
21946         * config/float-sparc.h: New file.
21947         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
21948         sparc-*-linux-gnu and sparc64-*-linux*.
21949
21950 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21951
21952         * rs6000.c (rs6000_va_list): Type is an array.
21953         (rs6000_va_start): Don't doubly adjust for varargs.
21954         (rs6000_va_arg): Evaluate long long GPR adjustment.
21955
21956 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
21957
21958         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
21959         -maix64 and -maix32.
21960         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
21961         LINK_SPEC): Change appropriately.
21962         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
21963         (u_short_cint_operand): Likewise.
21964         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
21965         for 64-bit hosts.
21966         * rs6000/t-aix43 (MULTILIB): Change to -m64.
21967
21968         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
21969
21970 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
21971
21972         * rs6000/rs6000.c (num_insns_constant_wide): Correct
21973         for type promotion.
21974         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
21975         (non_add_cint_operand): Likewise.
21976         (logical_operand): Likewise.
21977         (non_logical_cint_operand): Likewise.
21978         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
21979         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
21980         (rs6000_select_rtx_section): Suppress warning.
21981         (small_data_operand): Suppress warning.
21982         (rs6000_got_register): Suppress warning.
21983         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
21984         type, so `J' is generally the wrong constraint for a SImode value;
21985         use `L' instead.
21986         (andsi3_internal2): Likewise.
21987         (andsi3_internal3): Likewise.
21988         (iorsi3_internal1): Likewise.
21989         (xorsi3_internal1): Likewise.
21990         (movsi): Likewise.
21991         (movsf_softfloat): Likewise.
21992         (scc insns): Likewise.
21993         (movsi+2): Preserve sign bits of SImode constant.
21994         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
21995         (movdf+1): Sign-extend properly.
21996         (movdi_32+1): Sign-extend properly.
21997         (scc insns): Sign-extend properly.
21998
21999         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22000         K, L, and T.
22001
22002 1999-08-02  Richard Henderson  <rth@cygnus.com>
22003
22004         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22005         -mcpu parsing code.
22006         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22007         * alpha.md (all fp insns): Likewise.
22008
22009 1999-08-02  Nick Clifton  <nickc@cygnus.com>
22010
22011         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22012         already defined.
22013
22014 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
22015
22016         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
22017         pic_load_label generator directly.
22018         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
22019         No longer a named pattern.
22020
22021 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
22022
22023         * explow.c (force_reg): Call force_operand if X does not
22024         satisfy general_operand.
22025
22026 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
22027
22028         * fix-header.c (main): When testing for CONTINUED, use string
22029         equality, not pointer equality.
22030
22031 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
22032
22033         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22034
22035 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
22036
22037         * cse.c (cse_insn): Fix loop which deletes insns after a jump
22038         that has become an unconditional jump.
22039
22040         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22041         (output_function_epilogue): Similarly.
22042
22043 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22044
22045         * tree.h (init_dummy_function_start): Declare.
22046
22047 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22048
22049         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22050         last_expr_type, last_expr_value, block_start_count, block_stack,
22051         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22052         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22053         dynamically in stmt elt of struct function for each function.
22054         (struct nesting): Rename function_call_count elt to n_function_calls,
22055         target_temp_slot_level to block_target_temp_slot_level.  All users
22056         changed.
22057         (struct stmt_status): New structure definition.
22058         Add many accessor macros for stmt_status elements which previously
22059         were global variables.
22060         (init_stmt_for_function): Allocate stmt elt for current_function.
22061         Reflect that block_start_count was renamed to
22062         current_block_start_count.
22063         (save_stmt_status, restore_stmt_status): Delete functions.
22064         (preserve_subexpressions_p): Don't access loop_stack when outside
22065         a function.
22066         (expand_start_bindings): Reflect that block_start_count was renamed to
22067         current_block_start_count.
22068         (expand_fixup): Likewise.
22069         (expand_decl): Don't access block_stack when outside a function.
22070         (expand_decl_cleanup): Likewise.
22071         (expand_dcc_cleanup): Likewise.
22072         (expand_dhc_cleanup): Likewise.
22073         (expand_anon_union_decl): Likewise.
22074         (set_file_and_line_for_stmt): New function.
22075         (in_control_zone_p): New function.
22076
22077         * function.h (struct function): Add new elt stmt.
22078         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22079         case_stack, nesting_stack, nesting_depth, block_start_count,
22080         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22081         emit_lineno, goto_fixup_chain.
22082         (save_eh_status, restore_eh_status, save_stmt_status,
22083         restore_stmt_status): Delete declarations.
22084         * function.c (push_function_context_to): Don't call save_stmt_status.
22085         (pop_function_context_to): Don't call restore_stmt_status.
22086         * tree.h (in_control_zone_p): Declare.
22087         * rtl.h (set_file_and_line_for_stmt): Declare.
22088
22089         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22090         call set_file_and_line_for_stmt.
22091
22092 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
22093
22094         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22095         Also update copyright.
22096
22097 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22098
22099         * c-pragma.c: Don't include "except.h".
22100         * emit-rtl.c: Likewise.
22101         * stor-layout.c: Likewise.
22102         * tree.c: Likewise.
22103         * varasm.c: Likewise.
22104
22105         * flow.c: Include "function.h".
22106         * tree.h (init_dummy_function_start): Declare new function.
22107
22108         * except.h (struct eh_status): New structure.
22109         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22110         been included.
22111         (eh_return_stub_label, ehstack, catchstack, ehqueue,
22112         catch_clauses, false_label_stack, caught_return_label_stack,
22113         protect_list, current_function_ehc): Add accessor macros for the
22114         corresponding fields in current_function->eh; delete declarations
22115         for all items that used to be declared here.
22116         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22117         catch_clauses, false_label_stack, caught_return_label_stack,
22118         protect_list, current_function_ehc): Delete variables.
22119         (init_eh_for_function): Allocate current_function->eh.
22120         (save_eh_status, restore_eh_status): Delete functions.
22121
22122         * function.h (struct function): Add fields next_global and eh.
22123         Delete all exception handling related fields.
22124         * function.c (current_function): New variable.
22125         (all_functions): New variable.
22126         (push_function_context_to): Don't allocate a struct function,
22127         use current_function instead.  Call init_dummy_function_start when
22128         outside a function.  Clear current_function before returning.
22129         (pop_function_context_from): Restore current_function.
22130         Don't free the restored struct function.
22131         (prepare_function_start): New function.
22132         (init_dummy_function_start): New function.
22133         (init_function_start): Break out some code into prepare_function_start
22134         and call it here.
22135
22136         * stmt.c (save_stmt_status): Don't call save_eh_status.
22137         (restore_stmt_status): Don't call restore_eh_status.
22138
22139         * Makefile.in: Update dependencies.
22140
22141 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
22142
22143         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22144         of depending on a magic constant value.  Update comments.
22145         (hppa_expand_prologue): Similarly.
22146
22147         * pa.md (reload_indi, reload_outdi): Allow any register for the
22148         original reload register.
22149
22150 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
22151
22152         * cccp.c (print_help): Change marcos to macros.
22153
22154 1999-07-30  Richard Henderson  <rth@cygnus.com>
22155
22156         * c-typeck.c (initializer_constant_valid_p): Move ...
22157         * c-common.c (initializer_constant_valid_p): ... here.  Use
22158         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
22159         of label addresses.
22160         * c-common.h (initializer_constant_valid_p): Declare.
22161         * c-tree.h (initializer_constant_valid_p): Remove.
22162
22163 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
22164
22165         * config/i386/sol2-c1.asm: Align the stack.
22166         * config/i386/sol2-gc1.asm: Likewise.
22167
22168 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
22169
22170         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22171         -Asparclite for sparc86x.
22172         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22173         sparc86x.
22174         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22175
22176 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22177
22178         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22179         the user if using the non-default arch size in BI_ARCH configuration.
22180         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22181
22182         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22183         Fix patterns so that they actually match.
22184         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22185         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22186         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22187         TARGET_HARD_MUL32.
22188         (mulsidi3): Reflect this in the expand.
22189         (smulsi3_highpart): Only on TARGET_ARCH32.
22190         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22191         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22192         (umulsidi3): Reflect this in the expand.
22193         (umulsi3_highpart): Only on TARGET_ARCH32.
22194         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22195         don't require g0 to be zero.
22196         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22197         ({,u}divsi3): New expands.
22198         ({,u}divsi3_sp64): New patterns.
22199         (after lshrdi3_v8plus): Four new patterns to help combiner
22200         optimizing nested mixed mode shifts.
22201
22202         * config/sparc/sparc.c (sparc_override_options): Use deprecated
22203         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22204         speed things up. Don't use them by default on plain v9 in 64bit
22205         mode, according to what SPAMv9 sais.
22206
22207         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22208         top 32 bits of %[og][0-7] in signal handlers.
22209         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22210
22211 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
22212
22213         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22214         (ashlsi3): Corresponding changes.
22215
22216         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22217
22218 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
22219
22220         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22221
22222 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22223
22224         * arm.h (Hint): Delete macro.
22225         Substitute HOST_WIDE_INT for Hint in some prototypes.
22226         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22227
22228 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
22229
22230         * builtins.c (expand_builtin_setjmp): Use force_operand to
22231         make sure that the buffer address is in a suitable form to be
22232         passed to force_reg.
22233
22234 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
22235
22236         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22237         them here.
22238
22239 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
22240
22241         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
22242         proper mode in the condition string.
22243         (icacheflush, dcacheflush): Remove modes from match_operands.
22244
22245         * pa.c (emit_move_sequence): Always convert scratch_reg to the
22246         proper mode before using it.
22247
22248         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22249         pair.
22250
22251         * pa.c (store_reg): Do not call add_high_const generator directly.
22252         (load_reg, set_reg_plus_d): Likewise.
22253         * pa.md (add_high_const): No longer a named pattern.
22254
22255         * pa.c (legitimize_address): Consistently use Pmode rather than
22256         SImode.  Do not call gen_pic2_highpart directly anymore.
22257         * pa.md (pic2_highpart): No longer a named pattern.
22258         (pic2_lo_sum): Similarly.  Reformat to make more readable.
22259
22260         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22261         needed.
22262
22263         * README: Update.
22264
22265 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22266
22267         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22268
22269 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
22270
22271         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
22272         and tag the spill mems.
22273         (hppa_va_start): New.
22274         (hppa_va_arg): New.
22275         * pa.h (EXPAND_BUILTIN_VA_START): New.
22276         (EXPAND_BUILTIN_VA_ARG): New.
22277
22278 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
22279
22280         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22281         and tag the spill mems.
22282         (mn10300_va_start): New.
22283         (mn10300_va_arg): New.
22284         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22285         (EXPAND_BUILTIN_VA_ARG): New.
22286
22287 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
22288
22289         * mn10200.c (mn10200_va_arg): New.
22290         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22291
22292 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
22293
22294         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22295         rather than play with TREE_INT_CST_LOW.
22296
22297 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
22298
22299         * config/arm/telf.h: Include dbxelf.h.
22300         (CPP_PREDEFINES): Only define if not already defined.
22301         (ASM_IDENTIFY_GCC): Likewise.
22302         (SUBTARGET_EXTRA_SECTIONS): Likewise.
22303         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22304         * config/arm/thumb.h (LINK_SPEC): Only define if not already
22305         defined.
22306         (DBX_DEBUGGING_INFO): Don't define.
22307         * config/arm/linux-telf.h: New file.
22308         * config/arm/linux-tgas.h: New file.
22309         * config/arm/t-thumb-linux: New file.
22310         * config/arm/uclinux-elf.h: New file.
22311         * config/arm/uclinux-telf.h: New file.
22312         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22313         thumb-*-uclinux): New targets.
22314         * configure: Regenerate.
22315
22316 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
22317
22318         * pa.md (post_store, pre_load): New expanders.
22319         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22320         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22321         need to directly generate RTL for them.
22322         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22323         changes.
22324
22325 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
22326
22327         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22328         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22329         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22330         (secndary_reload_class): Make TARGET_ELF conditional compile.
22331         (print_operand_address): Similar.
22332         (output_toc): Print all values as hex.
22333         (get_issue_rate): Rearrange and add RS64A and PPC630.
22334         * rs6000.h (processor_type): Add RS64A and PPC630.
22335         (PROCESSOR_POWERPC64): New.
22336         (PROMOTE_MODE): Use word_mode.
22337         (RTX_COSTS): Add RS64A and PPC630.
22338         * rs6000.md (scheduling information): Add lmul and ldiv
22339         representing 64-bit integer multiply and divide.  Add rs64a and
22340         PPC630 information.
22341         (ashldi3): Add support for "rldic" instruction.
22342         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22343
22344 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
22345
22346         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22347         instead of V8 for sparclite86x in cpu_table.
22348
22349 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22350
22351         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22352         output_file_directive.
22353
22354 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
22355
22356         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22357         tree for op1, not the rtl.
22358
22359 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
22360
22361         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22362         to m88k_va_start, leaving only the register spill.
22363         (m88k_build_va_list): New.
22364         (m88k_va_start): New.
22365         (m88k_va_arg): New.
22366         * m88k.h (BUILD_VA_LIST_TYPE): New.
22367         (EXPAND_BUILTIN_VA_START): New.
22368         (EXPAND_BUILTIN_VA_ARG): New.
22369
22370 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
22371
22372         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22373         Rename from expand_builtin_saveregs.
22374         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22375
22376 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
22377
22378         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22379         for the register spill block.
22380         (i960_build_va_list): New.
22381         (i960_va_start): New.
22382         (i960_va_arg): New.
22383         * i960.h (BUILD_VA_LIST_TYPE): New.
22384         (EXPAND_BUILTIN_VA_START): New.
22385         (EXPAND_BUILTIN_VA_ARG): New.
22386         * i960.md (store_multiple): Use change_address on individul mems.
22387
22388 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
22389
22390         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22391         an ARRAY_TYPE.
22392         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22393         (expand_builtin_va_end): Evaluate arg for side effects.
22394         * c-common.c (c_common_nodes_and_builtins): Construct a
22395         va_list_arg_type_node to handle array decomposition to pointer.
22396
22397 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
22398
22399         * except.c (st_dynamic_cleanup): Use force_operand on the
22400         buffer's address.
22401
22402 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
22403
22404         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22405         * c4x.c (c4x_va_arg): New.
22406
22407 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
22408
22409         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22410         has manual_pop set.
22411
22412 1999-07-26  Nathan Sidwell  <nathan@acm.org>
22413
22414         * eh-common.h (__eh_matcher): Prototype correctly.
22415
22416 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
22417
22418         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22419         (TARGET_SINGLE_PIC_BASE): Likewise.
22420         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22421         definitions.
22422         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22423         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22424         (TARGET_OPTIONS): Add -mpic-register=N.
22425         (OUTPUT_INT_ADDR_CONST): New macro.
22426         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22427         LEGITIMATE_PIC_OPERAND_P): Likewise.
22428         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22429         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22430         output_addr_const directly.
22431         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22432         ARM port.
22433         (thumb_pic_register, thumb_pic_register_string): Declare.
22434
22435         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22436         from arm.c.
22437         (label_mentioned_p): New function: Imported from arm.c.
22438         (legitimize_pic_address): New function: Imported from arm.c.
22439         (is_pic):New function: Imported from arm.c.
22440         (thumb_finalize_pic):New function: Imported from arm.c.
22441         (add_constant): Cope with PIC constants.
22442         (fixit): Cope with PIC constants.
22443         (output_return): Do not treat the PIC register as live if
22444         TARGET_SINGLE_PIC_BASE is true.
22445         (thumb_function_prologue): Do not treat the PIC register as live if
22446         TARGET_SINGLE_PIC_BASE is true.
22447         (thumb_expand_prologue): Do not treat the PIC register as live if
22448         TARGET_SINGLE_PIC_BASE is true.
22449         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22450         TARGET_SINGLE_PIC_BASE is true.
22451         (thumb_print_operand): Accept '|'.
22452         (thumb_override_options): Process PIC options.
22453
22454         * config/arm/thumb.md (movsi): Support PIC.
22455         (call_insn): Change "i" constraint to "X".
22456         (call_value_insn): Likewise.
22457         (consttable_4, consttable_8, consttable_end): Set and clear
22458         "making_const_table" as appropriate.
22459         (pic_load_addr, pic_add_dot_plus_four): New insns.
22460
22461         * invoke.texi (Thumb Options): Fix spelling.  Document new
22462         options -msingle-pic-base and -mpic-register=.
22463
22464 1999-07-26  Andrew Haley  <aph@cygnus.com>
22465
22466         * config/m32r/initfini.c (__init): Use a full word immediate for
22467         __fini: this allows it to be placed in any memory region.
22468
22469         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22470         -mmodel=medium.  This is OK for all memory models.
22471
22472 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
22473
22474         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22475         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22476
22477 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
22478
22479         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22480         defined.
22481
22482         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22483
22484 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
22485
22486         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22487         (BUILD_VA_LIST_TYPE): New.
22488         (EXPAND_BUILTIN_VA_START): New.
22489         (EXPAND_BUILTIN_VA_ARG): New.
22490         * i860.c (output_delayed_branch): Disable.
22491         (output_delay_insn): Likewise.
22492         (i860_saveregs): New.
22493         (i860_build_va_list): New.
22494         (i860_va_start): New.
22495         (i860_va_arg): New.
22496         * i860.md: Disable all peepholes using output_delayed_branch.
22497         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22498
22499 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
22500
22501         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22502         (BUILD_VA_LIST_TYPE): New.
22503         (EXPAND_BUILTIN_VA_START): New.
22504         (EXPAND_BUILTIN_VA_ARG): New.
22505         * clipper.c (clipper_builtin_saveregs): Only dump registers.
22506         Return the address of the save area.
22507         (clipper_build_va_list): New.
22508         (clipper_va_start): New.
22509         (clipper_va_arg): New.
22510
22511 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
22512
22513         * arc.h (EXPAND_BUILTIN_VA_START): New.
22514         (EXPAND_BUILTIN_VA_ARG): New.
22515         * arc.c (arc_setup_incoming_varargs): Set alias set of
22516         varargs save area.
22517         (arc_va_start): New.
22518         (arc_va_arg): New.
22519
22520 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
22521
22522         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22523         (BUILD_VA_LIST_TYPE): New.
22524         (EXPAND_BUILTIN_VA_START): New.
22525         (EXPAND_BUILTIN_VA_ARG): New.
22526         * alpha.c (alpha_builtin_saveregs): Delete.
22527         (alpha_build_va_list): New.
22528         (alpha_va_start): New.
22529         (alpha_va_arg): New.
22530
22531 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
22532
22533         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22534         column zero.
22535         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22536         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22537
22538         * gcc.texi: More changes related to list conversion.
22539         * invoke.texi: Likewise.
22540
22541 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
22542
22543         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22544         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22545         (expand_builtin_next_arg): Accept ARGLIST not EXP.
22546         (stabilize_va_list): New function.
22547         (std_expand_builtin_va_start): New function.
22548         (expand_builtin_va_start): New function.
22549         (get_varargs_alias_set): New function.
22550         (std_expand_builtin_va_arg): New function.
22551         (expand_builtin_va_arg): New function.
22552         (expand_builtin_va_end): New function.
22553         (expand_builtin_va_copy): New function.
22554         (expand_builtin): Call them.
22555         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22556         __builtin_{varargs_start,stdarg_start,end,copy}.
22557         (build_va_arg): New function.
22558         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22559         (build_va_arg): Declare.
22560         * c-decl.c (ptr_type_node, va_list_type_node): New.
22561         * c-parse.gperf (__builtin_va_arg): New.
22562         * c-parse.in (VA_ARG): New token.
22563         (unary_expr): Recognize it.
22564         * expr.c (expand_expr): Expand VA_ARG_EXPR.
22565         * expr.h (std_expand_builtin_va_start): Declare.
22566         (std_expand_builtin_va_arg): Declare.
22567         (expand_builtin_va_arg): Declare.
22568         (get_varargs_alias_set): Declare.
22569         * tree.def (VA_ARG_EXPR): New.
22570         * tree.h (BUILT_IN_VARARGS_START): New.
22571         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22572         (ptr_type_node, va_list_type_node): Declare.
22573         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22574         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22575         * m88k.h, m88k.c: Likewise.
22576         * mn10300.h, mn10300.c: Likewise.
22577         * pa.h, pa.c: Likewise.
22578         * rs6000.h, rs6000.c: Likewise.
22579         * sh.h, sh.c: Likewise.
22580         * sparc.h, sparc.c: Likewise.
22581
22582         * emit-rtl.c (operand_subword): Copy alias set.
22583         (change_address): Likewise.
22584
22585 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
22586
22587         * pa.c (compute_frame_size): Scan all the used callee saved registers,
22588         not just the first one.
22589
22590 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
22591
22592         * config/arm/arm.h (TARGET_SWITCHES): Add
22593         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
22594         (TARGET_OPTIONS): Add -mpic-register=.
22595         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22596         (arm_pic_register_string): Declare.
22597         (NEED_PLT_GOT): Delete, replace with ...
22598         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
22599         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22600         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22601         * config/arm/arm.c (arm_override_options): Add new option
22602         -mpic-register=N.
22603         (arm_pic_register_string): New variable.
22604         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22605         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22606         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
22607         (output_return_instruction): Likewise.
22608         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22609         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
22610         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22611
22612         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
22613         mention of -msched-prolog.  Document new options -msingle-pic-base
22614         and -mpic-register=.
22615
22616 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
22617
22618         * haifa-sched.c (reemit_notes): Tidy.
22619         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22620         haifa's routine.
22621
22622 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
22623
22624         * explow.c (trunc_int_for_mode): New function.
22625         (plus_constant_wide): Use it.
22626         * combine.c (simplify_and_const_int): Likewise.
22627         (merge_outer_ops): Likewise.
22628         (simplify_shift_const): Likewise.
22629         * cse.c (simplify_unary_operation): Likewise.
22630         (simplify_binary_operation): Likewise.
22631         * emit-rtl.c (operand_subword): Likewise.
22632         * rtl.h: Declare it.
22633
22634 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22635
22636         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22637         (use NUM_REGS instead of NUM_INTS).
22638
22639 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22640
22641         * builtins.c: New file.
22642         * expr.c (saveregs_value, apply_args_value):  Delete definition,
22643         moved into builtins.c.
22644         (string_constant): No longer static.
22645         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22646         apply_args_size, apply_result_size, result_vector,
22647         expand_builtin_apply_args, expand_builtin_apply,
22648         expand_builtin_return): Delete functions, moved into builtins.c.
22649         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22650         * expr.h (saveregs_value, apply_args_value): Declare variables.
22651         (expand_builtin, string_constant): Declare functions.
22652         * Makefile.in: Update to build builtin.o.
22653
22654 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
22655
22656         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22657         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22658         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22659         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22660         false.
22661         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22662         Define to zero.
22663
22664 1999-07-21  Michael Meissner  <meissner@cygnus.com>
22665
22666         * print-rtl.c (print_rtx): Print the names of the virtual
22667         registers.
22668
22669 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
22670
22671         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22672         introduced in previous delta.
22673
22674 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22675
22676         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22677         to avoid name clash.
22678
22679 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22680
22681         * c-lex.c (yylex) : Correct the test for overflow when lexing
22682         integer literals.
22683
22684 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
22685
22686         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22687         (adjust_priority): Always call ADJUST_PRIORITY.
22688         (schedule_insn): Only put insns into the ready at cost 0.
22689         (schedule_block): Remove redundant initial sort.  Give clock_var
22690         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
22691         is not 0.
22692         * tm.texi (MD_SCHED_REORDER): Update docs.
22693
22694         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
22695         * sparc.c (ultra_reorder_called_this_block): Delete.
22696         (ultrasparc_sched_init): Don't set it.
22697         (ultrasparc_sched_reorder): Don't check it.
22698
22699 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
22700
22701         * rs6000.h (struct rs6000_args): Add sysv_gregno.
22702         * rs6000.c (init_cumulative_args): Init sysv_gregno.
22703         (function_arg_boundary): Align DFmode.
22704         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22705         to get fp reg and stack overflow correct.
22706         (function_arg): Likewise.
22707         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22708         (setup_incoming_varargs): Restructure for ABI_V4; use
22709         function_arg_advance to skip final named argument.
22710         (expand_builtin_saveregs): Properly unskip the last integer arg
22711         when doing varargs.  Adjust overflow location calculation.
22712
22713         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22714         explicitly unsigned.
22715         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22716         (__VA_GP_REGSAVE): Similarly.
22717         (__va_longlong_p): Delete.
22718         (__va_arg_type_violation): New declaration.
22719         (va_arg): Restructure.  Flag promotion errors.  Align double.
22720         TFmode passed by reference.
22721
22722         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22723         in the HOST_BITS_PER_WIDE_INT > 32 case.
22724
22725 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22726
22727         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22728
22729 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
22730
22731         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22732         * toplev.c (documented_lang_options): Add -fpreprocessed.
22733         * cpplib.h (struct cpp_buffer): Add preprocessed.
22734         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22735         (cpp_start_read): Don't expand macros or emit an initial #line
22736         directive if -fpreprocessed.
22737
22738 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22739
22740         * cpplib.h (struct cpp_buffer): Added manual_pop for
22741         better C++ tokenization.
22742         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22743         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22744         * c-common.c (cpp_token): Make non-static.
22745
22746 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22747
22748         * c-common.h: New file.
22749         * c-common.c (permanent_obstack): Delete unused declaration.
22750         (c_global_trees): New array.
22751         (c_common_nodes_and_builtins): New function; split off common code
22752         from init_decl_processing in both c-decl.c and cp/decl.c.
22753         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22754         c_global_trees and accessor macros defined in c-common.h.
22755         Include c-common.h.
22756         * c-decl.c: Delete definitions for tree nodes that were replaced by
22757         c_global_trees.
22758         (init_decl_processing): Build void_list_node.
22759         Call c_common_nodes_and_builtins; delete code to generate the common
22760         builtins here.
22761         * objc/objc-act.c (build_module_descriptor): Rename variable
22762         void_list_node to avoid clash with c-common.h.
22763
22764         * Makefile.in: Update dependencies.
22765         * objc/Make-lang.in: Likewise.
22766
22767 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
22768
22769         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22770         (UNIQUE_SECTION_P): Likewise.
22771         (UNIQUE_SECTION): Likewise.
22772
22773 1999-07-19  Linas Vepstas  <linas@linas.org>
22774
22775         * config/i370/README: New file.
22776         * config/i370/linux.h: New file.
22777         * config/i370/mvs.h: New file.
22778         * config/i370/oe.h: New file.
22779         * config/i370/t-linux: New file.
22780         * config/i370/t-mvs: New file.
22781         * config/i370/t-oe: New file.
22782         * config/i370/x-oe: New file.
22783         * config/i370/xm-linux.h: New file.
22784         * config/i370/xm-mvs.h: New file.
22785         * config/i370/xm-oe.h: New file.
22786
22787         * i370.c (label_node_t): Add first_ref_page, label_addr,
22788         label_first_ref, label_last_ref members.
22789         (mvs_need_base_reload): Renamed from mvs_label_emitted.
22790         (MAX_MVS_LABEL_SIZE): Define.
22791         (MAX_LONG_LABEL_SIZE): Define.
22792         (alias_node_t, alias_anchor, alias_number): New.
22793         (mvs_function_table): Reorder for EBCDIC.
22794         (ascebc, ebcasc): Unconditionally define.
22795         (i370_branch_dest, i370_branch_length): New functions.
22796         (i370_short_branch, i370_label_scan): New functions.
22797         (mvs_get_label): Renamed from mvs_add_label.  Search for
22798         an existing label before creating a new one.
22799         (mvs_add_label): New function.
22800         (mvs_get_label_page): New function.
22801         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
22802         over the entire list.
22803         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22804         (mvs_check_page) [TARGET_ELF_ABI]: New function.
22805         (mvs_add_alias, mvs_need_alias): New functions.
22806         (mvs_get_alias, mvs_check_alias): New functions.
22807         (handle_pragma): New function.
22808         (mvs_function_check): New function.
22809         (unsigned_jump_follows_p): Search harder.
22810         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
22811         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
22812         * i370.h (TARGET_VERSION): Delete.
22813         (CPP_SPEC, CPP_PREDEFINES): Delete.
22814         (mvs_label_emitted): Delete.
22815         (TARGET_EBCDIC): Delete.
22816         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
22817         (HANDLE_PRAGMA): Define.
22818         (HARD_REGNO_NREGS): Handle complex modes.
22819         (HARD_REGNO_MODE_OK): Likewise.
22820         (CLASS_MAX_NREGS): Likewise.
22821         (RET_REG): Likewise.
22822         (EXTRA_CONSTRAINT): Define.
22823         (RETURN_IN_MEMORY): True for DImode.
22824         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
22825         (FUNCTION_PROFILER): Delete.
22826         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
22827         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
22828         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
22829         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
22830         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
22831         (ASM_FILE_START): Add "RMODE ANY".
22832         (ASM_OUTPUT_EXTERNAL): Check for aliases.
22833         (ASM_GLOBALIZE_LABEL): Likewise.
22834         (ASM_OUTPUT_LABELREF): Likewise.
22835         (ASM_OUTPUT_COMMON): Likewise.
22836         (PRINT_OPERAND): Handle 'K', 'W', default.
22837         (PRINT_OPERAND_ADDRESS): New.
22838         (Lots of defines): Add support for TARGET_ELF_ABI.
22839         * i370.md (attr length): New.  Define for all patterns.
22840         (*): Lots of tweeks to assembly output and constraints.
22841
22842 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
22843
22844         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
22845         Disable patterns performing SImode comparisons with SImode values
22846         if TARGET_POWERPC64 and instruction does not sign-extend or does
22847         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
22848         differ for signed quantities.
22849         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
22850         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
22851         (decrement_and_branch_on_count): Add 64-bit variant.
22852
22853 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22854
22855         * final.c (output_asm_insn): When searching for the matching string
22856         for a given dialect, don't run past the end of the list of
22857         alternatives if there are fewer alternatives in the template than
22858         dialects.
22859
22860 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
22861
22862         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
22863         Removed paragraph about compression of files and size limitation,
22864         duplicated in the FAQ.  Use gcc-patches for posting patches.
22865         * gcc.c (main): Updated URL with bug reporting instructions to
22866         gcc.gnu.org.  Removed e-mail address.
22867         * system.h (abort): Likewise.
22868
22869 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22870
22871         * Makefile.in (stmp-multilib-sub): Make the files extracted
22872         from $(LIBGCC1) writable.
22873
22874 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
22875
22876         * config/arm/aout.h: Reformat for improved readability.
22877
22878         * config/arm/arm.h: Reformat for improved readability.
22879         Replace uses of fprintf with asm_fprintf where appropriate.
22880         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
22881         function declaration assembler actions.
22882         (NUM_INTS): New macro: Convert from bytes to words.
22883         (NUM_REGS): New macro: Compute number of registers required to
22884         hold a quanitity of tyep MODE.
22885         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
22886         types.
22887         (NUM_ARG_REGS): New macro: The number of argument registers
22888         available.
22889         (ARG_REGISTER): New macro: Compute the register number of the Nth
22890         argument register.
22891         (LAST_ARG_REGNUM): New macro: The number of the last argument
22892         register.
22893         (SP_REGNUM): New macro: Register number of the stack pointer.
22894         (FP_REGNUM): New macro: Register number of the frame pointer.
22895         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
22896         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
22897         CUMULATIVE_ARGS so that it counts registers not bytes.
22898
22899         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
22900         TARGET_INTERWORK.
22901         Replace uses of fprintf with asm_fprintf where appropriate.
22902         (output_ascii_pseudo_op): Replace with version from thumb.c
22903
22904         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
22905
22906         * config/arm/elf.h (CPP_PREDEFINES): Replace with
22907         SUBTARGET_CPP_SPEC.
22908         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
22909         (ASM_FILE_START): Emit ASM_APP_OFF.
22910
22911 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
22912
22913         * pa.c (compute_frame_size): Round frame according to
22914         STACK_BOUNDARY rather than a hardwired value.
22915
22916         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
22917
22918         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
22919         of "1".
22920         * configure: Rebuilt.
22921
22922         * configure.in (hppa*-*-linux*): New configuration.
22923         * configure: Rebuilt.
22924         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
22925         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
22926         * pa/pa-linux.h: New file.
22927         * pa/t-linux: New file.
22928         * pa/xm-linux.h: New file.
22929
22930         * pa.c (hppa_legitimize_address): Change references from SImode to
22931         either Pmode or word_mode as appropriate.
22932         (emit_move_sequence, store_reg, load_reg): Likewise.
22933         (set_reg_plus_d, hppa_expand_prologue): Likewise.
22934         (output_mul_insn): Likewise.
22935         * pa.h (PROMOTE_MODE): Likewise.
22936         (INITIALZE_TRAMPOLINE): Likewise.
22937         (Pmode): Define to word_mode.
22938
22939         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
22940         value of 4.  Allocate 8 bytes for each FP register save.
22941         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
22942         value of 4.
22943         (hppa_expand_prologue): Likewise.
22944         * pa.h (PROMOTE_MODE): Likewise.
22945         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
22946         (FUNCTION_ARG_BOUNDARY): Likewise.
22947
22948         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
22949
22950         * pa.c (out_of_line_prologue_epilogue): Delete.
22951         (override_options): Remove -mspace related code.
22952         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
22953         (compute_frame_size): Only allocate space for register that
22954         actually need to be saved.
22955         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
22956         (TARGET_SWITCHES): Remove -mspace, -mno-space
22957         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
22958         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
22959         * pa/ee.asm, pa/ee_fp.asm: Delete.
22960
22961         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
22962
22963         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
22964         directive in column zero.
22965
22966 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
22967
22968         * m68k.c (output_function_prologue): Fix computation of save mask
22969         when generating PIC code.
22970
22971 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
22972
22973         * tree.c (build_type_attribute_variant): Move current_obstack restore
22974         after build_qualified_type call.
22975
22976 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
22977
22978         * configure.in: Use t-iris6, even with GNU LD.
22979         * config/mips/iris6gld.h: Fix typo in linker spec.
22980         * config/mips/t-iris6gld: Remove.
22981
22982 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
22983
22984         * rs6000.md (insv, extzv): Remove SImode dependence in named
22985         patterns.  Explicitly generate DImode RTL if PowerPC64 and
22986         operand is DImode.
22987         (insvdi): Reverse start and size in instruction template.
22988
22989 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
22990
22991         * invoke.texi: Typo fixes.
22992
22993 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
22994
22995         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
22996         handle at this time instead of silently generating incorrect code.
22997         (gen_imagpart): Likewise.
22998
22999         * reload.c (find_reloads): Emit a USE for a pseudo register without
23000         a hard register if we could not create an optional reload for the
23001         pseudo.
23002
23003 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23004
23005         * c-typeck.c (output_init_element, process_init_element):
23006         When advancing constructor_unfilled_fields for a RECORD_TYPE,
23007         check for nameless bit fields.
23008
23009 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
23010
23011         * regclass.c (scan_one_insn): Notice subregs that change the
23012         size of their operand.
23013         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23014
23015 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
23016
23017         * configure.in (alpha*-*-*): Include alpha/t-ieee.
23018         * configure: Rebuilt.
23019         * alpha/t-ieee: New file.
23020
23021 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
23022
23023         * rs6000.c (find_addr_reg): Do not select r0 as an address
23024         register.
23025
23026 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
23027
23028         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23029
23030 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
23031
23032         * rs6000.md (movsf): Do not force easy FP constants into memory.
23033
23034         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23035         immed_double_const to ensure they are properly truncated then
23036         sign extended.
23037
23038 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23039
23040         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23041         always unless NO_DEBUG is used.  Compile this code
23042         unconditionally.
23043         (replace_symbols_in_block): Compile it unconditionally.
23044
23045 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
23046
23047         * configure.in (i?86-*-elf*): New target.
23048         * configure: Rebuilt.
23049         * i386/i386elf.h, i386/t-i386elf: New files.
23050
23051 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23052
23053         * toplev.c (main): Don't complain about saying -gdwarf.
23054         (rest_of_compilation): Remove redundant code.
23055
23056 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
23057
23058         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23059
23060 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
23061
23062         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23063         "Li960R:", to avoid name clash.
23064
23065 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23066
23067         * loop.c (check_dbra_loop): When reversing a loop, delete all
23068         REG_EQUAL notes referencing the reversed biv except those which are
23069         for a giv based on it.
23070
23071 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
23072
23073         * version.c: Drop "gcc-" prefix from version #.
23074
23075 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
23076
23077         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23078         the label if we're being verbose.
23079
23080 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
23081
23082         * m68k.c (output_function_prologue): Add pic register to mask
23083         if live and flag_pic.
23084         (output_function_epilogue): Likewise.
23085
23086 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
23087
23088         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23089         directives in column zero.
23090
23091         * pa/elf.h (ASM_FILE_START): Define.
23092         * pa/som.h (ASM_FILE_START): Include .level directives.
23093         * pa/hpux10.h (ASM_FILE_START): Delete.
23094         * pa/hpux11.h (ASM_FILE_START): Delete.
23095
23096         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23097
23098 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23099
23100         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23101         when reload_out equals reload_in.
23102
23103 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
23104
23105         * invoke.texi (Spec Files): New node: Describe the contents of
23106         spec files.
23107
23108 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
23109
23110         * invoke.texi (DEC Alpha Options): Put @end table at
23111         beginning of line, to avoid confusing texi2html.
23112
23113 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
23114
23115         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23116         introduced in previous delta.
23117
23118 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23119
23120         * reload1.c (gen_reload): When synthesizing a 3 operand add
23121         sequence, improve test for when to reload OP1 into the reload
23122         register instead of OP0.
23123
23124 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
23125
23126         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23127
23128 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
23129
23130         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23131         string literal.
23132
23133 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
23134
23135         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23136         (va_dcl): Use __builtin_va_alist_t.
23137
23138 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
23139
23140         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23141         on the permanent_obstack.
23142         * dwarfout.c (output_type): Likewise.
23143
23144 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23145
23146         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23147         Merged from c-typeck.c and cp/typeck.c.
23148         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23149         Merged into c-common.
23150
23151 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
23152
23153         * c-lex.c (errorcount): Declare it.
23154         (finish_parse): Update errorcount when using CPPLIB.
23155
23156 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
23157
23158         * fixinc/inclhack.def(end_else_label): Double the backslash so
23159         sed gets a chance to see it.
23160         * fixinc/inclhack.sh: regen
23161         * fixinc/fixincl.x: regen
23162
23163 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
23164
23165         Add framework to support armv5 architecture when it becomes
23166         available:
23167
23168         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23169         (arm_arch5): New variable.
23170         (all_architectures): Add armv5 line.
23171         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23172         -march=armv5 is specified on the command line.
23173         (arm_arch5): Export this variable.
23174         * invoke.texi: Document new string accepted by -march= switch for
23175         ARM ports.
23176
23177         * config/arm/arm.h: Replace use of constant 12 as a register
23178         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23179         * config/arm/arm.c: Replace use of constant 12 as a register
23180         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23181
23182         * config/arm/elf.h: Tidy up.
23183         * config/arm/coff.h: Tidy up.
23184
23185 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
23186
23187         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23188         * gcc/config/mips/t-iris6gld: New file.
23189         * gcc/config/mips/iris6gld.h: Likewise.
23190
23191 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23192
23193         * c-decl.c (widest_integer_literal_type_node,
23194         widest_unsigned_literal_type) : New.
23195         (init_decl_processing): Handle/use the two new types.
23196         * c-common.c (type_for_size,type_for_mode) : Same.
23197         * c-lex.c (yylex) : Same.
23198         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23199         Same.
23200         * c-tree.h (widest_integer_literal_type_node,
23201         widest_unsigned_literal_type) : New.
23202
23203 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
23204
23205         * dwarfout.c (field_byte_offset): Correctly compute the object's
23206         byte offset for the first bit of a field which crosses an alignment
23207         boundary on a !BYTES_BIG_ENDIAN target.
23208
23209 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
23210
23211         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23212         ntohs.
23213
23214 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
23215                           Jeff Law <law@cygnus.com>
23216
23217         * ginclude/varargs.h (va_dcl): Use word_mode for type of
23218         __builtin_va_list.
23219
23220         * except.c: Include intl.h.
23221         (expand_eh_return): Set current_function_cannot_inline.
23222         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23223         * function.h (struct function): Add eh_return_stub_label.
23224         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23225         * Makefile.in (except.o): Depend on intl.h.
23226
23227 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
23228
23229         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23230         same as offsettable in cases 1 and 2.
23231
23232 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
23233
23234         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23235         (extlh, extwh): Likewise.
23236
23237 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23238
23239         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23240
23241 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
23242
23243         * configure.in: Add arm-pe and thumb-pe targets.
23244         * configure: Regenerate.
23245
23246         * thumb.c (arm_naked_function_p): New function: Determines if
23247         a function is naked (has no gcc generated prologue/epilogue).
23248         (is_called_in_ARM_mode): Return true if the func has the
23249         interfacearm attribute.
23250         (output_return): Do not generate a return for naked functions.
23251         (thumb_function_prologue): Do not generate a prologue for
23252         naked functions.
23253         (thumb_expand_prologue): Do not generate a prologue for naked
23254         functions.
23255         (thumb_expand_epilogue): Do not generate an epilogue for naked
23256         functions.
23257         (arm_valid_machine_decl_attribute): New function, copied from
23258         arm.c:  Permit naked and interfacearm attributes.
23259
23260         * config/arm/pe.c: New file: Support code for arm-pe target.
23261         * config/arm/pe.h: New file: Header file for arm-pe target.
23262         * config/arm/tpe.h: New file: Header file for thumb-pe target.
23263         * config/arm/t-thumb-pe: New file: Makefile fragment for
23264         thumb-pe target.
23265
23266 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
23267
23268         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23269         -fPIC or -fpic is specified.
23270
23271 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
23272
23273         * expr.c (emit_block_move): Use copy_to_mode_reg for
23274         !TARGET_MEM_FUNCTIONS case too.
23275
23276         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23277         appropriate.
23278         * configure: Rebuilt.
23279         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23280         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
23281         definitions made redundant by dbxelf.h inclusion.  Delete
23282         lots of definitions related to assembly output that are
23283         specific to the SOM object format.
23284         * pa.c (output_function_prologue): Do not emit the function's
23285         name for OBJ_ELF.
23286         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23287         * pa-pro.h: Deleted.
23288         * som.h: New file with SOM specific definitions.
23289         * elf.h: New file with ELF specific definitions.
23290
23291         * elfos.h (const_section): Output a tab before assembler directives.
23292         (ctors_section, dtors_section): Likewise.
23293         (ASM_OUTPUT_SECTION_NAME): Likewise.
23294
23295         * pa/pa1.h: Delete unused file.
23296
23297 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
23298
23299         * configure.in (hppa*-hp-hpux11*): New configuration.
23300         * configure: Rebuilt.
23301         * pa/pa-hpux11.h: New file.
23302         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23303         command line.
23304
23305         * mips.md (leasi, leadi): New patterns.
23306
23307         * expr.c (emit_block_move): Properly handle case where one of the
23308         block move arguments has a queued increment or decrement.
23309         (clear_storage): Similarly.  Fix formatting goof.
23310
23311 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
23312
23313         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23314         semicolon from the BSD VA_LIST replacement expression.
23315
23316         * fixinc/inclhack.sh: regen
23317         * fixinc/fixincl.x: regen
23318
23319         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23320         now use the fixincl program.
23321
23322 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
23323
23324         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23325         case.  Also make the PIC register call_used.
23326
23327         * m68k.h (FINALIZE_PIC): Delete.
23328         * m68k.c (finalize_pic): Delete.
23329
23330 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
23331
23332         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23333         to memory.
23334
23335 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
23336
23337         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23338
23339 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
23340
23341         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23342
23343 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
23344
23345         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23346
23347 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
23348
23349         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23350
23351 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
23352
23353         * rs6000.c (output_toc): Always use hex values for floating-point
23354         constants.  Store single-precision values in upper-half of TOC
23355         entry in 64-bit mode.
23356         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23357         to final constraints.
23358         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23359         (fctiwz): Improve accuracy of RTL for pattern.
23360
23361 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23362
23363         * expr.c (expand_expr): Allow RTL_EXPR's through the
23364         MAX_INTEGER_COMPUTATION_MODE checks.
23365
23366 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
23367
23368         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23369         such that MASK_SUPPORT_ARCH is not negative.
23370
23371 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
23372
23373         * loop.c (verify_dominator): Properly handle ADDR_VEC and
23374         ADDR_DIFF_VEC insns that appear inside loops.
23375
23376 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
23377                           Jeff Law <law@cygnus.com>
23378
23379         * rs6000.md (movdf_hardfloat32): Revert previous patch.
23380         Handle LO_SUM the same as offsettable in cases 1 and 2.
23381         * rs6000.c (find_addr_reg): Revert previous patch.
23382
23383 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
23384
23385         * system.h (strstr): New external function declaration.
23386         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23387         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23388         * config.in, configure: Rebuilt.
23389
23390 1999-06-24  Tom Tromey  <tromey@cygnus.com>
23391
23392         * gcc.c (main): Read user-specified specs files after computing
23393         additional startfile_prefixes.
23394
23395 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
23396
23397         Revert these two patches:
23398
23399         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23400         * loop.c (strength_reduce): When doing biv->giv conversion, update
23401         reg note of NEXT->insn.
23402
23403         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23404         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23405         reg_biv_class.
23406         (recombine_givs): Set ix field after sorting.
23407
23408 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23409
23410         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23411         for the parts of an UNSPEC / UNSPEC_VOLATILE.
23412
23413 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
23414
23415         *fixinc/inclhack.def:  Add fix development commentary
23416         (read_ret_type): reactivate and add selection clause
23417         (zzz_*): tweak output file name to match what is used in hackshell.tpl
23418         *fixinc/{fixincl.x|inclhack.sh}: regen
23419
23420 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
23421
23422         * expr.c (expand_expr): STRIP_NOPS before checking against
23423         MAX_INTEGER_COMPUTATION_MODE
23424         (check_max_integer_computation_mode): Likewise.
23425
23426 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
23427
23428         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23429
23430 1999-06-22  Jim Wilson  <wilson@cygnus.com>
23431
23432         * expr.c (store_expr): When target is a promoted subreg, return a
23433         promoted subreg as a result.
23434
23435 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
23436
23437         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23438         coding standards.
23439         (dwarf2out_define): Mark unused parameters appropriately.
23440         (gen_unspecified_parameters_die): Ditto.
23441         (gen_subprogram_die): Fix signed/unsigned warnings.
23442         (gen_variable_die): Ditto.
23443
23444 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
23445
23446         * fixinc/inclhack.def(end_else_label): combined else_label
23447         and endif_label and fixed the sed expression.
23448         *fixinc/{fixincl.x|inclhack.sh}: regen
23449
23450 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
23451
23452         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23453         'x' when handling non-offsettable addresses
23454
23455 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
23456
23457         * final.c (shorten_branches): Don't try to split an insn that has
23458         been deleted.
23459
23460 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
23461
23462         * config/mips/mips.c (symbolic_expression_p): New function.
23463         (mips_select_rtx_section): Put symbolic expressions in the
23464         data section, not the read-only data section.
23465
23466 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
23467
23468         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23469
23470 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
23471
23472         * collect2.c (main): Log frame table count.
23473         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23474         (scan_prog_file) [COFF]: Handle frame tables.
23475
23476         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23477         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23478         * alpha/elf.h: Undef them again.
23479         * alpha/vms.h: Remove their definitions.
23480
23481 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23482
23483         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23484         remove the clobber of r0 and change the REG_UNUSED note to
23485         REG_INC.
23486
23487 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
23488
23489         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23490         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23491         fits in HOST_WIDE_INT and one uses union to access a long constant
23492         as double.
23493
23494 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
23495
23496         * sparc.c (sparc_override_options): Don't allow profiling for
23497         code models other than medlow.
23498         (sparc_function_profiler): New function from old FUNCTION_PROFILER
23499         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23500         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
23501         (sparc_block_profiler): Likewise.
23502         (sparc_function_block_profiler_exit): Likewise.
23503         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23504         (FUNCTION_BLOCK_PROFILER): Likewise.
23505         (BLOCK_PROFILER): Likewise.
23506         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23507         (MCOUNT_FUNCTION): New.
23508         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23509         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23510         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23511         (MCOUNT_FUNCTION): New.
23512         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23513         (BLOCK_PROFILER): Delete.
23514         (MCOUNT_FUNCTION): New.
23515
23516 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
23517
23518         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23519
23520 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23521
23522         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23523         Add the macros.
23524
23525         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23526         Ditto.
23527
23528         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23529         Ditto.
23530
23531         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23532         Ditto.
23533
23534 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
23535
23536         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23537         types.
23538
23539 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
23540
23541         * i386/djgpp.h (LIB_SPEC): New.
23542         (STARTFILE_SPEC): New.
23543
23544         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23545
23546 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
23547
23548         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23549         compiler flags.
23550
23551         * system.h (WSTOPSIG): New macro.
23552
23553 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23554
23555         * c-pragma.c (push_alignment): Don't ignore alignments greater than
23556         4 bytes.
23557         (insert_pack_attributes): Take into account member natural
23558         alignment.
23559
23560         * i386/winnt.c (exports_head): New static variable.
23561         (i386_pe_record_exported_symbol): New function.
23562         (i386_pe_asm_file_end): Use.
23563         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23564         symbols to be emitted at end of assembly.
23565         (ASM_DECLARE_OBJECT_NAME): Likewise.
23566         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23567
23568         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23569         -iwithprefix.
23570
23571 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
23572
23573         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23574         in last change.
23575
23576 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
23577
23578         * haifa-sched.c (sched_analyze_1): Use free_list instead of
23579         zapping reg_last_uses directly.
23580         (sched_analyze_2, sched_analyze_insn): Likewise.
23581         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
23582
23583 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
23584
23585         * rs6000.md (movdf_hardfloat32): Use worst case insn length
23586         attributes for cases 1 and 2.
23587
23588 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
23589
23590         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23591         instead of set.
23592
23593 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
23594
23595         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23596
23597 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
23598
23599         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23600         PIC_OFFSET_TABLE_REGNUM for general alloaction.
23601         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23602         must be stacked if it is used for PIC accesses.
23603         * arm.c (use_return_insn): Handle PIC register specially.
23604         (output_return_instruction): Likewise.
23605         (output_func_{prologue,epilogue}): Likewise.
23606         (output_expand_prologue): Likewise.
23607
23608         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23609         (*strsi_predec): Renamed from *strqi_predec.
23610         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23611         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23612
23613         * arm.c (arm_override_options): Remove warning about PIC code
23614         not being supported.
23615
23616 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
23617
23618         * rs6000.c (find_addr_reg): New function.
23619         * rs6000.h (find_addr_reg): Declare.
23620         (offsettable_addr_operand): Delete.
23621         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23622         from and stores to GPRs.
23623
23624 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
23625
23626         * alpha.c (alpha_expand_block_move): Use get_insns rather than
23627         gen_sequence as argument to emit_no_conflict_block.
23628
23629 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23630
23631         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23632         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23633         *fixinc/fixincl.x: regen
23634         *fixinc/inclhack.sh: regen
23635
23636 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
23637
23638         * added support for -mpcrel (PC relative addressing for m68k)
23639         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
23640         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23641         * m68k.c (print_operand_address): Handle 32-bit PIC case.
23642         (comments for general_src_operand): Add some explanation
23643         about EXTRA_CONSTRAINTS.
23644         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23645         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23646         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23647         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23648         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23649         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23650         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23651         if not already set.
23652         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23653         * m68k.h (TARGET_PCREL): New target flag.
23654         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23655         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23656         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23657         contains a SYMBOL_REF.  Relax this constraint during reload, since
23658         we want to use the predicates, not reload's built-in concept of a
23659         valid memory address, to control what insns need reloading.
23660         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23661         operands (essentially 'g', 'm', and 's' under normal circumstances).
23662         * m68k.c (print_operand): Cause printing of pc-relative addresses
23663         to include pc register.
23664         (print_operand_address): Ditto.
23665         (general_src_operand): Accept operands that are not only
23666         general_operands, but are also valid when used as a pc-relative
23667         source.
23668         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23669         (memory_src_operand): Similar, for memory_operands.
23670         (pcrel_address): New predicate to accept the special case of a
23671         pc-relative address.
23672         * m68k.md (many patterns): Rewrite common SImode, HImode, and
23673         QImode insns to accept *_src_operand instead of *_operand where
23674         pc-relative operands can fit.  For example, a pc-relative operand
23675         can be used as a memory source operand for addsi3, but not as a
23676         memory destination.
23677         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23678
23679 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
23680
23681         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23682         .thumb_set pseudo op to mark aliases of thumb functions.
23683
23684 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
23685
23686         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23687         preference to ASM_OUTPUT_DEF, if it is defined.
23688
23689         * tm.texi: Document new, optional target macro
23690         ASM_OUTPUT_DEF_FROM_DECLS.
23691
23692 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23693
23694         * fixincludes: ISCNTL patch
23695         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23696         (dgux_int_varargs): new for DG/UX
23697         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23698
23699 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
23700
23701         * invoke.texi (ia32 options): Fix typo.
23702
23703 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23704
23705         * loop.c (strength_reduce): When doing biv->giv conversion, update
23706         reg note of NEXT->insn.
23707
23708 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
23709
23710         * loop.c (move_movables): Note issues with replacing REGs with
23711         SUBREGs.
23712         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23713
23714 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
23715
23716         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23717
23718         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23719         the reference to `mcount' was not correct for the ELF on FreeBSD.
23720
23721 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23722
23723         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23724         reg_biv_class.
23725
23726         (recombine_givs): Set ix field after sorting.
23727
23728 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
23729
23730         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23731         to safe to extract a subword out of a REG.
23732
23733 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23734
23735         * sh.md (mulsi3): Don't add a no-op move at the end.
23736
23737 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23738
23739         * cse.c (cse_insn): Don't put hard register source into tables for
23740         the last insn of a libcall.
23741
23742 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23743
23744         * loop.c (strength_reduce): Insert sets of derived givs at every
23745         biv increment, even if it's the only one.
23746
23747 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
23748
23749         * dwarfout.c (add_incomplete_type): New fn.
23750         (output_type): Call it.
23751         (retry_incomplete_types): New fn.
23752         (dwarfout_finish): Call it.
23753
23754         From Eric Raskin <ehr@listworks.com>:
23755         (output_type): Output types for bases.
23756
23757 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
23758
23759         * mips.c (mips_output_conditional_branch): Add `break'
23760         between `default' label and `close braces'.
23761
23762 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
23763
23764         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23765         specifications and make it realistic.
23766         (LIB_SPEC): Likewise.
23767
23768 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
23769
23770         * config/mips/mips.c (mips_secondary_reload_class): Check for
23771         (PLUS (SP) (REG)) and return appropriate register class.
23772         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23773         Handle (PLUS (SP) (REG)).
23774         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23775         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23776         of emit_insn for tablejump.
23777
23778 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
23779
23780         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23781         asm_fprintf format string by itself.
23782         (output_function_profiler): Likewise.
23783
23784 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
23785
23786         * combine.c (simplify_logical, case AND): Only call
23787         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23788         or the constant is positive.
23789
23790 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
23791
23792         * configure.in: Fix typo in rs6000-ibm-aix4 case.
23793         * configure: Regenerate.
23794
23795 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
23796
23797         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23798         require a sub-version #.
23799         * configure: Rebuilt.
23800
23801 1999-06-14  Robert Lipe  (robertlipe@usa.net)
23802
23803         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23804
23805 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
23806
23807         * c-typeck.c (process_init_element): Detect excess elements in
23808         char array initializer.
23809
23810 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
23811
23812         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
23813
23814 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23815
23816         * invoke.texi (Option Summary): Add -fpermissive flag.
23817
23818 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
23819
23820         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
23821         that require PIC code sequences.
23822
23823 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
23824
23825         * configure.in: Add new target: thumb-elf.
23826         * configure: Regenerate.
23827         * config/arm/t-thumb-elf: New file: Makefile fragment for
23828         thumb-elf build.
23829         * config/arm/telf.h: New file: Header file for thumb-elf
23830         build.
23831
23832 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
23833
23834         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
23835         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
23836         initializers is some circumstances.
23837
23838         * fixinc/inclhack.def (endif_label): Add additional selector for
23839         more bogus stuff after #endif statements.
23840         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
23841
23842 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23843
23844         * i386/cygwin.h (SET_ASM_OP): Define.
23845
23846 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23847
23848         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
23849
23850 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23851
23852         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
23853         latter.
23854
23855         * sh.md (ic_invalidate_line_i): Remove second alternative.
23856
23857 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23858
23859         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
23860         test for the presence of valid prototypes.  Delete bypass expr.
23861         (ioctl_fix_ctrl): Correct the selection expression.
23862         (no_double_slash): Correct quoting rules
23863         *fixinc/fixincl.x: regen
23864         *fixinc/inclhack.sh: regen
23865
23866 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
23867
23868         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
23869
23870 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23871
23872         * rs6000.md (movsi_got_internal_mem): Delete.
23873         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
23874         (GOT_TOC_REGNUM): Delete.
23875         (PIC_OFFSET_TABLE_REGNUM): Define.
23876         (FINALIZE_PIC): Disable.
23877         * rs6000.c (rs6000_got_register): New code for fixed pic register.
23878         (rs6000_replace_regno): Delete.
23879         (rs6000_finalize_pic): Likewise.
23880         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
23881
23882 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23883
23884         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
23885         is a note; use <= for the compare; advance P while it is
23886         a NOTE.
23887
23888 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
23889
23890         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
23891         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
23892
23893         * varasm.c (remove_from_pending_weak_list): Verify t->name
23894         is non-NULL before passing it to strcmp.
23895
23896 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23897
23898         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
23899         the typed arguments are not part of a comment
23900         (ioctl_fix_ctrl): Added a purpose comment
23901         *fixinc/fixincl.x: regenerate
23902         *fixinc/inclhack.sh: regenerate
23903
23904 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23905
23906         * invoke.texi: Add C4x invocation docs.
23907
23908 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23909
23910         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
23911         Define new macros.
23912         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
23913         TARGET_EXPOSE_LDP.
23914         (c4x_legitimize_reload_address): New function.
23915         * config/c4x/c4x.md: Update docs.
23916
23917 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
23918
23919         * fixincludes: Avoid removing '.'.
23920         * fixinc/fixinc.svr4: Likewise.
23921         * fixinc/fixinc.winnt: Likewise.
23922         * fixinc/inclhack.tpl: Likewise.
23923         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
23924
23925 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23926
23927         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
23928         pattern.
23929         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
23930
23931 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23932
23933         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
23934         correctly.
23935
23936 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
23937
23938         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
23939         * configure: Regenerate.
23940
23941 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
23942
23943         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
23944         values.
23945
23946 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
23947
23948         * fixinc/inclhack.def (avoid_bool): Also catch
23949         "typedef [unsigned] int bool".
23950         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23951
23952         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
23953         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
23954         * configure: Rebuilt.
23955
23956 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
23957
23958         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
23959         such that we can override its definitions if necessary.
23960         (CPP_SPEC): New define.  Support processor specific predefines via
23961         %(cpp_cpu).
23962         (CC1_SPEC): New define.  Support processor specific compiler
23963         options via %(cc1_cpu).
23964         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
23965         -static.
23966
23967 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23968
23969         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
23970         between sed's -e flag, and the open-quote following it.
23971         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
23972
23973 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
23974                           Jeffrey A Law  (law@cygnus.com)
23975
23976         * varasm.c (assemble_start_function): Remove the function
23977         from the pending weak decls list when we define a function.
23978         (assemble_variable): Similarly for variables.
23979         (weak_finish): Ignore items on the list with a NULL name.
23980         (remove_from_ending_weak_list); New function to "remove" an item
23981         from the pending weak declarations list.
23982
23983 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
23984
23985         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
23986
23987 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
23988
23989         * c-lex.c (GETC): Redefine to call getch.
23990         (UNGETC): Redefine to call put_back.
23991         (putback_buffer): New structure type.
23992         (putback): New static structure.
23993         (getch): New function.
23994         (put_back): New function.
23995         (yylex): Replace unused bytes from bad multibyte character.
23996
23997 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
23998
23999         * cpplib.c (do_define): Cast `alloca' return value.
24000         (do_include, do_undef, do_pragma): Likewise.
24001         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24002         values.
24003         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24004         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24005
24006 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24007
24008         * sparc.md (abstf2): This should be an expand.
24009         (split after abstf2_notv9): Fix mode.
24010         (abstf2_hq_v9): New pattern.
24011         (abstf2_v9): Only use when no hard quad.
24012         (absdf2_v9): Fix if target is not the same as source.
24013         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24014         Add correct output constraints.
24015
24016 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
24017
24018         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24019         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24020
24021 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
24022
24023         * mips.h (mips_output_conditional_branch): New function.
24024         (mips_adjust_insn_length): Likewise.
24025         (ASSEMBLER_SCRATCH_REGNUM): New macro.
24026         (ADJUST_INSN_LENGTH): Likewise.
24027         * mips.c (print_operand): Add `F' and `W' for floating-point
24028         comparison opcodes.
24029         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24030         are now in bytes.
24031         (mips_adjust_insn_length): New function.
24032         (mips_output_conditional_branch): New function.
24033         * mips.md (length): Adjust attribute definition to handle
24034         conditional branches.  Change lengths to bytes, rather than
24035         instructions throughout.  Remove length attribute from
24036         instructions whose length is four bytes, and rely on the default
24037         instead.
24038         (dslot): Fix typo in comment.
24039         Reword conditional branch patterns to use
24040         mips_output_conditional_branch.
24041
24042 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24043
24044         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24045         (LIB_SPEC): Likewise.
24046         Link with -lprof1_r for -g/-pg.
24047
24048 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24049
24050         * loop.c (check_dbra_loop): Fix change of Jan 19.
24051
24052 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
24053
24054         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
24055         (STARTFILE_SPEC):  Define, override the svr4.h version.
24056         (ENDFILE_SPEC):  Likewise.
24057
24058 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
24059
24060         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24061         * fixinc/fixincl.x: Regenerated.
24062         * fixinc/inclhack.sh: Regenerated.
24063
24064 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24065
24066         * sh.c (barrier_align): Don't return early for normal branch/barrier
24067         when optimizing for SH2.
24068
24069 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
24070
24071         * i386/udk.h (LINK_SPEC): Correct linker search path for
24072         system libraries.
24073
24074 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24075
24076         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24077         (braf_label_ref_operand): Delete.
24078         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24079         * sh.md (casesi_jump_2): Operand1 is now the inside of a
24080         label_ref, and has no predicate.
24081         The patten has a predicate to guard against invalid substitutions.
24082         (dummy_jump): Delete.
24083         (casesi): Update use of casesi_jump_2.
24084
24085 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24086
24087         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24088         *fixinc/fixincl.x: regenerate
24089         *fixinc/inclhack.sh: regenerate
24090
24091 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
24092
24093         * dwarf2out.c (add_incomplete_type): New fn.
24094         (gen_struct_or_union_type_die): Call it.
24095         (retry_incomplete_types): New fn.
24096         (dwarf2out_finish): Call it.
24097
24098 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
24099
24100         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24101         current block starts with a CODE_LABEL and ends with a CALL and
24102         we can not find all the argument setup instructions for the CALL.
24103
24104 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
24105
24106         Revert this change:
24107         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24108         something is a candidate for optimize_bit_field_compare.
24109
24110 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24111
24112         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24113
24114 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
24115
24116         * alpha.c (override_options): Thinko in last patch.
24117
24118         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24119         (LIB_SPEC): Recognize -pthread.
24120
24121 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
24122
24123         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24124         definition in config/arm/coff.h
24125         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24126
24127 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24128
24129         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24130         fixes that need "file=xxx\n" prepended before invocation
24131         (start_fixer - new): starting the fixer process is complex enough
24132         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
24133         (process): uses the new routine; omit usage of putenv()
24134         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24135         * fixinc/fixincl.x: regenerate
24136
24137 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
24138
24139         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24140         and version #s (1.1 -> 2.96) as needed.
24141         * README.g77: Kill way out of date file in the toplevel directory.
24142
24143 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
24144
24145         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24146         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
24147         * configure: Rebuilt.
24148         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24149         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24150         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24151         (SWITCH_TAKES_ARG): Likewise.
24152         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24153         * config/t-freebsd: Moved from config/i386/ so it can used for all
24154         FreeBSD targets.
24155
24156 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
24157
24158         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24159
24160 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
24161
24162         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24163         * configure: Rebuilt.
24164
24165 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
24166
24167         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24168         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24169         * rs6000/rs6000.c (rs6000_file_start): Use putc.
24170         (rs6000_output_load_toc_table): Same.
24171         (output_prolog, output_mi_thunk): Same.
24172         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24173         (ASM_GLOBALIZE_LABEL): Use putc.
24174
24175 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
24176
24177         * alpha.md (reload_*_help): New patterns and splitters.
24178         (reload_*): Use them.
24179         (mov[qh]i): Likewise.
24180
24181 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
24182
24183         * cccp.c (handle_directive): Handle backslash-newlines in quoted
24184         strings correctly.
24185
24186 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
24187
24188         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24189
24190 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
24191
24192         * flow.c (mark_regs_live_at_end, insn_dead_p,
24193         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24194         and HARD_FRAME_POINTER_REGNUM special treatment if reload
24195         hasn't run or the frame pointer is needed.
24196         * haifa-sched.c (attach_deaths): Likewise.
24197         * sched.c (attach_deaths): Likewise.
24198
24199 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
24200
24201         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24202         calculate_can_reach_end returns nonzero.
24203
24204         * configure.in (native gas tests): Search for an assembler in the
24205         same manner that the installed compiler will.
24206         * configure: Rebuilt.
24207         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24208
24209         * alias.c (find_base_term): Improve handling of addresses
24210         constructed from binary operations.
24211
24212 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
24213
24214         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24215
24216 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
24217
24218         * function.h (cleanup_label, frame_offset): Declare.
24219         (tail_recursion_label, tail_recursion_reentry): Likewise.
24220         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24221         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24222         (tail_recursion_label, tail_recursion_reentry): Likewise.
24223         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24224
24225 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
24226
24227         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24228         defined.
24229         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24230         (MAX_OFILE_ALIGNMENT): Define.
24231
24232 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
24233
24234         * fixincl.c: Replace local include scheme with #includes of
24235         gansidecl.h and system.h.
24236         * procopen.c:  Likewise.
24237         * server.c:  Likewise.
24238
24239 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
24240
24241         * i386/t-dgux (EXTRA_PARTS): Add crti.o
24242         (crti.o): Add build rule and dependencies.
24243         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
24244
24245 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24246
24247         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24248         (LIB_LINUX_SPEC): Likewise.
24249         (LIB_LINUX_SPEC): Add support for -pthread
24250         (CPP_OS_LINUX_SPEC): Likewise.
24251         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24252         specified.
24253
24254 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
24255
24256         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24257         conditional move.
24258         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24259         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24260         for IEEE math and CC_FCOMI.
24261         (put_jump_code): No IEEE if CC_FCOMI is set.
24262
24263 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24264
24265         * fold-const.c (fold_truthop): Make the field reference unsigned
24266         when converting a single bit compare.
24267
24268 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24269
24270         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24271
24272 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
24273
24274         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24275         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24276         version did.
24277
24278         * reload.c (push_reload): Do not call remove_address_replacements
24279         when presented with identical optional reloads.
24280
24281 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
24282
24283         * alpha.h (MASK_FIX, TARGET_FIX): New.
24284         (MASK_*): Reorganize constants.
24285         (CPP_AM_FIX_SPEC): New.
24286         (TARGET_SWITCHES): Add FIX.
24287         (EXTRA_SPECS): Likewise.
24288         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24289         (SECONDARY_MEMORY_NEEDED): Likewise.
24290         (REGISTER_MOVE_COST): Likewise.
24291         * alpha.c (override_options): Add FIX support.  Always use
24292         ALPHA_TP_PROG for ev6.
24293         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24294         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24295         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24296
24297 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
24298
24299         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24300         something is a candidate for optimize_bit_field_compare.
24301
24302 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
24303
24304         * gcc.texi (Passes): Document branch-shortening.
24305         * invoke.texi (Debugging Options): Document the fact that `-dp'
24306         outputs length information for instructions.
24307
24308 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
24309
24310         * flow.c: Revert previous delta.
24311
24312 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
24313
24314         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24315         FRAME_POINTER_REGNUM.
24316         (mark_set_1): Ditto.
24317         (mark_used_regs): Ditto.
24318
24319 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
24320
24321         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24322         (GOT_PCREL): New macro.  Define to 1 if not already defined.
24323         * arm/elf.h (GOT_PCREL): Define to 0.
24324         * arm.c (arm_finalize_pic): Take into account the setting of
24325         GOT_PCREL.
24326
24327 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
24328
24329         * output.h (STRIP_NAME_ENCODING): Provide default definition.
24330         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24331
24332         * flow.c (mark_set_1): Do not record BLKmode stores as dead
24333         store elimination candidates.
24334
24335 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24336
24337         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24338         TARGET_GAS.
24339
24340 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
24341
24342         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24343         Add use of x-aix41-gld.
24344
24345 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24346
24347         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24348         (ASM_OUTPUT_DESTRUCTOR): Define.
24349
24350 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
24351
24352         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24353         last CODE_LABEL in a loop if we have previously passed a jump
24354         to the top of the loop.
24355
24356 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
24357
24358         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24359         applying Philip's patch.
24360
24361 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
24362
24363         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24364         are not VAR_DECLs.
24365
24366 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
24367
24368         * loop.c (strength_reduce): Grow reg_single_usage as needed.
24369
24370 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
24371
24372         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24373         Also remove a useless comment.
24374
24375 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24376
24377         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
24378
24379 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
24380
24381         * collect2.c (main): Only generate import or export file and add
24382         to link arguments if non-empty.  Use xmalloc not alloca.
24383         (write_{export,import}_file): Delete.
24384         (write_aix_file): New function.
24385         (locatelib): Use xmalloc not malloc.
24386         (GCC_OK_SYMBOL): Do not check type if aix64.
24387
24388 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
24389
24390         Based on patch by Scott Bambrough and Pat Beirne:
24391         * config/arm/arm.c (making_const_table): New variable.
24392         * config/arm/arm.h (making_const_table): Declare.
24393         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24394         appropriate.
24395         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24396         Keep track of when we are building the constant table.
24397
24398 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
24399
24400         * config/arm/arm.c (arm_override_options): Fix erroneous warning
24401         message.
24402
24403 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
24404
24405         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24406         defined.
24407
24408 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
24409
24410         * tm.texi (FUNCTION_ARG): Correct description of a stack element
24411         in a PARALLEL.
24412
24413 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
24414
24415         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24416
24417 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24418
24419         * rs6000.c (output_mi_thunk): Enable full support again.
24420
24421 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24422
24423         * sh.h (BRANCH_COST): Define.
24424
24425 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
24426
24427         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24428
24429 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
24430
24431         * function.c (assign_stack_local): Align stack slot propertly.
24432         (assign_outer_stack_local): Likewise.
24433
24434 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
24435
24436         * expr.h (lang_expand_constant): Declare.
24437         * toplev.c (lang_expand_constant): Define it.
24438         * varasm.c (output_constant): Use it.
24439
24440 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24441
24442         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24443         Change function definitions to K&R style.
24444
24445 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24446
24447         * fixinc/fixincl.c: We must not ignore SIGCLD now.
24448
24449 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
24450
24451         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24452         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24453         (several places): omit static initialization
24454         (process): use single fd, since only the read fd is used
24455         * fixinc/gnu-regex.c: define 'const' away, if not supported
24456         * fixinc/procopen.c(several places): omit static initialization
24457         * fixinc/server.c: define 'volitile' away, if not supported
24458
24459 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24460
24461         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24462         asm_fprintf and %L to generate the label name.
24463         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24464         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24465
24466 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
24467
24468         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24469         insn for a conditional jump can not be found.
24470
24471 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
24472
24473         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24474         on variables in specific sections other than .sbss and .sdata.
24475
24476 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
24477
24478         * stmt.c (expand_return): Call start_cleanup_deferral and
24479         end_cleanup_deferral around conditional code.
24480
24481 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24482
24483         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24484         filename lists.  Utilizes new "krstr" AutoGen function.
24485         * fixinc/fixincl.x: Rebuilt.
24486
24487 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
24488
24489         * i386.c (output_float_compare): Avoid GNU-C extensions.
24490
24491 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
24492
24493         * version.c: Bump to distinguish mainline tree from the
24494         gcc-2.95 branch.
24495
24496 See ChangeLog.1 for earlier changes.
24497
24498